]> git.street.me.uk Git - andy/viking.git/log
andy/viking.git
9 years agoUpdate README to reflect current capabilities and fix changed Git URL.
Rob Norris [Thu, 25 Sep 2014 20:41:16 +0000 (21:41 +0100)]
Update README to reflect current capabilities and fix changed Git URL.

9 years agoEnsure waypoint bounds are recalculated when a waypoint is deleted.
Rob Norris [Tue, 23 Sep 2014 23:40:18 +0000 (00:40 +0100)]
Ensure waypoint bounds are recalculated when a waypoint is deleted.

9 years agoAdd TIFF as an image file type that gets listed in the applied filter.
Rob Norris [Thu, 11 Sep 2014 18:22:13 +0000 (19:22 +0100)]
Add TIFF as an image file type that gets listed in the applied filter.

9 years ago[DOC] Add manual section about the command line options.
Rob Norris [Mon, 8 Sep 2014 00:43:54 +0000 (01:43 +0100)]
[DOC] Add manual section about the command line options.

9 years ago'extreme' debug mode (i.e. -Vd) to not remove downloaded temporary files.
Rob Norris [Mon, 8 Sep 2014 00:43:11 +0000 (01:43 +0100)]
'extreme' debug mode (i.e. -Vd) to not remove downloaded temporary files.

Thus the contents can be inspected if things go wrong.

9 years agoMake "utils.h" commonly available in "viking.h"
Rob Norris [Sun, 7 Sep 2014 22:36:28 +0000 (23:36 +0100)]
Make "utils.h" commonly available in "viking.h"

9 years agoAdd simple amenity POI datasource for immediate use and an extended example.
Rob Norris [Tue, 14 Oct 2014 22:40:21 +0000 (23:40 +0100)]
Add simple amenity POI datasource for immediate use and an extended example.

9 years ago[DOC] Help for the extended datasource.
Rob Norris [Tue, 14 Oct 2014 22:38:15 +0000 (23:38 +0100)]
[DOC] Help for the extended datasource.

9 years agoAdd i18n and activate on return key in the entry in web datasource.
Rob Norris [Tue, 14 Oct 2014 22:36:23 +0000 (23:36 +0100)]
Add i18n and activate on return key in the entry in web datasource.

9 years agoadded help for the extended datasource stuff
Matthew Hague [Mon, 13 Oct 2014 21:21:09 +0000 (22:21 +0100)]
added help for the extended datasource stuff

9 years agoremoved a grab_focus that wasn't working
Matthew Hague [Mon, 13 Oct 2014 21:16:00 +0000 (22:16 +0100)]
removed a grab_focus that wasn't working

9 years agofixed a memory leak in babel.c
Matthew Hague [Mon, 13 Oct 2014 20:56:16 +0000 (21:56 +0100)]
fixed a memory leak in babel.c

9 years agoadded map to datasources so that last string is remembered by datasource not one...
Matthew Hague [Mon, 13 Oct 2014 20:54:21 +0000 (21:54 +0100)]
added map to datasources so that last string is remembered by datasource not one for all

9 years agoadded save previous user input string and input label options to datasource search...
Matthew Hague [Mon, 13 Oct 2014 20:18:35 +0000 (21:18 +0100)]
added save previous user input string and input label options to datasource search with user string

9 years agoadded search capability to datasources.xml, undocumented so far
Matthew Hague [Mon, 29 Sep 2014 23:13:45 +0000 (00:13 +0100)]
added search capability to datasources.xml, undocumented so far

9 years agoadded capability of adding babel filter args to external datasources
Matthew Hague [Mon, 29 Sep 2014 21:34:59 +0000 (22:34 +0100)]
added capability of adding babel filter args to external datasources

