]> git.street.me.uk Git - andy/viking.git/log
andy/viking.git
11 years agoUpdate translations for layers menu popup which no longer have to start with '/'
Rob Norris [Sat, 16 Mar 2013 00:09:21 +0000 (00:09 +0000)]
Update translations for layers menu popup which no longer have to start with '/'

11 years agoRemove usage of depreciated GtkItemFactory.
Rob Norris [Sat, 16 Mar 2013 00:07:53 +0000 (00:07 +0000)]
Remove usage of depreciated GtkItemFactory.

Make layers panel menu popup be created on demand with individual gtk_menu_item calls.

11 years agoPosition Trackpoint Edit and Waypoint dialogs to not obscure the selected point.
Rob Norris [Fri, 22 Feb 2013 23:12:31 +0000 (23:12 +0000)]
Position Trackpoint Edit and Waypoint dialogs to not obscure the selected point.

Shift the dialog towards the opposite edge if we think the dialog will be drawn over the selected point.
For Trackpoint Edit this means it gets shifted up or down,
whilst the Waypoint Property/Edit dialog is shifted left or right.

Positioning of the dialog for a new Waypoint is unchanged.

11 years agoWhen adding layers insert 'Base' layers (i.e Maps/GeoRef/DEM) below the selected...
Rob Norris [Wed, 27 Feb 2013 00:00:52 +0000 (00:00 +0000)]
When adding layers insert 'Base' layers (i.e Maps/GeoRef/DEM) below the selected layer.

Consider a common scenario of opening a GPX or KML file so there is now a TrackWaypoint layer.

Then one adds a map layer (previously this then gets inserted above the trackwaypoint layer
and one can no longer see the tracks or waypoints) so now it gets placed below the TRW layer
and hence the GPS info is still visible.

Maintain the ordering of layers when opened from a file.

Update the help file accordingly.

11 years agoAdd 'Export All' functionality to convert all TrackWaypoint layers into individual...
Rob Norris [Sat, 30 Mar 2013 19:13:03 +0000 (19:13 +0000)]
Add 'Export All' functionality to convert all TrackWaypoint layers into individual GPX or KML files.

11 years agoEnable opening background jobs window from the status bar by clicking on the items...
Rob Norris [Sun, 7 Apr 2013 11:10:21 +0000 (12:10 +0100)]
Enable opening background jobs window from the status bar by clicking on the items field.

11 years agoWhen loading unnamed items in a gpx file improve the default name.
Rob Norris [Sun, 7 Apr 2013 11:31:01 +0000 (12:31 +0100)]
When loading unnamed items in a gpx file improve the default name.

Include some leading zeros so when reading more then 10 items the alphabetical sort works better.
Also add specific name and numbering for routes.

11 years agoFix using .vik files with 'unusual' track or waypoint names
Rob Norris [Wed, 3 Apr 2013 21:41:37 +0000 (22:41 +0100)]
Fix using .vik files with 'unusual' track or waypoint names

Such as those containing " or \.

11 years agoFix waypoint selection when the waypoint has an image but the images are not being...
Rob Norris [Mon, 18 Mar 2013 23:11:35 +0000 (23:11 +0000)]
Fix waypoint selection when the waypoint has an image but the images are not being displayed.

11 years agoReleasing 1.4.1
Rob Norris [Mon, 8 Apr 2013 17:42:35 +0000 (18:42 +0100)]
Releasing 1.4.1

11 years agoDon't need specify full path for cmd.exe in using wine
Rob Norris [Mon, 8 Apr 2013 18:24:49 +0000 (19:24 +0100)]
Don't need specify full path for cmd.exe in using wine

11 years agoUse a busy cursor when exporting to a file.
Rob Norris [Sun, 7 Apr 2013 23:01:48 +0000 (00:01 +0100)]
Use a busy cursor when exporting to a file.

