]> git.street.me.uk Git - andy/viking.git/log
andy/viking.git
11 years agoMerge branch 'TrackMergeSplitImprovements'
Rob Norris [Sat, 13 Oct 2012 09:00:15 +0000 (10:00 +0100)]
Merge branch 'TrackMergeSplitImprovements'

11 years agoAdd some protection against crazy elevation numbers that cause viewing a track's...
Rob Norris [Tue, 9 Oct 2012 19:09:12 +0000 (20:09 +0100)]
Add some protection against crazy elevation numbers that cause viewing a track's properties to crash

11 years agoDetail on how to regenerate reference help
Rob Norris [Sun, 7 Oct 2012 11:30:13 +0000 (12:30 +0100)]
Detail on how to regenerate reference help

11 years ago[I8N] Mark vikaggregatelayer.c for translation
Rob Norris [Sun, 7 Oct 2012 09:52:02 +0000 (10:52 +0100)]
[I8N] Mark vikaggregatelayer.c for translation

I8N added in SHA1:affcc0f201d869d534f305e2b955e2afcc2975fe

11 years ago[I8N] Mark file vikwaypoint.c for translation.
Rob Norris [Sun, 7 Oct 2012 09:50:41 +0000 (10:50 +0100)]
[I8N] Mark file vikwaypoint.c for translation.

I8N required from SHA1:c9570f8616c6eec62695f29757cd6913efadebdd

11 years agoFix memory leak detected by cppcheck 1.56
Rob Norris [Tue, 9 Oct 2012 19:56:25 +0000 (20:56 +0100)]
Fix memory leak detected by cppcheck 1.56

11 years agoTidy ups to keep cppcheck 1.56 happy.
Rob Norris [Tue, 9 Oct 2012 19:55:41 +0000 (20:55 +0100)]
Tidy ups to keep cppcheck 1.56 happy.

11 years agoPrevent obscure crash on key press when layer is not selected but create track tool...
Rob Norris [Tue, 9 Oct 2012 18:47:38 +0000 (19:47 +0100)]
Prevent obscure crash on key press when layer is not selected but create track tool is enabled

Ensure secondary key press processing only occurs for window level tools
Fixup commit SHA1: a71145218059e3e8153b9e58493d3a0d57743324

11 years agoNever use g_error() as it aborts the program. Use g_critical() instead.
Rob Norris [Thu, 13 Sep 2012 00:41:54 +0000 (01:41 +0100)]
Never use g_error() as it aborts the program. Use g_critical() instead.

The program can still function despite such issues. Carry On Regardless.

11 years agoAdd python tool to convert a Viking tile cache into a MapBox MBTiles format file.
Rob Norris [Sat, 15 Sep 2012 12:37:02 +0000 (13:37 +0100)]
Add python tool to convert a Viking tile cache into a MapBox MBTiles format file.

See: http://mapbox.com/mbtiles-spec/

This tool is heavily inspired from http://github.com/mapbox/mbutil

It is particularly useful for transferring the .mbtile file for viewing the predownloaded set of tiles on a smartphone device.

11 years agoRework a_file_load() to always load .vik files in preference to other kinds and other...
Rob Norris [Fri, 7 Sep 2012 00:06:25 +0000 (01:06 +0100)]
Rework a_file_load() to always load .vik files in preference to other kinds and other clean ups.

Add more comments about how loading is handled and store the value to return so that tidy up statements occur only once.

11 years agoSuggest default filename with .vik file extension when saving a new file.
Rob Norris [Thu, 6 Sep 2012 23:58:02 +0000 (00:58 +0100)]
Suggest default filename with .vik file extension when saving a new file.

11 years agoRevert Stonehenge.jpg back to the previous version *without* GPS information.
Rob Norris [Fri, 5 Oct 2012 22:49:52 +0000 (23:49 +0100)]
Revert Stonehenge.jpg back to the previous version *without* GPS information.

