]> git.street.me.uk Git - andy/viking.git/log
andy/viking.git
13 years agoAdd copyright for geonamessearch.h and correct for geonamessearch.c
Rob Norris [Sun, 10 Oct 2010 20:03:43 +0000 (21:03 +0100)]
Add copyright for geonamessearch.h and correct for geonamessearch.c

git log confirms original author as Hein Ragas.
Thus also remove incorrect Created by statement.

13 years agoAdd copyright for files vikgoto.h & vikgotoxmltool.h
Rob Norris [Sun, 10 Oct 2010 20:01:01 +0000 (21:01 +0100)]
Add copyright for files vikgoto.h & vikgotoxmltool.h

git log confirms original author as Guilhem Bonnefille
Thus also amend the corresponding .c files to remove incorrect Created by statement.

13 years agoFix copyright for googlesearch.[ch]
Guilhem Bonnefille [Sun, 7 Nov 2010 22:03:17 +0000 (23:03 +0100)]
Fix copyright for googlesearch.[ch]

13 years agoAdd copyright for files preferences.c & preferences.h
Rob Norris [Sun, 10 Oct 2010 19:49:24 +0000 (20:49 +0100)]
Add copyright for files preferences.c & preferences.h

git blame confirms original author as Evan Battaglia
Statement used is standard boilerplate with suitable date.

13 years agoAdd copyright for dems.c & dems.h
Rob Norris [Sun, 10 Oct 2010 19:45:00 +0000 (20:45 +0100)]
Add copyright for dems.c & dems.h

git blame confirms original author is Evan Battaglia.
Use copyright as in related files dem.c & dem.h.

13 years agoAdd copyright for datasources.h.
Rob Norris [Sun, 10 Oct 2010 19:43:27 +0000 (20:43 +0100)]
Add copyright for datasources.h.

git blame confirms original author is Evan Battaglia.
Used copyright from similar file datasource_gps.c

13 years agoCorrect DocBook usage
Guilhem Bonnefille [Sun, 7 Nov 2010 18:29:39 +0000 (19:29 +0100)]
Correct DocBook usage

The procedure element is used for enumerating different steps in a procedure.
Simple enumeration is done with itemizedlist element.

13 years agoVarious improvements and tidy ups.
Rob Norris [Fri, 15 Oct 2010 19:19:17 +0000 (20:19 +0100)]
Various improvements and tidy ups.

Improve concepts:
. Add what is a Layer
. Mention Statusbar
Better use of 'appname'
Move verbose/debug mode to bottom + add example for a map download
General GUI reference improvements.
Add Begin Track Icon.
Other misc bits as I went along...

13 years agoDeprecated: only include gtk/gtk.h
Guilhem Bonnefille [Wed, 3 Nov 2010 21:45:08 +0000 (22:45 +0100)]
Deprecated: only include gtk/gtk.h

13 years agoImprove depreaction options
Guilhem Bonnefille [Wed, 3 Nov 2010 21:41:53 +0000 (22:41 +0100)]
Improve depreaction options

* Add options
* Add a cached value

13 years agoAdd built-in map sources in example file
Guilhem Bonnefille [Tue, 2 Nov 2010 13:38:31 +0000 (14:38 +0100)]
Add built-in map sources in example file

13 years agoFix extend track using magic scissors.
Rob Norris [Sun, 31 Oct 2010 20:11:44 +0000 (20:11 +0000)]
Fix extend track using magic scissors.

Should only need to click once to select the next point to extend the current track, hence need to mark that the first point is known (via the 'magic scissors started' variable).

13 years agoMerge branch 'master' into i18n-launchpad
Guilhem Bonnefille [Mon, 1 Nov 2010 19:30:48 +0000 (20:30 +0100)]
Merge branch 'master' into i18n-launchpad

13 years agoDocument previous translation updates
Guilhem Bonnefille [Mon, 1 Nov 2010 19:29:35 +0000 (20:29 +0100)]
Document previous translation updates

13 years agoImport Launchpad updates
Guilhem Bonnefille [Sat, 23 Oct 2010 21:36:28 +0000 (23:36 +0200)]
Import Launchpad updates

