]> git.street.me.uk Git - andy/viking.git/log
andy/viking.git
9 years agoProtect against possible out of bounds array access.
Rob Norris [Mon, 21 Sep 2015 22:22:47 +0000 (23:22 +0100)]
Protect against possible out of bounds array access.

9 years ago[QA] Coverity 'Uninitialized pointer read' CID#34608 + CID#34609.
Rob Norris [Tue, 15 Sep 2015 21:34:09 +0000 (22:34 +0100)]
[QA] Coverity 'Uninitialized pointer read' CID#34608 + CID#34609.

Force initialise to NULL values, even if these variables get assigned from the function calls.

9 years ago[QA] Coverity 'Buffer not null terminated' issues CID#34544 + CID#34545
Rob Norris [Tue, 15 Sep 2015 21:30:31 +0000 (22:30 +0100)]
[QA] Coverity 'Buffer not null terminated' issues CID#34544 + CID#34545

Switch to use a function that ensures the buffer is null terminated.

Note that in these cases it is using a time format string that would always be less than the buffer size anyway.

9 years agoFix DEM height points on track graphs when height units is in feet and non-zero minim...
Rob Norris [Wed, 2 Sep 2015 22:03:01 +0000 (23:03 +0100)]
Fix DEM height points on track graphs when height units is in feet and non-zero minimum height.

Offset is already in the current height units,
 so elevation value should be adjusted *after* it is in the appropriate units.

9 years ago[DOC] Improved introduction.
Rob Norris [Sun, 12 Jul 2015 15:21:52 +0000 (16:21 +0100)]
[DOC] Improved introduction.

9 years agoOnly perform man page generation when scrollkeeper is also installed.
Rob Norris [Sat, 12 Sep 2015 11:22:47 +0000 (12:22 +0100)]
Only perform man page generation when scrollkeeper is also installed.

9 years ago[QA] Remove repeated statements in configure.ac
Rob Norris [Sat, 12 Sep 2015 11:14:45 +0000 (12:14 +0100)]
[QA] Remove repeated statements in configure.ac

9 years agoFix mapnik preferences initialisation to not crash if preferences are not available.
Rob Norris [Sat, 12 Sep 2015 10:56:41 +0000 (11:56 +0100)]
Fix mapnik preferences initialisation to not crash if preferences are not available.

9 years agoEnable reference documentation generation by disabling optional components.
Rob Norris [Sat, 12 Sep 2015 10:23:45 +0000 (11:23 +0100)]
Enable reference documentation generation by disabling optional components.

Otherwise at the linking stage of the scan program, it tries to find terraserver related objects;
 which are no longer in the default build.

9 years agoReactivate doc subtree
Guilhem Bonnefille [Wed, 2 Sep 2015 21:26:47 +0000 (23:26 +0200)]
Reactivate doc subtree

Previously, in order to build the reference documentation only when needed
(read: only some maintainers and only when they want) a solution was created
to deactivate processing of the whole doc subtree. But the side effect was to
not deliver at all the doc subtree if the correct options are not activated.
With an incomplete delivery, some tools like autoreconf (used by packaging
utilities) fail, bringing packager to patch and patch again the sources.

With this change, the doc subtree is no more ignored and the reference
documentation is processed ony when the corresponding ./configure flags is
activated.

9 years agoEnsure thumbnails are created when opening JPG files.
Rob Norris [Sun, 12 Jul 2015 14:15:12 +0000 (15:15 +0100)]
Ensure thumbnails are created when opening JPG files.

9 years agoInsert parameter for Viking's version in viking.xml
Guilhem Bonnefille [Wed, 2 Sep 2015 20:27:30 +0000 (22:27 +0200)]
Insert parameter for Viking's version in viking.xml

Insertion is done by configure, so the file is renamed as viking.xml.in.
The most annoying with this change is probably to configure the XML editor
to handle xml.in files.

9 years agoFix 2 heap-buffer-overflows in trw_layer_download_map_along_track_cb()
Roman Lebedev [Fri, 28 Aug 2015 15:44:18 +0000 (18:44 +0300)]
Fix 2 heap-buffer-overflows in trw_layer_download_map_along_track_cb()

