summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Port the iOS sensors plugin to the other UIKit platformsv5.8.0-beta1Jake Petroules2016-10-0512-31/+78
| | | | | | | | | | | | | watchOS supports accelerometer, gyroscope, and magnetometer. tvOS supports only the proximity sensor. No sensors are available on macOS yet, but the plugin is still built there because many of the underlying APIs are available cross platform and so some macOS sensors can appear here in the future. Change-Id: I1668d81f09c745e60c1906be621a74f969841566 Reviewed-by: Mike Krus <mike.krus@kdab.com> Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@theqtcompany.com>
* Merge remote-tracking branch 'origin/5.7' into 5.8Liang Qi2016-09-1912-16/+11540
|\ | | | | | | Change-Id: I35021aba57d8acc6b6e27e9800c6a244cb0e99da
| * Merge remote-tracking branch 'origin/5.6' into 5.7Liang Qi2016-09-1711-16/+5681
| |\ | | | | | | | | | Change-Id: I14345192d06a8a0ac9000feab6daea0f11b41f72
| | * Merge remote-tracking branch 'origin/5.6.2' into 5.6Liang Qi2016-09-161-0/+33
| | |\ | | | | | | | | | | | | Change-Id: I1d3a56cd8aeaddb7e67808d4536c91db7816c2c3
| | | * Add changes file for 5.6.2v5.6.2Jani Heikkinen2016-09-121-0/+33
| | | | | | | | | | | | | | | | | | | | Change-Id: I13dbfab7d6e107579b900703b2fda46191a23bce Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
| | * | BC data files for QtSensors for Qt 5.6Milla Pohjanheimo2016-09-141-0/+5577
| | |/ | | | | | | | | | | | | | | | | | | Added binary compatibility data files for tst_bic test Change-Id: I6e2b562d2d8611e43aaaae4d16fdb073a477be0c Reviewed-by: Sergio Ahumada <sahumada@texla.cl>
| | * iOS: protect OS sensors from being stopped when shared by several Qt sensorsRichard Moe Gustavsen2016-08-258-14/+69
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When a Qt sensor is told to stop, it automatically stops the underlying OS sensor as well. This caused a problem when several Qt sensors were running, since stopping one would stop them all. This patch will add a ref count for each affected sensor, so that we keep track of when it's safe to start and stop the underlying OS sensor. Task-number: QTBUG-54977 Change-Id: If06c4daac22916feef2f4c7bd521363d74f342a6 Reviewed-by: Edward Welbourne <edward.welbourne@qt.io> Reviewed-by: Lorn Potter <lorn.potter@canonical.com>
| | * IOSCompass: calculate correct calibration levelRichard Moe Gustavsen2016-08-251-2/+2
| | | | | | | | | | | | | | | | | | | | | A compass has 360 degrees, not 365. Change-Id: I2f0628fa0151434b1b529fbefd1a4bab9de99a8a Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
| * | BC data files added for QtSensors (5.7)Milla Pohjanheimo2016-09-161-0/+5859
| | | | | | | | | | | | | | | | | | | | | | | | Added the generated data files for the binary compatibility tests for QtSensors for Qt 5.7. Change-Id: Ia98bbfbb20142967278c70a19daa42abb9bec7af Reviewed-by: Sergio Ahumada <sahumada@texla.cl>
* | | Fix loading of QML pluginsv5.8.0-alpha1Simon Hausmann2016-08-263-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Since commit 709f6370884b110def2e4665df8fa7bbf5fae734 the plugin loader is strict about requiring the correct interface id, to avoid loading unrelated plugins in the loader thread (which they may not be prepared to do). Change-Id: I84e4d927489f9a14615db399b560af4b352bf045 Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
* | | Merge remote-tracking branch 'origin/5.7' into devLiang Qi2016-08-0218-21/+98
|\| | | | | | | | | | | | | | | | | | | | Conflicts: .qmake.conf Change-Id: I4be6cbe9e4ac981f46b3c45d271cac5c7fc677cb
| * | Merge remote-tracking branch 'origin/5.6' into 5.7Liang Qi2016-08-019-11/+46
| |\| | | | | | | | | | Change-Id: I53d801a88bda3a8b8519b6002e1d37053c03e103
| | * Make sure JNI_OnLoad is not called more than onceBogDan Vatra2016-07-201-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Since Android 5.0 Google introduce a nasty bug[1] which calls JNI_OnLoad more than once. Basically every time when a library is loaded JNI_OnLoad is called if found, but it calls *again* JNI_OnLoad of its .so dependencies! [1] Workaround https://code.google.com/p/android/issues/detail?id=215069 Change-Id: I34728572bc279581b8c95c42c206ed104bfc09a5 Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@qt.io>
| | * Expand license scope from "Qt GUI Toolkit" to "Qt Toolkit"Sze Howe Koh2016-06-154-4/+4
| | | | | | | | | | | | | | | | | | | | | See http://comments.gmane.org/gmane.comp.lib.qt.devel/25771 Change-Id: I318af27c165bdb2c1f9e8cc71814547e7d6b23da Reviewed-by: Lorn Potter <lorn.potter@canonical.com>
| | * Merge remote-tracking branch 'origin/5.6.1' into 5.6Liang Qi2016-06-091-0/+29
| | |\ | | | | | | | | | | | | Change-Id: If9cb1cf8facd7b606273ece472fac67abb6d6543
| | | * Add changelog for Qt 5.6.1 release of QtSensorsv5.6.1-1v5.6.1Alex Blasche2016-05-201-0/+29
| | | | | | | | | | | | | | | | | | | | Change-Id: I378943bd0ce89689b43eee4971a306c6f73fcb10 Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
| | * | OpenBSD: librt.so is not available on systemRalf Nolden2016-05-311-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | OpenBSD does not provide librt.so for the sensors module, which leads to linker errors in this case. Disable linking to librt.so by adding !openbsd to the list of OSes not having it. Change-Id: If7b33eb33b4027be79bce4bb3272bef3a5b7d832 Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
| | * | QCoverSensorGestureRecognizer: sanitize initialization.Edward Welbourne2016-05-302-6/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Coverity noticed uninitialized members (CID 22309). Eliminate members handler (never accessed or set; the code always uses QtSensorGestureSensorHandler::instance() instead) and lastTs (set but never accessed). Initialized timer (to 0; it'll be set more sensibly as long as create() gets called). Reformatted constructor. Change-Id: I41738ec51db94fb35e068af509e9a34bf9221770 Reviewed-by: Lorn Potter <lorn.potter@canonical.com>
| * | | Bump versionOswald Buddenhagen2016-07-281-1/+1
| | | | | | | | | | | | | | | | Change-Id: I3b87cdb8f68617532d37f52e226f249cb7c4b174
| * | | This module doesn't need an Activity to work, a Context object is enoughBogDan Vatra2016-07-261-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Task-number: QTBUG-54506 Change-Id: I83576e79f12556479a43aac95123edcacd50c63c Reviewed-by: Alex Blasche <alexander.blasche@theqtcompany.com> Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@qt.io>
| * | | Use QDateTime::currentMSecsSinceEpoch() instead of currentDateTimeThiago Macieira2016-06-277-7/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | More efficient if all you want is the number of seconds. Change-Id: Ib57b52598e2f452985e9fffd145a371003ede342 Reviewed-by: Lorn Potter <lorn.potter@canonical.com>
| * | | Merge remote-tracking branch 'origin/5.7.0' into 5.7Liang Qi2016-06-161-2/+18
| |\ \ \ | | | | | | | | | | | | | | | Change-Id: I054907f7b62430f7fea67384cbffc43a06569fa8
| | * | | Mention license change in 5.7.0 changelog.v5.7.0Kai Koehne2016-06-081-2/+18
| |/ / / | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: I66ed8666507084283a550a54a0c24530dced2e66 Task-number: QTBUG-53913 Reviewed-by: Sami Makkonen <sami.makkonen@qt.io> Reviewed-by: Jani Heikkinen <jani.heikkinen@qt.io>
| * | | Add changelog for Qt 5.7.0 release of QtSensorsv5.7.0-rc1Alex Blasche2016-05-231-0/+26
| | | | | | | | | | | | | | | | | | | | | | | | Change-Id: I7b91766f9ca479d69f1bd505994a643471a0feb7 Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io> Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
* | | | Retry failed sensor start once DBus service becomes availableJoona Petrell2016-07-282-3/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When sensorfw is restarting/recovering DBus service is momentarily not available. Give it another change once the service becomes registered. Change-Id: I6fd3e5985ac60cfffbc84ff86aabe9cebe110ab6 Reviewed-by: Lorn Potter <lorn.potter@canonical.com>
* | | | Merge remote-tracking branch 'origin/5.7' into devLiang Qi2016-05-2417-32/+37
|\| | | | | | | | | | | | | | | Change-Id: Ic47f81aec558260a2271485dc953957cbed9ce67
| * | | Merge remote-tracking branch 'gerrit/5.7' into 5.7.0Alex Blasche2016-05-2015-27/+32
| |\ \ \ | | | | | | | | | | | | | | | Change-Id: I2568fef18d7edbf4377739920538ee2ec4c8ec22
| | * | | Merge remote-tracking branch 'origin/5.6' into 5.7Liang Qi2016-05-191-1/+1
| | |\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: .qmake.conf Change-Id: I6c75a1a2f39fc3490087c1bad07325c79b0c79d2
| | | * | Bump versionOswald Buddenhagen2016-05-191-1/+1
| | | |/ | | | | | | | | | | | | Change-Id: Ib83512966f3fb2cf0e488b6ea71f72f353dcef2b
| | | * Doc: Remove repository name from examplesinstallpathTopi Reinio2016-05-131-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Examples in binary packages now directly match the install path. Change-Id: Ib617462a75ba94ff32689c8cc8f0fb10e2db4431 Task-number: QTBUG-52953 Reviewed-by: Antti Kokko <antti.kokko@qt.io>
| | * | Merge remote-tracking branch 'gerrit/5.6' into 5.7Alex Blasche2016-05-1914-26/+31
| |/| | | | |/ | | | | | | Change-Id: Ie2002a0be7fcb6bd9b81792a1e50b4ffb6c1acc3
| | * fix example installsOswald Buddenhagen2016-05-1010-2/+21
| | | | | | | | | | | | | | | | | | Change-Id: Id7b94644f9db10bce3ef3539f4ff275f5f6f37b0 Reviewed-by: Topi Reiniö <topi.reinio@theqtcompany.com> Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
| | * make plugin .json naming better follow the project structureOswald Buddenhagen2016-05-106-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | it's more intuitive that way, and easier to deal with for the example source install magic. Change-Id: I547717463756c4b0bb86e401abfb5ddf7a605020 Reviewed-by: Alex Blasche <alexander.blasche@theqtcompany.com>
| | * make use of COPIESOswald Buddenhagen2016-04-282-20/+6
| | | | | | | | | | | | | | | Change-Id: I1df10894b0d0e4adba411db2dfc818f8bd39f6df Reviewed-by: Joerg Bornemann <joerg.bornemann@theqtcompany.com>
| * | Update QtSensors QML version for Qt 5.7 releaseAlex Blasche2016-05-032-5/+5
| | | | | | | | | | | | | | | Change-Id: I47e4537c8456e7b762da2a792f0584c1a783db56 Reviewed-by: Lorn Potter <lorn.potter@canonical.com>
* | | Merge remote-tracking branch 'origin/5.7' into devLiang Qi2016-04-0858-199/+280
|\| | | | | | | | | | | Change-Id: I43577461af4808e48de9b229843f324f195ae3d0
| * | Merge remote-tracking branch 'origin/5.6' into 5.7v5.7.0-beta1Liang Qi2016-04-081-0/+27
| |\| | | | | | | | | | Change-Id: I1c9e9e40a94ca2ef38de63107b10f211ceaf6c7f
| | * Merge remote-tracking branch 'origin/5.6.0' into 5.6Frederik Gladhorn2016-03-171-0/+27
| | |\ | | | | | | | | | | | | Change-Id: I5350383312fca83e07a84591affb6717e80cc9ab
| | | * Add change log for Qt Sensors 5.6.0 release.v5.6.0-rc1v5.6.0Alex Blasche2016-02-161-0/+27
| | | | | | | | | | | | | | | | | | | | Change-Id: Iafe6f3c2209156b5719352c0172749014a6d2b91 Reviewed-by: Lorn Potter <lorn.potter@canonical.com>
| * | | Merge remote-tracking branch 'origin/5.6' into 5.7Liang Qi2016-03-0747-84/+83
| |\| | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: src/sensors/doc/src/compatmap.qdoc Change-Id: I7bd464cbd506f630798091fef3896050ade7b3f8
| | * | Make more ctors explicitMarc Mutz2016-03-032-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Added explicit where it was missing. This is not a source- incompatible change, because code that breaks by this is a bug. Let's not have this sitting around in an LTS. Change-Id: Iadcd2f1c751bb5a9cef96b2732bb3a7a8e34c6f8 Reviewed-by: Lorn Potter <lorn.potter@canonical.com>
| | * | Make public headers compile with -Wzero-as-null-pointer-constantMarc Mutz2016-03-0322-25/+25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ... or equivalent. QtBase 5.6 headers already compile that way, so let the other modules follow suit. Task-number: QTBUG-45291 Change-Id: Iaa6ea07220566adc323010c52233416e6ae2b726 Reviewed-by: Lorn Potter <lorn.potter@canonical.com>
| | * | Cleanup dead links in QCompassReadingAlex Blasche2016-03-031-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Task-number: QTBUG-50165 Change-Id: I7a5e195ad5ea4d390609303e9ae7c047ecbf2399 Reviewed-by: Lorn Potter <lorn.potter@canonical.com> Reviewed-by: Venugopal Shivashankar <venugopal.shivashankar@digia.com>
| | * | Update supported sensors table for iOSAndy Shaw2016-03-011-4/+4
| | | | | | | | | | | | | | | | | | | | Change-Id: I3885849352a59a23989605f0e62a594bd4c61db1 Reviewed-by: Alex Blasche <alexander.blasche@theqtcompany.com>
| | * | Purge sRGB chunks from PNGs in documentation.Edward Welbourne2016-03-014-0/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Subjects each *.png file that matched grep -law "sRGB" to: pngcrush -ow -brute -rem allb -reduce -force Change-Id: Ie54ce7153b23632cf2673f6f82ae8b3e4dec6e67 Reviewed-by: Lorn Potter <lorn.potter@canonical.com>
| | * | Purge sRGB chunks from PNGs in examples.Edward Welbourne2016-03-017-0/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Subjects each *.png file that matched grep -law "sRGB" to: pngcrush -ow -brute -rem allb -reduce Change-Id: I4e15dcbf74334985f4a3e366443b2be7016e76a3 Reviewed-by: Lorn Potter <lorn.potter@canonical.com>
| | * | don't over-expose private dependenciesOswald Buddenhagen2016-02-251-1/+1
| | | | | | | | | | | | | | | | | | | | Change-Id: I6045425fb467002db288854f9d0a8f8ea683876f Reviewed-by: Joerg Bornemann <joerg.bornemann@theqtcompany.com>
| | * | consistently put {qt,qml}_{module,plugin} at the end of project filesOswald Buddenhagen2016-02-2512-52/+51
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | this fixes static builds by ensuring that all dependencies are exported. Task-number: QTBUG-51071 Change-Id: Ia3c3f69505650fd35982fc76e385e744b877e4df Reviewed-by: Joerg Bornemann <joerg.bornemann@theqtcompany.com>
| * | | Merge remote-tracking branch 'origin/5.6' into 5.7v5.7.0-alpha1Liang Qi2016-02-1913-115/+170
| |\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: .qmake.conf src/sensors/doc/src/compatmap.qdoc Change-Id: I4049bc3c335a8a9db5c935032207d0bcfba78480
| | * | Bump versionOswald Buddenhagen2016-02-081-1/+1
| | |/ | | | | | | | | | Change-Id: I3cdf3ef0e748de5900ffe36ad88d74683362cabe