11 years agoEnable a busy cursor when loading and saving files as that may take some time.
Rob Norris [Sun, 7 Apr 2013 11:14:11 +0000 (12:14 +0100)]
Enable a busy cursor when loading and saving files as that may take some time.

This can be extended for other operations that may take some time.

11 years agoImprove Goto place search UI usage so one can start typing and then press return...
Rob Norris [Sun, 7 Apr 2013 11:09:15 +0000 (12:09 +0100)]
Improve Goto place search UI usage so one can start typing and then press return to instigate it.

11 years agoFix unintentional renames if drag dropping within the same layer
Rob Norris [Thu, 28 Mar 2013 20:27:44 +0000 (20:27 +0000)]
Fix unintentional renames if drag dropping within the same layer

11 years agoSF#3608411: Part 2 - Avoid creating command window on Viking start-up.
Rob Norris [Sat, 23 Mar 2013 19:43:30 +0000 (19:43 +0000)]
SF#3608411: Part 2 - Avoid creating command window on Viking start-up.

Ensure Viking is compiled as a 'Windows' application.
Otherwise it defaults to being a console program.

11 years agoFix showing map timestamps on Windows on the map tile info dialog.
Rob Norris [Sun, 10 Mar 2013 13:03:19 +0000 (13:03 +0000)]
Fix showing map timestamps on Windows on the map tile info dialog.

For some reason it would always show '(null)', so rewrite in glib functions.

11 years agoMerge branch 'WaypointSymbolImprovements'
Rob Norris [Sun, 24 Mar 2013 12:14:13 +0000 (12:14 +0000)]
Merge branch 'WaypointSymbolImprovements'

11 years agoMaintain support of old waypoint symbol names with new hashed lookup method.
Rob Norris [Sun, 24 Mar 2013 11:43:06 +0000 (11:43 +0000)]
Maintain support of old waypoint symbol names with new hashed lookup method.

11 years agoAdd preference to support writing Waypoint symbol names in Title or lower case.
Rob Norris [Fri, 22 Mar 2013 00:19:19 +0000 (00:19 +0000)]
Add preference to support writing Waypoint symbol names in Title or lower case.

11 years agoAdd an example viking file with all the supported waypoint symbols in use.
Rob Norris [Sun, 19 Jun 2011 12:12:40 +0000 (13:12 +0100)]
Add an example viking file with all the supported waypoint symbols in use.

11 years agoAdd 'helipad' waypoint symbol.
Rob Norris [Sun, 19 Jun 2011 10:44:32 +0000 (11:44 +0100)]
Add 'helipad' waypoint symbol.

Icon is taken from the public domain OpenStreetMap classic icons set.

11 years agoAdd 'exit' waypoint symbol.
Rob Norris [Sun, 19 Jun 2011 10:41:30 +0000 (11:41 +0100)]
Add 'exit' waypoint symbol.

Icon is taken from the public domain OpenStreetMap classic icon set.
[NB these exit symbol edited to make the white background transparent]

11 years agoAmend ground transport icon colour to differentiate between it and the school symbol.
Rob Norris [Sat, 18 Jun 2011 11:11:50 +0000 (12:11 +0100)]
Amend ground transport icon colour to differentiate between it and the school symbol.

11 years agoFix incorrect GPSBabel/Garmin symbol names.
Rob Norris [Sat, 18 Jun 2011 09:13:45 +0000 (10:13 +0100)]
Fix incorrect GPSBabel/Garmin symbol names.

11 years agoMaintain waypoint symbol .vik file compatibility with older Viking releases.
Rob Norris [Sun, 19 Jun 2011 10:33:14 +0000 (11:33 +0100)]
Maintain waypoint symbol .vik file compatibility with older Viking releases.

Older releases of Viking will only recognise waypoint symbols in lower case.

11 years agoFix GPX symbol names for Garmin Oregon 450
Sven Eckelmann [Fri, 11 Mar 2011 11:36:30 +0000 (12:36 +0100)]
Fix GPX symbol names for Garmin Oregon 450

