]> git.street.me.uk Git - andy/viking.git/log
andy/viking.git
14 years agoMinor improves on gitchangelog script
Guilhem Bonnefille [Wed, 26 May 2010 15:16:40 +0000 (17:16 +0200)]
Minor improves on gitchangelog script

Fix header.
Add copyright and licence header.

14 years ago[DOC] Update README and INSTALL files
Guilhem Bonnefille [Wed, 26 May 2010 09:01:23 +0000 (11:01 +0200)]
[DOC] Update README and INSTALL files

The INSTALL file is now the standard one.

14 years ago[DOC] Fix erroneous warning
Guilhem Bonnefille [Wed, 26 May 2010 09:00:45 +0000 (11:00 +0200)]
[DOC] Fix erroneous warning

14 years agoFix compiler warning.
Rob Norris [Thu, 20 May 2010 20:03:29 +0000 (21:03 +0100)]
Fix compiler warning.

14 years agoMerge branch 'help'
Guilhem Bonnefille [Tue, 25 May 2010 12:40:50 +0000 (14:40 +0200)]
Merge branch 'help'

14 years ago[DOC] Correct tagging
Guilhem Bonnefille [Tue, 25 May 2010 12:37:50 +0000 (14:37 +0200)]
[DOC] Correct tagging

Auto translation from wiki to DocBook did some strange things.

14 years agoMerge commit 'viking-0.9.93' into help
Guilhem Bonnefille [Tue, 25 May 2010 10:47:00 +0000 (12:47 +0200)]
Merge commit 'viking-0.9.93' into help

14 years ago[DOC] Document Default maplayer directory property
Guilhem Bonnefille [Tue, 25 May 2010 10:45:42 +0000 (12:45 +0200)]
[DOC] Document Default maplayer directory property

14 years ago[DOC] Document tile's age property
Guilhem Bonnefille [Tue, 25 May 2010 10:42:42 +0000 (12:42 +0200)]
[DOC] Document tile's age property

14 years ago[DOC] Introduce properties related to units
Guilhem Bonnefille [Tue, 25 May 2010 10:32:12 +0000 (12:32 +0200)]
[DOC] Introduce properties related to units

It is an important feature to be able to adapt display
to its locale habits.

14 years agoAdd Robert Norris as active contributor
Guilhem Bonnefille [Wed, 19 May 2010 22:07:26 +0000 (00:07 +0200)]
Add Robert Norris as active contributor

14 years agoAdd Viking's contributors as copyright holders
Guilhem Bonnefille [Wed, 19 May 2010 22:05:09 +0000 (00:05 +0200)]
Add Viking's contributors as copyright holders

14 years agoDetect USB Garmin eTrex HCx Legend devices (and maybe others).
Rob Norris [Tue, 11 May 2010 21:33:31 +0000 (22:33 +0100)]
Detect USB Garmin eTrex HCx Legend devices (and maybe others).

14 years agoOn GPS data acquire, only create a layer if it contains something.
Rob Norris [Tue, 11 May 2010 21:32:03 +0000 (22:32 +0100)]
On GPS data acquire, only create a layer if it contains something.

14 years agoAuto use of /dev/ttyUSB type device if available on Unix systems.
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).

14 years agoAdd ability to turn off Garmin GPS after transfer.
Rob Norris [Sat, 17 Apr 2010 18:51:08 +0000 (19:51 +0100)]
Add ability to turn off Garmin GPS after transfer.

gpsbabel can turn off Garmin devices.
This is more useful for serial devices than USB ones, since serial ones use there own power.

14 years agoAdd a 'home' default location preference.
Guilhem Bonnefille [Wed, 19 May 2010 20:33:21 +0000 (22:33 +0200)]
Add a 'home' default location preference.

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.

14 years agoAdd ability to changes preferences outside of the preferences.c file.
Rob Norris [Sun, 9 May 2010 11:55:10 +0000 (12:55 +0100)]
Add ability to changes preferences outside of the preferences.c file.

Expose internals to preferences to be able to set a parameter and save preferences.

14 years agoFix #2977752 : win-gtk: osm tiles don't show up
Mathieu Albinet [Wed, 19 May 2010 19:46:38 +0000 (21:46 +0200)]
Fix #2977752 : win-gtk: osm tiles don't show up

It's a Windows specific bug (should I say glib specific behaviour on Windows).

14 years agoFix Track -> View Google Directions URL
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.

14 years agoNLS Maps API: Historic map of Great Britain
Robert Norris [Tue, 18 May 2010 21:15:06 +0000 (23:15 +0200)]
NLS Maps API: Historic map of Great Britain

Of particular interest to GB users:
See http://geo.nls.uk/maps/api/

14 years agoFix function's return value
Guilhem Bonnefille [Mon, 17 May 2010 22:15:59 +0000 (00:15 +0200)]
Fix function's return value

14 years agoFix compilation warnings
Guilhem Bonnefille [Mon, 17 May 2010 22:13:36 +0000 (00:13 +0200)]
Fix compilation warnings

14 years agoBetter Preferences Dialog Title
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.

14 years agoFix #2988574: Can't save files opened via recent file menu
Simon Munton [Sun, 2 May 2010 18:48:01 +0000 (20:48 +0200)]
Fix #2988574: Can't save files opened via recent file menu

After opening a saved project using the recent file menu, it is not
possible to save it, as the filename used is prefixed with file://

14 years agoChange GUI related command line parameter for Waypoint symbol size into run time...
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.

14 years agoSupport All Zoom Levels in Zoom Menu
Robert Norris [Thu, 29 Apr 2010 20:27:47 +0000 (22:27 +0200)]
Support All Zoom Levels in Zoom Menu

As now the maximum zoom level is 32768, support them via the View->Zoom menu options.

14 years agoMore Menu Improvements
Robert Norris [Tue, 27 Apr 2010 21:19:04 +0000 (23:19 +0200)]
More Menu Improvements

Subsequently, also noticed the '...' is missing for the 'Zoom To' menu entry.

14 years agoMore Menu Improvements
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].

*see http://library.gnome.org/devel/hig-book/stable/menus.html.en

14 years agoRemove unecessary '\' from the View Menu
Robert Norris [Tue, 27 Apr 2010 21:01:19 +0000 (23:01 +0200)]
Remove unecessary '\' from the View Menu

14 years agoFix #2991657: Terraserver downloads fail
Mark Coulter [Tue, 27 Apr 2010 20:54:36 +0000 (22:54 +0200)]
Fix #2991657: Terraserver downloads fail

New server name http://msrmaps.com/Default.aspx.

Message:
We have changed our name!

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.

14 years agoFix geocaching
Mark Coulter [Wed, 21 Apr 2010 20:17:21 +0000 (22:17 +0200)]
Fix geocaching

14 years agoReleasing viking 0.9.93
Guilhem Bonnefille [Sun, 11 Apr 2010 21:19:01 +0000 (23:19 +0200)]
Releasing viking 0.9.93

14 years agoMerge branch 'i18n-launchpad'
Guilhem Bonnefille [Sun, 11 Apr 2010 21:04:40 +0000 (23:04 +0200)]
Merge branch 'i18n-launchpad'

14 years agoFix old po/Changelog entry
Guilhem Bonnefille [Sun, 11 Apr 2010 21:00:54 +0000 (23:00 +0200)]
Fix old po/Changelog entry

14 years agoDocument previous translation updates
Guilhem Bonnefille [Sun, 11 Apr 2010 20:51:25 +0000 (22:51 +0200)]
Document previous translation updates

14 years agoFix the way to extract Translators
Guilhem Bonnefille [Sun, 11 Apr 2010 20:50:34 +0000 (22:50 +0200)]
Fix the way to extract Translators

14 years agoImport Launchpad updates
Guilhem Bonnefille [Sun, 11 Apr 2010 20:37:09 +0000 (22:37 +0200)]
Import Launchpad updates

14 years agoFix: set a default filename while exporting
Guilhem Bonnefille [Sun, 11 Apr 2010 19:40:39 +0000 (21:40 +0200)]
Fix: set a default filename while exporting

14 years agoAllow overriding map source
Guilhem Bonnefille [Sat, 3 Apr 2010 12:07:46 +0000 (14:07 +0200)]
Allow overriding map source

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).

14 years ago[DOC] Fix: Viking's sources are hosted by Git now
Guilhem Bonnefille [Fri, 2 Apr 2010 18:49:40 +0000 (20:49 +0200)]
[DOC] Fix: Viking's sources are hosted by Git now

14 years agoClean git status
Robert Norris [Sat, 27 Mar 2010 15:46:36 +0000 (16:46 +0100)]
Clean git status

This patch to .gitignore would be handy so git reports a clean status

14 years agoMerge commit 'viking-0.9.92' into help
Guilhem Bonnefille [Wed, 24 Mar 2010 22:01:57 +0000 (23:01 +0100)]
Merge commit 'viking-0.9.92' into help

14 years agoDocumenting extension files
Guilhem Bonnefille [Wed, 24 Mar 2010 22:01:38 +0000 (23:01 +0100)]
Documenting extension files

14 years agoDocument external tools
Guilhem Bonnefille [Wed, 24 Mar 2010 21:25:15 +0000 (22:25 +0100)]
Document external tools

14 years agoFurther variable type corrections.
Rob Norris [Tue, 23 Mar 2010 00:20:55 +0000 (00:20 +0000)]
Further variable type corrections.

14 years agoMake GPS layer cut/copy available from popup menu.
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.)

14 years agoMinor Improvements.
Rob Norris [Tue, 23 Mar 2010 00:12:45 +0000 (00:12 +0000)]
Minor Improvements.

Noticed layer_type not always set on cut/copy.
Slight grammar fix.

14 years agoFix GPS layer copy.
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)

14 years agoFix Track/Waypoint Layer Paste on 64bit systems.
Rob Norris [Mon, 22 Mar 2010 23:18:42 +0000 (23:18 +0000)]
Fix Track/Waypoint Layer Paste on 64bit systems.

Use correct types in g_file_get_contents function call, otherwise on 64bit systems it can overwrite other data leading to program crashes.

14 years agoFix FILES section of manpage.
Guilhem Bonnefille [Sun, 21 Mar 2010 19:19:48 +0000 (20:19 +0100)]
Fix FILES section of manpage.

14 years agoDocument new files in viking's manpage
Guilhem Bonnefille [Sat, 20 Mar 2010 21:21:34 +0000 (22:21 +0100)]
Document new files in viking's manpage

14 years agoFix: First Track not Black in Draw All Tracks Black Mode.
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.

14 years agoAdd a debug printf for map display
Jocelyn Jaubert [Sat, 20 Feb 2010 23:33:11 +0000 (00:33 +0100)]
Add a debug printf for map display

14 years agoIncrease possible smaller zoom
Jocelyn Jaubert [Sat, 20 Feb 2010 23:31:59 +0000 (00:31 +0100)]
Increase possible smaller zoom

14 years agoAdd negative scales so that we can have bigger zoom on maps
Jocelyn Jaubert [Wed, 17 Feb 2010 19:57:26 +0000 (20:57 +0100)]
Add negative scales so that we can have bigger zoom on maps

14 years agoAllow images from bigger and smaller zoom to be selected if current zoom has no image
Jocelyn Jaubert [Sat, 30 Jan 2010 13:54:08 +0000 (14:54 +0100)]
Allow images from bigger and smaller zoom to be selected if current zoom has no image
Merge logic for smaller zoom with current zoom

14 years agoRleasing viking 0.9.92
Guilhem Bonnefille [Mon, 15 Mar 2010 21:29:00 +0000 (22:29 +0100)]
Rleasing viking 0.9.92

14 years agoMerge branch 'i18n-launchpad'
Guilhem Bonnefille [Mon, 15 Mar 2010 20:51:08 +0000 (21:51 +0100)]
Merge branch 'i18n-launchpad'

14 years agoDocument previous import
Guilhem Bonnefille [Mon, 15 Mar 2010 20:37:30 +0000 (21:37 +0100)]
Document previous import

14 years agoImport translations from launchpad
Guilhem Bonnefille [Mon, 15 Mar 2010 20:31:38 +0000 (21:31 +0100)]
Import translations from launchpad

14 years agoMerge commit 'viking-0.9.91' into help
Guilhem Bonnefille [Sat, 13 Mar 2010 20:45:57 +0000 (21:45 +0100)]
Merge commit 'viking-0.9.91' into help

14 years agoMerge remote branch 'rnorris/unitPref'
Guilhem Bonnefille [Sat, 13 Mar 2010 20:25:44 +0000 (21:25 +0100)]
Merge remote branch 'rnorris/unitPref'

14 years agoFix: Correctly rotate thumbnail images
Gerhard Killesreiter [Sat, 13 Mar 2010 19:29:00 +0000 (20:29 +0100)]
Fix: Correctly rotate thumbnail images

Signed-off-by: Guilhem Bonnefille <guilhem.bonnefille@gmail.com>
14 years agoMemorize previously selected go-to service
Guilhem Bonnefille [Wed, 10 Mar 2010 21:34:05 +0000 (22:34 +0100)]
Memorize previously selected go-to service

14 years agoFix #2958601: Support for non ascii characters in "Go-to" search
Guilhem Bonnefille [Tue, 9 Mar 2010 20:34:04 +0000 (21:34 +0100)]
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.

14 years agoMinor tidy up.
Rob Norris [Sun, 7 Mar 2010 23:48:23 +0000 (23:48 +0000)]
Minor tidy up.

Noticed as part of unit preferences work.

14 years agoBetter scale when zoomed close in and in miles distance mode.
Rob Norris [Sun, 7 Mar 2010 23:18:56 +0000 (23:18 +0000)]
Better scale when zoomed close in and in miles distance mode.

A unit of 1 mile when zoomed in means the scale indicator is bigger than the viewable window.
Thus work in 0.1 mile units.

14 years agoAdd and use preference for height units.
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

14 years agoAdd and use preference for speed units.
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)

14 years agoAdd and use preference for distance units.
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]

14 years agoUse a preference to set the tiles age
Guilhem Bonnefille [Mon, 15 Feb 2010 23:49:00 +0000 (00:49 +0100)]
Use a preference to set the tiles age

This age is used to decided wether or not a new
request must be done.
The user is now able to change the default value.

14 years agoFix error handling in go-to feature
Guilhem Bonnefille [Mon, 15 Feb 2010 22:55:44 +0000 (23:55 +0100)]
Fix error handling in go-to feature

14 years agoNew preference for default maplayer cache
Jocelyn Jaubert [Sun, 12 Apr 2009 18:32:02 +0000 (20:32 +0200)]
New preference for default maplayer cache

This add a new global preference, called maplayer_default_dir, which is used
when adding a new maplayer.

14 years agoImprove DEM-Layer
David Rasmus Piegdon [Mon, 8 Feb 2010 21:52:24 +0000 (22:52 +0100)]
Improve DEM-Layer

- 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.

Signed-off-by: Guilhem Bonnefille <guilhem.bonnefille@gmail.com>
14 years agoRemove OpenAerial
Guilhem Bonnefille [Mon, 8 Feb 2010 21:32:37 +0000 (22:32 +0100)]
Remove OpenAerial

OpenAerialMap project is idle.
Furthermore, such map source
can be set via configuration file.

14 years agoRealising viking 0.9.91
Guilhem Bonnefille [Sat, 6 Feb 2010 13:38:28 +0000 (14:38 +0100)]
Realising viking 0.9.91

14 years agoUpdate POTFILES
Guilhem Bonnefille [Fri, 5 Feb 2010 21:58:10 +0000 (22:58 +0100)]
Update POTFILES

14 years agoMerge branch 'master' into i18n-launchpad
Guilhem Bonnefille [Fri, 5 Feb 2010 21:57:52 +0000 (22:57 +0100)]
Merge branch 'master' into i18n-launchpad

14 years agoDeclare new languages
Guilhem Bonnefille [Fri, 5 Feb 2010 21:46:41 +0000 (22:46 +0100)]
Declare new languages

14 years agoDocument previous import
Guilhem Bonnefille [Fri, 5 Feb 2010 21:35:28 +0000 (22:35 +0100)]
Document previous import

14 years agoImport translation from launchpad
Guilhem Bonnefille [Fri, 5 Feb 2010 21:18:00 +0000 (22:18 +0100)]
Import translation from launchpad

14 years agoFix #2946287: open a recent file
Mike Ryan [Fri, 5 Feb 2010 06:10:42 +0000 (22:10 -0800)]
Fix #2946287: open a recent file

this is a HACK to fix opening a recent file.

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>
14 years agocache the scaled pixbuf in the vikgeoreflayer struct if the newly-scaled width and...
Mike Ryan [Wed, 3 Feb 2010 07:09:54 +0000 (23:09 -0800)]
cache the scaled pixbuf in the vikgeoreflayer struct if the newly-scaled width and height are the same, do not waste CPU rescaling the pixbuf

14 years agoscale the georef layer based on current viewport rescales the image for every repaint...
Mike Ryan [Mon, 1 Feb 2010 01:20:03 +0000 (17:20 -0800)]
scale the georef layer based on current viewport rescales the image for every repaint, even if the mpp hasn't changed

14 years agofix some confusing indentation and bracing
Mike Ryan [Wed, 3 Feb 2010 06:27:51 +0000 (22:27 -0800)]
fix some confusing indentation and bracing

14 years agoFix #2881916: rename a track with c&p
Robert Norris [Tue, 2 Feb 2010 21:26:26 +0000 (22:26 +0100)]
Fix #2881916: rename a track with c&p

There is a problem whereby the track rename checks the *waypoints* names not the tracks name.
Probably a cut 'n' paste error.

