]> git.itanic.dy.fi Git - maemo-mapper/log
maemo-mapper
14 years agoMerge branch 'clutter' of https://git.maemo.org/projects/maemo-mapper into clutter clutter
camel [Sat, 2 Jan 2010 22:43:15 +0000 (22:43 +0000)]
Merge branch 'clutter' of https://git.maemo.org/projects/maemo-mapper into clutter

14 years agoUpdated menus to Maemo 5 format
camel [Sat, 2 Jan 2010 22:31:18 +0000 (22:31 +0000)]
Updated menus to Maemo 5 format

14 years agoEnsure last zoom level is saved
camel [Sat, 2 Jan 2010 22:27:24 +0000 (22:27 +0000)]
Ensure last zoom level is saved

14 years agoUpdated menus to Maemo 5 style
camel [Sat, 2 Jan 2010 22:21:53 +0000 (22:21 +0000)]
Updated menus to Maemo 5 style

14 years agoAdded external script support for URL generation and updated menus to Maemo 5 style
camel [Sat, 2 Jan 2010 22:21:14 +0000 (22:21 +0000)]
Added external script support for URL generation and updated menus to Maemo 5 style

14 years agoConverted menus to Maemo 5 format
camel [Sat, 2 Jan 2010 22:11:03 +0000 (22:11 +0000)]
Converted menus to Maemo 5 format

14 years agoAdded external script URL generation and removed database storage functionality
camel [Sat, 2 Jan 2010 22:09:46 +0000 (22:09 +0000)]
Added external script URL generation and removed database storage functionality

14 years agoAdded support to execute external script to generate URL
camel [Sat, 2 Jan 2010 22:07:42 +0000 (22:07 +0000)]
Added support to execute external script to generate URL

14 years agoAdded support for menu radio buttons and checkboxs
camel [Sat, 2 Jan 2010 22:04:26 +0000 (22:04 +0000)]
Added support for menu radio buttons and checkboxs

14 years agoRemoved unused global menu variables
camel [Sat, 2 Jan 2010 21:58:54 +0000 (21:58 +0000)]
Removed unused global menu variables

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

14 years agoConnect to the button release signal, not press
Alberto Mardegan [Wed, 2 Dec 2009 20:13:36 +0000 (22:13 +0200)]
Connect to the button release signal, not press

14 years agoVersion 3.0+alpha1 fremantle/3.0+alpha1
Alberto Mardegan [Wed, 2 Dec 2009 18:02:24 +0000 (20:02 +0200)]
Version 3.0+alpha1

14 years agoImplement the tile cache
Alberto Mardegan [Wed, 2 Dec 2009 18:00:54 +0000 (20:00 +0200)]
Implement the tile cache

14 years agoFirst alpha release fremantle/3.0+alpha0
Alberto Mardegan [Tue, 1 Dec 2009 17:10:24 +0000 (19:10 +0200)]
First alpha release

14 years agoAdd (and use) icons made by Raul Arellano
Alberto Mardegan [Tue, 1 Dec 2009 17:00:38 +0000 (19:00 +0200)]
Add (and use) icons made by Raul Arellano

14 years agoDon't draw if unrealized.
Alberto Mardegan [Tue, 1 Dec 2009 16:23:42 +0000 (18:23 +0200)]
Don't draw if unrealized.

14 years agoAfter dragging, update the center in the controller
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.

14 years agoUpdate the map in an idle function.
Alberto Mardegan [Tue, 1 Dec 2009 16:16:08 +0000 (18:16 +0200)]
Update the map in an idle function.

14 years agoConditional compilation of Pixbuf map
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.

14 years agoFix a crash happening with a corrupt DB
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.

14 years agoDownload missing tiles
Alberto Mardegan [Mon, 30 Nov 2009 18:43:13 +0000 (20:43 +0200)]
Download missing tiles

14 years agoAdd a method to get the center of the map
Alberto Mardegan [Mon, 30 Nov 2009 18:42:38 +0000 (20:42 +0200)]
Add a method to get the center of the map

14 years agoRework map downloading mechanism
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.

14 years agoFix printf parameters
Alberto Mardegan [Mon, 30 Nov 2009 18:38:52 +0000 (20:38 +0200)]
Fix printf parameters

Change it to a g_debug.

14 years agoMove map control functions to MapController
Alberto Mardegan [Sun, 29 Nov 2009 13:04:22 +0000 (15:04 +0200)]
Move map control functions to MapController

14 years agoRedraw overlays when toggling tracks visibility
Alberto Mardegan [Thu, 26 Nov 2009 18:37:46 +0000 (20:37 +0200)]
Redraw overlays when toggling tracks visibility

14 years agoReplace the View/Show submenu with a dialog.
Alberto Mardegan [Tue, 24 Nov 2009 19:32:49 +0000 (21:32 +0200)]
Replace the View/Show submenu with a dialog.

14 years agoAdd setters and getter for the actions in the View/Show menu
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

14 years agoSuppress all compilation warnings
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.

14 years agoAdd Controller:set/get_auto_rotate, and use it
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.

