summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* weatherinfo: improve update behavior of weatherinfo example5.3Fawzi Mohamed2014-09-033-10/+75
| | | | | | | | Ensure that new data will get processed, and that error can be recovered, while avoiding an excessive load on the server. Change-Id: I1c3a0b17eb0cc31553013e953d7dcf46060daef1 Reviewed-by: Alex Blasche <alexander.blasche@digia.com>
* Bump versionFrederik Gladhorn2014-08-291-1/+1
| | | | Change-Id: I9ba0ee3a88beaf14a0e6627aa3dff377b57619ae
* OSX: Fix QGeoPositionInfo attribute values with corelocation plug-inv5.3.2Alex Blasche2014-08-151-4/+8
| | | | | | | | | | | Fix corelocation plugin to return "nan" values for the QGeoPositionInfo attributes which aren't available. Task-number: QTBUG-38300 Change-Id: Id4c6eb69ef65fccfd7de32ec476d3afa3c4bbf98 Reviewed-by: Aaron McCarthy <mccarthy.aaron@gmail.com> Reviewed-by: Timur Pocheptsov <Timur.Pocheptsov@digia.com> Reviewed-by: Alex Blasche <alexander.blasche@digia.com>
* Don't hang weatherinfo if position source has an error.Alex Blasche2014-08-142-1/+19
| | | | | | | | We continue with the simulation mode. Task-number: QTBUG-40702 Change-Id: I130b0080a198a218803986fb7ff06fdd0b83186a Reviewed-by: Aaron McCarthy <mccarthy.aaron@gmail.com>
* Enforce the use of test.source position plug-in in auto testsAlex Blasche2014-08-142-2/+1
| | | | | | | | | | This avoids that platform specific plug-ins such as the geoclue plug-in on Linux interfere with auto tests. The auto tests require the specific test plug-in values to succeed. Task-number: QTBUG-40702 Change-Id: I1c3ea9f6d23e1ad20815a86ded7815e498016af2 Reviewed-by: Aaron McCarthy <mccarthy.aaron@gmail.com>
* Report error when failing to connect to Geoclue.Aaron McCarthy2014-08-132-8/+26
| | | | | | | | | [ChangeLog][QtPositioning][QGeoPositionInfoSource] Report errors when failing to connect to Geoclue. Task-number: QTBUG-40425 Change-Id: If3fa0929b724aa70a1fed01b5951f5bc9bd5adad Reviewed-by: Alex Blasche <alexander.blasche@digia.com>
* Add changelog for QtPositioning 5.3.2 release.Alex Blasche2014-08-131-0/+50
| | | | | Change-Id: If443639a44cc22e3e81571033aaee9e4cf188a7b Reviewed-by: Jerome Pasion <jerome.pasion@digia.com>
* Fix fitViewportToMapItemsRefineWolfgang Bremer2014-08-111-21/+6
| | | | | | | | | | | | The item counter was broken. Therefore the bounding box calculation only worked under certain circumstances. This commit removes the circle special case calculation, which is superfluous, and treats all map items the same way. Change-Id: Ida0a6cf695fb151132bc867eb30ecb834a5bf6c5 Reviewed-by: Fabian Bumberger <fbumberger@rim.com> Reviewed-by: Aaron McCarthy <mccarthy.aaron@gmail.com> Reviewed-by: Alex Blasche <alexander.blasche@digia.com>
* Avoid potential double deletion when handling OSM route repliesAlex Blasche2014-08-111-0/+3
| | | | | Change-Id: I15ab944e7b9e7cecc8ff9122183c438fd006e65b Reviewed-by: Robin Burchell <robin+qt@viroteck.net>
* Fix QGeoRouteReplyOsm::networkReplyFinishedWolfgang Bremer2014-08-111-2/+11
| | | | | | | | | | | | | It can happen that the osm router does not find a route between the specified points. In this case it returns a json object with a status code other than 0 and an error message. This commit notifies the app developer that an error occurred and that no valid route is available. Prior this it was not possible to catch the error message. Change-Id: I172ae3cf9dfcd80e5a162110178203084071c9b0 Reviewed-by: Aaron McCarthy <mccarthy.aaron@gmail.com> Reviewed-by: Alex Blasche <alexander.blasche@digia.com>
* Fix issues with MapItemView.Aaron McCarthy2014-07-152-50/+44
| | | | | | | | | | | | | | | | MapItemView did not allow clearing either the model or the delegate. There is no reason to restrict clearing these properties. Doing so makes it difficult to temporarily hide the view setting a null model. Signal connections between the model and the view were never disconnected, which could result in strange behavior if a single view is used to display multiple models. Removed unneeded member variables and declared but unimplemented member functions. Change-Id: Ife4745ab38104460960c18419ed1b95e72ffab23 Reviewed-by: Alex Blasche <alexander.blasche@digia.com>
* Fixed symbol clash between sensor and positioning plug-in on iOSAlex Blasche2014-07-141-3/+3
| | | | | | | | | | locationDelegate is used by two iOS plug-ins at the same time. This removes the duplicate names and thus fixes the build if the same application happens to use the two APIs. Task-number: QTBUG-40198 Change-Id: I7bb0c1400f1a088a70854b522ca81ee58f1abbb0 Reviewed-by: Eike Ziller <eike.ziller@digia.com>
* Fix the names of the plugin factory classes for static plugin loadingAlex Blasche2014-06-2512-13/+14
| | | | | | | | | | | | | | | This breaks positioning on IOS and any other statically build Qt versions. At the same time rename the positionpoll factory class to a more appropriate name to avoid confusion. [ChangeLog][QtPositioning] [iOS] Fixed link error of positioncl and positionpoll plug-in. Task-number: QTBUG-39843 Change-Id: Ic3d5687571cd9e7a531f9958675b895cf22ac13e Reviewed-by: Fawzi Mohamed <fawzi.mohamed@digia.com>
* Bump versionOswald Buddenhagen2014-06-181-1/+1
| | | | Change-Id: I01fba9edd3b4e1cfb7c7547b65da00c71e488844
* Fix wrong qreal architecture checksv5.3.1Dmitry Shachnev2014-06-123-42/+33
| | | | | | | | | | | | | | | Since Qt 5.2, qreal is double on all architectures by default, but some vendors (like Jolla) still use qreal = float. Instead of old (and broken) architecture checks, use runtime check sizeof(qreal) == sizeof(double). Remove the compile-time checks between DBL_MIN/DBL_MAX checks, these are sufficient on their own. Change-Id: Iae0c6486afaed0f0653fb3338c048c8f22d1e587 Reviewed-by: Alex Blasche <alexander.blasche@digia.com> Reviewed-by: Lisandro Damián Nicanor Pérez Meyer <perezmeyer@gmail.com>
* Add changelog for upcoming Qt 5.3.1 releaseAlex Blasche2014-06-031-0/+57
| | | | | | | Change-Id: I0f709d1066763d2c17950da8b092ecf5f28d9556 Reviewed-by: Maurice Kalinowski <maurice.kalinowski@digia.com> Reviewed-by: Alex Blasche <alexander.blasche@digia.com> Reviewed-by: Sergio Ahumada <sahumada@blackberry.com>
* Fix crash on S4 when running Satellite and Position updates concurrentlyAlex Blasche2014-05-232-11/+23
| | | | | | | | | | | | | | | | | This was caused due to unsynchronized access of data between two threads. The Java satellite updates were sent before the receiving Qt thread could finish its regular startup. As a consequence the received updates could not be mapped to a receiving C++ class. This patch synchronizes the startup and setup of the two threads and ensures that the relvant data setup on the C++ side is done before the update thread is started. In addition some minor debug helpers were added for future references. Task-number: QTBUG-39082 Change-Id: I1f24ddfcef038fa000801ddb6a3ea0959370f0d3 Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@digia.com>
* Add snippet app to verify plugin implementationMaurice Kalinowski2014-05-235-0/+617
| | | | | | | Useful when creating a new backend to verify behavior. Change-Id: I7a417aabad4d6dbbe494dcd384ca7af57bd78050 Reviewed-by: Alex Blasche <alexander.blasche@digia.com>
* Implement WinRT plugin for positioningMaurice Kalinowski2014-05-237-0/+657
| | | | | | | [ChangeLog][QtPositioning][QGeoPositionInfoSource] WinRT backend added. Change-Id: I00e7725a082aa485c3ab5afcaebd20344b48e07d Reviewed-by: Alex Blasche <alexander.blasche@digia.com>
* Merge remote-tracking branch 'origin/release' into stableFrederik Gladhorn2014-05-144-2/+4
|\ | | | | | | Change-Id: I05aa3988ce01f01bf987e259dcac0144e52cdf89
| * Add missing classname entry for positioning and location qml module.v5.3.0-rc1v5.3.0Alex Blasche2014-05-054-2/+4
| | | | | | | | | | | | Task-number: QTBUG-38770 Change-Id: Id4577bd23858880b6f406f9d82a8e5195c4e3d8c Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@digia.com>
* | QNX: Fix compilation of testsSergio Ahumada2014-05-062-16/+16
| | | | | | | | | | | | | | | | | | - replace ceil() -> std::ceil() - replace floor() -> std::floor() - replace pow() -> std::pow() Change-Id: I102ec6748fceef02fadce1bc3e5bb37e7ebdcd9d Reviewed-by: Alex Blasche <alexander.blasche@digia.com>
* | Merge remote-tracking branch 'origin/release' into stableFrederik Gladhorn2014-05-014-7/+4
|\| | | | | | | Change-Id: I923d8eaed437dc461f98b1ed88585cc9cde528d9
| * Remove unnecessary private export macroAlex Blasche2014-04-244-7/+4
| | | | | | | | | | | | | | | | This was discovered during a header review of Qt 5.3. Change-Id: Id852deb6fb5eadb43e643ac25e3b52dad7f7dd59 Reviewed-by: Liang Qi <liang.qi@digia.com> Reviewed-by: Aaron McCarthy <mccarthy.aaron@gmail.com>
* | Build snippet outside of example build configurations too.Alex Blasche2014-04-241-6/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is a partial revert of 9cbddccc24cdd4b51285ea9ecbf851f3eba2cd31. The CI does not test a combined developer-build and example configuration. Ensuring the snippet compiles is mostly a private test. This patch drops the additional example condition to provide an increased chance of compiling the snippets on the CI. So far the condition never triggered and hence the CI couldn't ensure a compiling snippet. Task-number: QTBUG-37638 Change-Id: I8e64bb2b53b0452c5168faeb37f2809e96ac6e77 Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@digia.com>
* | Merge "Merge remote-tracking branch 'origin/release' into stable" into ↵Alex Blasche2014-04-236-10/+91
|\ \ | | | | | | | | | refs/staging/stable
| * | Merge remote-tracking branch 'origin/release' into stableJani Heikkinen2014-04-236-10/+91
| |\| | | | | | | | | | | | | | | | | | | Conflicts: src/src.pro Change-Id: I2c4552f2969ea1282bc36ad890f9d996bef4162a
| | * Rename dist/changes-5.3 -> dist/changes-5.3.0Sergio Ahumada2014-04-221-0/+0
| | | | | | | | | | | | | | | | | | | | | .. so we follow other modules/repositories pattern. Change-Id: I2887dbffc8163fbf4bbe61028f786066c3610be4 Reviewed-by: Alex Blasche <alexander.blasche@digia.com>
| | * Add Qt 5.3.0 change log for QtPositioning.Alex Blasche2014-04-171-0/+74
| | | | | | | | | | | | | | | | | | | | | | | | QtLocation changes were purposely left out since the API is not released yet. Change-Id: Ic54ebf195e3be654f5f2c96924af95701ecd23b7 Reviewed-by: Robin Burchell <robin+qt@viroteck.net>
| | * Doc: Edited Qt Positioning example pagesJerome Pasion2014-04-145-10/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | -added information on how to run the example (using an included file in qtbase/doc/global) -section changes and linked to module landing page. -assigning default thumbnail to an example. -updated copyright year in touched files. Task-number: QTBUG-33597 Change-Id: I6e78c3016d3f51dd99466ee37eff9632eb050d84 Reviewed-by: Alex Blasche <alexander.blasche@digia.com> Reviewed-by: Sze Howe Koh <szehowe.koh@gmail.com>
| | * Temporary fix for static build issues on Mac.Alex Blasche2014-04-111-6/+7
| | | | | | | | | | | | | | | | | | | | | This will be properly done when QTBUG-37638 is fixed. Change-Id: Ia58bacaf9876933555b7f91a91542997be1209c5 Reviewed-by: Kai Koehne <kai.koehne@digia.com>
* | | Add PLUGIN_CLASS_NAME declarations to plug-in projectsAlex Blasche2014-04-2314-1/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is required for automatic static linking and deployment. The test plug-ins are excluded from the automation based on the assumption that they are usually not needed. Change-Id: I7658c624101e3273767c1c10d77a87c89d5801ba Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@digia.com> Reviewed-by: Alex Blasche <alexander.blasche@digia.com>
* | | Fix crash when initializing Nokia place categories.Aaron McCarthy2014-04-231-31/+46
|/ / | | | | | | | | | | | | | | | | If network errors occur while initializing categories stale categories were left in the category tree which can result in unbounded recursion. Change-Id: I93a3b7a01f152473d25b492bba579b9300639bba Reviewed-by: Robin Burchell <robin+qt@viroteck.net> Reviewed-by: Alex Blasche <alexander.blasche@digia.com>
* | Bump MODULE_VERSION to 5.3.1Sergio Ahumada2014-04-221-1/+1
| | | | | | | | | | Change-Id: Ia2da2ba5249ef831f0d97ddc69959c239900882a Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@digia.com>
* | Only build snippets in developer builds with enabled examples.Alex Blasche2014-04-141-6/+18
|/ | | | | | Task-number: QTBUG-37638 Change-Id: I2277f3fa9aab252bfba2103bee7c2b89e92ca26f Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@digia.com>
* Ignore invalid center coordinates on mapsAlex Blasche2014-04-081-3/+6
| | | | | | | | | | | | | | | | This causes undefined behavior and plenty of painter errors due to the occurrence of NaN. At the same time we change the default center to London. Previously it was in the middle of the Atlantic. This led to confusions because the all-blue display was mistaken for nothing/empty/invalid tiles (which is represented by grey). By showing the city of London we ensure that the default shows an easily recognisable area. Change-Id: I65a99d69d961b00a899120e190030e08a5ca0498 Reviewed-by: Robin Burchell <robin+qt@viroteck.net> Reviewed-by: Gunnar Sletta <gunnar.sletta@jollamobile.com>
* Avoid excessive QImage::fill/copy in copyright handlerGunnar Sletta2014-04-071-51/+25
| | | | | | | | | | | | | This fixes two problems. The first is that an empty copyright string would result in the image being regenerated over and over again. The second problem is that the code would allocate a fullscreen image regardless of the size of the copyright watermark and then do QImage::copy() to crop it to the displayed size. Needless to say, this took a bit more time than strictly required. Change-Id: Ia8d76e1cb34793439f92e7bb3ae00a8e99ffdc5e Reviewed-by: Robin Burchell <robin+qt@viroteck.net> Reviewed-by: Alex Blasche <alexander.blasche@digia.com>
* Avoid blocking simulator backend during its constructionAlex Blasche2014-04-041-5/+0
| | | | | | | | | | | This avoids a race condition when QDeclarativePositionSource::start() is called before the simulator backend has returned from its eventloop. The disadvantage is that the first returned set of position data may be invalid until the initial data set was pushed by the emulator. Change-Id: I6a8b4330bc50ced154afd2a6248bb0dd3e151c9f Reviewed-by: Rainer Keller <rainer.keller@digia.com> Reviewed-by: Alex Blasche <alexander.blasche@digia.com>
* Simplify the detection of a QtSimulator buildAlex Blasche2014-04-042-2/+2
| | | | | | | | | We don't need the cumbersome CONFIG+=simulator flag. Now we automatically build it. Change-Id: Iab20816856ec1d79965b980a17e668d04d3d9258 Reviewed-by: Rainer Keller <rainer.keller@digia.com> Reviewed-by: Alex Blasche <alexander.blasche@digia.com>
* Fix compilation for embedded Androidaavit2014-04-021-1/+1
| | | | | | | Cannot use the java plugin Change-Id: I0b52170f56596081ccd4c5eb7c1ab54bad281d88 Reviewed-by: Christian Stromme <christian.stromme@digia.com>
* Document supported/available platforms for QtLocation & QtPositioning.Alex Blasche2014-04-022-7/+11
| | | | | | | | The synchronizes the API doc's front page layout with qtconnectivity and qtsensors. Change-Id: I91e966f3c3ac3638e697340eabbfb529f9feaf2c Reviewed-by: Jerome Pasion <jerome.pasion@digia.com>
* Fix typoSergio Ahumada2014-04-022-2/+2
| | | | | Change-Id: I04183182a9db9dc169390fe5c77a92588f40347b Reviewed-by: Mitch Curtis <mitch.curtis@digia.com>
* Android: Fix crashes due to insufficient resource cleanupsAlex Blasche2014-04-021-1/+7
| | | | | | | | Task-number: QTBUG-37789 Change-Id: I9971fd1e9e63dedbbfe86e567e701bab688cf144 Reviewed-by: Christian Stromme <christian.stromme@digia.com> Reviewed-by: Alex Blasche <alexander.blasche@digia.com>
* Doc: Document signals (not handlers) under \qmlsignalv5.3.0-beta1Sze Howe Koh2014-03-184-15/+35
| | | | | | | | | Append the handler names to the end of the corresponding signal doc. Task-number: QTBUG-35846 Change-Id: Ib4699ff82b8411b4cfb4400097deaca62f6d3bb0 Reviewed-by: Alex Blasche <alexander.blasche@digia.com> Reviewed-by: Jerome Pasion <jerome.pasion@digia.com>
* Nokia plugin: Move message about malformed reply to common messages.Friedemann Kleint2014-03-184-2/+9
| | | | | Change-Id: Ic5611c5d8bc7ac697bed5ddb9294f6ed306ab2b7 Reviewed-by: Christian Stenger <christian.stenger@digia.com>
* Fix compile warning.Aaron McCarthy2014-03-141-5/+3
| | | | | | | Member initialization order. Change-Id: I83ad846c6297909ad8595114dccf8bf118b467b0 Reviewed-by: Alex Blasche <alexander.blasche@digia.com>
* Parse Nokia route response in helper thread.Aaron McCarthy2014-03-146-86/+124
| | | | | | | | | Complex and really long routes can take multiple seconds to parse. Use a helper thread to parse route responses to prevent blocking the main thread. Change-Id: I4130510ff15752427f31b429e53d2ab87fa1b84a Reviewed-by: Alex Blasche <alexander.blasche@digia.com>
* Parse Nokia geocode response in helper thread.Aaron McCarthy2014-03-144-63/+79
| | | | | Change-Id: I151bd5988d0340a8203aa9e014371989b023228b Reviewed-by: Alex Blasche <alexander.blasche@digia.com>
* Send requested update interval to Geoclue providers.Aaron McCarthy2014-03-043-207/+154
| | | | | | | | | | | | | | | | | Send the requested update interval to the active Geoclue provider. The update interval is sent by passing and 'UpdateInterval' option to the provider. Not all Geoclue providers support this setting, in which case they will report position changes at their default rate. The Geoclue position info source no longer limits the rate of position updates internally. [ChangeLog][QtPositioning][Geoclue] The Geoclue position info source provider no longer internally filters position updates to the requested update interval. Change-Id: I96a112575173d4fa485905b1885a98fe43da1153 Reviewed-by: Alex Blasche <alexander.blasche@digia.com>
* Emit updateTimeout() when regular position updates aren't received.Aaron McCarthy2014-03-042-8/+13
| | | | | | | | | | | | | The documentation indicates that the updateTimeout() signal should be emitted once when the source determines that regular updates will no longer be received. [ChangeLog][QtPositioning][Geoclue] The Geoclue position source now emits the updateTimeout() signal when position updates do not arrive in a timely manner. Change-Id: I87c31a60a8e718a0ab72a1e270a93e967307f77a Reviewed-by: Alex Blasche <alexander.blasche@digia.com>