13 years agoFix autodownloading while panning
Sven Wegener [Thu, 14 Oct 2010 19:46:11 +0000 (21:46 +0200)]
Fix autodownloading while panning

Since commit 1c6a6010 ("Disable autodownloading when dragging the map")
we only trigger an autodownload when starting to pan and not on stop,
which is pretty bad. Also pan_move is never reset, resulting in no
update when panning with keyboard shortcuts after panning with the
mouse.

Signed-off-by: Sven Wegener <sven.wegener@stealer.net>
13 years agoPrevent crashes when downloading Expedia Maps.
Rob Norris [Mon, 18 Oct 2010 19:25:51 +0000 (20:25 +0100)]
Prevent crashes when downloading Expedia Maps.

Fix expedia code to use updated vikmapslayer_compat.h, which was modified for:
'Allow reuse of curl connection objects'
SHA: 825413bac81e7234ed27a8ff3343a8295cc393e2

Signed-off-by: Guilhem Bonnefille <guilhem.bonnefille@gmail.com>
13 years agoFix Debian #599048: Segmentation fault when using gpsbabel
Rob Norris [Fri, 15 Oct 2010 19:06:40 +0000 (20:06 +0100)]
Fix Debian #599048: Segmentation fault when using gpsbabel

Ensure cmd_off & extra_off are initialized before use.

Signed-off-by: Guilhem Bonnefille <guilhem.bonnefille@gmail.com>
13 years agoFix dem_gradient_colors allocation.
Rob Norris [Thu, 14 Oct 2010 20:20:06 +0000 (21:20 +0100)]
Fix dem_gradient_colors allocation.

A comma was missing - giving an unparsable colour.

13 years agoFix commit 1c6a6010661da96fd105ec42ad2f048df79fabbd
Guilhem Bonnefille [Wed, 13 Oct 2010 19:56:42 +0000 (21:56 +0200)]
Fix commit 1c6a6010661da96fd105ec42ad2f048df79fabbd

I simply did test in the wrong way.
I added documentation.

13 years agoFix compiler warnings in preferences.c
Rob Norris [Mon, 11 Oct 2010 23:54:28 +0000 (00:54 +0100)]
Fix compiler warnings in preferences.c

13 years agoFix: enforce defensive code
Guilhem Bonnefille [Tue, 12 Oct 2010 20:04:56 +0000 (22:04 +0200)]
Fix: enforce defensive code

13 years agoReleasing viking 0.9.96
Guilhem Bonnefille [Mon, 11 Oct 2010 22:04:32 +0000 (00:04 +0200)]
Releasing viking 0.9.96

13 years agoFix unecessary change in string
Guilhem Bonnefille [Mon, 11 Oct 2010 21:08:57 +0000 (23:08 +0200)]
Fix unecessary change in string

Simply play with length.
Furthermore, this character belongs to a string owned
by other part of software.

13 years agoFree memory
Guilhem Bonnefille [Sun, 26 Sep 2010 14:36:42 +0000 (16:36 +0200)]
Free memory

13 years agoAdd defensive code
Guilhem Bonnefille [Sun, 26 Sep 2010 14:35:06 +0000 (16:35 +0200)]
Add defensive code

13 years agoIncrease buffer length
Guilhem Bonnefille [Sun, 26 Sep 2010 14:31:44 +0000 (16:31 +0200)]
Increase buffer length

I think 50 is too small as etag contains 36 characters
and header contains 15 characters.

13 years agoFix memcheck error
Jon Burgess [Sun, 26 Sep 2010 14:25:28 +0000 (16:25 +0200)]
Fix memcheck error

What I think happens is:
1) We first do a request for a tile with an ETag and apply a custom
header, this gets set into the conn->data->set.headers pointer
2) The header gets freed, but the set.headers pointer is left as a
dangling reference to the memory
3) A subsequent request is generated for a tile without an etag so we do
not overwrite the set.headers pointer and it keeps the old, invalid
value and the HTTP request code tries to reference it.

I believe the associated change should fix it by ensuring the dangling
pointer gets cleared during step (2).

13 years agoMerge remote branch 'jocelyn/etag'
Guilhem Bonnefille [Mon, 11 Oct 2010 21:04:07 +0000 (23:04 +0200)]
Merge remote branch 'jocelyn/etag'

