]>
git.itanic.dy.fi Git - maemo-mapper/log
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
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.
Alberto Mardegan [Sun, 27 Sep 2009 10:04:40 +0000 (13:04 +0300)]
Add fast square root function
Alberto Mardegan [Sat, 26 Sep 2009 09:35:03 +0000 (12:35 +0300)]
Use ClutterCairoTexture
Alberto Mardegan [Tue, 22 Sep 2009 16:09:10 +0000 (19:09 +0300)]
Add API to toggle compass visibility
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.
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.
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.
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.
Alberto Mardegan [Tue, 1 Sep 2009 20:04:57 +0000 (23:04 +0300)]
Remove debug lines and unused variable
Alberto Mardegan [Tue, 1 Sep 2009 19:58:22 +0000 (22:58 +0300)]
Don't expose dialogs' widgets for no need
Alberto Mardegan [Tue, 1 Sep 2009 17:14:40 +0000 (20:14 +0300)]
Rearrange buttons in two columns
Alberto Mardegan [Tue, 1 Sep 2009 16:57:22 +0000 (19:57 +0300)]
Move buttons into dialog contents
Alberto Mardegan [Tue, 1 Sep 2009 16:47:00 +0000 (19:47 +0300)]
Port the POI page
Alberto Mardegan [Sun, 30 Aug 2009 18:39:45 +0000 (21:39 +0300)]
Port the Misc settings
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).
Alberto Mardegan [Sun, 30 Aug 2009 07:16:35 +0000 (10:16 +0300)]
Delete the GPS settings tab
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.
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.
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.
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
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
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
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
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
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
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
camel [Mon, 9 Mar 2009 21:04:27 +0000 (21:04 +0000)]
Corrected conversion from BNG to lat/lon
git-svn-id: svn+ssh://garage/var/lib/gforge/svnroot/maemo-mapper/trunk@252
6c538b50 -5814-0410-93ad-
8bdf4c0149d1
gnuite [Mon, 9 Mar 2009 05:42:40 +0000 (05:42 +0000)]
Always compile before checkins!
git-svn-id: svn+ssh://garage/var/lib/gforge/svnroot/maemo-mapper/trunk@251
6c538b50 -5814-0410-93ad-
8bdf4c0149d1