]> git.street.me.uk Git - andy/viking.git/log
andy/viking.git
17 years agoChangeLog entry
Quy Tonthat [Wed, 4 Jul 2007 08:17:05 +0000 (08:17 +0000)]
ChangeLog entry

Signed-off-by: Quy Tonthat <qtonthat@gmail.com>
17 years agoBug fix: View Mode displayed wrong setting on startup.
Quy Tonthat [Wed, 4 Jul 2007 08:16:51 +0000 (08:16 +0000)]
Bug fix: View Mode displayed wrong setting on startup.

Saved "Google Mode" became "Old KH Mode" on the next start up.
The problem is now fixed.

Signed-off-by: Quy Tonthat <qtonthat@gmail.com>
17 years agoChangeLog entry
Quy Tonthat [Tue, 3 Jul 2007 05:59:31 +0000 (05:59 +0000)]
ChangeLog entry

Signed-off-by: Quy Tonthat <qtonthat@gmail.com>
17 years agoFixed bugs that caused "draw_scale" and "draw_centermark" not consistent.
Quy Tonthat [Tue, 3 Jul 2007 05:59:19 +0000 (05:59 +0000)]
Fixed bugs that caused "draw_scale" and "draw_centermark" not consistent.

Fixed following bugs related to scale and centermark:
- View menu items did not always reflect correctly when loading from files.
- View menu items and the viewport did not always have the same state
  (on/off)

Signed-off-by: Quy Tonthat <qtonthat@gmail.com>
17 years agoChangeLog entry
Quy Tonthat [Mon, 2 Jul 2007 11:44:42 +0000 (11:44 +0000)]
ChangeLog entry

Signed-off-by: Quy Tonthat <qtonthat@gmail.com>
17 years agoFix bugs that caused crashes on gps download/upload.
Quy Tonthat [Mon, 2 Jul 2007 11:44:30 +0000 (11:44 +0000)]
Fix bugs that caused crashes on gps download/upload.

The problem was caused by the parser for gpsbabel debug output.
The fix should stop viking from crashing, but the progress dialog still may not
display counters accurately for some model of GPS. The fix was only tested
with Garmin GPS 12. Fixing problems for other GPS requires output of
"gpsbabel -D 9 -t -w -i garmin -f /dev/ttyUSB0 -o gpx -F /dev/null"

This fix also plugged a memory leak in the parser..

Signed-off-by: Quy Tonthat <qtonthat@gmail.com>
17 years agoChangeLog entry
Quy Tonthat [Sun, 1 Jul 2007 08:31:09 +0000 (08:31 +0000)]
ChangeLog entry

17 years agoMake "Save Image" and "Save Image Directory" dialogs reusable.
Quy Tonthat [Sun, 1 Jul 2007 08:30:56 +0000 (08:30 +0000)]
Make "Save Image" and "Save Image Directory" dialogs reusable.

The two dialogs are now more consistent with "Save" and "Save As" dialogs.
This also enables them to remember the last directory used (annoyance otherwise).

Signed-off-by: Quy Tonthat <qtonthat@gmail.com>
17 years agoReally using the new icon.
Quy Tonthat [Thu, 28 Jun 2007 00:27:54 +0000 (00:27 +0000)]
Really using the new icon.

Missing codes to actually set the new icon as app icon.

Signed-off-by: Quy Tonthat <qtonthat@gmail.com>
17 years agoUsing the new icon
Guilhem Bonnefille [Wed, 27 Jun 2007 14:06:46 +0000 (14:06 +0000)]
Using the new icon

17 years agoAdded Viking icon provided by Mark Coulter <i_offroad@yahoo.com>
Mark Coulter [Wed, 27 Jun 2007 04:26:08 +0000 (04:26 +0000)]
Added Viking icon provided by Mark Coulter <i_offroad@yahoo.com>

