summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* Write a tutorial doc for the sensor gesture exampleWolfgang Beck2011-12-055-16/+79
| | | | | | | Change-Id: If30a0561ed943fd32a2543be1388e61adfb5bf9c Sanity-Review: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Lorn Potter <lorn.potter@nokia.com> Reviewed-by: Wolfgang Beck <wolfgang.beck@nokia.com>
* Sensor Gesture system testDaron Andrew Edie2011-12-011-0/+165
| | | | | | Change-Id: I0a5da26e15d312570e8c56546d59944e87d6457c Sanity-Review: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Daniel Kovacic <daniel.kovacic@nokia.com>
* ALS sometimes showing unknownWolfgang Beck2011-11-301-6/+6
| | | | | | Change-Id: I7b372e8851d1c86d4086affe01d067ef3b4923e4 Sanity-Review: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Wolfgang Beck <wolfgang.beck@nokia.com>
* Apply consistent naming to sensors appsWolfgang Beck2011-11-301-1/+1
| | | | | | Change-Id: I1967516051e64a56eb5476007fb50e1668a53656 Sanity-Review: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Wolfgang Beck <wolfgang.beck@nokia.com>
* new identifier format.Lorn Potter2011-11-292-2/+2
| | | | | | | Change-Id: Iade5565150d17017a492b4a81e9fee4a4744a722 Sanity-Review: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Wolfgang Beck <wolfgang.beck@nokia.com> Reviewed-by: Lorn Potter <lorn.potter@nokia.com>
* Clean up the sensor gestures unit test.Lincoln Ramsay2011-11-294-204/+136
| | | | | | | | | | QTRY_ instead of custom waiting functions. Do the thread test properly. Since it can't possibly work anyway, remove the qt_metacast() function. Change-Id: I139ab29bc0785bee49a22fa20d10f2970cbac367 Sanity-Review: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Lorn Potter <lorn.potter@nokia.com>
* Changed app run script from "select" which sometimes doesn't workDaron Andrew Edie2011-11-281-12/+38
| | | | | | Change-Id: I6f8c168a1b9b09988d04a4df5a29913fe2ef4605 Sanity-Review: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Daniel Kovacic <daniel.kovacic@nokia.com>
* Fixed QtSensors example namespace compilation.Toby Tomkins2011-11-281-0/+2
| | | | | | | | Explicitly include QTimer. Change-Id: I24667b038106854d39f83fad8cf11225b153df79 Sanity-Review: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Rohan McGovern <rohan.mcgovern@nokia.com>
* QtSensors: Fix compilation of examples/warnings on Windows.Friedemann Kleint2011-11-259-15/+24
| | | | | | | | | | | | - Fix double->float truncation in tests - Use -rdynamic for g++ only - Introduce EXPORT macro in grue library for Windows to work - Add DESTDIR for the grue lib (to prevent it from ending up in the debug/release subfolders, respectively Change-Id: I3b902b501483c92639c0a6252240db4ed8a4a00d Sanity-Review: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Lincoln Ramsay <lincoln.ramsay@nokia.com>
* Don't use <QtDeclarative> so we can compile with -WerrorLincoln Ramsay2011-11-252-2/+4
| | | | | | Change-Id: I039727b8920395af8b1129427f409d630d79c52d Sanity-Review: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Lorn Potter <lorn.potter@nokia.com>
* Fixed QtSensors autotest namespace compilation.Toby Tomkins2011-11-252-0/+7
| | | | | | Change-Id: Iaf903df5b74f8793e74a633cf4d42306d1e30263 Sanity-Review: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Lincoln Ramsay <lincoln.ramsay@nokia.com>
* Fixed QtSensors namespace compilation.Toby Tomkins2011-11-225-5/+13
| | | | | | Change-Id: If31a32c903034585ef8211fa17abb6747e64951f Sanity-Review: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Lincoln Ramsay <lincoln.ramsay@nokia.com>
* Document QSensorPluginInterface::keys()Lincoln Ramsay2011-11-221-7/+7
| | | | | | Change-Id: I4d681d32c18dc9e0caca7d2bc6632352495b7dcf Sanity-Review: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Lorn Potter <lorn.potter@nokia.com>
* add documentation for new functions related to factoryloaderLorn Potter2011-11-223-1/+24
| | | | | | Change-Id: I9ccdf7e9e15c007879b90877ef54832d01b3c3cd Sanity-Review: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Lincoln Ramsay <lincoln.ramsay@nokia.com>
* make all plugins availableLorn Potter2011-11-180-0/+0
| | | | | | | Change-Id: Ie2330abff5ebe3e0fbdc1f19e69230780b724435 Sanity-Review: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Wolfgang Beck <wolfgang.beck@nokia.com> Reviewed-by: Lorn Potter <lorn.potter@nokia.com>
* make all plugins availableLorn Potter2011-11-181-1/+1
| | | | | | | Change-Id: Ie2330abff5ebe3e0fbdc1f19e69230780b724435 Sanity-Review: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Wolfgang Beck <wolfgang.beck@nokia.com> Reviewed-by: Lorn Potter <lorn.potter@nokia.com>
* QFactoryLoader is used by singletonsLincoln Ramsay2011-11-180-0/+0
| | | | | | | | | Instead of using Q_GLOBAL_STATIC, just create and delete the QFactoryLoader instances in the singleton objects. Change-Id: I91ba017b530f0c48a74dc5c0a69fbc8fc20ab250 Sanity-Review: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Lorn Potter <lorn.potter@nokia.com>
* QFactoryLoader is used by singletonsLincoln Ramsay2011-11-184-16/+14
| | | | | | | | | Instead of using Q_GLOBAL_STATIC, just create and delete the QFactoryLoader instances in the singleton objects. Change-Id: I91ba017b530f0c48a74dc5c0a69fbc8fc20ab250 Sanity-Review: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Lorn Potter <lorn.potter@nokia.com>
* Don't install tests by default.Rohan McGovern2011-11-161-1/+2
| | | | | | | | | | Installing tests is a relatively rare use case, and is already disabled by default for some qt5 modules. Make the behavior consistent and disable it by default here too. Change-Id: I45ca36a1197b5ee808d832e17773059f11324371 Sanity-Review: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Lincoln Ramsay <lincoln.ramsay@nokia.com>
* compileLincoln Ramsay2011-11-152-77/+1
| | | | | | | | | | The simulator plugin did not compile under OBS. While looking for other plugins that may be affected a junk file was discovered in the qsensor unit test. Change-Id: Ic28d703d8f80214739579b74c11e7cef9b1b4148 Sanity-Review: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Lorn Potter <lorn.potter@nokia.com>
* remove qmobilitypluginsearch and use the QFactoryLoader instead.Lorn Potter2011-11-1421-231/+94
| | | | | | Change-Id: Ifdd2031d309a5ac4cbeedc5d7cdb6ba9cbb845c3 Reviewed-by: Lincoln Ramsay <lincoln.ramsay@nokia.com> Sanity-Review: Lincoln Ramsay <lincoln.ramsay@nokia.com>
* Add QtSensorGesture QML APIWolfgang Beck2011-11-1027-7/+1941
| | | | | | Change-Id: Iaa0a875941316c341d69f473eeba3be4a87ec736 Sanity-Review: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Lincoln Ramsay <lincoln.ramsay@nokia.com>
* add documentation to sensor gesture c++ exampleLorn Potter2011-11-096-20/+191
| | | | | | | | Also make the example app a bit more informative and useful. Change-Id: I9e74d12c7d762df46355467670f0b9b41e7b3b5c Sanity-Review: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Lincoln Ramsay <lincoln.ramsay@nokia.com>
* make one public way to control recognizerLorn Potter2011-11-092-5/+5
| | | | | | | | | | | Since pointers to the recognizers can be gotten from the manager, the methods to control the recognizers that have reference counting should be the public accessable ones. Make the virtual methods protected. Change-Id: I176315272ded9d5917133ec7cd329c537445b190 Sanity-Review: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Lincoln Ramsay <lincoln.ramsay@nokia.com> Reviewed-by: Alex <alex.blasche@nokia.com>
* Make TiltSensor 100% code coverageWolfgang Beck2011-11-092-12/+67
| | | | | | Change-Id: If769dc2f6b8652f3b1cbbd532cd11498a65c2317 Sanity-Review: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Wolfgang Beck <wolfgang.beck@nokia.com>
* add more code coverage.Lorn Potter2011-11-083-12/+43
| | | | | | | | | qt_metacast was not tested. add Q_ASSERT instead of conditional checking for object. Change-Id: Ib8eaa0583d0f8f71b144941a34b1fe9109e85b7a Sanity-Review: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Lincoln Ramsay <lincoln.ramsay@nokia.com>
* No need for a QML module when there's no docsLincoln Ramsay2011-11-041-11/+1
| | | | | | | | | The GrueSensor example no longer builds API docs so this module definition page isn't needed. Change-Id: I6263423ba756c2b5b70547d6c762ff664ef99377 Sanity-Review: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Peter Yard <peter.yard@nokia.com>
* add invalidIds, remove redundant isValid, rename availableIds to validIdsLorn Potter2011-11-034-23/+32
| | | | | | Change-Id: I9677535dde72e771b943fa1b0522689c34336824 Sanity-Review: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Lincoln Ramsay <lincoln.ramsay@nokia.com>
* make sure recognizers do not need pluginLorn Potter2011-11-032-1/+9
| | | | | | Change-Id: Id3deaca92019c964d0d093cc2b04bf1eb043fbbf Sanity-Review: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Lincoln Ramsay <lincoln.ramsay@nokia.com>
* make sure newSensorGestureAvailable gets signaledLorn Potter2011-11-034-3/+10
| | | | | | | | signaling needs to begin in the backend singleton Change-Id: I63453a919a0b5c9e1f093c6269bdfc171a592af9 Sanity-Review: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Lincoln Ramsay <lincoln.ramsay@nokia.com>
* Don't actually document Grue Sensor things.Lincoln Ramsay2011-11-032-13/+13
| | | | | | | | If we do this, qdoc puts these things into global indexes which is not good. Change-Id: I0d46ce74de1067bbd3a9af25f73f9bc94d919ff3 Sanity-Review: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Peter Yard <peter.yard@nokia.com>
* Fixed sensors' exports on WindowsOliver Wolff2011-11-011-1/+1
| | | | | | | Change-Id: I27a08cd717e5fc64232dc7b1dccf4fcfee4fc16c Sanity-Review: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Alex <alex.blasche@nokia.com> Reviewed-by: Lincoln Ramsay <lincoln.ramsay@nokia.com>
* add QSensorGestures API. Long live QSensorGestures!Lorn Potter2011-11-0153-5/+4252
| | | | | | Change-Id: Iada4e8888aad8b7b2180cc0bfb8576a766f75b24 Sanity-Review: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Lincoln Ramsay <lincoln.ramsay@nokia.com>
* Do not unload plugins.Lincoln Ramsay2011-10-311-5/+0
| | | | | | | | | | | It turns out that unloading Qt plugins breaks as soon as you get dependencies on your code. This is particularly obvious when you use Q_GLOBAL_STATIC because the destructors fire in an arbitrary order. Change-Id: If4fc9a0ca6a2c914c34559b7af84dc0fdb0e76e7 Sanity-Review: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Lorn Potter <lorn.potter@nokia.com>
* Get the simulator backend goingLincoln Ramsay2011-10-2810-157/+131
| | | | | | Change-Id: Idbb4ba7b97be38f74f3a74e5d54c15209d5a788a Sanity-Review: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Zsolt Simon <zsolt.simon@nokia.com>
* These are system tests. Allow suppressing them.Lincoln Ramsay2011-10-282-2/+2
| | | | | | Change-Id: I107b90658304d44fe7fb0b885ae47e26df7be6d1 Sanity-Review: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Zsolt Simon <zsolt.simon@nokia.com>
* Add missing test coverage for QIRProximitySensorLincoln Ramsay2011-10-282-0/+8
| | | | | | | Change-Id: I77a8a457d485f76853512063eeae15838929db0a Sanity-Review: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Zsolt Simon <zsolt.simon@nokia.com> Sanity-Review: Zsolt Simon <zsolt.simon@nokia.com>
* Revert temporary Q_SENSORS_EXPORT_TEMPalex2011-10-2120-53/+53
| | | | | | | | Q_SENSORS_EXPORT_TEMP was used while the normal macro was removed from qglobal.h. Change-Id: I55bf788e9beab5b060b9e24ee2a815ce3d9bc2a4 Reviewed-by: Alex <alex.blasche@nokia.com>
* Remove obsolete \since statements.alex2011-10-2013-13/+0
| | | | | Change-Id: I7c72145f911238966b92f1846072bf1cee72a631 Reviewed-by: Alex <alex.blasche@nokia.com>
* Remove auto generated section in qmlproject filesWolfgang Beck2011-10-193-6/+0
| | | | | Change-Id: I483555c82c4cb1477bb14a885d92625b320ec973 Reviewed-by: Wolfgang Beck <wolfgang.beck@nokia.com>
* Fix test running under OBS.Lincoln Ramsay2011-10-191-96/+96
| | | | | | | | | Remove the assumptions that break between i586 and ARMv5. Cleanup code by replacing C-style casts with C++ casts. Remove redundant QVariant() wrappers. Change-Id: Ie6fd4be1c04c2c725aa7c8e87c1de261c7750cd8 Reviewed-by: Lincoln Ramsay <lincoln.ramsay@nokia.com>
* MTMW-306 Update cubehouse exampleWolfgang Beck2011-10-1835-8640/+421
| | | | | Change-Id: I473898a4a6a46c89edb7d7b6ada7027dd9ae96d6 Reviewed-by: Wolfgang Beck <wolfgang.beck@nokia.com>
* license headersLincoln Ramsay2011-10-184-8/+8
| | | | | Change-Id: I9450e0d273675a3b93d103acfc1af73a04037217 Reviewed-by: Lincoln Ramsay <lincoln.ramsay@nokia.com>
* Fix linking of the grue sensor exampleLincoln Ramsay2011-10-182-2/+2
| | | | | | | | This got through the CI gate because it doesn't test shadow building. Change-Id: I690c3342a207662463b154e439d9a4faf3ea2002 Reviewed-by: Daniel Kovacic <daniel.kovacic@nokia.com> Reviewed-by: Lincoln Ramsay <lincoln.ramsay@nokia.com>
* First step of removal of Q_SENSORS_EXPXORT macro from qglobal.halex2011-10-1721-47/+125
| | | | | | | | | Each module handles its own exports. We need to change the QtSensors version, remove the qglobal.h define and then add it back under the old name in QtSensors. Change-Id: I4183b7fcfc46469745c11c373d3122f02d64ccc7 Reviewed-by: Alex <alex.blasche@nokia.com>
* Added QML sensor elements system testDaron Andrew Edie2011-10-141-0/+204
| | | | | | Change-Id: I9daa56d7300fe2f98ccb98a6371bfd624f5696a3 Reviewed-on: http://codereview.qt-project.org/4720 Reviewed-by: Daron Andrew Edie
* MTMW-347 Replace dataRate with speed in TltSensorWolfgang Beck2011-10-145-33/+254
| | | | | | Change-Id: Icdca79436d1fe0f0e7f5035ab1e27bc958a9e517 Reviewed-on: http://codereview.qt-project.org/6634 Reviewed-by: Wolfgang Beck <wolfgang.beck@nokia.com>
* doc updateLincoln Ramsay2011-10-111-1/+1
| | | | | | | Change-Id: I2ae842a5500f87395795301bad9b83b07202ff92 Reviewed-on: http://codereview.qt-project.org/6390 Sanity-Review: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Lincoln Ramsay <lincoln.ramsay@nokia.com>
* Add missing info for Grue Sensor exampleLincoln Ramsay2011-10-111-2/+9
| | | | | | | Change-Id: I1f7f88c28cd663d3717320926c086829243db7b2 Reviewed-on: http://codereview.qt-project.org/6378 Sanity-Review: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Lincoln Ramsay <lincoln.ramsay@nokia.com>
* make the grue sensor icon stand out betterLincoln Ramsay2011-10-112-0/+0
| | | | | | | Change-Id: Ifa2c2df6614f136efbfccdf0cc50e6a05785ecd5 Reviewed-on: http://codereview.qt-project.org/6291 Sanity-Review: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Lincoln Ramsay <lincoln.ramsay@nokia.com>