summaryrefslogtreecommitdiff
path: root/src/positioning
Commit message (Collapse)AuthorAgeFilesLines
...
* | QGeoPath: fix clear APIv5.12.0-alpha1Samuel Gaist2018-09-122-2/+2
| | | | | | | | | | | | | | | | | | Change the clear method name from clearPath to just clear to follow more closely the other Qt APIs. Change-Id: I98d4ea43e69e3d365c2c470e9b8b14479f288fe6 Reviewed-by: Paolo Angelelli <paolo.angelelli@qt.io> Reviewed-by: Lars Knoll <lars.knoll@qt.io>
* | Add hole support in QGeoPolygonJulian Sherollari2018-08-204-0/+156
| | | | | | | | | | | | | | | | [ChangeLog][QtPositioning] Added holes in QGeoPolygons Change-Id: I490bcf8c4a6d9f35fa364072d8ea70b914bfc640 Reviewed-by: Alex Blasche <alexander.blasche@qt.io> Reviewed-by: Paolo Angelelli <paolo.angelelli@qt.io>
* | Add property for QGeoPolygon's perimeter and QML autotests using itPaolo Angelelli2018-07-232-3/+39
| | | | | | | | | | | | | | QML autotests were previously missing. Change-Id: Id2c3a7fc61c57cef369dda109dbbfca183979443 Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
* | Merge remote-tracking branch 'origin/5.11' into devQt Forward Merge Bot2018-07-071-18/+17
|\ \ | |/ | | | | Change-Id: Ib9f54662206dd80389fa211cf650eb3599938fbb
| * Fix naming in qgeopolygon.cppPaolo Angelelli2018-07-031-18/+17
| | | | | | | | | | | | | | | | | | Documentation as well as variant conversions global static had the wrong name. Change-Id: I43517d6a395a101520344e41cc2cbe97698ac0b2 Reviewed-by: Shawn Rutledge <shawn.rutledge@qt.io> Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@qt.io>
* | QGeoPath: implement clear functionSamuel Gaist2018-06-273-0/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | QGeoPath is missing a function to clear its content. This patch implements it. [ChangeLog][Positioning] QGeoPath can now be cleared directly using clearPath. Task-number: QTBUG-62875 Change-Id: I215edf180d11002c6f7e57bb10b008e935f32340 Reviewed-by: Alex Blasche <alexander.blasche@qt.io> Reviewed-by: Paolo Angelelli <paolo.angelelli@qt.io>
* | Merge remote-tracking branch 'origin/5.11' into devQt Forward Merge Bot2018-06-234-45/+199
|\ \ | |/ | | | | Change-Id: Idcdc09a031efbc418b36214b949aded91391a1ed
| * Combine NMEA sentences - Live modePaolo Angelelli2018-06-214-44/+198
| | | | | | | | | | | | | | | | | | | | This patch combines multiple nmea sentences related to the same update, preventing the push of multiple separate updates with the same timestamp. Task-number: QTBUG-64699 Change-Id: I082cd46924afe0f00e510dc059ff8594373b1e67 Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
| * Reduce minimum NMEA update intervalPaolo Angelelli2018-06-211-1/+1
| | | | | | | | | | | | | | | | Some devices can generate up to 100 updates per second. So the old 100msec minimum update interval was too limiting. Change-Id: I539e308e0249166714d4fb567f8b78c136bc77cb Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
* | Merge remote-tracking branch 'origin/5.11' into devQt Forward Merge Bot2018-06-122-32/+67
|\ \ | |/ | | | | Change-Id: Id27e5a31f3a72eac38b976d546a1f733226cd5ae
| * Refactor QLocationUtils NMEA supportPaolo Angelelli2018-06-062-32/+67
| | | | | | | | | | | | | | | | Introduced an enum with currently supported NMEA sentences. NMEA sentence detection factored out in a separate function. Change-Id: Ib63f7bbedad51844c12b532f8d80988227e2f121 Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
* | Merge remote-tracking branch 'origin/5.11' into devQt Forward Merge Bot2018-05-261-4/+9
|\ \ | |/ | | | | Change-Id: I62794d052a60f4078d3c6aa3912df5893f7a8585
| * QNmeaPositionInfoSource: improve timestamp comparison for updatesPaolo Angelelli2018-05-181-6/+8
| | | | | | | | | | | | | | | | | | | | It can happen that sentences arrive out of order (older sentences after newer sentences). In this case, discard the old data. Task-number: QTBUG-64699 Change-Id: Id1c965c5ecc32d59dbf271410bc0191e262fa269 Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
| * QNmeaPositionInfoSource: improve timestamp comparisonPaolo Angelelli2018-05-181-1/+4
| | | | | | | | | | | | | | | | | | Do not use date but only time, if one or both timestamps do not have a valid date. Task-number: QTBUG-64699 Change-Id: I0b8827c84c88df257e45204c11bf9d21e8055c4b Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
* | Merge remote-tracking branch 'origin/5.11' into devPaolo Angelelli2018-05-163-2/+11
|\ \ | |/ | | | | Change-Id: Ied604f4c229a976749457034eba8ae2f2a385c06
| * Doc: Add license details to index page of Qt PositioningKai Koehne2018-05-141-0/+9
| | | | | | | | | | Change-Id: I2724e771c18940a153bf0428948c32dd47a58554 Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
| * Bump Qt Positioning and Location import versions to latest 5.11Alex Blasche2018-04-192-2/+2
| | | | | | | | | | Change-Id: I846f00703b2c6c173e445bf053a92098626db8e2 Reviewed-by: Kai Koehne <kai.koehne@qt.io>
* | Merge remote-tracking branch 'origin/5.11' into devPaolo Angelelli2018-04-266-87/+13
|\ \ | |/ | | | | Change-Id: I566c63a233b2b53e89a2ce288bafd8a9a06cc86c
| * Remove dead codePaolo Angelelli2018-04-182-25/+0
| | | | | | | | | | | | | | Removing a method introduced in 5.9 and apparently never used. Change-Id: Ia1b8bf47630ca84ec2debb12e2e475efc6773ad9 Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
| * Merge remote-tracking branch 'origin/wip/navigation' into 5.11Paolo Angelelli2018-04-171-0/+6
| |\ | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: src/location/declarativemaps/qgeomapobject.cpp src/location/declarativemaps/qgeomapobject_p_p.h src/plugins/geoservices/itemsoverlay/qgeomapitemsoverlay.h Change-Id: Iab847e16011b2095d307e2a3610bf9157ae7b92d
| | * Introduce map objects reference implementationPaolo Angelelli2018-04-171-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch introduces a reference implementation for the QGeoMapObject subclasses in the locationlabs module. If this module is built, all current plugins, with the exception of mapboxgl, will also be able to render map objects. The current reference implementation of map objects is not optimized, but it can be useful for both testing and feature parity (so that switching between plugins will give the same result). Change-Id: I830ebb3813f219e42c085f450952a2b4327361cd Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
| * | API Fix: remove QGeoCoordinate <-> QGeoCoordinateObjectPaolo Angelelli2018-04-172-59/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This was some code needed for supporting something that eventually did not get in. So we can as well remove it altogether from the API. Change-Id: Ibbfc50fb950c316308ce1d666e39da33527faa9e Reviewed-by: Lars Knoll <lars.knoll@qt.io> Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
| * | Improve QGeoPath::path documentation and add autotestsv5.11.0-beta4Paolo Angelelli2018-04-121-3/+7
| | | | | | | | | | | | | | | | | | Change-Id: I8359c79f114abd0006012098cc154695013e0512 Reviewed-by: Venugopal Shivashankar <Venugopal.Shivashankar@qt.io> Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
* | | Add QGeoPositionInfoSource::supportedPositioningMethodsChangedPaolo Angelelli2018-04-092-0/+9
|/ / | | | | | | | | | | | | | | The signal is meant to be emitted by backends Task-number: QTBUG-66427 Change-Id: I8bc123e358dc76489b5eac85f397cd7f40072335 Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
* | Doc: Fix all documentation warningsTopi Reinio2018-03-278-24/+47
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix multiple warnings caused by invalid documentation configuration, missing QML module specifiers, wrong QML type names, incorrect arguments for the \fn command, and missing documentation. Remove incorrect statement from the example usage of the Waypoint QML type. Use 'QtLocation' as the name for the module throughout the docs. Clang (used as the parser for QDoc in Qt 5.11) was unable to resolve the path for qlocation.h, causing QDoc to omit the QLocation namespace documentation. Fix this by including the file explicitly from qlocationglobal.h for documentation builds. Change-Id: I2bd790db1ff5ad96f0cdb415a682b97593b3a6dc Reviewed-by: Martin Smith <martin.smith@qt.io>
* | Declare/Register metatype for QGeoPositionInfoPaolo Angelelli2018-03-232-0/+3
|/ | | | | | | | | | Instead of doing it all over the place, declare it in qgeopositioninfo.h and register it in QGeoPositionInfoSource() as well as in positioning.cpp Task-number: QTBUG-65937 Change-Id: I819af3393921bdc9ca46832d5b4181d41546dac0 Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
* Fix export for QDoubleVector2D and QDoubleVector3DPaolo Angelelli2018-03-192-4/+4
| | | | | Change-Id: I422b4e67843fe1910f85299cec437a5c7c24814d Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
* qgeopositioninfo_p.h: Add "We mean it" commentFriedemann Kleint2018-03-191-0/+11
| | | | | | | | Fix warning: QtPositioning: WARNING: .../qtlocation/src/positioning/qgeopositioninfo_p.h does not have the "We mean it." warning Change-Id: I1f36f5505316b06b22522877bf53660fdfee79b1 Reviewed-by: Paolo Angelelli <paolo.angelelli@qt.io>
* Merge remote-tracking branch 'origin/5.10' into 5.11Liang Qi2018-02-197-61/+288
|\ | | | | | | | | | | | | | | | | | | | | | | Conflicts: src/location/declarativemaps/qdeclarativegeomap.cpp src/location/maps/qgeomap.cpp src/location/maps/qgeomap_p_p.h src/location/maps/qgeorouteparserosrmv5.cpp src/location/maps/qgeotiledmap.cpp src/positioning/positioning.pro Change-Id: I42f8b176a8f3e824c7fe5b067a958735173f0dbb
| * Merge remote-tracking branch 'origin/5.9' into 5.10Liang Qi2018-01-267-61/+288
| |\ | | | | | | | | | | | | | | | | | | | | | Conflicts: tests/auto/qgeotiledmap/tst_qgeotiledmap.cpp tests/plugins/declarativetestplugin/testhelper.h Change-Id: Ie218ab1dc68642a6922e05e5688c20b90440b72e
| | * Fix NmeaPositionInfoSource not combining sentences - simulation modePaolo Angelelli2018-01-106-60/+285
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
| | * Document that WinRT plugin can be used for Win32 env (if platform is Win10)Alex Blasche2018-01-091-1/+3
| | | | | | | | | | | | | | | | | | | | | Task-number: QTBUG-65325 Change-Id: I46bbca4d90ef9d96be91ffbb2346f8f4e6da8855 Reviewed-by: Mika Salmela <mika.salmela@qt.io> Reviewed-by: Maurice Kalinowski <maurice.kalinowski@qt.io>
* | | Fix positioning projectPaolo Angelelli2018-02-192-1/+11
| | | | | | | | | | | | | | | | | | | | | | | | Remove a non-existing header, and add the we mean it disclaimer on a private header missing it. Change-Id: I47847f0cf86693298fc1e778979ecfa3d1f9cc34 Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
* | | Replace Q_NULLPTR with nullptrKevin Funk2018-02-052-2/+2
| | | | | | | | | | | | | | | Change-Id: Icbebfaae93cc5827d80ef09323ec82868789838a Reviewed-by: Lars Knoll <lars.knoll@qt.io>
* | | Replace Q_DECL_OVERRIDE with overrideKevin Funk2018-02-053-24/+24
| | | | | | | | | | | | | | | Change-Id: Iaa670de181255ea570fcf7bcbe465987ef7fc2fc Reviewed-by: Lars Knoll <lars.knoll@qt.io>
* | | Add sync.profile and configure.json to .pro filesPaolo Angelelli2018-01-241-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | So that they show up in creator and can be inspected/modified easily. Change-Id: Ice26038fd9542496ea98221d6a8b0b05620507dd Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@qt.io> Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@qt.io>
* | | qgeopath.h: Fix include directiveFriedemann Kleint2018-01-021-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | Add the module name. Amends a080df7b8810dd89121a20b1b5750015ab1f9f2d. Change-Id: Id21fb3c2eb7d666c9c7f6ecd05e6775a82ca0f30 Reviewed-by: Paolo Angelelli <paolo.angelelli@qt.io>
* | | Make QGeoPath::path a qvariantlist propertyPaolo Angelelli2017-12-052-3/+36
| | | | | | | | | | | | | | | Change-Id: I1f21d25832c7eb87d4a68a89e556f5c859498c2d Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
* | | Introduce WaypointPaolo Angelelli2017-11-305-1/+228
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch replaces QGeoCoordinate with Waypoint as mean to specify waypoints in a RouteQuery. This patch also adds a new invokable to RouteQuery, waypointObjects, to return QDeclarativeGeoWaypoints instead of QGeoCooordinates. NOTE: If, by 5.11, support to perform implicit conversions in method invocations based on converters registered in the metatype system will be added, this method could/should be removed, and QDeclarativeGeoWaypoint objects should be return as QVariants from the waypoints() getter, as they could be used in place of QGeoCoordinate when passing them as arguments. Task-number: QTBUG-64066 Change-Id: I77747f53cdcbabe6430580b60fa59d4afe8c650a Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
* | | Merge remote-tracking branch 'origin/5.10' into devLiang Qi2017-11-2011-45/+74
|\ \ \ | |/ / | | | | | | Change-Id: I9adfdf056dd04f33e9fbd01bcb2ca2ad75e95007
| * | Merge remote-tracking branch 'origin/5.9' into 5.10v5.10.0-beta3Liang Qi2017-10-2610-44/+74
| |\ \ | | |/ | | | | | | | | | | | | | | | Conflicts: .qmake.conf Change-Id: I9a3d7ec0bb203ac8b5bd483af3973510ca33c4a9
| | * Fix outdated BSD license headerKai Koehne2017-10-173-9/+39
| | | | | | | | | | | | | | | | | | | | | Use new version with commercial exception. Change-Id: I11058c94138615f7df2f99b6c3245ab075cd8222 Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
| | * Fix outdated FDL headerKai Koehne2017-10-177-35/+35
| | | | | | | | | | | | | | | Change-Id: Ie9771204ea1aa46e333d96ab0f392c795c512946 Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
| * | positioning.pro: Remove qgeopolygon_p.hFriedemann Kleint2017-10-241-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | Fix qmake warning: WARNING: Failure to find: qgeopolygon_p.h Change-Id: If943dce0cc9957bc877f3dcaf61a5ddf0d832421 Reviewed-by: Paolo Angelelli <paolo.angelelli@qt.io>
* | | Android: remove support for local/debug deploymentJake Petroules2017-09-061-2/+0
|/ / | | | | | | | | | | | | | | | | | | | | | | | | | | This removes the pre-dexed JAR files activated by the absence of the bundled_jar_file CONFIG option, as versions of Android >= 5 no longer support this deployment mechanism. Now, the "bundled" JARs simply become normal JARs containing class files, and are neither activated by a bundled_jar_file CONFIG entry nor do they have a -bundled suffix in the file's base name. Task-number: QTBUG-62995 Change-Id: Ie562ba8120c38ef2c0be546db8f0ce65718816f4 Reviewed-by: BogDan Vatra <bogdan@kdab.com>
* | Merge remote-tracking branch 'origin/5.9' into 5.10Paolo Angelelli2017-09-051-1/+1
|\ \ | |/ | | | | Change-Id: Ibfd8b430011abb0a7174bbcc158b03f8e26492eb
| * Add a configure feature for each geoservice pluginPaolo Angelelli2017-08-301-1/+1
| | | | | | | | | | | | | | | | This patch makes it possible to disable geoservice plugins at configuration time using the QtLite -no-feature-geoservices_xxx syntax. Change-Id: I276382833db8cfca27383705cbb3f994ced47cb3 Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
* | Merge remote-tracking branch 'origin/5.9' into devPaolo Angelelli2017-08-101-1/+1
|\ \ | |/ | | | | | | | | | | Conflicts: tests/auto/declarative_ui/tst_map.qml Change-Id: If408b8242b39f78926b5373393f3b1f65b262499
| * Fix visible region computation in QGeoProjectionWebMercatorPaolo Angelelli2017-08-091-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Currently the visible region is calculated as the intersection between the viewing frustum and the map plane clipped against the map extended rectangle in mercator space (from -1 to 2 in x coords, 0 to 1 in y coords). The result is correct in the extended mercator space. However, this may lead to overlapping coordinates when converted back to latitude and longitude. For this reason, this patch changes the clipping geometry to be the map un-extended rectangle centered around the current map center. The result is a geometry that never wraps around or overlaps, thus removing the need for handling separately the case when the map is fully visible when returning the visible region. Task-number: QTBUG-57690 Change-Id: I8396c40a123ce94bff4388dfefbd8a694657b8bd Reviewed-by: BogDan Vatra <bogdan@kdab.com>
* | Add QGeoPolygon to QtPositioningPaolo Angelelli2017-08-047-16/+522
| | | | | | | | | | | | | | | | | | | | | | 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>