]>
git.street.me.uk Git - andy/viking.git/log
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.
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.
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.
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.
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)
Rob Norris [Tue, 27 May 2014 21:27:08 +0000 (22:27 +0100)]
[DOC] Attribution of Sanos strtod.c
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)
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.
Rob Norris [Tue, 27 May 2014 19:44:25 +0000 (20:44 +0100)]
[DOC] Add attributions to meet binary distribution requirements.
Rob Norris [Tue, 27 May 2014 19:38:50 +0000 (20:38 +0100)]
[DOC] Bump Docbook Version to 4.5 in the Help.
Rob Norris [Thu, 15 May 2014 20:22:53 +0000 (21:22 +0100)]
Enable copying the centre location of the viewport via Ctrl+h
Rob Norris [Mon, 12 May 2014 20:38:19 +0000 (21:38 +0100)]
Add alternative bearing readout as raw lat/lon double values.
Rob Norris [Mon, 12 May 2014 20:36:56 +0000 (21:36 +0100)]
Fix waypoints may not be drawn when created by paste of a text location.
Need to update the bounding box for the waypoints and force a redraw event.
Rob Norris [Sat, 10 May 2014 10:16:18 +0000 (11:16 +0100)]
[DOC] GPSBabel Filter: Compress Tracks
Rob Norris [Sat, 10 May 2014 09:32:43 +0000 (10:32 +0100)]
Allow compressing tracks using the GPSBabel simplify crosstrack feature.
See: http://www.gpsbabel.org/htmldoc-development/filter_simplify.html
Rob Norris [Thu, 8 May 2014 21:28:10 +0000 (22:28 +0100)]
Fix zoom level tile reporting for an MBTiles map.
Rob Norris [Sun, 4 May 2014 11:00:59 +0000 (12:00 +0100)]
Save track property show DEM & speed settings between dialog invocations.
Rob Norris [Thu, 1 May 2014 23:26:43 +0000 (00:26 +0100)]
Optionally show DEM values on Elevation/Speed graph.
Rob Norris [Sat, 3 May 2014 10:29:08 +0000 (11:29 +0100)]
[QA] Use cross platform directory separator
Rob Norris [Thu, 1 May 2014 23:54:20 +0000 (00:54 +0100)]
Update external_tools configurations.
Replace no longer functional Hiking website with an equivalent.
Move country specific example from basic install config to the example equivalent.
Rob Norris [Thu, 1 May 2014 23:51:17 +0000 (00:51 +0100)]
Enable Windows installation to search for and use deployed extension configuration files.
Rob Norris [Thu, 24 Apr 2014 21:25:44 +0000 (22:25 +0100)]
Allow setting timestamps on trackpoints and waypoints that previously had none.
Rob Norris [Thu, 24 Apr 2014 19:49:04 +0000 (20:49 +0100)]
SF Features#100: Allow 'easy' changing of the time of trackpoints & waypoints.
Add and use a dialog to get the time and date in the users timezone to allow setting the timestamp.
The dialog uses the calendar widget to get the date and spin boxes for the hours, minutes and seconds.
Rob Norris [Sun, 20 Apr 2014 10:36:28 +0000 (11:36 +0100)]
SF Features#100: Allow changing of the time of trackpoints.
Simply via a spinbox of the timestamp on the trackpoint edit dialog.
Only really useful for changing the time by a few seconds.
Rob Norris [Thu, 24 Apr 2014 20:41:14 +0000 (21:41 +0100)]
Ensure track bounds are initialized correctly during track creation.
I believe this flaw was somehow triggered by the change in commit SHA1:
a8e8ffe1f3a69f2c4263229773aa9a60fdae4049
Rob Norris [Thu, 17 Apr 2014 18:33:16 +0000 (19:33 +0100)]
Improve ordering of date/time output on time graphs.
Rob Norris [Fri, 11 Apr 2014 09:47:06 +0000 (10:47 +0100)]
[QA] Remove unused parameter
Companion fix to commit SHA1:
0ab355252e7f5431a1765140520acb79bcf7a5cb
Rob Norris [Thu, 10 Apr 2014 21:46:33 +0000 (22:46 +0100)]
Remove temporary files used asynchronously on program exit.
Rob Norris [Mon, 7 Apr 2014 22:16:33 +0000 (23:16 +0100)]
Enable importing from GeoJSON files via the usage of the program 'togpx'.
The togpx program will need to be detected before being made available for use in the GUI.
https://www.npmjs.org/package/togpx
Rob Norris [Sat, 5 Apr 2014 18:32:26 +0000 (19:32 +0100)]
Enable exporting to GeoJSON file via the program togeojson.
GPSBabel doesn't seem to support GeoJSON so have to use a specific program.
togeojson is from https://github.com/mapbox/togeojson
Rob Norris [Mon, 7 Apr 2014 21:58:43 +0000 (22:58 +0100)]
Use a common way to create temporary GPX files.
Rob Norris [Mon, 7 Apr 2014 21:48:18 +0000 (22:48 +0100)]
[QA] Limit scope of includes of vikutils header.
Rob Norris [Mon, 7 Apr 2014 21:42:32 +0000 (22:42 +0100)]
Geoname services now require an username account to access free services.
Also switch to the api URL as the ws one is depreciated.
Rob Norris [Mon, 7 Apr 2014 21:26:37 +0000 (22:26 +0100)]
[DOC] Update Help for current built in Maps list.
Rob Norris [Mon, 7 Apr 2014 21:21:44 +0000 (22:21 +0100)]
Rationalise acquire mode to have more obvious behaviour.
Rob Norris [Sun, 6 Apr 2014 09:27:59 +0000 (10:27 +0100)]
Convert some console warnings to get reported to the GUI in the statusbar.
Rob Norris [Sat, 5 Apr 2014 09:48:31 +0000 (10:48 +0100)]
[QA] Correct and improve enumeration usage for export file types.
Rob Norris [Mon, 7 Apr 2014 22:07:26 +0000 (23:07 +0100)]
Ensure tools directory is really included in the build output.
Rob Norris [Thu, 3 Apr 2014 23:00:31 +0000 (00:00 +0100)]
Add the miscellaneous 'tools' scripts into the build output.
Rob Norris [Thu, 3 Apr 2014 22:05:46 +0000 (23:05 +0100)]
Fix googledirections script.
Rob Norris [Thu, 3 Apr 2014 22:05:14 +0000 (23:05 +0100)]
Fix slightly incorrect DEM point drawing on the track property display after recent code changes.
Rob Norris [Thu, 27 Mar 2014 01:48:28 +0000 (01:48 +0000)]
Show distance axis grids on distance graphs.
Rob Norris [Thu, 27 Mar 2014 01:44:35 +0000 (01:44 +0000)]
SF Features#91: Part 2. Show time axis grids on time graphs.
Similar to the y axis labelling, try to find most sensible time chunks for the divisions.
Offset all drawing in the Y axis by MARGIN_Y to create room for the x axis labels.
Rob Norris [Wed, 26 Mar 2014 21:01:30 +0000 (21:01 +0000)]
Create and use a function to return the duration of a track.
Rob Norris [Wed, 26 Mar 2014 20:46:10 +0000 (20:46 +0000)]
[QA] Refactoring track properties window.
Rename: MARGIN -> MARGIN_X, draw_grid -> draw_grid_y
Make resetting of the graph images a common function: clear_images().
Rob Norris [Sat, 22 Mar 2014 14:27:28 +0000 (14:27 +0000)]
SF Features#91: Part 1. Display Clock Date/Time of the blob on the time graphs.
Helpful to work out the real time of where one was.
Rob Norris [Wed, 26 Mar 2014 20:01:11 +0000 (20:01 +0000)]
Remove unnecessary subdomain in some OSM tileserver hostnames.
Rob Norris [Wed, 26 Mar 2014 19:59:44 +0000 (19:59 +0000)]
Refix Merging tracks by time.
Accidentally broke it when trying to implement internal track ids.
(SHA:
fc92c97715697980e8fde44b9dc8c02e29b1f7a0 )
Somehow it previously did something, but it clearly wasn't actually
using *both* track times in deciding what to merge - d'oh!
It would also crash if one of the tracks has no trackpoints.
I think this flaw was in the original version.
This is now fixed as well.
Rob Norris [Sat, 22 Mar 2014 14:09:19 +0000 (14:09 +0000)]
Remove no longer available map services.
Rob Norris [Sat, 22 Mar 2014 14:08:30 +0000 (14:08 +0000)]
Remove default usage of Terraserver maps as they are no longer available.
For now leave the code in place since there are extra functions,
which may be of reference use in the future.
Rob Norris [Sat, 22 Mar 2014 13:49:36 +0000 (13:49 +0000)]
Completely remove SPOTMaps as this service is no longer available.
If it was available then it could work by simple maps.xml config,
rather than needing any code.
Rob Norris [Sat, 22 Mar 2014 12:31:52 +0000 (12:31 +0000)]
Optimize tooltip message generation, remove unnecessary track iterations.
Limit vik_track_get_tp_last() usage, since it uses g_list_last(),
which in turn iterates through the list to find the last trackpoint.
Thus cache the last trackpoint before multiple usage in tooltip generation.
Hopefully this will make it more likely these tooltips will get shown in Windows.
Rob Norris [Sat, 22 Mar 2014 12:10:12 +0000 (12:10 +0000)]
Allow clearing and copying of the information message in the statusbar.
Rob Norris [Sat, 22 Mar 2014 12:08:41 +0000 (12:08 +0000)]
Report download failures in the statusbar.
Tile and DEM download failures are now shown in the GUI,
rather than just messages on the console.
Use enumerated failure states.
Rob Norris [Sat, 22 Mar 2014 10:51:29 +0000 (10:51 +0000)]
Fix crashing on double clicks - properly initialize variable.
Fixes previous commit on this file to support GLIB 2.24
(SHA1:
5a8048bb6a980b0b969cb8864bdcce16607f9581 )
Rob Norris [Thu, 20 Mar 2014 21:22:53 +0000 (21:22 +0000)]
Refactor time from start track property label update
Rob Norris [Sun, 16 Mar 2014 11:25:57 +0000 (11:25 +0000)]
Flow up error states from routing so the GUI can display the failing result.
Rob Norris [Sun, 16 Mar 2014 11:07:56 +0000 (11:07 +0000)]
Notes on how to use git2changelog.sh
Since I always forget the format of the parameters passed to git log
Rob Norris [Sat, 15 Mar 2014 01:34:37 +0000 (01:34 +0000)]
[WINDOWS] Ensure an icon is embedded in the executable.
This is particularly important for display of an icon only in the task bar on Win 7 onwards.
Rob Norris [Sat, 15 Mar 2014 00:50:54 +0000 (00:50 +0000)]
Yet more files to ignore from output of the build process.
Rob Norris [Sat, 15 Mar 2014 00:04:58 +0000 (00:04 +0000)]
[WINDOWS] More reliable rebuilds.
Rob Norris [Fri, 14 Mar 2014 23:48:32 +0000 (23:48 +0000)]
[WINDOWS] Fix opening URLs in Windows build only.
Rob Norris [Sun, 23 Feb 2014 20:09:29 +0000 (20:09 +0000)]
SF Bugs#105: Fix Display of Lines (Clipping) at High Zoom Levels.
Properly address clipping of x,y pixel values,
which can happen when points are far away from the viewport.
This typically happens when zoomed in very close e.g. <0.5 pixelfact,
but also when a point is *very* far away from other points in a normal track.
Rob Norris [Sun, 23 Feb 2014 15:13:47 +0000 (15:13 +0000)]
Fix building on Windows as Viking only supports GLIB 2.24 ATM.
Rob Norris [Mon, 10 Feb 2014 23:51:55 +0000 (23:51 +0000)]
Add a tooltip for Aggregate Layers to say how many layers they contain.
Rob Norris [Mon, 10 Feb 2014 23:42:11 +0000 (23:42 +0000)]
Remove built in OpenStreetBugs datasource as this service is being phased out.
Rob Norris [Mon, 27 Jan 2014 20:03:55 +0000 (20:03 +0000)]
Add support for reading waypoint specific URL fields in GPX1.0 files.
Rob Norris [Wed, 29 Jan 2014 21:36:26 +0000 (21:36 +0000)]
Isolate Viking specific code in otherwise reusable code.
Rob Norris [Mon, 29 Jul 2013 17:37:33 +0000 (18:37 +0100)]
Shift code around to reduce dependencies required for DEM access.
Rob Norris [Wed, 29 Jan 2014 21:43:11 +0000 (21:43 +0000)]
Don't store regenerated INSTALL file in git.
Rob Norris [Thu, 23 Jan 2014 22:41:07 +0000 (22:41 +0000)]
Fix DEM layer URL reference output.
Rob Norris [Fri, 3 Jan 2014 20:21:54 +0000 (20:21 +0000)]
Remove mistaken need to change directory.
Rob Norris [Wed, 5 Feb 2014 22:36:11 +0000 (22:36 +0000)]
Merge branch 'ImprovedRouteFinder'
Rob Norris [Wed, 5 Feb 2014 01:18:26 +0000 (01:18 +0000)]
Improve routing function return types to simple TRUE / FALSE for success or failure indication.
Matthew Hague [Sun, 26 Jan 2014 15:01:36 +0000 (15:01 +0000)]
Updated documentation for the improved route finding tool
Matthew Hague [Tue, 4 Feb 2014 23:44:09 +0000 (23:44 +0000)]
Improve the Route Finder Tool
Changed route finder User Interface workings, it is now similar to the new route tool such that it shows the 'as the crow flys' direct line route,
but on creation of each new trackpoint the route from the last trackpoint is calculated using online services.
The user can switch between adding points with the new route tool or with the route finder tool, removed a lot of the vtk->route_finder fields and merged them with the new route fields instead, added code to ensure that double trackpoints get added at the joins between planned route segments.
Changed so that enforcing duplicates in viktrwlayer.c appending a track duplicates the end of the old track not the start of the new
Changed a bit of logic in route finder click to deal with a current empty route not created by the route finder
Like the current Create Track and Route tools, the Route Finder handles clicks when in pan mode and avoids extra dispay sync refreshing to avoid display flicker.
Update the UI during routing to show a busy cursor and info about the requests being made are shown in the statusbar (particularly in case the online requests are slow).
New icons haven been produced for route finder.
Signed-off-by: Rob Norris <rw_norris@hotmail.com>
Matthew Hague [Wed, 5 Feb 2014 00:05:13 +0000 (00:05 +0000)]
Extend Routing functions for UI reuse.
Made vik_routing_default_find return whether find was successful or not, and exposed vik_routing_default_engine via vikrouting.h to allow the route planner to display the name of the engine it's using
Matthew Hague [Tue, 4 Feb 2014 23:42:33 +0000 (23:42 +0000)]
Fix vik_track_cut_back_to_double_point().
The VikTrackpoint internal structure has changed so now must reference the exact data field.
Signed-off-by: Rob Norris <rw_norris@hotmail.com>
Rob Norris [Tue, 31 Dec 2013 10:31:40 +0000 (10:31 +0000)]
[QA] Remove unused parameter.
Rob Norris [Thu, 2 Jan 2014 23:37:14 +0000 (23:37 +0000)]
[QA] Rename variables to avoid shadowing global variables.
Rob Norris [Thu, 2 Jan 2014 23:35:00 +0000 (23:35 +0000)]
[QA] Add default cases for all switch statements.
Rob Norris [Mon, 30 Dec 2013 11:29:23 +0000 (11:29 +0000)]
[QA] Add explicit missing field initializers.
Rob Norris [Thu, 2 Jan 2014 23:11:08 +0000 (23:11 +0000)]
Extend Waypoint properties with some EXIF Geotag (read only) information.
Show if a waypoint's associated image has Geotag information
and if that position aligns with the waypoint position.
Rob Norris [Thu, 2 Jan 2014 23:06:53 +0000 (23:06 +0000)]
Add a function to return the position from a file with EXIF GPS information.
Split out functionality in an existing function into a new separate function for general use.
Rob Norris [Thu, 2 Jan 2014 20:06:45 +0000 (20:06 +0000)]
Use the last selected date when initializing the date search.
Often one wishes to search on a nearby date, especially if the previous search failed.
A button is offered to reset to the today's date.
Rob Norris [Wed, 1 Jan 2014 17:36:55 +0000 (17:36 +0000)]
Add a preference to control the number of recent files made available.
Rob Norris [Wed, 1 Jan 2014 17:22:26 +0000 (17:22 +0000)]
Enable JPG files as a primary supported type.
The bonus of this besides being able to load via the File->Open method,
is being able to add image waypoints by drag and drop of JPG files into the viewport.
Rob Norris [Wed, 1 Jan 2014 17:02:43 +0000 (17:02 +0000)]
[QA] Rename function
Rob Norris [Wed, 1 Jan 2014 16:01:32 +0000 (16:01 +0000)]
Fix autodownload tiles when scrolling. Was broken by a recent commit.
Fixes error introduced in SHA1:
beb9d63a39b01fad2c4126b695a9935443634eab
Rob Norris [Fri, 6 Dec 2013 23:58:50 +0000 (23:58 +0000)]
Enable zooming in/out in jumps of 3 levels by pressing shift key at the same time with the zoom tool.
Rob Norris [Fri, 6 Dec 2013 23:56:05 +0000 (23:56 +0000)]
Enable double clicking as an optional way to control zooming in pan mode.
Double click of the left (primary) mouse will zoom in.
Double click of the right (secondary) mouse will zoom out.
Make use of a timeout function to wait and see if a double click event occurs.
If it hasn't then the timeout will action the single click request
(to recenter the display to the clicked location).
Rob Norris [Fri, 6 Dec 2013 22:46:32 +0000 (22:46 +0000)]
Fix right click on a selected waypoint image starts to move it.
Rob Norris [Fri, 6 Dec 2013 22:45:29 +0000 (22:45 +0000)]
[DOC] Mention the new maps switch-xy property.
Rob Norris [Wed, 4 Dec 2013 21:22:40 +0000 (21:22 +0000)]
Add an example of using ArcGIS Server with use of the "switch-xy" property
Rob Norris [Tue, 3 Dec 2013 23:04:21 +0000 (23:04 +0000)]
Enable boolean map configuration 'switch-xy' property to swap X,Y parts of the URL.
Mainly to support ARCGIS Tile Server URL Layout which has the X,Y parts of the URL swapped around compared to the standard OSM Tile layout.
See: http://help.arcgis.com/EN/arcgisserver/10.0/apis/rest/tile.html
Rob Norris [Tue, 3 Dec 2013 22:57:28 +0000 (22:57 +0000)]
Remove repeating of built in types in data files.
Rob Norris [Tue, 3 Dec 2013 22:49:12 +0000 (22:49 +0000)]
External tools don't use ids
Rob Norris [Wed, 27 Nov 2013 20:03:18 +0000 (20:03 +0000)]
Shift Search by Date into a sub menu.
This is to allow for future search by text options.
Rob Norris [Mon, 25 Nov 2013 22:22:47 +0000 (22:22 +0000)]
Explicitly use subdir-objects in automake init to prevent large warning with automake-1.14
Option has been in automake for *ages*
Rob Norris [Mon, 25 Nov 2013 21:52:30 +0000 (21:52 +0000)]
Skip etag files in mbtile converter tool