summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Fixes a compile error on linux/gcc-4.8 when using C++98v5.6.05.6.0Xander Burgerhout2016-03-031-6/+6
| | | | | | | | | | | Removed GeoMapGesture:: prefix where appropriate, as referring to an enum value in this manner is not allowed in C++98. Task-number: QTBUG-51541 Change-Id: I374d1c8db530d34766772345761fdc899b57d7fe Reviewed-by: Alex Blasche <alexander.blasche@theqtcompany.com> (cherry picked from commit 3d8a8799cc97aedb28f5046f096d4d35da6ef8ef) Reviewed-by: Lars Knoll <lars.knoll@theqtcompany.com>
* Add 5.6.0 change log for QtLocation and QtPositioningv5.6.0-rc1Alex Blasche2016-02-121-0/+69
| | | | | | Change-Id: I16b07f0d84d34665f6f7159046e94aad2392c8fb Reviewed-by: Paolo Angelelli <paolo.angelelli@theqtcompany.com> Reviewed-by: Maurice Kalinowski <maurice.kalinowski@theqtcompany.com>
* Update the QML API difference since Qt 5.4Alex Blasche2016-02-041-6/+22
| | | | | | | | | The recent QML changes were not added to the API change documentation. Change-Id: I8c9dc5656941fa9d266059733b0a6b6cafb636ba Reviewed-by: Paolo Angelelli <paolo.angelelli@theqtcompany.com> Reviewed-by: Harald Meyer <dev@meh.at> Reviewed-by: Alex Blasche <alexander.blasche@theqtcompany.com>
* Update qml types for Qt Location pluginAlex Blasche2016-02-031-456/+55
| | | | | | Task-number: QTBUG-50807 Change-Id: I47cf76b9af700d97f5885307d6be3b3ae35c8666 Reviewed-by: Oliver Wolff <oliver.wolff@theqtcompany.com>
* Merge 5.6 into 5.6.0Oswald Buddenhagen2016-02-021-36/+66
|\ | | | | | | Change-Id: I0ed42c15cff4f572bc59cdc9f021ef2303444ea1
| * Fix endless location requestingVyacheslav Koscheev2016-01-251-36/+66
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch fixes the problem of lost positioning listeners, which was registered in LocationManager, but does not persist in the `runningListeners` collection. We can't call LocationManager.removeUpdates() for those listeners, that are not in `runningListeners` and that's why LocationManager never ends to update location for them. Listener can be registered in LocationManager and not added to `runningListeners` collection at least in the following cases: 1. `startUpdates()` was called when location providers was disabled in system. 2. `startUpdates()` was called twice, without `stopUpdates()` Change-Id: If6777677cbb6f2ad9107fe2ac8496b7cdbb2d8d4 Reviewed-by: Alex Blasche <alexander.blasche@theqtcompany.com>
* | Fix for mapviewer example minimap crashPaolo Angelelli2016-02-011-0/+4
|/ | | | | | | | | | | The mapviewer example crashes when the minimap is set to be shown. The problem is a null pointer dereferencing in qquickgeomapgesturearea.cpp Task-number: QTBUG-50519 Change-Id: I133585e4276a861951aec185c1ce120e76638c5d Reviewed-by: Alex Blasche <alexander.blasche@theqtcompany.com>
* Merge remote-tracking branch 'gerrit/5.5' into 5.6Alex Blasche2016-01-051-2/+2
|\ | | | | | | Change-Id: I0a137c8feba6c7da613b03a67d7cd4521524c58e
| * Fix OSM based routing5.5Alex Blasche2016-01-041-2/+2
| | | | | | | | | | | | | | | | | | | | | | The server changed the status code for a successful route retrieval to 200. Task-number: QTBUG-50240 Change-Id: I98aa444b9a10a69b6a357eb92f6b45d534b4e45d Reviewed-by: Michal Klocek <michal.klocek@theqtcompany.com> Reviewed-by: Harald Meyer <dev@meh.at> Reviewed-by: Laszlo Agocs <laszlo.agocs@theqtcompany.com>
* | Fixed wrong MapPolyline drawing if line point lies on map centerHarald Meyer2016-01-011-1/+3
| | | | | | | | | | | | | | | | | | This patch fixes a bug where the transformation from the source path to the screen points of a MapPolyline fails when a source path point lies exactly on the map's center geo coordinate. Change-Id: I5d13f418d3fbb650b927422861769f3e0ab18bee Reviewed-by: Laszlo Agocs <laszlo.agocs@theqtcompany.com>
* | MapPolyline performance improvementsHarald Meyer2016-01-011-2/+3
| | | | | | | | | | | | | | | | | | | | | | Instead of copying the polyline geometry container object each loop twice in the contains() method the change copies the geometry only once (implicit sharing limits the copying to the container itself). Change-Id: Iee80fa6d49b7e81dea0364b6f9f28a3d2e608d22 Task-number: QTBUG-50060 Reviewed-by: Laszlo Agocs <laszlo.agocs@theqtcompany.com>
* | Emit activeMapTypeChanged in QGeoMap as wellJoni Poikelin2015-12-161-0/+1
| | | | | | | | | | Change-Id: I98bdcfbb57d3d597e23ecaf3bb862daa5a917f00 Reviewed-by: Alex Blasche <alexander.blasche@theqtcompany.com>
* | Added support for Qstarz GPS trackerHarald Meyer2015-12-161-9/+7
| | | | | | | | | | | | | | | | Added support for Qstarz tracker (with MTK II chipset) such as BT-Q818XT for instance. Change-Id: I937358a82ebce76ac1cdaf87458234f8045d11ad Reviewed-by: Alex Blasche <alexander.blasche@theqtcompany.com>
* | Add "We mean it." comment to qpositioningglobal_p.h.Friedemann Kleint2015-12-151-0/+11
| | | | | | | | | | | | | | | | Fix warning: QtPositioning: WARNING: qtlocation/src/positioning/qpositioningglobal_p.h does not have the "We mean it." warning Change-Id: I72d276587e2d1476be3ec26f1e86d0aa9865ac65 Reviewed-by: Alex Blasche <alexander.blasche@theqtcompany.com>
* | Added methods for modifying QDeclarativePolylineMapItem.v5.6.0-beta1Harald Meyer2015-12-143-5/+177
| | | | | | | | | | | | | | | | | | | | | | Added the methods insertCoordinate(index, coordinate), replaceCoordinate(index, coordinate), removeCoordinate(index), pathLength(), coordinateAt(index) to the QDeclarativePolylineMapItem. Change-Id: I8b1f7e01cf814fe6fdb9f2da376793891514b5f0 Reviewed-by: Alex Blasche <alexander.blasche@theqtcompany.com> Reviewed-by: Laszlo Agocs <laszlo.agocs@theqtcompany.com>
* | Fix static buildMaurice Kalinowski2015-12-091-1/+1
| | | | | | | | | | | | | | This has been left out for previous renaming of WinRT related classes. Change-Id: Ic193501c70c3309659d5bf09c3ecf39879d390ba Reviewed-by: Alex Blasche <alexander.blasche@theqtcompany.com>
* | WinRT: Refactor backendMaurice Kalinowski2015-12-095-120/+248
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Move members into private class to clean up the public backend. - Beware of the Xaml changes and switch thread where required. - Add updateSynchronized() slot to be able to start/stop timers properly. onPositionChanged is invoked from another thread, actually one not being created by QThread. Hence other singleShot mechanisms do not work either. - Rename classnames to properly spell WinRT. - Register QGeoPositionInfo to the metatype system like on other backends. Change-Id: Ic62beddff6d8542264a44ca3927ba7b692682c63 Reviewed-by: Oliver Wolff <oliver.wolff@theqtcompany.com> Reviewed-by: Alex Blasche <alexander.blasche@theqtcompany.com>
* | Add clearData() call to map qml apiMichal Klocek2015-12-0711-0/+50
| | | | | | | | | | | | | | | | | | | | | | Add clearData call to clear texture, memory and disk cache. Update mapviewer example and add "prefetchData" and "clearData" to Tools menu. Task-number: QTBUG-47292 Change-Id: Ifc71a3652688d1403f5b011ef231b59381c17ee3 Reviewed-by: Harald Meyer <dev@meh.at> Reviewed-by: Alex Blasche <alexander.blasche@theqtcompany.com>
* | Fix broken weatherinfo exampleAlex Blasche2015-12-072-0/+7
| | | | | | | | | | | | | | | | | | openweathermap.org requires an appid these days. The free plan permits usage for commercial and non-commercial cases. Task-number: QTBUG-49772 Change-Id: I28be90709b4879df515346e03372d494d94a4f01 Reviewed-by: Maurice Kalinowski <maurice.kalinowski@theqtcompany.com>
* | Improve map item rendering performanceMichal Klocek2015-11-2719-133/+155
| | | | | | | | | | | | | | | | | | | | | | | | A flood of input events, such as when pinch, triggers multiple map item geometry updates to occur per frame. These geometry updates are potentially expensive and only the last generated geometry is used. Mark items to be polished to make geometry updates once per frame when updatePolish() is called. Done-with: Aaron McCarthy <aaron.mccarthy@jollamobile.com> Change-Id: I0af40e2d0b09c8364382d4b4c018988f3986f7f0 Reviewed-by: Alex Blasche <alexander.blasche@theqtcompany.com>
* | Fix tile fetcher from test plugin.Michal Klocek2015-11-251-27/+36
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Requesting tiles immediately with test plugin was not implemented, what's more the current delayed implementation was keeping pointer only to last requested tile, which on slow machines ended up on "downloading" only one tile (last one) This change is required to fix the CI qtlocation flaky tests. Change-Id: I107701692a70b45401e7219ad7ee0f4a372efb04 Reviewed-by: Laszlo Agocs <laszlo.agocs@theqtcompany.com> Reviewed-by: Alex Blasche <alexander.blasche@theqtcompany.com>
* | Fix MapGestureArea APIMichal Klocek2015-11-237-153/+212
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Qmlfy map gesture area API: * do not use "is" for properties (panActive,pinchActive) * do not use "active" for accepted gestures (acceptedGestures) * do not use "ZoomGestures" (PinchGesture) * make private panEnabled, pinchEnabled * remove pan/pinchEnabled signals * update documentation * fix order of emitting panFinished, flickFinished [ChangeLog][MapGestureArea] Improve QML API including renaming and removal of obsolete elements. Change-Id: I643c923dcd94388475feb402b29ce3df916037a7 Reviewed-by: Laszlo Agocs <laszlo.agocs@theqtcompany.com>
* | Avoid extra QPixmap convertion when tile fetchedMichal Klocek2015-11-232-10/+10
| | | | | | | | | | | | | | | | Initialize QGeoTileTexture with QImage instead of converting from QPixmap Change-Id: I69dddda385ebc9ce63cb0dd68fee3d3fa6eed73f Reviewed-by: Laszlo Agocs <laszlo.agocs@theqtcompany.com>
* | Add missing handling of pathChanged to route map itemMichal Klocek2015-11-232-0/+10
| | | | | | | | | | | | | | Done-with: Aaron McCarthy <aaron.mccarthy@jollamobile.com> Change-Id: I016a30064e29872dfd199fdf09656f5358dbe604 Reviewed-by: Alex Blasche <alexander.blasche@theqtcompany.com> Reviewed-by: Laszlo Agocs <laszlo.agocs@theqtcompany.com>
* | Remove fitViewportToGeoShape from map qml apiMichal Klocek2015-11-235-101/+11
| | | | | | | | | | | | | | | | | | Use visibleRegion to fit the map's viewport [ChangeLog][Map] Remove fitViewportToGeoShape from map qml api Change-Id: I378329602a5c1f4cceda327f7abcca61c1217564 Reviewed-by: Laszlo Agocs <laszlo.agocs@theqtcompany.com>
* | Remove toScreenPosition from map qml apiMichal Klocek2015-11-232-16/+0
| | | | | | | | | | | | | | Remove already deprecated toScreenPosition reference Change-Id: I64f0f621599067807f0d467c689f6ef0409a17ea Reviewed-by: Alex Blasche <alexander.blasche@theqtcompany.com>
* | Share common data between b2qt emulator and simulator pluginMichal Klocek2015-11-235-7/+69
| | | | | | | | | | | | | | | | | | Share position information structs between client and server implementations for simulator plugin. Required structs exported as private export. Change-Id: I7c8fb4b93d8cacd6217096e28f770409c8939c29 Reviewed-by: Alex Blasche <alexander.blasche@theqtcompany.com>
* | Fix coordianteAnimation testMichal Klocek2015-11-231-2/+6
| | | | | | | | | | Change-Id: I755630bb361a83e67a329c6c07048623fe566ede Reviewed-by: Tim Jenssen <tim.jenssen@theqtcompany.com>
* | Add support for custom map background colorHarald Meyer2015-11-222-2/+34
| | | | | | | | | | | | | | | | | | This update adds the property "color" to the QDeclarativeGeoMap which holds the background color of the map element. Change-Id: Iacb31c2d030b22fef4c068df14de020ed10438a1 Reviewed-by: Michal Klocek <michal.klocek@theqtcompany.com> Reviewed-by: Laszlo Agocs <laszlo.agocs@theqtcompany.com>
* | Fix route requests with excluded areasAaron McCarthy2015-11-181-8/+5
| | | | | | | | | | | | | | | | | | | | | | Due to a typo in the loop condition excluded areas were excluded from the generated request string. [ChangeLog][QtLocation][Here plugin] Fix route requests with excluded areas. Change-Id: I3f5d5bb7b4b9ab660dc0288f0ed54d02a1e7068b Reviewed-by: Alex Blasche <alexander.blasche@theqtcompany.com>
* | Do not cache empty tiles.Harald Meyer2015-11-181-0/+3
| | | | | | | | | | | | | | | | With this update tiles which failed to load and have zero data are not saved (cached). Change-Id: I580db9096553d403d89c135bcf90ac5fb4c97fe8 Reviewed-by: Laszlo Agocs <laszlo.agocs@theqtcompany.com>
* | geocode tests: use tryCompare after waitLaszlo Agocs2015-11-031-50/+25
| | | | | | | | | | Change-Id: I9ee2842ec3969323b3195e5a7690bebb0a05029c Reviewed-by: Frederik Gladhorn <frederik.gladhorn@theqtcompany.com>
* | Merge remote-tracking branch 'origin/5.5' into 5.6Liang Qi2015-10-281-0/+54
|\ \ | |/ | | | | Change-Id: I6ba40d6baf02c6c63258abc958187d0000bce31e
| * Add changelog for QtLocation & QtPositioning 5.5.1 releasev5.5.15.5.1Alex Blasche2015-09-231-0/+54
| | | | | | | | | | Change-Id: I73749febdd25ab00103b386c204cee21c263b13f Reviewed-by: Laszlo Agocs <laszlo.agocs@theqtcompany.com>
* | Remove createTileCacheWithDir from QGeoTiledMappingManagerEngineMichal Klocek2015-10-273-12/+4
| | | | | | | | | | | | | | | | | | Recent change adds setter for TileCache, use new setter in here plugin, remove obsolate create function. Change-Id: I8f5ee726f6c14ea6fa2adf82a4713d5b37c6a78b Reviewed-by: Alex Blasche <alexander.blasche@theqtcompany.com> Reviewed-by: Laszlo Agocs <laszlo.agocs@theqtcompany.com>
* | Added method to set the map cacheHarald Meyer2015-10-264-17/+25
| | | | | | | | | | | | | | | | | | | | | | | | This update adds a new method "setTileCache" to the QGeoTiledMappingManagerEngine class. The method allows custom map implementations to set their own cache. The update also fixes a compiler warning (ctor variable order) and adds Q_DECL_OVERRIDE checks. Change-Id: I22cfdb218ae5c9af145d688f11aab655f4ed3e4b Reviewed-by: Alex Blasche <alexander.blasche@theqtcompany.com>
* | Split QGeoTileCache for easier customization of the tile cache.Harald Meyer2015-10-2218-144/+347
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The QGeoTileCache is split into two classes: The abstract class QAbstractGeoTileCache offers interfaces for inserting and getting tiles, as well as getting cache status information such as used texture memory. The new class QGeoFileTileCache implements QAbstractGeoTileCache and offers a file based caching implementation (the implementation is the same as before splitting the class). Change-Id: I2eab7491d489ac5b251c1296b67688901f5cc7d7 Reviewed-by: Laszlo Agocs <laszlo.agocs@theqtcompany.com>
* | Doc: Update examplesinstallpath to include the repository nameTopi Reinio2015-10-212-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | The examplesinstallpath variable in .qdocconf files defines the path under QT_INSTALL_EXAMPLES where examples are found. To match the way examples are packaged in Qt 5.6, prefix each install path with the repository name. Task-number: QTBUG-48736 Change-Id: Ie14b7b15f94e96540d94a7384530faabd8b539f3 Reviewed-by: Venugopal Shivashankar <venugopal.shivashankar@digia.com>
* | Fix LGPLv3 headersAlex Blasche2015-10-152-41/+32
| | | | | | | | | | Change-Id: If3656e908659585e3bad871ae92bb67101877392 Reviewed-by: Simon Hausmann <simon.hausmann@theqtcompany.com>
* | Update supported platform list for PositioningLaszlo Agocs2015-10-091-2/+3
| | | | | | | | | | Change-Id: I89fda2e203ea596dc4975c3b0c87b8e47565489d Reviewed-by: Alex Blasche <alexander.blasche@theqtcompany.com>
* | Add qtserialport-based NMEA position plugin for WindowsLaszlo Agocs2015-10-096-0/+202
| | | | | | | | | | | | | | | | | | | | GPS receivers typically come with USB-to-serial drivers for Windows. This allows reading NMEA sentences via Qt Serial Port, thus providing basic GPS positioning support for all desktop Windows versions. Task-number: QTBUG-48082 Change-Id: Ie053dffaaf76bc08b2b6148104fd981b0f1ccc6b Reviewed-by: Alex Blasche <alexander.blasche@theqtcompany.com>
* | Add missing "We mean it" comments to private headers.Friedemann Kleint2015-10-0861-0/+671
| | | | | | | | | | Change-Id: Id3ef277b5610a45ffa42850dd9415e963ed45285 Reviewed-by: Alex Blasche <alexander.blasche@theqtcompany.com>
* | Doc: replaced \target with \keyword at top of pageNico Vertriest2015-10-012-2/+2
| | | | | | | | | | | | | | Task-number: QTBUG-48482 Change-Id: I24aa4f3fbca69c4bf6db9da2c785693d230eb5f1 Reviewed-by: Venugopal Shivashankar <venugopal.shivashankar@digia.com> Reviewed-by: Topi Reiniö <topi.reinio@digia.com>
* | Purge spurious execute permissions from a text file.Edward Welbourne2015-09-291-0/+0
| | | | | | | | | | | | Change-Id: I5b9b46aafa8e8bf79c7ba54ecab9a4523a3d4476 Reviewed-by: Frederik Gladhorn <frederik.gladhorn@theqtcompany.com> Reviewed-by: Jędrzej Nowacki <jedrzej.nowacki@theqtcompany.com>
* | Bump all QtLocation 5.5 tags to 5.6Alex Blasche2015-09-2388-88/+88
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 5.5 was a tech preview release. The real release is 5.6. Some 5.5 interfaces did change. It is possible that there are apps in existence which are based on the 5.5 API's. To avoid miscommunication we bump all version tags to the real first release version. The existing 5.5 QML imports will continue to work but apps may encounter API changes when they move from 5.5 to 5.6. The API changes are listed in the QtLocation documentation. Change-Id: Ia7000e871a5ee6b09234e5d58d4fc8927e93b154 Reviewed-by: Laszlo Agocs <laszlo.agocs@theqtcompany.com>
* | Remove TP marker from official documentationAlex Blasche2015-09-231-3/+0
| | | | | | | | | | | | | | Starting with Qt 5.6 the API commit is given. Change-Id: I795cc7385a8216646bd972e08635f025260be4de Reviewed-by: Laszlo Agocs <laszlo.agocs@theqtcompany.com>
* | Check if GenericCacheLocation is writable before trusting itLaszlo Agocs2015-09-221-0/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | Enforced application isolation (AppArmor) may make it impossible to write to $HOME/.cache as applications are only allowed to use their own specific directories (as returned by CacheLocation). QtCore is not able to recognize this so the value returned for GenericCacheLocation is still non-empty in this case. Therefore do a write check. Task-number: QTBUG-41187 Change-Id: I6ad136abc69997d25715dcdbbc1b8ffb55ec65e0 Reviewed-by: Alberto Mardegan <mardy@users.sourceforge.net> Reviewed-by: Alex Blasche <alexander.blasche@theqtcompany.com>
* | Do not crash in new gesture areas when getting a wheel eventLaszlo Agocs2015-09-171-1/+6
| | | | | | | | | | | | | | | | | | | | | | Newly constructed gesture areas lacked a null check for m_map. Thus sending a wheel event results in a crash. This is visible with the mapviewer example when attempting to change the provider but failing due to not having the necessary keys specified. Change-Id: I5983de284f528d4a682b5b239e807e0748bcd740 Reviewed-by: Alex Blasche <alexander.blasche@theqtcompany.com> Reviewed-by: Michal Klocek <michal.klocek@theqtcompany.com>
* | Isolate the default cache directoryLaszlo Agocs2015-09-156-15/+38
| | | | | | | | | | | | | | | | | | | | | | | | | | Instead of having it in several random places, have a central function that contains all the cache directory selection logic. As per QtCore docs GenericCacheLocation can be empty so introduce a fallback to CacheLocation (the app-specific, non-shared location) in case some future platform does not support the former. Task-number: QTBUG-41187 Change-Id: Icfe5e8926e917483ac11844f625244318ff815c7 Reviewed-by: Alex Blasche <alexander.blasche@theqtcompany.com>
* | Enable positioning for OS XLaszlo Agocs2015-09-103-1/+6
| | | | | | | | | | | | | | | | | | | | Core Location works just fine. Add also a helpful hint to the "unknown" error that comes when Wi-Fi is turned off. Change-Id: I0240f1e070217e19aff4c9329d680dd9991b74b1 Reviewed-by: Alex Blasche <alexander.blasche@theqtcompany.com>