]> git.itanic.dy.fi Git - maemo-mapper/log
maemo-mapper
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

14 years agoAdd API to launch the settings menu
Alberto Mardegan [Mon, 19 Oct 2009 18:49:54 +0000 (21:49 +0300)]
Add API to launch the settings menu

14 years agoRemove selection of menu location
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.

14 years agoImplement dragging of the map
Alberto Mardegan [Thu, 15 Oct 2009 17:34:15 +0000 (20:34 +0300)]
Implement dragging of the map

14 years agoAdd the On-Screen Menu
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.

14 years agoController: methods for zoom and fullscreen actions
Alberto Mardegan [Wed, 14 Oct 2009 17:38:08 +0000 (20:38 +0300)]
Controller: methods for zoom and fullscreen actions

14 years agoScreen: add methods to zoom in and out
Alberto Mardegan [Wed, 14 Oct 2009 17:37:11 +0000 (20:37 +0300)]
Screen: add methods to zoom in and out

14 years agoAdd a factory method for the controller
Alberto Mardegan [Wed, 14 Oct 2009 17:35:27 +0000 (20:35 +0300)]
Add a factory method for the controller

14 years agoAdd icons
Alberto Mardegan [Tue, 13 Oct 2009 16:07:01 +0000 (19:07 +0300)]
Add icons

14 years agoAdd new object: MapController
Alberto Mardegan [Sun, 11 Oct 2009 09:29:05 +0000 (12:29 +0300)]
Add new object: MapController

14 years agoDraw position and speed mark
Alberto Mardegan [Mon, 28 Sep 2009 18:33:05 +0000 (21:33 +0300)]
Draw position and speed mark

14 years agoAvoid precision errors when drawing tiles
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.

14 years agoFallback to low-res tiles when a tile is missing
Alberto Mardegan [Sun, 27 Sep 2009 15:24:38 +0000 (18:24 +0300)]
Fallback to low-res tiles when a tile is missing

14 years agoAdd scale and zoom box
Alberto Mardegan [Sun, 27 Sep 2009 11:25:34 +0000 (14:25 +0300)]
Add scale and zoom box

14 years agoImplement drawing of paths
Alberto Mardegan [Sun, 27 Sep 2009 10:04:57 +0000 (13:04 +0300)]
Implement drawing of paths

Draw paths on a ClutterCairoTexture, which is a child actor of the map.
Introduce an additional actor group specifically for grouping the tiles.

14 years agoAdd fast square root function
Alberto Mardegan [Sun, 27 Sep 2009 10:04:40 +0000 (13:04 +0300)]
Add fast square root function

14 years agoUse ClutterCairoTexture
Alberto Mardegan [Sat, 26 Sep 2009 09:35:03 +0000 (12:35 +0300)]
Use ClutterCairoTexture

14 years agoAdd API to toggle compass visibility
Alberto Mardegan [Tue, 22 Sep 2009 16:09:10 +0000 (19:09 +0300)]
Add API to toggle compass visibility

14 years agoAdd compass in the lower right corner of the screen
Alberto Mardegan [Tue, 22 Sep 2009 15:47:11 +0000 (18:47 +0300)]
Add compass in the lower right corner of the screen

This brings in a dependency to cairo, which we were indirectly using already.

14 years agoCreate the MapTile class
Alberto Mardegan [Sat, 12 Sep 2009 10:43:26 +0000 (13:43 +0300)]
Create the MapTile class

Factor out the tile handling into a separate class. This module will be
responsible for tile loading and caching.

14 years agoBasic implementation of the map widget
Alberto Mardegan [Thu, 10 Sep 2009 17:45:32 +0000 (20:45 +0300)]
Basic implementation of the map widget

This is a very basic implementation: it only supports showing the tiles already
in the DB, with no caching or optimizations.
Rotation is also implemented.

14 years agoAdd class for clutter rendering
Alberto Mardegan [Tue, 8 Sep 2009 15:12:21 +0000 (18:12 +0300)]
Add class for clutter rendering

Add dependencies to clutter and clutter-gtk, and a stub class that will be used
to render the map and the various items on it.

14 years agoRemove debug lines and unused variable
Alberto Mardegan [Tue, 1 Sep 2009 20:04:57 +0000 (23:04 +0300)]
Remove debug lines and unused variable

14 years agoDon't expose dialogs' widgets for no need
Alberto Mardegan [Tue, 1 Sep 2009 19:58:22 +0000 (22:58 +0300)]
Don't expose dialogs' widgets for no need

14 years agoRearrange buttons in two columns
Alberto Mardegan [Tue, 1 Sep 2009 17:14:40 +0000 (20:14 +0300)]
Rearrange buttons in two columns