Signed-off-by: Quy Tonthat <qtonthat@gmail.com>
17 years agoRefreshing INSTALL
Guilhem Bonnefille [Sun, 24 Jun 2007 20:53:36 +0000 (20:53 +0000)]
Refreshing INSTALL

17 years agoRemoving old (and no more functional) Makefile
Guilhem Bonnefille [Sun, 24 Jun 2007 20:53:31 +0000 (20:53 +0000)]
Removing old (and no more functional) Makefile

17 years agoAdd debian subdirectory to automaked tarball
Guilhem Bonnefille [Sun, 24 Jun 2007 15:34:56 +0000 (15:34 +0000)]
Add debian subdirectory to automaked tarball

17 years agoMerging with Ralf debianization
Ralf Meyer [Sun, 24 Jun 2007 15:34:48 +0000 (15:34 +0000)]
Merging with Ralf debianization

Ralf Meyer <ranfyy@gmail.com> debianized on viking 20 May 2007
mainly because I forgot to include my debianization work in tarball.

Signed-off-by: Guilhem Bonnefille <guilhem.bonnefille@gmail.com>
17 years agoUnused variable
Guilhem Bonnefille [Sat, 23 Jun 2007 21:28:07 +0000 (21:28 +0000)]
Unused variable

17 years agoAdd include to avoid implicit declaration
Guilhem Bonnefille [Sat, 23 Jun 2007 21:28:00 +0000 (21:28 +0000)]
Add include to avoid implicit declaration

17 years agoInitialisation to avoid warning
Guilhem Bonnefille [Sat, 23 Jun 2007 21:27:56 +0000 (21:27 +0000)]
Initialisation to avoid warning

17 years agoExplicit donw-casting
Guilhem Bonnefille [Sat, 23 Jun 2007 21:27:51 +0000 (21:27 +0000)]
Explicit donw-casting

In order to avoid some warning, I used the dedicated macro to convert
some pointer to expected pointers with automatic check.

Take a look at MAMAN_BAR in http://developer.gnome.org/doc/API/2.0/gobject/gtype-conventions.html

17 years agoCorrect declaration
Guilhem Bonnefille [Sat, 23 Jun 2007 16:29:59 +0000 (16:29 +0000)]
Correct declaration

17 years agoUnused variables
Guilhem Bonnefille [Sat, 23 Jun 2007 16:18:35 +0000 (16:18 +0000)]
Unused variables

17 years agoCorrect some erroneous declarations
Guilhem Bonnefille [Sat, 23 Jun 2007 16:18:29 +0000 (16:18 +0000)]
Correct some erroneous declarations

17 years agoUse g_mkdir instead of native mkdir
Guilhem Bonnefille [Sat, 23 Jun 2007 16:18:20 +0000 (16:18 +0000)]
Use g_mkdir instead of native mkdir

As we use GLib, I prefer to use GLib functions instead of native function.
I think this will help for portability.

17 years agoUse g_free as free function
Guilhem Bonnefille [Sat, 23 Jun 2007 16:18:13 +0000 (16:18 +0000)]
Use g_free as free function

No need to test nullity of the pointeur before call free function
because all free function knows that a pointeur could be NULL.

We gained few cycles :-)

17 years agoAdd requested sentinel and correct gdk_pixbuf_save call
Guilhem Bonnefille [Sat, 23 Jun 2007 16:18:05 +0000 (16:18 +0000)]
Add requested sentinel and correct gdk_pixbuf_save call

A "sentinel" is a NULL value at the end of variable argument list.

17 years agoDeclare usage of math.h include
Guilhem Bonnefille [Sat, 23 Jun 2007 16:17:59 +0000 (16:17 +0000)]
Declare usage of math.h include

17 years agoSuppress warning about backslashed newline at end of line
Guilhem Bonnefille [Sat, 23 Jun 2007 16:17:55 +0000 (16:17 +0000)]
Suppress warning about backslashed newline at end of line