1 byte is less than sizeof(gpointer), so we do not have enough memory
for last NULL pointer.

This could be solved by braces, but since glib provides g_malloc_n(),
and this kind of bug can be avoided with it, so.

Signed-off-by: Rob Norris <rw_norris@hotmail.com>
9 years agoFix heap-buffer-overflow on Layers -> New GPS Layer
Roman Lebedev [Fri, 28 Aug 2015 15:19:16 +0000 (18:19 +0300)]
Fix heap-buffer-overflow on Layers -> New GPS Layer

Very typical issue, unfortunately, missing braces and we are
corrupting memory. It is better to use g_malloc_n() to avoid this.

Fixes following AddressSanitizer error:
==17766==ERROR: AddressSanitizer: heap-buffer-overflow on address 0x60b0008db6a0 at pc 0x00000048ba9e bp 0x7ffcf3e532a0 sp 0x7ffcf3e53298
WRITE of size 8 at 0x60b0008db6a0 thread T0
    0 0x48ba9d in gps_layer_inst_init /home/lebedevri/src/viking/src/vikgpslayer.c:386
    1 0x7fa95d549f98 in g_type_create_instance (/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0+0x31f98)
    2 0x7fa95d52d866  (/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0+0x15866)
    3 0x7fa95d52f25c in g_object_newv (/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0+0x1725c)
    4 0x7fa95d52f9f3 in g_object_new (/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0+0x179f3)
    5 0x48dca7 in vik_gps_layer_new /home/lebedevri/src/viking/src/vikgpslayer.c:659
    6 0x48e1f0 in vik_gps_layer_create /home/lebedevri/src/viking/src/vikgpslayer.c:419
    7 0x45d119 in vik_layer_create /home/lebedevri/src/viking/src/viklayer.c:229
    8 0x460463 in vik_layers_panel_new_layer /home/lebedevri/src/viking/src/viklayerspanel.c:461
    9 0x46982e in menu_addlayer_cb /home/lebedevri/src/viking/src/vikwindow.c:2411
    10 0x7fa95d5282d4 in g_closure_invoke (/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0+0x102d4)
    11 0x7fa95d53a03b  (/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0+0x2203b)
    12 0x7fa95d542697 in g_signal_emit_valist (/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0+0x2a697)
    13 0x7fa95d5428fe in g_signal_emit (/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0+0x2a8fe)
    14 0x7fa95f0ec8cf  (/usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0+0x748cf)
    15 0x7fa95d528503  (/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0+0x10503)
    16 0x7fa95d541fa6 in g_signal_emit_valist (/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0+0x29fa6)
    17 0x7fa95d5428fe in g_signal_emit (/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0+0x2a8fe)
    18 0x7fa95f2c0c55 in gtk_widget_activate (/usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0+0x248c55)
    19 0x7fa95f1bc98c in gtk_menu_shell_activate_item (/usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0+0x14498c)
    20 0x7fa95f1bcd2a  (/usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0+0x144d2a)
    21 0x7fa95f1aaa7e  (/usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0+0x132a7e)
    22 0x7fa95d5282d4 in g_closure_invoke (/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0+0x102d4)
    23 0x7fa95d539f31  (/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0+0x21f31)
    24 0x7fa95d5421a4 in g_signal_emit_valist (/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0+0x2a1a4)
    25 0x7fa95d5428fe in g_signal_emit (/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0+0x2a8fe)
    26 0x7fa95f2c1ecb  (/usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0+0x249ecb)
    27 0x7fa95f1a91c3 in gtk_propagate_event (/usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0+0x1311c3)
    28 0x7fa95f1a965a in gtk_main_do_event (/usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0+0x13165a)
    29 0x7fa95ee1abbb  (/usr/lib/x86_64-linux-gnu/libgdk-x11-2.0.so.0+0x5abbb)
    30 0x7fa95d251c3c in g_main_context_dispatch (/lib/x86_64-linux-gnu/libglib-2.0.so.0+0x49c3c)
    31 0x7fa95d251f1f  (/lib/x86_64-linux-gnu/libglib-2.0.so.0+0x49f1f)
    32 0x7fa95d252241 in g_main_loop_run (/lib/x86_64-linux-gnu/libglib-2.0.so.0+0x4a241)
    33 0x7fa95f1a85d6 in gtk_main (/usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0+0x1305d6)
    34 0x41829c in main /home/lebedevri/src/viking/src/main.c:259
    35 0x7fa959a69b44 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x21b44)
    36 0x417b78  (/home/lebedevri/src/viking/src/viking+0x417b78)

