]> git.street.me.uk Git - andy/viking.git/log
andy/viking.git
12 years agoAdd Track Split by Segments into Track menu options.
Rob Norris [Thu, 23 Aug 2012 00:12:13 +0000 (01:12 +0100)]
Add Track Split by Segments into Track menu options.

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

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

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

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

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

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

This cleans the code up somewhat.

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

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

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

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

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

Make it available only when a trackpoint is selected.

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

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

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

Follow on from commit: 3d2ad4f8f73e4fad30df83199a83d6e947a88786

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

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

Broken by track naming rework commit: ce4bd1cfaab763dad3aab9b20edce22eb57aac0f

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

Follow on from commt: 3d2ad4f8f73e4fad30df83199a83d6e947a88786

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Missed geotag usage in commit ce4bd1cfaab763dad3aab9b20edce22eb57aac0f

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

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

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

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

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

12 years agoAdd missing function declaration in dir.h
Rob Norris [Mon, 16 Jul 2012 21:31:52 +0000 (22:31 +0100)]
Add missing function declaration in dir.h

Missed from commit 29f1598c85250ce607a3ededc6f01913e02e92cb

12 years agoWhen uploading to a GPS device, maintain the unique names of tracks and waypoints.
Rob Norris [Fri, 8 Jun 2012 15:44:20 +0000 (16:44 +0100)]
When uploading to a GPS device, maintain the unique names of tracks and waypoints.

NB this may only be a Garmin device restriction (and may be not every Garmin device either...)

12 years agoExpose ability to uniquify both tracks and waypoints names in a TRW layer.
Rob Norris [Fri, 8 Jun 2012 15:42:15 +0000 (16:42 +0100)]
Expose ability to uniquify both tracks and waypoints names in a TRW layer.

12 years agoAdd method to uniquify waypoint names in a TRW layer and give the option to use it...
Rob Norris [Fri, 1 Jun 2012 13:45:49 +0000 (14:45 +0100)]
Add method to uniquify waypoint names in a TRW layer and give the option to use it within the delete selection of waypoints ability.

12 years agoAdd method to uniquify track names in a TRW layer and give the option to use it withi...
Rob Norris [Fri, 1 Jun 2012 13:20:29 +0000 (14:20 +0100)]
Add method to uniquify track names in a TRW layer and give the option to use it within the delete selection of tracks ability.

12 years agoMake the track name a property of the track.
Rob Norris [Wed, 9 May 2012 16:25:14 +0000 (17:25 +0100)]
Make the track name a property of the track.

This is important step in being able to support undo operations.
This also gives the ability to have multiple same named tracks.

ATM maintain usage of a hash table for the list of tracks, but instead of using the (forced unique) name for the hash,
use a simple integer as a kind of UUID.

12 years agoMake the waypoint name a property of the waypoint.
Rob Norris [Mon, 16 Apr 2012 17:31:51 +0000 (18:31 +0100)]
Make the waypoint name a property of the waypoint.

This is important step in being able to support undo operations.
This also gives the ability to have multiple same named waypoints.

ATM maintain usage of a hash table for the list of waypoints, but instead of using the (forced unique) name for the hash,
use a simple integer as a kind of UUID.

12 years agoFix potential crashing when using multiple maps on especially 64bit systems.
Rob Norris [Thu, 28 Jun 2012 18:41:59 +0000 (19:41 +0100)]
Fix potential crashing when using multiple maps on especially 64bit systems.

Use correct type for returned function call, otherwise it can seemingly corrupt the copyrights list leading to undefined behaviour.

12 years agoFix crashing when displayed map copyright(s) is longer than the internal buffer.
Rob Norris [Thu, 28 Jun 2012 18:37:06 +0000 (19:37 +0100)]
Fix crashing when displayed map copyright(s) is longer than the internal buffer.

Ensure strings used are limited to the size of the buffer.

12 years agoRemove incorrect comment
Rob Norris [Thu, 28 Jun 2012 18:27:54 +0000 (19:27 +0100)]
Remove incorrect comment

12 years agoFix crash in Show Picture functionality on Window's Systems.
Rob Norris [Thu, 28 Jun 2012 18:18:00 +0000 (19:18 +0100)]
Fix crash in Show Picture functionality on Window's Systems.

The error was introduced in refactoring commit a412f3f5d942fb2dc389a8a6a97556c7c14acf45

