]> git.street.me.uk Git - andy/viking.git/log
andy/viking.git
11 years agoAdd configuration to generate help in HTML format
Rob Norris [Wed, 7 Nov 2012 18:32:46 +0000 (18:32 +0000)]
Add configuration to generate help in HTML format

This uses the docbook xml source.
ATM writes it all to a single html page.

11 years agoAdd copyright of Rob Norris in documentation and update the year
Rob Norris [Tue, 16 Oct 2012 09:35:35 +0000 (10:35 +0100)]
Add copyright of Rob Norris in documentation and update the year

Add auto generated document date

11 years agoRemove document which relates to using a bespoke version of Viking.
Rob Norris [Tue, 2 Oct 2012 13:15:20 +0000 (14:15 +0100)]
Remove document which relates to using a bespoke version of Viking.

11 years agoRemove unnecessary .*config files.
Rob Norris [Tue, 2 Oct 2012 13:12:50 +0000 (14:12 +0100)]
Remove unnecessary .*config files.

11 years agoRemove old and unused gpsd pixmap
Rob Norris [Tue, 2 Oct 2012 13:07:50 +0000 (14:07 +0100)]
Remove old and unused gpsd pixmap

11 years agoAllow a simple Waypoint text size to be set per layer.
Rob Norris [Thu, 25 Oct 2012 17:43:15 +0000 (18:43 +0100)]
Allow a simple Waypoint text size to be set per layer.

A choice of "Extra Extra Small", "Extra Small", "Small", "Medium",
"Large", "Extra Large" or "Extra Extra Large" is allowed.

This is derived from the Pango Markup options.

When saved to a .vik file these are held as an enum integer value.

11 years agoUse default system font in manually created layouts.
Rob Norris [Thu, 25 Oct 2012 17:40:39 +0000 (18:40 +0100)]
Use default system font in manually created layouts.

11 years agoTidy some functions to use the VikTrack type properly
Rob Norris [Sun, 14 Oct 2012 21:03:02 +0000 (22:03 +0100)]
Tidy some functions to use the VikTrack type properly

11 years agoAdd file filter for Viking type files in the save as function.
Rob Norris [Fri, 2 Nov 2012 00:02:01 +0000 (00:02 +0000)]
Add file filter for Viking type files in the save as function.

11 years agoWhen downloading maps along a track always display the maps when available!
Rob Norris [Sun, 14 Oct 2012 23:58:02 +0000 (00:58 +0100)]
When downloading maps along a track always display the maps when available!

11 years agoAdd support of GPX comments and descriptions for tracks and waypoints.
Rob Norris [Wed, 10 Oct 2012 23:51:12 +0000 (00:51 +0100)]
Add support of GPX comments and descriptions for tracks and waypoints.

Show descriptions in the appropriate properties dialog for the track or waypoint and allow editting of the text.
Enable saving in .vik (+gpspoint) files.

11 years agoAdd simple user feedback about the image generation process.
Rob Norris [Wed, 31 Oct 2012 20:13:00 +0000 (20:13 +0000)]
Add simple user feedback about the image generation process.

Using large areas (i.e. over 2000x2000) can take some time to process.
Unfortunately current method can not be run in the background.
So display a message before and after the process to help the user understand what is happening/happened,
 including failure outcomes.

11 years agoAdd basic image type file filters of JPG and PNG when saving to an image file.
Rob Norris [Wed, 31 Oct 2012 20:02:13 +0000 (20:02 +0000)]
Add basic image type file filters of JPG and PNG when saving to an image file.

Default to PNG, as that is the dialog option default.

11 years agoRework draw_to_image_file() methods to ask for filename later in the process.
Rob Norris [Mon, 29 Oct 2012 18:52:24 +0000 (18:52 +0000)]
Rework draw_to_image_file() methods to ask for filename later in the process.

11 years agoSF#2831256: Allow generation of large pixel sized images.
Rob Norris [Mon, 29 Oct 2012 01:04:05 +0000 (01:04 +0000)]
SF#2831256: Allow generation of large pixel sized images.

Also actually check returned pixmap reference is valid.

Unfortunately no simple way to tell ahead of time what the maximum allowed size is.
Thus enable trapping of X errors on Linux like systems and simply ignore them.
AFAIK no simple way to trap such memory allocation errors on Windows,
 so add warning on save to image file dialog about 'large area may crash the program',
 on Windows builds only.