0x60b0008db6a1 is located 0 bytes to the right of 97-byte region [0x60b0008db640,0x60b0008db6a1)
allocated by thread T0 here:
    0 0x7fa95f96437a in malloc (/usr/lib/x86_64-linux-gnu/libasan.so.2+0x9437a)
    1 0x7fa95d257799 in g_malloc (/lib/x86_64-linux-gnu/libglib-2.0.so.0+0x4f799)
    2 0x7fa95d549f98 in g_type_create_instance (/usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0+0x31f98)

SUMMARY: AddressSanitizer: heap-buffer-overflow /home/lebedevri/src/viking/src/vikgpslayer.c:386 gps_layer_inst_init
Shadow bytes around the buggy address:
..
  0x0c16801136c0: fa fa fa fa fa fa fa fa 00 00 00 00 00 00 00 00
=>0x0c16801136d0: 00 00 00 00[01]fa fa fa fa fa fa fa fa fa 00 00
..
Shadow byte legend (one shadow byte represents 8 application bytes):
  Addressable:           00
  Partially addressable: 01 02 03 04 05 06 07
  Heap left redzone:       fa
==17766==ABORTING

Signed-off-by: Rob Norris <rw_norris@hotmail.com>
9 years agoSF Bugs#121: Additional race condition crash protection.
Rob Norris [Mon, 31 Aug 2015 21:55:13 +0000 (22:55 +0100)]
SF Bugs#121: Additional race condition crash protection.

Subsequent code where variables could point to invalid locations.

Note this is called manually, so much less likely to encounter the race condition.

9 years agoSF Bugs#121: Fix crash when invalidating previously acquired tiles.
Szymon Bigos [Mon, 31 Aug 2015 21:39:17 +0000 (22:39 +0100)]
SF Bugs#121: Fix crash when invalidating previously acquired tiles.

This race condition can most often be triggered by zooming in/out rapidly.

The fault is due to using accessing variables outside of the lock section of the memory cache.
This has been in the code since the initial lock adding commit [in 2008]
 (SHA:9b79169dba7cd4df6badebdda23a370064ebfafd)

Signed-off-by: Rob Norris <rw_norris@hotmail.com>
9 years agoQA: extract effective code from g_assert
Guilhem Bonnefille [Sun, 30 Aug 2015 21:05:00 +0000 (23:05 +0200)]
QA: extract effective code from g_assert

Typos spotted by coverity: https://scan.coverity.com/projects/viking

9 years agoDOC: Fix typo
Guilhem Bonnefille [Sun, 30 Aug 2015 13:29:46 +0000 (15:29 +0200)]
DOC: Fix typo

9 years agoDOC: fixed typo
Guilhem Bonnefille [Sat, 29 Aug 2015 17:35:08 +0000 (19:35 +0200)]
DOC: fixed typo

9 years agoFixed typo on the bzip2 option's name in configure
Guilhem Bonnefille [Sat, 22 Aug 2015 20:17:06 +0000 (22:17 +0200)]
Fixed typo on the bzip2 option's name in configure

To fix this error, there were two solutions:
- change the name of the option
- change the description
I decided to change the name of the option.

9 years ago[QA] Extra info on magic usage.
Rob Norris [Tue, 28 Jul 2015 23:58:22 +0000 (00:58 +0100)]
[QA] Extra info on magic usage.

9 years ago[QA] Extra info when using bzip2.
Rob Norris [Tue, 28 Jul 2015 23:55:06 +0000 (00:55 +0100)]
[QA] Extra info when using bzip2.