12 years agoFix intended preferences group.
Rob Norris [Sun, 10 Jun 2012 12:44:22 +0000 (13:44 +0100)]
Fix intended preferences group.

12 years agoFix typo
Rob Norris [Sun, 10 Jun 2012 12:43:05 +0000 (13:43 +0100)]
Fix typo

12 years agoAdd missing parameter terminator.
Rob Norris [Sun, 10 Jun 2012 10:04:06 +0000 (11:04 +0100)]
Add missing parameter terminator.

12 years agoAdd a Gradient Graph to the Track properties display
Fernando Arbeiza [Tue, 29 May 2012 11:22:04 +0000 (13:22 +0200)]
Add a Gradient Graph to the Track properties display

12 years agoAdd CalTopo 7.5" (24k) USGS Topos!
Evan Battaglia [Thu, 10 May 2012 19:41:04 +0000 (21:41 +0200)]
Add CalTopo 7.5" (24k) USGS Topos!

msrmaps is going away, add these just in time!

I contacted them about using their tiles. I'm a bit unclear on the license (if there is one?), because it isn't displayed on their home page, but what I mentioned what I wanted to do with them (use them to make my own custom topos for free redistribution) he said that was OK:

"Because the underlying data is public domain I don't know if I could actually prevent someone from reassembling the tiles into a map, but I wouldn't want to even if I could.  By all means feel free to do what you're describing."

When I asked about using the tiles in Viking, he basically said go ahead: "You guys should go ahead and use the tiles, and if bandwidth becomes a concern we can sort it out then."

Signed-off-by: Guilhem Bonnefille <guilhem.bonnefille@gmail.com>
12 years agoAdd support for many extensions' configuration
Guilhem Bonnefille [Thu, 10 May 2012 19:40:41 +0000 (21:40 +0200)]
Add support for many extensions' configuration

Many extensions can be added through a simple configuration file.
Currently, only user's home directory is used to load such configuration.

This patch add support for some standard locations in system.
The behavior can be affected by XDG_DATA_HOME and XDG_DATA_DIRS standard
environment variables.

Signed-off-by: Guilhem Bonnefille <guilhem.bonnefille@gmail.com>
12 years ago[LEGAL] Bump copyright's year
Guilhem Bonnefille [Tue, 8 May 2012 18:59:30 +0000 (20:59 +0200)]
[LEGAL] Bump copyright's year

12 years agoFix printing of DEBUG message since glib 2.32
Guilhem Bonnefille [Mon, 7 May 2012 19:27:30 +0000 (21:27 +0200)]
Fix printing of DEBUG message since glib 2.32

Viking uses g_debug function. But in glib 2.32, the g_debug behavior changed and all
DEBUG messages are discarded, unless G_MESSAGES_DEBUG is set. So, "viking -d"
no more work as its design was to mute DEBUG messages when "-d" is not set.

Now, printing is restored via a dedicated function.

12 years ago[DOC] Declare VikWebtoolBounds in documentation
Guilhem Bonnefille [Sat, 5 May 2012 13:28:36 +0000 (15:28 +0200)]
[DOC] Declare VikWebtoolBounds in documentation

Feature inserted in commit
403418567fee28846658ad7536c3ecc70118d206

12 years ago[DOC] Improve build options for gtk-doc framework
Guilhem Bonnefille [Thu, 3 May 2012 19:23:27 +0000 (21:23 +0200)]
[DOC] Improve build options for gtk-doc framework

12 years ago[DOC] Minor improve on internal documentation
Guilhem Bonnefille [Thu, 3 May 2012 19:21:29 +0000 (21:21 +0200)]
[DOC] Minor improve on internal documentation

12 years ago[BUILD] Remove explicit add of -lexif
Guilhem Bonnefille [Thu, 3 May 2012 19:19:55 +0000 (21:19 +0200)]
[BUILD] Remove explicit add of -lexif

The exif library is already specified by AC_CHECK_LIB in configure.ac.

12 years agoReleasing viking 1.3
Guilhem Bonnefille [Sun, 22 Apr 2012 19:26:38 +0000 (21:26 +0200)]
Releasing viking 1.3

Signed-off-by: Guilhem Bonnefille <guilhem.bonnefille@gmail.com>
12 years agoMerge branch 'i18n-launchpad'
Guilhem Bonnefille [Sun, 22 Apr 2012 19:21:20 +0000 (21:21 +0200)]
Merge branch 'i18n-launchpad'