While testing the GPS export using Garmin Oregon 450 with software
version 4.20, it was noticed that no symbol seemed to be recognized by
the waypoint manager. The problem seems to be that this device
differenciate between lower and upper chars in the symbol names.

Casing of all symbols apart from 'custom placeholder' were modified into
'Title Case'. The hash helper functions had to be changed to ignore the
difference between lower and upper cases. The import had to be extended
to convert lower case names in sym to the version in the table to work
correctly.

Reported-by: Frank Eckelmann <f.eckelmann@gmx.de>
Signed-off-by: Sven Eckelmann <sven@narfation.org>
11 years ago[QA] Tidy up Coordlayer function definitions.
Rob Norris [Tue, 19 Mar 2013 01:28:03 +0000 (01:28 +0000)]
[QA] Tidy up Coordlayer function definitions.

11 years agoFix layer defaults fix, which breaks setting the layer defaults.
Rob Norris [Thu, 21 Mar 2013 00:25:45 +0000 (00:25 +0000)]
Fix layer defaults fix, which breaks setting the layer defaults.

Broke commit SHA1:201443119159c068b3885cd19ecf5eaafdb2b451
Remember to point to a pointer so the value returned is actually available to use.

11 years agoFix compiling geocaches to work with updated VikLayerParam definition.
Rob Norris [Wed, 20 Mar 2013 22:24:16 +0000 (22:24 +0000)]
Fix compiling geocaches to work with updated VikLayerParam definition.

VikLayerParam definition changed in commit SHA1: a7023a1b43a8052fccc4ded7fbfc3a7e1132002f
Missed updating this file.

11 years agoSF#3608411: Part 1 - Avoid warning about unbuffer on Windows Systems.
Rob Norris [Tue, 19 Mar 2013 21:25:48 +0000 (21:25 +0000)]
SF#3608411: Part 1 - Avoid warning about unbuffer on Windows Systems.

Unlikely to package unbuffer on Windows so ATM don't even bother trying to use it.
Thus avoids the irrelevant warning :)

11 years agoSF#3608264: Improve Statusbar Location Info Maybe Truncated
Rob Norris [Tue, 19 Mar 2013 21:11:43 +0000 (21:11 +0000)]
SF#3608264: Improve Statusbar Location Info Maybe Truncated

Reduce precision of location output in DMS to 4 decimal places.
Since (default float output of) 6 dp of precision for one second too detailed be of use!

Reduce space allocated to naming the Tool in use and give it to the location field.
The tool in use (as reported in the statusbar) is not very important so it doesn't matter
does not matter if is truncated here, since the Tool in use is also indicated by:
1. The mouse icon
2. The button depressed on the toolbar

11 years agoPrevent inputting empty names for layers and sublayers via the layers panel.
Rob Norris [Sun, 17 Mar 2013 20:00:44 +0000 (20:00 +0000)]
Prevent inputting empty names for layers and sublayers via the layers panel.

11 years agoSF#3608311: Fix crash caused by renaming blank sublayer names
Rob Norris [Sun, 17 Mar 2013 18:41:21 +0000 (18:41 +0000)]
SF#3608311: Fix crash caused by renaming blank sublayer names

Don't convert blank text into null for sublayer item names.
Ensure string comparisons have values in rename call.

11 years agoCorrect spelling of map layer.
Rob Norris [Sun, 17 Mar 2013 19:58:15 +0000 (19:58 +0000)]
Correct spelling of map layer.

11 years ago[QA] Move file related function into file.c and rename for general reuse
Rob Norris [Sun, 17 Mar 2013 17:01:22 +0000 (17:01 +0000)]
[QA] Move file related function into file.c and rename for general reuse

11 years ago[QA] Better for vik_track reverse to worry about trackpoints.
Rob Norris [Tue, 5 Mar 2013 01:28:57 +0000 (01:28 +0000)]
[QA] Better for vik_track reverse to worry about trackpoints.

