]> git.street.me.uk Git - andy/viking.git/log
andy/viking.git
10 years ago[DOC] Update Help for current built in Maps list.
Rob Norris [Mon, 7 Apr 2014 21:26:37 +0000 (22:26 +0100)]
[DOC] Update Help for current built in Maps list.

10 years agoRationalise acquire mode to have more obvious behaviour.
Rob Norris [Mon, 7 Apr 2014 21:21:44 +0000 (22:21 +0100)]
Rationalise acquire mode to have more obvious behaviour.

10 years agoConvert some console warnings to get reported to the GUI in the statusbar.
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.

10 years ago[QA] Correct and improve enumeration usage for export file types.
Rob Norris [Sat, 5 Apr 2014 09:48:31 +0000 (10:48 +0100)]
[QA] Correct and improve enumeration usage for export file types.

10 years agoEnsure tools directory is really included in the build output.
Rob Norris [Mon, 7 Apr 2014 22:07:26 +0000 (23:07 +0100)]
Ensure tools directory is really included in the build output.

10 years agoAdd the miscellaneous 'tools' scripts into 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.

10 years agoFix googledirections script.
Rob Norris [Thu, 3 Apr 2014 22:05:46 +0000 (23:05 +0100)]
Fix googledirections script.

10 years agoFix slightly incorrect DEM point drawing on the track property display after recent...
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.

10 years agoShow distance axis grids on distance graphs.
Rob Norris [Thu, 27 Mar 2014 01:48:28 +0000 (01:48 +0000)]
Show distance axis grids on distance graphs.

10 years agoSF Features#91: Part 2. Show time axis grids on time 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.

10 years agoCreate and use a function to return the duration of a track.
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.

10 years ago[QA] Refactoring track properties window.
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().

10 years agoSF Features#91: Part 1. Display Clock Date/Time of the blob on the time graphs.
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.

10 years agoRemove unnecessary subdomain in some OSM tileserver hostnames.
Rob Norris [Wed, 26 Mar 2014 20:01:11 +0000 (20:01 +0000)]
Remove unnecessary subdomain in some OSM tileserver hostnames.

10 years agoRefix Merging tracks by time.
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.

10 years agoRemove no longer available map services.
Rob Norris [Sat, 22 Mar 2014 14:09:19 +0000 (14:09 +0000)]
Remove no longer available map services.

10 years agoRemove default usage of Terraserver maps as they are no longer available.
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.

10 years agoCompletely remove SPOTMaps as this service is no longer available.
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.

10 years agoOptimize tooltip message generation, remove unnecessary track iterations.
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.

10 years agoAllow clearing and copying of the information message in the statusbar.
Rob Norris [Sat, 22 Mar 2014 12:10:12 +0000 (12:10 +0000)]
Allow clearing and copying of the information message in the statusbar.

10 years agoReport download failures 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.

10 years agoFix crashing on double clicks - properly initialize variable.
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)

10 years agoRefactor time from start track property label update
Rob Norris [Thu, 20 Mar 2014 21:22:53 +0000 (21:22 +0000)]
Refactor time from start track property label update

10 years agoFlow up error states from routing so the GUI can display the failing result.
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.

10 years agoNotes on how to use git2changelog.sh
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

10 years ago[WINDOWS] Ensure an icon is embedded in the executable.
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.

10 years agoYet more files to ignore from output of the build process.
Rob Norris [Sat, 15 Mar 2014 00:50:54 +0000 (00:50 +0000)]
Yet more files to ignore from output of the build process.

10 years ago[WINDOWS] More reliable rebuilds.
Rob Norris [Sat, 15 Mar 2014 00:04:58 +0000 (00:04 +0000)]
[WINDOWS] More reliable rebuilds.

10 years ago[WINDOWS] Fix opening URLs in Windows build only.
Rob Norris [Fri, 14 Mar 2014 23:48:32 +0000 (23:48 +0000)]
[WINDOWS] Fix opening URLs in Windows build only.

10 years agoSF Bugs#105: Fix Display of Lines (Clipping) at High Zoom Levels.
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.

10 years agoFix building on Windows as Viking only supports GLIB 2.24 ATM.
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.

10 years agoAdd a tooltip for Aggregate Layers to say how many layers they contain.
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.

10 years agoRemove built in OpenStreetBugs datasource as this service is being phased out.
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.

10 years agoAdd support for reading waypoint specific URL fields in GPX1.0 files.
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.

10 years agoIsolate Viking specific code in otherwise reusable code.
Rob Norris [Wed, 29 Jan 2014 21:36:26 +0000 (21:36 +0000)]
Isolate Viking specific code in otherwise reusable code.