17 years agoDynamic version in User-Agent
Guilhem Bonnefille [Sat, 23 Jun 2007 16:17:47 +0000 (16:17 +0000)]
Dynamic version in User-Agent

17 years agoAdd referer to DownloadOptions
Guilhem Bonnefille [Sat, 23 Jun 2007 14:44:34 +0000 (14:44 +0000)]
Add referer to DownloadOptions

This allows to specify a referer per map source

17 years agoMinor change to avoid SEGFAULT on x86_64
Tim Scofield [Sat, 23 Jun 2007 14:04:12 +0000 (14:04 +0000)]
Minor change to avoid SEGFAULT on x86_64

Tim Scofield reported some SEGFAULT bug, due to a 0 instead a NULL.

17 years agoAdding a DownloadOptions type.
Guilhem Bonnefille [Sat, 23 Jun 2007 14:04:03 +0000 (14:04 +0000)]
Adding a DownloadOptions type.

Will store info for downloading.

17 years agoChangeLog
Quy Tonthat [Wed, 20 Jun 2007 04:15:55 +0000 (04:15 +0000)]
ChangeLog

Signed-off-by: Quy Tonthat <qtonthat@gmail.com>
17 years agoGoogle Search: fixed to work with new Google output.
Quy Tonthat [Wed, 20 Jun 2007 04:15:43 +0000 (04:15 +0000)]
Google Search: fixed to work with new Google output.

Signed-off-by: Quy Tonthat <qtonthat@gmail.com>
17 years agoMoving acinclude.m4 as expat.m4
Guilhem Bonnefille [Tue, 19 Jun 2007 21:03:51 +0000 (21:03 +0000)]
Moving acinclude.m4 as expat.m4

As we now have a m4 directory, store any M4 file on it.

17 years agoFile forgotten on commit trunk@289
Guilhem Bonnefille [Tue, 19 Jun 2007 21:03:45 +0000 (21:03 +0000)]
File forgotten on commit trunk@289

17 years agoFix a wild pointer bug that can cause crashes.
Quy Tonthat [Tue, 19 Jun 2007 14:39:21 +0000 (14:39 +0000)]
Fix a wild pointer bug that can cause crashes.

Signed-off-by: Quy Tonthat <qtonthat@gmail.com>
17 years agoFix bugs that causes "drawcentermark" not recognised when reading from files.
Quy Tonthat [Tue, 19 Jun 2007 14:39:02 +0000 (14:39 +0000)]
Fix bugs that causes "drawcentermark" not recognised when reading from files.

Signed-off-by: Quy Tonthat <qtonthat@gmail.com>
17 years agoDeclaring curl_download_init function.
Guilhem Bonnefille [Mon, 18 Jun 2007 21:11:15 +0000 (21:11 +0000)]
Declaring curl_download_init function.

Avoid a implicit declaration of the function.

17 years agoCopying libcurl.m4
Guilhem Bonnefille [Mon, 18 Jun 2007 20:52:28 +0000 (20:52 +0000)]
Copying libcurl.m4

This m4 module is necessary, at least to detect that libcurl is not available.
Sort of chicken/egg problem. Looking at gettextize, it seems that the
correct solution is to copy the m4 script of optional modules in a m4 directory
ensuring they will be found everywhere.

Signed-off-by: Guilhem Bonnefille <guilhem.bonnefille@gmail.com>
17 years agoRelease 0.1.3-20070618
Quy Tonthat [Mon, 18 Jun 2007 14:46:54 +0000 (14:46 +0000)]
Release 0.1.3-20070618

Signed-off-by: Quy Tonthat <qtonthat@gmail.com>
17 years agoDownload maps along track: maps between far apart trackpoints.
Quy Tonthat [Mon, 18 Jun 2007 14:27:42 +0000 (14:27 +0000)]
Download maps along track: maps between far apart trackpoints.

