summaryrefslogtreecommitdiff
path: root/src/imports/positioning
Commit message (Collapse)AuthorAgeFilesLines
* Merge remote-tracking branch 'origin/5.9' into 5.10Liang Qi2018-01-261-0/+1
|\ | | | | | | | | | | | | | | Conflicts: tests/auto/qgeotiledmap/tst_qgeotiledmap.cpp tests/plugins/declarativetestplugin/testhelper.h Change-Id: Ie218ab1dc68642a6922e05e5688c20b90440b72e
| * Fix NmeaPositionInfoSource not combining sentences - simulation modePaolo Angelelli2018-01-101-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | This patch is the first half of a fix to prevent NmeaPositionInfoSource to push an update per sentence instead of combining all sentences with the same timestamp into one QGeoPositionInfo. This patch fixes only the source in simulation mode. Additional work is needed for standard mode. Task-number: QTBUG-64699 Change-Id: I39d9905331c5a1f646b7465f4d7d155834bec815 Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
* | Always step QML versions when Qt steps a versionAlex Blasche2017-12-082-9/+18
| | | | | | | | | | Change-Id: I2b9751dcdcee4a5d8d3353bfc2fcc43cd995b584 Reviewed-by: Paolo Angelelli <paolo.angelelli@qt.io>
* | Merge remote-tracking branch 'origin/5.9' into 5.10Paolo Angelelli2017-09-051-9/+8
|\ \ | |/ | | | | Change-Id: Ibfd8b430011abb0a7174bbcc158b03f8e26492eb
| * Fix PositionSource never turning active on androidPaolo Angelelli2017-08-301-9/+8
| | | | | | | | | | | | | | | | | | It seems that if m_positionSource gets created too late, PositionSource never becomes active so it never starts pushing position updates. Task-number: QTBUG-62778 Change-Id: I7b375e9f9f1fbe546dfc27fa6bf0c431df393e65 Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
* | Add QGeoPolygon to QtPositioningPaolo Angelelli2017-08-042-0/+48
|/ | | | | | | | | | | This patch introduces a new QGeoShape, QGeoPolygon, together with helper functions in the location singleton (QtPositioning.*) to create and convert geopolygons from QML. [ChangeLog][QtPositioning][QGeoPolygon] Added QGeoPolygon shape. Change-Id: I111c576d7428f2a953f0459d16c25eea7ab2bd7c Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@qt.io>
* Update QtPositioning qmltypes definitionPaolo Angelelli2017-06-091-3/+27
| | | | | Change-Id: Ic45f7c8aa819d373e96cf60082fcda95a63f79b8 Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
* Fix for non-existing QtPositioning 5.9Paolo Angelelli2017-06-081-4/+4
| | | | | | Change-Id: I5190564ef3e4a25f1e387c8918ec269a0a52bbea Task-number: QTBUG-61266 Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
* Add mean to create qgeopath in locationsingletonPaolo Angelelli2017-06-052-0/+44
| | | | | | | | | As currently there is no way to create a pre-filled qgeopath, this patch adds an overload to QtPositioning.geopath() to pass parameters to the constructor. Change-Id: I05af4dbef07bd62e9e2eace7105b5255e8a392fa Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
* Doc: correct link issueNico Vertriest2017-04-261-2/+2
| | | | | | | positioning.cpp: cannot link to 'geoshape.contains' Change-Id: I610dfe90432a224b2e20825c68d24c795774ae09 Reviewed-by: Venugopal Shivashankar <Venugopal.Shivashankar@qt.io>
* Fix includeStephan Binner2017-04-201-1/+1
| | | | | Change-Id: Ie7885751121944544465d7efbf38c6744f9e30da Reviewed-by: Paolo Angelelli <paolo.angelelli@qt.io>
* Add geopath qml basic type documentationPaolo Angelelli2017-04-101-0/+32
| | | | | | | Change-Id: I4f0b09cb8aac0b4d4f2d27cf350a30b7ed800f11 Reviewed-by: Nico Vertriest <nico.vertriest@qt.io> Reviewed-by: Alex Blasche <alexander.blasche@qt.io> Reviewed-by: Topi Reiniö <topi.reinio@qt.io>
* Remove moc_* inclusions from source filesPaolo Angelelli2017-02-142-4/+0
| | | | | | Change-Id: I7385348d7b6ec22fa92ed1be65f89e262c38b5c0 Reviewed-by: Michal Klocek <michal.klocek@qt.io> Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
* Merge remote-tracking branch 'origin/5.8' into 5.9Liang Qi2017-02-022-6/+6
|\ | | | | | | Change-Id: I07a2f4160750b548dfee882cb9b5b057d83236e2
| * Update QtLocation and QtPositioning QML versions for 5.8 releasev5.8.0-rc1v5.8.05.8.0Alex Blasche2016-12-072-6/+6
| | | | | | | | | | | | Change-Id: I780c23ae48c548e799c853cd3a5ac1aa77586839 Reviewed-by: Paolo Angelelli <paolo.angelelli@qt.io> Reviewed-by: Michal Klocek <michal.klocek@qt.io>
* | Rename QGeoProjection to QWebMercatorPaolo Angelelli2017-01-162-8/+8
| | | | | | | | | | | | | | | | | | | | QGeoProjection is currently a class containing only static methods for WebMercator conversion/interpolation. This patch renames it to QWebMercator, effectively freeing the QGeoProjection name for a real projection class Change-Id: I15b71d04f7d1d21a1d26f46687ed33aa277f6deb Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
* | QtLocation: Use the newly-introduced qmlWarning instead of qmlInfoRobin Burchell2017-01-131-1/+1
| | | | | | | | | | | | | | | | qmlInfo will shortly be returning info-level messages (as the name hints), rather than warning level messages. Change-Id: I941f716c4fbe0566e1e5b0ecf673faa7283cde10 Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
* | Add support for QGeoPathPaolo Angelelli2016-12-013-0/+33
|/ | | | | | | | | | | | | | This patch adds an addition qgeoshapes, QGeoPath. This represents a geographical path where each consecutive geopoints are connected along the shortest line of constant bearing (rhumb line). The path has a width, in meters, that is used in the contains() method to decide whether a coordinate is or not on the path, based on shortest distance to the rhumb line segments. Change-Id: Ia02780e3c8ac6c6d63a6083f53ea0677f8a21a1d Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
* Improve robustness of QML plugin loadingSimon Hausmann2016-08-261-1/+1
| | | | | | | | | Use a variable that expands to the latest plugin version instead of hard-coding the string. Change-Id: I8f7864e4ead85487943ed2c4dc2ae2584005c1c9 Reviewed-by: Paolo Angelelli <paolo.angelelli@theqtcompany.com> Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
* Update QML version to 5.7 for QtPositioning and QtLocationAlex Blasche2016-04-292-3/+3
| | | | | Change-Id: Ibbd06c3bc6c2c745a8e2fc6ee12a974bb40bf80a Reviewed-by: Laszlo Agocs <laszlo.agocs@theqtcompany.com>
* Merge remote-tracking branch 'origin/5.6' into 5.7Liang Qi2016-02-151-72/+1
|\ | | | | | | | | | | | | Conflicts: .qmake.conf Change-Id: Idf2f674fc45e7ceb4563bc1d86180c3431dfa62f
| * Update qmltypes for QtPositioning QML APIAlex Blasche2016-02-111-72/+1
| | | | | | | | | | | | | | | | I forgot QtPositioning when I updated the QtLocation QML qmltypes. Change-Id: I9616fd510b40c1b58bfce839b3651736c572233a Reviewed-by: Michal Klocek <michal.klocek@theqtcompany.com> Reviewed-by: Alex Blasche <alexander.blasche@theqtcompany.com>
* | Enable using the module in a statically linked applicationAndy Shaw2016-02-041-0/+8
| | | | | | | | | | Change-Id: I2c9652f13421b21cee2cd07c65918aacc4e1a836 Reviewed-by: Alex Blasche <alexander.blasche@theqtcompany.com>
* | Updated license headersAntti Kokko2016-01-2010-142/+202
|/ | | | | | | | | | From Qt 5.7 -> LGPL v2.1 isn't an option anymore, see http://blog.qt.io/blog/2016/01/13/new-agreement-with-the-kde-free-qt-foundation/ Updated license headers to use new LGPL header instead of LGPL21 one (in those files which will be under LGPL v3) Change-Id: Iaee1a5fd53291752a1891710ee375ca32778b142 Reviewed-by: Lars Knoll <lars.knoll@theqtcompany.com>
* Add missing "We mean it" comments to private headers.Friedemann Kleint2015-10-083-0/+33
| | | | | Change-Id: Id3ef277b5610a45ffa42850dd9415e963ed45285 Reviewed-by: Alex Blasche <alexander.blasche@theqtcompany.com>
* Update QML types file for QtPositioning 5.6Alex Blasche2015-08-251-10/+19
| | | | | | | | | The class implementing the animation has changed but the API offering is the same. Change-Id: I950fea89dc67b60123727d4848488f7fc24374cd Reviewed-by: Harald Meyer <dev@meh.at> Reviewed-by: Kai Koehne <kai.koehne@theqtcompany.com>
* Cache coordToMercator result during coordinate animationsMichal Klocek2015-07-033-18/+82
| | | | | | | | | | A calculation of Mercator transformations is expensive. Cache calculated values in QGeoMercatorCoordinatePrivate. Caching is only enabled for QGeoCoordinateAnimation. Default coordinate interpolation does not use caching. Change-Id: I5fe67e6a3da6e4b01c0e0ad33d1f45a152660937 Reviewed-by: Alex Blasche <alexander.blasche@theqtcompany.com>
* Fix map flick animation in qdeclarativegeomapgestureareaMichal Klocek2015-06-303-2/+19
| | | | | | | | | | | | Current implementation is using QPropertyAnimation for flick, which was suitable for old QML1. Use QQuickCoordinateAnimation instead. This change is necessary to control what type of coordinate interpolation is used for flicks. It reverts 58d8b5e84ac6952b411cff3bca7336073349290e. Task-number: QTBUG-46147 Change-Id: I0a3bf263147b3733c617d38c364f66173b806de5 Reviewed-by: Alex Blasche <alexander.blasche@theqtcompany.com>
* Add new types of interpolation to CoordinateAnimationMichal Klocek2015-06-236-108/+304
| | | | | | | | | | | | | | A longitude animation can go in two directions West and East. Current implementation is always using the shortest animation path between two coordinates. Provide setting to overload this behavior. Add 'direction' setting to CoordianteAnimation. Implement two new interpolators and provide new private implementation derived form qquickpropertyanimation. Change-Id: Ida70780c8aef60ebea7a8b8d59f115c583430374 Reviewed-by: Alex Blasche <alexander.blasche@theqtcompany.com>
* Merge branch '5.5' into devAlex Blasche2015-06-151-1/+83
|\ | | | | | | Change-Id: Id8b1ea1c9dc774aa6f0169c410be2c141e384da6
| * Update qmltypes for QtPositioningAlex Blasche2015-06-091-1/+83
| | | | | | | | | | | | Change-Id: I242622fbb6ba5f63b1fa76e2c01d75f978c8e98a Reviewed-by: Michal Klocek <michal.klocek@theqtcompany.com> Reviewed-by: Alex Blasche <alexander.blasche@theqtcompany.com>
* | Register location/position qmlplugins with 5.6Michal Klocek2015-06-031-1/+1
|/ | | | | | Task-number: QTBUG-40043 Change-Id: I28beeae5d550cdc33ec4ab469043745e6cb8d299 Reviewed-by: Alex Blasche <alexander.blasche@theqtcompany.com>
* Provide means to convert GeoShape to appropriate subclass in QMLAlex Blasche2015-05-262-0/+29
| | | | | | Change-Id: I1f0d1540b07af8f385ef670990a8669ec8c973d8 Reviewed-by: Michal Klocek <michal.klocek@theqtcompany.com> Reviewed-by: Alex Blasche <alexander.blasche@theqtcompany.com>
* More fixes to geoshape.type qml documentationAlex Blasche2015-05-221-0/+3
| | | | | | | | | | | - Add \since information. We cannot use \since directly as geoshape is not documentated by proper class doc style. - Add section heading. Change-Id: I0ea15617439454627a34ced78168cdb212beab5f Reviewed-by: Michal Klocek <michal.klocek@theqtcompany.com> Reviewed-by: Alex Blasche <alexander.blasche@theqtcompany.com>
* Fix crash when initiating map flick w/o QtPositioning importAlex Blasche2015-05-203-19/+1
| | | | | | | | | | | | | | | | | | A map flick requires a QPropertyAnimation for a QGeoCoordinate. The required animation interpolator is exported by the QtPositioning QML plugin. In general a QML Location app should always import QtPositioning as well. In this case the import was missing and subsequently the interpolator for the QGeoCoordinate was never registered. This patch ensures that the QtLocation QML code that requires the animation registers the interpolator in addition to the regular QtPositioning registration. Change-Id: I61759418f0cdf1cb30ff946cc325a112e90c1a2f Task-number: QTBUG-46147 Reviewed-by: Michal Klocek <michal.klocek@theqtcompany.com> Reviewed-by: Alex Blasche <alexander.blasche@theqtcompany.com>
* Add updateTimeout() signal to QML PositionSource typeAlex Blasche2015-02-263-2/+50
| | | | | | | | | | QGeoPositionSource has such a signal which we need to forward to QML. Without it QML apps have no way to dertermine a timeout based failure situation. Task-number: QTBUG-44663 Change-Id: I1f8da6a61851b4a8302c9558dd2b4a9088be3de5 Reviewed-by: Aaron McCarthy <mccarthy.aaron@gmail.com>
* Add missing documentation for QtPositioning and fix qdoc warningsAlex Blasche2015-02-251-2/+8
| | | | | Change-Id: I396f937f945f158e7bb19f1f7e4633cfcdeffb72 Reviewed-by: Topi Reiniö <topi.reinio@digia.com>
* Update contact URL in all license headers to qt.ioAlex Blasche2015-02-189-9/+9
| | | | | Change-Id: Ia1e333be7fec8898de609d9b9303b1ad7687632e Reviewed-by: Maurice Kalinowski <maurice.kalinowski@theqtcompany.com>
* Update BSD and LGPLv2.1 licensesAlex Blasche2015-02-189-27/+27
| | | | | | | | - Removes subsidiary extension from Qt Company - Replaces remaining occurrences of Digia in BSD and LGPLv2.1 Change-Id: I7467a6744af7d1c3aef3c29118f219399162a18c Reviewed-by: Maurice Kalinowski <maurice.kalinowski@theqtcompany.com>
* Prepare QtLocation & QtPositioning QML type definition for Qt 5.5Alex Blasche2015-02-172-26/+30
| | | | | | | | | | | | | The GeoShape is compatibile as the class name changes but the functionality and naming is the same in QML. The QtLocation changes are additions which become available and Qt 5.5. is the first official release anyway. Hence the normal rules about \since do not apply. Change-Id: I41d8afea955001845ab143535f6653fce715b9d8 Reviewed-by: Michal Klocek <michal.klocek@theqtcompany.com> Reviewed-by: Aaron McCarthy <mccarthy.aaron@gmail.com>
* Update all LGPLv2.1 license headers in source to latest versionAlex Blasche2015-02-159-36/+36
| | | | | | | | | | | This affects all QtPositioning related code and the test code in the entire repository. The Qt Company is set as new copyright owner and the copyright year is bumped to 2015. Change-Id: Iee0e990680683c20f5920e49cc1063ea9349e2cd Reviewed-by: Lars Knoll <lars.knoll@digia.com>
* Merge remote-tracking branch 'gerrit/5.4' into devAlex Blasche2015-02-112-3/+3
|\ | | | | | | Change-Id: I5ef7649f02455269a8e2caa2f2d2241503586be3
| * Use single-char QString operations for efficiencySergio Ahumada2015-02-091-1/+1
| | | | | | | | | | Change-Id: I45cf92e81e94cf62a21de2e01d9f8039ec1f2672 Reviewed-by: Alex Blasche <alexander.blasche@theqtcompany.com>
| * Rename positioning/flickr example to geoflickrAlex Blasche2015-01-272-2/+2
| | | | | | | | | | | | | | | | | | | | This makes it more compliant with standard naming conventions and more easily distinguishes this example from flickr examples in other modules. Task-number: QTBUG-41831 Change-Id: Id4953777326a0463d57d52df92c70860addc61ff Reviewed-by: Friedemann Kleint <Friedemann.Kleint@theqtcompany.com> Reviewed-by: Alex Blasche <alexander.blasche@theqtcompany.com>
* | Remove obsolete define from QtPositioning QML pluginAlex Blasche2015-02-061-1/+0
| | | | | | | | | | Change-Id: I68011b5546c51eaf5a2fc5ccae40c53536ddb62c Reviewed-by: Aaron McCarthy <mccarthy.aaron@gmail.com>
* | Cleanup QtQml header includes in Positioning and LocationAlex Blasche2015-01-271-3/+0
| | | | | | | | | | | | Change-Id: Ib79de53b05cc5a9edf4ed84021b90809c9816052 Reviewed-by: Aaron McCarthy <mccarthy.aaron@gmail.com> Reviewed-by: Michal Klocek <michal.klocek@digia.com>
* | Merge remote-tracking branch 'origin/5.4' into devFrederik Gladhorn2015-01-191-0/+2
|\ \ | |/ | | | | | | | | | | Conflicts: .qmake.conf Change-Id: I13d7ceaae445a4f2d006031b870bd8b29a900e30
| * Remove "qrc:/" if it is the start of the nmea source urlAndy Shaw2015-01-161-0/+2
| | | | | | | | | | | | | | | | | | | | | | If a relative path is given and the source of the qml file is inside the qrc then it will cause "qrc:/" to be prepended causing it to fail to find the file. Therefore it should also remove "qrc:/" from the start of the url if that exists. Change-Id: I369ae933d77511a8f7b9db7585922b8ad70ef571 Reviewed-by: Aaron McCarthy <mccarthy.aaron@gmail.com> Reviewed-by: Alex Blasche <alexander.blasche@theqtcompany.com>
* | Re-add removed docs for QtPositioning QML value typesAlex Blasche2015-01-151-0/+417
| | | | | | | | | | | | | | | | | | | | | | The documentation was removed by 8bf0a15bfc124fbb664592d4c3f29973fc23262e The change includes and update of the content as well. Change-Id: I2200d989d0de343f9b2776388a4bc3a989851f1f Reviewed-by: Michal Klocek <michal.klocek@digia.com> Reviewed-by: Alex Blasche <alexander.blasche@theqtcompany.com>
* | Cleanup qRegisterMetaType<T>() callsAlex Blasche2015-01-151-5/+5
| | | | | | | | | | | | | | The non-parameter version is much more secure. Change-Id: I70612c60d780a972bbf9c852f50f7b0c6f2a0402 Reviewed-by: Jędrzej Nowacki <jedrzej.nowacki@theqtcompany.com>