Rob Norris [Sun, 5 Sep 2010 10:44:24 +0000 (11:44 +0100)]
Extend set/get param interface to have knowledge of what type of operation it is - i.e. is it related to file i/o or display/cut/copy usage.
This means differing actions can be taken dependent on the usage, such as in determining if conversion operations are required.
Thus when called from file.c the parameter is set to true, and elsewhere it is set to false.
Rob Norris [Fri, 17 Sep 2010 19:04:58 +0000 (20:04 +0100)]
Prevent lock up in attempt to download maps along a track in UTM mode.
Method that attempts to get maps between far apart points only appears to work in Mercator (LATLON) mode. Thus only do this when in LATLON mode (i.e. it is skipped when in UTM mode)
It is always really good for a .c file to include its own .h header file.
At least to check that declaration and definition of a function share the
same prototype.
Jon Burgess [Sun, 12 Sep 2010 16:34:20 +0000 (17:34 +0100)]
Add explicit linking against libz and libm
This fixes the following link errors on Fedora 13+
/usr/bin/ld: libviking.a(vikviewport.o): undefined reference to symbol 'tan@@GLIBC_2.2.5'
/usr/bin/ld: note: 'tan@@GLIBC_2.2.5' is defined in DSO /lib64/libm.so.6 so try adding it to the linker command line
/usr/bin/ld: libviking.a(dem.o): undefined reference to symbol 'inflateInit2_'
/usr/bin/ld: note: 'inflateInit2_' is defined in DSO /lib64/libz.so.1 so try adding it to the linker command line
I don't know why, but the warning message about a wrong draw mode
does not display. Gtk claimed:
Gtk-CRITICAL **: gtk_widget_get_toplevel: assertion `GTK_IS_WIDGET (widget)' failed
I imagine something is not completly initialised in VikMapsLayer object.
Using VikViewport is just fine and more secure: we know that viewport
already exists.
Benjamin Wagner [Sun, 5 Sep 2010 20:57:38 +0000 (22:57 +0200)]
Invalid number of arguments in call to a_http_download_get_u
While trying to build 0.9.91 to 0.9.94 on Gentoo, I received the above error in reference to a call in expedia.c ~line 188. Simple patch calling last argument as null. Below patch is for 0.9.94.
Rob Norris [Mon, 19 Jul 2010 22:15:22 +0000 (23:15 +0100)]
When manually creating a track, automatically give it a default name.
Now one can just click OK, and get on with creating the track (without needing to type anything).
Of course, one can change the suggested name or rename the track after creation via the layers panel features.
Sven Wegener [Sat, 14 Aug 2010 13:59:17 +0000 (15:59 +0200)]
Fix internal tile locking
g_list_find() only compares the pointer and not the filename it points
to, use g_list_find_custom() with g_strcmp0() to actually check for the
filename.
Signed-off-by: Sven Wegener <sven.wegener@stealer.net> Signed-off-by: Guilhem Bonnefille <guilhem.bonnefille@gmail.com>
Rob Norris [Sat, 14 Aug 2010 10:14:55 +0000 (11:14 +0100)]
Fix top layer not drawn after made invisible and then back to being visible.
Investigated a several of different options of drawing controls (including removing the ability to control the top layers visibility!), but simplest (and most effective IHMO) is just to force any aggregate change to redraw all.
Rob Norris [Sun, 27 Jun 2010 10:31:22 +0000 (11:31 +0100)]
Improvements for test programs.
Explain how to build.
Extend git ignore for test directory build output.
Improve gpx2gpx to run without the need of a $DISPLAY and to free memory.
Fix compiler warnings.
Add returns for all main programs.
Greg Troxel [Wed, 9 Jun 2010 00:38:01 +0000 (20:38 -0400)]
Change max cache time to 1 week.
When caching tiles, it's reasonable for the user to be able to make a
tradeoff as to how long a cache lifetime is reasonable. Even with OSM
mapnik, it's a reasonable choice to accept tiles that are a week old
rather than incurring network latency. Arguably terraserver tiles (or
any other source that is not expected to change) should be able to be
set to months.
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.