Added codes for downloading maps between trackpoints that are located
apart further than viewport width or heigh at the request zoom level.

Signed-off-by: Quy Tonthat <qtonthat@gmail.com>
17 years agoDownload maps along a track.
Quy Tonthat [Mon, 18 Jun 2007 14:27:12 +0000 (14:27 +0000)]
Download maps along a track.

Maps along a track can now be downloaded by selecting
"Download maps along track..." on the track's context menu.

Problem to be fixed: some maps are missing between far apart trackpoints.

Signed-off-by: Quy Tonthat <qtonthat@gmail.com>
17 years agoNew Google version numbers.
Quy Tonthat [Mon, 18 Jun 2007 14:26:12 +0000 (14:26 +0000)]
New Google version numbers.

Signed-off-by: Quy Tonthat <qtonthat@gmail.com>
17 years agoAdd User-Agent to http request header.
Quy Tonthat [Mon, 18 Jun 2007 14:25:52 +0000 (14:25 +0000)]
Add User-Agent to http request header.

Some server is picky if the User-Agent is missing.

Signed-off-by: Quy Tonthat <qtonthat@gmail.com>
17 years agoMake the center mark look a bit better.
Quy Tonthat [Mon, 18 Jun 2007 14:25:41 +0000 (14:25 +0000)]
Make the center mark look a bit better.

Signed-off-by: Quy Tonthat <qtonthat@gmail.com>
17 years agoAdd center mark which can be turn on/off in View menu.
Quy Tonthat [Mon, 18 Jun 2007 14:25:24 +0000 (14:25 +0000)]
Add center mark which can be turn on/off in View menu.

Signed-off-by: Quy Tonthat <qtonthat@gmail.com>
17 years agoMake the scale more visible on dark maps.
Quy Tonthat [Mon, 18 Jun 2007 14:24:53 +0000 (14:24 +0000)]
Make the scale more visible on dark maps.

THe drawing of the scale is now more visible but the text is not.

Signed-off-by: Quy Tonthat <qtonthat@gmail.com>
17 years agoAdded cookies to google requests.
Quy Tonthat [Mon, 18 Jun 2007 14:24:40 +0000 (14:24 +0000)]
Added cookies to google requests.

Cookies are retrieved on the first request and stored in ~/.viking/cookies.txt.
The file is recreated (if needed) everytime viking starts.
Currently only google cookies are used. Others may be added if needed.

cookie, user-agent and referer are now added to the request header.

file.c:a_get_viking_dir() was added and should be used for others to query
(and creating if not existed) location of viking directory (~/.viking).

Signed-off-by: Quy Tonthat <qtonthat@gmail.com>
17 years agoNew google version number
Quy Tonthat [Mon, 18 Jun 2007 14:24:18 +0000 (14:24 +0000)]
New google version number

17 years agoAdding an icon for the entry menu (Debian package only)
Ralf Meyer [Wed, 13 Jun 2007 13:53:39 +0000 (13:53 +0000)]
Adding an icon for the entry menu (Debian package only)

(Suggested by Ralf Meyer <ranfyy@gmail.com>)

Signed-off-by: Guilhem Bonnefille <guilhem.bonnefille@gmail.com>
17 years agoCorrect the man pages generation
Guilhem Bonnefille [Wed, 13 Jun 2007 13:53:30 +0000 (13:53 +0000)]
Correct the man pages generation

Signed-off-by: Guilhem Bonnefille <guilhem.bonnefille@gmail.com>
17 years agoAdding an icon
Guilhem Bonnefille [Wed, 13 Jun 2007 13:53:25 +0000 (13:53 +0000)]
Adding an icon

Signed-off-by: Guilhem Bonnefille <guilhem.bonnefille@gmail.com>
17 years agoChangLog entries
Quy Tonthat [Fri, 8 Jun 2007 13:17:15 +0000 (13:17 +0000)]
ChangLog entries