9 years agoSF BugsZZ#123: Fix bzip2 decompression on Windows.
Rob Norris [Tue, 28 Jul 2015 23:52:09 +0000 (00:52 +0100)]
SF BugsZZ#123: Fix bzip2 decompression on Windows.

Need to specify opening as a binary file otherwise BZ2 read fails on Windows.

Also remember to cleanup resources - particularly closing the file.
Otherwise on Windows the subsequent remove + rename file operations fail as the file is still open.

9 years agoFix Geocaches acquiring with latest geo-* software
Loic Pefferkorn [Mon, 13 Jul 2015 19:26:38 +0000 (21:26 +0200)]
Fix Geocaches acquiring with latest geo-* software

Signed-off-by: Rob Norris <rw_norris@hotmail.com>
9 years agoMapnik3 support.
Rob Norris [Fri, 10 Jul 2015 23:51:49 +0000 (00:51 +0100)]
Mapnik3 support.

C++ standard required is now C++11.
New location for plugins.
Revised code for accessing Mapnik parameters and some types/functions have been renamed.

9 years agoMore correct menu icon
Rob Norris [Fri, 10 Jul 2015 23:12:21 +0000 (00:12 +0100)]
More correct menu icon

9 years agoDon't attempt download if temporary file can't be opened.
Rob Norris [Fri, 10 Jul 2015 16:25:23 +0000 (17:25 +0100)]
Don't attempt download if temporary file can't be opened.

9 years ago[QA] Fix spelling in a comment and add function comment
Rob Norris [Fri, 10 Jul 2015 16:24:21 +0000 (17:24 +0100)]
[QA] Fix spelling in a comment and add function comment

9 years agoEnsure layer visibility is retained when copying layers.
Rob Norris [Tue, 7 Jul 2015 23:37:14 +0000 (00:37 +0100)]
Ensure layer visibility is retained when copying layers.

9 years agoSF Bugs#121: Provisional fix
Rob Norris [Tue, 7 Jul 2015 21:07:11 +0000 (22:07 +0100)]
SF Bugs#121: Provisional fix

Protection against storing corrupt pixbufs into the mapcache may help prevent crashes seen in #121.

9 years ago[WINDOWS] Fix reading zip files on Windows due to compiler alignment defaults changing.
Rob Norris [Tue, 7 Jul 2015 21:02:45 +0000 (22:02 +0100)]
[WINDOWS] Fix reading zip files on Windows due to compiler alignment defaults changing.

9 years agoRead zip files contents which are stored with no compression.
Rob Norris [Tue, 7 Jul 2015 21:01:00 +0000 (22:01 +0100)]
Read zip files contents which are stored with no compression.

9 years ago[QA] Protection from large malloc failures
Rob Norris [Tue, 7 Jul 2015 20:59:39 +0000 (21:59 +0100)]
[QA] Protection from large malloc failures

9 years agoFix logic for comparing timestamps
Rob Norris [Sun, 5 Jul 2015 22:13:09 +0000 (23:13 +0100)]
Fix logic for comparing timestamps

9 years ago[QA] Use correct type in sizeof function for memory allocation.
Rob Norris [Sun, 5 Jul 2015 22:11:36 +0000 (23:11 +0100)]
[QA] Use correct type in sizeof function for memory allocation.

9 years agoDon't retain GTK Dialogs in memory.
Rob Norris [Mon, 18 May 2015 22:45:24 +0000 (23:45 +0100)]
Don't retain GTK Dialogs in memory.

Not entirely sure why these were created and then shown/hidden as it doesn't save much time compared to simply creating them on demand.

Latest versions of GTK Dialog are more complicated and seemingly respawns a thread every few seconds (presumably to monitor if files have been created/deleted), irrespective whether the dialog is shown or not.

Thus now destroying it we avoid this unnecessary thread (re)creation overhead.

9 years agoRe-fix SF Features #82. Simplify usage of restoring the last used directory.
Rob Norris [Mon, 18 May 2015 22:30:44 +0000 (23:30 +0100)]
Re-fix SF Features #82. Simplify usage of restoring the last used directory.

