summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Add changelog for upcoming Qt 5.3.1 releasestableAlex 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>
* Fix some typosSergio Ahumada2014-03-0317-18/+18
| | | | | Change-Id: If46057e48040fda7b61b81e735c171daf2cc7d06 Reviewed-by: Jerome Pasion <jerome.pasion@digia.com>
* Tile cache versioning for Nokia mapsAnders Gunnarsson2014-03-0320-23/+419
| | | | | | | | | | | | | | | | Added to avoid mixing of different map versions in map view. Generic cache versioning by adding an incremental version number to tile specs and filenames. Default version -1 falls back to not using version in file names for backward compatibility. Nokia specific version management by implementing the version request, comparing all version information and increment the version if anything has changed. Task-number: QTBUG-25559 Change-Id: I6820f2efbe7458701475cc833d3077022797b2df Reviewed-by: Alex Blasche <alexander.blasche@digia.com>
* Prefer to use normalised signal/slot signaturesSergio Ahumada2014-03-034-58/+58
| | | | | | Change-Id: I8425c141add90f58aefcf2b9706f9d6328382644 Reviewed-by: Marc Mutz <marc.mutz@kdab.com> Reviewed-by: Alex Blasche <alexander.blasche@digia.com>
* Fix compile warningAlex Blasche2014-03-031-1/+1
| | | | | Change-Id: Ic00ce63f769e87e222759c5c896e7cc741e31795 Reviewed-by: Aaron McCarthy <mccarthy.aaron@gmail.com>
* Normalize signal & slot signatures in connectionThiago Macieira2014-02-2811-38/+38
| | | | | | | | Profiling shows Qt Creator spends 2% of its load time normalizing Change-Id: Ica52c45e34fe53823b31faaa7d77a633458549d5 Reviewed-by: Thiago Macieira <thiago.macieira@intel.com> Reviewed-by: Alex Blasche <alexander.blasche@digia.com>
* Position plug-ins don't need QtGuiOswald Buddenhagen2014-02-283-3/+3
| | | | | | | Task-number: QTBUG-36893 Change-Id: I54f71f3369e82edfadb679cb5ed27e3dd0a78c0e Reviewed-by: Alex Blasche <alexander.blasche@digia.com> Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@digia.com>
* Bump all qml code to QtLocation 5.3Alex Blasche2014-02-2678-134/+134
| | | | | | | It is the baseline for all subsequent additions. Change-Id: Ia56da45b8b92dd0224dbeff97976cd06aa25d943 Reviewed-by: Aaron McCarthy <mccarthy.aaron@gmail.com>
* Fix QtLocation QML API and its version.Alex Blasche2014-02-262-97/+84
| | | | | | | | | | Despite missing QtLocation 5.3 release we will fix the QML Location API as of 5.3 release time. This does not affect the C++ API. We keep the 5.0 version tag but 5.3 becomes the defacto standard. Change-Id: I93838a97a01c8b886a86e8b2bab3dedc595a2ee6 Reviewed-by: Aaron McCarthy <mccarthy.aaron@gmail.com>
* Use 512 pixel tiles from the Nokia/HERE service.Aaron McCarthy2014-02-262-9/+6
| | | | | | Task-number: QTBUG-36949 Change-Id: I80fe3762b7e8f4dc1b7d56a43d6ab22788c0b702 Reviewed-by: Alex Blasche <alexander.blasche@digia.com>
* Remove unnecessary code.Aaron McCarthy2014-02-265-21/+11
| | | | | | | | I don't see much point in using custom Point classes. QPointF is already fully inline and constexpr. Change-Id: Ie7a854831e78d8e3ce4777a558d203765b53c9f0 Reviewed-by: Alex Blasche <alexander.blasche@digia.com>
* Map item geometry do not need to be QObjects.Aaron McCarthy2014-02-2610-33/+13
| | | | | Change-Id: I078c9eb57ad5a2aa70fde8900ec46958aa1882e1 Reviewed-by: Alex Blasche <alexander.blasche@digia.com>
* Remove test code related to removed gestures.Aaron McCarthy2014-02-261-211/+4
| | | | | | | | Rotate and tilt gestures were recently removed. Some of the related test code was left in which is now failing. Change-Id: Iadb5b40cb5e2740f331453b673b89948fb829e51 Reviewed-by: Alex Blasche <alexander.blasche@digia.com>
* Fix unstable PositionInfo test.Aaron McCarthy2014-02-261-3/+2
| | | | | | | | The speed reported by the position source can vary due to the system load and scheduling during the test. Increase the tolerence. Change-Id: I26c0e6a9c19cfe73f7c1c24b133dbd3cc5abc04e Reviewed-by: Alex Blasche <alexander.blasche@digia.com>
* Fix translatable strings and cleanup unnecessary stringsAlex Blasche2014-02-2616-211/+58
| | | | | | | | | | | | 1.) Reduces the amount of translatable strings as console/qmlInfo() output is not translated. 2.) Unused error messages have been removed 3.) Additional translation hints have been added. Change-Id: I59ef36bd75ab1f6d4878657212884e1251b8a04e Reviewed-by: Aaron McCarthy <mccarthy.aaron@gmail.com>
* Update QtPositioning QML API meta data including new 5.3 features.v5.3.0-alpha1Alex Blasche2014-02-251-2/+17
| | | | | | | Change-Id: Ic841572e3079c0f600c696b477d9f7220d130029 Reviewed-by: Aaron McCarthy <mccarthy.aaron@gmail.com> Reviewed-by: Jim Ehrismann <jehrismann@blackberry.com> Reviewed-by: Alex Blasche <alexander.blasche@digia.com>