]>
git.street.me.uk Git - andy/viking.git/log
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>
Jocelyn Jaubert [Tue, 22 Sep 2009 20:59:45 +0000 (22:59 +0200)]
Add missing ) in string
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>
Guilhem Bonnefille [Mon, 1 Feb 2010 21:28:50 +0000 (22:28 +0100)]
Portability: use GLib function g_utime if possible
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>
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>
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.
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.
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.
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.
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.
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>
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>
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.
Guilhem Bonnefille [Mon, 11 Jan 2010 12:31:42 +0000 (13:31 +0100)]
Fix #
2921899 : uses conditional macro to support two versions of libgps
Versions 2.39 and 2.90 are incompatible, but nothing allow to
detect easily the version installed.
Use autoconf as a workaround.
Bernd Zeimetz [Sun, 3 Jan 2010 20:35:40 +0000 (21:35 +0100)]
Make Viking compatible with libgps >= 2.90
Thanks: Cyril Brulebois
Closes: #560243 (Debian)
Guilhem Bonnefille [Sat, 2 Jan 2010 22:28:24 +0000 (23:28 +0100)]
Include configuration examples in distribution
Guilhem Bonnefille [Sat, 2 Jan 2010 22:11:13 +0000 (23:11 +0100)]
Add configuration file for go-to search engines
Viking loads ~/.viking/goto_tools.xml to create go-to search engines.
/doc/examples/goto_tools.xml is such a file.
Guilhem Bonnefille [Fri, 1 Jan 2010 22:55:12 +0000 (23:55 +0100)]
Refactor goto feature to allow multiple search engines
Guilhem Bonnefille [Fri, 1 Jan 2010 21:46:51 +0000 (22:46 +0100)]
Add Name finder search engine
See
http://wiki.openstreetmap.org/index.php/Name_finder
Guilhem Bonnefille [Fri, 1 Jan 2010 21:39:47 +0000 (22:39 +0100)]
Add Nominatim search engine
Guilhem Bonnefille [Fri, 1 Jan 2010 21:13:23 +0000 (22:13 +0100)]
Add XPATH related attribute support
It is now possible to set both path and attribute name
in a single, self explanatory, string:
/path/to/element@attribute
Guilhem Bonnefille [Thu, 17 Dec 2009 22:51:57 +0000 (23:51 +0100)]
Add a unit test for VikGotoXmlTool
make test_vikgotoxmltool
./test_vikgotoxmltool geonames.xml fake.xml
Guilhem Bonnefille [Thu, 17 Dec 2009 22:50:22 +0000 (23:50 +0100)]
Add support for XML attribute based lat/lon values
It is possible to retrieve lat/lon in XML attributes.
For exemple:
<coordinate lat="..." lon="..."/>
Guilhem Bonnefille [Thu, 17 Dec 2009 22:48:22 +0000 (23:48 +0100)]
Refactoring: move download code to vikgototool
Guilhem Bonnefille [Thu, 17 Dec 2009 22:43:29 +0000 (23:43 +0100)]
Fix warnings
Guilhem Bonnefille [Wed, 16 Dec 2009 20:49:20 +0000 (21:49 +0100)]
Use a configure option to set the age of tiles before checking them online
This also allow to disable the feature.
Guilhem Bonnefille [Mon, 14 Dec 2009 21:50:17 +0000 (22:50 +0100)]
Replace "search" substring by "goto"
More explicit.
Will also allow to implement a search/find feature different
than go-to.
Guilhem Bonnefille [Mon, 14 Dec 2009 20:57:42 +0000 (21:57 +0100)]
Fix URL formatting issue
Previous URL formatting code was locale dependent.
On a french locale, this code cannot works as geonames does
not understand coordinate values.
Guilhem Bonnefille [Mon, 14 Dec 2009 20:58:14 +0000 (21:58 +0100)]
Remove unused code
Guilhem Bonnefille [Mon, 14 Dec 2009 20:57:42 +0000 (21:57 +0100)]
Fix URL formatting issue
Previous URL formatting code was locale dependent.
On a french locale, this code cannot works as geonames does
not understand coordinate values.
Guilhem Bonnefille [Mon, 14 Dec 2009 20:55:07 +0000 (21:55 +0100)]
Use only the first result
Guilhem Bonnefille [Mon, 14 Dec 2009 20:54:47 +0000 (21:54 +0100)]
Fix error messages
Guilhem Bonnefille [Wed, 9 Dec 2009 13:18:07 +0000 (14:18 +0100)]
Fix typo
Guilhem Bonnefille [Wed, 9 Dec 2009 13:17:53 +0000 (14:17 +0100)]
Remove old code
Guilhem Bonnefille [Wed, 9 Dec 2009 08:31:20 +0000 (09:31 +0100)]
Create the geonames search as an VikXmlSearchTool
Guilhem Bonnefille [Tue, 8 Dec 2009 13:06:39 +0000 (14:06 +0100)]
Parse XML for XPath like path
Guilhem Bonnefille [Tue, 8 Dec 2009 13:02:29 +0000 (14:02 +0100)]
Add copyright
Guilhem Bonnefille [Sun, 6 Dec 2009 22:57:50 +0000 (23:57 +0100)]
Add generic XML earch code
Guilhem Bonnefille [Sun, 6 Dec 2009 22:55:59 +0000 (23:55 +0100)]
Move common last search code to viksearch.c
Guilhem Bonnefille [Sun, 6 Dec 2009 20:45:11 +0000 (21:45 +0100)]
Use a more expressive icon for "Go to" features
Guilhem Bonnefille [Thu, 3 Dec 2009 22:09:48 +0000 (23:09 +0100)]
Fix typo
Guilhem Bonnefille [Thu, 3 Dec 2009 22:06:35 +0000 (23:06 +0100)]
Move GoogleSearch to new framework
Guilhem Bonnefille [Thu, 26 Nov 2009 21:21:25 +0000 (22:21 +0100)]
GObjectify search dialog
Guilhem Bonnefille [Thu, 5 Nov 2009 20:51:12 +0000 (21:51 +0100)]
Fix #
2801874 : keep second part of a splitted track visible
Guilhem Bonnefille [Thu, 5 Nov 2009 20:22:51 +0000 (21:22 +0100)]
Unecessary code
Guilhem Bonnefille [Thu, 5 Nov 2009 20:22:31 +0000 (21:22 +0100)]
Fix #
2838556 : emit warning when gpsbabel is not found in PATH
Stanislav Brabec [Thu, 5 Nov 2009 19:03:32 +0000 (20:03 +0100)]
Use motion hints to make map motion more responsive in slow environment.
Problems:
GTK+ motion hint implementation is incorrect. This patch uses deprecated
way to get the best results. See
http://bugzilla.gnome.org/show_bug.cgi?id=587714 for more.
The patch makes a bit more visible some redrawing races (original image is
sometimes redrawn after the just-moved tile).
Guilhem Bonnefille [Sat, 24 Oct 2009 20:47:48 +0000 (22:47 +0200)]
Tiles must be older than a specified age before checking server
This will reduce bandwidth when just paning.
Guilhem Bonnefille [Sat, 24 Oct 2009 19:57:19 +0000 (21:57 +0200)]
Use an internal thread concurrency model
Previous model was based on file: an existing *.tmp file signify a thread is downloading.
This model is not error prone: when viking failed to remove such a file (core dump?),
it won't be able to download this tile in the future.
Now, the concurrency between threads is handle internally: a list contains
all tmp files currently in use. By this way, thread exclude each other and
locks are clean at start.
Drawback: this model does not allow concurrency between multiple instance
of viking.
Guilhem Bonnefille [Sat, 24 Oct 2009 19:05:52 +0000 (21:05 +0200)]
Try to download newer tiles when autodownload is set and server supports such check
When a server allows to download newer tiles only, the autodownload option
must fire such a download every time.
Guilhem Bonnefille [Sat, 24 Oct 2009 19:02:52 +0000 (21:02 +0200)]
The "Download new" option must be available via download tool
Guilhem Bonnefille [Sat, 24 Oct 2009 16:17:26 +0000 (18:17 +0200)]
Add support for recently used files
Guilhem Bonnefille [Tue, 20 Oct 2009 19:57:28 +0000 (21:57 +0200)]
Distribute old version of ChangeLog
Guilhem Bonnefille [Tue, 20 Oct 2009 19:57:02 +0000 (21:57 +0200)]
Add HACKING info
Gleb Smirnoff [Mon, 19 Oct 2009 20:21:56 +0000 (22:21 +0200)]
suppress gtk warning
A layer string parameters may be empty. Do not emit gtk
warning in this case.
Gleb Smirnoff [Sun, 18 Oct 2009 07:56:45 +0000 (09:56 +0200)]
remove declaration of non-existent function
Signed-off-by: Guilhem Bonnefille <guilhem.bonnefille@gmail.com>
Gleb Smirnoff [Sat, 17 Oct 2009 08:23:51 +0000 (10:23 +0200)]
keeping OSM password safe
Since preferences files saves OSM login credentials,
it'll be better to store it in secret.
Signed-off-by: Guilhem Bonnefille <guilhem.bonnefille@gmail.com>
Guilhem Bonnefille [Mon, 12 Oct 2009 20:18:12 +0000 (22:18 +0200)]
Declare new translations
Guilhem Bonnefille [Fri, 2 Oct 2009 20:16:49 +0000 (22:16 +0200)]
Mark translatable strings
Bernd Zeimetz [Wed, 30 Sep 2009 21:32:56 +0000 (23:32 +0200)]
Fix bashism in test script.
Closes: #548449 (Debian)
Thanks: Kurt Roeckx
Signed-off-by: Guilhem Bonnefille <guilhem.bonnefille@gmail.com>
David Rasmus Piegdon [Wed, 30 Sep 2009 21:23:58 +0000 (23:23 +0200)]
Add DEM Gradient
add a switch to DEM layers: either `absolute height' or `height gradient'
Signed-off-by: Guilhem Bonnefille <guilhem.bonnefille@gmail.com>
Guilhem Bonnefille [Tue, 29 Sep 2009 20:43:26 +0000 (22:43 +0200)]
Merge branch 'fix-osm-api-0.6'
Guilhem Bonnefille [Tue, 29 Sep 2009 20:28:39 +0000 (22:28 +0200)]
Update translatable strings
Gleb Smirnoff [Tue, 29 Sep 2009 20:08:44 +0000 (22:08 +0200)]
finish OSM 0.6 API support
* Finish support on uploading traces via new OSM API.
* Make use of new "visibility" trace property instead of the deprecated "public" boolean.
* Simplify the code a little bit and moves
default focus to the trace title, because in most cases there is no need to edit login credentials, they are stored.
Guilhem Bonnefille [Tue, 29 Sep 2009 19:43:06 +0000 (21:43 +0200)]
Add configure option to track deprecated feature
Currently, the option is disabled by default.
Guilhem Bonnefille [Sun, 27 Sep 2009 20:20:41 +0000 (22:20 +0200)]
Refactoring: use a GObject model to implement MapSource hierarchy tree
Merge branch 'gobjectify-map-type'
Guilhem Bonnefille [Sun, 27 Sep 2009 20:03:08 +0000 (22:03 +0200)]
Refactoring: keep a single definition for keys of global preferences
Merge commit '
44b376766423858a71312fe61db09fb9160cd1c0 '
Guilhem Bonnefille [Sun, 27 Sep 2009 17:39:38 +0000 (19:39 +0200)]
Add info for GeoRef Map's parameters
Guilhem Bonnefille [Sun, 27 Sep 2009 14:34:07 +0000 (16:34 +0200)]
Add DOAP file
Such file is common on GNOME projects.
Guilhem Bonnefille [Sun, 27 Sep 2009 14:11:40 +0000 (16:11 +0200)]
Move src/.gitignore to main .gitignore
Stanislav Brabec [Tue, 22 Sep 2009 20:05:46 +0000 (22:05 +0200)]
Get rid deprecated GtkTooltips API.
Signed-off-by: Guilhem Bonnefille <guilhem.bonnefille@gmail.com>
Stanislav Brabec [Tue, 22 Sep 2009 20:00:17 +0000 (22:00 +0200)]
Added tooltips for layer panel buttons.
Signed-off-by: Guilhem Bonnefille <guilhem.bonnefille@gmail.com>
Guilhem Bonnefille [Mon, 21 Sep 2009 19:39:08 +0000 (21:39 +0200)]
Merge commit 'viking-0.9.9' into gobjectify-map-type
Jocelyn Jaubert [Sat, 14 Mar 2009 23:10:16 +0000 (00:10 +0100)]
ftp response code for success is 226
Jocelyn Jaubert [Sat, 21 Feb 2009 18:47:54 +0000 (19:47 +0100)]
Add option to download only maps that are more recent on server
Jocelyn Jaubert [Sun, 12 Apr 2009 18:26:32 +0000 (20:26 +0200)]
Remove defines used for preferences
Remove VIKING_PREFERENCES_GROUP_KEY and VIKING_PREFERENCES_NAMESPACE defines as
they are now defined in globals.h
Jocelyn Jaubert [Sun, 12 Apr 2009 18:25:20 +0000 (20:25 +0200)]
Move defines for preference to globals.h
Move VIKING_PREFERENCES_GROUP_KEY and VIKING_PREFERENCES_NAMESPACE from
globals.c to globals.h as these defines are used in other files.
Guilhem Bonnefille [Sat, 19 Sep 2009 12:20:07 +0000 (14:20 +0200)]
Merge branch 'interpolation'
Guilhem Bonnefille [Fri, 18 Sep 2009 21:13:44 +0000 (23:13 +0200)]
Refactoring: merge a_check_html_file and a_check_kml_file
Harry G McGavran Jr [Fri, 18 Sep 2009 20:45:06 +0000 (22:45 +0200)]
Fix magic scissors
Searching the gpsbabel lists, there are some posts that
the maps.google.com "output=js" has changed and gpsbabel
types have had a hard time keeping up with the changes
at maps.google.com. One suggestion was to use "output=kml"
at maps.google.com and the input_type "kml" instead of
"google" in gpsbabel.
Guilhem Bonnefille [Wed, 9 Sep 2009 20:45:12 +0000 (22:45 +0200)]
Releasing viking 0.9.9
Guilhem Bonnefille [Wed, 9 Sep 2009 20:35:23 +0000 (22:35 +0200)]
Add maintainer script to help releasing process
Guilhem Bonnefille [Wed, 9 Sep 2009 20:30:26 +0000 (22:30 +0200)]
Document previous import
Guilhem Bonnefille [Wed, 9 Sep 2009 20:24:39 +0000 (22:24 +0200)]
Import translations from launchpad
Jocelyn Jaubert [Sun, 15 Mar 2009 12:07:19 +0000 (13:07 +0100)]
Change interpolation to a faster one
TODO: this should be put in a viking preference.
Jocelyn Jaubert [Sat, 14 Mar 2009 22:44:37 +0000 (23:44 +0100)]
Use less precise images when wanted image is not present
Guilhem Bonnefille [Thu, 20 Aug 2009 07:50:09 +0000 (09:50 +0200)]
Update translations from launchpad
Merge branch 'i18n-launchpad'
Guilhem Bonnefille [Tue, 18 Aug 2009 20:30:26 +0000 (22:30 +0200)]
Auto-Generation of ChangeLog file
Since we use Git, it is possible to generate the ChangeLog file at
distribution time (see "make dist").
Here is my really first script for this.
Guilhem Bonnefille [Tue, 18 Aug 2009 15:42:03 +0000 (17:42 +0200)]
Add a script to compute po/ChangeLog fragment
It is boring to retrieve who made which modifications after
a launchpad import.
Note: this is not perfect as we only list last translator.
If a po file was edited by many people, only the last one is listed.
Guilhem Bonnefille [Tue, 18 Aug 2009 15:38:05 +0000 (17:38 +0200)]
Update administrative file
Guilhem Bonnefille [Tue, 18 Aug 2009 14:02:09 +0000 (16:02 +0200)]
Import current Launchpad translations
Tal [Tue, 18 Aug 2009 14:51:50 +0000 (16:51 +0200)]
Fix #
2163652 : GPX file with byte order mark not parsed
It simply treats files with ".gpx" extention as gpx files. All other
files, including gpx files without gpx extentions, receive the same
treatment as before.
Guilhem Bonnefille [Tue, 18 Aug 2009 14:07:09 +0000 (16:07 +0200)]
Add src/mapcache.c as source file containing translatable strings
Guilhem Bonnefille [Tue, 28 Jul 2009 21:01:21 +0000 (23:01 +0200)]
Fix #
2766609 : Don't use gpsd_units()
gpsd_units is no more at the interface of libgps library.
Furthermore, viking not really uses this value.
So, code is removed.
Jocelyn Jaubert [Wed, 11 Mar 2009 20:54:47 +0000 (21:54 +0100)]
Add missing (VikLayerFuncPostRead) in structs VikLayerInterface
Herm [Sun, 26 Jul 2009 20:40:22 +0000 (22:40 +0200)]
Fix #
2812856 : Change SRTM URL
NASA released a new version of the SRTM data.
So they moved from
http://dds.cr.usgs.gov/srtm/version2/
to
http://dds.cr.usgs.gov/srtm/version2_1/
but there are some more changes: Some files were removed, so one would
have to update the tile database also.
We can also use the old version 2.0 located at
http://dds.cr.usgs.gov/srtm/version2_1/SRTM3/OLD/
Guilhem Bonnefille [Sun, 26 Jul 2009 20:28:03 +0000 (22:28 +0200)]
Fix #
2818818 : unset langage preset while opening external Google
Guilhem Bonnefille [Sun, 26 Jul 2009 20:20:29 +0000 (22:20 +0200)]
Fix copyright in --version output
About dialog refers to 2008.
Herm [Sat, 25 Jul 2009 20:54:10 +0000 (22:54 +0200)]
Fix SRTM Server change
The SRTM server recently changed it's address:
ftp://e0srp01u.ecs.nasa.gov/srtm/README
Now it is only available via HTTP.
Tested-by: Alexander Poddey <alexander.poddey@gmx.net>
Signed-off-by: Guilhem Bonnefille <guilhem.bonnefille@gmail.com>