| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
| |
Also removes the dependency on mt-client, as this is the last
usage of it in the code.
Removes config.tests as they are testing for Qt modules or
Qt Addon modules which can be tested for in the .pro files with
!isEmpty(QT.foo.name).
Change-Id: I2a621d73ef76de51154ad9ce80fb2c84881ae3de
Reviewed-by: Alex Wilson <alex.wilson@nokia.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
fixing typos
updating some links due REST server data changed
adding tests for
- categories,
- places,
- bounding box,
- bounding circle,
- favorites,
- locale handling
Change-Id: I7b24723fa95f4d4d878b53664d24e94009e1f1c9
Reviewed-by: Daniel Kovacic <daniel.kovacic@nokia.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
For ease of use the category functions are synchronous,
to achieve this we keep a cached version of the categories
when initializeCategories is called.
We don't expect there to be a lot of categories and
so there shouldn't be much memory consumption.
As a result of these cached categories we no longer
need to use an event loop whenever categories
are queried. The event loop was problematic when
multiple calls were made to the function while
the event loop was still active.
Change-Id: Iff8482ce9affcec82bee5c12b325e64b77624c65
Reviewed-by: abcd <amos.choy@nokia.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Borders are now clickable on MapCircle, MapPolygon,
and MapRectangle.
* Still issues with the top and left edges of a border not
being clickable (beyond the 0,0 point on the object). These
are not easily solved in the current implementation of
MapMouseArea.
* Amended autotests that depend on the visible width of a
MapRectangle to set border width to zero.
* Invisible borders are now totally excluded from
calculation during update.
Change-Id: Iad711b0b5aca55b51d4dd31767c472c2331bdfb2
Reviewed-by: David Laing <david.laing@nokia.com>
|
|
|
|
|
| |
Change-Id: I9cd36bf200a37207db3b54c0bf69d21ca2f1cde2
Reviewed-by: Aaron McCarthy <aaron.mccarthy@nokia.com>
|
|
|
|
|
|
|
|
|
|
| |
As in the past, to avoid rewriting various autotests that contain
line-number information, an extra blank line has been inserted at the
end of the license text to ensure that this commit does not change the
total number of lines in the license header.
Change-Id: I00c66363046e475e6924aafd221483c7fad5c0d9
Reviewed-by: Rohan McGovern <rohan.mcgovern@nokia.com>
|
|
|
|
|
| |
Change-Id: I37dfa12027bcc5424e65aa515f512b18a94692c4
Reviewed-by: Aaron McCarthy <aaron.mccarthy@nokia.com>
|
|
|
|
|
| |
Change-Id: I702e8a1b6f0e80cb990315165f1bf331a82e65a5
Reviewed-by: Aaron McCarthy <aaron.mccarthy@nokia.com>
|
|
|
|
|
|
|
| |
Replace Nokia contact email address with Qt Project website.
Change-Id: I3850177e14291901e924f9c27ba09e75df00f96a
Reviewed-by: Rohan McGovern <rohan.mcgovern@nokia.com>
|
|
|
|
|
|
|
|
|
|
| |
adding positioning tests
adding logo test
update places test due UI changes
adding 3 draft tests for places
Change-Id: I4a53b40afdf392a339298e50e5d90dddcba37fd1
Reviewed-by: Daniel Kovacic <daniel.kovacic@nokia.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
QObject based properties of BoundingBox effectively had value sematics,
i.e. the object's properties were updated not the object pointer. Both
BoundingBox and BoundingCircle now update the object pointers.
The canonical property values are stored in the QGeoBoundingBox and
QGeoBoundingCircle data members, these are then synchronised with the
QObject based properties.
A number of optimisations have also been made. QObject based properties
are initialised on read, meaning that if a particular property is not
used it will not be constructed. Value properties (width, height,
radius) are cached so that repeated property reads do not result in
multiple nested function calls.
It is also possible to make a valid bounding box by setting its center
coordinate. The resulting bounding box will have a width and height
of 0 degrees.
Change-Id: I2569452e9a92c0b84de1b8f690655e2bed19ecb1
Reviewed-by: Alex Wilson <alex.wilson@nokia.com>
|
|
|
|
|
| |
Change-Id: Ibe1648fabd96b8be5a64e4b6ee917fe60d69ec8a
Reviewed-by: Alex Wilson <alex.wilson@nokia.com>
|
|
|
|
|
|
|
| |
see http://codereview.qt-project.org/12928
Change-Id: I3ea3223a2f5579fcef2c58d28e8fe15b82b3f4a4
Reviewed-by: David Laing <david.laing@nokia.com>
|
|
|
|
|
|
|
|
| |
Cross referenceing means we can detect whether a place from one
plugin/manager is already in another plugin/manager
Change-Id: Ice1834446a61e30e02f869e1d383f6d8698b8db6
Reviewed-by: Aaron McCarthy <aaron.mccarthy@nokia.com>
|
|
|
|
|
| |
Change-Id: Iffa9145bb106c41cb10e9d2d5a0d1abf63adfc67
Reviewed-by: Daron Andrew Edie <daron.edie@nokia.com>
|
|
|
|
|
|
|
| |
Update copyright headers from before 2011.
Change-Id: Iae372d31350cebca9cbcdc0dbd2fdc316d7ed82f
Reviewed-by: Rohan McGovern <rohan.mcgovern@nokia.com>
|
|
|
|
|
|
|
| |
Tests fetching new categories and hierarchical property.
Change-Id: Ie9e2370dc49e65add83aa2154cd78a22ada548d9
Reviewed-by: abcd <amos.choy@nokia.com>
|
|
|
|
|
| |
Change-Id: I0cba5e3c14f22a07c7647571214b1bf66b557d94
Reviewed-by: abcd <amos.choy@nokia.com>
|
|
|
|
|
| |
Change-Id: I1db9c1d6724a83b027d4aadd6870a568e346c58f
Reviewed-by: abcd <amos.choy@nokia.com>
|
|
|
|
|
| |
Change-Id: Iad08ce86cf620999178dc3a00786ade980144f7f
Reviewed-by: David Laing <david.laing@nokia.com>
|
|
|
|
|
|
|
| |
Should hopefully reduce flakiness.
Change-Id: I9b459fb2b16dd6b653c9726c23d25dcedc0233f6
Reviewed-by: David Laing <david.laing@nokia.com>
|
|
|
|
|
| |
Change-Id: I8b1188ab4ac8af79352cd64f7cee363405bb07a6
Reviewed-by: David Laing <david.laing@nokia.com>
|
|
|
|
|
| |
Change-Id: I74b8983faf8ed83466098b866886462b6ff51f99
Reviewed-by: David Laing <david.laing@nokia.com>
|
|
|
|
|
|
|
|
|
| |
Test has broken a few times by only delaying for 850ms where it needs
>=800ms to register. Bumped up to 1s to try to make sure it can
pass in adverse conditions.
Change-Id: I61271053bf2144ca98074217d91c05d658e3540a
Reviewed-by: David Laing <david.laing@nokia.com>
|
|
|
|
|
| |
Change-Id: I496795d13a615be8d252ca20a40dd2c5ba84ed60
Reviewed-by: Rohan McGovern <rohan.mcgovern@nokia.com>
|
|
|
|
|
|
|
|
|
|
|
| |
Also moves them into src/location/maps.
We still need to take a closer look at which classes are
public and which are private, and then do the associated
file renaming and addition of private header warnings.
Change-Id: Ide0225ad5d5dc23834baaa9f6841646e4c92de39
Reviewed-by: Juha Vuolle <juha.vuolle@nokia.com>
|
|
|
|
|
|
|
|
|
|
|
|
| |
It is not valid to unconditionally enable debug mode on platforms where
debug/release affects linkage. On these platforms, debug mode can only
be used if the debug libraries are enabled, and release mode can only be
used if the release libraries are enabled.
Let the build system set the correct mode.
Change-Id: I217eb0826ca57cfab3c753cb0e1e961b86357cd2
Reviewed-by: Alex <alex.blasche@nokia.com>
|
|
|
|
|
|
|
|
|
|
| |
Attribution property testing.
Icon property testing.
Remove unnecesary property setters for detailsFetched,
extendedAttributes and contactDetails.
Change-Id: Iae93bffa8b9f6ffdf798418e99baceb76159df28
Reviewed-by: abcd <amos.choy@nokia.com>
|
|
|
|
|
| |
Change-Id: I0521b9b272dc536f98199de83ecbda0cf2006eba
Reviewed-by: abcd <amos.choy@nokia.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- fixed typo in qml_select_service_provider
- removed third_party_position_source test, covered by unit tests
- updated qml_pan_a_map to check behavior on hight zoom levels
- removed tests for district, county and country code. Rest plugin doesn't support requests with such parameters.
- removed qml_shift_to_the_given_offset, covered by unit tests
- added rouiting tests
- added locale tests for geocoding and routing
- added border wrapping test
- replaced "Press" with "Select" for uniformity
Change-Id: Ib76b1b651d6ba572d52de08e809f198c98acd6b1
Reviewed-by: Alex Wilson <alex.wilson@nokia.com>
Reviewed-by: Natalia Shubina <natalia.shubina@nokia.com>
|
|
|
|
|
|
|
|
| |
Mostly just using Q_UNUSED in appropriate spots. Also commenting
out some unused constants.
Change-Id: Id43e171bf3a34f7c11e366b14eadb42f08f0096d
Reviewed-by: Alex <alex.blasche@nokia.com>
|
|
|
|
|
|
| |
Task-number: QTBUG-23332
Change-Id: I17357a82ead9f0aac7cc3b5a361c905a4b43861a
Reviewed-by: Natalia Shubina <natalia.shubina@nokia.com>
|
|
|
|
|
|
| |
Change-Id: I221d1febb36449a06b238129ebf5239739f0d5d1
Reviewed-by: Alex <alex.blasche@nokia.com>
Reviewed-by: Juha Vuolle <juha.vuolle@nokia.com>
|
|
|
|
|
|
|
|
| |
First step towards teaching map items to listen to changes in their
source coordinates and lists.
Change-Id: Iacf6078b5517a52c82c906d839c332a459453f80
Reviewed-by: Juha Vuolle <juha.vuolle@nokia.com>
|
|
|
|
|
|
|
|
| |
Includes auto-tests for QML coordinates and the new functions.
Task-number: QTBUG-20471
Change-Id: I87a35f4f347298731000629dbf5c6c07fa03ed41
Reviewed-by: David Laing <david.laing@nokia.com>
|
|
|
|
|
| |
Change-Id: I072de0f11105abecee16a4507bfb4411d63d754c
Reviewed-by: David Laing <david.laing@nokia.com>
|
|
|
|
|
|
|
| |
This macro is now provided by testlib via the QtTest/QtTest header.
Change-Id: I14a090e77bc2d95808117bd6bc0404962f1a2e15
Reviewed-by: Alex <alex.blasche@nokia.com>
|
|
|
|
|
| |
Change-Id: I0380f3b6e7945909eee7c00230a976da0ac53d6e
Reviewed-by: Aaron McCarthy <aaron.mccarthy@nokia.com>
|
|
|
|
|
| |
Change-Id: Ib44f55814baea9e8908a4092102bd42b8b18d5eb
Reviewed-by: David Laing <david.laing@nokia.com>
|
|
|
|
|
| |
Change-Id: I4f9944f24ff15033851988571d45a8ed2c1e8391
Reviewed-by: abcd <amos.choy@nokia.com>
|
|
|
|
|
|
|
|
|
|
|
|
| |
Also make the attribute types in the test lower case because
the standard attributes are meant to be lower case.
(The qml looks better this way e.g.
place.extendedAttributes.smoking
instead of
place.extendedAttributes.Smoking)
Change-Id: I33837ad1fdf4d1c028daa7742e1e4a6d2b6432d3
Reviewed-by: Aaron McCarthy <aaron.mccarthy@nokia.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The behaviour for contact details wasn't quite correct in the instance
where a single detail is assigned rather than a list.
For now there is a workaround by listening to the valueChanged signal
of the QDeclarativePropertyMap to detect if a single item
is being added and if so turn it into a list with one element.
The correction solution would be to override the write behaviour
of QDeclaratiePropertyMap but this can't be done until
QTBUG-23183 is addressed.
Also add some extra examples for contact detail assignment and
a correction for when contact details are viewed by a ListView,
we need to have modelData.label rather than just label when
dealing with an object list.
Change-Id: I10555b9536ae4c4172b9b49347b7b6be12c5c1ab
Reviewed-by: Aaron McCarthy <aaron.mccarthy@nokia.com>
|
|
|
|
|
|
|
|
| |
These changes were missing from
651acf953b374ae7feadaf4db6be85e8c411c1cb.
Change-Id: I15edc61e9674f070b4f3805d5e3b5c7d466f991c
Reviewed-by: abcd <amos.choy@nokia.com>
|
|
|
|
|
| |
Change-Id: I0186ddcdf28d8ffff91af9a403b7218b273a9cfc
Reviewed-by: abcd <amos.choy@nokia.com>
|
|
|
|
|
| |
Change-Id: Ib0bce554ce328366067513f9e15a6a6806eeeefc
Reviewed-by: Alex <alex.blasche@nokia.com>
|
|
|
|
|
| |
Change-Id: I365e2ffc6ce48fc4c3317fa51ff14caed253cca5
Reviewed-by: Alex <alex.blasche@nokia.com>
|
|
|
|
|
| |
Change-Id: I637d1cda2c278e0d6994e39263d32814f56da6d7
Reviewed-by: abcd <amos.choy@nokia.com>
|
|
|
|
|
|
|
| |
This includes a plug-in for testing the routing manager.
Change-Id: I8c8da33bf04831ffc3a20304293c338285b73e96
Reviewed-by: David Laing <david.laing@nokia.com>
|
|
|
|
|
|
|
|
|
|
| |
* restrict node access only to updatePaintNode
* add dirty flags
* move gemoetry calcualtion to declaratvie class
* fix missing first update call
Change-Id: Ie1a6e5e6fcde9d336d72783dfdf22e39bf53c285
Reviewed-by: Juha Vuolle <juha.vuolle@nokia.com>
|
|
|
|
|
|
|
|
|
|
| |
* Part of tests disabled (see QTBUG-23201)
* Removed some testcase build- and runtime warnings.
* Made one testcase less timing sensitive (unstable).
* Some new map item tests.
Change-Id: I238f921410c665996b2db1b098716476873a4f02
Reviewed-by: Juha Vuolle <juha.vuolle@nokia.com>
|