]>
git.street.me.uk Git - andy/viking.git/log
Rob Norris [Sat, 30 Jan 2016 22:03:50 +0000 (22:03 +0000)]
vikcoord does not depend on GTK
Rob Norris [Sat, 30 Jan 2016 21:23:51 +0000 (21:23 +0000)]
[QA] Another use of GStatBuf
Rob Norris [Sat, 30 Jan 2016 21:17:28 +0000 (21:17 +0000)]
[QA] This function should be static
Rob Norris [Sat, 30 Jan 2016 19:26:26 +0000 (19:26 +0000)]
Import Launchpad translation updates - French Update.
Rob Norris [Tue, 12 May 2015 21:02:26 +0000 (22:02 +0100)]
Retain DOP values when saving to .vik files
Rob Norris [Fri, 29 Jan 2016 20:54:55 +0000 (20:54 +0000)]
[QA] Improve types as string lengths are never negative.
Rob Norris [Fri, 29 Jan 2016 20:53:18 +0000 (20:53 +0000)]
Prevent writing broken .vik files with multi line strings.
At the moment simply replace Linefeed and Carriage returns with spaces.
Rob Norris [Fri, 29 Jan 2016 20:32:30 +0000 (20:32 +0000)]
SF Bugs#128: Fix Crash when loading broken .vik file
Detect broken lines which end without any text or the enclosing quote.
i.e. like: comment="
Rob Norris [Sat, 23 Jan 2016 12:18:34 +0000 (12:18 +0000)]
[QA] Enable all warnings on test code
And so detect and remove an unused variable.
Rob Norris [Sat, 23 Jan 2016 12:16:38 +0000 (12:16 +0000)]
[QA] Consistent usage of g_stat() GStatBuf parameter type
Thus removes some compiler warnings under Windows.
Rob Norris [Tue, 19 Jan 2016 23:19:25 +0000 (23:19 +0000)]
Fix crash if a route requested by the route finder is empty.
Rob Norris [Mon, 18 Jan 2016 22:26:46 +0000 (22:26 +0000)]
[QA] Remove unused variable.
Rob Norris [Sun, 17 Jan 2016 15:02:55 +0000 (15:02 +0000)]
Enable activating waypoint search when pressing return in the entry field.
Rob Norris [Sun, 17 Jan 2016 15:01:48 +0000 (15:01 +0000)]
In the location search, only enable the OK button when there is some text to search with.
Rob Norris [Sun, 17 Jan 2016 15:09:18 +0000 (15:09 +0000)]
Enable handling compressed files when acquiring from an URL datasource.
Rob Norris [Sun, 17 Jan 2016 15:08:47 +0000 (15:08 +0000)]
Fix definition and usage of datasource download file options.
Rob Norris [Sun, 17 Jan 2016 13:22:58 +0000 (13:22 +0000)]
Remove curl cookie file as it's read only - so never actually used anymore.
Previously was written to via option 'CURLOPT_COOKIEJAR'
(which was removed in SHA:
2da56da58944b264490053a2acf39bf0134c0e41 ~ 2011)
but even then Viking has not used Google maps since ~ 2009.
Rob Norris [Sun, 17 Jan 2016 14:59:38 +0000 (14:59 +0000)]
Fix maintaining a transparent background when an alpha value is applied to a pixbuf.
Rob Norris [Sun, 17 Jan 2016 13:12:53 +0000 (13:12 +0000)]
Remove the now unused viewport alpha pixbuf and gdk pixbuf compositing method.
Rob Norris [Sun, 17 Jan 2016 13:11:02 +0000 (13:11 +0000)]
Apply alpha setting to the waypoint image pixbuf before storing in the image cache.
Clear the image cache whenever the alpha value has changed
so pixbufs will be regenerated with the new alpha value.
Rob Norris [Sun, 17 Jan 2016 13:07:22 +0000 (13:07 +0000)]
[QA] Reusable function for freeing the waypoint image cache.
Rob Norris [Sun, 17 Jan 2016 13:04:09 +0000 (13:04 +0000)]
[QA] Remove unused variable.
Rob Norris [Sun, 17 Jan 2016 13:02:44 +0000 (13:02 +0000)]
Ensure compressed download files are processed.
More lenient string comparison for magic checking of zip & bzip2 file types.
Rob Norris [Sun, 17 Jan 2016 13:00:11 +0000 (13:00 +0000)]
[QA] Better value type usage, even if these values are not actually used.
Rob Norris [Thu, 24 Dec 2015 13:08:48 +0000 (13:08 +0000)]
Text output using AC_MSG_NOTICE rather than echo statements.
Rob Norris [Thu, 24 Dec 2015 13:07:52 +0000 (13:07 +0000)]
[WINDOWS] Build with libgexiv2
Rob Norris [Mon, 21 Dec 2015 11:43:53 +0000 (11:43 +0000)]
Ignore help/viking.xml as it's now auto-generated.
Rob Norris [Mon, 21 Dec 2015 11:41:27 +0000 (11:41 +0000)]
[WINDOWS] Cross build
Enable cross build with an RPM set-up (using OpenSUSE Tumbleweed)
Tested in a VM dedicated to the build.
This is now the supported build method for generating the Window executable.
This version is only 32bit (no different than before)
however scope for adding a 64bit version should now be relatively straight-forward.
Rob Norris [Sat, 19 Dec 2015 11:31:59 +0000 (11:31 +0000)]
Make generation of the copyright year in the code automatic.
Rob Norris [Sat, 19 Dec 2015 10:07:36 +0000 (10:07 +0000)]
Don't remove project name if one decides not to delete all layers.
Rob Norris [Tue, 15 Dec 2015 00:38:19 +0000 (00:38 +0000)]
Mention use of libexpat
Rob Norris [Fri, 4 Dec 2015 00:43:20 +0000 (00:43 +0000)]
[QA] Rename DownloadMapOptions --> DownloadFileOptions
Since the download is used for any file type, not just map tiles.
Corresponding rename+move old variable DownloadFileOptions into curl_download.h
Rob Norris [Sun, 29 Nov 2015 11:55:22 +0000 (11:55 +0000)]
AC_OUTPUT doesn't need to take any arguments
Rob Norris [Sun, 29 Nov 2015 09:18:30 +0000 (09:18 +0000)]
viking-cache.py tool: Enable converting from OSM cache layout to mbtiles.
Useful compared to mbutils, as this version has options to:
. limit by zoom coverage
. skip optimise stage
However only accepts standard OSM layout and no metadata.json support
Rob Norris [Sat, 28 Nov 2015 20:12:37 +0000 (20:12 +0000)]
viking-cache.py tool: Rework into simple elif statements.
Rob Norris [Sat, 28 Nov 2015 20:11:40 +0000 (20:11 +0000)]
viking-cache.py tool: Allow specifying zoom limits in creating mbtiles file
Rob Norris [Tue, 24 Nov 2015 21:07:25 +0000 (21:07 +0000)]
Allow copying positions as well from the waypoint list dialog.
Rob Norris [Sat, 21 Nov 2015 10:48:12 +0000 (10:48 +0000)]
Allow configuration of the date format displayed on Track and Waypoint lists.
Rob Norris [Sun, 8 Nov 2015 12:51:31 +0000 (12:51 +0000)]
Add tooltip for a more readable hours:minutes display rather than just total minutes in the track statistics tab.
Rob Norris [Sun, 8 Nov 2015 12:50:14 +0000 (12:50 +0000)]
Add display of the without gaps track time.
Rob Norris [Sun, 8 Nov 2015 12:46:44 +0000 (12:46 +0000)]
Extend function to get optionally get duration of a track without including gaps between segments.
Rob Norris [Fri, 6 Nov 2015 16:00:21 +0000 (16:00 +0000)]
Save bfilter values used for subsequent reuse in a session.
Rob Norris [Fri, 6 Nov 2015 15:59:19 +0000 (15:59 +0000)]
Add settings to override bfilter simplify and compress default values.
Rob Norris [Fri, 6 Nov 2015 14:57:50 +0000 (14:57 +0000)]
[QA] Extra output for failing date/timezone string generation.
Rob Norris [Mon, 21 Sep 2015 22:31:10 +0000 (23:31 +0100)]
Add capability to manually define parameters for GPSBabel filter command.
Rob Norris [Tue, 15 Dec 2015 00:04:32 +0000 (00:04 +0000)]
Merge branch 'KMZ-Maps'
Rob Norris [Sat, 21 Nov 2015 10:47:18 +0000 (10:47 +0000)]
[DOC] KMZ Map help
Rob Norris [Fri, 20 Nov 2015 18:15:55 +0000 (18:15 +0000)]
KMZ file of OSM Mapnik rendering of Stonehenge area, zoom level 15.
Rob Norris [Tue, 17 Nov 2015 20:33:44 +0000 (20:33 +0000)]
[WINDOWS] Installer and build notes for using libzip.dll
Rob Norris [Sun, 8 Nov 2015 13:23:22 +0000 (13:23 +0000)]
Allow internal check_magic function to work on various lengths as specified.
Rob Norris [Sun, 8 Nov 2015 12:41:48 +0000 (12:41 +0000)]
Enable importing a map from a KMZ file.
Uses libzip to decompress the KMZ and processes the XML description to
generate a corresponding GeoRef layer.
Rob Norris [Sun, 8 Nov 2015 12:39:10 +0000 (12:39 +0000)]
Allow creating GeoRef layers from a specified pixbuf and area.
Rob Norris [Sun, 8 Nov 2015 12:35:16 +0000 (12:35 +0000)]
Make the find best zoom level function reusable.
Rob Norris [Fri, 6 Nov 2015 16:16:02 +0000 (16:16 +0000)]
Add utility function to write a temporary file from a byte buffer.
Rob Norris [Sun, 12 Jul 2015 15:23:10 +0000 (16:23 +0100)]
Enable KMZ Map file generation for Custom Map support on Garmin devices.
The KMZ is a zipped file containing a KML file with the associated image.
Use libzip to generate multiple files in a single zip file.
Rob Norris [Fri, 4 Dec 2015 20:34:34 +0000 (20:34 +0000)]
Fix routes not saved in GPX when tracks are made invisible.
Probable copy and paste error in commit SHA:
978cd6961f0cdfeb7d68fe18bc558011692cd7ce
Rob Norris [Fri, 11 Dec 2015 17:44:48 +0000 (17:44 +0000)]
SF Bugs#103: Fix TrackWaypoint layer items may not be displayed when pasted
When the target window has a different View mode,
then the coordinates must be converted to match to be shown in the viewport.
This is already done for single item pastes, but previously not for entire TRW layers.
Rob Norris [Fri, 11 Dec 2015 01:03:17 +0000 (01:03 +0000)]
Enable Catalan and Turkish translations.
Seems these translations have been available for ages but not actually used.
Rob Norris [Thu, 10 Dec 2015 22:31:34 +0000 (22:31 +0000)]
Auto generate the date for man pages.
Rob Norris [Wed, 9 Dec 2015 01:11:58 +0000 (01:11 +0000)]
Restore opening of JPG files.
More lenient string comparison for magic checking of JPG files,
as the text returned seems to have changed.
Rob Norris [Fri, 4 Dec 2015 20:31:24 +0000 (20:31 +0000)]
[QA] Tidy trw_layer_draw_point_names()
Remove unused variables and some minor whitespace improvements.
Rob Norris [Mon, 7 Dec 2015 20:19:19 +0000 (20:19 +0000)]
SF Bugs#127: Fix initial display of Waypoint sort order.
Ensure sort is applied on realization of the TrackWaypoint layer,
otherwise it may not be performed.
Rob Norris [Fri, 27 Nov 2015 22:55:57 +0000 (22:55 +0000)]
Fix map layer widget sensitivity dependent on map type.
Rob Norris [Fri, 4 Dec 2015 00:06:56 +0000 (00:06 +0000)]
Merge pull request #8 from swegener/etag-in-xattr
Store etag in xattr
Rob Norris [Fri, 4 Dec 2015 00:05:29 +0000 (00:05 +0000)]
Merge pull request #3 from Shura0/point_names
Display trackpoint names
Sven Wegener [Sun, 29 Nov 2015 20:15:13 +0000 (21:15 +0100)]
download: Move setting of etag and convert_file
It only makes sense to do this post-processing, if we got a new file, so
move the code just before the final rename.
Signed-off-by: Sven Wegener <sven.wegener@stealer.net>
Sven Wegener [Sat, 21 May 2011 17:56:46 +0000 (19:56 +0200)]
download: Store ETAG in extended attributes
If supported, store the etag values from downloaded tiles in extended
attributes on the local files, instead of cluttering our maps directory
with .etag files.
Signed-off-by: Sven Wegener <sven.wegener@stealer.net>
Rob Norris [Tue, 24 Nov 2015 22:24:58 +0000 (22:24 +0000)]
Releasing Viking 1.6.1
Rob Norris [Sat, 21 Nov 2015 10:52:12 +0000 (10:52 +0000)]
Shift the reference scale to be generated from the centre of the display.
Previously this was done at the latitude of the bottom of the display.
For most zoomed in usage it makes no practical difference,
but when zoomed out it's more logical as it's on average nearer to actual scale at locations across the visible map.
Rob Norris [Wed, 18 Nov 2015 01:21:37 +0000 (01:21 +0000)]
Update viking.doap file
Rob Norris [Tue, 17 Nov 2015 21:14:02 +0000 (21:14 +0000)]
[DOC] Words about various operations from the File menu not previously mentioned.
Rob Norris [Sun, 15 Nov 2015 11:30:11 +0000 (11:30 +0000)]
Ensure calculation of the waypoint bounds even when the layer is not currently visible.
Rob Norris [Sat, 14 Nov 2015 13:15:10 +0000 (13:15 +0000)]
Better reporting of failing to load any latlontz.txt file.
Rob Norris [Sat, 14 Nov 2015 12:55:44 +0000 (12:55 +0000)]
CID#34578: Remove logically dead code.
It's a repeat of the test above.
And explanation of when the test becomes true.
Rob Norris [Sat, 14 Nov 2015 12:20:08 +0000 (12:20 +0000)]
CID#132266: Fix potential dereference null return value
Rob Norris [Sat, 14 Nov 2015 11:59:15 +0000 (11:59 +0000)]
[QA] Clang-Analyzer: Don't store values that aren't subsequently used.
Rob Norris [Sat, 14 Nov 2015 11:21:06 +0000 (11:21 +0000)]
[QA] Clang-Analyzer - remove duplicate line
Rob Norris [Sat, 14 Nov 2015 10:01:22 +0000 (10:01 +0000)]
Ensure removing temporary file when it contains no wikipedia places.
Rob Norris [Sat, 14 Nov 2015 09:58:00 +0000 (09:58 +0000)]
[QA] Explicitly ignore return values when removing temporary generated files
Rob Norris [Sat, 14 Nov 2015 09:48:04 +0000 (09:48 +0000)]
[QA] CID#34606+CID#34607: Time of check time of use (TOCTOU) issues.
Mark as not security critical, use g_utime and check result.
Remove old GLIB version check as at least 2.26 must be used now.
Rob Norris [Sat, 14 Nov 2015 09:43:30 +0000 (09:43 +0000)]
Ensure memory is freed if errors are encountered in acquiring My OSM traces
Rob Norris [Fri, 13 Nov 2015 22:02:23 +0000 (22:02 +0000)]
CID#34579: Fix logically dead code.
This test is supposed to be for what the pointer is pointing to!
Rob Norris [Fri, 13 Nov 2015 22:00:52 +0000 (22:00 +0000)]
Coverity: Prevent deference after null checks
CID#34580
CID#34582
CID#34588
CID#34589
Rob Norris [Fri, 13 Nov 2015 21:52:21 +0000 (21:52 +0000)]
CID#34561+CID#34569: Check return values
Rob Norris [Thu, 12 Nov 2015 22:45:49 +0000 (22:45 +0000)]
CID#34586: Avoid potential explicit null deferenced
Rob Norris [Thu, 12 Nov 2015 22:40:54 +0000 (22:40 +0000)]
CID#34612: Fix incorrect break statement location.
Rob Norris [Thu, 12 Nov 2015 22:39:29 +0000 (22:39 +0000)]
CID#132255: Fix stray semicolon introduced by recent commit.
Fix broken commit in SHA:
5e4cce8f309867bee2f16bc463e0f0b461d19ecf
Rob Norris [Thu, 12 Nov 2015 22:36:50 +0000 (22:36 +0000)]
CID#34592: Explicit handling of potential truncation of integer value
Rob Norris [Thu, 12 Nov 2015 22:35:20 +0000 (22:35 +0000)]
Coverity: Fix deference after null checks
CID#34585
CID#34590
CID#34591
Rob Norris [Thu, 12 Nov 2015 22:33:38 +0000 (22:33 +0000)]
CID#34600+CID#34601: Fix deference before null checks
Rob Norris [Thu, 12 Nov 2015 22:31:03 +0000 (22:31 +0000)]
[QA] CID#34594: Remove unsigned compared against 0 (as it has no effect)
Rob Norris [Tue, 10 Nov 2015 21:05:25 +0000 (21:05 +0000)]
Document previous translation updates
Rob Norris [Tue, 10 Nov 2015 21:03:53 +0000 (21:03 +0000)]
Import Launchpad translation updates
Rob Norris [Tue, 10 Nov 2015 20:56:41 +0000 (20:56 +0000)]
Include HACKING file in distribution.
Rob Norris [Fri, 6 Nov 2015 16:25:49 +0000 (16:25 +0000)]
Fix Georef mpp from coords.
Conversion from the image mpp to Viking zoom level is dependent on the latitude when in LATLON mode.
Rob Norris [Thu, 5 Nov 2015 17:56:39 +0000 (17:56 +0000)]
Make OSM services the default by including these modules first.
Rob Norris [Thu, 5 Nov 2015 17:52:18 +0000 (17:52 +0000)]
Simplify filter actually uses the unsigned integer value.
Rob Norris [Sun, 8 Nov 2015 12:07:46 +0000 (12:07 +0000)]
Fix Google maps positional web link.
Format seems to have changed recently.
Rob Norris [Sun, 8 Nov 2015 12:18:12 +0000 (12:18 +0000)]
[QA] Fix issue spotted with cppcheck 1.70
Rob Norris [Sun, 8 Nov 2015 12:04:44 +0000 (12:04 +0000)]
Remove unused northernHemisphere variable