]> git.itanic.dy.fi Git - maemo-mapper/log
maemo-mapper
14 years agoVersion 3.0+alpha7 fremantle/3.0+alpha7
Alberto Mardegan [Sat, 23 Jan 2010 14:09:49 +0000 (16:09 +0200)]
Version 3.0+alpha7

14 years agoSet arm compiler options only if arch is armel
Alberto Mardegan [Sat, 23 Jan 2010 14:08:46 +0000 (16:08 +0200)]
Set arm compiler options only if arch is armel

14 years agoVersion 3.0+alpha6 fremantle/3.0+alpha6
Alberto Mardegan [Sat, 23 Jan 2010 12:10:46 +0000 (14:10 +0200)]
Version 3.0+alpha6

14 years agoLeave empty space for missing buttons.
Alberto Mardegan [Sat, 23 Jan 2010 12:00:00 +0000 (14:00 +0200)]
Leave empty space for missing buttons.

14 years agoChange default values for map view
Alberto Mardegan [Sat, 23 Jan 2010 11:53:12 +0000 (13:53 +0200)]
Change default values for map view

Zoom 16 is too far.
Change auto-center and auto-rotation, supposing that the first time MM is used
we are not moving inside a car.

14 years agoMove the map regardless of the precision
Alberto Mardegan [Sat, 23 Jan 2010 11:51:20 +0000 (13:51 +0200)]
Move the map regardless of the precision

14 years agoCorrect cache_amount handling, set default to 0
Alberto Mardegan [Sat, 23 Jan 2010 11:47:59 +0000 (13:47 +0200)]
Correct cache_amount handling, set default to 0

14 years agoMake uncertainty ellipse less opaque
Alberto Mardegan [Sat, 23 Jan 2010 11:42:52 +0000 (13:42 +0200)]
Make uncertainty ellipse less opaque

14 years agoShare map tiles with Maep (osmgpsmap)
Alberto Mardegan [Sat, 23 Jan 2010 11:27:36 +0000 (13:27 +0200)]
Share map tiles with Maep (osmgpsmap)

14 years agoRepoType as const structure
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).

14 years agoAlways use the precache value
Alberto Mardegan [Sat, 23 Jan 2010 09:51:20 +0000 (11:51 +0200)]
Always use the precache value

14 years agourl is not a RepoType
Alberto Mardegan [Sat, 23 Jan 2010 09:50:32 +0000 (11:50 +0200)]
url is not a RepoType

14 years agoDisable WMS maps
Alberto Mardegan [Sat, 23 Jan 2010 09:15:00 +0000 (11:15 +0200)]
Disable WMS maps

We might introduce support for them later, maybe by using the proj *library*.

14 years agoGet repository configuration from git
Alberto Mardegan [Fri, 22 Jan 2010 17:47:25 +0000 (19:47 +0200)]
Get repository configuration from git

14 years agoRemove map orientation setting
Alberto Mardegan [Fri, 22 Jan 2010 16:42:42 +0000 (18:42 +0200)]
Remove map orientation setting

Let's assume the map always follow the screen orientation.

14 years agoMake map_controller_get_screen return a MapScreen *.
Alberto Mardegan [Thu, 21 Jan 2010 20:32:11 +0000 (22:32 +0200)]
Make map_controller_get_screen return a MapScreen *.

14 years agoUse Point structure for coordinates of points in units
Alberto Mardegan [Thu, 21 Jan 2010 20:21:05 +0000 (22:21 +0200)]
Use Point structure for coordinates of points in units

14 years agoReset the rotation when autorotation is disabled
Alberto Mardegan [Thu, 21 Jan 2010 19:48:13 +0000 (21:48 +0200)]
Reset the rotation when autorotation is disabled

14 years agoRemove banners on rotation
Alberto Mardegan [Thu, 21 Jan 2010 18:51:33 +0000 (20:51 +0200)]
Remove banners on rotation

14 years agoCorrect title of picker button
Alberto Mardegan [Wed, 20 Jan 2010 19:32:58 +0000 (21:32 +0200)]
Correct title of picker button

Also fix one comment.