17 years agoFix a bug that causes segfault on trackpoint properties dialog.
Quy Tonthat [Fri, 8 Jun 2007 13:17:02 +0000 (13:17 +0000)]
Fix a bug that causes segfault on trackpoint properties dialog.

Signed-off-by: Quy Tonthat <qtonthat@gmail.com>
17 years agoBacported Evan's magic scissors from DEM branch.
Quy Tonthat [Fri, 1 Jun 2007 11:22:55 +0000 (11:22 +0000)]
Bacported Evan's magic scissors from DEM branch.

To use it, select a TrackWaypoint layer, click on Magic Scissors tool,
then click 2 points on the map, viking will draw the route between the
two point using data from google maps.

Requires gpsbabel 1.3.4-beta or later.

Signed-off-by: Quy Tonthat <qtonthat@gmail.com>
17 years agoFix a segfault on track properties dialog.
Quy Tonthat [Fri, 1 Jun 2007 04:07:13 +0000 (04:07 +0000)]
Fix a segfault on track properties dialog.

The problem occurs when viewing properties of a track that has only
one trackpoint with elevation information.

Signed-off-by: Quy Tonthat <qtonthat@gmail.com>
17 years agoChangeLog entry.
Quy Tonthat [Thu, 31 May 2007 12:01:34 +0000 (12:01 +0000)]
ChangeLog entry.

Signed-off-by: Quy Tonthat <qtonthat@gmail.com>
17 years agoUse google maps search string as comment for new immediately created waypoint.
Quy Tonthat [Thu, 31 May 2007 12:01:22 +0000 (12:01 +0000)]
Use google maps search string as comment for new immediately created waypoint.

After a successful search, before any operation that moves the map area,
a waypoint can be created for the resulted location by using "New Waypoint"
from the context menu of a TrackWaypoint layer. The "New Waypoint" dialog
will then use the search string as default "Comment".

Signed-off-by: Quy Tonthat <qtonthat@gmail.com>
17 years agoAdd Google Maps search to toolbar.
Quy Tonthat [Thu, 31 May 2007 12:00:48 +0000 (12:00 +0000)]
Add Google Maps search to toolbar.

Signed-off-by: Quy Tonthat <qtonthat@gmail.com>
17 years agoGoogle Maps search: code clean up.
Quy Tonthat [Thu, 31 May 2007 12:00:27 +0000 (12:00 +0000)]
Google Maps search: code clean up.

Signed-off-by: Quy Tonthat <qtonthat@gmail.com>
17 years agoGo to location using Google Maps search.
Quy Tonthat [Thu, 31 May 2007 12:00:13 +0000 (12:00 +0000)]
Go to location using Google Maps search.

New View menu item that enableviking to go to a location specified as
street address or place name that is recognised by Google Maps search
engine.

Signed-off-by: Quy Tonthat <qtonthat@gmail.com>
17 years agoCosmetic changes: fix compiler warnings.
Quy Tonthat [Thu, 31 May 2007 04:59:59 +0000 (04:59 +0000)]
Cosmetic changes: fix compiler warnings.

Signed-off-by: Quy Tonthat <qtonthat@gmail.com>
17 years agoMany new waypoint symbols created by Mark Coulter.
Mark Coulter [Sat, 26 May 2007 14:13:32 +0000 (14:13 +0000)]
Many new waypoint symbols created by Mark Coulter.

Signed-off-by: Quy Tonthat <qtonthat@gmail.com>
17 years agoviking 0.1.3.20070526
Quy Tonthat [Sat, 26 May 2007 11:26:38 +0000 (11:26 +0000)]
viking 0.1.3.20070526

17 years agoChangeLog entries
Quy Tonthat [Sat, 26 May 2007 11:16:51 +0000 (11:16 +0000)]
ChangeLog entries