Conflicts:
po/de.po

12 years agoDocument previous translation updates
Guilhem Bonnefille [Sun, 22 Apr 2012 19:18:21 +0000 (21:18 +0200)]
Document previous translation updates

12 years agoImport Launchpad updates
Guilhem Bonnefille [Sun, 22 Apr 2012 19:15:19 +0000 (21:15 +0200)]
Import Launchpad updates

12 years agoMerge tag 'viking-1.2.2'
Guilhem Bonnefille [Sun, 22 Apr 2012 15:37:46 +0000 (17:37 +0200)]
Merge tag 'viking-1.2.2'

Releasing viking 1.2.2

12 years ago[DOC] Fix DocBook syntax in user manual
Guilhem Bonnefille [Sun, 22 Apr 2012 15:31:49 +0000 (17:31 +0200)]
[DOC] Fix DocBook syntax in user manual

12 years ago[I18N] Fix POTFILES with new files
Guilhem Bonnefille [Sun, 22 Apr 2012 15:31:07 +0000 (17:31 +0200)]
[I18N] Fix POTFILES with new files

12 years agoBe consistent in that track and waypoint list dialogs are always sorted alphabetically.
Rob Norris [Wed, 11 Apr 2012 21:13:45 +0000 (22:13 +0100)]
Be consistent in that track and waypoint list dialogs are always sorted alphabetically.

Only the treeview listing can not alphabetized.

12 years agoFix build when --disable-alphabetized-trw is specified
Rob Norris [Wed, 11 Apr 2012 21:11:36 +0000 (22:11 +0100)]
Fix build when --disable-alphabetized-trw is specified

12 years ago[DOC] Update current built in map types.
Rob Norris [Mon, 9 Apr 2012 12:20:36 +0000 (13:20 +0100)]
[DOC] Update current built in map types.

12 years ago[DOC] Add more detailed help about the available preferences.
Rob Norris [Mon, 9 Apr 2012 12:15:15 +0000 (13:15 +0100)]
[DOC] Add more detailed help about the available preferences.

12 years agoCredit tile supplier Andy Allan for OSM Cyclemap tiles.
Rob Norris [Mon, 9 Apr 2012 11:07:50 +0000 (12:07 +0100)]
Credit tile supplier Andy Allan for OSM Cyclemap tiles.

12 years agoAdd OSM Transport map as a built in map option.
Rob Norris [Mon, 9 Apr 2012 11:01:48 +0000 (12:01 +0100)]
Add OSM Transport map as a built in map option.

12 years agoTidy map examples.
Rob Norris [Mon, 9 Apr 2012 10:55:41 +0000 (11:55 +0100)]
Tidy map examples.

Remove commented out section.
Remove non-working Yahoo examples.

12 years agoRemove Tiles@home support as the service has stopped.
Rob Norris [Mon, 9 Apr 2012 09:56:36 +0000 (10:56 +0100)]
Remove Tiles@home support as the service has stopped.

ATM see ttp://wiki.openstreetmap.org/wiki/Tiles@home for further info.

12 years agoAdd supported MIME types to the desktop file specification.
Rob Norris [Tue, 3 Apr 2012 19:43:21 +0000 (20:43 +0100)]
Add supported MIME types to the desktop file specification.

12 years agoReduce warnings from the build due to slightly misformed libcurl.m4 macros.
Rob Norris [Tue, 3 Apr 2012 19:42:31 +0000 (20:42 +0100)]
Reduce warnings from the build due to slightly misformed libcurl.m4 macros.

12 years agoFix Track Properties graph blob marker drawn at wrong elevation when elevation graphs...
Rob Norris [Sat, 11 Feb 2012 19:31:46 +0000 (19:31 +0000)]
Fix Track Properties graph blob marker drawn at wrong elevation when elevation graphs have different min/max heights.

Use separate values for each elevation graph minimum values and indexing.
Normally these values are the same but sometimes they differ due to differing methods of altitude array creation.

12 years agoExample script that can be used to upload a track as a route to a predefined GPS...
Rob Norris [Sat, 4 Feb 2012 11:36:46 +0000 (11:36 +0000)]
Example script that can be used to upload a track as a route to a predefined GPS device.

This can be used inconjunction with the export GPX with external program to upload a route to the GPS in absence of true GPX route support in Viking at present.