11 years agoMerge branch 'Optimize'
Rob Norris [Sun, 17 Mar 2013 21:05:04 +0000 (21:05 +0000)]
Merge branch 'Optimize'

11 years agoGeoRef layer draw: only scale the image when the image will be drawn on the viewport.
Rob Norris [Wed, 13 Mar 2013 23:30:39 +0000 (23:30 +0000)]
GeoRef layer draw: only scale the image when the image will be drawn on the viewport.

11 years agoOptimize: Calculate associated icon of a waypoint only on change.
Rob Norris [Mon, 4 Mar 2013 18:54:31 +0000 (18:54 +0000)]
Optimize: Calculate associated icon of a waypoint only on change.

Instead of looking up a hash table on every waypoint draw on every layer draw;
 store the icon reference in the waypoint itself and update only when necessary:

1. When the waypoint icon is changed directly by the user.
or
2. When implicitly changed via the size preference,
 so add method to update all windows and then all waypoints to switch between
 small<->large icons.

11 years agoOptimize: Only create waypoint font size string when actual setting is changed.
Rob Norris [Mon, 4 Mar 2013 13:18:34 +0000 (13:18 +0000)]
Optimize: Only create waypoint font size string when actual setting is changed.

Rather than performing on every drawing update of every waypoint.

11 years agoSpeed up item selection by restricting search within bounding box limits.
Rob Norris [Sun, 21 Oct 2012 18:03:04 +0000 (19:03 +0100)]
Speed up item selection by restricting search within bounding box limits.

Thus this avoids processing every point for tracks that are not on the screen.

11 years agoMake vik_viewport_coord_to_screen() calculation faster.
Rob Norris [Sun, 21 Oct 2012 17:59:10 +0000 (18:59 +0100)]
Make vik_viewport_coord_to_screen() calculation faster.

Since this function is used for every drawn trackpoint, this can be called
hundreds or thousands of times.

Thus calculate the fixed factors separately only when the dependent values change:
. factors dependent on the zoom level - set when the zoom level changes
. factors dependent on the screen size - set when the screen is resized.

11 years agoOnly attempt to draw waypoints when they are in the screens bounding box.
Rob Norris [Sun, 21 Oct 2012 16:27:09 +0000 (17:27 +0100)]
Only attempt to draw waypoints when they are in the screens bounding box.

Store bounding box of all the waypoints in a TrackWaypoint layer.
Waypoints bounds are calculated on layer create and whenever the waypoints positions have changed.

Bump minimum glib due to usage of g_hash_table_iter_init ()

11 years agoStore track bounding box and only attempt to draw it if some part of it
Rob Norris [Fri, 19 Oct 2012 11:32:05 +0000 (12:32 +0100)]
Store track bounding box and only attempt to draw it if some part of it
is visible on screen.

Bounds are calculated on TrackWaypoint creation (i.e. loading tracks
from a file or acquiring from an external source).

Bounds are recalculated on trackpoint changes.
Where 'simple' this is done within the vik_track update functions,
however much direct trackpoint list manipulation is performed by the TrackWaypoint layer,
such as the various merge and split functions, so the recalculation is called there.

Thus with multiple tracks, this skips attempting to draw all trackpoints
of every marked visible track when no part of the track is within the
current screen bounds.

This should mean Viking is much faster in drawing.

Note this still attempts to draw all trackpoints of a track should you
zoom 'inside' it. But this is not much of a penalty.

11 years agoBe less strigent in loading Geotagged images without optional GPS tags
Wolfgang Goetz [Wed, 13 Mar 2013 23:14:59 +0000 (23:14 +0000)]
Be less strigent in loading Geotagged images without optional GPS tags

Signed-off-by: Rob Norris <rw_norris@hotmail.com>
11 years ago[QA] Consistent use of *_layer_draw parameter types.
Rob Norris [Wed, 13 Mar 2013 23:08:29 +0000 (23:08 +0000)]
[QA] Consistent use of *_layer_draw parameter types.

