]> git.street.me.uk Git - andy/viking.git/log
andy/viking.git
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.

10 years agoOpen picture associated with a waypoint on double click by the select tool.
Rob Norris [Wed, 23 Oct 2013 23:51:55 +0000 (00:51 +0100)]
Open picture associated with a waypoint on double click by the select tool.

10 years agoUpdate to allow C99 mode
Rob Norris [Mon, 30 Sep 2013 21:59:27 +0000 (22:59 +0100)]
Update to allow C99 mode

10 years agoUpdate to at least Gtk2.16.
Rob Norris [Sun, 15 Sep 2013 20:58:11 +0000 (21:58 +0100)]
Update to at least Gtk2.16.

Use later method for getting allocated widget sizes.

10 years agoRefactor: update OSM track upload
Rob Norris [Sat, 26 Oct 2013 10:15:30 +0000 (11:15 +0100)]
Refactor: update OSM track upload

10 years agoMerge branch 'Refactor'
Rob Norris [Fri, 25 Oct 2013 19:30:19 +0000 (20:30 +0100)]
Merge branch 'Refactor'

10 years ago[QA] Remove unnecessary g_critical()
Rob Norris [Wed, 23 Oct 2013 23:42:13 +0000 (00:42 +0100)]
[QA] Remove unnecessary g_critical()

10 years ago[QA] Remove compiler warning when building for Windows
Rob Norris [Tue, 22 Oct 2013 22:50:21 +0000 (23:50 +0100)]
[QA] Remove compiler warning when building for Windows

10 years agoRefactor: Create and use functions to access track start or end trackpoints.
Rob Norris [Thu, 10 Oct 2013 17:19:02 +0000 (18:19 +0100)]
Refactor: Create and use functions to access track start or end trackpoints.

10 years agoRefactor: TrackWaypoint sublayer menu callback functions.
Rob Norris [Mon, 30 Sep 2013 23:25:17 +0000 (00:25 +0100)]
Refactor: TrackWaypoint sublayer menu callback functions.

10 years agoRefactor: TrackWaypoint layer menu callback functions.
Rob Norris [Mon, 30 Sep 2013 21:03:39 +0000 (22:03 +0100)]
Refactor: TrackWaypoint layer menu callback functions.

10 years agoTidy update signal handler in VikAggregate Layer.
Rob Norris [Wed, 18 Sep 2013 21:36:49 +0000 (22:36 +0100)]
Tidy update signal handler in VikAggregate Layer.

10 years agoImprove update signal handler usage in GPS Layer.
Rob Norris [Wed, 18 Sep 2013 21:34:29 +0000 (22:34 +0100)]
Improve update signal handler usage in GPS Layer.

Remove unnecessary addition of update signal handler on copy,
 which is why previously the number on disconnect was greater than expected.

10 years agoRemove never used GPS layer drag drop request function.
Rob Norris [Wed, 18 Sep 2013 21:23:54 +0000 (22:23 +0100)]
Remove never used GPS layer drag drop request function.

Seemingly never used and it's not clear what it was meant to achieve.
Even if it was invoked, it would have aborted the program anyway:
 as it was the only user of vik_gps_layer_delete()
 which would have failed on the number of disconnect signals never equalling 1.

So remove vik_gps_layer_delete() too.

10 years agoOnly the TrackWaypoint layer should handle it's internal callback type.
Rob Norris [Wed, 28 Aug 2013 20:44:05 +0000 (21:44 +0100)]
Only the TrackWaypoint layer should handle it's internal callback type.

10 years agoRefactor: passed around map layer menu values
Rob Norris [Thu, 12 Sep 2013 19:21:59 +0000 (20:21 +0100)]
Refactor: passed around map layer menu values

10 years agoRefactor: passed around aggregate menu values
Rob Norris [Thu, 12 Sep 2013 19:21:39 +0000 (20:21 +0100)]
Refactor: passed around aggregate menu values

