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
Sami Rämö [Thu, 8 Jul 2010 10:27:19 +0000 (13:27 +0300)]
Changed grouping algorithm
- All groups are always destructed and then created from
scratch if required
Pekka Nissinen [Thu, 8 Jul 2010 07:53:28 +0000 (10:53 +0300)]
Sorted images.grc file alphabetically and made some minor cosmetic changes
Jussi Laitinen [Wed, 7 Jul 2010 13:39:56 +0000 (16:39 +0300)]
Modified ListView tests.
Jussi Laitinen [Wed, 7 Jul 2010 06:11:43 +0000 (09:11 +0300)]
Added FriendListView methods to ListView.
Jussi Laitinen [Tue, 6 Jul 2010 12:57:33 +0000 (15:57 +0300)]
Modified FriendListItem.
Jussi Laitinen [Mon, 5 Jul 2010 13:32:09 +0000 (16:32 +0300)]
Added ListItem, ListItemDelegate, ListView classes.
lampehe-local [Mon, 5 Jul 2010 12:43:09 +0000 (15:43 +0300)]
User data optimization. Only changed profile images will be downloaded, except
silhouette. User data is now available for UI as soon as it is parsed. Images
are downloaded one by one after parsed data is in UI.
Reviewed by: Pekka Nissinen
lampehe-local [Tue, 29 Jun 2010 07:43:42 +0000 (10:43 +0300)]
backup
lampehe-local [Tue, 29 Jun 2010 07:31:26 +0000 (10:31 +0300)]
First phase of userdata rewrite
Katri Kaikkonen [Mon, 28 Jun 2010 11:00:49 +0000 (14:00 +0300)]
Merge branch 'master' of https://vcs.maemo.org/git/situare
Katri Kaikkonen [Mon, 28 Jun 2010 10:59:03 +0000 (13:59 +0300)]
Fixed and updated functional tests
Reviewed by Henri Lampela
lampehe-local [Mon, 28 Jun 2010 10:42:14 +0000 (13:42 +0300)]
Removed signals and information box for failed locationUpdate.
Added check for null image to userinfo's setProfileImage
Reviewed by: Katri Kaikkonen
Jussi Laitinen [Mon, 28 Jun 2010 08:18:19 +0000 (11:18 +0300)]
Modified automatic location update and disconnected from network test
cases.
Reviewed by: Henri Lampela.
lampehe-local [Mon, 28 Jun 2010 06:14:55 +0000 (09:14 +0300)]
User member type changed in friendlistitem.
Reviewed by: Jussi Laitinen
lampehe-local [Mon, 28 Jun 2010 06:10:15 +0000 (09:10 +0300)]
Merge branch 'master' of https://vcs.maemo.org/git/situare
lampehe-local [Mon, 28 Jun 2010 06:08:38 +0000 (09:08 +0300)]
Fixed bug that caused crash when user tries to expand friend item's
text field after canceling locationUpdateDialog.
Reviewed by: Jussi Laitinen
Jussi Laitinen [Thu, 24 Jun 2010 10:25:22 +0000 (13:25 +0300)]
Modified debian/control file.
Jussi Laitinen [Thu, 24 Jun 2010 10:22:53 +0000 (13:22 +0300)]
Modified FriendListItem User member type.
Jussi Laitinen [Thu, 24 Jun 2010 09:50:57 +0000 (12:50 +0300)]
Merge branch 'master' of https://vcs.maemo.org/git/situare
Jussi Laitinen [Thu, 24 Jun 2010 09:50:41 +0000 (12:50 +0300)]
Modified debian/control file.
Jussi Laitinen [Thu, 24 Jun 2010 09:38:21 +0000 (12:38 +0300)]
Modified debian: changelog and control files.
lampehe-local [Thu, 24 Jun 2010 09:09:19 +0000 (12:09 +0300)]
Fixed network stubs to work with scratchbox and desktop
Reviewed by: Henri Lampela
Jussi Laitinen [Thu, 24 Jun 2010 08:00:03 +0000 (11:00 +0300)]
Modified networkhandlerprivate.cpp state method.
Jussi Laitinen [Thu, 24 Jun 2010 07:19:07 +0000 (10:19 +0300)]
Added disconnected from network functional test case.
Jussi Laitinen [Thu, 24 Jun 2010 06:53:43 +0000 (09:53 +0300)]
Merge branch 'master' of https://vcs.maemo.org/git/situare
Conflicts:
res/languages/situare_fi.qm
res/languages/situare_fi.ts
Jussi Laitinen [Thu, 24 Jun 2010 06:39:24 +0000 (09:39 +0300)]
Merge branch 'master' into network_handler
Conflicts:
src/common.h
src/engine/engine.cpp
src/src.pro
src/ui/mainwindow.cpp
lampehe-local [Wed, 23 Jun 2010 10:58:59 +0000 (13:58 +0300)]
Merge branch 'small_fix'
lampehe-local [Wed, 23 Jun 2010 10:57:26 +0000 (13:57 +0300)]
Grouped few errors, added error message translations. Fixed userinfo
panel's message field.
Reviewed by: Katri Kaikkonen
Sami Rämö [Wed, 23 Jun 2010 10:42:49 +0000 (13:42 +0300)]
Fixed unit test of MapView
Sami Rämö [Wed, 23 Jun 2010 10:29:11 +0000 (13:29 +0300)]
Merge branch 'kinetic'
Sami Rämö [Wed, 23 Jun 2010 10:27:34 +0000 (13:27 +0300)]
Implemented max distance limit to kinetic scroll
Reviewed by Jussi Laitinen
Jussi Laitinen [Wed, 23 Jun 2010 09:49:16 +0000 (12:49 +0300)]
Added map double click zoom functional test.
Jussi Laitinen [Wed, 23 Jun 2010 09:33:26 +0000 (12:33 +0300)]
Merge branch 'map_double_click_zoom'
Jussi Laitinen [Wed, 23 Jun 2010 09:32:26 +0000 (12:32 +0300)]
Map double click zoom reviewed.
Reviewed by: Marko Niemelä
Sami Rämö [Wed, 23 Jun 2010 06:09:00 +0000 (09:09 +0300)]
Merge branch 'master' of https://vcs.maemo.org/git/situare
Sami Rämö [Wed, 23 Jun 2010 06:08:21 +0000 (09:08 +0300)]
Added functional tests for smooth scroll effect.
Katri Kaikkonen [Tue, 22 Jun 2010 13:19:27 +0000 (16:19 +0300)]
Merge branch 'master' of https://vcs.maemo.org/git/situare
Katri Kaikkonen [Tue, 22 Jun 2010 13:17:50 +0000 (16:17 +0300)]
Fixed expanded message text
Reviewed by Henri Lampela
Jussi Laitinen [Tue, 22 Jun 2010 12:52:25 +0000 (15:52 +0300)]
Merge branch 'master' into map_double_click_zoom
Jussi Laitinen [Tue, 22 Jun 2010 12:50:59 +0000 (15:50 +0300)]
Added missing mce files to src/engine.
Jussi Laitinen [Tue, 22 Jun 2010 12:49:40 +0000 (15:49 +0300)]
Modified MapView::mouseDoubleClickEvent.
Jussi Laitinen [Tue, 22 Jun 2010 12:45:45 +0000 (15:45 +0300)]
Merge branch 'master' into map_double_click_zoom
Jussi Laitinen [Tue, 22 Jun 2010 12:44:35 +0000 (15:44 +0300)]
Renamed gpspositionprivatestub enablePowerSave.
Jussi Laitinen [Tue, 22 Jun 2010 12:40:05 +0000 (15:40 +0300)]
Merge branch 'master' into map_double_click_zoom
Conflicts:
src/map/mapview.cpp
src/src.pro
Jussi Laitinen [Tue, 22 Jun 2010 12:38:06 +0000 (15:38 +0300)]
Zoom.
Jussi Laitinen [Tue, 22 Jun 2010 12:23:34 +0000 (15:23 +0300)]
Modified automatic location update test case.
Jussi Laitinen [Tue, 22 Jun 2010 12:10:40 +0000 (15:10 +0300)]
Merge branch 'master' of https://vcs.maemo.org/git/situare
Jussi Laitinen [Tue, 22 Jun 2010 12:10:30 +0000 (15:10 +0300)]
Merge branch 'power_save'
Conflicts:
src/engine/engine.cpp
Jussi Laitinen [Tue, 22 Jun 2010 12:06:09 +0000 (15:06 +0300)]
Merge branch 'master' of https://vcs.maemo.org/git/situare
Jussi Laitinen [Tue, 22 Jun 2010 12:05:03 +0000 (15:05 +0300)]
Power save mode review and iteration.
Reviewed by: Sami Rämö.
Jussi Laitinen [Tue, 22 Jun 2010 11:19:04 +0000 (14:19 +0300)]
Renamed SituareEngine::saveGPSPosition.
Sami Rämö [Tue, 22 Jun 2010 11:13:53 +0000 (14:13 +0300)]
Merge branch 'master' into kinetic
Jussi Laitinen [Tue, 22 Jun 2010 11:06:28 +0000 (14:06 +0300)]
Removed qWarnings and modified src/src.pro.
Jussi Laitinen [Tue, 22 Jun 2010 10:44:41 +0000 (13:44 +0300)]
Modified automatic location update method.
Sami Rämö [Tue, 22 Jun 2010 10:42:32 +0000 (13:42 +0300)]
Fixing problems and a bug, review, cleanup
Reviewed by Jussi Laitinen
- fixed bug: auto centering was not disabled when centered
to own or friend item location
- MapScroller does emit coordinateUpdated() only if the
animation is in the running state
- decreased the auto centering disabling distance
lampehe-local [Tue, 22 Jun 2010 10:14:52 +0000 (13:14 +0300)]
Updated error handling, added error contexts. Fixed fullscreen button
location bug. Added geo coordinates for address fields when street
address isn't available.
Reviewed by: Pekka Nissinen
Jussi Laitinen [Mon, 21 Jun 2010 11:56:00 +0000 (14:56 +0300)]
Added power save method to GPS.
Sami Rämö [Mon, 21 Jun 2010 11:34:36 +0000 (14:34 +0300)]
Implemented smooth centering feature
Jussi Laitinen [Mon, 21 Jun 2010 10:17:24 +0000 (13:17 +0300)]
Added MCE class.
Sami Rämö [Mon, 21 Jun 2010 07:19:23 +0000 (10:19 +0300)]
Merge branch 'kinetic'
Sami Rämö [Mon, 21 Jun 2010 07:17:00 +0000 (10:17 +0300)]
Fixed unit tests
- Removed unnecessary includes
- Added missing MapScroller includes
Sami Rämö [Fri, 18 Jun 2010 13:28:59 +0000 (16:28 +0300)]
Merge branch 'kinetic'