]>
git.street.me.uk Git - andy/viking.git/log
Rob Norris [Thu, 26 May 2011 22:09:13 +0000 (23:09 +0100)]
Add experimental support for GPSD_API_MAJOR_VERSION 5.
This should supoprt ATM, at least - gpsd versions: 2.96, 3.0 + 3.1.
Rob Norris [Wed, 25 May 2011 23:22:22 +0000 (00:22 +0100)]
Rework gpsd interface for conditional compiling using GPSD_API_MAJOR_VERSION.
This supports gpsd versions 2.39 + 2.9[12345].
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).
Guilhem Bonnefille [Mon, 5 Sep 2011 20:22:54 +0000 (22:22 +0200)]
[DOC] Document viking's dependencies
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.
Guilhem Bonnefille [Fri, 26 Aug 2011 20:28:29 +0000 (22:28 +0200)]
Oups: clean 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.
Guilhem Bonnefille [Thu, 25 Aug 2011 21:20:49 +0000 (23:20 +0200)]
Minor fix: declare static internal functions
Guilhem Bonnefille [Mon, 22 Aug 2011 22:54:33 +0000 (00:54 +0200)]
Fix typo
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>
Guilhem Bonnefille [Fri, 19 Aug 2011 20:39:22 +0000 (22:39 +0200)]
Extend OSM to OpenStreetMap
EveryBody does not know OSM.
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 )
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.
Rob Norris [Thu, 14 Oct 2010 20:24:39 +0000 (21:24 +0100)]
Remove DEM data source 'None' as it does nothing.
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.
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.
Rob Norris [Sun, 9 Jan 2011 21:16:01 +0000 (21:16 +0000)]
Enable getting of the statusbar from the window.
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.
Guilhem Bonnefille [Fri, 19 Aug 2011 21:48:51 +0000 (23:48 +0200)]
[DOC] Fix layer related structure of documentation
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>
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.
Rob Norris [Sat, 8 Jan 2011 17:08:10 +0000 (17:08 +0000)]
Improve track name when split from Track Properties window.
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.
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.
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]
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.
Rob Norris [Mon, 31 Jan 2011 02:58:42 +0000 (02:58 +0000)]
Enable the escape key to remove/reset the ruler tool.
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.
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>
Rob Norris [Sun, 26 Jun 2011 14:10:20 +0000 (15:10 +0100)]
Oops, remember to remove reference to deleted icon.
Rob Norris [Sat, 9 Oct 2010 09:25:45 +0000 (10:25 +0100)]
Internal tidy: replace magic scissor variables/references with route finder.
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'.
Rob Norris [Sat, 9 Oct 2010 09:00:00 +0000 (10:00 +0100)]
Replace 'Magic Scissors' by a more accurate name - 'Route Finder'.
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.
Rob Norris [Thu, 23 Jun 2011 23:27:56 +0000 (00:27 +0100)]
Enable internationalization of the OSM Traces preferences text.
Rob Norris [Mon, 30 May 2011 19:53:52 +0000 (20:53 +0100)]
Fix compiler warnings generated with gcc4.6 in viktrwlayer_propwin.c
Rob Norris [Mon, 30 May 2011 19:53:31 +0000 (20:53 +0100)]
Fix compiler warnings generated with gcc4.6 in viktrwlayer.c
Rob Norris [Mon, 30 May 2011 19:53:15 +0000 (20:53 +0100)]
Fix compiler warnings generated with gcc4.6 in viktreeview.c
Rob Norris [Mon, 30 May 2011 19:52:57 +0000 (20:52 +0100)]
Fix compiler warnings generated with gcc4.6 in viktmsmapsource.c
Rob Norris [Mon, 30 May 2011 19:52:40 +0000 (20:52 +0100)]
Fix compiler warnings generated with gcc4.6 in vikgpslayer.c
Rob Norris [Mon, 30 May 2011 19:52:22 +0000 (20:52 +0100)]
Fix compiler warnings generated with gcc4.6 in print.c
Rob Norris [Mon, 30 May 2011 19:52:07 +0000 (20:52 +0100)]
Fix compiler warnings generated with gcc4.6 in file.c
Rob Norris [Thu, 16 Jun 2011 22:18:47 +0000 (23:18 +0100)]
Releasing viking 1.2.1
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.
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.
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.
Guilhem Bonnefille [Sun, 29 May 2011 20:51:32 +0000 (22:51 +0200)]
Releasing viking 1.2
Guilhem Bonnefille [Sun, 29 May 2011 20:49:13 +0000 (22:49 +0200)]
Fix translations: addbing mapsource.c
Guilhem Bonnefille [Tue, 24 May 2011 20:36:46 +0000 (22:36 +0200)]
Merge branch 'i18n-launchpad' into viking-1.2.rc1
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.
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.
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>
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>
Guilhem Bonnefille [Sat, 21 May 2011 20:11:22 +0000 (22:11 +0200)]
[DOC] Add links to access Viking's source code
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.
Guilhem Bonnefille [Mon, 16 May 2011 20:35:35 +0000 (22:35 +0200)]
Improve configure script when error occurs
Guilhem Bonnefille [Mon, 16 May 2011 20:12:20 +0000 (22:12 +0200)]
Document previous translation updates
Guilhem Bonnefille [Mon, 16 May 2011 19:59:58 +0000 (21:59 +0200)]
Import Launchpad updates
Rob Norris [Tue, 10 May 2011 07:52:19 +0000 (08:52 +0100)]
Rename file to prevent any case-insensitive issues.
Rob Norris [Tue, 10 May 2011 07:45:19 +0000 (08:45 +0100)]
Improve README to mention OSM.
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.
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.
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.
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.
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.
Rob Norris [Mon, 17 Jan 2011 10:29:31 +0000 (10:29 +0000)]
Add getting the users confirmation when deleting a layer.
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.
Rob Norris [Wed, 26 Jan 2011 02:08:37 +0000 (02:08 +0000)]
Add operations on waypoints into the 'new' Waypoints treeview menu.
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.
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.
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.
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.
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.
Rob Norris [Sat, 29 Jan 2011 20:25:23 +0000 (20:25 +0000)]
Remove unnecessary calculation in make_speed_map in viktrack.c
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.
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 :)
Rob Norris [Sun, 9 Jan 2011 12:58:13 +0000 (12:58 +0000)]
Remove pointless storage of vlp in track properties window.
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.
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.
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.
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.
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.
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.
Rob Norris [Sat, 8 Jan 2011 16:56:28 +0000 (16:56 +0000)]
Add keyboard accelerators for 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.
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.
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.
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
Rob Norris [Fri, 7 Jan 2011 01:29:01 +0000 (01:29 +0000)]
Track Properties Window internal tidy: individual profile sizes for each window.
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.
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.
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.
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.
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.
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.
Rob Norris [Sat, 15 Jan 2011 12:00:44 +0000 (12:00 +0000)]
Add ... where necessary to track & waypoint menu entries.
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.
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.
Rob Norris [Sun, 13 Feb 2011 17:44:55 +0000 (17:44 +0000)]
Use ability to select a waypoint given the thumbnail image size.
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.