10 years agoMove man files from doc to help directory so they will be included in the output...
Rob Norris [Mon, 21 Oct 2013 22:14:05 +0000 (23:14 +0100)]
Move man files from doc to help directory so they will be included in the output from make distcheck.

10 years agoUpdate spec file
Rob Norris [Mon, 21 Oct 2013 22:59:53 +0000 (23:59 +0100)]
Update spec file

10 years ago[QA] Remove build references to things that don't exist anymore.
Rob Norris [Mon, 21 Oct 2013 22:05:21 +0000 (23:05 +0100)]
[QA] Remove build references to things that don't exist anymore.

10 years agoSF Bugs #104: Fix GStatBuf not available on Glib < 2.26
Rob Norris [Wed, 23 Oct 2013 23:49:13 +0000 (00:49 +0100)]
SF Bugs #104: Fix GStatBuf not available on Glib < 2.26

10 years agoFix the display of speed in statusbar output.
Rob Norris [Sun, 20 Oct 2013 10:43:20 +0000 (11:43 +0100)]
Fix the display of speed in statusbar output.

10 years agoQA: factorize trw_layer_acquire* functions
Guilhem Bonnefille [Tue, 22 Oct 2013 20:05:44 +0000 (22:05 +0200)]
QA: factorize trw_layer_acquire* functions

The module viktrwlayer is really huge. Any factorisation seems good,
even really small like this.

Furthermore, such minor refactoring would probably help to find
a more significant refactoring.

10 years agoFix translatable string with variable argument
Guilhem Bonnefille [Sat, 19 Oct 2013 20:48:57 +0000 (22:48 +0200)]
Fix translatable string with variable argument

A good practice in translation is to avoid to concat strings but use
%s C format argument. This allow translators to decide where to put the
argument in the translated string.

10 years agoFix 'export_to_common' dialog
Guilhem Bonnefille [Sat, 19 Oct 2013 20:39:42 +0000 (22:39 +0200)]
Fix 'export_to_common' dialog

Use a standard file chooser. This ensure to keep the right aspect of
the dialog (similar width and height).

10 years agoFix configure error message
Guilhem Bonnefille [Sat, 19 Oct 2013 19:12:34 +0000 (21:12 +0200)]
Fix configure error message

10 years agoMerge branch 'MBTilesRead'
Rob Norris [Wed, 16 Oct 2013 22:56:39 +0000 (23:56 +0100)]
Merge branch 'MBTilesRead'

10 years ago[WINDOWS] More reliable rebuilds.
Rob Norris [Fri, 11 Oct 2013 18:56:55 +0000 (19:56 +0100)]
[WINDOWS] More reliable rebuilds.

10 years ago[WINDOWS] Build with SQLite DLL 3.8.0.2
Rob Norris [Fri, 11 Oct 2013 18:56:16 +0000 (19:56 +0100)]
[WINDOWS] Build with SQLite DLL 3.8.0.2

10 years ago[QA] Fix typo + grammar in a comment
Rob Norris [Mon, 30 Sep 2013 18:43:04 +0000 (19:43 +0100)]
[QA] Fix typo + grammar in a comment

10 years agoAllow creating a File Chooser dialog with optional file filters.
Rob Norris [Mon, 30 Sep 2013 18:42:41 +0000 (19:42 +0100)]
Allow creating a File Chooser dialog with optional file filters.

10 years agoExpand mapcache hash to include a hash of the map filename (if there is one).
Rob Norris [Fri, 27 Sep 2013 23:43:53 +0000 (00:43 +0100)]
Expand mapcache hash to include a hash of the map filename (if there is one).

This enables having multiple MBTiles (or multiple on Disk OSM Tile Format) Maps,
 since they each respectively have the same Map Id number,
 previously the hash key would have clashed.

