situare
13 years agoMerge branch 'indicator'
Katri Kaikkonen [Tue, 27 Jul 2010 09:41:01 +0000 (12:41 +0300)]
Merge branch 'indicator'

13 years agoFixed memoryleaks from indicator button
Katri Kaikkonen [Tue, 27 Jul 2010 09:37:51 +0000 (12:37 +0300)]
Fixed memoryleaks from indicator button
Reviewed by: Henri Lampela

13 years agoAdded graphics and removed auto centering notifications
Katri Kaikkonen [Tue, 27 Jul 2010 09:06:25 +0000 (12:06 +0300)]
Added graphics and removed auto centering notifications
Reviewed by: Henri Lampela

13 years agoFixed unit tests projects
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

13 years agoMerge branch 'master' into indicator
Katri Kaikkonen [Mon, 26 Jul 2010 08:50:16 +0000 (11:50 +0300)]
Merge branch 'master' into indicator

13 years agoAdded signals
Katri Kaikkonen [Mon, 26 Jul 2010 08:48:05 +0000 (11:48 +0300)]
Added signals

13 years agoChanged to QDbusInterface and QDBusMessage to be used only when running app in armel
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

13 years agoMinor changes to engine.cpp and routingservice.cpp
Katri Kaikkonen [Thu, 22 Jul 2010 07:37:39 +0000 (10:37 +0300)]
Minor changes to engine.cpp and routingservice.cpp

13 years agoMerge branch 'master' into indicator
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

13 years agoAdded distance indicator button
Katri Kaikkonen [Thu, 22 Jul 2010 06:42:24 +0000 (09:42 +0300)]
Added distance indicator button

13 years agoMerge branch 'route_json'
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

13 years agoFinalized CloudMade authentication and route requesting
lampehe-local [Wed, 21 Jul 2010 12:09:21 +0000 (15:09 +0300)]
Finalized CloudMade authentication and route requesting

Reviewed by: Pekka Nissinen

13 years agoAdded missing comments.
Jussi Laitinen [Wed, 21 Jul 2010 11:51:34 +0000 (14:51 +0300)]
Added missing comments.

13 years agoAdded missing comments.
Jussi Laitinen [Wed, 21 Jul 2010 11:39:38 +0000 (14:39 +0300)]
Added missing comments.

13 years agoMerge branch 'master' into route_json
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

13 years agoImplemented CloudMade authentication using user token route_json
lampehe-local [Wed, 21 Jul 2010 10:30:07 +0000 (13:30 +0300)]
Implemented CloudMade authentication using user token

13 years agoDebug on.
Jussi Laitinen [Wed, 21 Jul 2010 09:35:40 +0000 (12:35 +0300)]
Debug on.

13 years agoMerge branch 'master' into network_handler
Jussi Laitinen [Wed, 21 Jul 2010 09:26:14 +0000 (12:26 +0300)]
Merge branch 'master' into network_handler

13 years agoAdded null check to FriendListItem's avatar image.
Jussi Laitinen [Wed, 21 Jul 2010 09:24:42 +0000 (12:24 +0300)]
Added null check to FriendListItem's avatar image.

13 years agoAdded coordinates prefix to geocoordinate.h includes.
Jussi Laitinen [Wed, 21 Jul 2010 08:44:31 +0000 (11:44 +0300)]
Added coordinates prefix to geocoordinate.h includes.

13 years agoChanged singleton from NetworkAccessManager to NetworkHandler.
Jussi Laitinen [Wed, 21 Jul 2010 08:39:36 +0000 (11:39 +0300)]
Changed singleton from NetworkAccessManager to NetworkHandler.

13 years agobackup for routing authorizing
lampehe-local [Tue, 20 Jul 2010 12:33:37 +0000 (15:33 +0300)]
backup for routing authorizing

13 years agoFixed defects found in the review coordinate_classes
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

13 years agoAdded some missing comments, fixed few unit tests
Sami Rämö [Tue, 20 Jul 2010 09:57:33 +0000 (12:57 +0300)]
Added some missing comments, fixed few unit tests

13 years agoMerge branch 'master' into coordinate_classes
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

13 years agoRe-factored MapScroller to use SceneCoordinate
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

13 years agoAdded missing comments
Sami Rämö [Mon, 19 Jul 2010 12:29:05 +0000 (15:29 +0300)]
Added missing comments

13 years agoRe-factored coordinate parameter names, clean-up
Sami Rämö [Mon, 19 Jul 2010 12:05:48 +0000 (15:05 +0300)]
Re-factored coordinate parameter names, clean-up

13 years agoImproved GeoCoordinate::isValid() check
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

13 years agoAdded tests/ui/friendlistitem.
Jussi Laitinen [Mon, 19 Jul 2010 10:08:37 +0000 (13:08 +0300)]
Added tests/ui/friendlistitem.

13 years agoListView, ListItem, FriendListItem, ListItemDelegate and
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

13 years agoRemoved empty rows from FriendListItem.
Jussi Laitinen [Mon, 19 Jul 2010 08:09:06 +0000 (11:09 +0300)]
Removed empty rows from FriendListItem.