11 years ago[QA] Tidy up DEM layer function definitions.
Rob Norris [Wed, 13 Mar 2013 23:06:45 +0000 (23:06 +0000)]
[QA] Tidy up DEM layer function definitions.

Remove from header as not used remotely.
Rename to remove vik_ prefix and make static.
Fix dem_layer_draw() definition to be consistent.

11 years ago[QA] These GeoRef layer functions should be static.
Rob Norris [Wed, 13 Mar 2013 23:03:59 +0000 (23:03 +0000)]
[QA] These GeoRef layer functions should be static.

11 years agoConvert GeoRef failed image loading message into a GUI message.
Rob Norris [Wed, 13 Mar 2013 22:57:38 +0000 (22:57 +0000)]
Convert GeoRef failed image loading message into a GUI message.

11 years agoGeoRef Layer only works in UTM Projection Mode.
Rob Norris [Wed, 13 Mar 2013 22:52:23 +0000 (22:52 +0000)]
GeoRef Layer only works in UTM Projection Mode.

Only draw when in UTM Mode.
Add warning when adding an image and the current mode is not UTM mode as it will not be drawn.

11 years agoFix tooltip of GeoRef northing / easting values.
Rob Norris [Wed, 13 Mar 2013 22:46:17 +0000 (22:46 +0000)]
Fix tooltip of GeoRef northing / easting values.

It's the top left not the top right!

11 years agoImprove defaults for the GeoRef layer using the current view to suggest some values.
Rob Norris [Wed, 13 Mar 2013 22:44:22 +0000 (22:44 +0000)]
Improve defaults for the GeoRef layer using the current view to suggest some values.

11 years agoRemove blank entry on the Tools->Webtools menu list.
Rob Norris [Sat, 9 Mar 2013 10:52:34 +0000 (10:52 +0000)]
Remove blank entry on the Tools->Webtools menu list.

Make ExtTools use GtkAction rather than tacking on GtkMenu items.

11 years agoChange map image interpolation to a more precise one.
Rob Norris [Sat, 9 Mar 2013 10:49:42 +0000 (10:49 +0000)]
Change map image interpolation to a more precise one.

Although this is slightly slower - it is not called often,
 not noticeable on modern systems and the result will get added the map memory cache anyway.

Reverse of commit SHA1:9fdb940f73cb138e942ddc38eb3f1854f6de70a2

11 years agoPrevent the program grinding to a halt if trying to deal with thousands of tiles
Rob Norris [Sat, 9 Mar 2013 10:40:20 +0000 (10:40 +0000)]
Prevent the program grinding to a halt if trying to deal with thousands of tiles

This can happen when using a small fixed zoom level and viewing large areas.
Also prevents very large number of tile download requests.

11 years agoPrevent requests for downloading tiles at Zoom Level 19 and above for most map types
Rob Norris [Sat, 9 Mar 2013 10:35:49 +0000 (10:35 +0000)]
Prevent requests for downloading tiles at Zoom Level 19 and above for most map types

Allow MapQuest Zoom Level up to 19

TODO: This should be made a property of the map source and then use that value
 rather than this temporary hack.

11 years agoExtend map scales down to support 1/32 zoom level.
Rob Norris [Sat, 9 Mar 2013 10:29:46 +0000 (10:29 +0000)]
Extend map scales down to support 1/32 zoom level.

Refactor all usage of 'GZ()' and *_mpp_to_scale() to use common definitions.
Including the addition of map_utils_mpp_to_zoom_level() and use it with WebToolCenter.

11 years agoFix use of scaled tile image when tile image not present.
Rob Norris [Wed, 6 Mar 2013 19:50:53 +0000 (19:50 +0000)]
Fix use of scaled tile image when tile image not present.

Due to the two stage initialization of the VIK_MAP_SOURCE the tilesize was actually set to zero.
This leads to the mapslayer redraw *not* trying differing tile zooms to get a pixbuf for the current zoom level.