10 years agoDirectly support reading from MBTile files using libsqlite3.
Rob Norris [Thu, 26 Sep 2013 19:13:29 +0000 (20:13 +0100)]
Directly support reading from MBTile files using libsqlite3.

10 years agoEnable widget sensitivity in the layer properties to be controlled.
Rob Norris [Thu, 26 Sep 2013 18:13:42 +0000 (19:13 +0100)]
Enable widget sensitivity in the layer properties to be controlled.

Some settings are only relevant when other settings are in the right state.

Allow control of the sensitivities to be adjusted when changes to the widget values have been made.
Changes to each widget have to be considered separately (referenced via the parameter enumeration numbers).

Also expose the label widgets so they many be controlled.

ATM control these settings:
Maps:
 Auto Download -> Auto Download Only Missing
TrackWaypoints:
 Waypoint Draw Labels -> Font Size, Colour, BG Colour & BG Translucency.
 Waypoint Draw Image -> Image Size, Image Alpha + Cache Size.
 Track Draw Mode -> All Tracks Colour

NB Since most track settings have been split across into the Advanced tab,
 IMHO controlling sensitivities of widgets in another tab is not obvious,
 so these relationships have not been changed.

10 years agoReleasing Viking 1.5
Rob Norris [Sun, 13 Oct 2013 20:02:41 +0000 (21:02 +0100)]
Releasing Viking 1.5

10 years agoRemove OSM web link layer options so you now get what ever is the OSM default.
Rob Norris [Sat, 12 Oct 2013 10:00:06 +0000 (11:00 +0100)]
Remove OSM web link layer options so you now get what ever is the OSM default.