11 years agoCorrect spelling of map cache.
Rob Norris [Mon, 29 Oct 2012 00:13:53 +0000 (00:13 +0000)]
Correct spelling of map cache.

11 years agoBump up default map cache size to 128MB and allow setting to 1GB.
Rob Norris [Mon, 29 Oct 2012 00:12:56 +0000 (00:12 +0000)]
Bump up default map cache size to 128MB and allow setting to 1GB.

Set configure to use map cache size in MB rather than in unwieldy bytes.

11 years agoAdd acquire from file into the TrackWaypoint menu options.
Rob Norris [Sat, 20 Oct 2012 00:15:28 +0000 (01:15 +0100)]
Add acquire from file into the TrackWaypoint menu options.

11 years agoFixup and simplify GPX saving tracks in timestamp order.
Rob Norris [Sun, 4 Nov 2012 11:32:05 +0000 (11:32 +0000)]
Fixup and simplify GPX saving tracks in timestamp order.

Was broken by commit SHA1:ce4bd1cfaab763dad3aab9b20edce22eb57aac0f

11 years agoMerge branch 'TrackWaypoint-GPS-Up'
Rob Norris [Fri, 2 Nov 2012 21:50:11 +0000 (21:50 +0000)]
Merge branch 'TrackWaypoint-GPS-Up'

11 years agoSF#356778: Download Map Tiles using F5
Rob Norris [Fri, 12 Oct 2012 12:09:49 +0000 (13:09 +0100)]
SF#356778: Download Map Tiles using F5

Enable refreshing and redownloading the upper most visible map layer via standard keyboard shortcuts.
Enable key press event on the layers panel to, so that they can be processed.
Expose download map onscreen method in maps layer
Use F5 and Ctrl+r to refresh maps.
Also add Ctrl+F5 and Ctrl+Shift+R to redownload all maps.
Move show Scale Indicator toggle to Shift+F5.

11 years ago[DOC] Some help detail about keyboard shortcuts.
Rob Norris [Fri, 12 Oct 2012 11:45:06 +0000 (12:45 +0100)]
[DOC] Some help detail about keyboard shortcuts.

11 years agoMinor tidy ups.
Rob Norris [Thu, 11 Oct 2012 12:59:21 +0000 (13:59 +0100)]
Minor tidy ups.

11 years agoSF#3575828: Ensure new track drawing uses track property line thickness
Rob Norris [Wed, 10 Oct 2012 10:12:24 +0000 (11:12 +0100)]
SF#3575828: Ensure new track drawing uses track property line thickness

11 years agoNew Desktop Menu Specification[1] finally has appropriate Category for map applicatio...
Stanislav Brabec [Thu, 25 Oct 2012 22:40:47 +0000 (23:40 +0100)]
New Desktop Menu Specification[1] finally has appropriate Category for map applications: Maps

[1] http://specifications.freedesktop.org/menu-spec/menu-spec-latest.html#main-category-registry

Signed-off-by: Rob Norris <rw_norris@hotmail.com>
11 years agoEnsures the highlight gets drawn around waypoint image when waypoint is near the...
Rob Norris [Sun, 21 Oct 2012 13:52:16 +0000 (14:52 +0100)]
Ensures the highlight gets drawn around waypoint image when waypoint is near the screen edge

11 years agoAnother bit of Google Directions needs ifdef disabling
Rob Norris [Fri, 19 Oct 2012 23:00:41 +0000 (00:00 +0100)]
Another bit of Google Directions needs ifdef disabling

11 years agoAllow GPS Upload from any selected TrackWaypoint layer or individual track.
Rob Norris [Sun, 30 Sep 2012 18:40:12 +0000 (19:40 +0100)]
Allow GPS Upload from any selected TrackWaypoint layer or individual track.

Use the newly exposed GPS datasource GUI to get GPS options and then pass on to the newly exposed GPS layer communication method to handle the actual processing and feedback.

Create new submenu for Uploading, putting the GPS Upload there and moving the OSM Upload there too.

11 years agoExpose methods to get details about options from the GPS datasource selection GUI.
Rob Norris [Sun, 30 Sep 2012 18:36:26 +0000 (19:36 +0100)]
Expose methods to get details about options from the GPS datasource selection GUI.