14 years agoRemove "Rotate sensitivity" setting
Alberto Mardegan [Wed, 20 Jan 2010 19:28:20 +0000 (21:28 +0200)]
Remove "Rotate sensitivity" setting

Since rotating the map is not expensive with the 3D hardware, small rotations
are not a penalty.

14 years agoRemove rotate icon, it's not going to be used.
Alberto Mardegan [Wed, 20 Jan 2010 19:07:58 +0000 (21:07 +0200)]
Remove rotate icon, it's not going to be used.

14 years agoDon't assert if zooming is stopped twice
Alberto Mardegan [Tue, 19 Jan 2010 19:43:14 +0000 (21:43 +0200)]
Don't assert if zooming is stopped twice

Now we have to signals connected to the stop_zoom action, so it's normal that
this function might be called twice.

14 years agoPrevent map from scrolling when dragging started in a child actor
Alberto Mardegan [Tue, 19 Jan 2010 19:39:27 +0000 (21:39 +0200)]
Prevent map from scrolling when dragging started in a child actor

14 years agoIgnore events not originated on the stage
Alberto Mardegan [Tue, 19 Jan 2010 17:05:45 +0000 (19:05 +0200)]
Ignore events not originated on the stage

Also, rename the event handler callback.

14 years agoAdd map_osm_set_reactive
Alberto Mardegan [Tue, 19 Jan 2010 17:05:07 +0000 (19:05 +0200)]
Add map_osm_set_reactive

When the map is dragging, we don't want to activate the buttons.

14 years agoRemove leftovers from disabled code
Alberto Mardegan [Tue, 19 Jan 2010 16:03:59 +0000 (18:03 +0200)]
Remove leftovers from disabled code

14 years agoDon't disable auto-rotation when auto-center is on
Alberto Mardegan [Tue, 19 Jan 2010 16:02:17 +0000 (18:02 +0200)]
Don't disable auto-rotation when auto-center is on

14 years agoAvoid zooming forever
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.

14 years agoMoved compiler options to Makefile
Alberto Mardegan [Tue, 19 Jan 2010 15:43:43 +0000 (17:43 +0200)]
Moved compiler options to Makefile

Thos options that would alter the success of building the code are better moved
into the Makefile.

14 years agoAnimate the map rotation
Alberto Mardegan [Sun, 17 Jan 2010 13:51:07 +0000 (15:51 +0200)]
Animate the map rotation

14 years agoImplement automatic rotation
Alberto Mardegan [Sun, 17 Jan 2010 12:39:10 +0000 (14:39 +0200)]
Implement automatic rotation

14 years agoFix potential hang
Alberto Mardegan [Sun, 17 Jan 2010 12:11:18 +0000 (14:11 +0200)]
Fix potential hang

Maybe we should remove this function completely, it's probably never called.

14 years agoRemove auto-generated files from git repository
Alberto Mardegan [Sun, 17 Jan 2010 09:03:32 +0000 (11:03 +0200)]
Remove auto-generated files from git repository

14 years agoFactor out POI rendering, refresh after add.
Alberto Mardegan [Sun, 17 Jan 2010 09:00:27 +0000 (11:00 +0200)]
Factor out POI rendering, refresh after add.

Bugfix: newly added POI was not visible until map was panned.

14 years agoUse C99 standard
Alberto Mardegan [Sat, 16 Jan 2010 14:30:56 +0000 (16:30 +0200)]
Use C99 standard

In this version the constant M_PI is not defined, but some math functions
useful for float operations have been introduced.

14 years agoEnable zooming via hardware keys
Alberto Mardegan [Sat, 16 Jan 2010 14:13:54 +0000 (16:13 +0200)]
Enable zooming via hardware keys

14 years agoRemove the "Connecting to receiver" banner
Alberto Mardegan [Sat, 16 Jan 2010 13:58:34 +0000 (15:58 +0200)]
Remove the "Connecting to receiver" banner

As a side note, it seems that showing banners while rendering clutter textures
can cause the textures to be corrupted.

14 years agoBind OSM zoom keys to dynamic zooming
Alberto Mardegan [Sat, 16 Jan 2010 13:55:22 +0000 (15:55 +0200)]
Bind OSM zoom keys to dynamic zooming

