gerhardol / apply-routes

Automatically exported from code.google.com/p/apply-routes
0 stars 0 forks source link

ST3 migration #13

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
The supplied patch migrates the plugin to ST3 (with limitations). The setup is 
similar to that of other plugins I am involved in, see the following for 
details.
http://code.google.com/p/gps-running/wiki/Developers
(The handling of translations are adapted directly from ApplyRoutes, thanks)

The plugin builds for both ST2 and ST3.
Some settings for the project are separated, as this simplifies syncing with 
other plugins.

The following is not done:
* The download list lists 0.1.3767, but there are no commits after .3732, so I 
assume that some commits are missing.
* No mapping included, all related files are skipped
  - No DailyActivity page
  - No separate view
  - No mapproviders
  - No ReplayRoutes upload
  - No settings (all Edit actions hardcoded)
* JoinActivity not implemented (ST API change)

A ST3 build available here:
http://hem.bredband.net/gerhardnospam/tmp/st3/ApplyRoutes-0.1.x.st3plugin

Original issue reported on code.google.com by gerhard....@gmail.com on 28 Jul 2010 at 4:18

Attachments:

GoogleCodeExporter commented 9 years ago
One comment regarding the design pattern handling IAction activities/routes:
The pattern is used on all plugins I have. However, a pattern where 
activities/routes are cahched and invalidated when the view is changed could be 
more efficient.

A clarification on the #ifdef in the code:

ST_2_1 are used whenever something is related to ST2 API. Should be "stable".
However, temorary changes due to ST3 are marked with ST_3_0. There should be no 
such #ifdef when fully migrated,

Original comment by gerhard....@gmail.com on 28 Jul 2010 at 4:28

GoogleCodeExporter commented 9 years ago
GDAL plugin is updated in ST3. Patch included (includes conditionals in the 
project files, no actual code changes).

Original comment by gerhard....@gmail.com on 28 Jul 2010 at 4:52

Attachments:

GoogleCodeExporter commented 9 years ago
Another update (GDAL directoriy not included, but solution/project files 
updated).
Joining activities adapted for ST3

Original comment by gerhard....@gmail.com on 28 Jul 2010 at 5:51

Attachments:

GoogleCodeExporter commented 9 years ago
A complete ST3 migration of the plugin, except for RoutesView
Some ST3 features/adaption too, some other changes like RRUpload in Export menu
Icons for Menu
Map refresh: After tile download, the map must be adjusted slightly to show the 
update.

Original comment by gerhard....@gmail.com on 11 Sep 2010 at 11:01

Attachments:

GoogleCodeExporter commented 9 years ago
Fixed the refresh issue and the View issue too.

Original comment by gerhard....@gmail.com on 12 Sep 2010 at 12:14

Attachments:

GoogleCodeExporter commented 9 years ago
New files are not included in the svn diff
 zip -r st3-4-new.zip ApplyRoutes/GDAL113Wrapper/ ApplyRoutes/Common/ ApplyRoutes/ApplyRoutes/GUIDs.cs ApplyRoutes/ApplyRoutes/MapProviders/GMapProjection.cs ApplyRoutes/ApplyRoutes/Resources/DropDown.png

Original comment by gerhard....@gmail.com on 12 Sep 2010 at 9:18

Attachments:

GoogleCodeExporter commented 9 years ago
A cleanup, unifying ST2/ST3 code and some copy&paste

Original comment by gerhard....@gmail.com on 12 Sep 2010 at 1:15

Attachments: