]>
git.street.me.uk Git - andy/viking.git/log
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>
Guilhem Bonnefille [Sun, 19 Dec 2010 22:37:51 +0000 (23:37 +0100)]
Fix memory leak when generating image file
Guilhem Bonnefille [Sun, 19 Dec 2010 21:47:50 +0000 (22:47 +0100)]
Fix Spotmaps license
The idea of the license is:
This data is provided to you by Spot Image under a specific license for the OpenStreetMap community.
Rob Norris [Sun, 5 Dec 2010 21:35:55 +0000 (21:35 +0000)]
Add background thread loading of DEM files.
Although loading of a single DEM file is relatively quick enough for a user not to notice, however loading many DEM files (like say over 50 to cover a country) can easily take sometime - such as the order of 10 seconds (depending on machine speed & number of files). Previously this would lock up the GUI whilst the DEMs are being processed.
This uses the background thread processing feature to load DEM files, with reporting of the number of items to process.
Rob Norris [Sat, 26 Jun 2010 19:10:48 +0000 (20:10 +0100)]
Add Track->Goto Highest and Lowest points features.
Rob Norris [Sat, 26 Jun 2010 19:04:44 +0000 (20:04 +0100)]
Tidy intended logic in if statement.
Rob Norris [Sat, 26 Jun 2010 18:34:55 +0000 (19:34 +0100)]
Add Track->Goto Maximum Speed feature.
Rob Norris [Sat, 26 Jun 2010 17:20:19 +0000 (18:20 +0100)]
Rework Track->Goto menu options.
Guilhem Bonnefille [Wed, 15 Dec 2010 20:57:43 +0000 (21:57 +0100)]
Add support for the TMS interface provided by SPOTMaps
Spot Image provides free access to some of their imagery.
This access is accepted only for OpenStreetMap related
work.
Guilhem Bonnefille [Wed, 15 Dec 2010 09:14:30 +0000 (10:14 +0100)]
Fix: Improve XML reading error reporting
Guilhem Bonnefille [Tue, 14 Dec 2010 21:47:18 +0000 (22:47 +0100)]
Add license related properties
Copyright and licensing is really important for both user and data
provider (aka MapSource in viking).
We should provide these informations.
Signed-off-by: Guilhem Bonnefille <guilhem.bonnefille@gmail.com>
Guilhem Bonnefille [Sat, 11 Dec 2010 21:45:21 +0000 (22:45 +0100)]
Add copyright property
Copyright and licensing is really important for both user and data
provider (aka MapSource in viking).
We should provide these informations.
Signed-off-by: Guilhem Bonnefille <guilhem.bonnefille@gmail.com>
Guilhem Bonnefille [Thu, 9 Dec 2010 12:18:16 +0000 (13:18 +0100)]
Add undeclared translations
Rob Norris [Sat, 4 Dec 2010 16:46:36 +0000 (16:46 +0000)]
Fix compiler warnings in osm.c
Signed-off-by: Guilhem Bonnefille <guilhem.bonnefille@gmail.com>
Rob Norris [Sun, 5 Dec 2010 20:24:39 +0000 (21:24 +0100)]
Improve key binding for Mercator Mode -> ctrl+m
This makes it consistent with other mode name shortcuts.
[Previously it was ctrl+'g', as a hangover from when the mode was known as Google Mode]
Signed-off-by: Guilhem Bonnefille <guilhem.bonnefille@gmail.com>
Rob Norris [Sat, 4 Dec 2010 16:43:09 +0000 (16:43 +0000)]
Fix compiler warning in vikmapslayer.c
Signed-off-by: Guilhem Bonnefille <guilhem.bonnefille@gmail.com>
Rob Norris [Fri, 3 Dec 2010 00:35:37 +0000 (00:35 +0000)]
Fix Waypoint & Track visibility issues.
Problems:
1. If a waypoint is made invisibile, saved to a .vik and then the file reloaded the waypoint is visible.
2. If an invisible waypoint is cut/copied - upon paste it is marked as invisible.
3. If an invisible track is cut/copied - upon paste it has no visibility control.
4. If an track or waypoint is cut, a redraw event is done (as the item is no longer visible), however upon pasting it is not seen until a redraw event is triggered (eg zoom out).
Thus fixed add waypoint and track code to separate the control of the visibility checkbox and the setting of the checkbox itself. [Fixes 1,2&3]
Upon pastes, generate layer update if necessary. [Fixes 4]
Guilhem Bonnefille [Tue, 30 Nov 2010 15:56:45 +0000 (16:56 +0100)]
Add documentation for generic TMS map source
Support for TMS and WMS-C were two long living patches on my own repo.
I don't know how, but it seems that I lost part of the documentation
when applying these patches on master.
Rob Norris [Mon, 29 Nov 2010 20:07:48 +0000 (20:07 +0000)]
Fix SF#
3104028 : Default Color Background is incorrectly saved as black into a new .vik file.
Restore code to set the default color text, which is used in .vik files
Signed-off-by: Guilhem Bonnefille <guilhem.bonnefille@gmail.com>
Rob Norris [Mon, 29 Nov 2010 19:48:53 +0000 (19:48 +0000)]
Improve key bindings for ModeLatLon.
Change menu accelerator from 'L' to '/' (since L is already in use).
Add ctrl+l to switch to this mode. (Similar to other mode shortcut switch)
Signed-off-by: Guilhem Bonnefille <guilhem.bonnefille@gmail.com>
Rob Norris [Mon, 29 Nov 2010 19:31:31 +0000 (19:31 +0000)]
Set git to ignore test_coord_conversion program
Signed-off-by: Guilhem Bonnefille <guilhem.bonnefille@gmail.com>
Rob Norris [Sun, 28 Nov 2010 22:59:35 +0000 (22:59 +0000)]
Set git to ignore autogenerated documenters.h
Guilhem Bonnefille [Sat, 27 Nov 2010 23:49:05 +0000 (00:49 +0100)]
Add OSM WMS Server
This is particularly usefull to have OpenStreetMap data available in
EPSG:4326 to compare with other such map.
Signed-off-by: Guilhem Bonnefille <guilhem.bonnefille@gmail.com>
Guilhem Bonnefille [Sat, 27 Nov 2010 23:39:55 +0000 (00:39 +0100)]
Add support for WMS-C
WMS-C is a WMS sub-specification to allow tile oriented request.
As WMS-C is also a sort of WMS, it allows to access any WMS service.
Signed-off-by: Guilhem Bonnefille <guilhem.bonnefille@gmail.com>
Guilhem Bonnefille [Sat, 27 Nov 2010 23:15:36 +0000 (00:15 +0100)]
Add support for more standard TMS
OpenStreetMap project provides a sort of TMS service.
But it use some specificities: top-left origin with
spherical-mercator pojection.
We need a more standard support: origin in bottom-left corner
with EPSG:4326 projection.
Signed-off-by: Guilhem Bonnefille <guilhem.bonnefille@gmail.com>
Guilhem Bonnefille [Sat, 27 Nov 2010 22:58:40 +0000 (23:58 +0100)]
Move-up download methods
Downloading functions are factorized at the VikMapSourceDefault class.
Signed-off-by: Guilhem Bonnefille <guilhem.bonnefille@gmail.com>
Guilhem Bonnefille [Sat, 27 Nov 2010 22:51:28 +0000 (23:51 +0100)]
Add LatLon projection
LatLon projection is also called equirectangular projection.
http://en.wikipedia.org/wiki/Equirectangular_projection
Signed-off-by: Guilhem Bonnefille <guilhem.bonnefille@gmail.com>
Rob Norris [Sat, 27 Nov 2010 22:22:41 +0000 (23:22 +0100)]
Better safety checking code
Guilhem Bonnefille [Fri, 26 Nov 2010 21:35:48 +0000 (22:35 +0100)]
Fix some translated strings
Strings are already translated, but code does not allow to retrieve
the translation.
Rob Norris [Thu, 14 Oct 2010 22:43:53 +0000 (23:43 +0100)]
Add support for Locosys devices via GPSBabel's navilink device protocol.
GPSBabel v1.3.6+ required. [i.e. anything recent]
http://www.gpsbabel.org/htmldoc-1.3.6/fmt_navilink.html
Rob Norris [Thu, 14 Oct 2010 22:13:05 +0000 (23:13 +0100)]
Add support for DeLorme devices via GPSBabel's delbin device protocol.
Device name 'usb:' recommended.
GPSBabel v1.4.0+ required.
http://www.gpsbabel.org/htmldoc-1.4.0/fmt_delbin.html
Rob Norris [Wed, 11 Aug 2010 20:51:25 +0000 (21:51 +0100)]
Add the ability to insert a trackpoint into a track via the Edit Trackpoint dialog.
Rob Norris [Wed, 11 Aug 2010 20:49:28 +0000 (21:49 +0100)]
Add internal function to insert a trackpoint after the currently selected trackpoint.
The new trackpoint is interpolated between the current trackpoint and the next trackpoint.
All applicable values are interpolated: position, altitude, time, speed & course.
'Extended' properties such as number of sats & HDOP are left at defaults.
This method works for newly created tracks, as well as real tracks from a GPS.
Guilhem Bonnefille [Thu, 25 Nov 2010 20:33:15 +0000 (21:33 +0100)]
Add license notice to new file
GPL license validated with Rob Noris by email.
Guilhem Bonnefille [Wed, 24 Nov 2010 22:03:49 +0000 (23:03 +0100)]
Replace macros by enum
An enum informs the compiler about the idea of related values.
Signed-off-by: Guilhem Bonnefille <guilhem.bonnefille@gmail.com>
Guilhem Bonnefille [Wed, 24 Nov 2010 21:56:47 +0000 (22:56 +0100)]
Simplify previous commit
I feel that this new change helps to keep code as simple as possible.
There's no need to give VikTrack in argument as VikTrack can be
retrieve from VikTrwLayer with trackname.
Furthermore, deciding to export track as GPX without new file type
value.
Signed-off-by: Guilhem Bonnefille <guilhem.bonnefille@gmail.com>
Rob Norris [Sun, 12 Sep 2010 09:34:19 +0000 (10:34 +0100)]
Enable individual track to GPX export via the Track sublayer menu.
Internally gpx.[ch] supports writing a track to the specified file, so make this available in the GUI.
Expand export definitions in file.h, use the gpx.h interface as necessary routing via a_file_export function.
Filename used is automatically generated from the track name with a '.gpx' appended if appropriate.
Restructure trw_layer_export function to support passing track information.
Add the new sublayer menu entry to use this feature.
Rob Norris [Sun, 25 Jul 2010 23:44:35 +0000 (00:44 +0100)]
Set 'OK' default for autogenerated dialogs.
Rob Norris [Sun, 25 Jul 2010 23:44:12 +0000 (00:44 +0100)]
Set 'OK' default for find waypoint dialog.
Rob Norris [Sun, 25 Jul 2010 23:34:35 +0000 (00:34 +0100)]
Set 'OK' default for download along track dialog.
Rob Norris [Sun, 25 Jul 2010 23:33:36 +0000 (00:33 +0100)]
Set 'OK' defaults for new track, custom zoom & split time dialogs.
Rob Norris [Sun, 25 Jul 2010 23:32:24 +0000 (00:32 +0100)]
Set 'Cancel' default for merge track dialog. User needs to select items first.
Rob Norris [Sun, 25 Jul 2010 23:29:52 +0000 (00:29 +0100)]
Set 'OK' default for the new waypoint dialog.
Rob Norris [Sun, 25 Jul 2010 23:28:30 +0000 (00:28 +0100)]
Set 'OK' default for goto dialogs.
Rob Norris [Sun, 25 Jul 2010 23:26:38 +0000 (00:26 +0100)]
Set 'OK' default for the Save to Image dialog.
Rob Norris [Sun, 25 Jul 2010 23:19:33 +0000 (00:19 +0100)]
Set 'OK' default for the track properties dialog.
Rob Norris [Sun, 25 Jul 2010 23:17:59 +0000 (00:17 +0100)]
Set 'OK' default for the GPS layer dialog.
Rob Norris [Sun, 25 Jul 2010 23:12:53 +0000 (00:12 +0100)]
Set 'OK' defaults for goto dialogs.
Rob Norris [Sun, 25 Jul 2010 22:41:41 +0000 (23:41 +0100)]
Set 'Cancel' default for the Geo Ref dialog, as user should really specify a map file first.