]> git.street.me.uk Git - andy/viking.git/log
andy/viking.git
7 years ago[DOC] Mention XML configuration can override internal defaults.
Rob Norris [Mon, 3 Apr 2017 23:33:54 +0000 (00:33 +0100)]
[DOC] Mention XML configuration can override internal defaults.

7 years agoMake each tool contain it's own icon definition.
Rob Norris [Fri, 17 Mar 2017 20:26:15 +0000 (20:26 +0000)]
Make each tool contain it's own icon definition.

Instead of having it all in vikwindow.c, each tool can now have it's own
icon definition which is then registered as a 'stock icon' prior to the
tool being added into the GUI definition.

7 years agoEnsure consistent use of internal names in building the UI
Rob Norris [Fri, 17 Mar 2017 20:19:21 +0000 (20:19 +0000)]
Ensure consistent use of internal names in building the UI

7 years agoUse configurable apikey for OSM Cyclemap tiles.
Rob Norris [Fri, 31 Mar 2017 00:20:41 +0000 (01:20 +0100)]
Use configurable apikey for OSM Cyclemap tiles.

Thunderforest tiles now require apikey to access tiles.
Otherwise they are currently returned with a large watermark
 and no doubt in the future requests without apikeys will be ignored.

7 years agoFix comment in AC DEFINE
Rob Norris [Fri, 31 Mar 2017 00:08:01 +0000 (01:08 +0100)]
Fix comment in AC DEFINE

7 years agoRemove unused define
Rob Norris [Fri, 31 Mar 2017 00:09:01 +0000 (01:09 +0100)]
Remove unused define

7 years agoActually use the calculated scale factor in the viewport
Rob Norris [Tue, 28 Mar 2017 21:45:29 +0000 (22:45 +0100)]
Actually use the calculated scale factor in the viewport

7 years ago[DOC] Mention map tilesize configuration.
Rob Norris [Tue, 28 Mar 2017 21:42:34 +0000 (22:42 +0100)]
[DOC] Mention map tilesize configuration.

7 years agoImprove function comments as these don't return anything
Rob Norris [Mon, 27 Mar 2017 22:28:14 +0000 (23:28 +0100)]
Improve function comments as these don't return anything

7 years agoFix small memory leak when downloading bzip files.
Rob Norris [Mon, 27 Mar 2017 22:27:31 +0000 (23:27 +0100)]
Fix small memory leak when downloading bzip files.

7 years agoMenu option to (re)open an MBTiles file.
Rob Norris [Tue, 14 Mar 2017 21:18:58 +0000 (21:18 +0000)]
Menu option to (re)open an MBTiles file.

Useful should the MBTiles file be not initially available on a .vik file load.

7 years agoShift include of gpsmapper.h to the only place that uses it
Rob Norris [Fri, 17 Mar 2017 20:15:50 +0000 (20:15 +0000)]
Shift include of gpsmapper.h to the only place that uses it

7 years agoAdd OSM GPS Tiles in default data config
Rob Norris [Fri, 17 Mar 2017 19:17:01 +0000 (19:17 +0000)]
Add OSM GPS Tiles in default data config

7 years agoRemove old tests that no longer useful
Rob Norris [Fri, 17 Mar 2017 19:15:24 +0000 (19:15 +0000)]
Remove old tests that no longer useful

7 years agoPut vikutils.h into viking.h
Rob Norris [Fri, 17 Mar 2017 00:20:16 +0000 (00:20 +0000)]
Put vikutils.h into viking.h

7 years agoTidy up type usage
Rob Norris [Tue, 14 Mar 2017 21:15:53 +0000 (21:15 +0000)]
Tidy up type usage

7 years agoDisable download menu options for non-downloadable maps
Rob Norris [Tue, 14 Mar 2017 21:15:31 +0000 (21:15 +0000)]
Disable download menu options for non-downloadable maps

7 years agoEnable compile time option for Mapbox access token.
Rob Norris [Sun, 12 Mar 2017 22:54:12 +0000 (22:54 +0000)]
Enable compile time option for Mapbox access token.

Allows individual users or distributors to have there own access token
for accessing Mapbox tile web services.

7 years agoEnable compile time option for geonames username
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.

7 years agoUse our standard yes/no dialog box and enable i18n of the string.
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.

7 years agoTidy TrackWaypoint post read & verify thumbnails functions
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.

7 years agoFix gps layer not showing items after file load.
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.

7 years agoReally empty GPS realtime layers.
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).

7 years agoPrevent Gtk Warnings in deleting all TrackWaypoint items
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.

7 years agoFix spelling in gpsd retry warning print out
Rob Norris [Sun, 12 Mar 2017 22:21:34 +0000 (22:21 +0000)]
Fix spelling in gpsd retry warning print out

7 years agoMore consistent variable names in gps layer
Rob Norris [Sun, 12 Mar 2017 22:18:58 +0000 (22:18 +0000)]
More consistent variable names in gps layer

7 years agoCompatibility for latest GEXIV2 0.10.4
Rob Norris [Tue, 24 Jan 2017 21:23:00 +0000 (21:23 +0000)]
Compatibility for latest GEXIV2 0.10.4

