]> git.street.me.uk Git - andy/viking.git/log
andy/viking.git
13 years agoAdd Acquire options into the Track/Waypoint layer operations.
Rob Norris [Sun, 22 May 2011 09:10:45 +0000 (10:10 +0100)]
Add Acquire options into the Track/Waypoint layer operations.

Make sure the GPS acquire method gets data into the specified layer, rather than into a new layer (as always done when invoked via the from the file menu).

13 years ago[DOC] Document viking's dependencies
Guilhem Bonnefille [Mon, 5 Sep 2011 20:22:54 +0000 (22:22 +0200)]
[DOC] Document viking's dependencies

13 years agoFix SF#3387590: Top Layer cannot be renamed
Guilhem Bonnefille [Thu, 1 Sep 2011 11:55:23 +0000 (13:55 +0200)]
Fix SF#3387590: Top Layer cannot be renamed

The name of the top layer is not stored and so,
any change to it is lost.

It's better to declare it uneditable.

13 years agoOups: clean code
Guilhem Bonnefille [Fri, 26 Aug 2011 20:28:29 +0000 (22:28 +0200)]
Oups: clean code

13 years ago[QA] Factorize code
Guilhem Bonnefille [Thu, 25 Aug 2011 22:08:05 +0000 (00:08 +0200)]
[QA] Factorize code

Easier to read, easier to maintain, easier to hack.

13 years agoMinor fix: declare static internal functions
Guilhem Bonnefille [Thu, 25 Aug 2011 21:20:49 +0000 (23:20 +0200)]
Minor fix: declare static internal functions

13 years agoFix typo
Guilhem Bonnefille [Mon, 22 Aug 2011 22:54:33 +0000 (00:54 +0200)]
Fix typo

13 years agoAdd ability to acquire GPS traces stored on OSM
Guilhem Bonnefille [Sun, 21 Aug 2011 20:32:07 +0000 (22:32 +0200)]
Add ability to acquire GPS traces stored on OSM

A new menu entry allows to request GPS traces stored on OpenStreetMap.
Currently, only the visible traces are downloaded, ie the traces
contained in the bounding bos of the current viewport.

This feature is really usefull for OSM contributors as it allows to
do some checks before uploading a new trace.

Signed-off-by: Guilhem Bonnefille <guilhem.bonnefille@gmail.com>
13 years agoExtend OSM to OpenStreetMap
Guilhem Bonnefille [Fri, 19 Aug 2011 20:39:22 +0000 (22:39 +0200)]
Extend OSM to OpenStreetMap

EveryBody does not know OSM.