At some point in time these layer options must have changed in OSM,
 as a long time ago (late 2008) I think our intention was meant to go to Mapnik view,
 however it would now give the Transport Layer map (which didn't exist back then).

10 years agoAdd beginnings of Slovak translation.
Rob Norris [Sun, 13 Oct 2013 19:51:43 +0000 (20:51 +0100)]
Add beginnings of Slovak translation.

Translations contributed by:
  Ján Neščivera <jan.nescivera@gmail.com>

Signed-off-by: Rob Norris <rw_norris@hotmail.com>
10 years agoAdd Translation for Basque
Rob Norris [Sun, 13 Oct 2013 19:49:19 +0000 (20:49 +0100)]
Add Translation for Basque

Very Good coverage.

Translations contributed by:
 alexgabi
 gorkaazk <gorkaazkarate@gmail.com>
 Alaitz Gabilondo <alaitzgabi@gmail.com>

Signed-off-by: Rob Norris <rw_norris@hotmail.com>
10 years agoDocument previous translation updates
Rob Norris [Sun, 13 Oct 2013 19:35:11 +0000 (20:35 +0100)]
Document previous translation updates

10 years agoImport Launchpad translation updates
Rob Norris [Sun, 13 Oct 2013 19:34:04 +0000 (20:34 +0100)]
Import Launchpad translation updates

10 years agoFix "figure" element in documentation
Guilhem Bonnefille [Sun, 13 Oct 2013 13:55:22 +0000 (15:55 +0200)]
Fix "figure" element in documentation

This fix allows compilation, but I'm not sure it correctly reveal the
intention of the author.

10 years agoFix simple typo in documentation
Guilhem Bonnefille [Sun, 13 Oct 2013 13:54:18 +0000 (15:54 +0200)]
Fix simple typo in documentation

10 years agoFix missing declaration in po/POTFILES.in
Guilhem Bonnefille [Sun, 13 Oct 2013 13:30:50 +0000 (15:30 +0200)]
Fix missing declaration in po/POTFILES.in

10 years agoFix crashing if attempting to Extend a Route via the Route Finder when the route...
Rob Norris [Thu, 10 Oct 2013 19:37:01 +0000 (20:37 +0100)]
Fix crashing if attempting to Extend a Route via the Route Finder when the route has no points.

10 years agoSF Support Requests#21: Make default print size full page.
Rob Norris [Thu, 10 Oct 2013 19:35:07 +0000 (20:35 +0100)]
SF Support Requests#21: Make default print size full page.

10 years agoFix: replace home made macro by GLib one
Guilhem Bonnefille [Sat, 5 Oct 2013 22:33:48 +0000 (00:33 +0200)]
Fix: replace home made macro by GLib one

10 years agoFix: include file.h in file.c
Guilhem Bonnefille [Sat, 5 Oct 2013 22:32:46 +0000 (00:32 +0200)]
Fix: include file.h in file.c

10 years agoFix export dialog title
Guilhem Bonnefille [Sat, 5 Oct 2013 09:47:35 +0000 (11:47 +0200)]
Fix export dialog title

10 years agoSF Features#116: Add an Acquire From URL option.
Rob Norris [Fri, 4 Oct 2013 18:33:40 +0000 (19:33 +0100)]
SF Features#116: Add an Acquire From URL option.

D'oh!.
Remember to add the new file.

10 years agoFix gpsbabel capabilities parsing
Guilhem Bonnefille [Thu, 3 Oct 2013 21:52:20 +0000 (23:52 +0200)]
Fix gpsbabel capabilities parsing

The read BabelMode was incorrect and resulted in random data.

With the fix, BabelMode is nicely affected.

Check possible with (due to new g_debug messages):
src/viking -d 2>&1 | less

10 years agoQA: minor refactor to reduce code
Guilhem Bonnefille [Wed, 2 Oct 2013 21:01:06 +0000 (23:01 +0200)]
QA: minor refactor to reduce code

10 years agoSF Features#116: Add an Acquire From URL option.
Rob Norris [Wed, 2 Oct 2013 20:27:44 +0000 (21:27 +0100)]
SF Features#116: Add an Acquire From URL option.

Add a dialog to download a file from a specific URL directly into Viking,
using the datasource methods.

By default the downloaded file will be opened as a GPX,
 but any file type supported by GPSBabel can be specified
 (as used by the Import from File option).

If the URL does not resolve, does not return a file, or the file can not be interpreted,
 then simply this will give 'Acquisition Error'

10 years agoFix not moving the viewport to the data when using TrackWaypoint->Acquire methods.
Rob Norris [Wed, 2 Oct 2013 01:52:06 +0000 (02:52 +0100)]
Fix not moving the viewport to the data when using TrackWaypoint->Acquire methods.

Autoview relies on the bounds being set up, thus is must happen after the post read stage.

10 years agoFix the default value for getting the GPS Protocol in acquire.
Rob Norris [Wed, 2 Oct 2013 01:45:54 +0000 (02:45 +0100)]
Fix the default value for getting the GPS Protocol in acquire.

Not quite sure what I was thinking when I originally wrote this,
 as the 'garmin_entry' variable is never really used.
Subsequently I have had to replace my GPS, which now uses the file system,
 so I don't use the GPS Protocol method any more so I didn't notice this issue.

10 years agoAdd tooltip to help align the name in TrackWaypoint->Acquire menu to the File->Acquir...
Rob Norris [Sun, 29 Sep 2013 09:58:55 +0000 (10:58 +0100)]
Add tooltip to help align the name in TrackWaypoint->Acquire menu to the File->Acquire menu

10 years ago[DOC] Mention ability to set a waypoint's altitude from DEM data.
Rob Norris [Sat, 28 Sep 2013 13:01:12 +0000 (14:01 +0100)]
[DOC] Mention ability to set a waypoint's altitude from DEM data.

10 years agoFix incorrectly updating files during geotagging that are read only.
Rob Norris [Sat, 28 Sep 2013 12:21:20 +0000 (13:21 +0100)]
Fix incorrectly updating files during geotagging that are read only.

No need to remove the file first (which always works),
 since the file is truncated on successful fopen(..,"wb").
Now the fopen() call will not succeed on a read only file and so will not attempt to write.