summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* | Merge remote-tracking branch 'origin/5.4' into devFrederik Gladhorn2014-09-1923-680/+176
|\ \ | |/ | | | | Change-Id: Id81b14a4e11f4b64b82cc4c4410046858c76dd74
| * Remove cube exampleAlex Blasche2014-09-1815-666/+0
| | | | | | | | | | | | | | | | | | | | The example doesn't offer much example value. The accelerometer is presented by the accelbubble example too but doesn't have all the Qt3d dependencies. Cutting those dependencies is much cleaner. Task-number: QTBUG-31076 Change-Id: I074b24974cbd630d7b6ccc9eb21d8cabc96da86c Reviewed-by: Topi Reiniö <topi.reinio@digia.com>
| * Fix a couple of issues in the maze exampleAlex Blasche2014-09-184-10/+65
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1.) Remove dependency on QtSystemInfo. The module is not officially supported at this stage and screen saver related code is not really required for the example. 2.) Add AndroidManifest.xml to lock the screen orientation in portrait mode. Since the example depends on the tilt sensor a rotating UI is messing the game up. 3.) Port app to current TiltSensor API. The game works but its biggest problem remains the UI. It uses fixed-size UI elements which makes it tiny on High DPI screens. Task-number: QTBUG-31076 Change-Id: I73df9361b5171da930df66072e8ee9eba89b71ad Reviewed-by: Mitch Curtis <mitch.curtis@digia.com>
| * Merge remote-tracking branch 'origin/5.3' into 5.4Frederik Gladhorn2014-09-160-0/+0
| |\ | | | | | | | | | | | | | | | | | | Conflicts: .qmake.conf Change-Id: Ic6cdc4873d153c8a7d5d233b70c50879eaf49c9c
| | * Bump version5.3Frederik Gladhorn2014-08-291-1/+1
| | | | | | | | | | | | Change-Id: I302c83fa8edd1d9e7f350c5d1e2edab3c7c0acf8
| * | Merge remote-tracking branch 'origin/5.3' into 5.4v5.4.0-alpha1Frederik Gladhorn2014-08-285-4/+111
| |\ \ | | |/ | | | | | | Change-Id: I7c2b192d4b3b4d745096058fd69921d855433f85
| | * Add missing private headers warningv5.3.25.3.2Samuel Gaist2014-08-182-0/+22
| | | | | | | | | | | | | | | | | | 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>
| | * Add changelog for QtSensors 5.3.1 and 5.3.2 releaseAlex Blasche2014-08-132-0/+85
| | | | | | | | | | | | | | | Change-Id: I98bd8e3989fc78b552e7685274143c0b8bd90e5e Reviewed-by: Jerome Pasion <jerome.pasion@digia.com>
* | | Merge remote-tracking branch 'origin/5.4' into devFrederik Gladhorn2014-08-28349-7136/+4167
|\ \ \ | |/ / | | | | | | Change-Id: Id428d4ac5496b03c2237268f71aaf1b591726b95
| * | Update license headers and add new licensesJani Heikkinen2014-08-24349-7136/+4167
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - 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.4' into devFrederik Gladhorn2014-08-1828-80/+485
|\ \ \ | |/ / | | | | | | Change-Id: I4a589c2f9005f6bfd9242e335387ec690e97210a
| * | 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>
| | * Series of crash fixes from Mer, squashedLorn Potter2014-07-1014-81/+120
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1)tracing plugin loading 2)m_remoteSensorManager can be nullptr But it seems it does not solve incorrect initialization in the case manager interface is nullptr: init() for different sensors does not check initDone 3)split initSensor() to template function and function most of initSensor() does not depend on template param, so it is better to split it -> less code should be generated 4)do not use sensor manager if it is invalid 5)correct class members initialization order 6)assert sensor interface is not null From what I saw according to logic it should not happen so using Q_ASSERT for better maintainability 7)check local interface pointer in SensorfwTapSensor::start() Signed-off-by: Denis Zalevskiy <denis.zalevskiy@jolla.com> Change-Id: I5c1bf3999ad2268c0dba9b3fe511d999c2e63fd9 Reviewed-by: Alex Blasche <alexander.blasche@digia.com>
| | * [sensorfw] need to run init after sensord has been restartedLorn Potter2014-07-1019-0/+63
| | | | | | | | | | | | | | | | | | | | | This ensures things are setup and work properly. Change-Id: I23c8b53e760d49695c5ae207eed77a2e7d2be3a4 Reviewed-by: Alex Blasche <alexander.blasche@digia.com>
| * | Compass sensor implementation for AndroidPaul Olav Tvete2014-08-127-0/+298
| | | | | | | | | | | | | | | Change-Id: Ic13d2d1e400a92b2f0c3c83e279c58b799f9d06b Reviewed-by: Lorn Potter <lorn.potter@jollamobile.com>
| * | Clarify the QCompass coordinate systemPaul Olav Tvete2014-08-121-2/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | The compass behaves like the other sensors: it is measured relative to the top of the device. Change-Id: Iddc4ad6a16f8b09d26a9d300155324bb8d378b76 Reviewed-by: Alex Blasche <alexander.blasche@digia.com> Reviewed-by: Lorn Potter <lorn.potter@jollamobile.com>
* | | Bump versionOswald Buddenhagen2014-08-091-1/+1
|/ / | | | | | | Change-Id: I5d3e384bcbeacef4a3287fcdfe410b630f0e3122
* | winrt: Avoid divide-by-zero when starting sensorsAndrew Knight2014-08-085-5/+30
| | | | | | | | | | | | | | | | | | | | Several sensors were setting the dataRate without checking the value first. If the dataRate is zero, then don't set the native rate (use the default). Task-number: QTBUG-40664 Change-Id: I50e78fd071bd1f56e47baf23b74900b8a6e6c7eb Reviewed-by: Maurice Kalinowski <maurice.kalinowski@digia.com>
* | Set dataRates for sensorsMaurice Kalinowski2014-08-085-0/+15
| | | | | | | | | | | | | | | | | | | | | | Some sensors need to set a dataRate in which they are providing values. Values are in Hz, hence the conversion and defaults to 1Hz like on other backends as well. Task-number: QTBUG-40664 Change-Id: I980155f9b4b2772e8420df4b51e8ebb5cdea6037 Reviewed-by: Andrew Knight <andrew.knight@digia.com>
* | Add Windows Phone 8.1 supported sensorsMaurice Kalinowski2014-08-083-19/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | AmbientLight as well as Orientation sensors have been added to the Windows Phone 8.1 API. Furthermore accuracy for QCompass is now available on all WinRT related platforms. [ChangeLog][Windows Phone] Add support for QAmbientLightSensor and QOrientationSensor with Windows Phone 8.1 Task-number: QTBUG-39627 Change-Id: I6b2674c0d9935b874f35e6453f1e51d811133264 Reviewed-by: Andrew Knight <andrew.knight@digia.com>
* | Register all QtSensor QML types for version 5.4Alex Blasche2014-07-092-5/+6
| | | | | | | | | | Change-Id: I6afcbcf691e203491ee563168c19d084c051a449 Reviewed-by: Frederik Gladhorn <frederik.gladhorn@digia.com>
* | Doc: Removing url variable from qdocconf file.Jerome Pasion2014-07-071-1/+0
| | | | | | | | | | | | | | -url inherited from the url variable set in qtbase/doc/global Change-Id: I0bab30bfd8e6f386aa94c2e28d13184fde9af63c Reviewed-by: Martin Smith <martin.smith@digia.com>
* | Merge remote-tracking branch 'origin/5.3' into devFrederik Gladhorn2014-06-266-7/+7
|\ \ | |/ | | | | | | | | | | Conflicts: .qmake.conf Change-Id: I01306a5c0d34f85efdbc5f947add4dee0cccbf8e
| * Merge remote-tracking branch 'origin/5.3.1' into 5.3Frederik Gladhorn2014-06-256-7/+7
| |\ | | | | | | | | | Change-Id: I04906f381fefa4a60e4a31021d282253a632f833
| | * WinRT: Check whether default sensors were obtained successfullyv5.3.15.3.1Oliver Wolff2014-06-186-7/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | In case of an unsuccessful call of the GetDefault function the returned HRESULT does not have the FAILED status but the returned sensor is 0. Task-number: QTBUG-39698 Change-Id: I42a8327c1d7687ab7a8ca71be5a2234b2c4e0b38 Reviewed-by: Andrew Knight <andrew.knight@digia.com>
| * | Bump versionOswald Buddenhagen2014-06-181-1/+1
| |/ | | | | | | Change-Id: I0ac4e13a17aaff50027c94e06ee1f4f71aa3cdb4
* | Merge remote-tracking branch 'origin/5.3' into devSergio Ahumada2014-06-1412-2/+134
|\ \ | |/ | | | | | | | | | | Conflicts: .qmake.conf Change-Id: Ia804a9a975baea0f971c7bea004c5ce403d1adee
| * Android: don't crash if Gravity is not supportedstablePaul Olav Tvete2014-06-023-0/+8
| | | | | | | | | | | | | | | | | | | | | | | | The QtSensors documentation says that if Gravity mode is not available, we should silently fall back to the default Combined mode. In addition, add null pointer checks in case we try to ask for non-existent sensors in the future. Task-number: QTBUG-39335 Change-Id: I6c18622d081db4e3a7d07c744bb0b746e3f5c6ff Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@digia.com>
| * Merge remote-tracking branch 'origin/release' into stableFrederik Gladhorn2014-05-011-0/+67
| |\ | | | | | | | | | Change-Id: I47951d3d277c1d2fc45a7ec36cc01d677ffec7cb
| | * Add QtSensor changelog for Qt 5.3.0v5.3.0-rc1v5.3.0release5.3.0Alex Blasche2014-04-241-0/+67
| | | | | | | | | | | | | | | | | | | | | Change-Id: I34160176dec6525e908956959c0749a199e45a2b Reviewed-by: Sergio Ahumada <sahumada@blackberry.com> Reviewed-by: Alex Blasche <alexander.blasche@digia.com> Reviewed-by: Andrew Inwood <ainwood@blackberry.com>
| * | Merge remote-tracking branch 'origin/release' into stableJani Heikkinen2014-04-236-0/+57
| |\ \ | | |/ | | | | | | Change-Id: I0a9d2e3cbcbe5adcbfc1dbcef3a9d3e7f52d4b90
| | * ios: skip accelerometer, gyroscope and magnetomenter updates if NaNFawzi Mohamed2014-04-173-0/+12
| | | | | | | | | | | | | | | | | | Change-Id: I7becfab81d56fc45ec7dc76333383503b8abccfe Reviewed-by: Alex Blasche <alexander.blasche@digia.com> Reviewed-by: Richard Moe Gustavsen <richard.gustavsen@digia.com>
| | * accelbubble: disable rotation on iOSFawzi Mohamed2014-04-172-0/+42
| | | | | | | | | | | | | | | Change-Id: Ia3f6bdd494b3d167121bd8ee80f81c031a81f45a Reviewed-by: Alex Blasche <alexander.blasche@digia.com>
| | * accelbubble: avoid updating position if NaN.Fawzi Mohamed2014-04-171-0/+3
| | | | | | | | | | | | | | | | | | | | | Invalid sensor data is NaN, and should be ignored. Change-Id: I6436bdd494b3d167121bd8ee80f81c031e60743e Reviewed-by: Alex Blasche <alexander.blasche@digia.com>
| * | Bump MODULE_VERSION to 5.3.1Sergio Ahumada2014-04-221-1/+1
| | | | | | | | | | | | | | | Change-Id: I58301f1f05ca0276dbfc6ca0382cb047f036e76c Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@digia.com>
| * | Change slashes depending on host in examples.Friedemann Kleint2014-04-152-2/+2
| |/ | | | | | | | | | | Task-number: QTBUG-38224 Change-Id: I3c7a3d0b3a47696aeb2eee799ae119419ea60713 Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@digia.com>
* | Doc: Fix qmlclass selector used in documentation configTopi Reinio2014-06-111-1/+1
| | | | | | | | | | | | | | | | | | | | A recent change (46959875) in qdoc raised QML types from subnodes to top-level nodes. This change modifies the documentation configuration file(s) accordingly. Change-Id: Iac59992a7ed9bf389502834d0bc694f3e64621b6 Reviewed-by: Jerome Pasion <jerome.pasion@digia.com> Reviewed-by: Martin Smith <martin.smith@digia.com>
* | send first proximity signal even when it's "closed".Lorn Potter2014-05-202-10/+7
| | | | | | | | | | | | | | | | This fixes a bug where the proximity sensor would send the initial signal only when it was not closed. This will send it regardless. Change-Id: I5f388e671091ae2a7719f700a049cea41bfaa0db Reviewed-by: Alex Blasche <alexander.blasche@digia.com>
* | fix obs buildLorn Potter2014-05-2043-58/+60
| | | | | | | | | | Change-Id: Ia70486a0c6b813829ffd633f5334945f73d3b628 Reviewed-by: Lorn Potter <lorn.potter@jollamobile.com>
* | Merge remote-tracking branch 'origin/stable' into devFrederik Gladhorn2014-04-1126-19/+88
|\ \ | |/ | | | | Change-Id: I07a6842afc72f56c82e82906429fa422f9a82de2
| * Android, Fix generic access to QAccelerometerAndrew Inwood2014-04-092-4/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | Generic access to QAccelerometer through QSensor was broken by my previous change: 971fc95eca1d9db93aa4bdb75793dfe83e4a97db When using a QSensor* to access the accelerometer, the qobject_cast would fail, and return 0. I fix this by defaulting the accelerationMode to Combined when a QSensor* is used. Change-Id: If8389808a416807b72709a13ca315aa23bbf94a0 Reviewed-by: Bernd Weimer <bweimer@blackberry.com> Reviewed-by: Fabian Bumberger <fbumberger@rim.com> Reviewed-by: Lorn Potter <lorn.potter@jollamobile.com>
| * add PLUGIN_CLASS_NAME declarations to plugin projectsOswald Buddenhagen2014-04-0911-0/+15
| | | | | | | | | | | | | | | | | | | | | | needed for automatic static linking (and later deployment). the gesture plugins are excluded from the automation based on the assumption that they are usually not needed. the example and the test plugin are also excluded for obvious reasons. Change-Id: I7645aa0daf216ce430989e13d4380dbe6dd2bbd1 Reviewed-by: Fawzi Mohamed <fawzi.mohamed@digia.com> Reviewed-by: Alex Blasche <alexander.blasche@digia.com>
| * Accelbubble example only really works with a locked UI to portraitAlex Blasche2014-04-082-1/+52
| | | | | | | | | | | | | | | | On Android we have to do that via a custom AndroidManifest. Change-Id: If436bdd494b3d167121bd8ee80f81c031a81f5d5 Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@digia.com> Reviewed-by: Leena Miettinen <riitta-leena.miettinen@digia.com>
| * BlackBerry: update plugin keyAndrew Inwood2014-04-079-9/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | The plugin key for both the Generic backend and the BlackBerry backend were set to "notused". This ultimately caused the Generic backend not to be loaded, which is why QTiltSensor wasn't being exposed. The duplicate keys caused a collision in a QMap in QFactoryLoader, making it look like the generic backend had been created, when it hadn't. Tested on a BlackBerry Z10. Change-Id: Ie5e40586751e7c3b9683a94a39b07efd4fc7fc82 Reviewed-by: Bernd Weimer <bweimer@blackberry.com> Reviewed-by: Fabian Bumberger <fbumberger@rim.com>
| * Simplify building of simulator based codeAlex Blasche2014-04-072-5/+7
| | | | | | | | | | | | | | | | | | There is no need for the CONFIG+=simulator logic anymore. qtHaveModule() is an automatic way of doing the same. Change-Id: Ibe87abb93e036a82fae3a752d9886c58ccebeec1 Reviewed-by: Rainer Keller <rainer.keller@digia.com> Reviewed-by: Alex Blasche <alexander.blasche@digia.com>
* | Merge remote-tracking branch 'origin/stable' into devIikka Eklund2014-04-011-0/+3
|\ \ | |/ | | | | Change-Id: I6b203a32b2f52255ae4e63cfb279e762458c0128