14 years agoImplement APIs for dynamic zooming
Alberto Mardegan [Sat, 16 Jan 2010 13:54:20 +0000 (15:54 +0200)]
Implement APIs for dynamic zooming

14 years agoAnchor the tile group to the center of the map
Alberto Mardegan [Sat, 16 Jan 2010 11:59:11 +0000 (13:59 +0200)]
Anchor the tile group to the center of the map

This is just a transformation of coordinates; it will make it easier to scale
the tile group without moving it around.

14 years agoFix inversed style of on-map controls (scale and compass).
Max Lapan [Mon, 11 Jan 2010 15:10:21 +0000 (18:10 +0300)]
Fix inversed style of on-map controls (scale and compass).

14 years agoRemove obsolete check for gdbm database.
Max Lapan [Mon, 11 Jan 2010 15:10:24 +0000 (18:10 +0300)]
Remove obsolete check for gdbm database.

We don't use gdbm, so we don't neet to check for DB type on MUT complete.

14 years agoVersion 3.0+alpha5 fremantle/3.0+alpha5
Alberto Mardegan [Wed, 30 Dec 2009 17:06:08 +0000 (19:06 +0200)]
Version 3.0+alpha5

14 years agoDragging map shouldn't interfere with buttons
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.

14 years agoCorrect saving of zoom level
Alberto Mardegan [Wed, 30 Dec 2009 12:35:21 +0000 (14:35 +0200)]
Correct saving of zoom level

14 years agoUse MapDialog class to build route dialog
Alberto Mardegan [Wed, 30 Dec 2009 12:29:17 +0000 (14:29 +0200)]
Use MapDialog class to build route dialog

14 years agoAdd ellipse for GPS uncertainty
Alberto Mardegan [Sun, 20 Dec 2009 11:29:36 +0000 (13:29 +0200)]
Add ellipse for GPS uncertainty

14 years agoAdd earth circumference
Alberto Mardegan [Sun, 20 Dec 2009 11:29:20 +0000 (13:29 +0200)]
Add earth circumference

14 years agoUpdate the mark when moving the map
Alberto Mardegan [Sun, 20 Dec 2009 11:23:43 +0000 (13:23 +0200)]
Update the mark when moving the map

14 years agoTurn the mark into a clutter group
Alberto Mardegan [Sat, 19 Dec 2009 14:33:36 +0000 (16:33 +0200)]
Turn the mark into a clutter group

14 years agoMove GPS mark code into own class
Alberto Mardegan [Sat, 19 Dec 2009 14:16:24 +0000 (16:16 +0200)]
Move GPS mark code into own class

We are going to extend it soon.

14 years agoAdd map_controller_get_zoom
Alberto Mardegan [Sat, 19 Dec 2009 14:16:03 +0000 (16:16 +0200)]
Add map_controller_get_zoom

14 years agoShow GPS mark when zooming
Alberto Mardegan [Wed, 30 Dec 2009 11:46:10 +0000 (13:46 +0200)]
Show GPS mark when zooming

Due to the change of scale, the GPS position was shown quite incorrectly.

14 years agoDon't track too imprecise fixes
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.

14 years agoMake HDOP an integer and fix comments
Alberto Mardegan [Wed, 30 Dec 2009 11:22:27 +0000 (13:22 +0200)]
Make HDOP an integer and fix comments

As we are using metres to measure the HDOP, we are not interested in fractions
of them.

14 years agoMerge commit 'timo/gps-fixes-v6' into fremantle
Alberto Mardegan [Wed, 30 Dec 2009 10:38:32 +0000 (12:38 +0200)]
Merge commit 'timo/gps-fixes-v6' into fremantle

Conflicts:

src/gps.c

14 years agogps.c: Do not accept location data unless the fix accuracy is within one kilometer. gps-fixes-v6
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>
14 years agogps.c: Improve GPS data handling
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>
14 years agoEnable ARMv7 optimizations
Timo Kokkonen [Wed, 18 Nov 2009 16:42:50 +0000 (18:42 +0200)]
Enable ARMv7 optimizations