9 years ago[QA] Don't need copy this string.
Rob Norris [Mon, 18 May 2015 22:25:44 +0000 (23:25 +0100)]
[QA] Don't need copy this string.

9 years ago[QA] Use map ids
Rob Norris [Sun, 31 May 2015 11:42:03 +0000 (12:42 +0100)]
[QA] Use map ids

9 years agoSF Bugs#122: Fix memory cache confusion with multiple "On Disk OSM Tile Format" maps
Rob Norris [Sun, 31 May 2015 11:41:16 +0000 (12:41 +0100)]
SF Bugs#122: Fix memory cache confusion with multiple "On Disk OSM Tile Format" maps

Ensure use of the correct map id comparison so the string to enable differing cache lookups is set.

9 years agoPrevent Gtk-Critical warnings after viewing the Track property dialog.
Rob Norris [Mon, 4 May 2015 10:09:41 +0000 (11:09 +0100)]
Prevent Gtk-Critical warnings after viewing the Track property dialog.

9 years agoSupport all values of GPS Mode fixType.
Rob Norris [Mon, 4 May 2015 10:08:05 +0000 (11:08 +0100)]
Support all values of GPS Mode fixType.

9 years ago[QA] Fix typo in (an unused) macro definition.
Rob Norris [Sun, 3 May 2015 13:53:42 +0000 (14:53 +0100)]
[QA] Fix typo in (an unused) macro definition.

9 years agokeep alpha channel on mapnik rendering, scale alpha to alpha of mapnik layer
Matthew Hague [Sat, 2 May 2015 11:43:11 +0000 (12:43 +0100)]
keep alpha channel on mapnik rendering, scale alpha to alpha of mapnik layer

Signed-off-by: Rob Norris <rw_norris@hotmail.com>
9 years agoSF Bugs#120: Fix Track drawing bug across the 180th Meridian.
Rob Norris [Sat, 2 May 2015 11:29:15 +0000 (12:29 +0100)]
SF Bugs#120: Fix Track drawing bug across the 180th Meridian.

9 years agoRed Hat Bugzilla – Bug 1210403: Only download and process one Bing attribution list.
Rob Norris [Sat, 2 May 2015 10:51:45 +0000 (11:51 +0100)]
Red Hat Bugzilla – Bug 1210403: Only download and process one Bing attribution list.

If making more than one download request to get the Bing attributions,
 but then updating (and using) a single instance variable from multiple threads,
 results in undefined behaviour (i.e. could lead to crashes).

Thus ensure only one request at a time is made.

9 years agoSimplify debug output of loaded Bing attributions.
Rob Norris [Sat, 2 May 2015 10:37:12 +0000 (11:37 +0100)]
Simplify debug output of loaded Bing attributions.

Don't need to print out every stage of the formulation of a single attribute structure.

9 years ago[QA] Make function names more unique to simplify use of debugger breakpoints.
Rob Norris [Sat, 2 May 2015 10:30:57 +0000 (11:30 +0100)]
[QA] Make function names more unique to simplify use of debugger breakpoints.

9 years agoMake simple GPSBabel filter options use the updated acquire framework options.
Rob Norris [Tue, 28 Apr 2015 21:20:39 +0000 (22:20 +0100)]
Make simple GPSBabel filter options use the updated acquire framework options.

These filter options don't have to be shell commands anymore and so should work cross platform.

9 years agoRework Acquire framework process function options for maintainability and understanding.
Rob Norris [Tue, 28 Apr 2015 21:18:11 +0000 (22:18 +0100)]
Rework Acquire framework process function options for maintainability and understanding.

Instead of overloaded parameters, use a structure with fields for the specific processing types and gpsbabel options.

Thus rename functions and parameter variables, update the usage thereof and simplify code as applicable.

9 years agoFix stability of some 32 bit builds.
Rob Norris [Mon, 20 Apr 2015 23:04:14 +0000 (00:04 +0100)]
Fix stability of some 32 bit builds.