11 years agoOnly create dialog in GPS communication layer if we're going to do some transferring
Rob Norris [Sun, 30 Sep 2012 18:18:50 +0000 (19:18 +0100)]
Only create dialog in GPS communication layer if we're going to do some transferring

11 years agoAdd option to turn off GPS device in GPS Layer communication.
Rob Norris [Sun, 30 Sep 2012 18:17:37 +0000 (19:17 +0100)]
Add option to turn off GPS device in GPS Layer communication.

11 years agoOn all GPS Uploads/Downloads always update progress status with 'Status: Working...'
Rob Norris [Sun, 30 Sep 2012 18:13:09 +0000 (19:13 +0100)]
On all GPS Uploads/Downloads always update progress status with 'Status: Working...'

Otherwise still says 'Status: detecting gpsbabel' which is not true!

11 years agoFix opening GPX files with own internal "hidden" markers on waypoints.
Rob Norris [Sun, 30 Sep 2012 18:09:13 +0000 (19:09 +0100)]
Fix opening GPX files with own internal "hidden" markers on waypoints.

Processing of attr used to fail on waypoints as it previously got confused with the "lat" and "long" text.
Modify track hidden code operate in clearer manner too.

11 years agoEnable option to not write invisible tracks or waypoints in GPX file and don't write...
Rob Norris [Sun, 30 Sep 2012 18:04:24 +0000 (19:04 +0100)]
Enable option to not write invisible tracks or waypoints in GPX file and don't write them on GPSBabel convert to method.

This is primarily for only transferring enabled items when uploading to a GPS device.
Solidify a_gpx_write_X functions to always specify writing options, although the options can be set to NULL for default behaviour.

Set OSM uploads to not use invisible tracks since the user won't be expecting those to be transferred and probably shouldn't be transferring 'unusual' GPX files with the non-standard "hidden" text anyway

11 years agoAllow uploading a single track via the GPS layer interface.
Rob Norris [Sun, 30 Sep 2012 15:04:46 +0000 (16:04 +0100)]
Allow uploading a single track via the GPS layer interface.

11 years agoExpose the GPS device communication in the GPS layer for reuse.
Rob Norris [Sun, 30 Sep 2012 11:42:48 +0000 (12:42 +0100)]
Expose the GPS device communication in the GPS layer for reuse.

11 years agoMake GPS layer use dynamic list of GPS devices as supported by GPSBabel.
Rob Norris [Sat, 29 Sep 2012 01:08:03 +0000 (02:08 +0100)]
Make GPS layer use dynamic list of GPS devices as supported by GPSBabel.

ATM use the protocol name for list.

11 years agoAllow passing just a track into a_babel_convert_to() for uploading to a GPS Device
Rob Norris [Mon, 24 Sep 2012 22:38:18 +0000 (23:38 +0100)]
Allow passing just a track into a_babel_convert_to() for uploading to a GPS Device

11 years agoCorrect layer read definition + enable reporting of issues from gpspoint parts in...
Rob Norris [Wed, 10 Oct 2012 21:40:49 +0000 (22:40 +0100)]
Correct layer read definition + enable reporting of issues from gpspoint parts in .vik files

Blank sections of gpspoint parts in .vik files is OK, so don't report them.

11 years agoAdd basic warning message if an issue has been detected in loading a .vik file.
Rob Norris [Wed, 10 Oct 2012 21:24:43 +0000 (22:24 +0100)]
Add basic warning message if an issue has been detected in loading a .vik file.

11 years agoTidy up variable names
Rob Norris [Tue, 9 Oct 2012 22:27:30 +0000 (23:27 +0100)]
Tidy up variable names

11 years agoImprove optional build of documentation components
Rob Norris [Sun, 7 Oct 2012 09:55:20 +0000 (10:55 +0100)]
Improve optional build of documentation components

11 years agoLimit the size of GPS Babel 'friendly' labels since they can be really long.
Rob Norris [Sun, 30 Sep 2012 18:42:44 +0000 (19:42 +0100)]
Limit the size of GPS Babel 'friendly' labels since they can be really long.

Otherwise this makes the dialog boxes unnecessarily/annoyingly wide.

11 years ago[DOC] Amend help to detail new merge, split and delete points track operations.
Rob Norris [Sat, 13 Oct 2012 09:19:40 +0000 (10:19 +0100)]
[DOC] Amend help to detail new merge, split and delete points track operations.

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>