Signed-off-by: Timo Kokkonen <kaapeli@itanic.dy.fi>
14 years agoHandle speed internally in kilometers per hour
Timo Kokkonen [Thu, 19 Nov 2009 18:22:13 +0000 (20:22 +0200)]
Handle speed internally in kilometers per hour

Previously mapper have been using nautical miles as the internal unit
for measuring speed. This changes the format to kilometers per hour.

Signed-off-by: Timo Kokkonen <kaapeli@itanic.dy.fi>
14 years agogps.c: When there is no fix available, put the receiver in "RCVR_UP" mode
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>
14 years agoShow fix accuracy in satellite panel
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>
14 years agogps.c: Add horizontal and vertical accuracy information
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>
14 years agodisplay.c: Change the default colour of unused satellites in gps detail panel
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>
14 years agogps.c: Make the statellite information panel work with liblocation
Timo Kokkonen [Mon, 16 Nov 2009 18:39:34 +0000 (20:39 +0200)]
gps.c: Make the statellite information panel work with liblocation

This patch will add support for reading the per-satellite info from
liblocation.

Signed-off-by: Timo Kokkonen <kaapeli@itanic.dy.fi>
14 years agoAdd support of Yandex router.
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.

14 years agoIncorrect screen unblanking on n810 (possibly on n900 too).
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

14 years agoRemove the arbitrary 12 satellite maximum limit
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>
14 years agoAdd .gitignore
Timo Kokkonen [Mon, 16 Nov 2009 17:17:13 +0000 (19:17 +0200)]
Add .gitignore

Signed-off-by: Timo Kokkonen <kaapeli@itanic.dy.fi>
14 years agoRevert "Detach volume control from HW buttons to enable zooming on n900."
Alberto Mardegan [Sat, 19 Dec 2009 12:56:46 +0000 (14:56 +0200)]
Revert "Detach volume control from HW buttons to enable zooming on n900."

This reverts commit eb0d6e7cca077eb34dc222b2138c27134e080a3f.
We can now use the on-screen icons.

14 years agoMerge branch 'fremantle' of https://git.maemo.org/projects/maemo-mapper into clutter
Alberto Mardegan [Sat, 19 Dec 2009 12:38:23 +0000 (14:38 +0200)]
Merge branch 'fremantle' of https://git.maemo.org/projects/maemo-mapper into clutter

14 years agoCorrect package section
Alberto Mardegan [Sat, 19 Dec 2009 11:53:43 +0000 (13:53 +0200)]
Correct package section

14 years agoShow the OSM when the screen is touched
Alberto Mardegan [Sat, 19 Dec 2009 11:48:22 +0000 (13:48 +0200)]
Show the OSM when the screen is touched

This will make it easier for people to discover that there is an OSM.

14 years agoNormalize names of action functions, add wrapping macro
Alberto Mardegan [Sat, 19 Dec 2009 11:46:13 +0000 (13:46 +0200)]
Normalize names of action functions, add wrapping macro

Add a macro to generate the body of the wrappers, since it's very simple.
Add an action for activating the view menu.

14 years agoVersion 3.0+alpha4 fremantle/3.0+alpha4
Alberto Mardegan [Thu, 17 Dec 2009 16:23:01 +0000 (18:23 +0200)]
Version 3.0+alpha4

14 years agoRemove unused function
Alberto Mardegan [Thu, 17 Dec 2009 16:16:21 +0000 (18:16 +0200)]
Remove unused function

14 years agoRemove annoying startup dialogs and show window immediately
Alberto Mardegan [Thu, 17 Dec 2009 16:15:47 +0000 (18:15 +0200)]
Remove annoying startup dialogs and show window immediately

14 years agoRemove some more obsoleted code.
Alberto Mardegan [Thu, 17 Dec 2009 15:56:51 +0000 (17:56 +0200)]
Remove some more obsoleted code.

14 years agoFix rendering of POIs
Alberto Mardegan [Thu, 17 Dec 2009 15:34:54 +0000 (17:34 +0200)]
Fix rendering of POIs

Rework the POI rendering code to make it integrate cleanly with MapScreen. This
also fixes some memory leaks.

