summaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
...
| * winrt: Fix application hang on sensor start/stopOliver Wolff2015-12-037-101/+156
| | | | | | | | | | | | | | | | | | | | If addition and removal are not done in the Xaml thread, the functions might not return at all. Task-number: QTBUG-49741 Change-Id: Iabdea2c7ee18bf851ab70adfeb28b09781b8b609 Reviewed-by: Andrew Knight <andrew.knight@intopalo.com> Reviewed-by: Maurice Kalinowski <maurice.kalinowski@theqtcompany.com>
* | Enable using the module in a statically built applicationAndy Shaw2016-02-041-0/+8
| | | | | | | | | | Change-Id: I470d742058d69d517249620b98eef136a9c6ca86 Reviewed-by: Alex Blasche <alexander.blasche@theqtcompany.com>
* | Updated license headersAntti Kokko2016-01-20256-3600/+5136
| | | | | | | | | | | | | | | | | | | | From Qt 5.7 -> LGPL v2.1 isn't an option anymore, see http://blog.qt.io/blog/2016/01/13/new-agreement-with-the-kde-free-qt-foundation/ Updated license headers to use new LGPL header instead of LGPL21 one (in those files which will be under LGPL v3) Change-Id: Id129b1497aa9d61fd16332e3b324f28dcf7bdd5b Reviewed-by: Lars Knoll <lars.knoll@theqtcompany.com>
* | QSensorManager: use prefix ++ for iteratorAnton Kudryavtsev2015-12-091-1/+1
| | | | | | | | | | | | | | because it's useful for non-primitive types Change-Id: I2907a40956935abdd59b0d90bb5ab215d49c1029 Reviewed-by: Alex Blasche <alexander.blasche@theqtcompany.com>
* | Merge branch '5.6' into devAlex Blasche2015-11-261-1/+1
|\| | | | | | | Change-Id: I6799d8791b7b67b4151697b63bdb3c0f83d39392
| * Doc: Update examplesinstallpath to include the repository nameTopi Reinio2015-10-211-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | 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 the install path with the repository name. Task-number: QTBUG-48736 Change-Id: I233a6d60edee3378231a9419c6de49fba17bdea2 Reviewed-by: Venugopal Shivashankar <venugopal.shivashankar@digia.com>
* | Merge remote-tracking branch 'origin/5.6' into devLiang Qi2015-10-145-21/+26
|\| | | | | | | Change-Id: I4286dcb9262bf38960ff3852932012718aaa5d65
| * doc: Fix "Qt Sensors Backend" pageAlexander Volkov2015-10-081-8/+6
| | | | | | | | | | | | | | | | | | | | Remove "Backend API" section, it's actually "Overview". Manually create the "Backend Topics" list as it's typically done in the Qt documentation. And by removing superfluous directive "\generatelist related" we avoid the duplication of the topics list. Change-Id: I82de56cd80fa6b8719f85d3a01c07bac3d9d6c1a Reviewed-by: Martin Smith <martin.smith@digia.com>
| * Fix registration of the ambient light sensor in the generic pluginAlexander Volkov2015-10-082-9/+13
| | | | | | | | | | | | | | | | | | | | | | It should be registered/unregistered depending on the availability of the default light sensor rather than the default accelerometer. Also mark the ambient light sensor as supported by the generic plugin in the documentation. Change-Id: Iff3828140b9549d994563fb736014091e568e867 Reviewed-by: Lorn Potter <lorn.potter@gmail.com>
| * Doc: Added \section1 before the auto-generated list of QML typesVenugopal Shivashankar2015-10-051-3/+5
| | | | | | | | | | | | | | | | | | To avoid a qdoc warning about the QML snippet structure, commented out the line with '...' in \qml \endqml block. Change-Id: I5f2124f374c441f8aac64322df251c70ba3cba3a Reviewed-by: Martin Smith <martin.smith@digia.com> Reviewed-by: Topi Reiniö <topi.reinio@digia.com>
| * Merge remote-tracking branch 'origin/5.5' into 5.6Liang Qi2015-10-021-1/+2
| |\ | | | | | | | | | Change-Id: Ic4c5a95a53ff695b879314cd2d6092bcbe427d94
| | * Only register plugins that sensorfw plugin can instantiateLorn Potter2015-09-071-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | This makes it possible to use Tilt sensor from generic plugin. Task-number: QTBUG-47854 Change-Id: I14883e8d4a18a56c52845a4a5172c8c46bfe385f Reviewed-by: Alex Blasche <alexander.blasche@theqtcompany.com>
* | | Add compass support to the iio-sensor-proxy backendAlexander Volkov2015-10-126-3/+187
| | | | | | | | | | | | | | | Change-Id: Ife5ca9224e4a1ac0b57a25aeb59e2f23e505082b Reviewed-by: Alex Blasche <alexander.blasche@theqtcompany.com>
* | | Add iio-sensor-proxy backendAlexander Volkov2015-10-0513-3/+659
|/ / | | | | | | | | | | | | | | | | | | | | | | iio-sensor-proxy is a daemon that listens to sensors on IIO subsystem on Linux and provides access to the sensor readings over D-Bus. Currently it provides only orientation and ambient- light level. https://github.com/hadess/iio-sensor-proxy Change-Id: I035bda0b43a16552a9f2bd88a064e53d5f105451 Reviewed-by: Lorn Potter <lorn.potter@gmail.com>
* | Introduce QML Sensors 5.6 versionAlex Blasche2015-08-252-6/+7
| | | | | | | | | | Change-Id: I9f84dd9595d055f424202fbc65de2198b06ee1f3 Reviewed-by: Kai Koehne <kai.koehne@theqtcompany.com>
* | Merge remote-tracking branch 'origin/5.5' into devLiang Qi2015-06-291-1/+1
|\| | | | | | | | | | | | | Conflicts: .qmake.conf Change-Id: I988cf7a720d4b17e875339e0ec75cad270fd6186
| * Remove official support of BlackBerry on 5.5 in QtSensorsAlex Blasche2015-06-171-1/+1
| | | | | | | | | | | | | | | | The relevant code base will be removed in Qt 5.6. This change prepares qtsensors repo for the removal of the "Qt for BlackBerry" link. Change-Id: I67229cc0778ed54723ae4c6bf9302a3d54d11034 Reviewed-by: Topi Reiniö <topi.reinio@digia.com>
* | Remove BlackBerry as supported platform from QtSensorsAlex Blasche2015-06-1844-2938/+7
| | | | | | | | | | | | | | | | | | [ChangeLog][QtSensors][Platform Specific Changes] Removed support for BlackBerry 10 from QtSensors. Change-Id: I56788caaa53797b7d4e23bb053c3ea8b460b1341 Reviewed-by: Rafael Roquetto <rafael.roquetto@kdab.com> Reviewed-by: Lars Knoll <lars.knoll@theqtcompany.com>
* | Add two QList::reserve() calls.Sergio Martins2015-06-081-2/+6
|/ | | | | | Change-Id: Ie95283344006821ae2e84a3c6b01532cd4cf340f Reviewed-by: Vyacheslav Koscheev <vok1980@gmail.com> Reviewed-by: Marc Mutz <marc.mutz@kdab.com>
* Merge remote-tracking branch 'origin/5.4' into 5.5Liang Qi2015-05-291-0/+1
|\ | | | | | | Change-Id: Icc01abe0bc7368455527b5f4b5299b4cb9f2b177
| * Fix clients starting sensors when sensorfw restarts.5.4Lorn Potter2015-05-281-0/+1
| | | | | | | | | | | | Task-number: QTBUG-45516 Change-Id: I45215714e8f5e4693e43d022a3ca313576c85d79 Reviewed-by: Alex Blasche <alexander.blasche@theqtcompany.com>
* | Fix crash in AndroidCompassVyacheslav Koscheev2015-05-271-2/+5
| | | | | | | | | | | | Change-Id: I9031610c02d9418b46339c34b02264a03600403c Task-number: QTBUG-45691 Reviewed-by: Alex Blasche <alexander.blasche@theqtcompany.com>
* | Updated WinRT license headers to use LGPLv3 instead of LGPLv21Jani Heikkinen2015-05-2115-150/+195
| | | | | | | | | | | | | | | | From 5.5.0 -> WinRT port is licensed with LGPLv3, see http://blog.qt.io/blog/2015/04/29/windows-10-support-in-qt/ Change-Id: I1c78b8f11d1640e36e6b90eea47500c5dd5408ee Reviewed-by: Maurice Kalinowski <maurice.kalinowski@theqtcompany.com>
* | Merge remote-tracking branch 'origin/5.4' into 5.5Liang Qi2015-04-152-4/+5
|\| | | | | | | Change-Id: I06a505894844bfd17eb07106bed0c07ca2f9f79c
| * Fix double negative values, sensorfw already transforms the accel values.Lorn Potter2015-04-131-3/+3
| | | | | | | | | | | | | | | | No need to use a double negative in the chain of data to arrive at the correct values. Change-Id: I694037bb7f83083d3d281ec9544d7fa300861f1a Reviewed-by: Alex Blasche <alexander.blasche@theqtcompany.com>
| * Fix crash in QtSensors client, when sensorfwd is not running.Lorn Potter2015-04-021-1/+2
| | | | | | | | | | Change-Id: Iecb6fe8637001d3005aa04c58d1d888f534c5082 Reviewed-by: Alex Blasche <alexander.blasche@theqtcompany.com>
* | Merge remote-tracking branch 'gerrit/5.4' into 5.5Alex Blasche2015-04-012-0/+29
|\| | | | | | | Change-Id: If6f44fe2cd69bae92cddd4682e952f2528b85184
| * add dynamic alwaysOn support for sensorfw backendLorn Potter2015-03-192-0/+29
| | | | | | | | | | Change-Id: Ibb4d335ff43a91f84f346ab32847ab376830ed35 Reviewed-by: Alex Blasche <alexander.blasche@theqtcompany.com>
* | Fix QNX 6.6 build, use the q* version of math functionsSergio Martins2015-03-302-9/+9
| | | | | | | | | | | | | | genericrotationsensor.cpp:85:37: error: 'sqrt' was not declared in this scope Change-Id: I871b88130debdfd0a64421e4da8a451b586e7ba6 Reviewed-by: Rafael Roquetto <rafael.roquetto@kdab.com>
* | Fix SensorFW link in docsAlex Blasche2015-03-241-1/+1
| | | | | | | | | | | | | | | | | | Meego is long gone and Mer has taken over the continued development. In addition, Gitorious will shut down soon. Change-Id: Ib99738a6b9f013ff42ed46d2676de09c9528c9f6 Reviewed-by: Tobias Hunger <tobias.hunger@theqtcompany.com> Reviewed-by: Lorn Potter <lorn.potter@gmail.com>
* | Merge remote-tracking branch 'origin/5.4' into 5.5v5.5.0-alpha1Frederik Gladhorn2015-02-241-3/+3
|\| | | | | | | Change-Id: I7b64e129ef941420378cda207f5fdf90efe4c463
| * Make sensorfw als values the common standard for QtSensors pluginsLorn Potter2015-02-241-3/+3
| | | | | | | | | | Change-Id: I69d15c8af9b6e5acde9d86e185395590369baab6 Reviewed-by: Alex Blasche <alexander.blasche@theqtcompany.com>
* | Merge "Merge remote-tracking branch 'origin/5.4' into dev" into refs/staging/devSergio Ahumada2015-02-224-12/+12
|\ \
| * | Merge remote-tracking branch 'origin/5.4' into devFrederik Gladhorn2015-02-134-12/+12
| |\| | | | | | | | | | Change-Id: I7db3f66a1ac98d32a206c288b53151ad0a249944
| | * Add the QtCore/ library prefix in public headersSergio Ahumada2015-02-124-12/+12
| | | | | | | | | | | | | | | Change-Id: I294756d2d98972db24bd7d7e2979a92d78c5e060 Reviewed-by: Lorn Potter <lorn.potter@gmail.com>
* | | Remove BlackBerry PlayBook support.Rafael Roquetto2015-02-183-370/+0
| | | | | | | | | | | | | | | Change-Id: Id1247f797873395c38251ba098bfa848a06f10ee Reviewed-by: Rafael Roquetto <rafael.roquetto@kdab.com>
* | | Update copyright headersJani Heikkinen2015-02-17321-2226/+2170
|/ / | | | | | | | | | | | | | | | | Qt copyrights are now in The Qt Company, so we could update the source code headers accordingly. In the same go we should also fix the links to point to qt.io. Change-Id: I141862df4ed2475c05ebbeb8fe447c4a6e736849 Reviewed-by: Antti Kokko <antti.kokko@theqtcompany.com>
* | Update plugins.qmltypes for QtSensors 5.5 releaseAlex Blasche2015-02-062-5/+5
| | | | | | | | | | Change-Id: I4b5bd46487a3589171f115aba1ee1a57d0273f35 Reviewed-by: Lorn Potter <lorn.potter@gmail.com>
* | Cleanup QtSensors QML plugin project fileAlex Blasche2015-02-041-5/+0
|/ | | | | | | | This was ancient code and qmake got much smarter since then. It caused an incorrect "qmltypes" make target too. Change-Id: I4dbbd70a80fac71dbf033e1af9fb5f256c7279c0 Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@theqtcompany.com>
* Do not install the dummy sensors plugin by defaultAllan Sandfeld Jensen2014-12-181-1/+5
| | | | | | | | | | | | The dummy sensors plugin will start fake sensors that emit 100 updates per second. This should not be the default sensor returned when a user requests a sensor. These sensors were default on Linux. Task-number: QTBUG-39475 Change-Id: Ia276e904f93dfeef95f7490ec7cb51cad260a2a8 Reviewed-by: Lorn Potter <lorn.potter@gmail.com>
* Doc: Applied title case in section1 titlesv5.4.0-rc1v5.4.0-beta1Nico Vertriest2014-10-095-9/+9
| | | | | | | Task-number: QTBUG-41250 Change-Id: I788332e3db66e8188fc7d64d1e31995f4b432932 Reviewed-by: Martin Smith <martin.smith@digia.com> Reviewed-by: Topi Reiniö <topi.reinio@digia.com>
* Add \since tag to QtSensor classes.Alex Blasche2014-09-2619-18/+64
| | | | | | | | | | QtSensors was released first by Qt 5.1. A few whitespace changes go along as well to unify the formatting. Change-Id: I6f6e15c95c1a5f33731782e429e87cef68e96e3b Task-number: QTBUG-36775 Reviewed-by: Topi Reiniö <topi.reinio@digia.com>
* Merge remote-tracking branch 'origin/5.3' into 5.4v5.4.0-alpha1Frederik Gladhorn2014-08-282-4/+15
|\ | | | | | | Change-Id: I7c2b192d4b3b4d745096058fd69921d855433f85
| * Add missing private headers warningv5.3.2Samuel Gaist2014-08-181-0/+11
| | | | | | | | | | | | Change-Id: I06883e0f2bb16999f13993b69b3701443912c5cc Reviewed-by: Alex Blasche <alexander.blasche@digia.com> Reviewed-by: Lorn Potter <lorn.potter@jollamobile.com>
| * Do not warn when failing to load static plugins as sensor pluginsEike Ziller2014-08-151-3/+3
| | | | | | | | | | | | | | | | Since the list of static plugins can contain all kinds of plugins, failing there is expected. Change-Id: Ia5051c75691717b2e7279a68ea06f7697cbca053 Reviewed-by: Alex Blasche <alexander.blasche@digia.com>
| * Do not warn if no config file is found.Eike Ziller2014-08-151-1/+1
| | | | | | | | | | | | | | | | Since this is the default situation. Change-Id: I9ab76b8ef9402fe39df0aaa532b61bd43b520b71 Reviewed-by: Lorn Potter <lorn.potter@jollamobile.com> Reviewed-by: Alex Blasche <alexander.blasche@digia.com>
* | Update license headers and add new licensesJani Heikkinen2014-08-24293-5467/+3123
| | | | | | | | | | | | | | | | | | | | | | - Renamed LICENSE.LGPL to LICENSE.LGPLv21 - Added LICENSE.LGPLv3 & LICENSE.GPLv2 - Removed LICENSE.GPL Change-Id: I99c601a398559886c2900f3e04833acfceba8263 Reviewed-by: Antti Kokko <antti.kokko@digia.com> Reviewed-by: BogDan Vatra <bogdan@kde.org> Reviewed-by: Tony Sarajärvi <tony.sarajarvi@digia.com>
* | Merge remote-tracking branch 'origin/5.3' into 5.4Frederik Gladhorn2014-08-1221-78/+184
|\| | | | | | | | | | | | | | | Conflicts: src/plugins/sensors/sensorfw/sensorfwproximitysensor.cpp src/sensors/qcompass.cpp Change-Id: Idfcbbfe1757a4b827663453abc27f4026cd3d752
| * Add missing word to QCompass documentation.Mitch Curtis2014-07-181-1/+1
| | | | | | | | | | Change-Id: I46b9a3c20b5169843292057439c80c859ccc7e82 Reviewed-by: Lorn Potter <lorn.potter@jollamobile.com>
| * Restore setting of sensors interface.Robin Burchell2014-07-171-0/+4
| | | | | | | | | | | | | | | | Change I5c1bf3999ad2268c0dba9b3fe511d999c2e63fd9's forward porting from Qt 5.1 removed this, thus the interface was never set, thus sensors all broke. Change-Id: If3b14b5ebd20e6cb64bc2000b23a2c1e37d36b05 Reviewed-by: Alex Blasche <alexander.blasche@digia.com>