Signed-off-by: Guilhem Bonnefille <guilhem.bonnefille@gmail.com>
14 years agoAdd missing ) in string
Jocelyn Jaubert [Tue, 22 Sep 2009 20:59:45 +0000 (22:59 +0200)]
Add missing ) in string

14 years agoadd GIO dependency and header for GFile
Mike Ryan [Thu, 28 Jan 2010 09:13:10 +0000 (01:13 -0800)]
add GIO dependency and header for GFile

vikwindow makes use of GFile, but the headers were missing. This prevents
it from building on at least Ubuntu 8.04 (Hardy).

Signed-off-by: Mike Ryan <mikeryan@lacklustre.net>
Signed-off-by: Guilhem Bonnefille <guilhem.bonnefille@gmail.com>
14 years agoPortability: use GLib function g_utime if possible
Guilhem Bonnefille [Mon, 1 Feb 2010 21:28:50 +0000 (22:28 +0100)]
Portability: use GLib function g_utime if possible

14 years agoUpdate mtime of up-to-date tiles
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>
14 years agoAllow reuse of curl connection objects
Sven Wegener [Sat, 16 Jan 2010 12:31:35 +0000 (13:31 +0100)]
Allow reuse of curl connection objects

This is quite a huge speed gain when downloading a lot of maps, because it
allows curl to use http keep-alive and avoid the handshake for every
connection.

Signed-off-by: Sven Wegener <sven.wegener@stealer.net>
14 years agoUse combobox to select map type
Guilhem Bonnefille [Sun, 24 Jan 2010 16:01:39 +0000 (17:01 +0100)]
Use combobox to select map type

Since recent changes, it is now possible for the user to add some map types.
So, the list of available map type can become really important.
The previous UI, based on a radio group, became less appropriate than a
combobox menu.
This is particularly true on devices with small screen.

14 years agoAdd compatibility to previous GPS device setting
Guilhem Bonnefille [Thu, 14 Jan 2010 21:52:45 +0000 (22:52 +0100)]
Add compatibility to previous GPS device setting

Previous value of serial_port was an index.
For compatibility, we detect and decode this index.
Then, we retrieve string value.

14 years agoFix #2766373: Use a string as device path
Guilhem Bonnefille [Thu, 14 Jan 2010 21:02:29 +0000 (22:02 +0100)]
Fix #2766373: Use a string as device path

Use GTK_COMBO_BOX_ENTRY for GPS device.
Fill entry with previously set value.

14 years agoMerge branch 'new-maps'
Guilhem Bonnefille [Tue, 12 Jan 2010 23:14:07 +0000 (00:14 +0100)]
Merge branch 'new-maps'

This (long lived) branch hosted a feature to allow automatic download
after a HTTP header check.

The merge is complex as Map_Type evolved to a GObject MapSource.
VikSlippyMapSource now has a new property to set the minimum age
before checking tiles.

14 years agoRecode DownloadOptions as properties to VikSlippyMapSource
Guilhem Bonnefille [Tue, 12 Jan 2010 21:53:10 +0000 (22:53 +0100)]
Recode DownloadOptions as properties to VikSlippyMapSource

This allows user to set fine options when setting new MapSource.

14 years agoChange default map type to OSM
Sven Wegener [Sun, 10 Jan 2010 20:43:55 +0000 (21:43 +0100)]
Change default map type to OSM

Google Maps support has been dropped for quite some time now, change
default map type to OSM Mapnik.

Signed-off-by: Sven Wegener <sven.wegener@stealer.net>
14 years agoFix "Moving Map Method" cannot be disabled
Sven Wegener [Sun, 10 Jan 2010 20:44:25 +0000 (21:44 +0100)]
Fix "Moving Map Method" cannot be disabled

Currently selecting "Disabled" for the "Moving Map Method" results in
"Keep vehicle on screen" behaviour. Add missing check so that the
feature is actually disabled.

Signed-off-by: Sven Wegener <sven.wegener@stealer.net>
14 years agoFix #2880741: replace gps_open with gps_open_r
Guilhem Bonnefille [Mon, 11 Jan 2010 12:40:43 +0000 (13:40 +0100)]
Fix #2880741: replace gps_open with gps_open_r

In libgpsd 2.90, the logic of gps_open silently changed:
the returned data is no more allocated, but directly points to a static structure.
So, we use gps_open_r instead.

Futhermore, it is better to not mix libc and glib allocator functions.
g_realloc is replaced by native realloc and memory freed by free.