14 years agoAdd map_controller_disable_auto_center, and use it
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.

14 years agoCreate View dialog
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.

14 years agoModify the settings dialog to use MapDialog
Alberto Mardegan [Sat, 14 Nov 2009 13:46:21 +0000 (15:46 +0200)]
Modify the settings dialog to use MapDialog

14 years agoAdd "Go to" action
Alberto Mardegan [Sat, 14 Nov 2009 13:09:05 +0000 (15:09 +0200)]
Add "Go to" action

14 years agoAdd a row of buttons on the bottom of the screen
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.

14 years agoRename variable
Alberto Mardegan [Sat, 14 Nov 2009 09:42:24 +0000 (11:42 +0200)]
Rename variable

14 years agoAdd GPS button
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.

14 years agoRemove unused code
Alberto Mardegan [Sat, 14 Nov 2009 07:48:10 +0000 (09:48 +0200)]
Remove unused code

This removes some compilation warnings.

14 years agoIgnore signals coming when GPS is disabled.
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.

14 years agoAdd script to build icons
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!)

14 years agoShow track menu when track button is clicked
Alberto Mardegan [Sun, 8 Nov 2009 20:47:21 +0000 (22:47 +0200)]
Show track menu when track button is clicked

14 years agoShow route menu when route button is clicked.
Alberto Mardegan [Sun, 8 Nov 2009 19:38:54 +0000 (21:38 +0200)]
Show route menu when route button is clicked.

14 years agoAdd icons for path and route actions
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. :-)

14 years agoDoubleclicks activate the point button
Alberto Mardegan [Fri, 30 Oct 2009 20:42:40 +0000 (22:42 +0200)]
Doubleclicks activate the point button

14 years agoDefine the touchscreen sensitivity
Alberto Mardegan [Fri, 30 Oct 2009 20:42:22 +0000 (22:42 +0200)]
Define the touchscreen sensitivity

14 years agoPort POI menu to fremantle
Alberto Mardegan [Thu, 29 Oct 2009 17:30:17 +0000 (19:30 +0200)]
Port POI menu to fremantle

14 years agomap_screen_get_tap_area_from_units
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

14 years agoFactor some code out of select_poi
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

14 years agoRemove useless comparison
Alberto Mardegan [Wed, 28 Oct 2009 19:19:41 +0000 (21:19 +0200)]
Remove useless comparison

This removes a compilation warning.

14 years agoWorkaround sqlite3_columnt_text crazyness
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.

14 years agoRotate POIs according to map rotation
Alberto Mardegan [Wed, 28 Oct 2009 16:30:12 +0000 (18:30 +0200)]
Rotate POIs according to map rotation

14 years agoShow POIs
Alberto Mardegan [Mon, 26 Oct 2009 18:52:23 +0000 (20:52 +0200)]
Show POIs

14 years agoAdd menu for handling waypoints.
Alberto Mardegan [Sun, 25 Oct 2009 09:22:16 +0000 (11:22 +0200)]
Add menu for handling waypoints.

14 years agoFactor out cmenu_way_delete
Alberto Mardegan [Sun, 25 Oct 2009 09:21:58 +0000 (11:21 +0200)]
Factor out cmenu_way_delete

14 years agoPoint chooser dialog
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.

14 years agoMapDialog: assign response ID to buttons
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.

14 years agoDevelopment version
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.

14 years agoInvoke context menu with point action
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.

14 years agoUpdate context menu for location
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.

14 years agoContext menus coordinates in units
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.

14 years agoAdd MapDialog
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.

14 years agoConvert screen pixels to map units
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.

14 years agoControl input during actions
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.

14 years agoAdd map_screen_show_message()
Alberto Mardegan [Sat, 24 Oct 2009 09:54:38 +0000 (12:54 +0300)]
Add map_screen_show_message()

14 years agoRenamed icon
Alberto Mardegan [Sat, 24 Oct 2009 08:32:42 +0000 (11:32 +0300)]
Renamed icon

The action will not be just adding a point.

14 years agoComplete drawing of route
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.

14 years agoPort "Show Position" dialog to maemo5 UI
Alberto Mardegan [Thu, 22 Oct 2009 19:16:59 +0000 (22:16 +0300)]
Port "Show Position" dialog to maemo5 UI

14 years agoDon't recommend connecting if already connected
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.

14 years agoUpdate the route download dialog
Alberto Mardegan [Wed, 21 Oct 2009 18:59:11 +0000 (21:59 +0300)]
Update the route download dialog

14 years agoAdd macro to test string contents
Alberto Mardegan [Wed, 21 Oct 2009 18:58:29 +0000 (21:58 +0300)]
Add macro to test string contents

14 years agoFix a compilation warning
Alberto Mardegan [Wed, 21 Oct 2009 18:56:04 +0000 (21:56 +0300)]
Fix a compilation warning

14 years agoEnable launching the settings menu
Alberto Mardegan [Mon, 19 Oct 2009 18:50:24 +0000 (21:50 +0300)]
Enable launching the settings menu