Rob Norris [Tue, 11 May 2010 01:06:24 +0000 (02:06 +0100)]
Auto use of /dev/ttyUSB type device if available on Unix systems.
Assume this is likely to be the GPS device if /dev/ttyUSB (0 or 1) if present (as presumably only there when the device is connected to the system - detected by udev or similar)
User can still use drop down menu / type it in, if the auto one is not the one they want to use.
Otherwise still defaults to /dev/ttyS0 (if that is even available).
Store the location in lat/long format in the preferences - can set values directly.
Add more user friendly method: can set it to the current position via an Edit menu 'Set Default Position' command.
Add tool bar button to jump to the home location.
Robert Norris [Wed, 19 May 2010 19:21:34 +0000 (21:21 +0200)]
Fix Track -> View Google Directions URL
There is a minor typo in the url created to see a 'magic scissors' created route in Google, accessed via the right click on the track in the treeview -> View Google Directions.
Robert Norris [Sun, 2 May 2010 19:09:23 +0000 (21:09 +0200)]
Better Preferences Dialog Title
Previously, the Preferences dialog would come up the title 'Layer
Properties', which is obviously wrong.
Hence this patch allows the creator of the dialog to set the name.
So, now it says 'Preferences' for the preferences dialog and then
for actual layer dialogs the old name is maintained.
Rob Norris [Sat, 17 Apr 2010 19:40:25 +0000 (20:40 +0100)]
Change GUI related command line parameter for Waypoint symbol size into run time preference.
Hence command line -s is removed.
Converted 'use small waypoint icons' into (IMHO) a more positive sounding 'use large waypoint icons' in preferences and in function names. Thus reversing the logic in garminsymbols to keep current behaviour and maintain the current defaults.
NB note how the symbol icon index hash must be cleared and then rebuilt when this preference is changed.
Robert Norris [Tue, 27 Apr 2010 21:17:04 +0000 (23:17 +0200)]
More Menu Improvements
Some Menu Improvements (for the default English version) featuring more
Menu keyboard accelerators, better capitalization, improved use of
'...' for items that need more user input* and some white space code
alignment to make code look nicer on lines adjusted [at least with
Emacs & Vi].
Microsoft’s free, public access data store of maps and aerial photographs of the United States that is currently known as TerraServer-USA has been renamed "MSR Maps" which is short for "Microsoft Research Maps" and relocated to a new URL at http://msrmaps.com. Please update your bookmarks.
If your browser does not take you to the new site within fifteen (15) seconds, please click here.
If you are looking for the commercial website operated by TerraServer.com (which is not associated with Microsoft) please click here http://www.TerraServer.com.
Replace map source when new one is registered with same id.
Such feature allows user to change properties of built-in sources.
Furthermore, this allows to imagine loading sources
from multiple configureation files (/usr/share/, /etc/, $HOME).
Rob Norris [Tue, 23 Mar 2010 00:17:34 +0000 (00:17 +0000)]
Make GPS layer cut/copy available from popup menu.
There's no reason why GPS layer cut/copy should be disabled from the popup menu, since one can access it in three other ways (ctrl+c/x, main edit menu & cut/copy buttons at bottom of treeview.)
Rob Norris [Mon, 22 Mar 2010 23:53:26 +0000 (23:53 +0000)]
Fix GPS layer copy.
For GPS layer copy always use viewport so it will have the correct GTK Window references (otherwise crashes on Linux).
For copied GPS layer deletes, do not abort if number of signal handlers removed is not 1. (All systems inc Windows)
Rob Norris [Thu, 18 Mar 2010 16:07:55 +0000 (17:07 +0100)]
Fix: First Track not Black in Draw All Tracks Black Mode.
In fact it is green!
This is due to using the GC before setting it to Black when in this mode.
NB Also make use of the VIK_TRW_LAYER_TRACK_GC_BLACK define.
Fix #2958601: Support for non ascii characters in "Go-to" search
When escaping value, we have to enforce that a single byte is encoded. Previous implementation produced a 8 digits hexa value due to negative char value.
Rob Norris [Sun, 7 Mar 2010 23:03:26 +0000 (23:03 +0000)]
Add and use preference for height units.
Add height unit options of metres or feet into preferences.
Base the method on the Degrees format option.
Update all revelant displays to show correct information including:
.Track Properties - Stats & Elev/Dist tabs.
.Track Point Properties
.Waypoint Properties
Rob Norris [Sun, 7 Mar 2010 20:49:04 +0000 (20:49 +0000)]
Add and use preference for speed units.
Add speed unit options of kilometres per hour, miles per hour or meters per second into preferences
Base the method on the Degrees format option.
Update all revelant displays to show correct information including:
.Track Properties - Stats & Speed/Time tabs.
.Track Point Properties
Remove the METRIC define from viktrwlayer_propwin.c and the unnecessary conversion of all speeds (Instead just convert the few in the generation for the scale marks text strings)
Rob Norris [Sun, 7 Mar 2010 19:37:35 +0000 (19:37 +0000)]
Add and use preference for distance units.
Add distance unit options of Kilometres or Miles into preferences
Base the method on the Degrees format option.
Update all displays to show correct information including:
.Scale Mark
.Ruler
.Track Properties - Stats & Elev/Dist tabs.
.Track Point Properties
[NB For track point differences use metres or yards rather than the larger units]
- the old version just draws fixed-size boxes in any zoom. in high zoom
modes, this results in sparse boxes all over the screen. the new
version scales these boxes so they fill the area completely. this
works for both absolute and height gradient
- change of DEM source path from /srtm/version2_1/SRTM3/OLD/ to
/srtm/version2_1/SRTM3/. again, yes. that's because the first is not
working but the second is.
recent files are stored as a URI. in our case, this is ALWAYS a file:// URI.
the file reading code expects an ordinary filename, so if the filename begins
with file://, this portion of the filename is dropped.
a more proper (and much larger) fix will involve converting file.c to use GFile.
Signed-off-by: Mike Ryan <mikeryan@lacklustre.net>
Sven Wegener [Wed, 20 Jan 2010 21:08:59 +0000 (22:08 +0100)]
Update mtime of up-to-date tiles
When the server reported that there is no newer version available,
update the mtime of our local copy. This avoids having to recheck the
tile over and over again, when scrolling over an area multiple times.
Signed-off-by: Sven Wegener <sven.wegener@stealer.net> Signed-off-by: Guilhem Bonnefille <guilhem.bonnefille@gmail.com>