]>
git.street.me.uk Git - andy/viking.git/log
Guilhem Bonnefille [Sun, 27 Mar 2011 21:06:25 +0000 (23:06 +0200)]
Add support for Bing maps
This implementation is quite rude as:
* logo is built-in, while a right solution would be to download
the logo and caching the result in viking's cache.
* attributions are downloaded at first need, without automatically
refreshing vikviewport, while a right solution would be to cache
the file in viking's cache.
Signed-off-by: Guilhem Bonnefille <guilhem.bonnefille@gmail.com>
Guilhem Bonnefille [Sun, 27 Mar 2011 20:28:12 +0000 (22:28 +0200)]
Add support for dynamic copyright
Some providers use different copyright at different zoom levels or
different world region.
This is an initial implementation. By some aspect it is a rude patch.
Currently, VikViewport asks VikMapsLayer which asks VikMapSouce
which calls back VikViewport via function callback. This seems the
simplest solution to transmit many copyright per map provider without
affecting performances and without changing too many interfaces.
A better/cleaner solution could be to add a get_copyright method on
VikLayer. By this way, VikViewport can pick copyright directly from
owner (Vikayer) and only when needed (for example only when showing
or hiding a Layer).
Signed-off-by: Guilhem Bonnefille <guilhem.bonnefille@gmail.com>
Guilhem Bonnefille [Sun, 27 Mar 2011 20:26:50 +0000 (22:26 +0200)]
Add map's logo support
Add support for map's logo, displayed in viewport.
Each map layer can provides a logo, displayed in the viewport.
Signed-off-by: Guilhem Bonnefille <guilhem.bonnefille@gmail.com>
Guilhem Bonnefille [Sat, 26 Mar 2011 13:32:34 +0000 (14:32 +0100)]
Document VikViewport
Signed-off-by: Guilhem Bonnefille <guilhem.bonnefille@gmail.com>
Guilhem Bonnefille [Sat, 26 Mar 2011 13:29:38 +0000 (14:29 +0100)]
Document Map Source hierarchie
Signed-off-by: Guilhem Bonnefille <guilhem.bonnefille@gmail.com>
Guilhem Bonnefille [Sat, 26 Mar 2011 13:25:35 +0000 (14:25 +0100)]
Improve documentation of background.c
Signed-off-by: Guilhem Bonnefille <guilhem.bonnefille@gmail.com>
Guilhem Bonnefille [Sat, 26 Mar 2011 13:25:03 +0000 (14:25 +0100)]
Add support for reference documentation
One issue against viking's code is the lack of documentation. One
of the best way to easily improve the code documentation is... to
allow extraction.
Signed-off-by: Guilhem Bonnefille <guilhem.bonnefille@gmail.com>
Rob Norris [Sun, 13 Mar 2011 12:41:10 +0000 (12:41 +0000)]
Generate a trackwaypoint layer update on the finish creatiing of the thumbnails so the images are shown.
Have to pass the layer into the thread to know how to generate an appropriate redraw event, thus the reworking of the thread data.
Rob Norris [Wed, 26 Jan 2011 01:56:39 +0000 (01:56 +0000)]
Fix displaying of 'Waypoints' treeview menu.
Previous code's intention was to show a menu for waypoints grouping. Now it does.
Rob Norris [Fri, 14 Jan 2011 18:59:10 +0000 (18:59 +0000)]
Enable the tree view panel to be more usefully resized smaller than the text names.
As now names can be obscured enable the ellipsize property to indicate there is hidden text.
Guilhem Bonnefille [Mon, 14 Mar 2011 20:16:43 +0000 (21:16 +0100)]
Improve HACKING documentation
Inspired corresponding file in Folks project.
Mathieu Albinet [Thu, 10 Mar 2011 21:45:02 +0000 (21:45 +0000)]
Windows : Open help pdf file when when clicked on Help->help
Rob Norris [Sun, 5 Sep 2010 16:35:23 +0000 (17:35 +0100)]
Fix vik_aggregate_layer_get_all_layers_of_type for track/waypoint layer types, since these may also be stored under GPS layers.
Guilhem Bonnefille [Wed, 2 Mar 2011 21:37:09 +0000 (22:37 +0100)]
Add autoconf HAVE macros
Rob Norris [Mon, 28 Feb 2011 23:01:59 +0000 (23:01 +0000)]
Improve previous fix: background calling code should control return value
Rob Norris [Mon, 28 Feb 2011 22:03:10 +0000 (22:03 +0000)]
[DOC] Split By Number of Points
Rob Norris [Fri, 31 Dec 2010 18:22:52 +0000 (18:22 +0000)]
Add Track->Split by Number of Points (as per SF#
2847587 request).
This uses the new dialog to get a positive number, so the user can specify the number of points to split by.
The algorithm for the split by number of points method is derived from the split by time method.
Rob Norris [Fri, 31 Dec 2010 18:22:01 +0000 (18:22 +0000)]
Add a new dialog to return positive number.
Guilhem Bonnefille [Tue, 22 Feb 2011 21:46:25 +0000 (22:46 +0100)]
Fix: background calling code should control return value
Guilhem Bonnefille [Tue, 22 Feb 2011 21:44:56 +0000 (22:44 +0100)]
Fix: enforce background feature
Rob Norris [Mon, 10 Jan 2011 23:29:28 +0000 (23:29 +0000)]
Rework the a_dialog_new_waypoint function
. Rename as it also handles existing waypoints
. Enables the name to be shown when the waypoint is not new
. Fixes false positive memory leak by cppcheck 1.44 in viktrwlayer.c
Rob Norris [Thu, 17 Feb 2011 21:12:48 +0000 (21:12 +0000)]
Fix compiler warnings from gcc 4.5.4
Milan Jurik [Thu, 17 Feb 2011 21:15:06 +0000 (21:15 +0000)]
SF#
3178554 : Fix Sun Studio build
void functions have no return value.
Signed-off-by: Rob Norris <rw_norris@hotmail.com>
Rob Norris [Mon, 14 Feb 2011 00:09:18 +0000 (00:09 +0000)]
Prevent map license from being displayed more than necessary.
Rob Norris [Sat, 12 Feb 2011 19:51:12 +0000 (19:51 +0000)]
Remove dulipcate icon reference.
Rob Norris [Sat, 12 Feb 2011 17:13:56 +0000 (17:13 +0000)]
Correct several babel.h function return types.
Rob Norris [Fri, 11 Feb 2011 22:02:11 +0000 (22:02 +0000)]
SF#
2844872 : Suggest name for the new track when splitting the track via the trackpoint edit dialog.
Guilhem Bonnefille [Thu, 10 Feb 2011 21:00:22 +0000 (22:00 +0100)]
Reduce GObject cast
GObject cast is more than a C cast. So it is CPU consuming.
Signed-off-by: Guilhem Bonnefille <guilhem.bonnefille@gmail.com>
Guilhem Bonnefille [Tue, 8 Feb 2011 21:39:02 +0000 (22:39 +0100)]
Releasing viking 1.1
Guilhem Bonnefille [Tue, 8 Feb 2011 21:10:12 +0000 (22:10 +0100)]
Fix typo in translation
Guilhem Bonnefille [Tue, 8 Feb 2011 21:09:22 +0000 (22:09 +0100)]
Merge branch 'i18n'
Guilhem Bonnefille [Tue, 8 Feb 2011 21:09:08 +0000 (22:09 +0100)]
Merge branch 'i18n-launchpad' into i18n
Guilhem Bonnefille [Tue, 8 Feb 2011 21:03:10 +0000 (22:03 +0100)]
Document previous translation updates
Guilhem Bonnefille [Tue, 8 Feb 2011 21:01:25 +0000 (22:01 +0100)]
Import Launchpad updates
Guilhem Bonnefille [Mon, 7 Feb 2011 20:49:09 +0000 (21:49 +0100)]
[DOC] Add MapQuest Nominating search service in examples
Guilhem Bonnefille [Sun, 6 Feb 2011 16:31:18 +0000 (17:31 +0100)]
Fix dangerous code
file_options can be NULL.
Rob Norris [Fri, 4 Feb 2011 01:15:08 +0000 (01:15 +0000)]
Fix trackpoint edit altitude sensitivity to be re-enabled after it has been disabled.
Guilhem Bonnefille [Sat, 29 Jan 2011 13:27:25 +0000 (14:27 +0100)]
Merge branch 'i18n-launchpad'
Guilhem Bonnefille [Sat, 29 Jan 2011 13:26:54 +0000 (14:26 +0100)]
Add Javanese translation
Rob Norris [Sat, 29 Jan 2011 10:55:36 +0000 (10:55 +0000)]
Use define for conversion of meters->miles units.
Guilhem Bonnefille [Fri, 28 Jan 2011 21:26:20 +0000 (22:26 +0100)]
Document previous translation updates
Guilhem Bonnefille [Fri, 28 Jan 2011 21:21:07 +0000 (22:21 +0100)]
Import Launchpad updates
Rob Norris [Thu, 30 Dec 2010 20:45:43 +0000 (20:45 +0000)]
Add and use defines for conversion of meters<->miles units.
Rob Norris [Sat, 21 Aug 2010 19:14:45 +0000 (20:14 +0100)]
Adjust colour of last auto track colour to not clash with default create track colour.
Rob Norris [Sun, 23 Jan 2011 18:41:56 +0000 (18:41 +0000)]
Tidy up: Rename a dialog function as it's used to get a yes or no value.
Rob Norris [Thu, 27 Jan 2011 21:53:36 +0000 (21:53 +0000)]
Add menu icons for the maps layer menu.
Rob Norris [Wed, 26 Jan 2011 23:52:24 +0000 (23:52 +0000)]
Add myself (Rob Norris) as someone you can blame in the doap file.
Rob Norris [Wed, 26 Jan 2011 23:51:08 +0000 (23:51 +0000)]
Improve project description in the spec file.
Rob Norris [Mon, 24 Jan 2011 23:27:50 +0000 (23:27 +0000)]
Fix variable spelling part2.
Rob Norris [Sun, 23 Jan 2011 21:28:03 +0000 (22:28 +0100)]
Fix spelling
Rob Norris [Fri, 21 Jan 2011 18:45:30 +0000 (18:45 +0000)]
Make the selection list in Merge With Other Tracks sorted alphabetically.
Rob Norris [Tue, 18 Jan 2011 01:39:20 +0000 (01:39 +0000)]
Add sort list by name function. Will be useful for track and waypoint list ordering.
Rob Norris [Thu, 20 Jan 2011 00:08:05 +0000 (00:08 +0000)]
Fix incorrect cut/copy of sublayers when accessed via the layers panel buttons.
For cut: need to specifically handle the sublayer request, thus needing to add the VikLayerFuncCutItem layer interface and an implementation in the TrackWaypoint layer.
For copy: handler already present, but the layers panel does not call it when a sublayer. The clipboard function already handles layer/sublayer logic, so always call that.
Rob Norris [Thu, 20 Jan 2011 22:25:23 +0000 (22:25 +0000)]
Prevent Gtk-CRITICAL **: gtk_list_store_get_path: assertion `iter->stamp == GTK_LIST_STORE (tree_model)->stamp' message.
Sometimes a waypoint can have symbol but it's not in the symbol set shown, so add a check.
Rob Norris [Thu, 20 Jan 2011 21:51:06 +0000 (21:51 +0000)]
Fix the List Dialog so that it does not become taller than the screen when there are lots of entries.
Make the list scrollable and have a sensible default size to see items in the list.
Rob Norris [Tue, 18 Jan 2011 01:25:57 +0000 (01:25 +0000)]
Tidy Up:Improve a_dialog_select_from_list function.
It is not track related it just operates on a list of names.
It does not use a hash table.
Rob Norris [Sat, 15 Jan 2011 11:58:40 +0000 (11:58 +0000)]
[DOC] Mark ready for 1.1 release. Update help manual version to 0.2.
Rob Norris [Sun, 16 Jan 2011 19:35:04 +0000 (19:35 +0000)]
[DOC] Add layer information for Aggregates, Coords and GeoRefs in help.
Rob Norris [Sun, 16 Jan 2011 16:49:21 +0000 (16:49 +0000)]
[DOC] Add Maps layer help information.
Rob Norris [Sun, 16 Jan 2011 15:41:18 +0000 (15:41 +0000)]
[DOC] Add overall layer information and promote each layer to be a top level section in help.
Rob Norris [Sun, 16 Jan 2011 15:37:37 +0000 (15:37 +0000)]
[DOC] Add DEM layer help information.
Rob Norris [Sun, 16 Jan 2011 15:25:32 +0000 (15:25 +0000)]
[DOC] Mention waypoint properties in help information.
Rob Norris [Sun, 16 Jan 2011 13:10:02 +0000 (13:10 +0000)]
[DOC] Update GPS layer help information.
Rob Norris [Sun, 16 Jan 2011 11:56:57 +0000 (11:56 +0000)]
[DOC] Update track operations help information.
Rob Norris [Sat, 15 Jan 2011 18:01:32 +0000 (18:01 +0000)]
[DOC] Update waypoint operations help information.
Rob Norris [Sat, 15 Jan 2011 11:56:39 +0000 (11:56 +0000)]
[DOC] Update Tools help section
Rob Norris [Sat, 15 Jan 2011 01:46:24 +0000 (01:46 +0000)]
[DOC] Update TrackWaypoint layer menu help Information
Rob Norris [Sat, 15 Jan 2011 01:53:55 +0000 (01:53 +0000)]
Improve positioning of the menu separator on waypoint menus.
Makes it consistent with tracks usage.
Rob Norris [Fri, 14 Jan 2011 22:36:05 +0000 (22:36 +0000)]
Remove unecessary print statement.
Rob Norris [Sat, 8 Jan 2011 17:22:36 +0000 (17:22 +0000)]
Prevent Gtk-CRITICAL assertion when the application is closed with a Track Property window on display.
Rob Norris [Sun, 9 Jan 2011 19:38:25 +0000 (19:38 +0000)]
Prevent Gtk-CRITICAL assertion when the application is closed whilst loading DEMs.
Rob Norris [Fri, 14 Jan 2011 19:07:00 +0000 (19:07 +0000)]
Fix some compiler warnings in viktrwlayer.c when configured to build with --disable-alphabetized-trw
Rob Norris [Sun, 9 Jan 2011 19:39:16 +0000 (19:39 +0000)]
Fix Resource leak detected by cppcheck 1.46
Rob Norris [Thu, 23 Dec 2010 14:58:05 +0000 (14:58 +0000)]
Add GeoRef layer tooltip to show the file name in use.
Rob Norris [Thu, 9 Dec 2010 22:34:49 +0000 (22:34 +0000)]
Add GPS Layer tooltip to say the protocol (aka device manufacturer) type.
Rob Norris [Mon, 6 Dec 2010 22:39:49 +0000 (22:39 +0000)]
TrackWaypoint Layer tooltip featuring summaries for tracks and waypoints.
This gives the number of tracks and waypoints, and for all tracks: the date range, total length and duration.
Rob Norris [Fri, 3 Dec 2010 00:16:38 +0000 (00:16 +0000)]
Add maps layer tooltip to show the map name(type).
Rob Norris [Fri, 3 Dec 2010 00:15:33 +0000 (00:15 +0000)]
Add DEM layer tooltip to show the number of DEM files in use.
Rob Norris [Fri, 3 Dec 2010 00:14:53 +0000 (00:14 +0000)]
Add Track and waypoint sublayer tooltip information.
For tracks show short start date, length and duration.
For waypoints show the comment.
Rob Norris [Thu, 23 Dec 2010 01:52:02 +0000 (01:52 +0000)]
Add treeview use and display of layers tooltip.
Rob Norris [Thu, 23 Dec 2010 01:48:24 +0000 (01:48 +0000)]
Add Layer Tooltip callback definition
Rob Norris [Thu, 23 Dec 2010 01:51:00 +0000 (01:51 +0000)]
Add sublayer tooltip callback definition.
Guilhem Bonnefille [Fri, 7 Jan 2011 21:25:08 +0000 (22:25 +0100)]
Fix typo
Rob Norris [Thu, 15 Jul 2010 23:00:34 +0000 (00:00 +0100)]
When getting data via the GPS layer automatically set the view to see it, unless the realtime tracking mode is on.
NB gpsbabel generally can't talk to the GPS device whilst it is in use by gpsd.
Rob Norris [Thu, 15 Jul 2010 22:50:08 +0000 (23:50 +0100)]
On acquiring data from sources (inc. GPS) automatically set the view to see it.
Except for GeoCaches; as it's likely you're requesting data for the current area, so no point in trying to change the view.
Rob Norris [Tue, 13 Jul 2010 21:35:18 +0000 (22:35 +0100)]
On opening GPX files automatically view all the data.
Center (as before) and find zoom level to see all tracks & waypoints.
Rob Norris [Thu, 15 Jul 2010 00:49:49 +0000 (01:49 +0100)]
Add 'View All Tracks' option to the panel Layer menu options, which sets the view (center & zoom) to see all the tracks of that layer.
Rob Norris [Tue, 13 Jul 2010 21:27:37 +0000 (22:27 +0100)]
Add 'View Waypoints' option to the TrackWaypoint layer menu options, which sets the view (center & zoom) to see all the Waypoints.
Note special case covered for when only 1 waypoint, as zoom level not changed and the view is moved to center on it.
Rob Norris [Tue, 13 Jul 2010 21:09:53 +0000 (22:09 +0100)]
Add 'View Track' option to the Track sublayer menu options, which sets the view (center & zoom) to see the track.
Rob Norris [Tue, 13 Jul 2010 20:56:39 +0000 (21:56 +0100)]
Add 'View Layer' option to the TrackWaypoint Layer menu options, which sets the view (center & zoom) to see the entire layer.
Rob Norris [Tue, 13 Jul 2010 19:26:45 +0000 (20:26 +0100)]
Add the ability to 'autozoom' to view an area specified by maximum and minimum lat/longs for a TrackWaypoint layer.
Algorithm always works to give the best zoom view (in or out)
Guilhem Bonnefille [Fri, 7 Jan 2011 20:14:03 +0000 (21:14 +0100)]
Remove the hability to hide copyright
Robert Norris [Fri, 7 Jan 2011 20:20:46 +0000 (21:20 +0100)]
Create a new 'Show' submenu entry
Rob Norris [Sun, 2 Jan 2011 15:34:17 +0000 (15:34 +0000)]
Improve curl usage as should call cleanup on application exit.
Rob Norris [Fri, 31 Dec 2010 13:45:33 +0000 (13:45 +0000)]
Add copyright and license properties for NASA BlueMarble data.
Rob Norris [Fri, 31 Dec 2010 13:44:49 +0000 (13:44 +0000)]
Fix compiler warning in curl_download.c
Guilhem Bonnefille [Thu, 23 Dec 2010 12:10:57 +0000 (13:10 +0100)]
Fix dangerous static declaration
Viking is a multithreaded application. It is dangerous to use static
variables in such context.
Guilhem Bonnefille [Thu, 23 Dec 2010 11:59:24 +0000 (12:59 +0100)]
Fix compiler warning in vikmapslayer.c
Rob Norris [Wed, 22 Dec 2010 16:49:38 +0000 (16:49 +0000)]
Fix compiler warning in vikwindow.c - use correct const typing.
Signed-off-by: Guilhem Bonnefille <guilhem.bonnefille@gmail.com>
Rob Norris [Wed, 22 Dec 2010 16:48:49 +0000 (16:48 +0000)]
Fix compiler warnings - correct Widget / Window type.
Signed-off-by: Guilhem Bonnefille <guilhem.bonnefille@gmail.com>