]>
git.street.me.uk Git - andy/viking.git/log
Quy Tonthat [Wed, 5 Sep 2007 14:39:16 +0000 (14:39 +0000)]
Make viking's default start location somewhere more likely has maps.
The location before this fix was virtually nowhere in the sea which
has no maps from most popular sources. This can be quite confusing
for first time users who don't even know how to navigate to a location
that has maps.
Viking now starts in New York City. Not because it is my most favourite
place on earth (which is Sydney BTW), but it is because we more likely
find maps there.
Signed-off-by: Quy Tonthat <qtonthat@gmail.com>
Guilhem Bonnefille [Tue, 4 Sep 2007 20:41:35 +0000 (20:41 +0000)]
Releasing 0.9.2
Guilhem Bonnefille [Tue, 4 Sep 2007 20:41:27 +0000 (20:41 +0000)]
QA: removing warning
Guilhem Bonnefille [Mon, 3 Sep 2007 20:42:22 +0000 (20:42 +0000)]
Hide Expedia view mode when expedia is not built in.
Guilhem Bonnefille [Mon, 3 Sep 2007 20:34:10 +0000 (20:34 +0000)]
Do not warn about drawmode inconsistency while reading file.
Guilhem Bonnefille [Mon, 3 Sep 2007 20:32:07 +0000 (20:32 +0000)]
Do not warn about drawmode inconsistency while reading file.
Guilhem Bonnefille [Mon, 3 Sep 2007 20:31:53 +0000 (20:31 +0000)]
Use $EMAIL to initialise email field for OSM upload.
It is quite annoying to fill in the "email" field each time.
Viking now use the "standard" EMAIL varenv to preset this field.
Guilhem Bonnefille [Mon, 3 Sep 2007 16:58:41 +0000 (16:58 +0000)]
Refactoring: retrieve the VikWindow from the VikViewport via its GtkWidget nature
Instead of storing one more reference in the VikVewport structure,
we use the fact that VikWindow is the top level window. So, it is possible
to retrieve it from any of its children. And, hopefully, VikViewport
is also a GtkWidget, child of the main window.
Guilhem Bonnefille [Mon, 3 Sep 2007 16:58:28 +0000 (16:58 +0000)]
Preset filename when exporting a TrwLayer.
Guilhem Bonnefille [Mon, 3 Sep 2007 16:58:20 +0000 (16:58 +0000)]
QA: strong type the second argument of the *_post_read functions.
Guilhem Bonnefille [Mon, 3 Sep 2007 10:09:44 +0000 (10:09 +0000)]
Fix: crash when "applying" a map layer property dialog
Bug reported by Øyvind Ottestad
1) Add a map layer
2) Right-click the map-layer and change one of the settings (in my case,
unchecking auto-download maps)
3) Program crashes
Guilhem Bonnefille [Sun, 2 Sep 2007 15:36:16 +0000 (15:36 +0000)]
Releasing 0.9.1
Guilhem Bonnefille [Sat, 1 Sep 2007 13:31:33 +0000 (13:31 +0000)]
Disable Expedia map layer by default (as it is not working)
The Expedia map layer is not working since long time (see issue #
1211389 ).
No need to activate a bogus stuff. Interested users can use
--enable-expedia
Bernd Zeimetz [Thu, 30 Aug 2007 20:05:41 +0000 (20:05 +0000)]
Add redirect support (for Expedia map layer)
Patch submitted by Bernd Zeimetz.
Guilhem Bonnefille [Thu, 30 Aug 2007 13:08:35 +0000 (13:08 +0000)]
Add ability to upload a single track
It is possible to upload a single track by right-clicking on a track.
Guilhem Bonnefille [Thu, 30 Aug 2007 13:08:20 +0000 (13:08 +0000)]
QA: Remove warnings
Guilhem Bonnefille [Tue, 28 Aug 2007 13:45:26 +0000 (13:45 +0000)]
Check current drawmode after creating a new MapsLayer
When a new map layer is created, Viking check the current drawmode.
If it is not the drawmode requested by the new layer, it warn the user.
Guilhem Bonnefille [Tue, 28 Aug 2007 13:45:15 +0000 (13:45 +0000)]
QA: testing NULL before *free is not necessary
It is better to fill freed pointers with NULL in order to "easily" detect
future usage of this freed memory.
Guilhem Bonnefille [Tue, 28 Aug 2007 13:45:03 +0000 (13:45 +0000)]
Refactoring: compute drawmode name by getting menu entry label
As Viking will be internationalized, it seems better to avoid duplication
of labels.
Guilhem Bonnefille [Tue, 28 Aug 2007 13:44:52 +0000 (13:44 +0000)]
Allow to retrieve VikWindow from VikViewport
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>