]>
git.street.me.uk Git - andy/viking.git/log
Rob Norris [Sun, 22 Jan 2017 17:55:30 +0000 (17:55 +0000)]
Ensure correct capitalization of the program name
Rob Norris [Sun, 15 Jan 2017 19:45:13 +0000 (19:45 +0000)]
Improved feedback/feature availability when no direction routing engines are available.
Rob Norris [Sun, 15 Jan 2017 19:34:46 +0000 (19:34 +0000)]
Add function to return counts of available routing engines.
Rob Norris [Sun, 15 Jan 2017 19:20:03 +0000 (19:20 +0000)]
Add YOURS online routing.
http://www.yournavigation.org/
https://wiki.openstreetmap.org/wiki/YOURS#Routing_API
Note at present YOURS uses an old OSM dataset (from 2014).
However at least this is better than no routing options.
Rob Norris [Sun, 15 Jan 2017 18:49:10 +0000 (18:49 +0000)]
Remove as OSRM routing option as it no longer supports GPX output.
Rob Norris [Sun, 15 Jan 2017 18:14:20 +0000 (18:14 +0000)]
[DOC] Add details about routing format option
Rob Norris [Sun, 15 Jan 2017 15:44:46 +0000 (15:44 +0000)]
Allow specifying an alternative URL base location for acquiring DEM SRTM files.
Advanced configuration setting only in viking.ini.
No GUI method provided ATM, as it's unlikely this setting needs changing.
Rob Norris [Sun, 15 Jan 2017 15:22:12 +0000 (15:22 +0000)]
Use https DEM download site by default
Rob Norris [Sun, 15 Jan 2017 15:20:47 +0000 (15:20 +0000)]
Allow redirects when attempting to download DEM files.
Rob Norris [Sun, 15 Jan 2017 15:20:01 +0000 (15:20 +0000)]
Simplify DEM base URL to be one value rather than separate components.
Rob Norris [Sat, 21 Jan 2017 14:21:24 +0000 (14:21 +0000)]
Prevent compiler warnings - rework as vtl variable type has changed.
Then remove some now unnecessary type conversions.
Also ensure auto set view is always called.
Rob Norris [Sat, 21 Jan 2017 13:51:56 +0000 (13:51 +0000)]
Merge pull request #19 from huobos/typo
Fix typo word Polygonized
Rob Norris [Sat, 21 Jan 2017 13:51:19 +0000 (13:51 +0000)]
Merge pull request #17 from huobos/gpx
Open files in selected layer
huobos [Fri, 20 Jan 2017 03:01:44 +0000 (11:01 +0800)]
Fix typo word Polygonized
huobos [Fri, 20 Jan 2017 02:23:44 +0000 (10:23 +0800)]
Open files in selected layer
Rob Norris [Fri, 13 Jan 2017 00:08:31 +0000 (00:08 +0000)]
Fix small memory leak.
Rob Norris [Fri, 13 Jan 2017 00:07:55 +0000 (00:07 +0000)]
Fix small memory leak
Rob Norris [Thu, 12 Jan 2017 23:59:08 +0000 (23:59 +0000)]
Enable understanding pasted text strings with tabs.
Rob Norris [Sun, 11 Dec 2016 23:08:13 +0000 (23:08 +0000)]
Fix some spelling mistakes.
Rob Norris [Sun, 11 Dec 2016 23:07:50 +0000 (23:07 +0000)]
Fix small memory leak.
Rob Norris [Thu, 3 Nov 2016 21:19:29 +0000 (21:19 +0000)]
Shell test should be '=' rather than '==' for maximum portability.
Rob Norris [Thu, 3 Nov 2016 19:11:35 +0000 (19:11 +0000)]
Clarify only Bing Aerial Map available.
Rob Norris [Sat, 22 Oct 2016 18:23:15 +0000 (19:23 +0100)]
Fix small memory leak - free dirpath in all circumstances.
Rob Norris [Sat, 22 Oct 2016 18:18:26 +0000 (19:18 +0100)]
Fix spelling
Rob Norris [Sun, 16 Oct 2016 10:29:32 +0000 (11:29 +0100)]
Fix toggling visibility of the menu.
Rob Norris [Sun, 16 Oct 2016 10:28:51 +0000 (11:28 +0100)]
Support Lodge symbol
This can be generated on at least Garmin Etrex 20 devices.
Rob Norris [Sun, 7 Aug 2016 10:32:57 +0000 (11:32 +0100)]
[DOC] Use macro for GPSBabel references
Rob Norris [Sun, 7 Aug 2016 10:29:46 +0000 (11:29 +0100)]
[DOC] Use URL links to programs
Rob Norris [Tue, 16 Aug 2016 21:39:13 +0000 (22:39 +0100)]
Fix some missing nautical miles output.
Rob Norris [Tue, 16 Aug 2016 21:38:36 +0000 (22:38 +0100)]
Fix issue in display of maximum speed when there is no speed.
Ensure buffer contents is reset in case there is nothing to display.
Also align code in mph block to be as per other speed units.
Rob Norris [Sun, 7 Aug 2016 11:22:02 +0000 (12:22 +0100)]
Only call gps_close() after a successful gps_open().
Unfortunately this will crash (in libgps up to at least 3.16) if used incorrectly.
Rob Norris [Sun, 7 Aug 2016 19:12:11 +0000 (20:12 +0100)]
Replace defunct IP to location lookup service.
Switch from http://www.hostip.info to http://www.geoplugin.com
Rob Norris [Thu, 11 Aug 2016 17:54:35 +0000 (18:54 +0100)]
Github #15: Relicense files marked GPL2 only to GPL2+.
I declare that now the contents of files util.c and ui_util.c are all GPL2+.
The majority of the code is from my own work (all functional util.c and some ui_util.c),
so I relicense it to GPL2+.
Contributions by Guilhem Bonnefille in util.c has been agreed to be relicensed to GPL2+.
Contributions by Matthew Hague in ui_util.c has been agreed to be relicensed to GPL2+.
Some code in ui_util.c has been reused from the Geany Project (https://www.geany.org),
which has always been GPL2+ (thus previously incorrectly marked).
Signed-off-by: Rob Norris <rw_norris@hotmail.com>
Rob Norris [Sun, 7 Aug 2016 11:11:31 +0000 (12:11 +0100)]
Explicitly license my small test code+script files as Creative Commons CCO
Signed-off-by: Rob Norris <rw_norris@hotmail.com>
Rob Norris [Sat, 6 Aug 2016 11:54:16 +0000 (12:54 +0100)]
SF Bugs#135: Fix OSM Maps shown by default at Maximum Zoom.
Interpret SCALE INC UP/DOWN in a more sensible manner as a number of addition zoom levels to try.
This means a scaled version of OCM will get shown by default at maximum zoom.
Rob Norris [Sun, 7 Aug 2016 11:09:47 +0000 (12:09 +0100)]
SF Bugs#133: Remove the auto added map when opening the first .vik file from the GUI.
Rob Norris [Sun, 7 Aug 2016 11:06:43 +0000 (12:06 +0100)]
Add aggregate layer functions to return number of layers and to delete a specified child layer.
Rob Norris [Sat, 23 Apr 2016 11:12:28 +0000 (12:12 +0100)]
Disable more functionality that doesn't work if gpsbabel is not available.
Rob Norris [Tue, 9 Aug 2016 21:14:15 +0000 (22:14 +0100)]
Fix recent commit:
4dc72a1d407b81853d0093871cff45ef1f47d1b8
Don't attempt to (indirectly) free the parameters passed in.
Rob Norris [Sun, 7 Aug 2016 20:35:38 +0000 (21:35 +0100)]
Improved usage of g_stat()
Rob Norris [Sun, 7 Aug 2016 10:32:36 +0000 (11:32 +0100)]
[DOC] Remove note on GPSBabel Google Direction routes which no longer work.
Rob Norris [Sun, 7 Aug 2016 10:28:42 +0000 (11:28 +0100)]
[DOC] Stellarium release 0.15.0 has fixed this bug.
Rob Norris [Sun, 7 Aug 2016 10:27:20 +0000 (11:27 +0100)]
SF Bugs#134: Replaced discontinued MapQuest tile service with rate limited Mapbox Outdoors service.
Choose an 'Outdoors' styled map to reflected presumed likely usage of Viking.
This is the default map, so users are likely to encounter service request limits.
Rob Norris [Sun, 7 Aug 2016 09:53:36 +0000 (10:53 +0100)]
Fix crash if a map configuration has no hostname or URL defined.
Generally improve handling of download hostname and uri parameters and report if not set.
Rob Norris [Sat, 6 Aug 2016 10:28:11 +0000 (11:28 +0100)]
Be more explicit that the return value of g_printf() is ignored.
Rob Norris [Sat, 25 Jun 2016 14:35:28 +0000 (15:35 +0100)]
Remove unused function.
Rob Norris [Mon, 13 Jun 2016 22:53:48 +0000 (23:53 +0100)]
Replace internal uri_escape() function with a glib version.
Rob Norris [Sat, 25 Jun 2016 13:06:33 +0000 (14:06 +0100)]
Load the startup file first so that subsequent files are loaded on top.
Especially so that new tracks+waypoints will be above any maps in a startup file.
Rob Norris [Sat, 25 Jun 2016 13:02:45 +0000 (14:02 +0100)]
SF Bugs#132: Fix to correctly open GPX files in Windows via double click.
Previously in jpg.c there was no check for magic_load() result in Windows
(and the path to the magic database file was not correct).
So somehow when opening a file the 'is a JPG' test would return true when it is a GPX file,
thus leading to using the GPX file name as an image name.
Commonize the magic library processing so the correct location of the magic database is used for JPG tests,
with better tracing of error conditions.
Rob Norris [Wed, 22 Jun 2016 00:03:17 +0000 (01:03 +0100)]
[WINDOWS] Extra files needed for theming to work
Rob Norris [Sat, 25 Jun 2016 12:37:54 +0000 (13:37 +0100)]
Merge pull request #14 from apre/master
add debian build-dependencies in readme
apre [Thu, 23 Jun 2016 18:04:04 +0000 (20:04 +0200)]
add debian build-dependencies in readme
Rob Norris [Tue, 3 May 2016 19:27:08 +0000 (20:27 +0100)]
Use the correct definition.
Luckily the enumeration/definition have the same value of 0,
so the code has always been working.
Rob Norris [Tue, 3 May 2016 19:23:10 +0000 (20:23 +0100)]
Fix to return the correct hash table pointer.
Luckily ATM this was only used in one place in the waypoints list dialog.
(so only prevented selecting a waypoint after choosing to view a specific one).
Rob Norris [Tue, 3 May 2016 19:19:35 +0000 (20:19 +0100)]
Fix to use the correct GC index for drawing track stops.
Rob Norris [Mon, 2 May 2016 12:42:37 +0000 (13:42 +0100)]
SF Bugs#130: Fix GeoRef layer alpha value change to 255 is ignored until restart
Rob Norris [Mon, 2 May 2016 11:21:58 +0000 (12:21 +0100)]
Better type to remove compiler warning
Rob Norris [Mon, 2 May 2016 11:21:09 +0000 (12:21 +0100)]
Second fix to
e778b260c460c218a8efa27c178219cccf731452 to correct elevation output in GPX files.
Rob Norris [Sat, 23 Apr 2016 11:09:08 +0000 (12:09 +0100)]
Improve babel debug output
Rob Norris [Mon, 25 Apr 2016 08:03:36 +0000 (09:03 +0100)]
Rob Norris [Fri, 22 Apr 2016 18:58:36 +0000 (19:58 +0100)]
Return function value is ignored in this case.
Rob Norris [Fri, 22 Apr 2016 19:27:16 +0000 (20:27 +0100)]
Notice gps_stream() errors from gpsd
As least print something out so one might be aware of it -
even if we can't do anything about it or flow the error into the GUI.
Rob Norris [Mon, 11 Apr 2016 19:40:29 +0000 (20:40 +0100)]
Fix small memory leak as this regex should be freed after use.
Rob Norris [Sat, 9 Apr 2016 16:31:05 +0000 (17:31 +0100)]
Use existing variable rather than explicit name.
Rob Norris [Sat, 9 Apr 2016 16:29:15 +0000 (17:29 +0100)]
Fix incorrect directory in this README.txt
Rob Norris [Sat, 9 Apr 2016 16:28:16 +0000 (17:28 +0100)]
Minor update for a perl tool.
Rob Norris [Sat, 9 Apr 2016 16:23:02 +0000 (17:23 +0100)]
Reduce compiler warnings on Windows.
Rob Norris [Tue, 5 Apr 2016 21:18:26 +0000 (22:18 +0100)]
Check that the test_babel program runs
Rob Norris [Tue, 5 Apr 2016 21:06:28 +0000 (22:06 +0100)]
Simple test for basic GPX read->write conformance.
Support for SF Bugs#22 fix.
Rob Norris [Sat, 23 Apr 2016 11:08:28 +0000 (12:08 +0100)]
SF Bugs#22: Fix changing coordinates when saving and exporting
Use improved double to string conversion to remove extra digits due to
excessive string length output which previously 'preserved' the imprecision
of the internal floating point versus the string type number input.
This is the fast and accurate double to string conversion based on Florian Loitsch's Grisu-algorithm.
Written by Andreas Samoljuk under the MIT License.
Thus the numbers saved are now guaranteed to be same read in
(if the input is already in the shortest string format).
As a bonus this can reduce the size of a typical .vik file (with many points)
by 5% to 10%.
Rob Norris [Sat, 9 Apr 2016 16:26:59 +0000 (17:26 +0100)]
Ensure some test programs run properly.
Preferences and other items need to be initialised as they get auto used.
Rob Norris [Sat, 23 Apr 2016 10:23:10 +0000 (11:23 +0100)]
Remove use of function local static variables for code simplicity.
Presumed written for 'speed optimisation' but there's no evidence that it is faster.
[In fact it might have even be slower due to compiler optimisation].
Rob Norris [Sun, 24 Apr 2016 23:08:32 +0000 (00:08 +0100)]
Don't write unnecessary GPX metadata tags for empty fields.
Rob Norris [Sat, 9 Apr 2016 16:24:12 +0000 (17:24 +0100)]
Prefer default TrackWaypoint layers to be in LatLon mode.
Rob Norris [Sun, 10 Apr 2016 15:00:28 +0000 (16:00 +0100)]
Merge pull request #13 from JojoBoulix/reproducible
Make the build reproducible
JojoBoulix [Sun, 10 Apr 2016 12:47:43 +0000 (14:47 +0200)]
Fixed order headers inclusion in icons.c
Fix the order for headers inclusion in icons.c, to get reproducible build. The *_pixmap.h wildcard matches the same files, but with a random order, so that different builds can lead to different binary files.
See https://wiki.debian.org/ReproducibleBuilds/
Rob Norris [Sat, 9 Apr 2016 10:33:36 +0000 (11:33 +0100)]
Remove use of unnecessary pointer to pointer variables.
Rob Norris [Sun, 17 Jan 2016 14:58:12 +0000 (14:58 +0000)]
Enable clearing spinbox entries on some numerical input boxes.
Rob Norris [Sun, 17 Jan 2016 14:54:10 +0000 (14:54 +0000)]
Enable a clear icon on entry boxes used for search like input.
Rob Norris [Tue, 19 Jan 2016 23:24:28 +0000 (23:24 +0000)]
More sensible new name allocation.
Consider if the name has previously been auto numbered (typically by a previous split)
And so just increment the number part, rather than continuously adding '#2'.
Rob Norris [Sun, 17 Jan 2016 12:58:59 +0000 (12:58 +0000)]
Remove own copy of MD5 hash code and use a library implementation (libnettle)
Selected libnettle due to wide support and standard license.
Rob Norris [Wed, 13 Jan 2016 00:47:15 +0000 (00:47 +0000)]
[WINDOWS] Enable Windows 64bit cross build
Rob Norris [Thu, 11 Feb 2016 23:49:57 +0000 (23:49 +0000)]
Extra output in case of SQL prepare statement failure.
Rob Norris [Sun, 7 Feb 2016 21:25:38 +0000 (21:25 +0000)]
Increase line reading length
Rob Norris [Tue, 9 Feb 2016 20:51:34 +0000 (20:51 +0000)]
Support GPX 'type' field on Waypoints, Tracks and Routes.
Rob Norris [Sun, 7 Feb 2016 21:53:50 +0000 (21:53 +0000)]
Support GPX src field on Waypoints, Tracks and Routes.
Rob Norris [Tue, 9 Feb 2016 20:29:03 +0000 (20:29 +0000)]
Don't close track property dialog on return keypress on entry fields.
Rob Norris [Sat, 30 Jan 2016 22:03:50 +0000 (22:03 +0000)]
vikcoord does not depend on GTK
Rob Norris [Sat, 30 Jan 2016 21:23:51 +0000 (21:23 +0000)]
[QA] Another use of GStatBuf
Rob Norris [Sat, 30 Jan 2016 21:17:28 +0000 (21:17 +0000)]
[QA] This function should be static
Rob Norris [Sat, 30 Jan 2016 19:26:26 +0000 (19:26 +0000)]
Import Launchpad translation updates - French Update.
Rob Norris [Tue, 12 May 2015 21:02:26 +0000 (22:02 +0100)]
Retain DOP values when saving to .vik files
Rob Norris [Fri, 29 Jan 2016 20:54:55 +0000 (20:54 +0000)]
[QA] Improve types as string lengths are never negative.
Rob Norris [Fri, 29 Jan 2016 20:53:18 +0000 (20:53 +0000)]
Prevent writing broken .vik files with multi line strings.
At the moment simply replace Linefeed and Carriage returns with spaces.
Rob Norris [Fri, 29 Jan 2016 20:32:30 +0000 (20:32 +0000)]
SF Bugs#128: Fix Crash when loading broken .vik file
Detect broken lines which end without any text or the enclosing quote.
i.e. like: comment="
Rob Norris [Sat, 23 Jan 2016 12:18:34 +0000 (12:18 +0000)]
[QA] Enable all warnings on test code
And so detect and remove an unused variable.
Rob Norris [Sat, 23 Jan 2016 12:16:38 +0000 (12:16 +0000)]
[QA] Consistent usage of g_stat() GStatBuf parameter type
Thus removes some compiler warnings under Windows.
Rob Norris [Tue, 19 Jan 2016 23:19:25 +0000 (23:19 +0000)]
Fix crash if a route requested by the route finder is empty.
Rob Norris [Mon, 18 Jan 2016 22:26:46 +0000 (22:26 +0000)]
[QA] Remove unused variable.
Rob Norris [Sun, 17 Jan 2016 15:02:55 +0000 (15:02 +0000)]
Enable activating waypoint search when pressing return in the entry field.