]>
git.street.me.uk Git - andy/viking.git/log
Rob Norris [Mon, 9 Sep 2013 13:17:33 +0000 (14:17 +0100)]
Use Waypoint list dialog from Aggregate Layer menus.
Rob Norris [Mon, 9 Sep 2013 13:15:49 +0000 (14:15 +0100)]
Use Waypoint list dialog in TrackWaypoint layer menus.
Rob Norris [Mon, 9 Sep 2013 23:35:43 +0000 (00:35 +0100)]
Add Waypoint List dialog.
The enables viewing lots them with their basic properties (name, date, altitude + comment).
Being in a simple (treeview) list, each column is sortable.
Implementation is very similar to the Track List dialog.
Rob Norris [Mon, 9 Sep 2013 23:31:08 +0000 (00:31 +0100)]
Expose functions for reuse and promote types.
Rob Norris [Wed, 11 Sep 2013 21:05:36 +0000 (22:05 +0100)]
[QA] Update year values.
Rob Norris [Wed, 4 Sep 2013 18:33:06 +0000 (19:33 +0100)]
[DOC] Transform menu help
Rob Norris [Wed, 4 Sep 2013 17:59:31 +0000 (18:59 +0100)]
[DOC] Maps download region including image of the dialog
Rob Norris [Wed, 4 Sep 2013 17:34:30 +0000 (18:34 +0100)]
[DOC] Improve Trackpoint edit dialog description and add example image.
Rob Norris [Wed, 4 Sep 2013 17:15:42 +0000 (18:15 +0100)]
[DOC] Selected trackpoint operations: inserting and deleting in Track/Route menu.
Rob Norris [Wed, 11 Sep 2013 18:20:18 +0000 (19:20 +0100)]
Actually make intended debug messages print only in debug instead of warnings.
Rob Norris [Wed, 11 Sep 2013 18:07:41 +0000 (19:07 +0100)]
SF Features#76: Fix Trackpoint copying after the introduction of trackpoint naming.
Also correct the signature of the focus-out-event callback function handling the name change.
Rob Norris [Tue, 10 Sep 2013 23:24:18 +0000 (00:24 +0100)]
SF Features#53: Part2: Keep the size and zoom options next to each other in the Image Generation dialog.
By moving the PNG/JPEG choice to the top.
Rob Norris [Wed, 21 Aug 2013 22:31:43 +0000 (23:31 +0100)]
Add some safety checks and don't add the pixbuf into the cache if it's invalid.
Rob Norris [Sun, 18 Aug 2013 11:03:39 +0000 (12:03 +0100)]
In the Goto Lat/Lon dialog, allow the return key to accept the entry values.
Rob Norris [Sun, 4 Aug 2013 00:13:32 +0000 (01:13 +0100)]
[QA] Include your own header file.
Rob Norris [Tue, 10 Sep 2013 22:03:08 +0000 (23:03 +0100)]
[QA] Fixup if statement intention.
Highlighted as issue when compiling with clang 3.2
Rob Norris [Tue, 10 Sep 2013 21:46:52 +0000 (22:46 +0100)]
[QA] Shift Viking dependent functions in 'util' to 'vikutils'
Rob Norris [Mon, 9 Sep 2013 22:53:19 +0000 (23:53 +0100)]
SF Features#76: Add ability to handle and name trackpoints.
Normally these are more useful for named routepoints, but applies to trackpoints as well.
Process named points in GPX files.
Extend .vik files to save named trackpoints.
Rework Trackpoint dialog to display and make trackpoint name editable.
Shift the TrackWaypoint name into Trackpoint dialog title.
Extend the statusbar to display trackpoint name when selected trackpoint has a name.
Rob Norris [Mon, 9 Sep 2013 13:13:42 +0000 (14:13 +0100)]
[QA] Fix some clang compiler warnings.
Rob Norris [Wed, 4 Sep 2013 23:31:17 +0000 (00:31 +0100)]
Expand list of potentially used libraries.
Rob Norris [Tue, 3 Sep 2013 21:40:01 +0000 (22:40 +0100)]
[DOC] Add help for DEM File Information dialog
Rob Norris [Tue, 3 Sep 2013 16:07:29 +0000 (17:07 +0100)]
[DOC] Improve help for map tile information
Rob Norris [Tue, 3 Sep 2013 18:58:37 +0000 (19:58 +0100)]
Ignore new output from autotools build system.
Rob Norris [Wed, 4 Sep 2013 23:16:09 +0000 (00:16 +0100)]
Enable compiling with older glib versions (a function used is 2.32+ only)
Improve feedback in processing malformed bzip files
Rob Norris [Wed, 4 Sep 2013 23:13:42 +0000 (00:13 +0100)]
[WINDOWS] Installer improvement
Rob Norris [Wed, 4 Sep 2013 23:13:12 +0000 (00:13 +0100)]
[WINDOWS] Need to specify magic database location.
Rob Norris [Tue, 3 Sep 2013 18:27:11 +0000 (19:27 +0100)]
[WINDOWS] Add libmagic DLL 5.03 for Windows build.
Rob Norris [Tue, 3 Sep 2013 18:25:59 +0000 (19:25 +0100)]
[WINDOWS] Add use of libbz2 (bzip2) 1.0.6 DLL for Windows build
Rob Norris [Mon, 2 Sep 2013 21:21:23 +0000 (22:21 +0100)]
Fix files missing for translation
Rob Norris [Fri, 30 Aug 2013 08:42:13 +0000 (09:42 +0100)]
[QA] Use the common map_utils_mpp_to_zoom function
It was introduced in commit SHA1:
e1dde2a674348cf8d8805242561df4b0aab55490
However the later merge of DatasourceRemoteFile brought in an earlier version (and different location) of this common method.
So make the webtool_datasource use the new function and remove the old version.
Rob Norris [Thu, 29 Aug 2013 19:07:24 +0000 (20:07 +0100)]
Merge branch 'TrackList'
Rob Norris [Mon, 26 Aug 2013 19:58:18 +0000 (20:58 +0100)]
[QA] Remove unused function parameter
Rob Norris [Sat, 23 Mar 2013 19:21:50 +0000 (19:21 +0000)]
Add Track list output from aggregate layers.
Rob Norris [Thu, 13 Jun 2013 19:17:09 +0000 (20:17 +0100)]
Add track list capability to the track sublayer container.
Rob Norris [Thu, 13 Jun 2013 19:14:58 +0000 (20:14 +0100)]
Add Track List dialog.
The enables viewing tracks with their basic properties (date, distance, length, average speed, etc...).
Being in a simple (treeview) list, each column is sortable so it's easy to find things such as a track by date or the longest track.
Rob Norris [Thu, 22 Aug 2013 23:37:39 +0000 (00:37 +0100)]
Functions for reuse and promote a type.
Rob Norris [Sun, 7 Jul 2013 20:29:01 +0000 (21:29 +0100)]
Refactor track and layer list creation code for better reuse.
Rob Norris [Wed, 28 Aug 2013 11:17:08 +0000 (12:17 +0100)]
Fix spelling of visible.
Rob Norris [Wed, 28 Aug 2013 11:12:07 +0000 (12:12 +0100)]
Remove compiler warning on 32bit systems.
Rob Norris [Wed, 28 Aug 2013 00:30:47 +0000 (01:30 +0100)]
Fix statusbar info format message to not display '(null)' repeatedly at the end.
Rob Norris [Wed, 28 Aug 2013 00:12:41 +0000 (01:12 +0100)]
Enable inserting a trackpoint before or after the selected trackpoint from the TrackWaypoint layer menu.
Rob Norris [Wed, 28 Aug 2013 00:10:23 +0000 (01:10 +0100)]
Enable direct deletion of a selected trackpoint from the TrackWaypoint layer menu.
Restructure the code a litle bit for reuse.
Update the existing delete trackpoint from the track edit dialog to use this method.
Rob Norris [Wed, 28 Aug 2013 00:02:17 +0000 (01:02 +0100)]
Maintain trackpoint selected when moving it.
Otherwise it's annoying to have to reselect it, especially when wanting to go to the previous or next point.
Rob Norris [Tue, 27 Aug 2013 21:40:04 +0000 (22:40 +0100)]
[QA] Function should use a constant name parameter
Rob Norris [Wed, 24 Jul 2013 18:22:46 +0000 (19:22 +0100)]
[QA] Function should use a constant name parameter
Rob Norris [Wed, 24 Jul 2013 19:23:23 +0000 (20:23 +0100)]
Fix coord layer copying so the copied one is actually drawn.
Ensure the GC gets enabled for the new coord layer.
Rob Norris [Wed, 31 Jul 2013 22:16:51 +0000 (23:16 +0100)]
Fix crashing when attempting to download maps along a track when multiple maps are enabled.
Detection of 'duplicate' maps is in horrible C - yuck! all this array+pointer code :(
I think it mainly doesn't work as map_layers[] is accessed before being initialized.
Simply bin this stuff as it's hardly useful anyway.
If the user has more than one of the same map - so be it - display them all.
Rob Norris [Wed, 31 Jul 2013 21:07:22 +0000 (22:07 +0100)]
[QA] Remove unused function
Rob Norris [Wed, 31 Jul 2013 20:07:33 +0000 (21:07 +0100)]
[QA] Remove an unused function parameter.
Rob Norris [Wed, 31 Jul 2013 20:05:59 +0000 (21:05 +0100)]
Add option to the cache-mbtile tool to avoid optimizing the database.
This is because the optimizing stage uses a temporary file
(often twice the size of the DB file - so it can be many Gbs in size), one may want to avoid this.
Guilhem Bonnefille [Wed, 7 Aug 2013 19:56:34 +0000 (21:56 +0200)]
Fix missing question mark
Rob Norris [Mon, 26 Aug 2013 19:30:35 +0000 (20:30 +0100)]
Merge branch 'StatusBarInfoControl'
Conflicts:
help/C/viking.xml
Plus fix some minor help text grammar.
Rob Norris [Mon, 26 Aug 2013 19:22:09 +0000 (20:22 +0100)]
Merge branch 'TrackLabelling'
Rob Norris [Mon, 26 Aug 2013 19:16:50 +0000 (20:16 +0100)]
Merge branch 'TransformUtils'
Rob Norris [Mon, 26 Aug 2013 17:50:45 +0000 (18:50 +0100)]
Merge branch 'DownloadDecompression'
Rob Norris [Wed, 24 Jul 2013 00:07:35 +0000 (01:07 +0100)]
Add 'Transform' abilities to set DEM information for Waypoints.
Allow setting elevations to an individual waypoint or all waypoints in a layer.
Rob Norris [Wed, 24 Jul 2013 00:05:29 +0000 (01:05 +0100)]
Refactor to use the new function to get the waypoint height.
Rob Norris [Wed, 24 Jul 2013 00:04:13 +0000 (01:04 +0100)]
Add function to set waypoint height from DEM information.
Rob Norris [Thu, 18 Jul 2013 18:23:56 +0000 (19:23 +0100)]
Add an option to anonymize track timestamps on upload to OSM Traces.
Only make available for an individual track upload
(as ATM the anonymize times can't be applied to a layer).
Rob Norris [Thu, 18 Jul 2013 18:17:33 +0000 (19:17 +0100)]
Make the anonymize timestamp method available in the GUI.
Rob Norris [Thu, 18 Jul 2013 18:16:50 +0000 (19:16 +0100)]
Add function to anonymize timestamps of a track.
Rob Norris [Wed, 17 Jul 2013 20:35:00 +0000 (21:35 +0100)]
Make the downloading SRTM error visible in the GUI.
Rob Norris [Wed, 17 Jul 2013 20:31:51 +0000 (21:31 +0100)]
Add warning of when trying to apply DEM data, but no DEM layers are available.
Rob Norris [Wed, 17 Jul 2013 20:28:54 +0000 (21:28 +0100)]
Improve options for applying DEM Data to a track/route.
Make explicit the option that overwrites all existing elevation data.
Add new option to only update missing elevation data.
Always report the number of points modified.
Rob Norris [Wed, 17 Jul 2013 19:31:59 +0000 (20:31 +0100)]
Make the track/route elevation smoothing methods available in the GUI.
The number of points adjusted is reported to the user.
Rob Norris [Wed, 17 Jul 2013 19:29:24 +0000 (20:29 +0100)]
Add methods to smooth missing elevation data from tracks (or routes).
This is a follow up to SF Bug #100.
Two variations are made available -
a simple 'flat' method that simply applies the last known elevation value to the missing points.
an interpolated method that uses beginning and end know elevations to derive inbetween values.
The number of points adjusted is returned.
Rob Norris [Tue, 16 Jul 2013 21:32:32 +0000 (22:32 +0100)]
Create and use new menu level 'Transform' for some track/route operations.
This is a holdall for methods that manipulate track values but don't add/remove points.
Move the 'Apply DEM Data' and 'Convert to X' functions here.
Guilhem Bonnefille [Tue, 23 Jul 2013 21:01:29 +0000 (23:01 +0200)]
Check size of route before refining it
Before computing a route refining on an excessively long route,
request confirmation from user.
Signed-off-by: Guilhem Bonnefille <guilhem.bonnefille@gmail.com>
Guilhem Bonnefille [Tue, 23 Jul 2013 21:01:29 +0000 (23:01 +0200)]
Add function to refine a route with routing service
This patch add a menu entry for route in order to request a
refined version of the route.
The user is now able to plan a journey by creating a simple route
and then request a routing engine to refine this route.
This is a simple solution to extend route finder tool, adding 'via'
points in the journey.
Signed-off-by: Guilhem Bonnefille <guilhem.bonnefille@gmail.com>
Guilhem Bonnefille [Tue, 23 Jul 2013 20:53:11 +0000 (22:53 +0200)]
[DOC] Tag some contextual restrictions as 'note'
Guilhem Bonnefille [Tue, 23 Jul 2013 20:31:16 +0000 (22:31 +0200)]
Fix: use g_list dedicated function instead of own code
Rob Norris [Mon, 1 Jul 2013 23:25:13 +0000 (00:25 +0100)]
Enable optional opening of the track properties dialog on the statistics tab
Rob Norris [Sat, 29 Jun 2013 15:28:21 +0000 (16:28 +0100)]
Move all editable properties of a track/route to a dedicated tab.
It seems better to distinguish editable properties and computed properties (called Statistics).
Especially since there are now more track properties to control.
This patch is reworked from Guilhem Bonnefille's initial idea/work.
Rob Norris [Sun, 16 Jun 2013 14:30:07 +0000 (15:30 +0100)]
Split TrackWaypoint layer tracks properties into an 'Advanced' section.
Mainly because there's getting lots of track layer properties,
split the more detailed control options into a new tab.
Rob Norris [Thu, 18 Jul 2013 21:59:52 +0000 (22:59 +0100)]
[DOC] New settings value
Rob Norris [Sun, 16 Jun 2013 14:21:09 +0000 (15:21 +0100)]
Add ability to draw track names and distance labels on the viewport.
Track labels are drawn in the appropriate track colour, when set.
Options are given to draw the track names at:
a centre position
start and end positions
centre, start and end
The default is to not draw them.
Also distance along tracks may be displayed with up to N labels at friendly distance amounts.
Originally I had worked(and reworked) over several differing commits,
but too tricky to split into back into the resulting logical commits, so combined together.
Rob Norris [Sat, 20 Jul 2013 12:06:54 +0000 (13:06 +0100)]
Add helper function distance_in_preferred_units()
Rob Norris [Sat, 20 Jul 2013 12:06:01 +0000 (13:06 +0100)]
Add function to get a trackpoint by distance along a track.
Rob Norris [Mon, 15 Jul 2013 23:53:36 +0000 (00:53 +0100)]
[DOC] Document options for the Trackpoint message format codes.
Rob Norris [Mon, 15 Jul 2013 22:06:20 +0000 (23:06 +0100)]
SF Features#113: Allow distance from track start to be shown in the Statusbar.
Use the controllable method to generate a trackpoint sting.
By default the elevation, time, distance along track and track name
will be shown for the selected trackpoint.
The settings string 'trkpt_selected_statusbar_format' can be adjusted if the different values are wanted.
Rob Norris [Mon, 15 Jul 2013 22:00:07 +0000 (23:00 +0100)]
SF Features#111: Add Optional Statusbar update in GPS Realtime Tracking mode.
Default to displaying speed and elevation.
Rob Norris [Mon, 15 Jul 2013 21:58:08 +0000 (22:58 +0100)]
Enable following GPS realtime tracking even when no heading (course) is available.
Rob Norris [Mon, 15 Jul 2013 21:52:51 +0000 (22:52 +0100)]
Add a common method to produce an information message string about a Trackpoint.
Currently for ease of implementation the message format code is a string of characters.
Each character represents what should be inserted in relation to a Trackpoint.
One day it might evolve into something more user friendly with a frontend to control it, perhaps allowing arbitary text too.
However for now at least some control is offered :)
Rob Norris [Mon, 8 Jul 2013 19:16:06 +0000 (20:16 +0100)]
Add a function to find out the distance along a track to a particular trackpoint.
Rob Norris [Mon, 8 Jul 2013 19:48:15 +0000 (20:48 +0100)]
Quick hack method to enable display of compiled in libraries (albeit in the wrong section of 'Artists') in the About dialog.
Rob Norris [Sun, 7 Jul 2013 10:21:58 +0000 (11:21 +0100)]
Support opening compressed files downloaded for the My OSM Traces feature.
Files downloaded may have been compressed by bzip2.
Use file magic to detect compression type and take appropriate decompression action.
Hence dependencies on libbz2 and libmagic are now required.
But they can be optionally turned off.
Rob Norris [Sun, 7 Jul 2013 09:46:55 +0000 (10:46 +0100)]
Unzip comment
Rob Norris [Sat, 6 Jul 2013 17:07:01 +0000 (18:07 +0100)]
Start to make compression code more reuseable.
Move zip file handling into new a file: compression.c
Rob Norris [Tue, 16 Jul 2013 21:08:51 +0000 (22:08 +0100)]
Fix menu use of named own Icons since the icons were renamed some time ago.
They were renamed back in commit SHA1:
79dce0cbecc73aef904c1529467195416c1bfe96
Rob Norris [Mon, 15 Jul 2013 21:26:01 +0000 (22:26 +0100)]
[QA] Fix memory leak in drawing new tracks/routes.
Rob Norris [Mon, 15 Jul 2013 22:17:45 +0000 (23:17 +0100)]
[QA] Fix memory leak in sorting layers.
Rob Norris [Mon, 15 Jul 2013 21:24:31 +0000 (22:24 +0100)]
[QA] Fix name memory leaks in TrackWaypoint operations.
Rob Norris [Mon, 15 Jul 2013 21:22:43 +0000 (22:22 +0100)]
[QA] Fix misc small memory leaks.
Rob Norris [Mon, 15 Jul 2013 21:20:47 +0000 (22:20 +0100)]
[QA] Fix several memory leaks on program closure.
Not particularly important since the program is ending,
but it should be done and aids tracing any other remaining memory faults.
Rob Norris [Mon, 15 Jul 2013 21:16:20 +0000 (22:16 +0100)]
[QA] Fix memory leak on deleting TrackWaypoint layers.
Rob Norris [Mon, 15 Jul 2013 21:14:03 +0000 (22:14 +0100)]
[QA] Fix new tracks not shown after split called from the Track Properties dialog.
Rob Norris [Mon, 15 Jul 2013 21:12:45 +0000 (22:12 +0100)]
[QA] Fix large memory leak on viewing Track Properties.
Rob Norris [Mon, 15 Jul 2013 21:11:56 +0000 (22:11 +0100)]
[QA] Fix incorrect iterator usage.
Rob Norris [Mon, 15 Jul 2013 21:08:40 +0000 (22:08 +0100)]
[QA] Fix memory leaks in usage of the clipboard.
Refactor use of gdk_atom_name() since this returns an allocated string.
Rob Norris [Mon, 15 Jul 2013 21:07:17 +0000 (22:07 +0100)]
[QA] Fix memory leaks on reading in Viking files.
Don't set these string variables to NULL too early!
Otherwise testing it's value means it previously didn't call the free function.