9 years agogps babel filters must be applied between the input and output options (separate...
Matthew Hague [Sun, 28 Sep 2014 21:20:22 +0000 (22:20 +0100)]
gps babel filters must be applied between the input and output options (separate from other options that must be passed first), implemented version of a_babel_convert_from and a_babel_convert_from_url to handle this properly

9 years agoMerge branch 'MapsExtendedConfiguration'
Rob Norris [Tue, 23 Sep 2014 23:55:14 +0000 (00:55 +0100)]
Merge branch 'MapsExtendedConfiguration'

10 years agoExtend TMS and WMSC maps to handle Zoom and Area extents.
Rob Norris [Mon, 15 Sep 2014 20:05:15 +0000 (21:05 +0100)]
Extend TMS and WMSC maps to handle Zoom and Area extents.

Also turn off OSM Metatiles for these map types.

10 years agoAdd and use capability of defined area by min/max lat/lons for map types.
Rob Norris [Mon, 15 Sep 2014 20:04:05 +0000 (21:04 +0100)]
Add and use capability of defined area by min/max lat/lons for map types.

Various tile servers have differing coverage extents by area.
Thus don't need to generate download requests that we know are going to fail.
The area levels can be customized for new maps.

NB this only caters for a simple rectangular bounding box, rather then bounding polygon.
All built in maps have world wide coverage.
Only the extension configured map CalTopo is effected limited area to the US.

10 years ago[DOC] Improve Map Layer documentation including properties of the map layer.
Rob Norris [Sun, 7 Sep 2014 11:42:33 +0000 (12:42 +0100)]
[DOC] Improve Map Layer documentation including properties of the map layer.

10 years ago[DOC] Remove references to defunct Terraserver maps.
Rob Norris [Sun, 7 Sep 2014 11:38:58 +0000 (12:38 +0100)]
[DOC] Remove references to defunct Terraserver maps.

10 years agoAdd OSM Metatiles as a Map Type so one can read metatiles directly from disk.
Rob Norris [Sat, 6 Sep 2014 12:09:38 +0000 (13:09 +0100)]
Add OSM Metatiles as a Map Type so one can read metatiles directly from disk.

e.g. as generated by renderd/mod_tile or tirex.

10 years agoRead OSM Metatile capability and basic test with single example metatile.
Rob Norris [Sat, 6 Sep 2014 11:57:08 +0000 (12:57 +0100)]
Read OSM Metatile capability and basic test with single example metatile.

Based on https://github.com/openstreetmap/mod_tile/
Version 0.4

10 years ago[QA] Explain some more map configuration options.
Rob Norris [Thu, 28 Aug 2014 22:18:39 +0000 (23:18 +0100)]
[QA] Explain some more map configuration options.

10 years agoSF Features#121: Support reading alternative forms of tile image names.
Rob Norris [Thu, 28 Aug 2014 22:17:36 +0000 (23:17 +0100)]
SF Features#121: Support reading alternative forms of tile image names.

Ability to specify the file name extension of tiles read from the disk cache.
The property is 'file-extension' in the maps.xml configuration file.

10 years agoImprove tile info dialog message to print out the filename even when cache file is...
Rob Norris [Tue, 26 Aug 2014 23:39:14 +0000 (00:39 +0100)]
Improve tile info dialog message to print out the filename even when cache file is not on disk.

10 years ago[WINDOWS] Add cache tool script into Windows distribution build.
Rob Norris [Tue, 26 Aug 2014 20:39:45 +0000 (21:39 +0100)]
[WINDOWS] Add cache tool script into Windows distribution build.

10 years agoAdd and use capability of defined individual map types zoom minimum and maximum levels.
Rob Norris [Mon, 25 Aug 2014 13:57:52 +0000 (14:57 +0100)]
Add and use capability of defined individual map types zoom minimum and maximum levels.

Various tile servers have differing zoom extents.
Thus don't need to generate download requests that we know are going to fail.
The zoom levels can be customized for new maps.

NB this only caters for zoom levels that don't vary across the world.
It is possible some tile servers support differing zoom levels in different regions.

10 years agoEnable Cache conversion in the Python tool viking-cache.py
Rob Norris [Wed, 13 Aug 2014 00:04:55 +0000 (01:04 +0100)]
Enable Cache conversion in the Python tool viking-cache.py

Includes method to move an existing cache from the legacy format to the more standard OSM layout.
For simplicity it uses an id to fixed name rather than trying to parse any maps.xml.

10 years agoChange tool to require specifying the mode of operation.
Rob Norris [Wed, 13 Aug 2014 00:04:26 +0000 (01:04 +0100)]
Change tool to require specifying the mode of operation.

10 years agoMore reliable file processing in creating an mbtiles file.
Rob Norris [Mon, 11 Aug 2014 21:46:49 +0000 (22:46 +0100)]
More reliable file processing in creating an mbtiles file.

Only attempt to use file names that are composed of digits.

10 years agoPython 3 compatibility.
Rob Norris [Mon, 11 Aug 2014 21:32:34 +0000 (22:32 +0100)]
Python 3 compatibility.

10 years agoRename viking cache tool in preparation for more than just mbtiles usage.
Rob Norris [Sun, 10 Aug 2014 14:09:07 +0000 (15:09 +0100)]
Rename viking cache tool in preparation for more than just mbtiles usage.

10 years agoEnable importing from an mbtiles file to Viking cache via the python tool.
Rob Norris [Sun, 10 Aug 2014 09:15:09 +0000 (10:15 +0100)]
Enable importing from an mbtiles file to Viking cache via the python tool.

10 years ago[QA] Rename mode to id.
Rob Norris [Tue, 5 Aug 2014 23:49:47 +0000 (00:49 +0100)]
[QA] Rename mode to id.

10 years agoAdd map name property which is used in the directory path of the cache storage.
Rob Norris [Tue, 5 Aug 2014 23:04:56 +0000 (00:04 +0100)]
Add map name property which is used in the directory path of the cache storage.

If map name is not specified then fallback to the label name.

10 years agoDefault map caches for new users to use the OSM layout scheme.
Rob Norris [Mon, 4 Aug 2014 21:03:11 +0000 (22:03 +0100)]
Default map caches for new users to use the OSM layout scheme.

10 years agoEnable Map Cache layout control per map.
Rob Norris [Sat, 2 Aug 2014 13:09:28 +0000 (14:09 +0100)]
Enable Map Cache layout control per map.

The default for new users is the standard OSM layout that should be compatible with other tools.

For existing users the legacy method is kept as the default.

Users can change the default used via the layer defaults configuration or on a map by map basis in their .vik files.

A python script tool (run manually) is provided to assist migrating cache from one format to another (see later commits).

10 years agoAdd capability to save layer defaults from outside the layer defaults code.
Rob Norris [Mon, 4 Aug 2014 20:53:46 +0000 (21:53 +0100)]
Add capability to save layer defaults from outside the layer defaults code.

10 years agoFix up toolbar/menu toggle button alignment when loading from Viking files.
Rob Norris [Sat, 13 Sep 2014 08:14:26 +0000 (09:14 +0100)]
Fix up toolbar/menu toggle button alignment when loading from Viking files.

10 years agoFix broken generated toolbar UI file definition.
Rob Norris [Sat, 13 Sep 2014 07:55:11 +0000 (08:55 +0100)]
Fix broken generated toolbar UI file definition.

Fix commit SHA:75b7457a731454be45376991de948efbbbc081ea.
I must have accidentally removed the end comment markup when rewriting the comment.

10 years agoMerge commit 'ToolbarConfig'
Rob Norris [Thu, 11 Sep 2014 23:16:36 +0000 (00:16 +0100)]
Merge commit 'ToolbarConfig'

10 years ago[QA] Prevent warning from test_coord_conversion.c and ignore test outputs
Rob Norris [Sat, 6 Sep 2014 13:16:05 +0000 (14:16 +0100)]
[QA] Prevent warning from test_coord_conversion.c and ignore test outputs

10 years ago[QA] Ignore test_babel build output
Rob Norris [Sat, 6 Sep 2014 13:10:11 +0000 (14:10 +0100)]
[QA] Ignore test_babel build output

10 years ago[QA] Tidy test_babel.c to compile without warnings and a hint on usage.
Rob Norris [Sat, 6 Sep 2014 13:06:02 +0000 (14:06 +0100)]
[QA] Tidy test_babel.c to compile without warnings and a hint on usage.

10 years agoMore accurate description for the .spec file.
Rob Norris [Sat, 6 Sep 2014 12:23:30 +0000 (13:23 +0100)]
More accurate description for the .spec file.

10 years ago[QA] Fix spelling mistake.
Rob Norris [Thu, 28 Aug 2014 19:52:58 +0000 (20:52 +0100)]
[QA] Fix spelling mistake.

10 years agoFix incorrect map id variable saved for remembering licenses shown.
Rob Norris [Wed, 6 Aug 2014 22:06:00 +0000 (23:06 +0100)]
Fix incorrect map id variable saved for remembering licenses shown.

This means for existing users the show license dialog will probably pop up again,
 but only once per map type.

10 years ago[QA] Add warning if file rename fails.
Rob Norris [Wed, 6 Aug 2014 22:02:46 +0000 (23:02 +0100)]
[QA] Add warning if file rename fails.

Probably shouldn't claim download was a complete success,
 but at least it may help to explain a mysterious issue
  (especially if fn is set to "" which I did for dev purposes)

10 years agoAdd debug output view of the Back/Forward positions.
Rob Norris [Sun, 10 Aug 2014 12:19:45 +0000 (13:19 +0100)]
Add debug output view of the Back/Forward positions.

10 years agoIntegrate toolbar code to be used with Viking windows.
Rob Norris [Fri, 1 Aug 2014 17:44:58 +0000 (18:44 +0100)]
Integrate toolbar code to be used with Viking windows.

Add modal toolbar callbacks and adjust menu callbacks
 to ensure consistent states between the menus and toolbar buttons.

10 years agoExtend toolbar code for usage with Viking.
Rob Norris [Fri, 1 Aug 2014 17:41:11 +0000 (18:41 +0100)]
Extend toolbar code for usage with Viking.

Features:
. Handling multiple toolbars (one for each window)
. Not just simple actions but also toggle actions and groups of radio actions
. Preferences integrated with Viking's preferences mechanism.
 - Toolbar icon size, icon style and toolbar location (below or beside the main menu).
. UI definition for Viking's default toolbar

10 years ago[QA] Use VIK_VIEWPORT_DRAWMODE values in GtkRadioActionEntry mode_entries[]
Rob Norris [Fri, 1 Aug 2014 17:16:55 +0000 (18:16 +0100)]
[QA] Use VIK_VIEWPORT_DRAWMODE values in GtkRadioActionEntry mode_entries[]

10 years agoGive all action entries with an icon a tooltip.
Rob Norris [Thu, 31 Jul 2014 23:47:34 +0000 (00:47 +0100)]
Give all action entries with an icon a tooltip.

10 years agoAdd capability to use a button callback within UI builder.
Rob Norris [Sun, 20 Jul 2014 09:52:21 +0000 (10:52 +0100)]
Add capability to use a button callback within UI builder.

This pointer value is obviously not saved/loaded from the user's preferences file.

Thus from the preferences dialog one can have button to link to extended configuration.

10 years agoAdd Gtk+ utility functions from Geany 1.24.1
Rob Norris [Sun, 20 Jul 2014 09:46:28 +0000 (10:46 +0100)]
Add Gtk+ utility functions from Geany 1.24.1

Primarily for use with toolbar code, but of course may be used elsewhere.

10 years agoAdd glib utility functions from Geany 1.24.1
Rob Norris [Sun, 20 Jul 2014 09:45:23 +0000 (10:45 +0100)]
Add glib utility functions from Geany 1.24.1

Primarily for use with toolbar code, but of course may be used elsewhere.

10 years agoAdd toolbar code from Geany 1.24.1
Rob Norris [Sun, 20 Jul 2014 09:37:57 +0000 (10:37 +0100)]
Add toolbar code from Geany 1.24.1

http://www.geany.org/

Use the toolbar code as a basis for adding a customizable toolbar in Viking.

10 years ago[QA] Shift Gtk dependent utility functions into separate file.
Rob Norris [Sat, 14 Jun 2014 14:10:00 +0000 (15:10 +0100)]
[QA] Shift Gtk dependent utility functions into separate file.

10 years agoFix commit SHA:e8518759e6c64fac28783cf190b82705dc4bbb87
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()

10 years ago[QA] Remove very old unused code from vikmapslayer.c
Rob Norris [Sat, 2 Aug 2014 10:50:49 +0000 (11:50 +0100)]
[QA] Remove very old unused code from vikmapslayer.c

10 years agoSave and use the position of the horizontal pane when restoring the window layout.
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.

10 years ago[QA] Better to claim key board event handled for F5 & Ctrl+F5 usage.
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.

10 years agoSF Bugs#109: Ctrl+Keypad+/- to Zoom In/Out respectively.
Rob Norris [Tue, 29 Jul 2014 23:22:57 +0000 (00:22 +0100)]
SF Bugs#109: Ctrl+Keypad+/- to Zoom In/Out respectively.

10 years ago[QA] Use glib functions for the format in reporting the size of a file and the map...
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.

10 years agoPrevention of crashing in mapcache when tmp variable is NULL.
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.

10 years ago[QA] Fix up overzealous variable renaming.
Rob Norris [Sun, 20 Jul 2014 09:24:12 +0000 (10:24 +0100)]
[QA] Fix up overzealous variable renaming.

10 years ago[QA] Window's build - better use of environment variable.
Rob Norris [Mon, 30 Jun 2014 18:20:15 +0000 (19:20 +0100)]
[QA] Window's build - better use of environment variable.

10 years agoEnable i18n on 'Routing' preferences tab name.
Rob Norris [Sat, 5 Jul 2014 12:00:37 +0000 (13:00 +0100)]
Enable i18n on 'Routing' preferences tab name.

10 years agoAdd capability to define the URL format for web links.
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.

10 years agoAdd link to HERE Maps.
Rob Norris [Sat, 5 Jul 2014 11:36:20 +0000 (12:36 +0100)]
Add link to HERE Maps.

10 years agoAdd map cache information to be accessible from the GUI only in debug mode.
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.

10 years ago[QA] Rename and correct some map cache variables usage for better understanding.
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.

10 years agoPrevent crashing when queue_tail is NULL.
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.

10 years agoFix zoom type definition in map cache.
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.

10 years ago[DOC] Expand keys used for panning the map.
Rob Norris [Sat, 14 Jun 2014 12:02:43 +0000 (13:02 +0100)]
[DOC] Expand keys used for panning the map.

10 years agoAdd trackpoint message output option value of the distance to the end of the track.
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.

10 years ago[QA] Distance units not used here.
Rob Norris [Mon, 9 Jun 2014 20:39:31 +0000 (21:39 +0100)]
[QA] Distance units not used here.

10 years agoSF Features#120: Add Nautical Miles preference for distance units.
Rob Norris [Mon, 9 Jun 2014 20:39:02 +0000 (21:39 +0100)]
SF Features#120: Add Nautical Miles preference for distance units.

10 years agoAdd methods to open Waypoint URLs in comments & descriptions from the Properties...
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.

10 years ago[QA] Move Waypoint dialog code into its own file.
Rob Norris [Thu, 5 Jun 2014 20:43:25 +0000 (21:43 +0100)]
[QA] Move Waypoint dialog code into its own file.

10 years ago[QA] Use a library function to get the number of items in a string array.
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.

10 years agoMerge branch 'TimeDisplay'
Rob Norris [Thu, 5 Jun 2014 20:05:43 +0000 (21:05 +0100)]
Merge branch 'TimeDisplay'

10 years ago[DOC] Time Display option.
Rob Norris [Thu, 5 Jun 2014 20:00:48 +0000 (21:00 +0100)]
[DOC] Time Display option.

10 years agoSF Features#95 - Part 2: TimeZone lookup based on an object's position.
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.

10 years agoCreate timezone lookup file derived from geonames.org
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.

10 years agoAdd kdtree C code version 0.5.6 from https://code.google.com/p/kdtree/
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."

10 years agoSF Features#95 - Part 1: Allow and use configuration of an alternative time display.
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.

10 years ago[DOC] Include source link for strtod.c
Rob Norris [Thu, 5 Jun 2014 19:31:15 +0000 (20:31 +0100)]
[DOC] Include source link for strtod.c

10 years agoFix test file: OSMarender Map is long defunct. Use Maqquest.
Rob Norris [Sun, 11 May 2014 21:06:53 +0000 (22:06 +0100)]
Fix test file: OSMarender Map is long defunct. Use Maqquest.

10 years agoIf a route or track creation is cancelled with the Escape key with just the initial...
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.

10 years agoAdd and use preference in whether a name is requested when creating a new track or...
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.

10 years agoAllow import of file format with *any* readable components as supported by GPSBabel.
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.

10 years agoFix jump to today's date in search if Viking has been running over a day.
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.

10 years agoSF Bugs#106: Fix incorrect location on opening .vik file saved in different locale.
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)

10 years ago[DOC] Attribution of Sanos strtod.c
Rob Norris [Tue, 27 May 2014 21:27:08 +0000 (22:27 +0100)]
[DOC] Attribution of Sanos strtod.c

10 years agostrtod.c from Sanos Operating System Kernel 1.3.4 (http://www.jbox.dk/sanos)
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)

10 years agoFix pasting of text in DMS format to resolve to the correct location.
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.

10 years ago[DOC] Add attributions to meet binary distribution requirements.
Rob Norris [Tue, 27 May 2014 19:44:25 +0000 (20:44 +0100)]
[DOC] Add attributions to meet binary distribution requirements.