Sami Rämö [Thu, 29 Jul 2010 12:48:26 +0000 (15:48 +0300)]
Merge branch 'master' into indicator
Sami Rämö [Thu, 29 Jul 2010 12:42:23 +0000 (15:42 +0300)]
Merge branch 'master' of https://vcs.maemo.org/git/situare
Sami Rämö [Thu, 29 Jul 2010 12:40:08 +0000 (15:40 +0300)]
Show cross-hair always when not auto centering
- Reviewed by Henri Lampela
- Show cross-hair always when auto centering is disabled and vice
versa. Cross-hair is shown also when not logged in. Also the
functional tests document was updated.
- Enable GPS when auto centering is enabled
lampehe-local [Thu, 29 Jul 2010 12:17:21 +0000 (15:17 +0300)]
Added "anchoring" to screen edges for zoompanel and indicatorbutton
Reviewed by: Pekka Nissinen
Sami Rämö [Wed, 28 Jul 2010 14:04:11 +0000 (17:04 +0300)]
Merge branch 'master' into indicator
Conflicts:
src/ui/indicatorbutton.h
Sami Rämö [Wed, 28 Jul 2010 13:53:00 +0000 (16:53 +0300)]
Update direction indicator after zooming, re-factoring
- Re-factored MapScene::spanItems() to use the new
MapEngine::currentViewSceneRect() method
- Direction indicator is now updated also after zooming
Sami Rämö [Wed, 28 Jul 2010 13:04:55 +0000 (16:04 +0300)]
Draw direction indicator triangle only when GPS location item is not visible
- Implemented MapEngine::currentViewSceneRect()
- Fixed a small typo
Pekka Nissinen [Wed, 28 Jul 2010 12:25:20 +0000 (15:25 +0300)]
Modified FullScreenButton class to use simlair drawing methods as the IndicatorButton class.
Changed ZoomButtonPanel to use the same background pattern (while dragging) as the IndicatorButton.
Fixed a few minor bugs in IndicatorButton class and made a few cosmetic changes.
Reviewed by: Henri Lampela
Sami Rämö [Wed, 28 Jul 2010 11:42:53 +0000 (14:42 +0300)]
Draw the direction indicator triangle only when auto centering disabled
Sami Rämö [Wed, 28 Jul 2010 10:55:32 +0000 (13:55 +0300)]
Direction indicator triange updating
- fixed azimuth calculation in SceneCoordinate::azimuthTo()
- delivering new values from MapEngine to IndicatorButton
Sami Rämö [Wed, 28 Jul 2010 10:25:31 +0000 (13:25 +0300)]
Basic structure in MapEngine for updating the direction indicator
- Implemented calculating the direction between two coordinates with
SceneCoordinate::azimuthTo()
lampehe-local [Wed, 28 Jul 2010 09:45:20 +0000 (12:45 +0300)]
Added bounds and addressComponents for Location class
Removed unnessesary methods from Location class
Removed unnessesary items from parseSearchResults in RoutinService
Reviewed by: Jussi Laitinen
Sami Rämö [Wed, 28 Jul 2010 09:31:48 +0000 (12:31 +0300)]
Rotation of the direction indicator triangle
Sami Rämö [Wed, 28 Jul 2010 09:11:43 +0000 (12:11 +0300)]
Drawing the basic direction indicator triangle
Pekka Nissinen [Tue, 27 Jul 2010 14:19:34 +0000 (17:19 +0300)]
Merge branch 'master' of https://vcs.maemo.org/git/situare
Pekka Nissinen [Tue, 27 Jul 2010 14:18:31 +0000 (17:18 +0300)]
Yet another "cosmetic surgery"
Sami Rämö [Tue, 27 Jul 2010 13:48:52 +0000 (16:48 +0300)]
Re-factored SituareService::formUrlParameters() publish parameter
- Reviewed by Katri Kaikkonen
- Boolean value parameter "publish" was previously delivered
by using QString, which is now changed to bool
Sami Rämö [Tue, 27 Jul 2010 13:07:02 +0000 (16:07 +0300)]
Fixed bug #5762: Location setting accuracy is not accurate
- Location update does now use more digits. Also required
the new coordinate classes which use double data type
for saving the coordinates
- Reviewed by Katri Kaikkonen
Sami Rämö [Tue, 27 Jul 2010 10:50:43 +0000 (13:50 +0300)]
Implemented unit tests for MapRouteItem
- Reviewed by Jussi Laitinen
Sami Rämö [Tue, 27 Jul 2010 10:47:15 +0000 (13:47 +0300)]
Merge branch 'master' of https://vcs.maemo.org/git/situare
Conflicts:
src/routing/routingservice.cpp
Sami Rämö [Tue, 27 Jul 2010 10:37:05 +0000 (13:37 +0300)]
Re-factored routing to use the new coordinate classes
- Reviewed by Jussi Laitinen
- modified Route, RoutingService & MapRouteItem
Pekka Nissinen [Tue, 27 Jul 2010 10:34:00 +0000 (13:34 +0300)]
Few minor cosmetic changes here and there
lampehe-local [Tue, 27 Jul 2010 10:14:17 +0000 (13:14 +0300)]
git Merge branch 'search_item'
Conflicts:
src/engine/engine.cpp
src/ui/mainwindow.cpp
lampehe-local [Tue, 27 Jul 2010 10:03:59 +0000 (13:03 +0300)]
Location, searchDialog review
Reviewed by: Katri Kaikkonen
Katri Kaikkonen [Tue, 27 Jul 2010 09:41:01 +0000 (12:41 +0300)]
Merge branch 'indicator'
Katri Kaikkonen [Tue, 27 Jul 2010 09:37:51 +0000 (12:37 +0300)]
Fixed memoryleaks from indicator button
Reviewed by: Henri Lampela
Katri Kaikkonen [Tue, 27 Jul 2010 09:06:25 +0000 (12:06 +0300)]
Added graphics and removed auto centering notifications
Reviewed by: Henri Lampela
Sami Rämö [Tue, 27 Jul 2010 08:48:24 +0000 (11:48 +0300)]
Fixed unit tests projects
- Route and MapRouteItem files were missing from the projects
lampehe-local [Tue, 27 Jul 2010 06:14:38 +0000 (09:14 +0300)]
Added location class for location search results and added location search dialog
Katri Kaikkonen [Mon, 26 Jul 2010 08:50:16 +0000 (11:50 +0300)]
Merge branch 'master' into indicator
Katri Kaikkonen [Mon, 26 Jul 2010 08:48:05 +0000 (11:48 +0300)]
Added signals
lampehe-local [Thu, 22 Jul 2010 07:52:45 +0000 (10:52 +0300)]
Changed to QDbusInterface and QDBusMessage to be used only when running app in armel
Removed hardcoded route request
Reviewed by: Jussi Laitinen
lampehe-local [Thu, 22 Jul 2010 07:42:09 +0000 (10:42 +0300)]
added searchitem class
lampehe-local [Thu, 22 Jul 2010 07:41:32 +0000 (10:41 +0300)]
backup
Katri Kaikkonen [Thu, 22 Jul 2010 07:37:39 +0000 (10:37 +0300)]
Minor changes to engine.cpp and routingservice.cpp
Katri Kaikkonen [Thu, 22 Jul 2010 07:06:25 +0000 (10:06 +0300)]
Merge branch 'master' into indicator
Conflicts:
src/engine/engine.cpp
src/src.pro
src/ui/mainwindow.h
Katri Kaikkonen [Thu, 22 Jul 2010 06:42:24 +0000 (09:42 +0300)]
Added distance indicator button
lampehe-local [Wed, 21 Jul 2010 12:22:39 +0000 (15:22 +0300)]
Merge branch 'route_json'
Conflicts:
src/engine/engine.h
src/network/networkaccessmanager.cpp
src/network/networkaccessmanager.h
lampehe-local [Wed, 21 Jul 2010 12:09:21 +0000 (15:09 +0300)]
Finalized CloudMade authentication and route requesting
Reviewed by: Pekka Nissinen
Jussi Laitinen [Wed, 21 Jul 2010 11:51:34 +0000 (14:51 +0300)]
Added missing comments.
Jussi Laitinen [Wed, 21 Jul 2010 11:39:38 +0000 (14:39 +0300)]
Added missing comments.
lampehe-local [Wed, 21 Jul 2010 11:05:45 +0000 (14:05 +0300)]
Merge branch 'master' into route_json
Conflicts:
src/engine/engine.cpp
src/map/mapengine.cpp
src/map/mapengine.h
src/src.pro
lampehe-local [Wed, 21 Jul 2010 10:30:07 +0000 (13:30 +0300)]
Implemented CloudMade authentication using user token
Jussi Laitinen [Wed, 21 Jul 2010 09:35:40 +0000 (12:35 +0300)]
Debug on.
Jussi Laitinen [Wed, 21 Jul 2010 09:26:14 +0000 (12:26 +0300)]
Merge branch 'master' into network_handler
Jussi Laitinen [Wed, 21 Jul 2010 09:24:42 +0000 (12:24 +0300)]
Added null check to FriendListItem's avatar image.
Jussi Laitinen [Wed, 21 Jul 2010 08:44:31 +0000 (11:44 +0300)]
Added coordinates prefix to geocoordinate.h includes.
Jussi Laitinen [Wed, 21 Jul 2010 08:39:36 +0000 (11:39 +0300)]
Changed singleton from NetworkAccessManager to NetworkHandler.
lampehe-local [Tue, 20 Jul 2010 12:33:37 +0000 (15:33 +0300)]
backup for routing authorizing
Sami Rämö [Tue, 20 Jul 2010 11:29:31 +0000 (14:29 +0300)]
Fixed defects found in the review
- Reviewed by Jussi Laitinen
- Review was only done for new classes, unit tests and for some
biggest implementation changes
Sami Rämö [Tue, 20 Jul 2010 09:57:33 +0000 (12:57 +0300)]
Added some missing comments, fixed few unit tests
Sami Rämö [Tue, 20 Jul 2010 09:22:50 +0000 (12:22 +0300)]
Merge branch 'master' into coordinate_classes
Conflicts:
src/src.pro
src/ui/friendlistitem.h
src/ui/friendlistpanel.cpp
src/ui/friendlistpanel.h
tests/tests.pro
tests/ui/friendlist/friendlist.pro
tests/ui/friendlist/testfriendlist.cpp
Sami Rämö [Tue, 20 Jul 2010 08:51:27 +0000 (11:51 +0300)]
Re-factored MapScroller to use SceneCoordinate
- Implemented some operators for SceneCoordinate calculations
- Implemented QVariantAnimation interpolator for SceneCoordinate
Sami Rämö [Mon, 19 Jul 2010 12:29:05 +0000 (15:29 +0300)]
Added missing comments
Sami Rämö [Mon, 19 Jul 2010 12:05:48 +0000 (15:05 +0300)]
Re-factored coordinate parameter names, clean-up
Sami Rämö [Mon, 19 Jul 2010 11:45:27 +0000 (14:45 +0300)]
Improved GeoCoordinate::isValid() check
- Latitude and longitude values must be set (meaning they are
not zeroes set by default constructor) for the return value
to be true
Jussi Laitinen [Mon, 19 Jul 2010 10:08:37 +0000 (13:08 +0300)]
Added tests/ui/friendlistitem.
Jussi Laitinen [Mon, 19 Jul 2010 09:56:52 +0000 (12:56 +0300)]
ListView, ListItem, FriendListItem, ListItemDelegate and
FriendListitemDelegate classes reviewed.
Reviewed by: Pekka Nissinen
Jussi Laitinen [Mon, 19 Jul 2010 08:09:06 +0000 (11:09 +0300)]
Removed empty rows from FriendListItem.
Jussi Laitinen [Mon, 19 Jul 2010 08:05:50 +0000 (11:05 +0300)]
Removed tests/ui/listitem.
Sami Rämö [Mon, 19 Jul 2010 08:05:46 +0000 (11:05 +0300)]
Finished re-factoring the unit tests
Jussi Laitinen [Mon, 19 Jul 2010 07:53:23 +0000 (10:53 +0300)]
Deleted tests/friendlist.
Jussi Laitinen [Mon, 19 Jul 2010 07:52:12 +0000 (10:52 +0300)]
Modified tests/tests.pro.
Jussi Laitinen [Mon, 19 Jul 2010 07:41:29 +0000 (10:41 +0300)]
Fixed ListView tests.
Jussi Laitinen [Mon, 19 Jul 2010 07:12:01 +0000 (10:12 +0300)]
Merge branch 'master' into listview
Conflicts:
src/src.pro
Jussi Laitinen [Mon, 19 Jul 2010 06:57:14 +0000 (09:57 +0300)]
Added missing comments to list classes.
Sami Rämö [Fri, 16 Jul 2010 13:08:10 +0000 (16:08 +0300)]
Unit tests re-factoring for new coordinates on-going...
Sami Rämö [Fri, 16 Jul 2010 11:54:19 +0000 (14:54 +0300)]
Continued re-factoring, can now be compiled for device and desktop
Sami Rämö [Fri, 16 Jul 2010 08:38:06 +0000 (11:38 +0300)]
Fixed reading the initial coordinate from the settings
- Implemented unit test for GeoCoordinate stream operators
- GeoCoordinate class now registers it's meta type itself on first use
Sami Rämö [Thu, 15 Jul 2010 13:53:06 +0000 (16:53 +0300)]
Re-factored the source to use the new coordinate classes
- Reading the initial coordinate from the settings file is not
yet working
- Implemented stream operators << and >> overloading for
GeoCoordinate to enable saving and reading the values
by using QSettings
Sami Rämö [Thu, 15 Jul 2010 09:05:40 +0000 (12:05 +0300)]
Removed duplicate GeoCoordinate class from src/gps
- added isValid() method to the new GeoCoordinate class
Sami Rämö [Thu, 15 Jul 2010 07:57:08 +0000 (10:57 +0300)]
Created osm.h, re-factoring, unit test script bug fix
- Created osm.h for OpenStreetMaps related constants and re-factored
mapcommon.h
- re-factored GeoCoordinate::convertFrom()
- removed mapcommon.h dependency from GeoCoordinate and SceneCoordinate
- bug fix for run_unit_tests.sh: finding and parsing the unit test
project files was cutting "pro" also from the middle of the path
and not just from the end as intented
Sami Rämö [Wed, 14 Jul 2010 14:34:57 +0000 (17:34 +0300)]
Implemented GeoCoordinate::convertFrom, iterated unit tests
- implemented GeoCoordinate::convertFrom(SceneCoordinate) and
unit tests for it
- modified SceneCoordinate::convertFrom(GeoCoordinate);
removed assertions and implemented normalizing the
x value to be always inside the map
- iterated/fixed unit tests for SceneCoordinate;
added formatted print for failing double values,
added more test data into conversion tests,
comparing only integer part of the result
Sami Rämö [Wed, 14 Jul 2010 09:01:21 +0000 (12:01 +0300)]
Unit tests for converting GeoCoordinate to SceneCoordinate
- Copied tests from MapEngine and refactored them
- fixed SceneCoordinate::convertFrom(GeoCoordinate) assertions
- mapcommon.h: changed coordinate limit values from qreal to double
Sami Rämö [Wed, 14 Jul 2010 07:19:00 +0000 (10:19 +0300)]
Conversion from GeoCoordinate to SceneCoordinate
- Main code is not yet changed to use this new way
- Conversion unit tests are not yet moved from MapEngine tests
Sami Rämö [Tue, 13 Jul 2010 14:27:01 +0000 (17:27 +0300)]
Implemented SceneCoordinate class and unit tests
Sami Rämö [Tue, 13 Jul 2010 14:06:55 +0000 (17:06 +0300)]
Implemented GeoCoordinate class and unit tests
Sami Rämö [Tue, 13 Jul 2010 12:24:48 +0000 (15:24 +0300)]
Added new unit tests to tests.pro, minor test script modifications
Sami Rämö [Tue, 13 Jul 2010 12:09:15 +0000 (15:09 +0300)]
Center and zoom to newly created route, adding documentation
- Map is centered and zoomed so that whole route is seen on the
screen as big as possible
- Documentation
Sami Rämö [Tue, 13 Jul 2010 10:04:16 +0000 (13:04 +0300)]
Implemented MapRouteItem
- route geometry is parsed, line items are created and route item is
added to the MapScene. Line width and color are set.
- Fixed bug: Latitude and longitude were mixed when parsing the route json
Sami Rämö [Tue, 13 Jul 2010 09:10:58 +0000 (12:10 +0300)]
Minor clean-up
Sami Rämö [Tue, 13 Jul 2010 07:22:51 +0000 (10:22 +0300)]
Fixed two bugs
- Route saved RouteSegments as pointers, and segment data was
deleted when application exited from parseRouteData()
- MapScene was using two uninitialized variables
Sami Rämö [Tue, 13 Jul 2010 06:01:54 +0000 (09:01 +0300)]
Integrated json parsing and new container classes
- Routing instructions are fetched from the server
- Server response is parsed into new classes
- Parsed Route is passed to MapEngine
Sami Rämö [Mon, 12 Jul 2010 14:06:04 +0000 (17:06 +0300)]
Merge branch 'master' into origin/route_json
Sami Rämö [Mon, 12 Jul 2010 10:58:00 +0000 (13:58 +0300)]
Implemented street names/numbers parser and unit tests for it
Sami Rämö [Mon, 12 Jul 2010 07:38:47 +0000 (10:38 +0300)]
Added comments
Sami Rämö [Mon, 12 Jul 2010 06:49:20 +0000 (09:49 +0300)]
Implemented Route class and unit tests for it
- Also added qDebug() prints to RouteSegment class
Sami Rämö [Fri, 9 Jul 2010 13:31:03 +0000 (16:31 +0300)]
Created Route class basic structure (most of implementation missing)
Sami Rämö [Fri, 9 Jul 2010 12:49:24 +0000 (15:49 +0300)]
Created RouteSegment class (street name parsing not implemented)
lampehe-local [Fri, 9 Jul 2010 11:47:08 +0000 (14:47 +0300)]
First draft of routing service
Jussi Laitinen [Fri, 9 Jul 2010 08:03:49 +0000 (11:03 +0300)]
Added listcommon.h file.
Sami Rämö [Fri, 9 Jul 2010 07:52:26 +0000 (10:52 +0300)]
Updated functional tests, fixed defects found in the review
- Reviewed by Henri Lampela
Sami Rämö [Fri, 9 Jul 2010 07:12:34 +0000 (10:12 +0300)]
Merge branch 'master' into grouping
Sami Rämö [Fri, 9 Jul 2010 07:07:48 +0000 (10:07 +0300)]
Clean-up
lampehe-local [Fri, 9 Jul 2010 06:21:29 +0000 (09:21 +0300)]
Added functional test cases for power saving
Reviewed by: Jussi Laitinen
Sami Rämö [Thu, 8 Jul 2010 13:48:58 +0000 (16:48 +0300)]
Fixed collision detection again
- Now the sceneTransformedBoundingRect() method returns rect which
center point is normalized inside the map coordinates
lampehe-local [Thu, 8 Jul 2010 13:07:24 +0000 (16:07 +0300)]
Removed qWarning message from Application
Jussi Laitinen [Thu, 8 Jul 2010 13:06:52 +0000 (16:06 +0300)]
Modified FriendListItem font metrics calculation.
lampehe-local [Thu, 8 Jul 2010 13:03:25 +0000 (16:03 +0300)]
Implemented entry into power saving state when application is in background,
menu or some application dialog is open too long.
Added doxygen comment for setAvatarImage
Reviewed by: Jussi Laitinen
Sami Rämö [Thu, 8 Jul 2010 11:51:51 +0000 (14:51 +0300)]
Fixed bug in friend item collision detection
- collision detection in FriendItemsHandler::collides() method
did not work correctly when item2 was over the world limits
and item1 was near the world limit at the opposite side
of the world
- update only previously grouped friend items isPartOfGroup status
when destructing all groups