10 years agoShift code around to reduce dependencies required for DEM access.
Rob Norris [Mon, 29 Jul 2013 17:37:33 +0000 (18:37 +0100)]
Shift code around to reduce dependencies required for DEM access.

10 years agoDon't store regenerated INSTALL file in git.
Rob Norris [Wed, 29 Jan 2014 21:43:11 +0000 (21:43 +0000)]
Don't store regenerated INSTALL file in git.

10 years agoFix DEM layer URL reference output.
Rob Norris [Thu, 23 Jan 2014 22:41:07 +0000 (22:41 +0000)]
Fix DEM layer URL reference output.

10 years agoRemove mistaken need to change directory.
Rob Norris [Fri, 3 Jan 2014 20:21:54 +0000 (20:21 +0000)]
Remove mistaken need to change directory.

10 years agoMerge branch 'ImprovedRouteFinder'
Rob Norris [Wed, 5 Feb 2014 22:36:11 +0000 (22:36 +0000)]
Merge branch 'ImprovedRouteFinder'

10 years agoImprove routing function return types to simple TRUE / FALSE for success or failure...
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.

10 years agoUpdated documentation for the improved route finding tool
Matthew Hague [Sun, 26 Jan 2014 15:01:36 +0000 (15:01 +0000)]
Updated documentation for the improved route finding tool

10 years agoImprove the Route Finder 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>
10 years agoExtend Routing functions for UI reuse.
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

10 years agoFix vik_track_cut_back_to_double_point().
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>
10 years ago[QA] Remove unused parameter.
Rob Norris [Tue, 31 Dec 2013 10:31:40 +0000 (10:31 +0000)]
[QA] Remove unused parameter.

10 years ago[QA] Rename variables to avoid shadowing global variables.
Rob Norris [Thu, 2 Jan 2014 23:37:14 +0000 (23:37 +0000)]
[QA] Rename variables to avoid shadowing global variables.

10 years ago[QA] Add default cases for all switch statements.
Rob Norris [Thu, 2 Jan 2014 23:35:00 +0000 (23:35 +0000)]
[QA] Add default cases for all switch statements.

10 years ago[QA] Add explicit missing field initializers.
Rob Norris [Mon, 30 Dec 2013 11:29:23 +0000 (11:29 +0000)]
[QA] Add explicit missing field initializers.

10 years agoExtend Waypoint properties with some EXIF Geotag (read only) information.
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.

10 years agoAdd a function to return the position from a file with EXIF GPS information.
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.

10 years agoUse the last selected date when initializing the date search.
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.

10 years agoAdd a preference to control the number of recent files made available.
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.

10 years agoEnable JPG files as a primary supported type.
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.

10 years ago[QA] Rename function
Rob Norris [Wed, 1 Jan 2014 17:02:43 +0000 (17:02 +0000)]
[QA] Rename function

10 years agoFix autodownload tiles when scrolling. Was broken by a recent commit.
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

10 years agoEnable zooming in/out in jumps of 3 levels by pressing shift key at the same time...
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.

10 years agoEnable double clicking as an optional way to control zooming in pan mode.
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).

10 years agoFix right click on a selected waypoint image starts to move it.
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.

10 years ago[DOC] Mention the new maps switch-xy property.
Rob Norris [Fri, 6 Dec 2013 22:45:29 +0000 (22:45 +0000)]
[DOC] Mention the new maps switch-xy property.

10 years agoAdd an example of using ArcGIS Server with use of the "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

10 years agoEnable boolean map configuration 'switch-xy' property to swap X,Y parts of the URL.
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

10 years agoRemove repeating of built in types in data files.
Rob Norris [Tue, 3 Dec 2013 22:57:28 +0000 (22:57 +0000)]
Remove repeating of built in types in data files.

10 years agoExternal tools don't use ids
Rob Norris [Tue, 3 Dec 2013 22:49:12 +0000 (22:49 +0000)]
External tools don't use ids

10 years agoShift Search by Date into a sub menu.
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.

10 years agoExplicitly use subdir-objects in automake init to prevent large warning with automake...
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*

10 years agoSkip etag files in mbtile converter tool
Rob Norris [Mon, 25 Nov 2013 21:52:30 +0000 (21:52 +0000)]
Skip etag files in mbtile converter tool

10 years agoTidy up Makefile.am spacings
Rob Norris [Sat, 26 Oct 2013 16:29:58 +0000 (17:29 +0100)]
Tidy up Makefile.am spacings

10 years agoFix autogen.sh in order to install needed files
Guilhem Bonnefille [Thu, 5 Dec 2013 23:37:35 +0000 (23:37 +0000)]
Fix autogen.sh in order to install needed files

Signed-off-by: Rob Norris <rw_norris@hotmail.com>
10 years ago[QA] Remove unused parameter
Rob Norris [Mon, 25 Nov 2013 00:35:31 +0000 (00:35 +0000)]
[QA] Remove unused parameter

