]>
git.itanic.dy.fi Git - maemo-mapper/log
Alberto Mardegan [Thu, 17 Dec 2009 16:23:01 +0000 (18:23 +0200)]
Version 3.0+alpha4
Alberto Mardegan [Thu, 17 Dec 2009 16:16:21 +0000 (18:16 +0200)]
Remove unused function
Alberto Mardegan [Thu, 17 Dec 2009 16:15:47 +0000 (18:15 +0200)]
Remove annoying startup dialogs and show window immediately
Alberto Mardegan [Thu, 17 Dec 2009 15:56:51 +0000 (17:56 +0200)]
Remove some more obsoleted code.
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.
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.
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.
Alberto Mardegan [Mon, 14 Dec 2009 21:06:37 +0000 (23:06 +0200)]
Update the track when a point is added.
Alberto Mardegan [Mon, 14 Dec 2009 20:09:31 +0000 (22:09 +0200)]
Redraw the overlay when paths change
Alberto Mardegan [Mon, 14 Dec 2009 18:40:59 +0000 (20:40 +0200)]
Removed unused code
Alberto Mardegan [Fri, 11 Dec 2009 18:53:57 +0000 (20:53 +0200)]
Remove map DB code
Alberto Mardegan [Fri, 11 Dec 2009 18:45:33 +0000 (20:45 +0200)]
Abort downloads if we cannot connect
Alberto Mardegan [Fri, 11 Dec 2009 18:45:00 +0000 (20:45 +0200)]
Allow conic_ensure_connected() to return false
Alberto Mardegan [Fri, 11 Dec 2009 18:44:20 +0000 (20:44 +0200)]
Download missing tiles when connectivity comes back
Alberto Mardegan [Fri, 11 Dec 2009 18:43:21 +0000 (20:43 +0200)]
Ignore all connectivity event other than (dis)connected
Alberto Mardegan [Fri, 11 Dec 2009 18:42:26 +0000 (20:42 +0200)]
Add map_screen_refresh_tiles
Alberto Mardegan [Fri, 11 Dec 2009 18:41:59 +0000 (20:41 +0200)]
Add map_tile_refresh
Alberto Mardegan [Fri, 11 Dec 2009 18:40:52 +0000 (20:40 +0200)]
Factor out map_tile_download
Alberto Mardegan [Fri, 11 Dec 2009 18:37:32 +0000 (20:37 +0200)]
Maemo Barcelona Long Weekend releases
Alberto Mardegan [Fri, 4 Dec 2009 18:03:41 +0000 (20:03 +0200)]
Clear the tile while downloading it.
Alberto Mardegan [Fri, 4 Dec 2009 17:26:55 +0000 (19:26 +0200)]
Fix tile saving
Alberto Mardegan [Fri, 4 Dec 2009 16:25:12 +0000 (18:25 +0200)]
Temporary commit: don't use a DB for map tiles
Alberto Mardegan [Fri, 4 Dec 2009 15:28:29 +0000 (17:28 +0200)]
Save the map position when exiting.
Alberto Mardegan [Fri, 4 Dec 2009 13:16:41 +0000 (15:16 +0200)]
Add debug wrapper for g_mutex_lock
Alberto Mardegan [Wed, 2 Dec 2009 20:14:50 +0000 (22:14 +0200)]
Maintain the zooming state in the controller
Alberto Mardegan [Wed, 2 Dec 2009 20:13:36 +0000 (22:13 +0200)]
Connect to the button release signal, not press
Alberto Mardegan [Wed, 2 Dec 2009 18:02:24 +0000 (20:02 +0200)]
Version 3.0+alpha1
Alberto Mardegan [Wed, 2 Dec 2009 18:00:54 +0000 (20:00 +0200)]
Implement the tile cache
Alberto Mardegan [Tue, 1 Dec 2009 17:10:24 +0000 (19:10 +0200)]
First alpha release
Alberto Mardegan [Tue, 1 Dec 2009 17:00:38 +0000 (19:00 +0200)]
Add (and use) icons made by Raul Arellano
Alberto Mardegan [Tue, 1 Dec 2009 16:23:42 +0000 (18:23 +0200)]
Don't draw if unrealized.
Alberto Mardegan [Tue, 1 Dec 2009 16:22:43 +0000 (18:22 +0200)]
After dragging, update the center in the controller
This also makes the map redraw in an idle function, increasing responsiveness.
Alberto Mardegan [Tue, 1 Dec 2009 16:16:08 +0000 (18:16 +0200)]
Update the map in an idle function.
Alberto Mardegan [Tue, 1 Dec 2009 16:14:35 +0000 (18:14 +0200)]
Conditional compilation of Pixbuf map
Compile out the old map; once we are confident that the new map works properly,
we can remove most of the old code.
Alberto Mardegan [Mon, 30 Nov 2009 18:43:47 +0000 (20:43 +0200)]
Fix a crash happening with a corrupt DB
Also, fix a memory leak.
Alberto Mardegan [Mon, 30 Nov 2009 18:43:13 +0000 (20:43 +0200)]
Download missing tiles
Alberto Mardegan [Mon, 30 Nov 2009 18:42:38 +0000 (20:42 +0200)]
Add a method to get the center of the map
Alberto Mardegan [Mon, 30 Nov 2009 18:40:45 +0000 (20:40 +0200)]
Rework map downloading mechanism
Allow for the same tile download to be requested by different components, all
of which will be notified via a callback of the result of the operation.
Alberto Mardegan [Mon, 30 Nov 2009 18:38:52 +0000 (20:38 +0200)]
Fix printf parameters
Change it to a g_debug.
Alberto Mardegan [Sun, 29 Nov 2009 13:04:22 +0000 (15:04 +0200)]
Move map control functions to MapController
Alberto Mardegan [Thu, 26 Nov 2009 18:37:46 +0000 (20:37 +0200)]
Redraw overlays when toggling tracks visibility
Alberto Mardegan [Tue, 24 Nov 2009 19:32:49 +0000 (21:32 +0200)]
Replace the View/Show submenu with a dialog.
Alberto Mardegan [Sat, 21 Nov 2009 17:37:30 +0000 (19:37 +0200)]
Add setters and getter for the actions in the View/Show menu
Alberto Mardegan [Sat, 21 Nov 2009 17:49:20 +0000 (19:49 +0200)]
Suppress all compilation warnings
This makes it easier to catch new warnings when compiling many files at once.
Alberto Mardegan [Sat, 21 Nov 2009 16:43:50 +0000 (18:43 +0200)]
Add Controller:set/get_auto_rotate, and use it
Avoid directly accessing the menu items.
Alberto Mardegan [Sat, 21 Nov 2009 16:16:33 +0000 (18:16 +0200)]
Add map_controller_disable_auto_center, and use it
This will later allow for the removal of the auto-center menu item.
Alberto Mardegan [Sat, 14 Nov 2009 20:03:24 +0000 (22:03 +0200)]
Create View dialog
This dialog takes two items (auto center and auto rotate) out of the
application menu.
It's activated via the settings icon, instead of the settings menu.
Alberto Mardegan [Sat, 14 Nov 2009 13:46:21 +0000 (15:46 +0200)]
Modify the settings dialog to use MapDialog
Alberto Mardegan [Sat, 14 Nov 2009 13:09:05 +0000 (15:09 +0200)]
Add "Go to" action
Alberto Mardegan [Sat, 14 Nov 2009 10:23:49 +0000 (12:23 +0200)]
Add a row of buttons on the bottom of the screen
Rearrange the buttons, moving the control actions on the bottom of the screen.
Alberto Mardegan [Sat, 14 Nov 2009 09:42:24 +0000 (11:42 +0200)]
Rename variable
Alberto Mardegan [Sat, 14 Nov 2009 07:49:12 +0000 (09:49 +0200)]
Add GPS button
Add a GPs button to the OSM and make it toggle the GPS functionality.
Alberto Mardegan [Sat, 14 Nov 2009 07:48:10 +0000 (09:48 +0200)]
Remove unused code
This removes some compilation warnings.
Alberto Mardegan [Sat, 14 Nov 2009 07:46:12 +0000 (09:46 +0200)]
Ignore signals coming when GPS is disabled.
After disabling the GPS we get one more signal, which would mess up the
internal state of the application.
Alberto Mardegan [Thu, 12 Nov 2009 19:14:47 +0000 (21:14 +0200)]
Add script to build icons
Add a script that is used to composite the icon of the action with the
background of the button (btn-background.png). It makes use of the "composite"
tool, which in ubuntu is provided by the imagemagick package.
Also, add two sample icons for GPS enable/disable (better ones coming soon!)
Alberto Mardegan [Sun, 8 Nov 2009 20:47:21 +0000 (22:47 +0200)]
Show track menu when track button is clicked
Alberto Mardegan [Sun, 8 Nov 2009 19:38:54 +0000 (21:38 +0200)]
Show route menu when route button is clicked.
Alberto Mardegan [Tue, 3 Nov 2009 19:52:59 +0000 (21:52 +0200)]
Add icons for path and route actions
I hope that someday someone will contribute better graphics. :-)
Alberto Mardegan [Fri, 30 Oct 2009 20:42:40 +0000 (22:42 +0200)]
Doubleclicks activate the point button
Alberto Mardegan [Fri, 30 Oct 2009 20:42:22 +0000 (22:42 +0200)]
Define the touchscreen sensitivity
Alberto Mardegan [Thu, 29 Oct 2009 17:30:17 +0000 (19:30 +0200)]
Port POI menu to fremantle
Alberto Mardegan [Thu, 29 Oct 2009 17:29:46 +0000 (19:29 +0200)]
map_screen_get_tap_area_from_units
Will be used on the next commit
Alberto Mardegan [Wed, 28 Oct 2009 19:50:40 +0000 (21:50 +0200)]
Factor some code out of select_poi
Have a separate function to create the model, and another one for running the dialog.
Introduce MapArea type
Alberto Mardegan [Wed, 28 Oct 2009 19:19:41 +0000 (21:19 +0200)]
Remove useless comparison
This removes a compilation warning.
Alberto Mardegan [Wed, 28 Oct 2009 19:18:04 +0000 (21:18 +0200)]
Workaround sqlite3_columnt_text crazyness
Define a sqlite3_columnt_str() macro which simply casts the result, and use it.
Alberto Mardegan [Wed, 28 Oct 2009 16:30:12 +0000 (18:30 +0200)]
Rotate POIs according to map rotation
Alberto Mardegan [Mon, 26 Oct 2009 18:52:23 +0000 (20:52 +0200)]
Show POIs
Alberto Mardegan [Sun, 25 Oct 2009 09:22:16 +0000 (11:22 +0200)]
Add menu for handling waypoints.
Alberto Mardegan [Sun, 25 Oct 2009 09:21:58 +0000 (11:21 +0200)]
Factor out cmenu_way_delete
Alberto Mardegan [Sun, 25 Oct 2009 08:56:21 +0000 (10:56 +0200)]
Point chooser dialog
If the point that the user has picked is near a waypoint or POI, we should ask
him to resolve the ambiguity.
Alberto Mardegan [Sun, 25 Oct 2009 08:54:01 +0000 (10:54 +0200)]
MapDialog: assign response ID to buttons
map_dialog_create_button() now takes the dialog response ID as parameter.
Rewrite the code in cmenu to adjust to this change, and also make it so that
the dialog is closed before invoking the action.
Alberto Mardegan [Sat, 24 Oct 2009 14:58:42 +0000 (17:58 +0300)]
Development version
Take the MapScreen class into use. Now the screen is split in half: on the left
there is the old map widget, while the new one is on the right.
This of course will be removed when the clutter widget will reach some
stability.
Alberto Mardegan [Sat, 24 Oct 2009 14:55:54 +0000 (17:55 +0300)]
Invoke context menu with point action
Take the "point" action into use. Ask the user to pick a point on the map, and
then run the context menu.
So far, only the first item of the original context menu is accessible.
Alberto Mardegan [Sat, 24 Oct 2009 14:50:36 +0000 (17:50 +0300)]
Update context menu for location
Provide a dialog that takes a Point and allows running the context actions from
the location item.
The old context menu is not removed, as it offered more than this.
Alberto Mardegan [Sat, 24 Oct 2009 14:31:13 +0000 (17:31 +0300)]
Context menus coordinates in units
Convert the coordinates of the context menu into units before executing the
context menus. This will allow us to use the existing signal handlers.
Alberto Mardegan [Sat, 24 Oct 2009 13:48:05 +0000 (16:48 +0300)]
Add MapDialog
This class is to be used when creating simple dialogs filled with buttons.
Alberto Mardegan [Sat, 24 Oct 2009 11:08:27 +0000 (14:08 +0300)]
Convert screen pixels to map units
Add a static method to covnert screen pixels to map units, taking the rotation
into account.
Factor out that part of the function that can be used in the on_pointer_event
handler.
Alberto Mardegan [Sat, 24 Oct 2009 10:38:21 +0000 (13:38 +0300)]
Control input during actions
While some actions are active, it might be necessary to prevent the
on_pointer_event() to handle events that are being requested by the action (eg.
tap on the screen, rotate the map,...). Here we add two flags to control this.
Alberto Mardegan [Sat, 24 Oct 2009 09:54:38 +0000 (12:54 +0300)]
Add map_screen_show_message()
Alberto Mardegan [Sat, 24 Oct 2009 08:32:42 +0000 (11:32 +0300)]
Renamed icon
The action will not be just adding a point.
Alberto Mardegan [Fri, 23 Oct 2009 16:52:04 +0000 (19:52 +0300)]
Complete drawing of route
Draw the waypoints along the route, as well as the next waypoint.
This patch also makes it so that the creation of the cairo context happens only once.
Alberto Mardegan [Thu, 22 Oct 2009 19:16:59 +0000 (22:16 +0300)]
Port "Show Position" dialog to maemo5 UI
Alberto Mardegan [Wed, 21 Oct 2009 19:22:21 +0000 (22:22 +0300)]
Don't recommend connecting if already connected
This avoids a possible deadlock that was happening by choosing "Open route...",
cancelling the dialog and then choosing "Download route...".
Two ConIc events (with status connected) are being emitted in a row, when the
"Open route..." dialog is opened. This was probably confusing maemo-mapper.
Alberto Mardegan [Wed, 21 Oct 2009 18:59:11 +0000 (21:59 +0300)]
Update the route download dialog
Alberto Mardegan [Wed, 21 Oct 2009 18:58:29 +0000 (21:58 +0300)]
Add macro to test string contents
Alberto Mardegan [Wed, 21 Oct 2009 18:56:04 +0000 (21:56 +0300)]
Fix a compilation warning
Alberto Mardegan [Mon, 19 Oct 2009 18:50:24 +0000 (21:50 +0300)]
Enable launching the settings menu
Alberto Mardegan [Mon, 19 Oct 2009 18:49:54 +0000 (21:49 +0300)]
Add API to launch the settings menu
Alberto Mardegan [Tue, 8 Sep 2009 16:18:55 +0000 (19:18 +0300)]
Remove selection of menu location
maemo-select-menu-location doesn't exist anymore.
Alberto Mardegan [Thu, 15 Oct 2009 17:34:15 +0000 (20:34 +0300)]
Implement dragging of the map
Alberto Mardegan [Wed, 14 Oct 2009 17:39:54 +0000 (20:39 +0300)]
Add the On-Screen Menu
Partial implementation of the on-screen menu.
The current code only allows changing the zoom level and switching between
fullscreen and windowed mode.
Alberto Mardegan [Wed, 14 Oct 2009 17:38:08 +0000 (20:38 +0300)]
Controller: methods for zoom and fullscreen actions
Alberto Mardegan [Wed, 14 Oct 2009 17:37:11 +0000 (20:37 +0300)]
Screen: add methods to zoom in and out
Alberto Mardegan [Wed, 14 Oct 2009 17:35:27 +0000 (20:35 +0300)]
Add a factory method for the controller
Alberto Mardegan [Tue, 13 Oct 2009 16:07:01 +0000 (19:07 +0300)]
Add icons
Alberto Mardegan [Sun, 11 Oct 2009 09:29:05 +0000 (12:29 +0300)]
Add new object: MapController
Alberto Mardegan [Mon, 28 Sep 2009 18:33:05 +0000 (21:33 +0300)]
Draw position and speed mark
Alberto Mardegan [Sun, 27 Sep 2009 15:49:14 +0000 (18:49 +0300)]
Avoid precision errors when drawing tiles
It's better to keep smaller values for tiles coordinates, since the loss of
precision when converting big integer values to float is quite noticeable.
Alberto Mardegan [Sun, 27 Sep 2009 15:24:38 +0000 (18:24 +0300)]
Fallback to low-res tiles when a tile is missing
Alberto Mardegan [Sun, 27 Sep 2009 11:25:34 +0000 (14:25 +0300)]
Add scale and zoom box