12 years ago[DOC] Update auto generated INSTALL file to latest version.
Rob Norris [Sat, 4 Feb 2012 10:52:28 +0000 (10:52 +0000)]
[DOC] Update auto generated INSTALL file to latest version.

12 years agocleanup: Remove unused and out of date 'viking-remote' script and related files.
Rob Norris [Sat, 4 Feb 2012 10:51:18 +0000 (10:51 +0000)]
cleanup: Remove unused and out of date 'viking-remote' script and related files.

12 years agocleanup: Remove *very* old documentation and don't bother distributing any of it...
Rob Norris [Sat, 4 Feb 2012 10:33:29 +0000 (10:33 +0000)]
cleanup: Remove *very* old documentation and don't bother distributing any of it which is all old.

12 years agoOut of date file GEOCODED-PHOTOS has been removed
Rob Norris [Sat, 4 Feb 2012 10:31:36 +0000 (10:31 +0000)]
Out of date file GEOCODED-PHOTOS has been removed

12 years agoReduce scope of a variable.
Rob Norris [Sun, 29 Jan 2012 15:11:16 +0000 (15:11 +0000)]
Reduce scope of a variable.

12 years agoDisplay the average moving speed for a track in the track properties.
Rob Norris [Fri, 20 Jan 2012 01:01:31 +0000 (01:01 +0000)]
Display the average moving speed for a track in the track properties.

12 years agoAdd function to return an average moving speed for a track.
Rob Norris [Fri, 20 Jan 2012 01:00:50 +0000 (01:00 +0000)]
Add function to return an average moving speed for a track.

This method doesn't use samples that differ over the specified time limit - effectively skipping that time chunk from the total time - hence removing the 'stationary' bits to give only the moving parts.