7 years agoTrap some errors reported by gpsbabel
Rob Norris [Sat, 23 Apr 2016 11:19:27 +0000 (12:19 +0100)]
Trap some errors reported by gpsbabel

7 years agoThreading rewrite to remove use of unsupported cross platform threading update of...
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.

7 years agoImprove GPS layer tooltip to include GPSD connection details.
Rob Norris [Fri, 22 Apr 2016 18:56:01 +0000 (19:56 +0100)]
Improve GPS layer tooltip to include GPSD connection details.

7 years agoAdd option to auto connect to GPSD rather than having to manually control
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

7 years agoFix Waypoint name suggestion after delete all waypoints
Rob Norris [Mon, 27 Feb 2017 23:29:19 +0000 (23:29 +0000)]
Fix Waypoint name suggestion after delete all waypoints

7 years agoFix GTK warnings in Waypoint window
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.

7 years ago[DOC] Notes about using the URL field in map configs
Rob Norris [Sat, 25 Feb 2017 19:21:47 +0000 (19:21 +0000)]
[DOC] Notes about using the URL field in map configs

7 years agoMore strings marked for i18n
Rob Norris [Sat, 25 Feb 2017 19:03:56 +0000 (19:03 +0000)]
More strings marked for i18n

7 years agoFix URL display of Map tiles
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.

7 years agoImprove hostname/uri usage
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.

7 years agoFix GPX file loading in a previously selected layer.
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.

7 years agoAdd Church as a Wikipedia waypoint feature type.
Rob Norris [Mon, 20 Feb 2017 21:59:21 +0000 (21:59 +0000)]
Add Church as a Wikipedia waypoint feature type.

7 years agoSome more variables need marking for i18n
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>
7 years agoMore Chinese translations
huobos [Mon, 20 Feb 2017 21:33:04 +0000 (21:33 +0000)]
More Chinese translations

Signed-off-by: Rob Norris <rw_norris@hotmail.com>
7 years agoMake more text translatable
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>
7 years agoReplace remaining gettext calls with '_'
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>
7 years agoImproved method for Wikipedia i18n URL
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>
7 years agoMerge pull request #20 from huobos/zh_CN
Rob Norris [Tue, 24 Jan 2017 21:33:27 +0000 (21:33 +0000)]
Merge pull request #20 from huobos/zh_CN

zh_CN translation

7 years agozh_CN translation
huobos [Tue, 24 Jan 2017 03:39:58 +0000 (11:39 +0800)]
zh_CN translation

7 years agoInfo message to remind user of the version in use.
Rob Norris [Sun, 22 Jan 2017 17:57:25 +0000 (17:57 +0000)]
Info message to remind user of the version in use.

7 years agoEnsure correct capitalization of the program name
Rob Norris [Sun, 22 Jan 2017 17:55:30 +0000 (17:55 +0000)]
Ensure correct capitalization of the program name

7 years agoImproved feedback/feature availability when no direction routing engines are available.
Rob Norris [Sun, 15 Jan 2017 19:45:13 +0000 (19:45 +0000)]
Improved feedback/feature availability when no direction routing engines are available.

7 years agoAdd function to return counts of available routing engines.
Rob Norris [Sun, 15 Jan 2017 19:34:46 +0000 (19:34 +0000)]
Add function to return counts of available routing engines.

7 years agoAdd YOURS online routing.
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.

7 years agoRemove as OSRM routing option as it no longer supports GPX output.
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.

7 years ago[DOC] Add details about routing format option
Rob Norris [Sun, 15 Jan 2017 18:14:20 +0000 (18:14 +0000)]
[DOC] Add details about routing format option

7 years agoAllow specifying an alternative URL base location for acquiring DEM SRTM files.
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.

7 years agoUse https DEM download site by default
Rob Norris [Sun, 15 Jan 2017 15:22:12 +0000 (15:22 +0000)]
Use https DEM download site by default

7 years agoAllow redirects when attempting to download DEM files.
Rob Norris [Sun, 15 Jan 2017 15:20:47 +0000 (15:20 +0000)]
Allow redirects when attempting to download DEM files.

7 years agoSimplify DEM base URL to be one value rather than separate components.
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.

7 years agoPrevent compiler warnings - rework as vtl variable type has changed.
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.

7 years agoMerge pull request #19 from huobos/typo
Rob Norris [Sat, 21 Jan 2017 13:51:56 +0000 (13:51 +0000)]
Merge pull request #19 from huobos/typo

Fix typo word Polygonized

7 years agoMerge pull request #17 from huobos/gpx
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

7 years agoFix typo word Polygonized
huobos [Fri, 20 Jan 2017 03:01:44 +0000 (11:01 +0800)]
Fix typo word Polygonized

7 years agoOpen files in selected layer
huobos [Fri, 20 Jan 2017 02:23:44 +0000 (10:23 +0800)]
Open files in selected layer

7 years agoFix small memory leak.
Rob Norris [Fri, 13 Jan 2017 00:08:31 +0000 (00:08 +0000)]
Fix small memory leak.