13 years agoEnable merging tracks without timestamps to other tracks that do not have timestamps...
Rob Norris [Tue, 18 Jan 2011 01:45:13 +0000 (01:45 +0000)]
Enable merging tracks without timestamps to other tracks that do not have timestamps. (SF#2886231)

13 years agoPrevent track merge by time requests when there are no other suitable tracks.
Rob Norris [Wed, 22 Dec 2010 19:28:20 +0000 (19:28 +0000)]
Prevent track merge by time requests when there are no other suitable tracks.

A warning message is shown to the user.
Reuse (and tidy) method in the track merge by other function.

13 years agoRemove DEM data source 'None' as it does nothing.
Rob Norris [Thu, 14 Oct 2010 20:24:39 +0000 (21:24 +0100)]
Remove DEM data source 'None' as it does nothing.

13 years agoEnable copying layer/sublayer names as plain text, so that it can be pasted into...
Rob Norris [Sat, 22 Jan 2011 20:32:11 +0000 (20:32 +0000)]
Enable copying layer/sublayer names as plain text, so that it can be pasted into external text handling applications.

13 years agoWhen exporting a TrackWaypoint layer as a GPX file, automatically append '.gpx' to...
Rob Norris [Tue, 12 Jul 2011 20:32:36 +0000 (21:32 +0100)]
When exporting a TrackWaypoint layer as a GPX file, automatically append '.gpx' to the suggested filename.

13 years agoEnable getting of the statusbar from the window.
Rob Norris [Sun, 9 Jan 2011 21:16:01 +0000 (21:16 +0000)]
Enable getting of the statusbar from the window.

13 years agoEnumerate use of and simplify the internals of the statusbar.
Rob Norris [Tue, 5 Jul 2011 20:22:32 +0000 (21:22 +0100)]
Enumerate use of and simplify the internals of the statusbar.
This enables control of the size of the first element of the statusbar.

13 years ago[DOC] Fix layer related structure of documentation
Guilhem Bonnefille [Fri, 19 Aug 2011 21:48:51 +0000 (23:48 +0200)]
[DOC] Fix layer related structure of documentation

13 years ago[DOC] Improve reference documentation for babel.c
Guilhem Bonnefille [Fri, 19 Aug 2011 13:00:03 +0000 (15:00 +0200)]
[DOC] Improve reference documentation for babel.c

Signed-off-by: Guilhem Bonnefille <guilhem.bonnefille@gmail.com>
13 years agoFix compilation with curl 7.21.7 (SF#3376584)
Hanno Boeck [Mon, 25 Jul 2011 18:39:59 +0000 (19:39 +0100)]
Fix compilation with curl 7.21.7 (SF#3376584)

Remove include of curl/types.h, which has been deprecated for a long time.

13 years agoImprove track name when split from Track Properties window.
Rob Norris [Sat, 8 Jan 2011 17:08:10 +0000 (17:08 +0000)]
Improve track name when split from Track Properties window.

13 years agoBetter safety checking to prevent crash due to null variable reference in use of...
Rob Norris [Wed, 13 Jul 2011 23:30:50 +0000 (00:30 +0100)]
Better safety checking to prevent crash due to null variable reference in use of the current waypoint.

ATM This can happen when the Track/Waypoint layer is selected, then go to toolbar edit waypoint and then right click on *any* waypoint.

13 years agoBetter safety checking to prevent crash due to null variable reference in use of...
Rob Norris [Wed, 13 Jul 2011 19:39:55 +0000 (20:39 +0100)]
Better safety checking to prevent crash due to null variable reference in use of the current trackpoint.

ATM This can happen when the Track/Waypoint layer is selected, then go to toolbar edit trackpoint and then move the already selected trackpoint.

13 years agoWhen loading from the recent file menu, only open a new window if a Viking file.
Rob Norris [Thu, 9 Dec 2010 22:21:04 +0000 (22:21 +0000)]
When loading from the recent file menu, only open a new window if a Viking file.

This mirrors the way a new window may be created when the file is loaded via the 'Open...' dialog. [i.e. only when it is a Viking (like .vik) file]

13 years agoOn creating a new waypoint always attempt to auto set the altitude if DEM data is...
Rob Norris [Sun, 13 Feb 2011 23:12:47 +0000 (23:12 +0000)]
On creating a new waypoint always attempt to auto set the altitude if DEM data is available.

13 years agoEnable the escape key to remove/reset the ruler tool.
Rob Norris [Mon, 31 Jan 2011 02:58:42 +0000 (02:58 +0000)]
Enable the escape key to remove/reset the ruler tool.

13 years agoEnable keypress processing for vik windows tools.
Rob Norris [Mon, 31 Jan 2011 02:57:44 +0000 (02:57 +0000)]
Enable keypress processing for vik windows tools.

These don't need/care about operating on a layer.

13 years agoDocument utility functions
Guilhem Bonnefille [Sat, 2 Jul 2011 19:31:02 +0000 (21:31 +0200)]
Document utility functions

Signed-off-by: Guilhem Bonnefille <guilhem.bonnefille@gmail.com>
13 years agoOops, remember to remove reference to deleted icon.
Rob Norris [Sun, 26 Jun 2011 14:10:20 +0000 (15:10 +0100)]
Oops, remember to remove reference to deleted icon.

13 years agoInternal tidy: replace magic scissor variables/references with route finder.
Rob Norris [Sat, 9 Oct 2010 09:25:45 +0000 (10:25 +0100)]
Internal tidy: replace magic scissor variables/references with route finder.

13 years agoImprove the associated icon, remove the scissor effort and use something to try to...
Rob Norris [Sat, 9 Oct 2010 09:07:34 +0000 (10:07 +0100)]
Improve the associated icon, remove the scissor effort and use something to try to suggest the idea of a list of directions to get somewhere for 'Route Finding'.

13 years agoReplace 'Magic Scissors' by a more accurate name - 'Route Finder'.
Rob Norris [Sat, 9 Oct 2010 09:00:00 +0000 (10:00 +0100)]
Replace 'Magic Scissors' by a more accurate name - 'Route Finder'.

13 years agoImprove altitude track property display by adding another grid size chunk value.
Rob Norris [Fri, 24 Jun 2011 09:08:15 +0000 (10:08 +0100)]
Improve altitude track property display by adding another grid size chunk value.

13 years agoEnable internationalization of the OSM Traces preferences text.
Rob Norris [Thu, 23 Jun 2011 23:27:56 +0000 (00:27 +0100)]
Enable internationalization of the OSM Traces preferences text.

13 years agoFix compiler warnings generated with gcc4.6 in viktrwlayer_propwin.c
Rob Norris [Mon, 30 May 2011 19:53:52 +0000 (20:53 +0100)]
Fix compiler warnings generated with gcc4.6 in viktrwlayer_propwin.c

13 years agoFix compiler warnings generated with gcc4.6 in viktrwlayer.c
Rob Norris [Mon, 30 May 2011 19:53:31 +0000 (20:53 +0100)]
Fix compiler warnings generated with gcc4.6 in viktrwlayer.c

13 years agoFix compiler warnings generated with gcc4.6 in viktreeview.c
Rob Norris [Mon, 30 May 2011 19:53:15 +0000 (20:53 +0100)]
Fix compiler warnings generated with gcc4.6 in viktreeview.c

13 years agoFix compiler warnings generated with gcc4.6 in viktmsmapsource.c
Rob Norris [Mon, 30 May 2011 19:52:57 +0000 (20:52 +0100)]
Fix compiler warnings generated with gcc4.6 in viktmsmapsource.c

13 years agoFix compiler warnings generated with gcc4.6 in vikgpslayer.c
Rob Norris [Mon, 30 May 2011 19:52:40 +0000 (20:52 +0100)]
Fix compiler warnings generated with gcc4.6 in vikgpslayer.c

13 years agoFix compiler warnings generated with gcc4.6 in print.c
Rob Norris [Mon, 30 May 2011 19:52:22 +0000 (20:52 +0100)]
Fix compiler warnings generated with gcc4.6 in print.c

13 years agoFix compiler warnings generated with gcc4.6 in file.c
Rob Norris [Mon, 30 May 2011 19:52:07 +0000 (20:52 +0100)]
Fix compiler warnings generated with gcc4.6 in file.c

13 years agoReleasing viking 1.2.1
Rob Norris [Thu, 16 Jun 2011 22:18:47 +0000 (23:18 +0100)]
Releasing viking 1.2.1

13 years agoSupport proper MAC OS file locations.
Rob Norris [Wed, 23 Mar 2011 21:44:36 +0000 (21:44 +0000)]
Support proper MAC OS file locations.

Thanks to Aymeric Gillaizeau for providing the correct file locations.

13 years agoFix incorrect track property line marker positioning when the track has gaps.
Rob Norris [Mon, 13 Jun 2011 22:03:54 +0000 (23:03 +0100)]
Fix incorrect track property line marker positioning when the track has gaps.

Use 'length including gaps' for drawing calculations.

13 years agoFix track property point marker drawing error - sometimes draws dot marker too low.
Rob Norris [Mon, 13 Jun 2011 21:58:21 +0000 (22:58 +0100)]
Fix track property point marker drawing error - sometimes draws dot marker too low.

Ensure lower altitude value is changed when index changed.

13 years agoReleasing viking 1.2
Guilhem Bonnefille [Sun, 29 May 2011 20:51:32 +0000 (22:51 +0200)]
Releasing viking 1.2

13 years agoFix translations: addbing mapsource.c
Guilhem Bonnefille [Sun, 29 May 2011 20:49:13 +0000 (22:49 +0200)]
Fix translations: addbing mapsource.c

13 years agoMerge branch 'i18n-launchpad' into viking-1.2.rc1
Guilhem Bonnefille [Tue, 24 May 2011 20:36:46 +0000 (22:36 +0200)]
Merge branch 'i18n-launchpad' into viking-1.2.rc1

13 years agoBetter safety checking to prevent crash due to null variable reference in use of...
Rob Norris [Sun, 22 May 2011 09:03:45 +0000 (10:03 +0100)]
Better safety checking to prevent crash due to null variable reference in use of the current trackpoint.

ATM This can happen when the Track/Waypoint layer is selected, then go to toolbar edit trackpoint, then select a trackpoint.
This internally invokes the treeview select_cb layer track callback which highlights just that track but resets the current trackpoint.
Thus an operation in edit trackpoint dialog previously crashes due to attempting to use the null current trackpoint.

13 years agoRemove unecessary treeview item selection.
Rob Norris [Wed, 18 May 2011 21:54:45 +0000 (22:54 +0100)]
Remove unecessary treeview item selection.

Since redraws can now occur on item selection, this can generate unwanted drawing events.

13 years agoFix etag handling
Sven Wegener [Sat, 21 May 2011 18:18:35 +0000 (20:18 +0200)]
Fix etag handling

commit fba991f645629444888e099c85d254a621991ac7 ("Fix compiler warning
in curl_download.c") actually broke etag handling by only modifying the
local pointer variable instead of the target it points to.

Signed-off-by: Sven Wegener <sven.wegener@stealer.net>
13 years agoAdd zoom level 0.5 to map layer
Sven Wegener [Sat, 21 May 2011 18:18:37 +0000 (20:18 +0200)]
Add zoom level 0.5 to map layer

Signed-off-by: Sven Wegener <sven.wegener@stealer.net>
13 years ago[DOC] Add links to access Viking's source code
Guilhem Bonnefille [Sat, 21 May 2011 20:11:22 +0000 (22:11 +0200)]
[DOC] Add links to access Viking's source code

13 years agoFix: generate doc/reference/Makefile when needed
Guilhem Bonnefille [Mon, 16 May 2011 21:52:27 +0000 (23:52 +0200)]
Fix: generate doc/reference/Makefile when needed

This Makefile cannot be generated when gtk-doc is not enabled.

13 years agoImprove configure script when error occurs
Guilhem Bonnefille [Mon, 16 May 2011 20:35:35 +0000 (22:35 +0200)]
Improve configure script when error occurs

13 years agoDocument previous translation updates
Guilhem Bonnefille [Mon, 16 May 2011 20:12:20 +0000 (22:12 +0200)]
Document previous translation updates

13 years agoImport Launchpad updates
Guilhem Bonnefille [Mon, 16 May 2011 19:59:58 +0000 (21:59 +0200)]
Import Launchpad updates

13 years agoRename file to prevent any case-insensitive issues.
Rob Norris [Tue, 10 May 2011 07:52:19 +0000 (08:52 +0100)]
Rename file to prevent any case-insensitive issues.

13 years agoImprove README to mention OSM.
Rob Norris [Tue, 10 May 2011 07:45:19 +0000 (08:45 +0100)]
Improve README to mention OSM.

13 years agoAdd getting the users confirmation when deleting (emptying) data from the GPS layer.
Rob Norris [Sun, 23 Jan 2011 19:46:18 +0000 (19:46 +0000)]
Add getting the users confirmation when deleting (emptying) data from the GPS layer.

13 years agoEnable keypad delete to remove layers in the layers panel.
Rob Norris [Mon, 17 Jan 2011 22:30:19 +0000 (22:30 +0000)]
Enable keypad delete to remove layers in the layers panel.

Note normal backspace is used by the treeview itself so we don't receive those events.

13 years agoEnable deleting multiple tracks or waypoints within a layer by selecting them from...
Rob Norris [Tue, 18 Jan 2011 01:42:37 +0000 (01:42 +0000)]
Enable deleting multiple tracks or waypoints within a layer by selecting them from a list.

13 years agoAdd getting the users confirmation when deleting an individual track or waypoint.
Rob Norris [Mon, 17 Jan 2011 10:30:40 +0000 (10:30 +0000)]
Add getting the users confirmation when deleting an individual track or waypoint.

Replace the static iterator in callback array (since it was never used) with the delete item flag.
As a bonus this means no increase to the size of the array and so no need to change everywhere else it is used.

13 years agoAdd the ability to delete all waypoints or tracks in the layer.
Rob Norris [Mon, 17 Jan 2011 10:32:26 +0000 (10:32 +0000)]
Add the ability to delete all waypoints or tracks in the layer.

The user is asked for confirmation.

13 years agoAdd getting the users confirmation when deleting a layer.
Rob Norris [Mon, 17 Jan 2011 10:29:31 +0000 (10:29 +0000)]
Add getting the users confirmation when deleting a layer.

13 years agoStart a new 'Tracks' treeview menu, similar to the 'new' Waypoints treeview menu.
Rob Norris [Wed, 26 Jan 2011 02:16:37 +0000 (02:16 +0000)]
Start a new 'Tracks' treeview menu, similar to the 'new' Waypoints treeview menu.

13 years agoAdd operations on waypoints into the 'new' Waypoints treeview menu.
Rob Norris [Wed, 26 Jan 2011 02:08:37 +0000 (02:08 +0000)]
Add operations on waypoints into the 'new' Waypoints treeview menu.

13 years agoPrevent unnecessary internal track creation/deletion when splitting a track by time...
Rob Norris [Wed, 22 Dec 2010 19:25:17 +0000 (19:25 +0000)]
Prevent unnecessary internal track creation/deletion when splitting a track by time request doesn't actually alter the number of tracks.

13 years agoFix Track -> Split by Timestamp such that newly created tracks are ordered correctly.
Rob Norris [Fri, 31 Dec 2010 17:47:12 +0000 (17:47 +0000)]
Fix Track -> Split by Timestamp such that newly created tracks are ordered correctly.

i.e. track #1 is the first by time, followed by #2, #3 etc... rather than ordered #3,#2,#1.

13 years agoAdd new graph type Speed/Distance in the track properties window.
Rob Norris [Sun, 30 Jan 2011 14:38:59 +0000 (14:38 +0000)]
Add new graph type Speed/Distance in the track properties window.

Part of request SF#2894245.
Add vik_track_make_speed_dist_map.

13 years agoTidy up draw_elevations and draw_vt functions.
Rob Norris [Sun, 30 Jan 2011 14:21:49 +0000 (14:21 +0000)]
Tidy up draw_elevations and draw_vt functions.

Only allocate+calculate values for DEM/GPS points when such features are drawn.

13 years agoAdd new graph type Elevation/Time in the track properties window.
Rob Norris [Sat, 29 Jan 2011 23:59:53 +0000 (23:59 +0000)]
Add new graph type Elevation/Time in the track properties window.

Part of request SF#2894245.
Add vik_track_make_elevation_time_map based on the 'time' generation method.

13 years agoRemove unnecessary calculation in make_speed_map in viktrack.c
Rob Norris [Sat, 29 Jan 2011 20:25:23 +0000 (20:25 +0000)]
Remove unnecessary calculation in make_speed_map in viktrack.c

13 years agoAdd new graph type Distance/Time in the track properties window.
Rob Norris [Sat, 29 Jan 2011 20:24:37 +0000 (20:24 +0000)]
Add new graph type Distance/Time in the track properties window.

Part of request SF#2894245.
Add vik_track_make_distance_map based on the vik_track_make_speed_map function
Refactor graph types into enumeration.
Refactor track_graph_click to simplify redrawing all graph types.

13 years agoUpdate source code copyright on viktrwlayer_propwin.c
Rob Norris [Sun, 9 Jan 2011 15:51:22 +0000 (15:51 +0000)]
Update source code copyright on viktrwlayer_propwin.c

I think my recent updates justify it :)

13 years agoRemove pointless storage of vlp in track properties window.
Rob Norris [Sun, 9 Jan 2011 12:58:13 +0000 (12:58 +0000)]
Remove pointless storage of vlp in track properties window.

13 years agoImprove Track Properties speed/time drawing to display in nice human friendly whole...
Rob Norris [Sat, 8 Jan 2011 20:51:09 +0000 (20:51 +0000)]
Improve Track Properties speed/time drawing to display in nice human friendly whole number scaled units.

13 years agoImprove Track Properties elevation drawing to display in nice human friendly whole...
Rob Norris [Sat, 8 Jan 2011 20:32:38 +0000 (20:32 +0000)]
Improve Track Properties elevation drawing to display in nice human friendly whole number scaled units.

13 years agoOn the Track Properties Window draw an always updating indicator of where the reading...
Rob Norris [Sat, 8 Jan 2011 19:49:26 +0000 (19:49 +0000)]
On the Track Properties Window draw an always updating indicator of where the readings are taken from.

Internally this indicator is called a 'blob' (to be different from the marker line indicator) which is drawn in the same function as the track marker (and so is also coloured black), so that the saved image can be updated as necessary. The whole image is now always saved as any part of it could have changed and is restored when the window hasn't changed size.

13 years agoTrack Properties Window internal tidy: Maintain minimum/maximum altitudes/speeds...
Rob Norris [Sat, 8 Jan 2011 19:10:02 +0000 (19:10 +0000)]
Track Properties Window internal tidy: Maintain minimum/maximum altitudes/speeds for reuse.

13 years agoEnable controls of drawing DEM data and GPS speeds on the Track Properties Window.
Rob Norris [Sat, 8 Jan 2011 17:15:19 +0000 (17:15 +0000)]
Enable controls of drawing DEM data and GPS speeds on the Track Properties Window.

13 years agoTrack Properties Window internal tidy: Enable DEM and GPS speeds to be optionally...
Rob Norris [Sat, 8 Jan 2011 17:06:44 +0000 (17:06 +0000)]
Track Properties Window internal tidy: Enable DEM and GPS speeds to be optionally drawn on the elevation profile.

ATM always attempt to draw them.

13 years agoAdd keyboard accelerators for the Track Properties Window.
Rob Norris [Sat, 8 Jan 2011 16:56:28 +0000 (16:56 +0000)]
Add keyboard accelerators for the Track Properties Window.

13 years agoAdd ability to resize the Track Properties window.
Rob Norris [Sat, 8 Jan 2011 14:53:49 +0000 (14:53 +0000)]
Add ability to resize the Track Properties window.

Only redraw on initialization and when dialog is resized.
Ensure the saved graph images are reset.
Ensure the track marker is also redrawn.
Improve the statistics text positioning to behave better on dialog resizing.

13 years agoTrack Properties internal refactor: rename function to reflect what it really does.
Rob Norris [Sat, 8 Jan 2011 13:34:45 +0000 (13:34 +0000)]
Track Properties internal refactor: rename function to reflect what it really does.

13 years agoOn the Track Properties Window, also show the elevation or speed for the current...
Rob Norris [Sun, 2 Jan 2011 22:14:59 +0000 (22:14 +0000)]
On the Track Properties Window, also show the elevation or speed for the current track position as indicated by the mouse pointer.

13 years agoTrack Properties internal refactor: make getting percentage along a track via distanc...
Rob Norris [Fri, 7 Jan 2011 21:34:56 +0000 (21:34 +0000)]
Track Properties internal refactor: make getting percentage along a track via distance or time into separate functions for further reuse.

Also add sanity check for NULL trackpoints

13 years agoTrack Properties Window internal tidy: individual profile sizes for each window.
Rob Norris [Fri, 7 Jan 2011 01:29:01 +0000 (01:29 +0000)]
Track Properties Window internal tidy: individual profile sizes for each window.

13 years agoTrack Properties Window internal tidy: maintain graph profile arrays for reuse by...
Rob Norris [Thu, 6 Jan 2011 01:48:45 +0000 (01:48 +0000)]
Track Properties Window internal tidy: maintain graph profile arrays for reuse by update and future functions.

13 years agoFix sensitivity of the track properties window split marker to be disabled when the...
Rob Norris [Wed, 5 Jan 2011 01:06:06 +0000 (01:06 +0000)]
Fix sensitivity of the track properties window split marker to be disabled when the track marker is not drawn.

13 years agoRestructure the graph drawing functions to only handle a single aspect of functionali...
Rob Norris [Tue, 4 Jan 2011 01:17:03 +0000 (01:17 +0000)]
Restructure the graph drawing functions to only handle a single aspect of functionality. (create or update)

This will allows the main draw update functions to be called as necessary.
To ensure the graphs have been drawn, they are triggered by the window's initial configuration event.

13 years agoRename function minmax_alt to minmax_array, and refactor for optional altitude test.
Rob Norris [Tue, 4 Jan 2011 00:27:01 +0000 (00:27 +0000)]
Rename function minmax_alt to minmax_array, and refactor for optional altitude test.

13 years agoFix crashing due to incorrect usage of libcurl - SF#3206628.
Rob Norris [Tue, 5 Apr 2011 23:24:44 +0000 (00:24 +0100)]
Fix crashing due to incorrect usage of libcurl - SF#3206628.

Tell curl we are a multi-threaded program - i.e. it can not use signals.

13 years agoAdd support for kml files.
Rob Norris [Mon, 17 Jan 2011 10:33:54 +0000 (10:33 +0000)]
Add support for kml files.

Implicitly attempt to convert to/from the kml filetype via GPSBabel.
Rework the a_file_load return type as an enumeration to help detect GPSBabel failures.

13 years agoAdd ... where necessary to track & waypoint menu entries.
Rob Norris [Sat, 15 Jan 2011 12:00:44 +0000 (12:00 +0000)]
Add ... where necessary to track & waypoint menu entries.

13 years agoEnable vik_layers_panel_get_all_layers_of_type to optionally return only visible...
Rob Norris [Thu, 3 Mar 2011 01:21:56 +0000 (01:21 +0000)]
Enable vik_layers_panel_get_all_layers_of_type to optionally return only visible layers.

In selection tool only get visible layers. (especially useful to avoid invisible aggregrate layers)
Maintain full list of (map) layers when invoked from the download_maps_along_track function.

13 years agoEnable Open Waypoint Image via right click menu entry.
Rob Norris [Sun, 13 Feb 2011 19:18:59 +0000 (19:18 +0000)]
Enable Open Waypoint Image via right click menu entry.

Refactor original waypoint show picture tool to commonize code.

13 years agoUse ability to select a waypoint given the thumbnail image size.
Rob Norris [Sun, 13 Feb 2011 17:44:55 +0000 (17:44 +0000)]
Use ability to select a waypoint given the thumbnail image size.

13 years agoAdd ability to open the trackpoint edit dialog via the viewport right click menu...
Rob Norris [Fri, 4 Feb 2011 00:46:31 +0000 (00:46 +0000)]
Add ability to open the trackpoint edit dialog via the viewport right click menu when a trackpoint is selected.

13 years agoAdd ability to move selected trackpoint or waypoint by the mouse within the select...
Rob Norris [Fri, 4 Feb 2011 00:15:35 +0000 (00:15 +0000)]
Add ability to move selected trackpoint or waypoint by the mouse within the select tool.

If you want to move the waypoint immediately press shift whilst selecting the waypoint, otherwise one can move it on the second selection.
If you want to move the trackpoint immediately press control whilst selecting the trackpoint, otherwise one can move it on the second selection.

The idea is to prevent accidently moving the item upon initial selection.

Reuse the core of the existing track/waypoint tool move code.

13 years agoAdd a new select tool at the window level to enable/disbale item selection of the...
Rob Norris [Mon, 6 Sep 2010 22:18:29 +0000 (23:18 +0100)]
Add a new select tool at the window level to enable/disbale item selection of the a track or a waypoint.

This may be from any track/waypoint layer upon left mouse clicks in the viewport.
A right mouse click in the viewport brings up the context menu for the track or waypoint selected, which can be used in the normal manner.
Left mouse clicks not near a track or waypoint clears the currently selected item.