The idea here is this file doesn't have a location in the EXIF info - but it's well known location.
Thus useful for testing geotagging functionality with the Stonehenge.gpx file.
Accidently committed it in SHA1:f2fcc2d2bb4ff6930eb15651dda5e45b2bc49956, restore to back to SHA1:60a695608872f7e733b8bc030426e62f1e42def6

11 years agoUse the signalling method to the update statusbar from OSM traces background thread.
Rob Norris [Sat, 29 Sep 2012 10:17:21 +0000 (11:17 +0100)]
Use the signalling method to the update statusbar from OSM traces background thread.

ATM this introduces a small memory leak, note OSM traces isn't heavily used so this is not significant.
This is better than potentially crashing from multi thread GUI updates.

11 years agoAllow statusbar update signal method to specify which part of the statusbar to update.
Rob Norris [Sat, 29 Sep 2012 10:13:00 +0000 (11:13 +0100)]
Allow statusbar update signal method to specify which part of the statusbar to update.

11 years agoMove window code that is unnecessarily in main.c to vikwindow.c
Rob Norris [Sat, 15 Sep 2012 08:30:00 +0000 (09:30 +0100)]
Move window code that is unnecessarily in main.c to vikwindow.c

Much better scoping of the window code. Minor rename of functions and update header appropriately.

11 years agoFix crashing due to GUI updates from the background thread on GPS Upload.
Rob Norris [Fri, 28 Sep 2012 19:07:24 +0000 (20:07 +0100)]
Fix crashing due to GUI updates from the background thread on GPS Upload.

Mistake in commit: 10aa2b84d0a30270ee618057f6d67665177d3fc9
Ensure vik_trw_layer_uniquify() happens in main thread.

11 years agoFix CPU usage going to 100% when statusbar items update is called.
Rob Norris [Fri, 28 Sep 2012 18:05:28 +0000 (19:05 +0100)]
Fix CPU usage going to 100% when statusbar items update is called.

Ensure proper function defintion and hence return the right value so the function is *not* continually called.
Thanks for nothing compiler/C language!

11 years agogit ignore the generated PDF manual.
Rob Norris [Sun, 23 Sep 2012 18:05:12 +0000 (19:05 +0100)]
git ignore the generated PDF manual.

11 years agoReleasing version 1.3.2
Rob Norris [Sun, 23 Sep 2012 17:55:11 +0000 (18:55 +0100)]
Releasing version 1.3.2

11 years agoFix 'make distcheck' to have a clean run.
Rob Norris [Sun, 23 Sep 2012 17:53:24 +0000 (18:53 +0100)]
Fix 'make distcheck' to have a clean run.

Need to ignore icon cache file.

11 years agoPrevent compiler warning.
Rob Norris [Sun, 23 Sep 2012 17:51:38 +0000 (18:51 +0100)]
Prevent compiler warning.

Follow up to commit: 8ad7a81eb73130da7324036477e2d9f4c1d13cca

12 years agoMinor code tidy up to match staticness of function definitions.
Rob Norris [Thu, 20 Sep 2012 21:24:34 +0000 (22:24 +0100)]
Minor code tidy up to match staticness of function definitions.

12 years agoFix non slippy maps from complaining about lack of function definition.
Rob Norris [Thu, 20 Sep 2012 21:16:06 +0000 (22:16 +0100)]
Fix non slippy maps from complaining about lack of function definition.

Follow on from commit:2673b29d1b6f58ed54cad164bab5d325960bb8c6
Best to define a function to return a value (even if it is always false) for TMS/WMS/Terraserver Maps.

12 years agoRemove Direction Finding from the Help as direction finding via Google services has...
Rob Norris [Fri, 21 Sep 2012 00:05:55 +0000 (01:05 +0100)]
Remove Direction Finding from the Help as direction finding via Google services has been disabled.

12 years agoDisable direction finding via Google services as they no longer support KML output.
Rob Norris [Thu, 20 Sep 2012 19:07:34 +0000 (20:07 +0100)]
Disable direction finding via Google services as they no longer support KML output.