12 years agoAdd ability to open a TrackWaypoint layer with another external program (default...
Rob Norris [Fri, 20 Jan 2012 00:41:02 +0000 (00:41 +0000)]
Add ability to open a TrackWaypoint layer with another external program (default merkaartor).

The program can be changed by the user and is stored in the preferences.

This *hasn't* been tested on Windows OSs. It's possible a full path to the program may be needed to invoke it on such systems.

12 years agoAdd ability to open a TrackWaypoint layer with an external program (default JOSM).
Rob Norris [Fri, 20 Jan 2012 00:27:28 +0000 (00:27 +0000)]
Add ability to open a TrackWaypoint layer with an external program (default JOSM).

This is ideal for editing around the track and waypoints with OSM, as it's very unlikely Viking will ever be an OSM editor - it's best left to other dedicated programs.
The layer is converted to a temporary GPX file, but it is not deleted as loading it with another program is not instantaneous.
For now it is up to the user to delete it / use system temp cleanup methods.

The program can be changed by the user and is stored in the preferences.

This *hasn't* been tested on Windows OSs. It's possible a full path to the program may be needed to invoke it on such systems.

12 years agoBetter memory cleanup on unint.
Rob Norris [Thu, 19 Jan 2012 20:13:02 +0000 (20:13 +0000)]
Better memory cleanup on unint.

12 years agoUpdate HACKING information for contribution recommendations.
Rob Norris [Thu, 19 Jan 2012 20:09:28 +0000 (20:09 +0000)]
Update HACKING information for contribution recommendations.

12 years agoAdd an image without GPS Information and the associated tracklog sample for testing...
Rob Norris [Wed, 18 Jan 2012 20:08:34 +0000 (20:08 +0000)]
Add an image without GPS Information and the associated tracklog sample for testing purposes. (Location Stonehenge in England).

This photograph was taken by myself and I release it as Public Domain.

Use this famous location for a geotagging sample.

12 years agoAdd an image with GPS Information for testing purposes. (Location Brecon Beacons...
Rob Norris [Wed, 18 Jan 2012 20:04:03 +0000 (20:04 +0000)]
Add an image with GPS Information for testing purposes. (Location Brecon Beacons in Wales).

This photograph was taken by myself and I release it as Public Domain.

The GPS Information was embedded via use of gpscorrelate.

12 years agoFix small memory leak in geotagging images processing.
Rob Norris [Wed, 18 Jan 2012 20:00:50 +0000 (20:00 +0000)]
Fix small memory leak in geotagging images processing.

12 years agoCorrect format for an include statement of a C standard library.
Rob Norris [Wed, 18 Jan 2012 19:59:50 +0000 (19:59 +0000)]
Correct format for an include statement of a C standard library.

12 years agoFix compiler warning.
Rob Norris [Wed, 18 Jan 2012 19:59:02 +0000 (19:59 +0000)]
Fix compiler warning.

12 years agoAllow TrackWaypoint layer creation without a viewport.
Rob Norris [Tue, 17 Jan 2012 20:25:09 +0000 (20:25 +0000)]
Allow TrackWaypoint layer creation without a viewport.

This allows the test program gpx2gpx to run, as it does not use a windowing system.

12 years agoRestore compilation of test program gpx2gpx.
Rob Norris [Tue, 17 Jan 2012 20:22:16 +0000 (20:22 +0000)]
Restore compilation of test program gpx2gpx.

Code tidy up in commit a7cd93ac0848d91f1cf133a934c473cc4054c532, means direct layer functions are no longer available.

12 years agoReduce scope of wikipedia_submenu variable, as it's not used if VIK_CONFIF_GEONAMES...
Rob Norris [Sun, 15 Jan 2012 16:57:15 +0000 (16:57 +0000)]
Reduce scope of wikipedia_submenu variable, as it's not used if VIK_CONFIF_GEONAMES is not enabled.

12 years agoFix error identified by cppcheck 1.52.
Rob Norris [Sat, 7 Jan 2012 12:44:31 +0000 (12:44 +0000)]
Fix error identified by cppcheck 1.52.

Error is index out of bounds, from old commit 941aa6e9dcad8baa3952be9fc50c7635be8eaab4.

12 years agoFix error identified by cppcheck 1.52.
Rob Norris [Sat, 7 Jan 2012 12:44:00 +0000 (12:44 +0000)]
Fix error identified by cppcheck 1.52.

Error is index out of bounds, introduced by commit 6bb723502bba45fec1ba064598558368632e60de.

12 years agoFix error identified by cppcheck 1.52.
Rob Norris [Sat, 7 Jan 2012 12:39:03 +0000 (12:39 +0000)]
Fix error identified by cppcheck 1.52.

Remove redundant check added by old commit b42a25ba53c5097c14a41a22074c6b0d7c4346a7

12 years agoFix error identified by cppcheck 1.52.
Rob Norris [Sat, 7 Jan 2012 12:04:23 +0000 (12:04 +0000)]
Fix error identified by cppcheck 1.52.

Possible null pointer dereference, since old commit 9903c3881ddd463c078931c2ffb10f8fea45e6b1

12 years agoFix error identified by cppcheck 1.52.
Rob Norris [Sat, 7 Jan 2012 12:02:01 +0000 (12:02 +0000)]
Fix error identified by cppcheck 1.52.

Error is a memory leak, existing since commit 8c721f83feaa525b9fd0de58b9fc6dc7698b4a48.

12 years agoFix error identified by cppcheck 1.52.
Rob Norris [Sat, 7 Jan 2012 11:56:01 +0000 (11:56 +0000)]
Fix error identified by cppcheck 1.52.

Error is index out of bounds, existing since initial commit 50a14534a51f892500ee82f867e8ab2f85b936ae.

12 years agoFix potential GdkPixbuf-CRITICAL warning in thumbnail creation.
Rob Norris [Fri, 6 Jan 2012 22:09:03 +0000 (22:09 +0000)]
Fix potential GdkPixbuf-CRITICAL warning in thumbnail creation.

This can be generated when trying to open non existant image files (e.g. if stored in a .vik file)
Error was introduced by commit 6d0927b1b61b1f2f9ec5d048d85d8a4cad24f649, which uses a variable without testing if it is valid.

12 years agoUse map default: OSM MapQuest tileserver.
Rob Norris [Thu, 22 Dec 2011 18:48:48 +0000 (18:48 +0000)]
Use map default: OSM MapQuest tileserver.

This is in response to requests from the OSM administrators to lessen the load placed on the OSM tile servers that are run entirely on a volunteer basis.

12 years agoAdd map OSM MapQuest tileserver as a built-in type.
Rob Norris [Thu, 22 Dec 2011 18:47:49 +0000 (18:47 +0000)]
Add map OSM MapQuest tileserver as a built-in type.

NB From my simple tests MapQuest does not appear to support the ETag scheme, hence it is turned off.