]>
git.street.me.uk Git - andy/viking.git/log
Quy Tonthat [Fri, 24 Aug 2007 15:46:28 +0000 (15:46 +0000)]
Give more instructive message for attempting to download maps in wrong mapmode
Point users to View menu and suggest what mode to select.
Signed-off-by: Quy Tonthat <qtonthat@gmail.com>
Quy Tonthat [Fri, 24 Aug 2007 14:29:07 +0000 (14:29 +0000)]
Better checking to detect downloaded text instead of images
Signed-off-by: Quy Tonthat <qtonthat@gmail.com>
Quy Tonthat [Fri, 24 Aug 2007 14:07:43 +0000 (14:07 +0000)]
New google version number
Signed-off-by: Quy Tonthat <qtonthat@gmail.com>
Guilhem Bonnefille [Wed, 22 Aug 2007 20:33:25 +0000 (20:33 +0000)]
Adding the ability to upload to OSM.
A new menu entry allows to upload the data of a TrwLayer to OpenStreetMap
as a GPX data file.
Technics:
The button opens a dialog to request the needed parameters:
- authentification informations (email and password)
- a filename (initially built with the name of the TrwLayer)
- the descriptios, tags and visibility of the trace
Then, a background thread is activated.
TODO:
- Check the parameter (not empty, syntactically correct tags)
- Error handling: as the upload is threaded, the error is not displayed
- Allow to upload a simple track (not a whole TrwLayer)
Guilhem Bonnefille [Mon, 20 Aug 2007 21:17:26 +0000 (21:17 +0000)]
Small target to easy multi-branch developer's work
Guilhem Bonnefille [Mon, 20 Aug 2007 21:17:21 +0000 (21:17 +0000)]
libcurl is a requirement
It is no more a optional feature, but an "hard" requirement.
The main reason is that it is time consuming to maintain code
to work with and without libcurl. Furthermore, libcurl is available
in a lot of distributions now.
Quy Tonthat [Mon, 20 Aug 2007 08:40:27 +0000 (08:40 +0000)]
Fix bug in Google search that caused viking jump to wrong location when
Google can not find the match.
Signed-off-by: Quy Tonthat <qtonthat@gmail.com>
Quy Tonthat [Sun, 19 Aug 2007 15:12:43 +0000 (15:12 +0000)]
Fix bugs that cause crashes on layers copy/paste/delete.
The bug can be reproduced consistently by following steps:
- start viking, create a map layer
- select the map layer
- click on copy
- select some text on a terminal
- right click on the selected text.
At this stage, error messages appears such as:
(viking:5219): GLib-GObject-WARNING **: invalid uninstantiatable type `(null)' in cast to `VikLayer'
(viking:5219): Gdk-WARNING **: Error converting from UTF-8 to STRING: Invalid byte sequence in conversion input
The memory is corrupted by then, other operations will crash viking eventually.
Signed-off-by: Quy Tonthat <qtonthat@gmail.com>
Guilhem Bonnefille [Wed, 15 Aug 2007 20:32:10 +0000 (20:32 +0000)]
Group "Export Layer" entries in a submenu
Signed-off-by: Guilhem Bonnefille <guilhem.bonnefille@gmail.com>
Quy Tonthat [Wed, 15 Aug 2007 14:14:16 +0000 (14:14 +0000)]
Clean up and get rid of compiler warnings.
Signed-off-by: Quy Tonthat <qtonthat@gmail.com>
Quy Tonthat [Wed, 15 Aug 2007 02:57:57 +0000 (02:57 +0000)]
Old google modes are now disabled by default.
* New --enable-old-google for configure script to allow users to enable
the feature.
* When old google modes are disabled, their view modes will not be shown
on view menu.
* Fix bugs that prevent Google Maps from being set as default map when
creating new map layer.
Signed-off-by: Quy Tonthat <qtonthat@gmail.com>
Quy Tonthat [Tue, 14 Aug 2007 23:55:37 +0000 (23:55 +0000)]
Fix bug in creating temporary HOME when HOME is not set.
Signed-off-by: Quy Tonthat <qtonthat@gmail.com>
Guilhem Bonnefille [Tue, 14 Aug 2007 14:55:44 +0000 (14:55 +0000)]
Adding "name" accessor
+ some improves around code: no need to check a pointer before freeing it but g_assert on NULL string
Quy Tonthat [Wed, 8 Aug 2007 14:55:43 +0000 (14:55 +0000)]
Make Google Map default map type.
Map mode selection is the most confusing "feature" left on viking for many
new users. Until someone has time to fix it (auto view mode, perhaps), we
now set the default map mode to Google Map, assuming it is the most widely used
for viking users.
Signed-off-by: Quy Tonthat <qtonthat@gmail.com>
Guilhem Bonnefille [Sat, 4 Aug 2007 20:59:02 +0000 (20:59 +0000)]
Refactoring
More dynamic string managment, better for stability and I18N.
Quy Tonthat [Wed, 1 Aug 2007 15:34:50 +0000 (15:34 +0000)]
Read hgt.zip files directly. Process correctly 1 arc sec hgt(.zip) files
Signed-off-by: Quy Tonthat <qtonthat@gmail.com>
Quy Tonthat [Fri, 27 Jul 2007 06:04:48 +0000 (06:04 +0000)]
Plug file descriptor leak
Signed-off-by: Quy Tonthat <qtonthat@gmail.com>
Quy Tonthat [Thu, 26 Jul 2007 11:46:46 +0000 (11:46 +0000)]
Display altitude at the cursor position, on status bar.
Only show altitude if there is DEM data available for the location.
Signed-off-by: Quy Tonthat <qtonthat@gmail.com>
Quy Tonthat [Wed, 25 Jul 2007 02:51:47 +0000 (02:51 +0000)]
New google version number
Quy Tonthat [Tue, 24 Jul 2007 08:12:48 +0000 (08:12 +0000)]
Disable Geocaches Acquire.
Acquiring GeoCaches nolonger works. While waiting for being fixed, it is now
disabled to avoid confusing for users. The codes can be re-enabled using
configure --enable-geocaches.
Signed-off-by: Quy Tonthat <qtonthat@gmail.com>
Guilhem Bonnefille [Tue, 17 Jul 2007 20:11:22 +0000 (20:11 +0000)]
Adding copyright
Guilhem Bonnefille [Tue, 17 Jul 2007 20:11:16 +0000 (20:11 +0000)]
Solving a regression
But Viking don't compile without libcurl, even with this modification
Quy Tonthat [Tue, 17 Jul 2007 14:41:15 +0000 (14:41 +0000)]
Clean up (my) degug messages
Signed-off-by: Quy Tonthat <qtonthat@gmail.com>
Bernd Zeimetz [Mon, 16 Jul 2007 12:04:34 +0000 (12:04 +0000)]
moving trunk/debian into the pkg-deb directory, adding tags/branches dirs
Guilhem Bonnefille [Sat, 14 Jul 2007 16:39:23 +0000 (16:39 +0000)]
Converting printf calls
Use of GLib message logging framework: http://developer.gnome.org/doc/API/2.0/glib/glib-Message-Logging.html
Guilhem Bonnefille [Fri, 13 Jul 2007 22:08:55 +0000 (22:08 +0000)]
Releasing 0.9
Guilhem Bonnefille [Fri, 13 Jul 2007 22:07:28 +0000 (22:07 +0000)]
Declaring vikdemlayer_pixmap.h to automake
This is needed to include this file in the tarball.
Guilhem Bonnefille [Fri, 13 Jul 2007 21:36:40 +0000 (21:36 +0000)]
Removing Reid from AUTHORS file.
Reid requested (and confirmed) that he prefers to be removed from the AUTHORS list.
As it is a fundamental right (to be named or not) I removed it.
Signed-off-by: Guilhem Bonnefille <guilhem.bonnefille@gmail.com>
Guilhem Bonnefille [Fri, 13 Jul 2007 21:21:55 +0000 (21:21 +0000)]
Revert "Add debian subdirectory to automaked tarball"
This reverts commit
fdc1423a5c2a0a2eced9bf17981aadae5589fd29 .
Signed-off-by: Guilhem Bonnefille <guilhem.bonnefille@gmail.com>
Guilhem Bonnefille [Fri, 13 Jul 2007 21:21:45 +0000 (21:21 +0000)]
Declaring new icon for Debian package
Quy Tonthat [Fri, 13 Jul 2007 13:47:44 +0000 (13:47 +0000)]
ChangeLog entry
Signed-off-by: Quy Tonthat <qtonthat@gmail.com>
Quy Tonthat [Fri, 13 Jul 2007 13:47:34 +0000 (13:47 +0000)]
Eliminate the needs of entering DEM files for every single track/waypoint layer.
TODO:
- When there are more than one DEM sources for a track point, select the one
with best resolution.
- To improve prformance keep a sorted list (sorted by lat/lon).
Signed-off-by: Quy Tonthat <qtonthat@gmail.com>
Quy Tonthat [Sat, 7 Jul 2007 02:51:32 +0000 (02:51 +0000)]
Fixed typo.
Signed-off-by: Quy Tonthat <qtonthat@gmail.com>
Evan Battaglia [Fri, 6 Jul 2007 21:08:40 +0000 (21:08 +0000)]
DEM: fix vertical units
Evan Battaglia [Fri, 6 Jul 2007 20:51:03 +0000 (20:51 +0000)]
Fix invalid elevation
Evan Battaglia [Fri, 6 Jul 2007 17:04:18 +0000 (17:04 +0000)]
Merge DEM branch
Quy Tonthat [Wed, 4 Jul 2007 08:17:05 +0000 (08:17 +0000)]
ChangeLog entry
Signed-off-by: Quy Tonthat <qtonthat@gmail.com>
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>
Quy Tonthat [Tue, 3 Jul 2007 05:59:31 +0000 (05:59 +0000)]
ChangeLog entry
Signed-off-by: Quy Tonthat <qtonthat@gmail.com>
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>
Quy Tonthat [Mon, 2 Jul 2007 11:44:42 +0000 (11:44 +0000)]
ChangeLog entry
Signed-off-by: Quy Tonthat <qtonthat@gmail.com>
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>
Quy Tonthat [Sun, 1 Jul 2007 08:31:09 +0000 (08:31 +0000)]
ChangeLog entry
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>
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>
Guilhem Bonnefille [Wed, 27 Jun 2007 14:06:46 +0000 (14:06 +0000)]
Using the new icon
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>
Guilhem Bonnefille [Sun, 24 Jun 2007 20:53:36 +0000 (20:53 +0000)]
Refreshing INSTALL
Guilhem Bonnefille [Sun, 24 Jun 2007 20:53:31 +0000 (20:53 +0000)]
Removing old (and no more functional) Makefile
Guilhem Bonnefille [Sun, 24 Jun 2007 15:34:56 +0000 (15:34 +0000)]
Add debian subdirectory to automaked tarball
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>
Guilhem Bonnefille [Sat, 23 Jun 2007 21:28:07 +0000 (21:28 +0000)]
Unused variable
Guilhem Bonnefille [Sat, 23 Jun 2007 21:28:00 +0000 (21:28 +0000)]
Add include to avoid implicit declaration
Guilhem Bonnefille [Sat, 23 Jun 2007 21:27:56 +0000 (21:27 +0000)]
Initialisation to avoid warning
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
Guilhem Bonnefille [Sat, 23 Jun 2007 16:29:59 +0000 (16:29 +0000)]
Correct declaration
Guilhem Bonnefille [Sat, 23 Jun 2007 16:18:35 +0000 (16:18 +0000)]
Unused variables
Guilhem Bonnefille [Sat, 23 Jun 2007 16:18:29 +0000 (16:18 +0000)]
Correct some erroneous declarations
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.
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 :-)
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.
Guilhem Bonnefille [Sat, 23 Jun 2007 16:17:59 +0000 (16:17 +0000)]
Declare usage of math.h include
Guilhem Bonnefille [Sat, 23 Jun 2007 16:17:55 +0000 (16:17 +0000)]
Suppress warning about backslashed newline at end of line
Guilhem Bonnefille [Sat, 23 Jun 2007 16:17:47 +0000 (16:17 +0000)]
Dynamic version in User-Agent
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
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.
Guilhem Bonnefille [Sat, 23 Jun 2007 14:04:03 +0000 (14:04 +0000)]
Adding a DownloadOptions type.
Will store info for downloading.
Quy Tonthat [Wed, 20 Jun 2007 04:15:55 +0000 (04:15 +0000)]
ChangeLog
Signed-off-by: Quy Tonthat <qtonthat@gmail.com>
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>
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.
Guilhem Bonnefille [Tue, 19 Jun 2007 21:03:45 +0000 (21:03 +0000)]
File forgotten on commit trunk@289
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>
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>
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.
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
Quy Tonthat [Mon, 18 Jun 2007 14:24:18 +0000 (14:24 +0000)]
New google version number
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>
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>
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>
Quy Tonthat [Fri, 8 Jun 2007 13:17:15 +0000 (13:17 +0000)]
ChangLog entries
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>
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>
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>
Quy Tonthat [Thu, 31 May 2007 12:01:34 +0000 (12:01 +0000)]
ChangeLog entry.
Signed-off-by: Quy Tonthat <qtonthat@gmail.com>
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>
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>
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>
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>
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>
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>
Quy Tonthat [Sat, 26 May 2007 11:26:38 +0000 (11:26 +0000)]