10 years ago[QA] Tools are enabled per active layer
Rob Norris [Sun, 27 Oct 2013 11:55:26 +0000 (11:55 +0000)]
[QA] Tools are enabled per active layer

10 years agoFix excluding own self track when creating lists of other tracks.
Rob Norris [Mon, 25 Nov 2013 21:15:10 +0000 (21:15 +0000)]
Fix excluding own self track when creating lists of other tracks.

Was broken by recent commit SHA1:215ebe59a7ee81d3e47b55cab4c3c613bb0ac901

Make it more obvious that it is the track rather than the trackpoints.

10 years agoRedNotebook 1.7.3+ integration to open the diary program on a specific date.
Rob Norris [Wed, 20 Nov 2013 22:02:24 +0000 (22:02 +0000)]
RedNotebook 1.7.3+ integration to open the diary program on a specific date.

It opens the diary program on the day of the selected track or waypoint.

Requires RedNotebook 1.7.3+ to support opening on the specified date.
This is only made available if an appropriate version of RedNotebook is detected.

10 years ago[QA] Remove redundant GTK checks for > 2.10, since we need 2.16.
Rob Norris [Sat, 26 Oct 2013 16:47:55 +0000 (17:47 +0100)]
[QA] Remove redundant GTK checks for > 2.10, since we need 2.16.

10 years agoFix needing to calculate bounds of *both* tracks when a track is split via the marker.
Rob Norris [Sun, 17 Nov 2013 19:54:56 +0000 (19:54 +0000)]
Fix needing to calculate bounds of *both* tracks when a track is split via the marker.

10 years agoFix another compiler warning from the Export via GPSBabel work
Rob Norris [Sun, 17 Nov 2013 19:54:10 +0000 (19:54 +0000)]
Fix another compiler warning from the Export via GPSBabel work

10 years agoEnable a history of requested positions.
Rob Norris [Tue, 5 Nov 2013 00:33:06 +0000 (00:33 +0000)]
Enable a history of requested positions.

Positions are stored on specific Go To requests (such entered position coordinates or to waypoint/track positions).
Currently panning and zooming do not modify the requested position.
Moving backwards and forwards through the list is supported sort of like a web browsers history of pages.

As the positions are not specifically named (just raw coordinates),
 nothing advanced like showing the list of positions or jumping over multiple positions is offered.

Finer details such as the maximum size of the history list are controlled by Viking's internal preferences.

10 years agoReally enable C99 mode.
Rob Norris [Tue, 5 Nov 2013 00:24:33 +0000 (00:24 +0000)]
Really enable C99 mode.

10 years agoFix vik_track_get_length_to_trackpoint() so with the first track point it returns...
Rob Norris [Sun, 3 Nov 2013 21:03:48 +0000 (21:03 +0000)]
Fix vik_track_get_length_to_trackpoint() so with the first track point it returns zero, not the entire track length!

10 years agoFix highlight draw to cope with cut layers.
Rob Norris [Sat, 16 Nov 2013 21:16:07 +0000 (21:16 +0000)]
Fix highlight draw to cope with cut layers.

Add efficiency improvement for a highlighted layer to not be drawn twice.

10 years agoFix another compiler warning from the Export via GPSBabel work
Rob Norris [Fri, 15 Nov 2013 20:03:16 +0000 (20:03 +0000)]
Fix another compiler warning from the Export via GPSBabel work

10 years agoEnsure highlight for a single track or waypoint is always shown on top.
Rob Norris [Mon, 28 Oct 2013 21:04:02 +0000 (21:04 +0000)]
Ensure highlight for a single track or waypoint is always shown on top.

Special drawing for the highlighted item(s) ensures it is on top in case of overlapping items.

Introduce a delete layer signal, that is used by the VikWindow to help in preventing the attempt to draw a highlight of a deleted thing.

10 years agoAdd function to work out the visibility of an item considering all the items ancestor...
Rob Norris [Wed, 30 Oct 2013 21:47:55 +0000 (21:47 +0000)]
Add function to work out the visibility of an item considering all the items ancestor's visibilities.

10 years agoFix compiler warnings from Export via GPSBabel work
Rob Norris [Tue, 5 Nov 2013 00:52:30 +0000 (00:52 +0000)]
Fix compiler warnings from Export via GPSBabel work

10 years agoSupport using multiple Viking files with relative paths.
Rob Norris [Thu, 14 Nov 2013 23:19:41 +0000 (23:19 +0000)]
Support using multiple Viking files with relative paths.

Always calculate the canonical form for file references internally,
 so that they are always accessible.
When saved the relative path will be calculated if necessary.

