summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Merge remote-tracking branch 'origin/5.9.0' into 5.9Liang Qi2017-05-311-0/+6
|\ | | | | | | Change-Id: I5838f509eb739b2094e83ea9ef879ad1ef1c3294
| * Update changes file for 5.9.0v5.9.0-rc2v5.9.0-rc1v5.9.05.9.0Antti Kokko2017-05-111-0/+6
| | | | | | | | | | | | | | Listing important changes and bug-fixes. Change-Id: Ie7ce2be3403f0275dadeb8dfe2508b1ac500d505 Reviewed-by: Lorn Potter <lorn.potter@gmail.com>
* | Fix sensor explorer build on macOSEike Ziller2017-05-291-1/+3
| | | | | | | | | | | | | | | | | | The QML module is looked for next to the application binary, which on macOS is within the application bundle. Task-number: QTBUG-56669 Change-Id: I18abfcaf383fb075fec4d3158db58e7ea68ee280 Reviewed-by: Lorn Potter <lorn.potter@gmail.com>
* | Fix grue sensor example building on macOSEike Ziller2017-05-295-7/+19
| | | | | | | | | | | | Task-number: QTBUG-33875 Change-Id: Idd72b689aaae727df77daecb616d5c47b9bb809c Reviewed-by: Lorn Potter <lorn.potter@gmail.com>
* | Bump versionOswald Buddenhagen2017-05-101-1/+1
| | | | | | | | Change-Id: Ied4f231df4d3097786adf8e6956fa59a856c7484
* | Fix licensingJani Heikkinen2017-05-10104-2537/+1232
|/ | | | | | | | | | | | | | | | | - Remove unused old license files - Update BSD and FDL license headers - Unify licensing * Examples are nowdays licensed under BSD, update correct license header to there * Tools and tests are nowdays licensed under GPL-EXCEPT, update correct license header to those * Src is nowdays licensed under LGPL, update correct license header to there Task-number: QTBUG-57147 Change-Id: I5d9d7a3bc5e360f01ec73fb6a2a873f3173b5918 Reviewed-by: Lars Knoll <lars.knoll@qt.io> Reviewed-by: Lorn Potter <lorn.potter@gmail.com>
* Doc: fix warnings about parametersv5.9.0-beta4v5.9.0-beta3v5.9.0-beta2v5.9.0-beta1Nico Vertriest2017-03-292-2/+2
| | | | | | | | | qaccelerometer.cpp:271: undocumented parameter 'accelerationMode' in QAccelerometer::accelerationModeChanged() qsensor.cpp:546: undocumented parameter 'skipDuplicates' in QSensor::skipDuplicatesChanged() Change-Id: I31d841a8e7ecce6ae875cb92414866398d8653c4 Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io> Reviewed-by: Topi Reiniö <topi.reinio@qt.io>
* Merge remote-tracking branch 'origin/5.8' into 5.9Liang Qi2017-03-162-0/+5925
|\ | | | | | | | | | | | | | | Conflicts: src/imports/sensors/plugins.qmltypes src/imports/sensors/sensors.cpp Change-Id: Ie32ebca5f509ca3dd6ace9b782247fe612ad00f3
| * Binary compatibility file for qtsensors (5.8.0)5.8Milla Pohjanheimo2017-02-031-0/+5884
| | | | | | | | | | | | | | Added binary compatibility file for qtsensors Change-Id: Id281027e4342afe7b6090c5617e257f5d5481c28 Reviewed-by: Sergio Ahumada <sahumada@texla.cl>
| * Merge remote-tracking branch 'origin/5.8.0' into 5.8Liang Qi2017-01-263-6/+47
| |\ | | | | | | | | | Change-Id: Ie2a370961bb6b166af94f8699945c330aa8125c7
| | * Add changes file for 5.8.0v5.8.0-rc1v5.8.05.8.0Alex Blasche2016-12-101-0/+41
| | | | | | | | | | | | | | | Change-Id: If150e92820af20d47ad945f1f1bf67b1c0701c6a Reviewed-by: Lorn Potter <lorn.potter@gmail.com>
| | * Bump QtSensor QML version tag for the next Qt releaseAlex Blasche2016-12-022-6/+6
| | | | | | | | | | | | | | | Change-Id: I1e9f5de101f9b670e7d58cdf18986a12639eeb53 Reviewed-by: Lorn Potter <lorn.potter@canonical.com>
* | | Fix QML Sensor API registrations for 5.9Alex Blasche2017-03-162-11/+4
| | | | | | | | | | | | | | | | | | | | | | | | The 5.7 registration is not needed and the comment was wrong as 5.9 is the first API version with truly new QML API. Change-Id: I87f1dc040df4eda1784420a7a9bf37a520dfd6f5 Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
* | | Update plugins.qmltypes for Qt Sensors QML APIAlex Blasche2017-03-011-2/+26
| | | | | | | | | | | | | | | | | | | | | This updates the types to Qt 5.9. Change-Id: Ice1fd7011eb0ce9bf4ec22e366d0eb7f6678bf75 Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
* | | Merge remote-tracking branch 'origin/5.8' into devv5.9.0-alpha1Liang Qi2017-01-250-0/+0
|\ \ \ | |/ / | | | | | | | | | | | | | | | Conflicts: .qmake.conf Change-Id: I2ded181b4cea9cfb2d641ef1ef5264a3b9084fe0
| * | Bump versionOswald Buddenhagen2017-01-031-1/+1
| | | | | | | | | | | | Change-Id: I01be23f20d0b8285bab38ed7c86d8ae3555a0017
* | | Example: use atan2 for simpler angle calculationsEdward Welbourne2017-01-161-15/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | This replaces calls to sqrt, acos and asin (plus some arithmetic and fix-up) with a single call to atan2; it also avoids dividing by a potentially zero length. Change-Id: I694fa9e3e2bcdbcf1a4eb4c5d428e2c53ea21732 Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
* | | Merge remote-tracking branch 'origin/5.8' into devLiang Qi2016-12-12118-330/+458
|\ \ \ | |/ / | | | | | | | | | | | | | | | Conflicts: src/plugins/sensors/ios/ios.pro Change-Id: I8d9ca692713c8ba5d8c243371474b0e61630b05e
| * | Replace Q_DECL_OVERRIDE by overrideAlexander Volkov2016-12-02100-280/+280
| |/ | | | | | | | | | | | | 'override' keyword can be used directly since Qt 5.7. Change-Id: Ibf0fc590f7e247a310a833a22ece700ec75199bb Reviewed-by: Lorn Potter <lorn.potter@canonical.com>
| * Merge remote-tracking branch 'origin/5.7' into 5.8Liang Qi2016-11-266-10/+59
| |\ | | | | | | | | | Change-Id: I912756c6bbecf7c55acd60d136ea6ce490118ebb
| | * Merge remote-tracking branch 'origin/5.6' into 5.75.7Liang Qi2016-11-243-8/+23
| | |\ | | | | | | | | | | | | Change-Id: I77e9c7f825716af5ab4a1c04551f89e22099696e
| | | * Fix broken link in QMagnetometerReadingChristian Strømme2016-11-221-2/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The link, which describes how to calibrate the magnetometer sensor, is no longer available. As a replacement we now provide a generic approach for calibrating, and recommend that the user checks their device's documentation for more information. Change-Id: I04de5fba76b88fb7417d180ffe1f2c8c249610e5 Task-number: QTBUG-57184 Reviewed-by: Venugopal Shivashankar <Venugopal.Shivashankar@qt.io> Reviewed-by: Lorn Potter <lorn.potter@canonical.com>
| | | * Android: Fix incorrect accuracy levelsChristian Strømme2016-11-221-1/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Android reports accuracy in four different levels (0, 1, 2 and 3), these values were used directly in Qt, so the reported values would be outside Qt documented range, which is a floating point number between 0 and 1. Task-number: QTBUG-57184 Change-Id: I912a76bffd3e205689103b0352ea4c480d660d63 Reviewed-by: Lorn Potter <lorn.potter@canonical.com>
| | | * remove dependencies from sync.profileOswald Buddenhagen2016-11-061-5/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | the CI obtains them from the qt5 super repo nowadays. Change-Id: If1004a7f45b573bab81d7858e94601b4ae4982b2 Reviewed-by: Jędrzej Nowacki <jedrzej.nowacki@qt.io>
| | * | Merge remote-tracking branch 'origin/5.7.1' into 5.7Liang Qi2016-11-241-0/+34
| | |\ \ | | | | | | | | | | | | | | | Change-Id: Id7dc29c00c1f2a677314d9674992b57d50b73a9f
| | | * | Add changes file for 5.7.1v5.7.15.7.1Jani Heikkinen2016-10-311-0/+34
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: I5836c80586117a7281999d1b69584fd312d1c059 Reviewed-by: Alex Blasche <alexander.blasche@qt.io> Reviewed-by: Lorn Potter <lorn.potter@canonical.com>
| | * | | Fix lux value in sensorfw backendLorn Potter2016-11-142-2/+2
| | |/ / | | | | | | | | | | | | | | | | | | | | | | | | Make light sensor value consistent with timestamp Change-Id: If6d5f15e2c645e86852a5b66cf0894a1e2ca3f1c Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
| * | | Port qtsensors to the new configure frameworkJake Petroules2016-11-075-9/+41
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Don't invoke pkg-config at build time, automatically check for sensorfw and compile the correct plugin if found. Change-Id: I30dcd41cdebd7cf082cec66f3122c24fbab5c893 Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@qt.io> Reviewed-by: Robin Burchell <robin.burchell@viroteck.net>
| * | | 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>
* | | | [ChangeLog][QtSensors][QSensor] Add new sensor: lidsensorLorn Potter2016-11-2115-7/+796
| | | | | | | | | | | | | | | | | | | | Change-Id: I57123eed34ee4618f1cba643c2ce49c8c621a6cd Reviewed-by: Lorn Potter <lorn.potter@canonical.com>
* | | | Merge remote-tracking branch 'origin/5.8' into devLiang Qi2016-09-2115-19/+11543
|\ \ \ \ | |/ / / | | | | | | | | Change-Id: Iaeb7c9f62b50d68e0cedb95c523aebcceb9128c0
| * | | 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.25.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>
* | | | QHumiditySensor will be added by Qt 5.9Alex Blasche2016-08-313-5/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | [ChangeLog][General][QHumiditySensor] Added QHumiditySensor sensor API. Change-Id: I6dcac53d75ec427fd585de082f4e3a5adb2ebde2 Reviewed-by: Lorn Potter <lorn.potter@canonical.com> Reviewed-by: Liang Qi <liang.qi@qt.io>
* | | | Bump versionOswald Buddenhagen2016-08-291-1/+1
| | | | | | | | | | | | | | | | Change-Id: I79f2b8615519512b8d65c6e65dea0416093901c7
* | | | Add QHumiditySensorLorn Potter2016-08-277-3/+600
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Task-number: QTBUG-53635 Change-Id: I089a793de1c7f7b7224aa1bb6772b6e54a44237c Reviewed-by: Edward Welbourne <edward.welbourne@qt.io> Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
* | | | Fix iOS sensor plugin linking as shared libraryJake Petroules2016-08-231-1/+1
|/ / / | | | | | | | | | | | | | | | | | | Static linking was hiding the Foundation.framework dependency. Change-Id: I7c038488196d31d18c5174020c69dd03f15fa6f3 Reviewed-by: Lorn Potter <lorn.potter@canonical.com>
* | | 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.15.6.1Alex Blasche2016-05-201-0/+29
| | | | | | | | | | | | | | | | | | | | Change-Id: I378943bd0ce89689b43eee4971a306c6f73fcb10 Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>