14 years agoMove buttons into dialog contents
Alberto Mardegan [Tue, 1 Sep 2009 16:57:22 +0000 (19:57 +0300)]
Move buttons into dialog contents

14 years agoPort the POI page
Alberto Mardegan [Tue, 1 Sep 2009 16:47:00 +0000 (19:47 +0300)]
Port the POI page

14 years agoPort the Misc settings
Alberto Mardegan [Sun, 30 Aug 2009 18:39:45 +0000 (21:39 +0300)]
Port the Misc settings

14 years agoRewrite part of the settings dialog
Alberto Mardegan [Sun, 30 Aug 2009 13:01:42 +0000 (16:01 +0300)]
Rewrite part of the settings dialog

Replace the GtkNotebook with a simple GtkVBox, and put the first two tabs in a
separate sub-dialog (because sliders and pannable areas don't get along very
well).

14 years agoDelete the GPS settings tab
Alberto Mardegan [Sun, 30 Aug 2009 07:16:35 +0000 (10:16 +0300)]
Delete the GPS settings tab

14 years agoIgnore fixes with very low precision.
Alberto Mardegan [Sat, 29 Aug 2009 15:07:01 +0000 (18:07 +0300)]
Ignore fixes with very low precision.

This is rather arbitrary, a configuration option should be given.

14 years agoUse liblocation
Alberto Mardegan [Fri, 28 Aug 2009 14:14:56 +0000 (17:14 +0300)]
Use liblocation

Minimum amount of code to have a barely working connection with the GPS.

14 years agoMake the code compile in fremantle
Alberto Mardegan [Fri, 28 Aug 2009 13:32:23 +0000 (16:32 +0300)]
Make the code compile in fremantle

Remove the minimum amount of code to let the application compile.

15 years agoAdministrative changes in preparation for release of Maemo Mapper v2.6.2. master
gnuite [Sun, 15 Mar 2009 01:02:07 +0000 (01:02 +0000)]
Administrative changes in preparation for release of Maemo Mapper v2.6.2.

git-svn-id: svn+ssh://garage/var/lib/gforge/svnroot/maemo-mapper/trunk@261 6c538b50-5814-0410-93ad-8bdf4c0149d1

15 years agoFinnish translation updated.
mve [Sat, 14 Mar 2009 16:01:22 +0000 (16:01 +0000)]
Finnish translation updated.

git-svn-id: svn+ssh://garage/var/lib/gforge/svnroot/maemo-mapper/trunk@259 6c538b50-5814-0410-93ad-8bdf4c0149d1

15 years agoCorrected error converting a string to an int
camel [Thu, 12 Mar 2009 08:00:52 +0000 (08:00 +0000)]
Corrected error converting a string to an int

git-svn-id: svn+ssh://garage/var/lib/gforge/svnroot/maemo-mapper/trunk@258 6c538b50-5814-0410-93ad-8bdf4c0149d1

15 years agoAdministrative changes in preparation for release of Maemo Mapper v2.6.1.
gnuite [Tue, 10 Mar 2009 05:06:40 +0000 (05:06 +0000)]
Administrative changes in preparation for release of Maemo Mapper v2.6.1.

git-svn-id: svn+ssh://garage/var/lib/gforge/svnroot/maemo-mapper/trunk@257 6c538b50-5814-0410-93ad-8bdf4c0149d1

15 years agoPO updates in preparation for release of Maemo Mapper v2.6.1.
gnuite [Tue, 10 Mar 2009 05:06:09 +0000 (05:06 +0000)]
PO updates in preparation for release of Maemo Mapper v2.6.1.

git-svn-id: svn+ssh://garage/var/lib/gforge/svnroot/maemo-mapper/trunk@256 6c538b50-5814-0410-93ad-8bdf4c0149d1

15 years agoFixed a silly little seg fault on startup.
gnuite [Tue, 10 Mar 2009 05:05:36 +0000 (05:05 +0000)]
Fixed a silly little seg fault on startup.

git-svn-id: svn+ssh://garage/var/lib/gforge/svnroot/maemo-mapper/trunk@255 6c538b50-5814-0410-93ad-8bdf4c0149d1

15 years agoCorrected 'Centre Map' bug in station list view
camel [Mon, 9 Mar 2009 21:24:02 +0000 (21:24 +0000)]
Corrected 'Centre Map' bug in station list view

git-svn-id: svn+ssh://garage/var/lib/gforge/svnroot/maemo-mapper/trunk@253 6c538b50-5814-0410-93ad-8bdf4c0149d1