First vik_map_source_init is performed (such as vik_slippy_map_source_init(),
 which sets a specific tilesize value in the first g_object_new() call.

However since the tilesize parameter is 'G_PARAM_CONSTRUCT | G_PARAM_READWRITE',
 on the second g_object_new() such as in osm_init(), since the tilesize is not specified
 it seems it is then 'constructed' with the default g_param value - which in this case is 0.

Thus to prevent the resetting of the tilesize, set it to 'G_PARAM_READWRITE'
and hence the extra (re)construction is avoided.

This has been broken since early 2010 in commit SHA1:0f08bd0dd39944f099a00af0ae8fe319d8bd9fa0
when the tilesizes at the osm.c level where removed, even though the underlying flaw is from earlier:
at least SHA1:31f3c5e7091825bd5c73f0d538741906cb4e4501

11 years agoAdd Wikimedia Toolserver GeoHack as a webtool.
Rob Norris [Wed, 6 Mar 2013 19:41:39 +0000 (19:41 +0000)]
Add Wikimedia Toolserver GeoHack as a webtool.

Stick it in the osm file for now.

11 years ago[QA] Add missing include as this header uses an externally defined type DownloadMapOp...
Rob Norris [Sat, 2 Mar 2013 18:13:08 +0000 (18:13 +0000)]
[QA] Add missing include as this header uses an externally defined type DownloadMapOptions.

11 years ago[QA] Function should have only local scope.
Rob Norris [Sat, 2 Mar 2013 17:57:15 +0000 (17:57 +0000)]
[QA] Function should have only local scope.

11 years agoEnable updating the treeview to allow setting a blank waypoint symbol.
Rob Norris [Mon, 4 Mar 2013 19:43:25 +0000 (19:43 +0000)]
Enable updating the treeview to allow setting a blank waypoint symbol.

11 years agoMerge pull request #2 from gdt/maxzoom
Rob Norris [Tue, 5 Mar 2013 19:59:39 +0000 (11:59 -0800)]
Merge pull request #2 from gdt/maxzoom

Allow zoom to 1/32.

11 years agoMerge pull request #1 from gdt/whitespace-README
Rob Norris [Tue, 5 Mar 2013 19:40:11 +0000 (11:40 -0800)]
Merge pull request #1 from gdt/whitespace-README

Wrap long lines.

11 years agoAllow zoom to 1/32.
Greg Troxel [Thu, 15 Dec 2011 19:12:11 +0000 (14:12 -0500)]
Allow zoom to 1/32.

Sometimes I want to look at a track in fine detail, perhaps to
understand quantization.  I find the default limit of 1/8 meter per
pixel too constraining, and I don't find allowing the user to zoom in
a bit to be problematic.

11 years agoWrap long lines.
Greg Troxel [Tue, 10 May 2011 12:39:36 +0000 (08:39 -0400)]
Wrap long lines.

11 years agoMerge branch 'LayerDefaultValues'
Rob Norris [Sun, 3 Mar 2013 13:45:23 +0000 (13:45 +0000)]
Merge branch 'LayerDefaultValues'

11 years agoNow layer property defaults are available, improve some layer defaults.
Rob Norris [Sun, 3 Mar 2013 13:44:14 +0000 (13:44 +0000)]
Now layer property defaults are available, improve some layer defaults.

. Make maps auto download by default
. Turn off Waypoint fake background translucency as it's slow
 (when there are many waypoints e.g. over 100)

11 years agoFix usage of layer defaults when file has been manually editted and entries have...
Rob Norris [Sun, 3 Mar 2013 13:40:55 +0000 (13:40 +0000)]
Fix usage of layer defaults when file has been manually editted and entries have been removed.

Upon loading ensure all values are given a default.

11 years ago[DOC] Layer property defaults.
Rob Norris [Sun, 3 Mar 2013 12:30:10 +0000 (12:30 +0000)]
[DOC] Layer property defaults.

Mention usage of the ~/.viking/viking_layer_defaults.ini

Mention the new menu entry to access the defaults.

11 years agoImprove the Waypoint tooltip to display the description if there is no comment.
Rob Norris [Tue, 19 Feb 2013 19:18:03 +0000 (19:18 +0000)]
Improve the Waypoint tooltip to display the description if there is no comment.

11 years agoRemove unnecessary include statements.
Rob Norris [Tue, 19 Feb 2013 19:17:12 +0000 (19:17 +0000)]
Remove unnecessary include statements.

11 years agoFix datasource acquiring waypoints from geotag images.
Rob Norris [Tue, 26 Feb 2013 23:15:31 +0000 (23:15 +0000)]
Fix datasource acquiring waypoints from geotag images.

Still need to return something for the 'command'.
I think in some personnel reworking to the acquire.c method I stopped requiring the command to have a value, thus I removed it.
Unfortunately I shouldn't have checked in this change to the geotag datasource, as in the end the acquire rework didn't include this hoped for simplification.

11 years agoCreate and use a function to detect when a TrackWaypoint layer is empty.
Rob Norris [Tue, 26 Feb 2013 22:30:22 +0000 (22:30 +0000)]
Create and use a function to detect when a TrackWaypoint layer is empty.

11 years ago[QA] Use vik_track function to append trackpoints from another track
Rob Norris [Tue, 29 Jan 2013 19:59:30 +0000 (19:59 +0000)]
[QA] Use vik_track function to append trackpoints from another track

11 years ago[QA] Simplify vik_track_steal_and_append_trackpoints()
Rob Norris [Tue, 29 Jan 2013 19:56:05 +0000 (19:56 +0000)]
[QA] Simplify vik_track_steal_and_append_trackpoints()

11 years agoRemove direct access for '->style' and replace with gtk_widget_get_style()
Rob Norris [Fri, 22 Feb 2013 19:45:44 +0000 (19:45 +0000)]
Remove direct access for '->style' and replace with gtk_widget_get_style()

11 years agoDon't use deprecated GtkObject - use GObject instead.
Rob Norris [Fri, 22 Feb 2013 20:48:30 +0000 (20:48 +0000)]
Don't use deprecated GtkObject - use GObject instead.

11 years agogtk_object_sink() has been deprecated since GTK version 2.10, use g_object_ref_sink...
Rob Norris [Fri, 22 Feb 2013 19:16:32 +0000 (19:16 +0000)]
gtk_object_sink() has been deprecated since GTK version 2.10, use g_object_ref_sink() instead.

11 years agoReplace G_CONST_RETURN with 'const'
Rob Norris [Fri, 22 Feb 2013 15:45:41 +0000 (15:45 +0000)]
Replace G_CONST_RETURN with 'const'

G_CONST_RETURN is deprecated.

https://bugzilla.gnome.org/show_bug.cgi?id=652211

11 years ago[QA] Remove unused variable in VikWindow.
Rob Norris [Fri, 22 Feb 2013 20:59:21 +0000 (20:59 +0000)]
[QA] Remove unused variable in VikWindow.

11 years agoBetter copying of limited sized string.
Rob Norris [Tue, 26 Feb 2013 19:49:54 +0000 (19:49 +0000)]
Better copying of limited sized string.

Use g_strlcpy() instead of g_snprintf()

11 years ago[DOC] Update the TODO file to say that it's old and superseded by the wiki.
Rob Norris [Tue, 26 Feb 2013 00:43:17 +0000 (00:43 +0000)]
[DOC] Update the TODO file to say that it's old and superseded by the wiki.

11 years agoUpdated geo-* scripts to version released on 2013/02/18
Rob Norris [Tue, 26 Feb 2013 00:42:20 +0000 (00:42 +0000)]
Updated geo-* scripts to version released on 2013/02/18

See http://geo.rkkda.com/

11 years agoFix compilation with --enable-geocaches option.
Rob Norris [Tue, 26 Feb 2013 00:38:16 +0000 (00:38 +0000)]
Fix compilation with --enable-geocaches option.

Need to specify that it uses a thread in geocache data acquiring.

11 years agohelp/Makefile.am: explicitly list figures.
Greg Troxel [Tue, 12 Feb 2013 21:05:35 +0000 (21:05 +0000)]
help/Makefile.am: explicitly list figures.

Signed-off-by: Rob Norris <rw_norris@hotmail.com>
11 years agoRevise Layer Default icon.
Rob Norris [Sun, 17 Feb 2013 11:16:31 +0000 (11:16 +0000)]
Revise Layer Default icon.

11 years agoAdd default values for layers.
Rob Norris [Wed, 23 Jan 2013 21:14:50 +0000 (21:14 +0000)]
Add default values for layers.

Add functions to set the default layer parameter data, which is used on initialization.
This uses the GKeyFile mechanism to read and write files.
Using the group type offers a straightforward way to map to the layer name.
Enable GUI access to change the default values.
Rework the layer initialization to use the current default value for each parameter.

11 years ago[QA] Refactor general string processing to avoid pointer arithmetic.
Rob Norris [Wed, 23 Jan 2013 20:14:39 +0000 (20:14 +0000)]
[QA] Refactor general string processing to avoid pointer arithmetic.

11 years ago[QA] Simplify setting the colour in coordinate layer.
Rob Norris [Tue, 22 Jan 2013 22:29:32 +0000 (22:29 +0000)]
[QA] Simplify setting the colour in coordinate layer.

No need to have a pointer (and management thereof) to a colour structure.
Instead use it directly.

11 years ago[QA] Move preferences_load_parse_param() to be a general function
Rob Norris [Tue, 22 Jan 2013 21:25:46 +0000 (21:25 +0000)]
[QA] Move preferences_load_parse_param() to be a general function

11 years ago[QA] Move VikLayerTypedParamData from preferences into viklayer header
Rob Norris [Tue, 22 Jan 2013 20:26:35 +0000 (20:26 +0000)]
[QA] Move VikLayerTypedParamData from preferences into viklayer header

Move associated functions and make available for reuse.

11 years ago[QA] Promote layer_type_from_string to be a global function.
Rob Norris [Tue, 22 Jan 2013 17:58:35 +0000 (17:58 +0000)]
[QA] Promote layer_type_from_string to be a global function.

Rename to vik_layer_type_from_string and move into vik_layer.c

11 years ago[QA] Enumerate and use VikLayerWidgetType
Rob Norris [Tue, 22 Jan 2013 17:05:01 +0000 (17:05 +0000)]
[QA] Enumerate and use VikLayerWidgetType

11 years ago[QA] Enumerate and use VikLayerParamType
Rob Norris [Tue, 22 Jan 2013 17:02:47 +0000 (17:02 +0000)]
[QA] Enumerate and use VikLayerParamType

11 years ago[QA] Better usage of enumeration type to identify layers.
Rob Norris [Mon, 7 Jan 2013 17:26:56 +0000 (17:26 +0000)]
[QA] Better usage of enumeration type to identify layers.

11 years ago[QA] Initialization of TrackWaypoint layer data in related part.
Rob Norris [Wed, 5 Dec 2012 18:40:18 +0000 (18:40 +0000)]
[QA] Initialization of TrackWaypoint layer data in related part.

Isolate viewport related settings to one function.

11 years agoEnable some layers to be created without needing a viewport.
Rob Norris [Wed, 5 Dec 2012 18:38:59 +0000 (18:38 +0000)]
Enable some layers to be created without needing a viewport.

11 years agoReleasing 1.4.0.1
Rob Norris [Sat, 16 Feb 2013 12:07:17 +0000 (12:07 +0000)]
Releasing 1.4.0.1

Signed-off-by: Rob Norris <rw_norris@hotmail.com>