summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Add QML test for comparing QtPositioning base types.old/5.2Aaron McCarthy2014-02-112-2/+47
| | | | | | | | Tests added for comparing Coordinate, Shape, Rectangle and Circle. Task-number: QTBUG-33561 Change-Id: Ie826f670e75b26ac43ad7cea7c9b108b01008f3d Reviewed-by: Alex Blasche <alexander.blasche@digia.com>
* Mark QNmeaPositionInfoSource tests as insignificant on Windows.Alex Blasche2014-02-105-0/+40
| | | | | | | | | The local TCP socket required by these tests regularly fails on the Windows CI due to heavy load. Change-Id: I65e6150b8c735aec85e643cf1702344ff707723d Reviewed-by: Aaron McCarthy <mccarthy.aaron@gmail.com> Reviewed-by: Alex Blasche <alexander.blasche@digia.com>
* Fix documentation link to GeoShape::contains().Aaron McCarthy2014-02-101-1/+1
| | | | | Change-Id: I8e2a77a5daade3cc12da95ff12d28977af069e8c Reviewed-by: Alex Blasche <alexander.blasche@digia.com>
* Add index context property to QDeclarativeGeoMapItemBaseMichael Krasnyk2014-02-071-0/+1
| | | | | | | | | ... for indexing alternative routes in a delegate of QDeclarativeGeoMapItemView Change-Id: If40c40bcc4e89c92c473b98fddaad163c73c08c3 Reviewed-by: Aaron McCarthy <mccarthy.aaron@gmail.com> Reviewed-by: Alex Blasche <alexander.blasche@digia.com>
* Report direction and vertical speed with Geoclue plugin.Aaron McCarthy2014-02-042-14/+53
| | | | | | | | | | | | | Geoclude provides both direction and vertical speed information with the velocity interface. These values were previously being ignored. [ChangeLog][QtPositioning][Geoclue] The Geoclue plugin now reports direction of travel and vertical speed attributes, if supported by the active Geoclue provider. Task-number: QTBUG-36298 Change-Id: I9f99a64f3c2bd78a06a6c60e0ef3af6f75223e9f Reviewed-by: Alex Blasche <alexander.blasche@digia.com>
* Merge "Merge remote-tracking branch 'origin/release' into stable" into ↵Frederik Gladhorn2014-02-031-26/+12
|\ | | | | | | refs/staging/stable
| * Merge remote-tracking branch 'origin/release' into stableFrederik Gladhorn2014-01-271-26/+12
| |\ | | | | | | | | | Change-Id: I3c7e65df05c1aa3eec86eaf81a7fa1d263f7a22b
| | * Update changelog for 5.2.1v5.2.1Thiago Macieira2014-01-241-26/+12
| | | | | | | | | | | | | | | | | | Change-Id: Ic9c96f04ee00ac04dc3f3c1abdb09deb129eb5a4 Reviewed-by: Lars Knoll <lars.knoll@digia.com> Reviewed-by: Alex Blasche <alexander.blasche@digia.com>
* | | Update gitignore following the their source tree shiftAlex Blasche2014-01-291-5/+5
|/ / | | | | | | | | Change-Id: I039d02743cae469704f4815393a0c73b6444a660 Reviewed-by: Fabian Bumberger <fbumberger@rim.com>
* | QDeclarativePositionSource::{supported|preferred}PositioningMethods() always ↵Jim Ehrismann2014-01-172-18/+13
| | | | | | | | | | | | | | | | | | return AllPositioningMethods Also added unit test for preferredPositioningMethods() Change-Id: I28c1d5ce66987d3799d1d1cc97469112dd055a45 Reviewed-by: Alex Blasche <alexander.blasche@digia.com>
* | Merge "Merge branch 'release' into stable" into refs/staging/stableAaron McCarthy2014-01-173-6/+17
|\ \
| * \ Merge branch 'release' into stableAlex Blasche2014-01-163-6/+17
| |\ \ | | |/ | | | | | | Change-Id: I82706858585256cbb23278250d870c54d6c4b085
| | * Remove byte order marker which causes problems with older compilersAlex Blasche2014-01-152-1/+5
| | | | | | | | | | | | | | | | | | Task-number: QTBUG-36187 Change-Id: Ie20ec6e802f44a6fa6757b914289736c4421138b Reviewed-by: Lars Knoll <lars.knoll@digia.com>
| | * Attempt to fix flaky QNemaPositionInfoSource_Simulation test on WindowsAlex Blasche2014-01-151-5/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The failure was discovered by https://codereview.qt-project.org/#change,75481 We increase the timeout for the local tcp connection as the likely reason is an overworked CI system. In addition we add more verbose output to easy the failure detection in case this happens again. Change-Id: I44ee52fcb957dcaa5aca4a6932221a34ce3f2af7 Reviewed-by: Kai Koehne <kai.koehne@digia.com>
* | | Bump MODULE_VERSION to 5.2.2Sergio Ahumada2014-01-161-1/+1
|/ / | | | | | | | | Change-Id: I4bff11ac65bb72b37e2540bb1d3f6fba24472db6 Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
* | Fix run-time warning when using Geoclue positioning plugin.Aaron McCarthy2014-01-151-0/+3
|/ | | | | | | | The Geoclue plugin requires that the QGeoPositionInfo meta type is registered. Change-Id: I1310868ffd5d57539c3b790b4de1ba9c8396c580 Reviewed-by: Alex Blasche <alexander.blasche@digia.com>
* Add 5.2.1 change logAlex Blasche2014-01-131-0/+63
| | | | | Change-Id: I83dce160ed57ec7a567c815a98cf17fc160a3b2d Reviewed-by: Aaron McCarthy <mccarthy.aaron@gmail.com>
* Stop skipping declarative_core tests.Aaron McCarthy2014-01-105-8/+29
| | | | | | | | These test cases were failing due to regressions in QML and have since been fixed. See QTBUG-33542, QTBUG-33546 and QTBUG-33561. Change-Id: Id86e9a8baa29eea851bda27cb668a6ce586c5f25 Reviewed-by: Alex Blasche <alexander.blasche@digia.com>
* Fix declarative_core unit testAlex Blasche2014-01-109-68/+45
| | | | | | | | | | | | | There are still some bugs caused by V4 but more dedicated bugs but it is more important to get the current unit test running . We rather skip the problematic cases. A lot of warnings have been fixed as well. Task-number: QTBUG-31798 Change-Id: I1fccf26db5c47563baeaf6c2d6366d3c10aee824 Reviewed-by: Alex Blasche <alexander.blasche@digia.com> Reviewed-by: Aaron McCarthy <mccarthy.aaron@gmail.com>
* Remove QtQml dependency from QtPositioning.Aaron McCarthy2013-12-116-14/+9
| | | | | | | | | | | The QtQml dependency was only required for the QML_DECLARE_TYPE macro. Since Qt 5.0 use of this macro is not required. Add missing includes which were being pulled in via QtQml. Task-number: QTBUG-33220 Change-Id: Ief6ab94e25b4bc5cb753672908b09f7e772df1c8 Reviewed-by: Alex Blasche <alexander.blasche@digia.com>
* Revert "Don't require applications to declare metatypes."Aaron McCarthy2013-12-1010-8/+8
| | | | | | | | | This reverts commit 5679a86968a6a26f8427b9c979f89f6ea5198d2f Change was source incompatible. Change-Id: Ied25ca3503a41e498a5c9b710e7a0dd3787bbe89 Reviewed-by: Alex Blasche <alexander.blasche@digia.com>
* Don't require applications to declare metatypes.Aaron McCarthy2013-12-1010-8/+8
| | | | | | | | | | | | These metatypes need to be declared for common usage of the positioning API. Declare them in the library header files so that applications are not forced to do so. [ChangeLog][QtPositioning][General] Applications no longer need to register common Qt Positioning data types with the metatype system. Change-Id: I1d28ec8e33d20efc748cb6a0a2ad302e2061853f Reviewed-by: Alex Blasche <alexander.blasche@digia.com>
* Fix a dangling pointer useRobin Burchell2013-12-041-2/+1
| | | | | | | | toLocal8Bit returns a temporary, so we must not keep a pointer to the data inside it Change-Id: I8fa4138c15acce0005e304b5206585fcd1a5e56b Reviewed-by: Alex Blasche <alexander.blasche@digia.com>
* Fix incorrect accuracy values reported by Geoclue plugin.Aaron McCarthy2013-12-031-9/+8
| | | | | | | | | Initialize variables to valid (unknown) values as they will not be assigned to if accuracy data is not available with the current position update from Geoclue. Change-Id: Icdca528da86df9a2a95acf1cc6704a9c39485fe2 Reviewed-by: Alex Blasche <alexander.blasche@digia.com>
* Set default preferred positioning methods for Geoclue position source.Aaron McCarthy2013-12-031-0/+2
| | | | | | | | Set the default positioning methods used by the Geoclue positioning source to all positioning methods. Change-Id: I62196cc0203642838104cb5a0dafa06b1df29190 Reviewed-by: Alex Blasche <alexander.blasche@digia.com>
* Don't rely on qt_example_installs for complete make install rulesAlex Blasche2013-11-291-2/+3
| | | | | | | | | simplelog.txt was not deployed when running make install from outside Qt source tree. Change-Id: I420a85fc5f74fb1bfc1b3f63e1f88cf0b0e2a0f9 Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@digia.com> Reviewed-by: Alex Blasche <alexander.blasche@digia.com>
* Fix and cleanup of make install related rules in QtLocation examplesAlex Blasche2013-11-294-10/+13
| | | | | | Change-Id: I9ef400e22d46e60d50eed785a71e656a0f93fa26 Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@digia.com> Reviewed-by: Alex Blasche <alexander.blasche@digia.com>
* Fix make install rules for all examples in QtPositioningAlex Blasche2013-11-294-16/+14
| | | | | | | | This was highlighted during the testing of the Qt 5.2.0 package. Change-Id: Iab1e6f5f1e1a8ceb62fc44658ec12fb131ccad65 Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@digia.com> Reviewed-by: Alex Blasche <alexander.blasche@digia.com>
* Fix cut of string when weather string is longerAlex Blasche2013-11-271-1/+4
| | | | | | | Task-number: QTBUG-34910 Change-Id: I90a1748496b55b2e69db5c94fa217f79d43c176f Reviewed-by: Jim Ehrismann <jehrismann@blackberry.com> Reviewed-by: Alex Blasche <alexander.blasche@digia.com>
* Bump MODULE_VERSION to 5.2.1Sergio Ahumada2013-11-261-1/+1
| | | | | | | Change-Id: I73b42c27dfb256818f650d090586fe8bc7db6a2c Reviewed-by: Matti Paaso <matti.paaso@digia.com> Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@digia.com> Reviewed-by: Alex Blasche <alexander.blasche@digia.com>
* Don't start Geoclue satellite providers until necessary.Aaron McCarthy2013-11-252-9/+46
| | | | | | | | This builds on 2509cc2f13b15de099c3d68769e9bce869400ef7. It implements similar changes to the Geoclue satellite info source. Change-Id: I657f110e049c84b35f534a3bfffd14d57ee9c37a Reviewed-by: Alex Blasche <alexander.blasche@digia.com>
* Merge "Merge branch 'release' into stable" into refs/staging/stableAlex Blasche2013-11-21181-58/+65
|\
| * Merge branch 'release' into stableAlex Blasche2013-11-21181-58/+65
| |\ | | | | | | | | | Change-Id: If8a4fe6d4566ffe072c3be25f2cd5ef7a5b06d95
| | * Fix install path for examplesv5.2.0-rc1v5.2.0Alex Blasche2013-11-185-8/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | The QtLocation examples are still broken when running make install but the module is not part of the release anyway. Task-number: QTBUG-34907 Change-Id: Ie3a35daae3df39747a70ed4bce430ec1a73cbe3d Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com>
| | * Fix qdoc references following shift of example dirsAlex Blasche2013-11-188-24/+24
| | | | | | | | | | | | | | | | | | | | | Task-number: QTBUG-34907 Change-Id: Id119523528c7cd2419be638048f4faf7bf0f2cb9 Reviewed-by: Topi Reiniö <topi.reinio@digia.com> Reviewed-by: Lars Knoll <lars.knoll@digia.com>
| | * Doc: Update .qdocconf to match example folder structureTopi Reinio2013-11-182-4/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Update the .qdocconf files for both Qt Location and Positioning documentation sets to match the new example folder structure. Also add 'examplesinstallpath' configuration value, needed for correct paths in example manifest files. Task-number: QTBUG-34907 Change-Id: I6115377044418b251757a18524de4fcf02502fa5 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com> Reviewed-by: Alex Blasche <alexander.blasche@digia.com>
| | * Reorder example dir structure according to Qt conventionAlex Blasche2013-11-18170-12/+17
| | | | | | | | | | | | | | | | | | | | | | | | Causes undesirable example structure in Qt release package Task-number: QTBUG-34907 Change-Id: I47e2205aa6faef388792146b36cf6ae6cae863da Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com>
* | | Don't require a position fix before reporting Geoclue satellite info.Aaron McCarthy2013-11-213-7/+111
|/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The Geoclue plugin uses the Geoclue master provider to select the most appropriate position provider. However, it doesn't select a provider unless it is in the available state. For satellite information a position fix is not required. If the Geoclue master provider doesn't return a valid provider the plugin will now listen for all SatelliteChanged signals from any org.freedesktop.Geoclue.Satellite interface. This means that if multiple satellite based providers are active at the same time QGeoSatelliteInfoSource will include satellite information from both providers. Change-Id: I257b56dc03fed51a5c4ba0023862708b9618be05 Reviewed-by: Alex Blasche <alexander.blasche@digia.com>
* | Fix requesting single updates from Geoclue plugin.Aaron McCarthy2013-11-192-32/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | Geoclue providers are expected to return a position update straight away, otherwise the geoclue-master blocks when positioning is started. This means that a position update with no longitude and latitude values is not an error. Change the Geoclue plugin to ignore these position updates, instead waiting for the specified timeout before aborting. Change-Id: I80b3c4cfdc31da78660f7435fdfac03963688c5a Reviewed-by: Alex Blasche <alexander.blasche@digia.com>
* | Emit the last known position when Geoclue positioning is started.Aaron McCarthy2013-11-191-0/+6
|/ | | | | | | | The QML position source already essentially does this as its position property is set to the last known position on construction. Change-Id: I3e41886348a218751ab0872e8d78ac92cb72dc0b Reviewed-by: Alex Blasche <alexander.blasche@digia.com>
* Fix compiler warning.Alex Blasche2013-11-111-0/+1
| | | | | | Change-Id: I2f5c84cfad86c287d64869c9df56d49be135d7b1 Reviewed-by: Erik Mattsson <erik.mattsson@appello.com> Reviewed-by: Alex Blasche <alexander.blasche@digia.com>
* Add BlackBerry positioning plugin for QtLocationJim Ehrismann2013-11-1118-0/+4057
| | | | | | | | | | Note files in bb subfolder are considered temporary and will be removed when equivalent functionality has been incorporated in Qt Core or BB10 core on Qt5. Change-Id: I08d2c771d18914525fad410f1b6e83772ef3a0d7 Reviewed-by: Fabian Bumberger <fbumberger@rim.com> Reviewed-by: Liang Qi <liang.qi@digia.com>
* Fix occasional crash in Geoclue plugin.Aaron McCarthy2013-11-071-0/+3
| | | | | | | | There is no need to create a DBus proxy object for Geoclue.Position when the service name and path are empty. Change-Id: I21ca2190aa929fa77e823c5cc7056ceb74f644eb Reviewed-by: Alex Blasche <alexander.blasche@digia.com>
* Doc: Updated url variable in qdocconf files.Jerome Pasion2013-11-062-2/+2
| | | | | | | | | | | | | | In 5.2, the HTML output is in a flatter structure and when they are hosted in qt-project.org/doc, the documentation will be found at http://qt-project.org/doc/qt-$QT_VER The url variable is used by projects outside of Qt 5 which need to link to Qt 5 documentation, such as Qt Creator. Task-number: QTBUG-34584 Change-Id: Ibc0d4b9ef43bfb0e584d95fac8e97ec472e1e0e8 Reviewed-by: Topi Reiniö <topi.reinio@digia.com> Reviewed-by: Leena Miettinen <riitta-leena.miettinen@digia.com>
* Improve ClosedError handling in QGeoPositionInfoSourceAlex Blasche2013-11-042-5/+5
| | | | | | | | | | | | | | | | | The previously described behavior was introduced by a platform which QtPositioning no longer supports. Effectively this is a behavior change which currently doesn't affect any known backend. The upcoming Android & BB10 backends support this new behavior. The described behavior was very inconvenient from a QML developer's perspective. Deleting a QML PositionSource is rather inconvenient and difficult to do. The API should make a developer's life easier. Task-number: QTBUG-33457 Change-Id: I94432c0569b647cd33c27f75ed73ce5322f40d47 Reviewed-by: Anders Gunnarsson <anders.gunnarsson@appello.com> Reviewed-by: Alex Blasche <alexander.blasche@digia.com>
* Fix grammar mistake in satellite info source documentation.Alex Blasche2013-10-301-1/+1
| | | | | Change-Id: I33b8df175587bbe263a14a810442fb85ba30cf6e Reviewed-by: Jerome Pasion <jerome.pasion@digia.com>
* Improve QGeoSatelliteInfoSource API docsAlex Blasche2013-10-301-0/+11
| | | | | | | | 1.) Clarifies the timeout behavior of startUpdates() 2.) Specify error() signal behavior when timing out during requestUpdate() Change-Id: Id643465891a6a08ba04c25c1439fda34bd5a79b0 Reviewed-by: Aaron McCarthy <mccarthy.aaron@gmail.com>
* Remove incorrect position references in satellite documentation.Alex Blasche2013-10-301-4/+4
| | | | | | | | Most liklely they were caused by Copy & Paste. Change-Id: Iacdff9d28aa3e3a1bd662e970200f84e2863597f Reviewed-by: Jerome Pasion <jerome.pasion@digia.com> Reviewed-by: Aaron McCarthy <mccarthy.aaron@gmail.com>
* Add QGeoPositionInfoSource::NoPositioningMethods enum valueAlex Blasche2013-10-307-28/+32
| | | | | | | | | | This simplifies various position backend implementations as they don't have to cast 0 to QGeoPositionInfoSource::PositioningMethods At the same time we synchronize the same QML enum and its value name. Change-Id: Ic0b258161a6319da238b265ad5d9926349f461f1 Reviewed-by: Aaron McCarthy <mccarthy.aaron@gmail.com>
* Add NoError to the various Positioning Source classes.Alex Blasche2013-10-3020-22/+36
| | | | | | | This became apparent while implementing the BB10 and Android backends. Change-Id: I54e2c0fce63021b9fad0c544777792aed726608b Reviewed-by: Aaron McCarthy <mccarthy.aaron@gmail.com>