17 years agoFix intermittent problem of map redraw.
Quy Tonthat [Sat, 26 May 2007 11:16:39 +0000 (11:16 +0000)]
Fix intermittent problem of map redraw.

The type mismatching (gint vs guint16) in the cache removing function can
cause coords truncated which leads to pixmaps not removed from the cache,
hence they are not updated on screen.

This only happens for coords with values larger than what a 16-bit number
can hold (> 65535). This is why the problem seems intermittent.

Signed-off-by: Quy Tonthat <qtonthat@gmail.com>
17 years agoHandle cases that only need redraw (without downloading).
Quy Tonthat [Sat, 26 May 2007 11:16:21 +0000 (11:16 +0000)]
Handle cases that only need redraw (without downloading).

Signed-off-by: Quy Tonthat <qtonthat@gmail.com>
17 years agoRemoving generated files
Guilhem Bonnefille [Thu, 24 May 2007 20:24:46 +0000 (20:24 +0000)]
Removing generated files

Signed-off-by: Guilhem Bonnefille <guilhem.bonnefille@gmail.com>
17 years agoAdding man pages
Guilhem Bonnefille [Thu, 24 May 2007 20:24:38 +0000 (20:24 +0000)]
Adding man pages

Signed-off-by: Ralf Meyer <ranfyy@gmail.com>
17 years agoMake window dimensions easier to be changed.
Quy Tonthat [Thu, 24 May 2007 08:39:11 +0000 (08:39 +0000)]
Make window dimensions easier to be changed.

Signed-off-by: Quy Tonthat <qtonthat@gmail.com>
17 years agoSmall touches on the look.
Quy Tonthat [Thu, 24 May 2007 08:26:40 +0000 (08:26 +0000)]
Small touches on the look.

- Ajust field width and alignment of treeview columns.
- Bring dimension constants to the top to make them easier to be found and
changed (Until we implement something more flexible for users to change
them)

Signed-off-by: Quy Tonthat <qtonthat@gmail.com>
17 years agoMaps layer: Improve performance for map autodownload.
Quy Tonthat [Thu, 24 May 2007 05:18:47 +0000 (05:18 +0000)]
Maps layer: Improve performance for map autodownload.

Autodownload is now only triggered when there are changes in zoom scale
or view location.

Map autodownload caused poor performance because it was triggered unnecessarily
by every update event. Most of these events are caused by interactions
that do not require map downloading. Autodownload itself is among the worst
sources of triggers. Autodownload threads generate update event for each
downloaded map tile. These events in turn create other threads
which generates more events and so on. Most of these threads will die out
quickly but the performance still suffers.

Signed-off-by: Quy Tonthat <qtonthat@gmail.com>
17 years agoChangeLog entries
Quy Tonthat [Wed, 23 May 2007 14:03:58 +0000 (14:03 +0000)]
ChangeLog entries

Signed-off-by: Quy Tonthat <qtonthat@gmail.com>
17 years agoPut Google Directions dialogs at the center of viking window.
Quy Tonthat [Wed, 23 May 2007 14:03:46 +0000 (14:03 +0000)]
Put Google Directions dialogs at the center of viking window.

Signed-off-by: Quy Tonthat <qtonthat@gmail.com>
17 years agoGoogle Directions now remembers previous query (from/to entries).
Quy Tonthat [Wed, 23 May 2007 14:03:34 +0000 (14:03 +0000)]
Google Directions now remembers previous query (from/to entries).

The from/to dialog will now display the previous query so that users can edit
or finetune the search.
(It was frustating mistyping a query just to get blank entriess back for
mistyping again, and again).
Note that this only works for one lifetime. Viking will forget the queries
once restarted.

Signed-off-by: Quy Tonthat <qtonthat@gmail.com>
17 years agoChangeLog Entries
Quy Tonthat [Wed, 23 May 2007 07:24:52 +0000 (07:24 +0000)]
ChangeLog Entries