13 years agoRemoved tests/ui/listitem.
Jussi Laitinen [Mon, 19 Jul 2010 08:05:50 +0000 (11:05 +0300)]
Removed tests/ui/listitem.

13 years agoFinished re-factoring the unit tests
Sami Rämö [Mon, 19 Jul 2010 08:05:46 +0000 (11:05 +0300)]
Finished re-factoring the unit tests

13 years agoDeleted tests/friendlist.
Jussi Laitinen [Mon, 19 Jul 2010 07:53:23 +0000 (10:53 +0300)]
Deleted tests/friendlist.

13 years agoModified tests/tests.pro.
Jussi Laitinen [Mon, 19 Jul 2010 07:52:12 +0000 (10:52 +0300)]
Modified tests/tests.pro.

13 years agoFixed ListView tests.
Jussi Laitinen [Mon, 19 Jul 2010 07:41:29 +0000 (10:41 +0300)]
Fixed ListView tests.

13 years agoMerge branch 'master' into listview
Jussi Laitinen [Mon, 19 Jul 2010 07:12:01 +0000 (10:12 +0300)]
Merge branch 'master' into listview

Conflicts:
src/src.pro

13 years agoAdded missing comments to list classes.
Jussi Laitinen [Mon, 19 Jul 2010 06:57:14 +0000 (09:57 +0300)]
Added missing comments to list classes.

13 years agoUnit tests re-factoring for new coordinates on-going...
Sami Rämö [Fri, 16 Jul 2010 13:08:10 +0000 (16:08 +0300)]
Unit tests re-factoring for new coordinates on-going...

13 years agoContinued re-factoring, can now be compiled for device and desktop
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

13 years agoFixed reading the initial coordinate from the settings
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

13 years agoRe-factored the source to use the new coordinate classes
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

13 years agoRemoved duplicate GeoCoordinate class from src/gps
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

13 years agoCreated osm.h, re-factoring, unit test script bug fix
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

13 years agoImplemented GeoCoordinate::convertFrom, iterated unit tests
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

13 years agoUnit tests for converting GeoCoordinate to SceneCoordinate
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

13 years agoConversion from GeoCoordinate to SceneCoordinate
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

13 years agoImplemented SceneCoordinate class and unit tests
Sami Rämö [Tue, 13 Jul 2010 14:27:01 +0000 (17:27 +0300)]
Implemented SceneCoordinate class and unit tests

13 years agoImplemented GeoCoordinate class and unit tests
Sami Rämö [Tue, 13 Jul 2010 14:06:55 +0000 (17:06 +0300)]
Implemented GeoCoordinate class and unit tests

13 years agoAdded new unit tests to tests.pro, minor test script modifications
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

13 years agoCenter and zoom to newly created route, adding documentation
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

13 years agoImplemented MapRouteItem
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

13 years agoMinor clean-up
Sami Rämö [Tue, 13 Jul 2010 09:10:58 +0000 (12:10 +0300)]
Minor clean-up

13 years agoFixed two bugs
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

13 years agoIntegrated json parsing and new container classes
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

13 years agoMerge branch 'master' into origin/route_json
Sami Rämö [Mon, 12 Jul 2010 14:06:04 +0000 (17:06 +0300)]
Merge branch 'master' into origin/route_json

13 years agoImplemented street names/numbers parser and unit tests for it
Sami Rämö [Mon, 12 Jul 2010 10:58:00 +0000 (13:58 +0300)]
Implemented street names/numbers parser and unit tests for it

13 years agoAdded comments
Sami Rämö [Mon, 12 Jul 2010 07:38:47 +0000 (10:38 +0300)]
Added comments

13 years agoImplemented Route class and unit tests for it
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

13 years agoCreated Route class basic structure (most of implementation missing)
Sami Rämö [Fri, 9 Jul 2010 13:31:03 +0000 (16:31 +0300)]
Created Route class basic structure (most of implementation missing)

13 years agoCreated RouteSegment class (street name parsing not implemented)
Sami Rämö [Fri, 9 Jul 2010 12:49:24 +0000 (15:49 +0300)]
Created RouteSegment class (street name parsing not implemented)

13 years agoFirst draft of routing service
lampehe-local [Fri, 9 Jul 2010 11:47:08 +0000 (14:47 +0300)]
First draft of routing service

13 years agoAdded listcommon.h file. listview
Jussi Laitinen [Fri, 9 Jul 2010 08:03:49 +0000 (11:03 +0300)]
Added listcommon.h file.

13 years agoUpdated functional tests, fixed defects found in the review grouping
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

13 years agoMerge branch 'master' into grouping
Sami Rämö [Fri, 9 Jul 2010 07:12:34 +0000 (10:12 +0300)]
Merge branch 'master' into grouping

13 years agoClean-up
Sami Rämö [Fri, 9 Jul 2010 07:07:48 +0000 (10:07 +0300)]
Clean-up

13 years agoAdded functional test cases for power saving
lampehe-local [Fri, 9 Jul 2010 06:21:29 +0000 (09:21 +0300)]
Added functional test cases for power saving