13 years agoDisable autodownloading when dragging the map
Guilhem Bonnefille [Mon, 11 Oct 2010 20:44:17 +0000 (22:44 +0200)]
Disable autodownloading when dragging the map

I recently discovered that a recent commit introduce a significant
change on CPU usage.
The commit is 71eff775d86be02173e28421cea7f7d3f5a8344. It offers a
smooth pan when drag&drop, but it introduces a huge amount of tile
requests.

For exemple, when I drag the map, I quickly observe around 600
requests on local tile cache while around 10 requests would be enough.

The matter is, in order to keep a smooth dragging, the viewport is
requested to redraw completly. While doing this, all displayed maps
need to check their local cache. And this, for each X event.

This fix is a temporary one.
A better solution implies certainly a significant refactoring
of display/download.

Signed-off-by: Guilhem Bonnefille <guilhem.bonnefille@gmail.com>
13 years agoFix: Uninitialized color value being used
Robert Norris [Sun, 10 Oct 2010 16:18:05 +0000 (18:18 +0200)]
Fix: Uninitialized color value being used

13 years agoAvoid uninitialized color value usage
Guilhem Bonnefille [Sun, 10 Oct 2010 16:17:23 +0000 (18:17 +0200)]
Avoid uninitialized color value usage

Spotted-by: Jon Burgess <jburgess777@gmail.com>
13 years agoDefensive code
Guilhem Bonnefille [Sun, 10 Oct 2010 16:01:21 +0000 (18:01 +0200)]
Defensive code

13 years agoAdd new menu entry in GPS Layer to delete the realtime information.
Rob Norris [Fri, 8 Oct 2010 18:54:49 +0000 (19:54 +0100)]
Add new menu entry in GPS Layer to delete the realtime information.

Same method as deleting the upload and download GPS layer information.

13 years agoEnsure GPS realtime information deleted when GPS Layer -->Empty All is called.
Rob Norris [Fri, 8 Oct 2010 18:54:27 +0000 (19:54 +0100)]
Ensure GPS realtime information deleted when GPS Layer -->Empty All is called.

13 years agoFix SF#3009431: Prevent Crash in Real Time Tracking GPS Mode & Autodownload Maps.
Rob Norris [Fri, 8 Oct 2010 18:54:02 +0000 (19:54 +0100)]
Fix SF#3009431: Prevent Crash in Real Time Tracking GPS Mode & Autodownload Maps.

Protect the GPS layer initiated map drawing update in the same way as the Map layer background download maps draw update works.

13 years agoFix display of rounded speed units scale markers in the speed profile.
Rob Norris [Thu, 7 Oct 2010 19:44:47 +0000 (20:44 +0100)]
Fix display of rounded speed units scale markers in the speed profile.

The integer method only works when the speed unit is in m/s; thus for others show the value to 1 decimal place.

13 years agoRevert "Make more portable .vik file, as don't save the map cache directory if it...
Guilhem Bonnefille [Fri, 8 Oct 2010 20:08:28 +0000 (22:08 +0200)]
Revert "Make more portable .vik file, as don't save the map cache directory if it's the map cache default directory."

This reverts commit 39aec6c6b87a324981a6e1d028ba345320a444ad.

This commit introduced a behaviour quite confusing: a saved .vik file
cannot be reopened after a change on prefered cache directory.
At least the old way is deterministic.

13 years agoMerge remote branch 'rnorris/LayerMenuKeyboardAccelerators'
Guilhem Bonnefille [Fri, 8 Oct 2010 20:04:58 +0000 (22:04 +0200)]
Merge remote branch 'rnorris/LayerMenuKeyboardAccelerators'

13 years agoMake more portable .vik file, as don't save the map cache directory if it's the map...
Rob Norris [Thu, 30 Sep 2010 20:51:32 +0000 (21:51 +0100)]
Make more portable .vik file, as don't save the map cache directory if it's the map cache default directory.

The map cache default directory is dependent on the user and OS, however on reading in when it's blank it automatically puts in the map cache default directory.

Signed-off-by: Guilhem Bonnefille <guilhem.bonnefille@gmail.com>
13 years agoRemove specific user's map cache directory from test Terraserver.vik file, so that...
Rob Norris [Thu, 30 Sep 2010 20:49:29 +0000 (21:49 +0100)]
Remove specific user's map cache directory from test Terraserver.vik file, so that anyone can use it.

Signed-off-by: Guilhem Bonnefille <guilhem.bonnefille@gmail.com>
13 years agoPrevent zoom factor string displaying unnecessary .0s when it's a whole number.
Rob Norris [Thu, 30 Sep 2010 20:48:58 +0000 (21:48 +0100)]
Prevent zoom factor string displaying unnecessary .0s when it's a whole number.

13 years agoPrevent access to undefined data when fgets() returns NULL
Jon Burgess [Sun, 26 Sep 2010 18:51:43 +0000 (19:51 +0100)]
Prevent access to undefined data when fgets() returns NULL

If viking.prefs is empty this triggers the following warning at startup in valgrind:

==21725== Conditional jump or move depends on uninitialised value(s)
==21725==    at 0x447354: preferences_load_from_file (preferences.c:147)
==21725==    by 0x447444: a_preferences_get (preferences.c:318)
==21725==    by 0x41019D: a_vik_get_default_lat (globals.c:133)
==21725==    by 0x42B6F3: viewport_init (vikviewport.c:167)
...

This occurs when fgets() returns NULL but the code still tries to
interpret the uninitialized contents of buf.

  Jon