Forcing 64bit types seems to improve reliability of these timestamp operations.

9 years agoFix tracks and routes not displayed when downloaded via the GPS Layer.
Rob Norris [Sat, 18 Apr 2015 09:01:50 +0000 (10:01 +0100)]
Fix tracks and routes not displayed when downloaded via the GPS Layer.

Need to calculate the bounding box of these, which is performed in the post read function.

9 years agoFix availability of the Google routing direction engine
Rob Norris [Thu, 16 Apr 2015 22:56:07 +0000 (23:56 +0100)]
Fix availability of the Google routing direction engine

9 years agoPrevent crashing on direction requests when no engine is available.
Rob Norris [Thu, 16 Apr 2015 22:54:38 +0000 (23:54 +0100)]
Prevent crashing on direction requests when no engine is available.

9 years ago[QA] Rename routing engine function as it gives URLs
Rob Norris [Thu, 16 Apr 2015 22:53:28 +0000 (23:53 +0100)]
[QA] Rename routing engine function as it gives URLs

9 years agoFix display of map tile source information when it has extended characters.
Rob Norris [Thu, 16 Apr 2015 19:33:25 +0000 (20:33 +0100)]
Fix display of map tile source information when it has extended characters.

Since the dialog text uses Pango markup, need to escape the input string.

9 years ago[WINDOWS] Remove usage of 'filter with' functions as these don't work in Windows.
Rob Norris [Thu, 16 Apr 2015 19:30:17 +0000 (20:30 +0100)]
[WINDOWS] Remove usage of 'filter with' functions as these don't work in Windows.

Since these functions are bash shell commands they only work on Unix like systems.

9 years ago[WINDOWS] Fix a missing \ in a potential gpsbabel location.
Rob Norris [Thu, 16 Apr 2015 19:28:13 +0000 (20:28 +0100)]
[WINDOWS] Fix a missing \ in a potential gpsbabel location.

9 years agoUpdate Help to wiki conversion method as the wiki is now in Markdown.
Rob Norris [Thu, 16 Apr 2015 19:26:37 +0000 (20:26 +0100)]
Update Help to wiki conversion method as the wiki is now in Markdown.

9 years agodatasources.xml file should be packaged
Rob Norris [Thu, 16 Apr 2015 19:25:18 +0000 (20:25 +0100)]
datasources.xml file should be packaged

9 years agoFix warning in a test program.
Rob Norris [Sat, 4 Apr 2015 15:29:42 +0000 (16:29 +0100)]
Fix warning in a test program.

9 years ago[DOC] Update copyright year
Rob Norris [Sat, 4 Apr 2015 15:28:24 +0000 (16:28 +0100)]
[DOC] Update copyright year

9 years agoFix potential broken builds.
Rob Norris [Sun, 29 Mar 2015 22:47:45 +0000 (23:47 +0100)]
Fix potential broken builds.

Annoyingly g_str_to_ascii() is actually a recent addition to GLIB,
 despite the manual not stating which version it is available in
 (hence I thought it was always available).

9 years agoReleasing Viking 1.6
Rob Norris [Sun, 29 Mar 2015 21:40:28 +0000 (22:40 +0100)]
Releasing Viking 1.6

9 years agoFix new test programs to work under 'make distcheck'
Rob Norris [Sun, 29 Mar 2015 21:23:58 +0000 (22:23 +0100)]
Fix new test programs to work under 'make distcheck'

9 years agoFix renamed file
Rob Norris [Sun, 29 Mar 2015 21:20:42 +0000 (22:20 +0100)]
Fix renamed file

9 years ago[DOC] Improve formal docbook compliance.
Rob Norris [Sun, 29 Mar 2015 21:19:12 +0000 (22:19 +0100)]
[DOC] Improve formal docbook compliance.

9 years agoAdd more files that have i18n.
Rob Norris [Sun, 29 Mar 2015 21:16:51 +0000 (22:16 +0100)]
Add more files that have i18n.

