]>
git.street.me.uk Git - andy/viking.git/log
Rob Norris [Sun, 10 Aug 2014 12:19:45 +0000 (13:19 +0100)]
Add debug output view of the Back/Forward positions.
Rob Norris [Sun, 3 Aug 2014 22:45:24 +0000 (23:45 +0100)]
Fix commit SHA:
e8518759e6c64fac28783cf190b82705dc4bbb87
Need to handle differing Glib behaviour of g_hash_table_insert()
Rob Norris [Sat, 2 Aug 2014 10:50:49 +0000 (11:50 +0100)]
[QA] Remove very old unused code from vikmapslayer.c
Rob Norris [Thu, 31 Jul 2014 22:46:15 +0000 (23:46 +0100)]
Save and use the position of the horizontal pane when restoring the window layout.
Rob Norris [Tue, 29 Jul 2014 23:24:35 +0000 (00:24 +0100)]
[QA] Better to claim key board event handled for F5 & Ctrl+F5 usage.
Rob Norris [Tue, 29 Jul 2014 23:22:57 +0000 (00:22 +0100)]
SF Bugs#109: Ctrl+Keypad+/- to Zoom In/Out respectively.
Rob Norris [Mon, 21 Jul 2014 18:31:25 +0000 (19:31 +0100)]
[QA] Use glib functions for the format in reporting the size of a file and the map cache.
Rob Norris [Sun, 20 Jul 2014 09:27:24 +0000 (10:27 +0100)]
Prevention of crashing in mapcache when tmp variable is NULL.
I haven't been able to trace why/when tmp becomes NULL,
but at least one user has encountered this condition.
Thus add protection against deferencing a NULL pointer.
Rob Norris [Sun, 20 Jul 2014 09:24:12 +0000 (10:24 +0100)]
[QA] Fix up overzealous variable renaming.
Rob Norris [Mon, 30 Jun 2014 18:20:15 +0000 (19:20 +0100)]
[QA] Window's build - better use of environment variable.
Rob Norris [Sat, 5 Jul 2014 12:00:37 +0000 (13:00 +0100)]
Enable i18n on 'Routing' preferences tab name.
Rob Norris [Sat, 5 Jul 2014 11:56:40 +0000 (12:56 +0100)]
Add capability to define the URL format for web links.
Enable link to Geofabrik Map Compare.
Rob Norris [Sat, 5 Jul 2014 11:36:20 +0000 (12:36 +0100)]
Add link to HERE Maps.
Rob Norris [Sun, 13 Jul 2014 11:16:40 +0000 (12:16 +0100)]
Add map cache information to be accessible from the GUI only in debug mode.
Rob Norris [Sat, 5 Jul 2014 18:33:45 +0000 (19:33 +0100)]
[QA] Rename and correct some map cache variables usage for better understanding.
Rob Norris [Mon, 30 Jun 2014 18:26:05 +0000 (19:26 +0100)]
Prevent crashing when queue_tail is NULL.
This can be induced if the map cache size is very low (e.g. 1Mb),
such that the queue has no values.
Rob Norris [Mon, 30 Jun 2014 18:22:35 +0000 (19:22 +0100)]
Fix zoom type definition in map cache.
Viking zoom levels can be negative so change from guint to gint.
Rob Norris [Sat, 14 Jun 2014 12:02:43 +0000 (13:02 +0100)]
[DOC] Expand keys used for panning the map.
Rob Norris [Sat, 14 Jun 2014 11:01:28 +0000 (12:01 +0100)]
Add trackpoint message output option value of the distance to the end of the track.
Rob Norris [Mon, 9 Jun 2014 20:39:31 +0000 (21:39 +0100)]
[QA] Distance units not used here.
Rob Norris [Mon, 9 Jun 2014 20:39:02 +0000 (21:39 +0100)]
SF Features#120: Add Nautical Miles preference for distance units.
Rob Norris [Sat, 7 Jun 2014 19:40:15 +0000 (20:40 +0100)]
Add methods to open Waypoint URLs in comments & descriptions from the Properties dialog.
Rob Norris [Thu, 5 Jun 2014 20:43:25 +0000 (21:43 +0100)]
[QA] Move Waypoint dialog code into its own file.
Rob Norris [Thu, 5 Jun 2014 20:13:34 +0000 (21:13 +0100)]
[QA] Use a library function to get the number of items in a string array.
Rob Norris [Thu, 5 Jun 2014 20:05:43 +0000 (21:05 +0100)]
Merge branch 'TimeDisplay'
Rob Norris [Thu, 5 Jun 2014 20:00:48 +0000 (21:00 +0100)]
[DOC] Time Display option.
Rob Norris [Mon, 2 Jun 2014 21:35:44 +0000 (22:35 +0100)]
SF Features#95 - Part 2: TimeZone lookup based on an object's position.
For the 'World' time reference frame,
use the k-d tree method (http://en.wikipedia.org/wiki/Kd-tree) to quickly retreive
the nearest location to the given position.
Then get the timezone associted with that position to use for the time display.
Thus for example a track's time will be displayed in it's timezone rather than the user's current local time.
Rob Norris [Mon, 2 Jun 2014 21:39:05 +0000 (22:39 +0100)]
Create timezone lookup file derived from geonames.org
More specifically is it derived from:
http://download.geonames.org/export/dump/cities15000.zip
(using the script timezone-lookup-create.sh to extract only the fields needed by Viking)
This work is licensed under a Creative Commons Attribution 3.0 License.
Rob Norris [Mon, 2 Jun 2014 21:20:56 +0000 (22:20 +0100)]
Add kdtree C code version 0.5.6 from https://code.google.com/p/kdtree/
"kdtree is a simple, easy to use C library for working with kd-trees.
Kd-trees are an extension of binary search trees to k-dimensional data. They facilitate very fast searching, and nearest-neighbor queries.
This particular implementation is designed to be efficient and very easy to use. It is completely written in ANSI/ISO C, and thus completely cross-platform."
Rob Norris [Thu, 1 May 2014 23:32:45 +0000 (00:32 +0100)]
SF Features#95 - Part 1: Allow and use configuration of an alternative time display.
Add an option consisting of none, UTC, or (Object's) Positional Local Time.
For several places where a time is displayed, show a tooltip of the time in the manner
specified by the alternate time option.
Places with times shown with this tooltip option are:
Trackpoint Properties
Waypoint Properties
Track Properties
The 'Positional Local Time' setting will attempt to work out the timezone at the position of the point (or Track's center)
For the first stage of implementation a simple longitude to hours offset calculation is used (longitude/15).
This will become the fallback when the real lookup implementation is added.
Rob Norris [Thu, 5 Jun 2014 19:31:15 +0000 (20:31 +0100)]
[DOC] Include source link for strtod.c
Rob Norris [Sun, 11 May 2014 21:06:53 +0000 (22:06 +0100)]
Fix test file: OSMarender Map is long defunct. Use Maqquest.
Rob Norris [Sun, 11 May 2014 21:05:49 +0000 (22:05 +0100)]
If a route or track creation is cancelled with the Escape key with just the initial point,
assume it's not really wanted and delete it.
Rob Norris [Sun, 11 May 2014 21:04:41 +0000 (22:04 +0100)]
Add and use preference in whether a name is requested when creating a new track or route.
The name can of course be changed after the track or route is created,
so now you are not forced to even think about naming it first if you don't want to.
Rob Norris [Sun, 1 Jun 2014 16:42:37 +0000 (17:42 +0100)]
Allow import of file format with *any* readable components as supported by GPSBabel.
Rob Norris [Sun, 1 Jun 2014 16:19:28 +0000 (17:19 +0100)]
Fix jump to today's date in search if Viking has been running over a day.
Simply get today's date each time rather than saving the date on first execution.
Rob Norris [Tue, 27 May 2014 21:45:50 +0000 (22:45 +0100)]
SF Bugs#106: Fix incorrect location on opening .vik file saved in different locale.
Enable reading in of decimal values that may contain either '.' or ',' as the separator.
Need to use modified version of strtod() since the standard C library does not support reading in values from a different locale.
Ideally Viking shouldn't have saved these values into the file in a locale dependent manner,
but for a few values this is the case (ever since the first public release of Viking).
Thus to maintain backwards compatibility need to handle standard variations of the decimal separator.
Selected strtod() from the Sanos project for it's simplicity
(compared to 'David M. Gay' version: http://www.netlib.org/fp/dtoa.c - which may handle extremes of precision better - but such values aren't encountered in Viking)
Rob Norris [Tue, 27 May 2014 21:27:08 +0000 (22:27 +0100)]
[DOC] Attribution of Sanos strtod.c
Rob Norris [Tue, 27 May 2014 21:05:08 +0000 (22:05 +0100)]
strtod.c from Sanos Operating System Kernel 1.3.4 (http://www.jbox.dk/sanos)
Rob Norris [Tue, 27 May 2014 19:47:36 +0000 (20:47 +0100)]
Fix pasting of text in DMS format to resolve to the correct location.
Also add some comments to hint at what is going on here.
Rob Norris [Tue, 27 May 2014 19:44:25 +0000 (20:44 +0100)]
[DOC] Add attributions to meet binary distribution requirements.
Rob Norris [Tue, 27 May 2014 19:38:50 +0000 (20:38 +0100)]
[DOC] Bump Docbook Version to 4.5 in the Help.
Rob Norris [Thu, 15 May 2014 20:22:53 +0000 (21:22 +0100)]
Enable copying the centre location of the viewport via Ctrl+h
Rob Norris [Mon, 12 May 2014 20:38:19 +0000 (21:38 +0100)]
Add alternative bearing readout as raw lat/lon double values.
Rob Norris [Mon, 12 May 2014 20:36:56 +0000 (21:36 +0100)]
Fix waypoints may not be drawn when created by paste of a text location.
Need to update the bounding box for the waypoints and force a redraw event.
Rob Norris [Sat, 10 May 2014 10:16:18 +0000 (11:16 +0100)]
[DOC] GPSBabel Filter: Compress Tracks
Rob Norris [Sat, 10 May 2014 09:32:43 +0000 (10:32 +0100)]
Allow compressing tracks using the GPSBabel simplify crosstrack feature.
See: http://www.gpsbabel.org/htmldoc-development/filter_simplify.html
Rob Norris [Thu, 8 May 2014 21:28:10 +0000 (22:28 +0100)]
Fix zoom level tile reporting for an MBTiles map.
Rob Norris [Sun, 4 May 2014 11:00:59 +0000 (12:00 +0100)]
Save track property show DEM & speed settings between dialog invocations.
Rob Norris [Thu, 1 May 2014 23:26:43 +0000 (00:26 +0100)]
Optionally show DEM values on Elevation/Speed graph.
Rob Norris [Sat, 3 May 2014 10:29:08 +0000 (11:29 +0100)]
[QA] Use cross platform directory separator
Rob Norris [Thu, 1 May 2014 23:54:20 +0000 (00:54 +0100)]
Update external_tools configurations.
Replace no longer functional Hiking website with an equivalent.
Move country specific example from basic install config to the example equivalent.
Rob Norris [Thu, 1 May 2014 23:51:17 +0000 (00:51 +0100)]
Enable Windows installation to search for and use deployed extension configuration files.
Rob Norris [Thu, 24 Apr 2014 21:25:44 +0000 (22:25 +0100)]
Allow setting timestamps on trackpoints and waypoints that previously had none.
Rob Norris [Thu, 24 Apr 2014 19:49:04 +0000 (20:49 +0100)]
SF Features#100: Allow 'easy' changing of the time of trackpoints & waypoints.
Add and use a dialog to get the time and date in the users timezone to allow setting the timestamp.
The dialog uses the calendar widget to get the date and spin boxes for the hours, minutes and seconds.
Rob Norris [Sun, 20 Apr 2014 10:36:28 +0000 (11:36 +0100)]
SF Features#100: Allow changing of the time of trackpoints.
Simply via a spinbox of the timestamp on the trackpoint edit dialog.
Only really useful for changing the time by a few seconds.
Rob Norris [Thu, 24 Apr 2014 20:41:14 +0000 (21:41 +0100)]
Ensure track bounds are initialized correctly during track creation.
I believe this flaw was somehow triggered by the change in commit SHA1:
a8e8ffe1f3a69f2c4263229773aa9a60fdae4049
Rob Norris [Thu, 17 Apr 2014 18:33:16 +0000 (19:33 +0100)]
Improve ordering of date/time output on time graphs.
Rob Norris [Fri, 11 Apr 2014 09:47:06 +0000 (10:47 +0100)]
[QA] Remove unused parameter
Companion fix to commit SHA1:
0ab355252e7f5431a1765140520acb79bcf7a5cb
Rob Norris [Thu, 10 Apr 2014 21:46:33 +0000 (22:46 +0100)]
Remove temporary files used asynchronously on program exit.
Rob Norris [Mon, 7 Apr 2014 22:16:33 +0000 (23:16 +0100)]
Enable importing from GeoJSON files via the usage of the program 'togpx'.
The togpx program will need to be detected before being made available for use in the GUI.
https://www.npmjs.org/package/togpx
Rob Norris [Sat, 5 Apr 2014 18:32:26 +0000 (19:32 +0100)]
Enable exporting to GeoJSON file via the program togeojson.
GPSBabel doesn't seem to support GeoJSON so have to use a specific program.
togeojson is from https://github.com/mapbox/togeojson
Rob Norris [Mon, 7 Apr 2014 21:58:43 +0000 (22:58 +0100)]
Use a common way to create temporary GPX files.
Rob Norris [Mon, 7 Apr 2014 21:48:18 +0000 (22:48 +0100)]
[QA] Limit scope of includes of vikutils header.
Rob Norris [Mon, 7 Apr 2014 21:42:32 +0000 (22:42 +0100)]
Geoname services now require an username account to access free services.
Also switch to the api URL as the ws one is depreciated.
Rob Norris [Mon, 7 Apr 2014 21:26:37 +0000 (22:26 +0100)]
[DOC] Update Help for current built in Maps list.
Rob Norris [Mon, 7 Apr 2014 21:21:44 +0000 (22:21 +0100)]
Rationalise acquire mode to have more obvious behaviour.
Rob Norris [Sun, 6 Apr 2014 09:27:59 +0000 (10:27 +0100)]
Convert some console warnings to get reported to the GUI in the statusbar.
Rob Norris [Sat, 5 Apr 2014 09:48:31 +0000 (10:48 +0100)]
[QA] Correct and improve enumeration usage for export file types.
Rob Norris [Mon, 7 Apr 2014 22:07:26 +0000 (23:07 +0100)]
Ensure tools directory is really included in the build output.
Rob Norris [Thu, 3 Apr 2014 23:00:31 +0000 (00:00 +0100)]
Add the miscellaneous 'tools' scripts into the build output.
Rob Norris [Thu, 3 Apr 2014 22:05:46 +0000 (23:05 +0100)]
Fix googledirections script.
Rob Norris [Thu, 3 Apr 2014 22:05:14 +0000 (23:05 +0100)]
Fix slightly incorrect DEM point drawing on the track property display after recent code changes.
Rob Norris [Thu, 27 Mar 2014 01:48:28 +0000 (01:48 +0000)]
Show distance axis grids on distance graphs.
Rob Norris [Thu, 27 Mar 2014 01:44:35 +0000 (01:44 +0000)]
SF Features#91: Part 2. Show time axis grids on time graphs.
Similar to the y axis labelling, try to find most sensible time chunks for the divisions.
Offset all drawing in the Y axis by MARGIN_Y to create room for the x axis labels.
Rob Norris [Wed, 26 Mar 2014 21:01:30 +0000 (21:01 +0000)]
Create and use a function to return the duration of a track.
Rob Norris [Wed, 26 Mar 2014 20:46:10 +0000 (20:46 +0000)]
[QA] Refactoring track properties window.
Rename: MARGIN -> MARGIN_X, draw_grid -> draw_grid_y
Make resetting of the graph images a common function: clear_images().
Rob Norris [Sat, 22 Mar 2014 14:27:28 +0000 (14:27 +0000)]
SF Features#91: Part 1. Display Clock Date/Time of the blob on the time graphs.
Helpful to work out the real time of where one was.
Rob Norris [Wed, 26 Mar 2014 20:01:11 +0000 (20:01 +0000)]
Remove unnecessary subdomain in some OSM tileserver hostnames.
Rob Norris [Wed, 26 Mar 2014 19:59:44 +0000 (19:59 +0000)]
Refix Merging tracks by time.
Accidentally broke it when trying to implement internal track ids.
(SHA:
fc92c97715697980e8fde44b9dc8c02e29b1f7a0 )
Somehow it previously did something, but it clearly wasn't actually
using *both* track times in deciding what to merge - d'oh!
It would also crash if one of the tracks has no trackpoints.
I think this flaw was in the original version.
This is now fixed as well.
Rob Norris [Sat, 22 Mar 2014 14:09:19 +0000 (14:09 +0000)]
Remove no longer available map services.
Rob Norris [Sat, 22 Mar 2014 14:08:30 +0000 (14:08 +0000)]
Remove default usage of Terraserver maps as they are no longer available.
For now leave the code in place since there are extra functions,
which may be of reference use in the future.
Rob Norris [Sat, 22 Mar 2014 13:49:36 +0000 (13:49 +0000)]
Completely remove SPOTMaps as this service is no longer available.
If it was available then it could work by simple maps.xml config,
rather than needing any code.
Rob Norris [Sat, 22 Mar 2014 12:31:52 +0000 (12:31 +0000)]
Optimize tooltip message generation, remove unnecessary track iterations.
Limit vik_track_get_tp_last() usage, since it uses g_list_last(),
which in turn iterates through the list to find the last trackpoint.
Thus cache the last trackpoint before multiple usage in tooltip generation.
Hopefully this will make it more likely these tooltips will get shown in Windows.
Rob Norris [Sat, 22 Mar 2014 12:10:12 +0000 (12:10 +0000)]
Allow clearing and copying of the information message in the statusbar.
Rob Norris [Sat, 22 Mar 2014 12:08:41 +0000 (12:08 +0000)]
Report download failures in the statusbar.
Tile and DEM download failures are now shown in the GUI,
rather than just messages on the console.
Use enumerated failure states.
Rob Norris [Sat, 22 Mar 2014 10:51:29 +0000 (10:51 +0000)]
Fix crashing on double clicks - properly initialize variable.
Fixes previous commit on this file to support GLIB 2.24
(SHA1:
5a8048bb6a980b0b969cb8864bdcce16607f9581 )
Rob Norris [Thu, 20 Mar 2014 21:22:53 +0000 (21:22 +0000)]
Refactor time from start track property label update
Rob Norris [Sun, 16 Mar 2014 11:25:57 +0000 (11:25 +0000)]
Flow up error states from routing so the GUI can display the failing result.
Rob Norris [Sun, 16 Mar 2014 11:07:56 +0000 (11:07 +0000)]
Notes on how to use git2changelog.sh
Since I always forget the format of the parameters passed to git log
Rob Norris [Sat, 15 Mar 2014 01:34:37 +0000 (01:34 +0000)]
[WINDOWS] Ensure an icon is embedded in the executable.
This is particularly important for display of an icon only in the task bar on Win 7 onwards.
Rob Norris [Sat, 15 Mar 2014 00:50:54 +0000 (00:50 +0000)]
Yet more files to ignore from output of the build process.
Rob Norris [Sat, 15 Mar 2014 00:04:58 +0000 (00:04 +0000)]
[WINDOWS] More reliable rebuilds.
Rob Norris [Fri, 14 Mar 2014 23:48:32 +0000 (23:48 +0000)]
[WINDOWS] Fix opening URLs in Windows build only.
Rob Norris [Sun, 23 Feb 2014 20:09:29 +0000 (20:09 +0000)]
SF Bugs#105: Fix Display of Lines (Clipping) at High Zoom Levels.
Properly address clipping of x,y pixel values,
which can happen when points are far away from the viewport.
This typically happens when zoomed in very close e.g. <0.5 pixelfact,
but also when a point is *very* far away from other points in a normal track.
Rob Norris [Sun, 23 Feb 2014 15:13:47 +0000 (15:13 +0000)]
Fix building on Windows as Viking only supports GLIB 2.24 ATM.
Rob Norris [Mon, 10 Feb 2014 23:51:55 +0000 (23:51 +0000)]
Add a tooltip for Aggregate Layers to say how many layers they contain.
Rob Norris [Mon, 10 Feb 2014 23:42:11 +0000 (23:42 +0000)]
Remove built in OpenStreetBugs datasource as this service is being phased out.
Rob Norris [Mon, 27 Jan 2014 20:03:55 +0000 (20:03 +0000)]
Add support for reading waypoint specific URL fields in GPX1.0 files.
Rob Norris [Wed, 29 Jan 2014 21:36:26 +0000 (21:36 +0000)]
Isolate Viking specific code in otherwise reusable code.