7 years agoFix small memory leak
Rob Norris [Fri, 13 Jan 2017 00:07:55 +0000 (00:07 +0000)]
Fix small memory leak

7 years agoEnable understanding pasted text strings with tabs.
Rob Norris [Thu, 12 Jan 2017 23:59:08 +0000 (23:59 +0000)]
Enable understanding pasted text strings with tabs.

7 years agoFix some spelling mistakes.
Rob Norris [Sun, 11 Dec 2016 23:08:13 +0000 (23:08 +0000)]
Fix some spelling mistakes.

7 years agoFix small memory leak.
Rob Norris [Sun, 11 Dec 2016 23:07:50 +0000 (23:07 +0000)]
Fix small memory leak.

7 years agoShell test should be '=' rather than '==' for maximum portability.
Rob Norris [Thu, 3 Nov 2016 21:19:29 +0000 (21:19 +0000)]
Shell test should be '=' rather than '==' for maximum portability.

7 years agoClarify only Bing Aerial Map available.
Rob Norris [Thu, 3 Nov 2016 19:11:35 +0000 (19:11 +0000)]
Clarify only Bing Aerial Map available.

7 years agoFix small memory leak - free dirpath in all circumstances.
Rob Norris [Sat, 22 Oct 2016 18:23:15 +0000 (19:23 +0100)]
Fix small memory leak - free dirpath in all circumstances.

7 years agoFix spelling
Rob Norris [Sat, 22 Oct 2016 18:18:26 +0000 (19:18 +0100)]
Fix spelling

7 years agoFix toggling visibility of the menu.
Rob Norris [Sun, 16 Oct 2016 10:29:32 +0000 (11:29 +0100)]
Fix toggling visibility of the menu.

7 years agoSupport Lodge symbol
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.

7 years ago[DOC] Use macro for GPSBabel references
Rob Norris [Sun, 7 Aug 2016 10:32:57 +0000 (11:32 +0100)]
[DOC] Use macro for GPSBabel references

7 years ago[DOC] Use URL links to programs
Rob Norris [Sun, 7 Aug 2016 10:29:46 +0000 (11:29 +0100)]
[DOC] Use URL links to programs

8 years agoFix some missing nautical miles output.
Rob Norris [Tue, 16 Aug 2016 21:39:13 +0000 (22:39 +0100)]
Fix some missing nautical miles output.

8 years agoFix issue in display of maximum speed when there is no speed.
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.

8 years agoOnly call gps_close() after a successful gps_open().
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.

8 years agoReplace defunct IP to location lookup service.
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

8 years agoGithub #15: Relicense files marked GPL2 only to GPL2+.
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>
8 years agoExplicitly license my small test code+script files as Creative Commons CCO
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>
8 years agoSF Bugs#135: Fix OSM Maps shown by default at Maximum Zoom.
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.

8 years agoSF Bugs#133: Remove the auto added map when opening the first .vik file from the...
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.

8 years agoAdd aggregate layer functions to return number of layers and to delete a specified...
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.

8 years agoDisable more functionality that doesn't work if gpsbabel is not available.
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.

8 years agoFix recent commit: 4dc72a1d407b81853d0093871cff45ef1f47d1b8
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.

8 years agoImproved usage of g_stat()
Rob Norris [Sun, 7 Aug 2016 20:35:38 +0000 (21:35 +0100)]
Improved usage of g_stat()

8 years ago[DOC] Remove note on GPSBabel Google Direction routes which no longer work.
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.

8 years ago[DOC] Stellarium release 0.15.0 has fixed this bug.
Rob Norris [Sun, 7 Aug 2016 10:28:42 +0000 (11:28 +0100)]
[DOC] Stellarium release 0.15.0 has fixed this bug.

8 years agoSF Bugs#134: Replaced discontinued MapQuest tile service with rate limited Mapbox...
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.

8 years agoFix crash if a map configuration has no hostname or URL defined.
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.

8 years agoBe more explicit that the return value of g_printf() is ignored.
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.

8 years agoRemove unused function.
Rob Norris [Sat, 25 Jun 2016 14:35:28 +0000 (15:35 +0100)]
Remove unused function.

8 years agoReplace internal uri_escape() function with a glib version.
Rob Norris [Mon, 13 Jun 2016 22:53:48 +0000 (23:53 +0100)]
Replace internal uri_escape() function with a glib version.

8 years agoLoad the startup file first so that subsequent files are loaded on top.
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.

8 years agoSF Bugs#132: Fix to correctly open GPX files in Windows via double click.
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.

8 years ago[WINDOWS] Extra files needed for theming to work
Rob Norris [Wed, 22 Jun 2016 00:03:17 +0000 (01:03 +0100)]
[WINDOWS] Extra files needed for theming to work

8 years agoMerge pull request #14 from apre/master
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

8 years agoadd debian build-dependencies in readme
apre [Thu, 23 Jun 2016 18:04:04 +0000 (20:04 +0200)]
add debian build-dependencies in readme

8 years agoUse the correct definition.
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.