From https://developers.google.com/maps/documentation/directions/ only JSON and some kind of XML
GPSBabel doesn't support GeoJSON and Google Maps XML (google) doesn't seem to work any more either
[http://www.gpsbabel.org/htmldoc-development/fmt_google.html]

12 years agoFix usage of vvp in gpslayer in uploading TRW layer data.
Rob Norris [Wed, 19 Sep 2012 23:51:28 +0000 (00:51 +0100)]
Fix usage of vvp in gpslayer in uploading TRW layer data.

Follow on from commit: 10aa2b84d0a30270ee618057f6d67665177d3fc9

12 years agoIgnore built viking.exe file under Windows.
Rob Norris [Mon, 17 Sep 2012 22:59:53 +0000 (23:59 +0100)]
Ignore built viking.exe file under Windows.

12 years agoFix DEM icon usage following internal rename.
Rob Norris [Mon, 17 Sep 2012 18:41:21 +0000 (19:41 +0100)]
Fix DEM icon usage following internal rename.

Name changed in commit: 79dce0cbecc73aef904c1529467195416c1bfe96

12 years agogit ignore output from make dist
Rob Norris [Fri, 14 Sep 2012 00:25:51 +0000 (01:25 +0100)]
git ignore output from make dist

12 years agogit ignore files generated in the data directory
Rob Norris [Fri, 14 Sep 2012 00:24:29 +0000 (01:24 +0100)]
git ignore files generated in the data directory

12 years agoRemove old and unused src/.depend file
Rob Norris [Fri, 14 Sep 2012 00:08:46 +0000 (01:08 +0100)]
Remove old and unused src/.depend file

12 years agoReduce warnings when compiling on Windows
Rob Norris [Thu, 13 Sep 2012 00:40:38 +0000 (01:40 +0100)]
Reduce warnings when compiling on Windows

12 years agoUpdate ‘gdk_pixbuf_ref’ deprecated functions to the g_object_ref equivalents
Rob Norris [Mon, 27 Aug 2012 21:40:54 +0000 (22:40 +0100)]
Update ‘gdk_pixbuf_ref’ deprecated functions to the g_object_ref equivalents

12 years agoEnsure correct selection of track or waypoint following name usage rework.
Rob Norris [Wed, 19 Sep 2012 00:35:18 +0000 (01:35 +0100)]
Ensure correct selection of track or waypoint following name usage rework.

Follow on from commit: 3d2ad4f8f73e4fad30df83199a83d6e947a88786

Remove usage of selected item name property in the window level as it is now unnecessary.

12 years agoAdd a background block to the track drawing distance to make the text easier to read.
Rob Norris [Fri, 31 Aug 2012 17:23:58 +0000 (18:23 +0100)]
Add a background block to the track drawing distance to make the text easier to read.

12 years agoUse gdk_draw_layout() rather than gdk_draw_string() in track distance drawing
Rob Norris [Fri, 31 Aug 2012 16:23:50 +0000 (17:23 +0100)]
Use gdk_draw_layout() rather than gdk_draw_string() in track distance drawing

12 years agoFix flickering map background when creating a new track and panning the map with...
Rob Norris [Wed, 19 Sep 2012 00:20:16 +0000 (01:20 +0100)]
Fix flickering map background when creating a new track and panning the map with the mouse.

Due to the new way of drawing the next potential trackpoint, the pixmap held becomes invalid when the display is panned.
Thus a way of preventing this update is made by exposing the middle button clicks to the tools when they explicitly request it.
Hence the potential trackpoint drawing is temporarily disabled when the map is panning.

12 years agoRework the create track drawing with a specific GC on which to draw the next potentia...
Rob Norris [Fri, 31 Aug 2012 14:36:40 +0000 (15:36 +0100)]
Rework the create track drawing with a specific GC on which to draw the next potential point.

This means this GC is reset on each update and then redrawn. It also ensures the correct colour is used.
This is more reliable than trying to undraw previous information via the GDK_INVERT method, especially for Windows systems.

12 years agoFix for Debian#685817: Statusbar Update From Thread Instability
Rob Norris [Sat, 15 Sep 2012 00:03:46 +0000 (01:03 +0100)]
Fix for Debian#685817: Statusbar Update From Thread Instability

Move the direct statusbar GTK update from the background thread into a signal to the main thread.
The statusbar update in the main thread is then performed according to GTK scheduler via the idle update mechanism.

12 years agoFix openwindow internal type to match actual usage.
Rob Norris [Sat, 15 Sep 2012 00:17:17 +0000 (01:17 +0100)]
Fix openwindow internal type to match actual usage.

12 years ago[Geotagging] Improve detection of image files having GPS information.
Rob Norris [Thu, 6 Sep 2012 20:14:26 +0000 (21:14 +0100)]
[Geotagging] Improve detection of image files having GPS information.

Encountered some images which have just the EXIF_TAG_GPS_VERSION_ID but nothing else.
So to confirm GPS info, check existance of more EXIF GPS tags (Latitude and Longitude)

Thus when such images are requested for geotagging they won't be erroneously skipped over.

12 years agoFix GPSBabel Dynamic Device List generation on Windows Systems.
Rob Norris [Wed, 5 Sep 2012 23:47:24 +0000 (00:47 +0100)]
Fix GPSBabel Dynamic Device List generation on Windows Systems.

Rework babel_general_convert() to be cross platform and support the progress callback on Windows systems.

Minimize the platform specific code by using g_child_watch_add() for cleanup operations and fdopen() or _fdopen() to access the stdout stream.
The previous Windows version of the function has been removed and now all systems use the same babel_general_convert().

Hence with support of the progress callback, the means the Acquire GPS Device list and Import File With GPSBabel file types will be dynamically generated on Windows.

12 years agoAdd zoom by bounds capability when using the zoom tool and holding the SHIFT key...
Rob Norris [Sun, 26 Aug 2012 13:18:10 +0000 (14:18 +0100)]
Add zoom by bounds capability when using the zoom tool and holding the SHIFT key and left click to select the zoom in area.

Similar to zooming in on the OpenStreetMap default map.

In the zoom tool mode, when the SHIFT key is held down and then left mouse button is pressed it draws a bounding box area on the display.
When the left mouse button is released the zoom is performed on the selected area.

12 years agoEnable zoom tool to recenter the display on the clicked position when the CTRL key...
Rob Norris [Sun, 26 Aug 2012 11:58:38 +0000 (12:58 +0100)]
Enable zoom tool to recenter the display on the clicked position when the CTRL key is held at the same time.

12 years agoMore intuitive zoom actions involving the mouse to retain the location under the...
Rob Norris [Thu, 2 Aug 2012 01:09:04 +0000 (02:09 +0100)]
More intuitive zoom actions involving the mouse to retain the location under the pointer within the viewport bounds.

As per request SF#3547438, which is clearly much better behaviour - since clearly this is the point of interest the user wants to see and thus subsequent zoom requests keep focusing on that area without having to recenter the display.

The modifiers of CTRL+SHIFT and mouse zoom retain keeping the center point in the center (which is in fact a reversal of the previous setting - unlikely to effect many users, as I didn't even know of this feature myself).

Note the keyboard & menu zoom requests always maintain the center point.

12 years ago[Geotagging] Update RPM spec for new dependency.
Rob Norris [Thu, 6 Sep 2012 21:26:48 +0000 (22:26 +0100)]
[Geotagging] Update RPM spec for new dependency.

12 years agoImprove feedback for handling erroneous GPX.
Rob Norris [Thu, 6 Sep 2012 19:35:00 +0000 (20:35 +0100)]
Improve feedback for handling erroneous GPX.

Extend current mechanism for reporting specific file load errors by adding a message for GPX read failures.

12 years ago[Geotagging] Fix SF#3564795: Crashing when attempting to create waypoints from EXIF...
Rob Norris [Wed, 5 Sep 2012 00:15:30 +0000 (01:15 +0100)]
[Geotagging] Fix SF#3564795: Crashing when attempting to create waypoints from EXIF images without enough GPS information.

Don't try and use the returned NULL waypoint!

12 years agoPrevent crashing when attempting to import with GPSBabel a file and not specifying...
Rob Norris [Tue, 4 Sep 2012 22:37:20 +0000 (23:37 +0100)]
Prevent crashing when attempting to import with GPSBabel a file and not specifying the file type (due to a malformed (null) result of the GPSBabel file types list).

12 years agoPrevent crashing when attempting to acquire data with a malformed (null) result of...
Rob Norris [Tue, 4 Sep 2012 19:50:41 +0000 (20:50 +0100)]
Prevent crashing when attempting to acquire data with a malformed (null) result of the known GPS devices list.

12 years agoFix lack of feedback when reading erroneous GPX
Guilhem Bonnefille [Tue, 4 Sep 2012 11:07:17 +0000 (13:07 +0200)]
Fix lack of feedback when reading erroneous GPX

When GPX file is incorrect, no error is returned. The user is not
informed that his file is incorrect and can simply imagine the file
is empty.

The status of the XML parser is now returned in order to fire the
right handling.

12 years ago[MAPS] Add OpenSeaMap source
Guilhem Bonnefille [Mon, 27 Aug 2012 13:11:21 +0000 (15:11 +0200)]
[MAPS] Add OpenSeaMap source

Closes #SF3555603

12 years agoFix usage of directory "doc/reference" missing even it is used in configure.ac. Autom...
Guido Scholz [Sun, 5 Aug 2012 16:18:50 +0000 (17:18 +0100)]
Fix usage of directory "doc/reference" missing even it is used in configure.ac. Automake hangs here if called with autoreconf.

Also the configure option --enable-gtk-doc does not work due to this missing directory.

Solve this issue by using AM_CONDITIONAL() to enable the "gtk-doc"-compile feature properly.

Signed-off-by: Rob Norris <rw_norris@hotmail.com>
12 years agoClean gnome-doc-utils.make in target "dist-clean"
Guido Scholz [Sun, 5 Aug 2012 16:17:21 +0000 (17:17 +0100)]
Clean gnome-doc-utils.make in target "dist-clean"

According to common autotools rules this should be cleaned in maintainer mode only.

Signed-off-by: Rob Norris <rw_norris@hotmail.com>
12 years agoFurther tab fixes in Makefiles
Guido Scholz [Sun, 5 Aug 2012 16:14:24 +0000 (17:14 +0100)]
Further tab fixes in Makefiles

Signed-off-by: Rob Norris <rw_norris@hotmail.com>
12 years agoRemove doubled defined "XP" in src/Makefile.am (conplained by automake)
Guido Scholz [Sun, 5 Aug 2012 16:11:35 +0000 (17:11 +0100)]
Remove doubled defined "XP" in src/Makefile.am (conplained by automake)

Signed-off-by: Rob Norris <rw_norris@hotmail.com>
12 years agoFix the missing tabulator
Guido Scholz [Sun, 5 Aug 2012 15:39:09 +0000 (16:39 +0100)]
Fix the missing tabulator

Signed-off-by: Rob Norris <rw_norris@hotmail.com>
12 years agoFix an incompatible make file rule (using "%"); this is complained by automake.
Guido Scholz [Sun, 5 Aug 2012 15:36:45 +0000 (16:36 +0100)]
Fix an incompatible make file rule (using "%"); this is complained by automake.

The broken rule is substituted by proper new one.

Signed-off-by: Rob Norris <rw_norris@hotmail.com>
12 years agoEnhance the "make dist" target wrapping the package also in a tar.bz2 as well as...
Guido Scholz [Sun, 5 Aug 2012 15:22:45 +0000 (16:22 +0100)]
Enhance the "make dist" target wrapping the package also in a tar.bz2 as well as a zip package

Signed-off-by: Rob Norris <rw_norris@hotmail.com>
12 years agoEnsure the pan toolbar button is activated by default to match the default tool mode.
Rob Norris [Mon, 27 Aug 2012 10:45:29 +0000 (11:45 +0100)]
Ensure the pan toolbar button is activated by default to match the default tool mode.

12 years agoEnable merging segments of a track from the Track->Combine submenu.
Rob Norris [Sun, 26 Aug 2012 11:11:40 +0000 (12:11 +0100)]
Enable merging segments of a track from the Track->Combine submenu.

12 years agoAdd function to merge segments of a track.
Rob Norris [Sun, 26 Aug 2012 11:10:42 +0000 (12:10 +0100)]
Add function to merge segments of a track.

12 years agoFix implicit ordering of Trackpoint property dialog buttons.
Rob Norris [Sun, 26 Aug 2012 10:37:58 +0000 (11:37 +0100)]
Fix implicit ordering of Trackpoint property dialog buttons.

Change from GList to individual widgets, this means the sensitivity of the desired button is handled correctly.

12 years agoTidy up: simpler and better use of trackpoint free methods in TRW Layer.
Rob Norris [Sun, 26 Aug 2012 10:35:22 +0000 (11:35 +0100)]
Tidy up: simpler and better use of trackpoint free methods in TRW Layer.

12 years agoFix potential loss of track segment in vik_track_remove_dup_points()
Rob Norris [Sun, 26 Aug 2012 10:33:48 +0000 (11:33 +0100)]
Fix potential loss of track segment in vik_track_remove_dup_points()

Also use better trackpoint free method.

12 years agoEnable deletion of track points with the same timestamp from the Track -> Delete...
Rob Norris [Sun, 26 Aug 2012 09:46:44 +0000 (10:46 +0100)]
Enable deletion of track points with the same timestamp from the Track -> Delete Points submenu.

12 years agoAdd functions to count and delete track points with the same timestamp.
Rob Norris [Sun, 26 Aug 2012 09:45:44 +0000 (10:45 +0100)]
Add functions to count and delete track points with the same timestamp.

12 years agoAdd new 'Delete Points' track submenu and allow deleting duplicate track points.
Rob Norris [Sun, 26 Aug 2012 08:57:47 +0000 (09:57 +0100)]
Add new 'Delete Points' track submenu and allow deleting duplicate track points.

12 years agoUpdate vik_track_remove_dup_points() to return the number of points deleted
Rob Norris [Sun, 26 Aug 2012 08:54:56 +0000 (09:54 +0100)]
Update vik_track_remove_dup_points() to return the number of points deleted

12 years agoAdd Track Split by Segments into Track menu options.
Rob Norris [Thu, 23 Aug 2012 00:12:13 +0000 (01:12 +0100)]
Add Track Split by Segments into Track menu options.

12 years agoConsistent use of unique_sublayer_name function when creating new tracks via all...
Rob Norris [Wed, 22 Aug 2012 23:45:03 +0000 (00:45 +0100)]
Consistent use of unique_sublayer_name function when creating new tracks via all split operations.

12 years agoInternal reorganization of unique_sublayer_name function for reuse
Rob Norris [Wed, 22 Aug 2012 20:17:27 +0000 (21:17 +0100)]
Internal reorganization of unique_sublayer_name function for reuse

12 years agoMake splitting a track consistant in that it never asks the user the name of the...
Rob Norris [Wed, 22 Aug 2012 20:09:22 +0000 (21:09 +0100)]
Make splitting a track consistant in that it never asks the user the name of the new tracks.

. Avoid this extra step as it can be unnecessary. Changing the track names can be performed later if necessary.
. Multiple same named tracks are now allowed anyway

12 years agoRemove joining tracks via the Track Point dialog as it was a 'weird hack'.
Rob Norris [Mon, 13 Aug 2012 21:24:26 +0000 (22:24 +0100)]
Remove joining tracks via the Track Point dialog as it was a 'weird hack'.

. Only worked when dialog opened via Track Edit tool (i.e. not via Select tool)
. Unclear for the user how it is meant to work
. Superseded by the Append method via the track menu option and dialog to select the other track

This cleans the code up somewhat.

12 years agoMove View Track menu option above submenu options.
Rob Norris [Mon, 13 Aug 2012 20:25:06 +0000 (21:25 +0100)]
Move View Track menu option above submenu options.

12 years agoAdd new append track command to join tracks not caring about the whether they have...
Rob Norris [Mon, 13 Aug 2012 20:20:47 +0000 (21:20 +0100)]
Add new append track command to join tracks not caring about the whether they have timestamps.

Hence allows joining 'routes' and tracks. Only one track can be appended at a time to control ordering of the append.

12 years agoMove track merge options into a new submenu called 'Combine'
Rob Norris [Mon, 13 Aug 2012 20:17:59 +0000 (21:17 +0100)]
Move track merge options into a new submenu called 'Combine'

12 years agoAdd track split at trackpoint as an option to the menus.
Rob Norris [Sun, 12 Aug 2012 09:58:08 +0000 (10:58 +0100)]
Add track split at trackpoint as an option to the menus.

Make it available only when a trackpoint is selected.

12 years agoRework track split at trackpoint into a function for later reuse
Rob Norris [Sat, 11 Aug 2012 23:14:09 +0000 (00:14 +0100)]
Rework track split at trackpoint into a function for later reuse

12 years agoMove split track menu options into a new submenu
Rob Norris [Sat, 11 Aug 2012 22:31:25 +0000 (23:31 +0100)]
Move split track menu options into a new submenu

12 years agoFix merge track by times for using the internal track id properly.
Rob Norris [Wed, 22 Aug 2012 23:13:56 +0000 (00:13 +0100)]
Fix merge track by times for using the internal track id properly.

Follow on from commit: 3d2ad4f8f73e4fad30df83199a83d6e947a88786

Generally rewrite it to make it more understandable and remove some implicit behaviour.

12 years agoFix display of track edit dialog values when invoked via Track Edit dialog.
Rob Norris [Mon, 13 Aug 2012 21:11:56 +0000 (22:11 +0100)]
Fix display of track edit dialog values when invoked via Track Edit dialog.

Broken by track naming rework commit: ce4bd1cfaab763dad3aab9b20edce22eb57aac0f

12 years agoFix split track at trackpoint for using the internal track id properly.
Rob Norris [Sun, 12 Aug 2012 10:04:01 +0000 (11:04 +0100)]
Fix split track at trackpoint for using the internal track id properly.

Follow on from commt: 3d2ad4f8f73e4fad30df83199a83d6e947a88786

12 years agoFix the untranslated "top layer" context menu.
Guido Scholz [Thu, 9 Aug 2012 20:27:06 +0000 (21:27 +0100)]
Fix the untranslated "top layer" context menu.
Signed-off-by: Rob Norris <rw_norris@hotmail.com>
12 years agoFix radio button labels not translated in dialog windows.
Guido Scholz [Thu, 9 Aug 2012 20:20:13 +0000 (21:20 +0100)]
Fix radio button labels not translated in dialog windows.

Signed-off-by: Rob Norris <rw_norris@hotmail.com>
12 years agoAdd and use keyboard accelerator shortcuts to be able to create the most likely used...
Rob Norris [Wed, 8 Aug 2012 00:26:30 +0000 (01:26 +0100)]
Add and use keyboard accelerator shortcuts to be able to create the most likely used layers.

12 years agoAdd keyboard accelerator marker for layers used in menus.
Rob Norris [Tue, 7 Aug 2012 22:36:11 +0000 (23:36 +0100)]
Add keyboard accelerator marker for layers used in menus.

12 years ago[I18N] Ensure all layer names are marked for translation
Rob Norris [Tue, 7 Aug 2012 21:10:14 +0000 (22:10 +0100)]
[I18N] Ensure all layer names are marked for translation

12 years agoRework Tool interface for give better control for Tool menu labels and tooltips.
Rob Norris [Mon, 6 Aug 2012 22:20:54 +0000 (23:20 +0100)]
Rework Tool interface for give better control for Tool menu labels and tooltips.

12 years agoAdd some keyboard shortcuts to the help.
Rob Norris [Mon, 6 Aug 2012 22:14:46 +0000 (23:14 +0100)]
Add some keyboard shortcuts to the help.

12 years agoFix header as vik_trw_layer_get_waypoint is required again.
Rob Norris [Sun, 5 Aug 2012 16:42:26 +0000 (17:42 +0100)]
Fix header as vik_trw_layer_get_waypoint is required again.

12 years agoRework Track Draw by Velocity into Draw by Speed with a simple traffic light colourin...
Rob Norris [Wed, 13 Jun 2012 19:48:28 +0000 (20:48 +0100)]
Rework Track Draw by Velocity into Draw by Speed with a simple traffic light colouring scheme.

Determine the colour of the trackpoint (and/or trackline) relative to the average speed
 *  . slow points are red
 *  . average is yellow
 *  . fast points are green

An option is provided to control the percentage factor away from the average speed to determine the transistions to the differing colours.

This now removes the previous Draw by Velocity mode options, which was unclear how it worked and unlikely any one actively uses it.
Thus this means the .vik file format has changed slightly but other than generating warnings all other features will still work.

12 years agoFor tooltips use plain text so that comments with HTML markup or similar are shown...
Rob Norris [Sun, 10 Jun 2012 14:20:17 +0000 (15:20 +0100)]
For tooltips use plain text so that comments with HTML markup or similar are shown in a literal fashion rather than causing parsing failures.

12 years agoAdd simple direct on disk access map type to tiles ideally pregenerated in the OSM...
Rob Norris [Thu, 24 May 2012 16:20:18 +0000 (17:20 +0100)]
Add simple direct on disk access map type to tiles ideally pregenerated in the OSM tile layout format.

12 years agoGeotagging: add option to overwrite existing waypoints.
Rob Norris [Wed, 2 May 2012 23:06:04 +0000 (00:06 +0100)]
Geotagging: add option to overwrite existing waypoints.

This is especially useful when after the first attempt, the waypoints were generated are in the wrong position and you want to repeat the tagging process but with a different time offset. Such as having daylight saving time issues (e.g. GMT v BST)

12 years agoFixup making the track name a property of the track.
Rob Norris [Sat, 4 Aug 2012 00:09:41 +0000 (01:09 +0100)]
Fixup making the track name a property of the track.

Missed geotag usage in commit ce4bd1cfaab763dad3aab9b20edce22eb57aac0f

12 years agoWindows: Really fix opening pictures
Mathieu Albinet [Wed, 4 Jul 2012 18:28:38 +0000 (19:28 +0100)]
Windows: Really fix opening pictures

Signed-off-by: Rob Norris <rw_norris@hotmail.com>
12 years agoRemove create_realtime_trackpoint call in cleanup which can crash.
Rob Norris [Mon, 16 Jul 2012 22:11:16 +0000 (23:11 +0100)]
Remove create_realtime_trackpoint call in cleanup which can crash.

Crashes in g_list_last on my system, although I don't understand why.
However what is the point of creating another trackpoint when stopping, especially since the track is immediately deleted!?
Hence the call has been removed.

12 years agoFix crashing when deleting a GPS layer which has started a realtime tracking.
Rob Norris [Mon, 16 Jul 2012 21:59:25 +0000 (22:59 +0100)]
Fix crashing when deleting a GPS layer which has started a realtime tracking.

Ensure real time disconnect method is closed to cleanup and stop IO events.