Reviewed by: Jussi Laitinen

13 years agoFixed collision detection again
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

13 years agoRemoved qWarning message from Application
lampehe-local [Thu, 8 Jul 2010 13:07:24 +0000 (16:07 +0300)]
Removed qWarning message from Application

13 years agoModified FriendListItem font metrics calculation.
Jussi Laitinen [Thu, 8 Jul 2010 13:06:52 +0000 (16:06 +0300)]
Modified FriendListItem font metrics calculation.

13 years agoImplemented entry into power saving state when application is in background,
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

13 years agoFixed bug in friend item collision detection
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

13 years agoChanged grouping algorithm
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

13 years agoSorted images.grc file alphabetically and made some minor cosmetic changes
Pekka Nissinen [Thu, 8 Jul 2010 07:53:28 +0000 (10:53 +0300)]
Sorted images.grc file alphabetically and made some minor cosmetic changes

13 years agoModified ListView tests.
Jussi Laitinen [Wed, 7 Jul 2010 13:39:56 +0000 (16:39 +0300)]
Modified ListView tests.

13 years agoAdded FriendListView methods to ListView.
Jussi Laitinen [Wed, 7 Jul 2010 06:11:43 +0000 (09:11 +0300)]
Added FriendListView methods to ListView.

13 years agoModified FriendListItem.
Jussi Laitinen [Tue, 6 Jul 2010 12:57:33 +0000 (15:57 +0300)]
Modified FriendListItem.

13 years agoAdded ListItem, ListItemDelegate, ListView classes.
Jussi Laitinen [Mon, 5 Jul 2010 13:32:09 +0000 (16:32 +0300)]
Added ListItem, ListItemDelegate, ListView classes.

13 years agoUser data optimization. Only changed profile images will be downloaded, except
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

13 years agobackup
lampehe-local [Tue, 29 Jun 2010 07:43:42 +0000 (10:43 +0300)]
backup

13 years agoFirst phase of userdata rewrite
lampehe-local [Tue, 29 Jun 2010 07:31:26 +0000 (10:31 +0300)]
First phase of userdata rewrite

13 years agoMerge branch 'master' of https://vcs.maemo.org/git/situare
Katri Kaikkonen [Mon, 28 Jun 2010 11:00:49 +0000 (14:00 +0300)]
Merge branch 'master' of https://vcs.maemo.org/git/situare

13 years agoFixed and updated functional tests
Katri Kaikkonen [Mon, 28 Jun 2010 10:59:03 +0000 (13:59 +0300)]
Fixed and updated functional tests
Reviewed by Henri Lampela

13 years agoRemoved signals and information box for failed locationUpdate.
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

13 years agoModified automatic location update and disconnected from network test
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.

13 years agoUser member type changed in friendlistitem.
lampehe-local [Mon, 28 Jun 2010 06:14:55 +0000 (09:14 +0300)]
User member type changed in friendlistitem.

Reviewed by: Jussi Laitinen

13 years agoMerge branch 'master' of https://vcs.maemo.org/git/situare
lampehe-local [Mon, 28 Jun 2010 06:10:15 +0000 (09:10 +0300)]
Merge branch 'master' of https://vcs.maemo.org/git/situare

13 years agoFixed bug that caused crash when user tries to expand friend item's
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

13 years agoModified debian/control file. v1.0
Jussi Laitinen [Thu, 24 Jun 2010 10:25:22 +0000 (13:25 +0300)]
Modified debian/control file.

13 years agoModified FriendListItem User member type.
Jussi Laitinen [Thu, 24 Jun 2010 10:22:53 +0000 (13:22 +0300)]
Modified FriendListItem User member type.

13 years agoMerge branch 'master' of https://vcs.maemo.org/git/situare
Jussi Laitinen [Thu, 24 Jun 2010 09:50:57 +0000 (12:50 +0300)]
Merge branch 'master' of https://vcs.maemo.org/git/situare

13 years agoModified debian/control file.
Jussi Laitinen [Thu, 24 Jun 2010 09:50:41 +0000 (12:50 +0300)]
Modified debian/control file.

13 years agoModified debian: changelog and control files.
Jussi Laitinen [Thu, 24 Jun 2010 09:38:21 +0000 (12:38 +0300)]
Modified debian: changelog and control files.

13 years agoFixed network stubs to work with scratchbox and desktop
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

13 years agoModified networkhandlerprivate.cpp state method.
Jussi Laitinen [Thu, 24 Jun 2010 08:00:03 +0000 (11:00 +0300)]
Modified networkhandlerprivate.cpp state method.

13 years agoAdded disconnected from network functional test case.
Jussi Laitinen [Thu, 24 Jun 2010 07:19:07 +0000 (10:19 +0300)]
Added disconnected from network functional test case.

13 years agoMerge branch 'master' of https://vcs.maemo.org/git/situare
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

13 years agoMerge branch 'master' into network_handler
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

13 years agoMerge branch 'small_fix'
lampehe-local [Wed, 23 Jun 2010 10:58:59 +0000 (13:58 +0300)]
Merge branch 'small_fix'