]>
git.street.me.uk Git - andy/viking.git/log
Rob Norris [Sun, 12 Mar 2017 22:52:06 +0000 (22:52 +0000)]
Enable compile time option for geonames username
Allows individual users or distributors to have there own username
for accessing geonames web services.
Rob Norris [Sun, 12 Mar 2017 23:08:14 +0000 (23:08 +0000)]
Use our standard yes/no dialog box and enable i18n of the string.
Rob Norris [Sun, 12 Mar 2017 23:06:47 +0000 (23:06 +0000)]
Tidy TrackWaypoint post read & verify thumbnails functions
Fix variable type and remove unused instances of it.
Rob Norris [Sun, 12 Mar 2017 23:02:18 +0000 (23:02 +0000)]
Fix gps layer not showing items after file load.
Need to ensure the bounds of tracks/routes and waypoints are calculated,
so that they are shown.
Rob Norris [Sun, 12 Mar 2017 22:58:17 +0000 (22:58 +0000)]
Really empty GPS realtime layers.
Need to remove route layers too (although they are not generated by the
realtime tracking - the user might have created them separately).
Rob Norris [Sun, 12 Mar 2017 22:48:44 +0000 (22:48 +0000)]
Prevent Gtk Warnings in deleting all TrackWaypoint items
If the set of items is empty, then the containing treeview entry
won't be present either - so don't attempt to delete the non-existent
entry.
Rob Norris [Sun, 12 Mar 2017 22:21:34 +0000 (22:21 +0000)]
Fix spelling in gpsd retry warning print out
Rob Norris [Sun, 12 Mar 2017 22:18:58 +0000 (22:18 +0000)]
More consistent variable names in gps layer
Rob Norris [Tue, 24 Jan 2017 21:23:00 +0000 (21:23 +0000)]
Compatibility for latest GEXIV2 0.10.4
Rob Norris [Sat, 23 Apr 2016 11:19:27 +0000 (12:19 +0100)]
Trap some errors reported by gpsbabel
Rob Norris [Sat, 23 Apr 2016 11:18:50 +0000 (12:18 +0100)]
Threading rewrite to remove use of unsupported cross platform threading update of the GUI.
When Viking is run on a real Windows system (i.e. not just under wine)
that has been built via the new cross build mechanism, it will lock up whenever a window is moved.
Remove all use of gdk_threads_enter() / gdk_threads_leave() and always use the main thread to update the GUI.
Thus make extensive changes to ensure updates are directed through gdk_threads_add_idle() or gtk_idle_add()
and protection to prevent use of data that has gone out of scope.
This should be more reliable.
Rob Norris [Fri, 22 Apr 2016 18:56:01 +0000 (19:56 +0100)]
Improve GPS layer tooltip to include GPSD connection details.
Rob Norris [Fri, 22 Apr 2016 18:54:45 +0000 (19:54 +0100)]
Add option to auto connect to GPSD rather than having to manually control
Rob Norris [Mon, 27 Feb 2017 23:29:19 +0000 (23:29 +0000)]
Fix Waypoint name suggestion after delete all waypoints
Rob Norris [Mon, 27 Feb 2017 23:28:33 +0000 (23:28 +0000)]
Fix GTK warnings in Waypoint window
Some entry fields are optional and so shouldn't always attempt to use them.
Rob Norris [Sat, 25 Feb 2017 19:21:47 +0000 (19:21 +0000)]
[DOC] Notes about using the URL field in map configs
Rob Norris [Sat, 25 Feb 2017 19:03:56 +0000 (19:03 +0000)]
More strings marked for i18n
Rob Norris [Fri, 17 Feb 2017 22:27:24 +0000 (22:27 +0000)]
Fix URL display of Map tiles
Use function to create map tile URL since hostname field may or may not
include either http or https.
Rob Norris [Fri, 17 Feb 2017 22:27:24 +0000 (22:27 +0000)]
Improve hostname/uri usage
Allow putting '://' in hostname i.e. to support https addresses.
Rob Norris [Tue, 14 Feb 2017 23:47:17 +0000 (23:47 +0000)]
Fix GPX file loading in a previously selected layer.
Ensure containing vtl is reset when no layer is selected,
since this is now used in opening GPX files.
Rob Norris [Mon, 20 Feb 2017 21:59:21 +0000 (21:59 +0000)]
Add Church as a Wikipedia waypoint feature type.
huobos [Mon, 20 Feb 2017 21:56:58 +0000 (21:56 +0000)]
Some more variables need marking for i18n
Signed-off-by: Rob Norris <rw_norris@hotmail.com>
huobos [Mon, 20 Feb 2017 21:33:04 +0000 (21:33 +0000)]
More Chinese translations
Signed-off-by: Rob Norris <rw_norris@hotmail.com>
huobos [Fri, 17 Feb 2017 22:51:22 +0000 (22:51 +0000)]
Make more text translatable
Signed-off-by: Rob Norris <rw_norris@hotmail.com>
huobos [Fri, 17 Feb 2017 22:44:37 +0000 (22:44 +0000)]
Replace remaining gettext calls with '_'
Signed-off-by: Rob Norris <rw_norris@hotmail.com>
huobos [Wed, 25 Jan 2017 11:31:13 +0000 (19:31 +0800)]
Improved method for Wikipedia i18n URL
Get users LANGUAGE from an environment variable.
Signed-off-by: Rob Norris <rw_norris@hotmail.com>
Rob Norris [Tue, 24 Jan 2017 21:33:27 +0000 (21:33 +0000)]
Merge pull request #20 from huobos/zh_CN
zh_CN translation
huobos [Tue, 24 Jan 2017 03:39:58 +0000 (11:39 +0800)]
zh_CN translation
Rob Norris [Sun, 22 Jan 2017 17:57:25 +0000 (17:57 +0000)]
Info message to remind user of the version in use.
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.