17 years agoGpslayer: New menu items to remove all tracks and waypoints in GPS folders.
Quy Tonthat [Wed, 23 May 2007 07:20:54 +0000 (07:20 +0000)]
Gpslayer: New menu items to remove all tracks and waypoints in GPS folders.

Data in Gps folders are likely short lived. Old data are often removed
before upload/download operation. The new menu items
(empty upload, empty download, empty all) are to make the task of
cleaning up the folders less painful (now that gps data are saved
and there is multiple selection is not yet implemented).

Signed-off-by: Quy Tonthat <qtonthat@gmail.com>
17 years agoAdd "Save and Exit" to File menu.
Quy Tonthat [Tue, 22 May 2007 01:50:48 +0000 (01:50 +0000)]
Add "Save and Exit" to File menu.

Signed-off-by: Quy Tonthat <qtonthat@gmail.com>
17 years agoDisable temporarily prompt for saving on exit.
Quy Tonthat [Tue, 22 May 2007 01:50:19 +0000 (01:50 +0000)]
Disable temporarily prompt for saving on exit.

Except some changes made through the top window menu, "modified" status is not
recorded for the rest of the codes. This inconsistent behaviour is misleading
especially to new users. Until someone has time to go through the whole codes
and set "modified" flags accordingly, the prompt is temporarily disable.

ALl changes are wrapped with "ifdef VIKING_PROMPT_IF_MODIFIED" for easily
restoring the feature later.

Signed-off-by: Quy Tonthat <qtonthat@gmail.com>
17 years agoChangeLog entry
Quy Tonthat [Mon, 21 May 2007 15:23:52 +0000 (15:23 +0000)]
ChangeLog entry

Signed-off-by: Quy Tonthat <qtonthat@gmail.com>
17 years agoSave function for GPS layer (part 2: read)
Quy Tonthat [Mon, 21 May 2007 15:09:01 +0000 (15:09 +0000)]
Save function for GPS layer (part 2: read)

Also fixed a bug on the write side.

Signed-off-by: Quy Tonthat <qtonthat@gmail.com>
17 years agoSave function for GPS layer (part 1: write only)
Quy Tonthat [Mon, 21 May 2007 15:08:32 +0000 (15:08 +0000)]
Save function for GPS layer (part 1: write only)

Read side is to follow.

Signed-off-by: Quy Tonthat <qtonthat@gmail.com>
17 years agoedit waypoint fix
Alex Foobarian [Sun, 20 May 2007 04:43:52 +0000 (04:43 +0000)]
edit waypoint fix

17 years agoChangeLog entry for autodownload fixes
Quy Tonthat [Sat, 19 May 2007 16:15:06 +0000 (16:15 +0000)]
ChangeLog entry for autodownload fixes

Signed-off-by: Quy Tonthat <qtonthat@gmail.com>
17 years agoosm now reports download error status.
Quy Tonthat [Sat, 19 May 2007 16:14:55 +0000 (16:14 +0000)]
osm now reports download error status.

Signed-off-by: Quy Tonthat <qtonthat@gmail.com>
17 years agoTerraserver now reports download error status.
Quy Tonthat [Sat, 19 May 2007 16:14:38 +0000 (16:14 +0000)]
Terraserver now reports download error status.

Signed-off-by: Quy Tonthat <qtonthat@gmail.com>
17 years agoExpedia now reports download error status.
Quy Tonthat [Sat, 19 May 2007 16:14:25 +0000 (16:14 +0000)]
Expedia now reports download error status.

Signed-off-by: Quy Tonthat <qtonthat@gmail.com>
17 years agoStop autodownload from running forever on map downloading errors.
Quy Tonthat [Sat, 19 May 2007 16:14:10 +0000 (16:14 +0000)]
Stop autodownload from running forever on map downloading errors.

The error status from low level of map download was not passed on.
Therefore update emits (to refrsh display) are generated even when
downloading got errors and no map tile needs to be redisplayed.

