]> git.street.me.uk Git - andy/viking.git/log
andy/viking.git
7 years agoSF Bugs#144: Fix Export to World File
Rob Norris [Sat, 20 May 2017 17:31:23 +0000 (18:31 +0100)]
SF Bugs#144: Fix Export to World File

Fix order of World File parameters output to the specified file.
The y_scale (mpp_northing) is the fourth line (not the second).
The second and third lines are orientations (which are not currently supported).

See http://en.wikipedia.org/wiki/World_file

7 years agoSome explicit setting of dirpath values to NULL.
Rob Norris [Sat, 20 May 2017 13:14:01 +0000 (14:14 +0100)]
Some explicit setting of dirpath values to NULL.

7 years agoSF Bugs#138: Fix handling of <link> tags in GPX files.
Rob Norris [Sat, 20 May 2017 14:20:47 +0000 (15:20 +0100)]
SF Bugs#138: Fix handling of <link> tags in GPX files.

<link> tags (only in GPX1.1) should be of the form <link href="URI"></link>
Previously Viking simply put the URI inside the tag without the 'href'.

Use the GtkHTML functions as necessary.

Note in order to support relative URI paths,
 the directory path is passed around for both reading and writing files.

7 years agoEmbed GtkHTML 4.10.0 URI functions
Rob Norris [Sun, 16 Oct 2016 10:26:41 +0000 (11:26 +0100)]
Embed GtkHTML 4.10.0 URI functions

https://git.gnome.org/browse/gtkhtml

7 years agoFix relative file path loading for DEM files.
Rob Norris [Sun, 7 May 2017 13:13:20 +0000 (14:13 +0100)]
Fix relative file path loading for DEM files.

7 years agoFunctions to convert potentially relative filenames to absolute filenames.
Rob Norris [Sat, 20 May 2017 13:19:36 +0000 (14:19 +0100)]
Functions to convert potentially relative filenames to absolute filenames.

7 years agoMake a newly loaded file layer more accessible in the layers panel
Rob Norris [Sat, 29 Apr 2017 15:37:12 +0000 (16:37 +0100)]
Make a newly loaded file layer more accessible in the layers panel

7 years agoAdd 4UMaps example
Guilhem Bonnefille [Sun, 14 May 2017 10:17:45 +0000 (12:17 +0200)]
Add 4UMaps example

7 years agoAdd OpenTopoMap example
Guilhem Bonnefille [Sun, 14 May 2017 10:08:48 +0000 (12:08 +0200)]
Add OpenTopoMap example

7 years agoAdding Waymarked Trails layers as example
Guilhem Bonnefille [Sun, 14 May 2017 09:38:31 +0000 (11:38 +0200)]
Adding Waymarked Trails layers as example

7 years ago[DOC] Switch from ordered list to a itemitized list.
Rob Norris [Sat, 29 Apr 2017 16:41:55 +0000 (17:41 +0100)]
[DOC] Switch from ordered list to a itemitized list.

The numbering of these options isn't useful.

7 years agoAutomatically remove suspicious first points of GPX Tracks.
Rob Norris [Sat, 29 Apr 2017 16:40:08 +0000 (17:40 +0100)]
Automatically remove suspicious first points of GPX Tracks.

ATM Primarily to remove dodgy first point inserted back at previous
 location by some Garmin GPS Etrex units after being significantly moved.

Advanced configuration options allow fine tuning the removal settings.

7 years agoRemove unnecessary include statement
Rob Norris [Sat, 29 Apr 2017 15:31:36 +0000 (16:31 +0100)]
Remove unnecessary include statement

7 years agoEnsure string value is copied.
Rob Norris [Sat, 29 Apr 2017 15:31:00 +0000 (16:31 +0100)]
Ensure string value is copied.

Otherwise wrong memory is freed at program shutdown.

7 years agoSome test programs should call more uninit functions.
Rob Norris [Tue, 25 Apr 2017 21:52:40 +0000 (22:52 +0100)]
Some test programs should call more uninit functions.

7 years agoRework layer set parameters so it should be more easily extendable.
Rob Norris [Mon, 16 Jan 2017 00:04:35 +0000 (00:04 +0000)]
Rework layer set parameters so it should be more easily extendable.

Switch from individual variables as function parameters to a single type.

7 years agoRemove unnecessary defines and undefs
Rob Norris [Fri, 14 Apr 2017 10:31:59 +0000 (11:31 +0100)]
Remove unnecessary defines and undefs

MAX is available on all systems Viking currently supports.

7 years agoRemove non existent function.
Rob Norris [Fri, 14 Apr 2017 10:29:57 +0000 (11:29 +0100)]
Remove non existent function.

7 years agoShift pure glib code from file.c to fileutils.c to simplify dependencies.
Rob Norris [Tue, 17 Jan 2017 23:07:17 +0000 (23:07 +0000)]
Shift pure glib code from file.c to fileutils.c to simplify dependencies.

7 years agoXDG_CACHE_HOME compliant thumbnail usage
Rob Norris [Tue, 24 Jan 2017 23:51:51 +0000 (23:51 +0000)]
XDG_CACHE_HOME compliant thumbnail usage

7 years agoHave a non blank tooltip for empty aggregrate layers
Rob Norris [Mon, 3 Apr 2017 23:40:19 +0000 (00:40 +0100)]
Have a non blank tooltip for empty aggregrate layers

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