Alberto Mardegan [Sat, 23 Jan 2010 09:52:58 +0000 (11:52 +0200)]
RepoType as const structure
This will turn useful later if we explicitly mark the repositories with their
repo type name.
We will also be able to extend the RepoType structure with other fields, for
instance functions for translating lat/lon to units (Yandex comes to mind).
Alberto Mardegan [Tue, 19 Jan 2010 15:44:40 +0000 (17:44 +0200)]
Avoid zooming forever
There was a bug when dragging the finger out of the zoom buttons while zooming:
the zoom whould then never stop.
This patch fixes it by not letting the stage hide the "leave" events and by
making the OSM listen to them.
Alberto Mardegan [Wed, 30 Dec 2009 13:03:12 +0000 (15:03 +0200)]
Dragging map shouldn't interfere with buttons
When releasing the finger on an action button after dragging, the action was
being invoked. This patch fixes this, and also makes the "Point" action work
again.
Alberto Mardegan [Wed, 30 Dec 2009 11:44:12 +0000 (13:44 +0200)]
Don't track too imprecise fixes
Show the GPS position regardless of how precise it is (we will soon add a
semi-transparent circle around it to show the uncertainty), but don't track
fixes whose precision is less than 200 metres.
Timo Kokkonen [Sun, 22 Nov 2009 08:35:58 +0000 (10:35 +0200)]
gps.c: Do not accept location data unless the fix accuracy is within one kilometer.
The first position coming from liblocation might be aquired by network
position and the error can be very large. Thus, it makes sense to not
accept the position data unless the position is accurate enough.
The previous 10km threshold was causing big glitches. 1km threshold
should be more than enough for any normal use cases.
Signed-off-by: Timo Kokkonen <kaapeli@itanic.dy.fi>
Timo Kokkonen [Wed, 18 Nov 2009 16:13:03 +0000 (18:13 +0200)]
gps.c: Improve GPS data handling
Even if there is no GPS fix available, the coordinates aquired by
network positioning should still be used to move the mark in
approximate location on the map. Furthermore, this patch adds various
checks to see whether the fields in question are really set by
liblocation.
Signed-off-by: Timo Kokkonen <kaapeli@itanic.dy.fi>
Timo Kokkonen [Wed, 18 Nov 2009 16:17:46 +0000 (18:17 +0200)]
gps.c: When there is no fix available, put the receiver in "RCVR_UP" mode
If this is not done, a "Searching for a GPS receiver" notification is
shown to user. However, this is not the case. We are not searching for
the receiver, we are trying to acquire a GPS fix. Changing the
receiver state correctly fixes this problem. The map mark is also kept
moving, in case there is location information available from network
positioning even though we don't have a GPS fix yet.
Signed-off-by: Timo Kokkonen <kaapeli@itanic.dy.fi>
Timo Kokkonen [Tue, 1 Sep 2009 17:23:02 +0000 (20:23 +0300)]
Show fix accuracy in satellite panel
As the accuracy information is now available, it is useful for the use
to see the current fix accuracy information. This patch will make it
visible in the satellite panel.
Signed-off-by: Timo Kokkonen <kaapeli@itanic.dy.fi>
Timo Kokkonen [Thu, 19 Nov 2009 19:01:29 +0000 (21:01 +0200)]
gps.c: Add horizontal and vertical accuracy information
liblocation provides detailed accuracy information for the data it
provides. This patch takes the horizontal and vertical inaccuracy data
and converts it to meters for maemo-mapper.
Signed-off-by: Timo Kokkonen <kaapeli@itanic.dy.fi>
Timo Kokkonen [Mon, 16 Nov 2009 18:47:03 +0000 (20:47 +0200)]
display.c: Change the default colour of unused satellites in gps detail panel
Since the default theme colours in N900 are quite dark, it's bit hard
to see the satellite bars if they are drawn with black color against
the black background. This patch changes the default color to red.
Signed-off-by: Timo Kokkonen <kaapeli@itanic.dy.fi>
Max Lapan [Sun, 20 Dec 2009 17:29:35 +0000 (20:29 +0300)]
Add support of Yandex router.
This patch adds support of router selection in 'Download route to' dialog.
We don't store router URL in gconf, which is almost useless. Now we have a
table with available routers and store default router.
This patch also reorganizes route download dialog a little to more usable
with fingers.
Max Lapan [Sun, 20 Dec 2009 09:35:14 +0000 (12:35 +0300)]
Incorrect screen unblanking on n810 (possibly on n900 too).
Fixed bug with incorrect screen brightness after mapper navigation inside tunnels. Complete
description and examination process see here: http://www.shmuma.ru/mapper-light-sensor.html
Timo Kokkonen [Mon, 14 Sep 2009 19:15:43 +0000 (22:15 +0300)]
Remove the arbitrary 12 satellite maximum limit
This patch allows there to be MAX_SATELLITES number of satellites in
view, as the 12 satellite limit is insufficient with liblocation. At
this moment it is defined as 24, which should be sufficient.
Signed-off-by: Timo Kokkonen <kaapeli@itanic.dy.fi>