14 years agoStore area coordinates in MapArea
Alberto Mardegan [Thu, 17 Dec 2009 15:33:01 +0000 (17:33 +0200)]
Store area coordinates in MapArea

We will need these coordinates again, so let's keep them in a struct.

14 years agoFix permissions for directories
Max Lapan [Wed, 16 Dec 2009 10:12:58 +0000 (13:12 +0300)]
Fix permissions for directories

Hello,

minor fix for newly created directories in map cache.

commit 252984282e112e9fax Lapan <max.lapan@gmail.com>
Date:   Wed Dec 16 12:53:44 2009 +0300

    Fix permissions for directories.

    It is not a good idea to create directory structure with 0666 permissions.

14 years agoUpdate the track when a point is added.
Alberto Mardegan [Mon, 14 Dec 2009 21:06:37 +0000 (23:06 +0200)]
Update the track when a point is added.

14 years agoRedraw the overlay when paths change
Alberto Mardegan [Mon, 14 Dec 2009 20:09:31 +0000 (22:09 +0200)]
Redraw the overlay when paths change

14 years agoRemoved unused code
Alberto Mardegan [Mon, 14 Dec 2009 18:40:59 +0000 (20:40 +0200)]
Removed unused code

14 years agoRemove map DB code
Alberto Mardegan [Fri, 11 Dec 2009 18:53:57 +0000 (20:53 +0200)]
Remove map DB code

14 years agoAbort downloads if we cannot connect
Alberto Mardegan [Fri, 11 Dec 2009 18:45:33 +0000 (20:45 +0200)]
Abort downloads if we cannot connect

14 years agoAllow conic_ensure_connected() to return false
Alberto Mardegan [Fri, 11 Dec 2009 18:45:00 +0000 (20:45 +0200)]
Allow conic_ensure_connected() to return false

14 years agoDownload missing tiles when connectivity comes back
Alberto Mardegan [Fri, 11 Dec 2009 18:44:20 +0000 (20:44 +0200)]
Download missing tiles when connectivity comes back

14 years agoIgnore all connectivity event other than (dis)connected
Alberto Mardegan [Fri, 11 Dec 2009 18:43:21 +0000 (20:43 +0200)]
Ignore all connectivity event other than (dis)connected

14 years agoAdd map_screen_refresh_tiles
Alberto Mardegan [Fri, 11 Dec 2009 18:42:26 +0000 (20:42 +0200)]
Add map_screen_refresh_tiles

14 years agoAdd map_tile_refresh
Alberto Mardegan [Fri, 11 Dec 2009 18:41:59 +0000 (20:41 +0200)]
Add map_tile_refresh

14 years agoFactor out map_tile_download
Alberto Mardegan [Fri, 11 Dec 2009 18:40:52 +0000 (20:40 +0200)]
Factor out map_tile_download

14 years agoMaemo Barcelona Long Weekend releases
Alberto Mardegan [Fri, 11 Dec 2009 18:37:32 +0000 (20:37 +0200)]
Maemo Barcelona Long Weekend releases

14 years agoClear the tile while downloading it.
Alberto Mardegan [Fri, 4 Dec 2009 18:03:41 +0000 (20:03 +0200)]
Clear the tile while downloading it.

14 years agoFix tile saving
Alberto Mardegan [Fri, 4 Dec 2009 17:26:55 +0000 (19:26 +0200)]
Fix tile saving

14 years agoTemporary commit: don't use a DB for map tiles
Alberto Mardegan [Fri, 4 Dec 2009 16:25:12 +0000 (18:25 +0200)]
Temporary commit: don't use a DB for map tiles

14 years agoSave the map position when exiting.
Alberto Mardegan [Fri, 4 Dec 2009 15:28:29 +0000 (17:28 +0200)]
Save the map position when exiting.

14 years agoAdd debug wrapper for g_mutex_lock
Alberto Mardegan [Fri, 4 Dec 2009 13:16:41 +0000 (15:16 +0200)]
Add debug wrapper for g_mutex_lock

14 years agoMaintain the zooming state in the controller
Alberto Mardegan [Wed, 2 Dec 2009 20:14:50 +0000 (22:14 +0200)]
Maintain the zooming state in the controller