Thus on file opening there is no further need for changing the working directory.

10 years ago[QA] Use actual type rather than a gpointer
Rob Norris [Thu, 14 Nov 2013 23:13:36 +0000 (23:13 +0000)]
[QA] Use actual type rather than a gpointer

10 years agoFix previous fix
Guilhem Bonnefille [Tue, 5 Nov 2013 21:58:38 +0000 (22:58 +0100)]
Fix previous fix

10 years agoFix error handling at autogen.sh
Guilhem Bonnefille [Tue, 5 Nov 2013 21:08:52 +0000 (22:08 +0100)]
Fix error handling at autogen.sh

10 years agoSF Feature#49: Export via GPSBabel
Guilhem Bonnefille [Mon, 4 Nov 2013 22:31:23 +0000 (23:31 +0100)]
SF Feature#49: Export via GPSBabel

Allow to export data in all formats supported by gpsbabel.

Signed-off-by: Guilhem Bonnefille <guilhem.bonnefille@gmail.com>
10 years agoExtract a UI module for babel
Guilhem Bonnefille [Mon, 4 Nov 2013 22:31:23 +0000 (23:31 +0100)]
Extract a UI module for babel

Create a module to factorize some UI related code.

Signed-off-by: Guilhem Bonnefille <guilhem.bonnefille@gmail.com>
10 years agoExtract trw export module
Guilhem Bonnefille [Mon, 4 Nov 2013 22:31:23 +0000 (23:31 +0100)]
Extract trw export module

VikTrwLayer module is really huge.
Export seems a good feature-candidate for externalisation.

Signed-off-by: Guilhem Bonnefille <guilhem.bonnefille@gmail.com>
10 years agoRefactoring: introduce a function for better encapsulation
Guilhem Bonnefille [Mon, 4 Nov 2013 21:40:12 +0000 (22:40 +0100)]
Refactoring: introduce a function for better encapsulation

10 years agoMore files to ignore from output of the build process.
Rob Norris [Fri, 1 Nov 2013 21:13:40 +0000 (21:13 +0000)]
More files to ignore from output of the build process.

More stuff generated by autopoint,autoreconf etc...

10 years agoSometimes gnome-autogen.sh does not support the most recent automake versions.
Guilhem Bonnefille [Fri, 1 Nov 2013 21:03:28 +0000 (21:03 +0000)]
Sometimes gnome-autogen.sh does not support the most recent automake versions.

At the same time, it seems that a more standard tool exists: autoreconf.

Signed-off-by: Guilhem Bonnefille <guilhem.bonnefille@gmail.com>
Signed-off-by: Rob Norris <rw_norris@hotmail.com>
10 years agoFix crashing when copying layers with null strings as parameters.
Rob Norris [Wed, 30 Oct 2013 19:46:45 +0000 (19:46 +0000)]
Fix crashing when copying layers with null strings as parameters.

Luckily, previously layers would not have a null string value
 - but this can now happen with the recent GPX Metadata parameters code.

10 years agoFix opening files on command line in different directories.
Rob Norris [Wed, 30 Oct 2013 00:19:18 +0000 (00:19 +0000)]
Fix opening files on command line in different directories.

Restrict the changing of the working directory when handling the Viking file type,
since that is the only type (as far as I know) that supports relative file paths
 (mostly for optional relative paths for Waypoint Images).
Restore the working directory to the previous value once the file has been used.

10 years agoUse TRW Metadata in generating default values for some OSM Trace upload fields.
Rob Norris [Mon, 28 Oct 2013 00:07:49 +0000 (00:07 +0000)]
Use TRW Metadata in generating default values for some OSM Trace upload fields.

Description and keywords are filled in from available values.

10 years agoBasic support of some GPX Metadata values common to GPX1.0 and GPX1.1
Rob Norris [Mon, 28 Oct 2013 00:05:22 +0000 (00:05 +0000)]
Basic support of some GPX Metadata values common to GPX1.0 and GPX1.1

Includes the fields: name, description, author, time, and keywords.
ATM the time is a read-only value loaded from a GPX file (no GUI way to alter it).
If there is no value or it's a new TrackWaypoint layer then the value auto generated from the earliest track or waypoint
 or else from the current time.

10 years agoMake comparing timestamps of tracks more available.
Rob Norris [Sun, 27 Oct 2013 23:52:01 +0000 (23:52 +0000)]
Make comparing timestamps of tracks more available.

10 years agoEnable a search item by date feature from an Aggregate Layer level.
Rob Norris [Mon, 21 Oct 2013 21:29:40 +0000 (22:29 +0100)]
Enable a search item by date feature from an Aggregate Layer level.

Tracks are searched first in preference to waypoints.
It auto selects the first item found that matches the selected date.