9 years agoDebian #746815: Fix loading image thumbnails when some Unicode chars in the pathname
Rob Norris [Sun, 29 Mar 2015 13:23:35 +0000 (14:23 +0100)]
Debian #746815: Fix loading image thumbnails when some Unicode chars in the pathname

9 years ago[QA] White space fixes
Rob Norris [Sun, 29 Mar 2015 12:56:59 +0000 (13:56 +0100)]
[QA] White space fixes

9 years agoDetect gdk_pixbuf_save failures in thumbnail generation
Rob Norris [Sun, 29 Mar 2015 12:56:34 +0000 (13:56 +0100)]
Detect gdk_pixbuf_save failures in thumbnail generation

9 years agoDebian #761966: Remove an incorrect accelerator in the German translation.
Rob Norris [Sun, 29 Mar 2015 11:56:21 +0000 (12:56 +0100)]
Debian #761966: Remove an incorrect accelerator in the German translation.

9 years agoDocument previous translation updates
Rob Norris [Fri, 6 Mar 2015 21:36:00 +0000 (21:36 +0000)]
Document previous translation updates

9 years agoImport Launchpad translation updates
Rob Norris [Fri, 6 Mar 2015 21:34:58 +0000 (21:34 +0000)]
Import Launchpad translation updates

9 years ago[DOC] Interpolate Times
Rob Norris [Sat, 28 Mar 2015 14:53:30 +0000 (14:53 +0000)]
[DOC] Interpolate Times

9 years agoPrevent potential infinite speeds in interpolating time function.
Rob Norris [Sat, 28 Mar 2015 11:05:14 +0000 (11:05 +0000)]
Prevent potential infinite speeds in interpolating time function.

Some points may end up with the same time so simply remove them.

9 years agoInterpolate timestamps of a track between first and last trackpoint
Christian Müller [Sat, 28 Mar 2015 10:02:14 +0000 (10:02 +0000)]
Interpolate timestamps of a track between first and last trackpoint

Signed-off-by: Rob Norris <rw_norris@hotmail.com>
9 years agoExtend TrackWaypoint layer tooltip to include the total length of routes.
Rob Norris [Sat, 28 Mar 2015 09:34:10 +0000 (09:34 +0000)]
Extend TrackWaypoint layer tooltip to include the total length of routes.

9 years agoFix mislabelled distance markers when using Nautical Miles.
Rob Norris [Sat, 28 Mar 2015 09:32:44 +0000 (09:32 +0000)]
Fix mislabelled distance markers when using Nautical Miles.

Add the missing case for Nautical Miles.

9 years ago[QA] Fix (an unused) function parameter type.
Rob Norris [Sat, 28 Mar 2015 09:25:54 +0000 (09:25 +0000)]
[QA] Fix (an unused) function parameter type.

9 years agoEnable a method to copy the time in the Trackpoint and Waypoint Edit dialogs.
Rob Norris [Sat, 28 Mar 2015 00:57:37 +0000 (00:57 +0000)]
Enable a method to copy the time in the Trackpoint and Waypoint Edit dialogs.

9 years agoEnable invoking Web Tools via right click menus on selected layers or points.
Rob Norris [Fri, 27 Mar 2015 23:47:49 +0000 (23:47 +0000)]
Enable invoking Web Tools via right click menus on selected layers or points.

Extend Web Tools to accept a coordinate parameter,
 so that it can use that location in forming the URL.

9 years ago[QA] Prevent a Gtk-Critical warning.
Rob Norris [Sat, 28 Mar 2015 11:01:47 +0000 (11:01 +0000)]
[QA] Prevent a Gtk-Critical warning.

9 years ago[QA] Update comment regarding GPSBabel version for Overpass API query result handling.
Rob Norris [Fri, 27 Mar 2015 23:05:47 +0000 (23:05 +0000)]
[QA] Update comment regarding GPSBabel version for Overpass API query result handling.

9 years agoImprove layout of the Edit Trackpoint dialog.
Christian Müller [Thu, 19 Mar 2015 21:28:39 +0000 (21:28 +0000)]
Improve layout of the Edit Trackpoint dialog.