This caused serious problems when "Autodownload" is turned on.
The update emits also trigger autodownload to start new download thread
which in turn generates update emit for failed downloading of the
same tiles. And on and on.

This commit allow the download error status to be passed on and limit
update emits to successful download only.

Only google module was changed to use the new method. Other modules
will follow in the next commits.

Signed-off-by: Quy Tonthat <qtonthat@gmail.com>
17 years agoAdd curl-devel to spec file
Quy Tonthat [Fri, 18 May 2007 03:13:34 +0000 (03:13 +0000)]
Add curl-devel to spec file

17 years agoChangeLog entry
Quy Tonthat [Thu, 17 May 2007 16:46:32 +0000 (16:46 +0000)]
ChangeLog entry

Signed-off-by: Quy Tonthat <qtonthat@gmail.com>
17 years agoCheck for non-displayable data after downloading map.
Quy Tonthat [Thu, 17 May 2007 16:46:20 +0000 (16:46 +0000)]
Check for non-displayable data after downloading map.

Some servers, eg google, give an html file when a map tile does not exist.
Those files are not displayabled by viking. They should not be stored in
the disk cache.

Signed-off-by: Quy Tonthat <qtonthat@gmail.com>
17 years agoChangeLog entry
Quy Tonthat [Thu, 17 May 2007 16:22:22 +0000 (16:22 +0000)]
ChangeLog entry

Signed-off-by: Quy Tonthat <qtonthat@gmail.com>
17 years agoMap tool: Left click can now refresh display of map tiles.
Quy Tonthat [Thu, 17 May 2007 16:22:11 +0000 (16:22 +0000)]
Map tool: Left click can now refresh display of map tiles.

Currently, left click a blank tile will download map tile for that area.
With this changes, left click on a map tile will refresh display of the
tile by clearing its memory cache and reload its on-disk map file.

Signed-off-by: Quy Tonthat <qtonthat@gmail.com>
17 years agoReleasing 0.1.3
Guilhem Bonnefille [Thu, 17 May 2007 14:44:59 +0000 (14:44 +0000)]
Releasing 0.1.3

17 years agoFix problems in map downloading caused by unreliable error detection.
Quy Tonthat [Thu, 17 May 2007 07:50:51 +0000 (07:50 +0000)]
Fix problems in map downloading caused by unreliable error detection.

Make sure curl_download module return right error codes. The upper level
acts upon them.

Signed-off-by: Quy Tonthat <qtonthat@gmail.com>
17 years agoChangelog entry for the last commit
Quy Tonthat [Mon, 14 May 2007 15:53:19 +0000 (15:53 +0000)]
Changelog entry for the last commit

17 years agoFix bug that causes crash on viking exit.
Quy Tonthat [Mon, 14 May 2007 14:17:34 +0000 (14:17 +0000)]
Fix bug that causes crash on viking exit.

In some situations, for examples, when there is no map file to download,
the weak_ref is never unref'ed. This will lead to an unexpected call to
the unref callback (weak_ref_cb()) when the map layer is destroyed
(viking is terminated or the layer is removed).

17 years agoRemove the old tile from cache BEFORE redrawing.
Evan Battaglia [Sun, 13 May 2007 22:12:23 +0000 (22:12 +0000)]
Remove the old tile from cache BEFORE redrawing.

17 years agoFix "corrupted tile" problem -- was really just that incomplete tiles were being...
Evan Battaglia [Sun, 13 May 2007 18:10:25 +0000 (18:10 +0000)]
Fix "corrupted tile" problem -- was really just that incomplete tiles were being drawn & subsequently taken into memory cache. We should really add a "clear memory cache" menu item too.

17 years agoFix stupid segfault bug in main.c (open file)
Evan Battaglia [Fri, 11 May 2007 08:11:05 +0000 (08:11 +0000)]
Fix stupid segfault bug in main.c (open file)