13 years agoImprove Track Properties speed profile display for low speed difference (e.g. walking...
Rob Norris [Sun, 26 Sep 2010 18:25:03 +0000 (19:25 +0100)]
Improve Track Properties speed profile display for low speed difference (e.g. walking) tracks.

The minimum speed difference is far too great so reduce from 20m/s to 5m/s, otherwise the values shown can be very small compared to the overall graph maximum. For tracks with a bigger difference it automatically uses a sensible difference.

13 years agoUse speed units in display of Track/Waypoint layer draw by velocity config values...
Rob Norris [Sun, 26 Sep 2010 18:15:49 +0000 (19:15 +0100)]
Use speed units in display of Track/Waypoint layer draw by velocity config values, but maintain units as metres per second when read from/saved to files.

13 years agoFix arithmetic macro definition
Guilhem Bonnefille [Sun, 26 Sep 2010 20:40:39 +0000 (22:40 +0200)]
Fix arithmetic macro definition

cpp macro are only text substitutions.
We have to ensure expansion will do what coder expect.

13 years agoAdd and use defines for conversion of speed units.
Rob Norris [Sun, 26 Sep 2010 18:12:44 +0000 (19:12 +0100)]
Add and use defines for conversion of speed units.

Also add and use a feet to meters conversion.

13 years agoFix arithmetic macro definition
Guilhem Bonnefille [Tue, 28 Sep 2010 20:46:20 +0000 (22:46 +0200)]
Fix arithmetic macro definition

13 years agoAdd keyboard accelerators for as many as possible View Menu entries.
Rob Norris [Mon, 27 Sep 2010 00:07:01 +0000 (01:07 +0100)]
Add keyboard accelerators for as many as possible View Menu entries.

13 years agoRemove duplicated line of code in trackpoint drawing.
Rob Norris [Mon, 27 Sep 2010 20:09:37 +0000 (21:09 +0100)]
Remove duplicated line of code in trackpoint drawing.

13 years agoFix small memory leak when downloading DEM data via the tool method.
Rob Norris [Wed, 29 Sep 2010 07:35:08 +0000 (08:35 +0100)]
Fix small memory leak when downloading DEM data via the tool method.

13 years agoDEM layer properties tidy up.
Rob Norris [Thu, 23 Sep 2010 23:00:46 +0000 (00:00 +0100)]
DEM layer properties tidy up.

Remove unused line thickness property (although 'used' in setting up GCs, no actual line drawing takes place so the value is irrelevant).
Change the colour property from a string to a proper GdkGC, so one can use the colour picker to choose the colour. The default is blue.
Use this colour for height's less than then the minimum elevation property (as well as specifically for zero).
Remove the unused single GC.

13 years agoAdd a new debug message
Guilhem Bonnefille [Sat, 25 Sep 2010 15:15:52 +0000 (17:15 +0200)]
Add a new debug message

13 years agoSimplify zoom status when xmpp and ympp are equal
Guilhem Bonnefille [Sat, 25 Sep 2010 15:13:27 +0000 (17:13 +0200)]
Simplify zoom status when xmpp and ympp are equal

Most of the time xmpp==ympp. So, there is no need to display both factors.

13 years agoFix minor source code typo
Guilhem Bonnefille [Sat, 25 Sep 2010 15:09:37 +0000 (17:09 +0200)]
Fix minor source code typo

13 years agoFix arithmetic macro definition
Guilhem Bonnefille [Sat, 25 Sep 2010 11:47:41 +0000 (13:47 +0200)]
Fix arithmetic macro definition

cpp macro are only text substitutions.
We have to ensure VIK_METERS_TO_FEET(3+1) will do what coder expect.

13 years agoImprove grammar/usage for conversion macro function to convert meters into feet....
Rob Norris [Thu, 23 Sep 2010 21:57:25 +0000 (22:57 +0100)]
Improve grammar/usage for conversion macro function to convert meters into feet. Also prepend these macros with VIK_ as better practice.

14 years agoUse constant for 'feet in meter'
Guilhem Bonnefille [Sun, 19 Sep 2010 21:19:47 +0000 (23:19 +0200)]
Use constant for 'feet in meter'

It's always better to use constant when a value is used more than once.

14 years agoUse height units in the altitude readout for the cursor position on the status bar.
Rob Norris [Sun, 5 Sep 2010 11:05:32 +0000 (12:05 +0100)]
Use height units in the altitude readout for the cursor position on the status bar.

NB The altitude is only shown for valid DEM layer positions.

14 years agoUse height units in display of DEM min / max elevation values, but maintain units...
Rob Norris [Sun, 5 Sep 2010 11:05:00 +0000 (12:05 +0100)]
Use height units in display of DEM min / max elevation values, but maintain units as metres when read from/saved to files.

14 years agoExtend set/get param interface to have knowledge of what type of operation it is...
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.

14 years agoFix cycle map URL
Guilhem Bonnefille [Sun, 19 Sep 2010 17:07:32 +0000 (19:07 +0200)]
Fix cycle map URL

Uses the OpenCycleMap service
http://www.opencyclemap.org/

Signed-off-by: Guilhem Bonnefille <guilhem.bonnefille@gmail.com>
14 years agoFix GType macro usage
Guilhem Bonnefille [Sun, 19 Sep 2010 16:37:28 +0000 (18:37 +0200)]
Fix GType macro usage

14 years agoAdd keyboard accelerator for the Filter extension to the Track/Waypoint layer menu.
Rob Norris [Sun, 19 Sep 2010 10:20:31 +0000 (11:20 +0100)]
Add keyboard accelerator for the Filter extension to the Track/Waypoint layer menu.

14 years agoAdd keyboard accelerators for the Waypoints sublayer menu.
Rob Norris [Sun, 19 Sep 2010 10:18:09 +0000 (11:18 +0100)]
Add keyboard accelerators for the Waypoints sublayer menu.

14 years agoAdd keyboard accelerators for the Tracks sublayer menu and improve the text casing.
Rob Norris [Sun, 19 Sep 2010 10:17:39 +0000 (11:17 +0100)]
Add keyboard accelerators for the Tracks sublayer menu and improve the text casing.

14 years agoAdd keyboard accelerators for the Track/Waypoints layer menu and improve the text...
Rob Norris [Sun, 19 Sep 2010 10:15:46 +0000 (11:15 +0100)]
Add keyboard accelerators for the Track/Waypoints layer menu and improve the text casing.

14 years agoAdd keyboard accelerators for the Maps tools menu and improve the text casing.
Rob Norris [Sun, 19 Sep 2010 10:05:01 +0000 (11:05 +0100)]
Add keyboard accelerators for the Maps tools menu and improve the text casing.

14 years agoAdd keyboard accelerators for the Maps layer menu and improve the text casing.
Rob Norris [Sun, 19 Sep 2010 10:04:29 +0000 (11:04 +0100)]
Add keyboard accelerators for the Maps layer menu and improve the text casing.

14 years agoAdd keyboard accelerators for the GPS layer menu and improve text casing.
Rob Norris [Sun, 19 Sep 2010 10:00:29 +0000 (11:00 +0100)]
Add keyboard accelerators for the GPS layer menu and improve text casing.

14 years agoAdd keyboard accelerators for the GeoRef layer menu.
Rob Norris [Sun, 19 Sep 2010 09:51:48 +0000 (10:51 +0100)]
Add keyboard accelerators for the GeoRef layer menu.

14 years agoFix compiler warning in file.c
Rob Norris [Wed, 15 Sep 2010 22:00:51 +0000 (23:00 +0100)]
Fix compiler warning in file.c

Signed-off-by: Guilhem Bonnefille <guilhem.bonnefille@gmail.com>
14 years agoFix compiler warnings in vikgobjectbuilder.c
Rob Norris [Wed, 15 Sep 2010 21:53:43 +0000 (22:53 +0100)]
Fix compiler warnings in vikgobjectbuilder.c

Signed-off-by: Guilhem Bonnefille <guilhem.bonnefille@gmail.com>
14 years agoFix compiler warnings in vikwindow.c
Rob Norris [Wed, 15 Sep 2010 21:53:11 +0000 (22:53 +0100)]
Fix compiler warnings in vikwindow.c

Signed-off-by: Guilhem Bonnefille <guilhem.bonnefille@gmail.com>
14 years agoFix compiler warnings in vikmaptype.c
Rob Norris [Wed, 15 Sep 2010 21:52:45 +0000 (22:52 +0100)]
Fix compiler warnings in vikmaptype.c

Signed-off-by: Guilhem Bonnefille <guilhem.bonnefille@gmail.com>
14 years agoFix compiler warning in download.c
Rob Norris [Wed, 15 Sep 2010 21:51:22 +0000 (22:51 +0100)]
Fix compiler warning in download.c

Signed-off-by: Guilhem Bonnefille <guilhem.bonnefille@gmail.com>
14 years agoFix compiler warning in degrees_converters.c
Rob Norris [Wed, 15 Sep 2010 21:49:45 +0000 (22:49 +0100)]
Fix compiler warning in degrees_converters.c

Signed-off-by: Guilhem Bonnefille <guilhem.bonnefille@gmail.com>
14 years agoFix compiler warnings in babel.c
Rob Norris [Wed, 15 Sep 2010 21:48:02 +0000 (22:48 +0100)]
Fix compiler warnings in babel.c

Signed-off-by: Guilhem Bonnefille <guilhem.bonnefille@gmail.com>
14 years agoPrevent getting stuck in a near infinite loop when using Coord layer, UTM mode and...
Rob Norris [Thu, 16 Sep 2010 23:20:54 +0000 (00:20 +0100)]
Prevent getting stuck in a near infinite loop when using Coord layer, UTM mode and zoomed out to see the whole world.

Restrict internal lat/lon values in coord line drawing so it doesn't go into loops of potentially *massive* iteratations.

Signed-off-by: Guilhem Bonnefille <guilhem.bonnefille@gmail.com>
14 years agoFix Track Draw by Velocity mode, so that individual track points are coloured (as...
Rob Norris [Thu, 16 Sep 2010 23:18:48 +0000 (00:18 +0100)]
Fix Track Draw by Velocity mode, so that individual track points are coloured (as was the intention).

Now it actually applies the value calculated by the calculate_velocity function to the gc, so it's used in the drawing of the track lines.

Signed-off-by: Guilhem Bonnefille <guilhem.bonnefille@gmail.com>
14 years agoAdd a message to explain why feature does nothing
Guilhem Bonnefille [Sat, 18 Sep 2010 09:15:17 +0000 (11:15 +0200)]
Add a message to explain why feature does nothing

14 years agoFix previous commit
Guilhem Bonnefille [Sat, 18 Sep 2010 09:08:43 +0000 (11:08 +0200)]
Fix previous commit

SHA: 6c83cd7c4ad1b83dd699de1ead995a5a5a053008

14 years agoPrevent lock up in attempt to download maps along a track in UTM mode.
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)

14 years agoUse the standard "Reload" verb
Guilhem Bonnefille [Fri, 17 Sep 2010 21:00:02 +0000 (23:00 +0200)]
Use the standard "Reload" verb

The action is like the action made by browser. And browsers use the
"Reload" verb.

14 years agoClarify text on map layer menu
Jocelyn Jaubert [Mon, 13 Sep 2010 18:16:40 +0000 (20:16 +0200)]
Clarify text on map layer menu

14 years agoLaunchpad Bug #445374: Prevent crash when downloading maps along a track, with Terras...
Rob Norris [Fri, 17 Sep 2010 17:30:37 +0000 (18:30 +0100)]
Launchpad Bug #445374: Prevent crash when downloading maps along a track, with Terraserver maps when in Mercator mode.

14 years agoSimplify code on download action to do when map file is not present
Jocelyn Jaubert [Mon, 13 Sep 2010 18:21:05 +0000 (20:21 +0200)]
Simplify code on download action to do when map file is not present

14 years agoFix bug where older file was removed when network not present
Jocelyn Jaubert [Mon, 13 Sep 2010 17:56:42 +0000 (19:56 +0200)]
Fix bug where older file was removed when network not present

14 years agoFix a minor missing include
Guilhem Bonnefille [Wed, 15 Sep 2010 11:49:11 +0000 (13:49 +0200)]
Fix a minor missing include

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.

14 years agoComment VikSlippyMapSource
Guilhem Bonnefille [Tue, 14 Sep 2010 20:34:15 +0000 (22:34 +0200)]
Comment VikSlippyMapSource

Add documentation related to protocol handled by VikSlippyMapSource.

Signed-off-by: Guilhem Bonnefille <guilhem.bonnefille@gmail.com>
14 years agoFix bashisms.
Greg Troxel [Mon, 13 Sep 2010 00:25:02 +0000 (20:25 -0400)]
Fix bashisms.

Change shell to /bin/sh.  Adapt to POSIX shell function syntax.

14 years agoAdd explicit linking against libz and libm
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

http://fedoraproject.org/w/index.php?title=UnderstandingDSOLinkChange

14 years agoFix: warning 'draw-mode' message does not display
Guilhem Bonnefille [Tue, 14 Sep 2010 08:12:27 +0000 (10:12 +0200)]
Fix: warning 'draw-mode' message does not display

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.

14 years agoFix incorrect limitation on source map id
Guilhem Bonnefille [Mon, 13 Sep 2010 11:42:46 +0000 (13:42 +0200)]
Fix incorrect limitation on source map id

There is no special reason why id of map source should be stored on 8 bits.

14 years agoAdd warning when requested GObject type is unknown
Guilhem Bonnefille [Sat, 11 Sep 2010 21:54:00 +0000 (23:54 +0200)]
Add warning when requested GObject type is unknown

14 years ago[TEST] Add Terraserver viking file
Guilhem Bonnefille [Sat, 11 Sep 2010 20:50:25 +0000 (22:50 +0200)]
[TEST] Add Terraserver viking file

14 years agoPrevent viewport tool selection/edit of trackpoint or waypoint when the layer or...
Rob Norris [Sat, 11 Sep 2010 09:30:02 +0000 (10:30 +0100)]
Prevent viewport tool selection/edit of trackpoint or waypoint when the layer or sublayer is invisible.

Signed-off-by: Guilhem Bonnefille <guilhem.bonnefille@gmail.com>
14 years agoReleasing viking 0.9.95
Guilhem Bonnefille [Mon, 6 Sep 2010 23:13:03 +0000 (01:13 +0200)]
Releasing viking 0.9.95

14 years agoMerge branch 'i18n-launchpad'
Guilhem Bonnefille [Mon, 6 Sep 2010 23:00:42 +0000 (01:00 +0200)]
Merge branch 'i18n-launchpad'

14 years agoRestore as many translations as possible
Guilhem Bonnefille [Mon, 6 Sep 2010 22:58:46 +0000 (00:58 +0200)]
Restore as many translations as possible