Signed-off-by: Rob Norris <rw_norris@hotmail.com>
9 years agoFix initialization so that preferences aren't accessed too early.
Rob Norris [Wed, 18 Mar 2015 01:14:57 +0000 (01:14 +0000)]
Fix initialization so that preferences aren't accessed too early.

Use a two stage pass, since several initialization functions now read preferences as part of their process.

This is due to the first time a_preferences_get() is called it loads any preferences values from disk,
 but of course for preferences not registered yet it can't actually understand them.
Thus subsequent initial attempts to get unregistered preferences would not return the expected values.

9 years agoFix toolbar preference types
Rob Norris [Wed, 18 Mar 2015 00:38:36 +0000 (00:38 +0000)]
Fix toolbar preference types

9 years agoFix changed Wikimedia Toolserver GeoHack URL
Rob Norris [Tue, 17 Mar 2015 23:05:15 +0000 (23:05 +0000)]
Fix changed Wikimedia Toolserver GeoHack URL

9 years agoAdd built in support for OSM Query requests.
Rob Norris [Tue, 17 Mar 2015 22:54:32 +0000 (22:54 +0000)]
Add built in support for OSM Query requests.

9 years ago[QA] Normalize OSM URL.
Rob Norris [Tue, 17 Mar 2015 22:51:36 +0000 (22:51 +0000)]
[QA] Normalize OSM URL.

9 years ago[QA] Improve tool_edit_trackpoint_click() comments
Rob Norris [Tue, 17 Mar 2015 22:34:49 +0000 (22:34 +0000)]
[QA] Improve tool_edit_trackpoint_click() comments

9 years agoAdd advanced setting to create TrackWaypoint layers without asking for details.
Rob Norris [Tue, 17 Mar 2015 22:26:11 +0000 (22:26 +0000)]
Add advanced setting to create TrackWaypoint layers without asking for details.

9 years agoFix enable selecting trackpoints/routepoints via Edit Trackpoint tool when the other...
Rob Norris [Mon, 16 Mar 2015 20:54:00 +0000 (20:54 +0000)]
Fix enable selecting trackpoints/routepoints via Edit Trackpoint tool when the other kind is invisible.

9 years agoSF Bugs#118: Fix route point selection via the Edit Trackpoint tool.
Rob Norris [Mon, 16 Mar 2015 20:52:17 +0000 (20:52 +0000)]
SF Bugs#118: Fix route point selection via the Edit Trackpoint tool.

9 years agoAllow re-sizing the width of the layers panel to smaller than the initial value.
Rob Norris [Mon, 16 Mar 2015 20:08:58 +0000 (20:08 +0000)]
Allow re-sizing the width of the layers panel to smaller than the initial value.

9 years agoSF Bugs#117: Confirm capability with GPSD_API_MAJOR_VERSION=6 (gpsd 3.12 / libgps...
Rob Norris [Mon, 9 Mar 2015 23:25:15 +0000 (23:25 +0000)]
SF Bugs#117: Confirm capability with GPSD_API_MAJOR_VERSION=6 (gpsd 3.12 / libgps.so.22)

9 years ago[WINDOWS] Update to GPSBabel 1.5.2
Rob Norris [Sun, 8 Mar 2015 11:27:18 +0000 (11:27 +0000)]
[WINDOWS] Update to GPSBabel 1.5.2

9 years ago[WINDOWS] Enable faster building by using all available CPUs.
Rob Norris [Sun, 8 Mar 2015 11:26:22 +0000 (11:26 +0000)]
[WINDOWS] Enable faster building by using all available CPUs.

9 years agoUse the correct variable name!
Rob Norris [Sun, 8 Mar 2015 10:54:38 +0000 (10:54 +0000)]
Use the correct variable name!

Fixes crashing under Windows and probably more reliable sublayer ordering.

9 years ago[QA] Force integer type in calls to abs() as x,y in GdkEventButton are doubles.
Rob Norris [Fri, 6 Mar 2015 19:04:44 +0000 (19:04 +0000)]
[QA] Force integer type in calls to abs() as x,y in GdkEventButton are doubles.