summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Update copyright year in Nokia copyright headers.Jason McDonald2012-01-112-2/+2
| | | | | | | | Update copyright headers from before 2011. Change-Id: Id0abf4df20df2a5db55c98866f93b7be2e891372 Sanity-Review: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Rohan McGovern <rohan.mcgovern@nokia.com>
* sync.profile: introduce dependency on qtjsbackendRohan McGovern2012-01-101-0/+1
| | | | | | | | | | sync.profile needs to enumerate indirect dependencies too. qtdeclarative now depends on qtjsbackend; update sync.profile accordingly. Change-Id: I73f74f20d205a6f446bf89f75ef14aeb790b06ef Sanity-Review: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Simon Hausmann <simon.hausmann@nokia.com>
* change test name to Show_Device_OrientationDaron Andrew Edie2012-01-061-2/+2
| | | | | | Change-Id: I6ce0c52f75362dbc9b943d0aca51a6717e156433 Sanity-Review: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Natalia Shubina <natalia.shubina@nokia.com>
* Added tests to confirm operation of sensors singly and in combinationDaron Andrew Edie2012-01-061-4/+10
| | | | | | Change-Id: Ie5db85d3a4ca7d94a683ef3fe0212665e1a332fa Sanity-Review: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Natalia Shubina <natalia.shubina@nokia.com>
* Update copyright year in license headers.Jason McDonald2012-01-05213-213/+213
| | | | | | Change-Id: I7fdedc329cf80f84f1f6e0c6c9da3f7d1ebcd70d Sanity-Review: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Rohan McGovern <rohan.mcgovern@nokia.com>
* Fixed shadow builds on platforms other than Windows.Rohan McGovern2011-12-291-1/+3
| | | | | | | | | | | | | | | | | | | | | | | This example .pro file was doing DESTDIR = $$OUT_PWD ... apparently to escape from the debug/release subdirectory on Windows. This is redundant on Linux, and actually harmful, because when DESTDIR is set, the generated makefile includes commands conceptually similar to: rm -f $$DESTDIR/$$TARGET mv $$OUT_PWD/$$TARGET $$DESTDIR/$$TARGET Therefore, if DESTDIR equals OUT_PWD, the TARGET itself is deleted. Change-Id: I73278d9aec0d37200c8bc9c9755145f4968b2684 Reviewed-by: Toby Tomkins Sanity-Review: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Toby Tomkins <toby.tomkins@nokia.com>
* QML Sensor 2 demo starts with proximity in running stateWolfgang Beck2011-12-231-1/+1
| | | | | | Change-Id: Id4d9faf81f2dacb2089e10ae43952a9f30ef6789 Sanity-Review: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Lorn Potter <lorn.potter@nokia.com>
* added test MTMW-426 Handle service errors gracefullyDaron Andrew Edie2011-12-221-0/+26
| | | | | | Change-Id: I2a11edc78dc14802eb06a00b49da7cc96966af75 Sanity-Review: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Daniel Kovacic <daniel.kovacic@nokia.com>
* Grue example doesn't work in simulatorWolfgang Beck2011-12-206-24/+28
| | | | | | Change-Id: I486e24befd3f31345ec7f8dffd9a183f9f2ec4cb Sanity-Review: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Lincoln Ramsay <lincoln.ramsay@nokia.com>
* compile with strict warningsLincoln Ramsay2011-12-191-5/+5
| | | | | | | | | | | | Even though the code was converting between one enum and the other, it was continuing to use the old enum value, causing a warning. Map default: to Undefined so this always works (and never uses an uninitialized variable). Change-Id: Ic7da7efebccfb2733498251f67d4d25a56637f44 Sanity-Review: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Oliver Wolff <oliver.wolff@nokia.com>
* add accel bubble example app and docs/tutorialLorn Potter2011-12-196-0/+218
| | | | | | Change-Id: I0f94e4c42797177f08704945f6b4628b84690d8d Sanity-Review: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Lincoln Ramsay <lincoln.ramsay@nokia.com>
* QIRProximity... classes should be documentedLincoln Ramsay2011-12-191-9/+9
| | | | | | | | | When pulled in, these files had /* instead of /*! markers which qdoc ignores. Change-Id: I346bd0d472ca37ffe460b661edaca522388b46b3 Sanity-Review: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Lorn Potter <lorn.potter@nokia.com>
* Add missing QT header macros.Lincoln Ramsay2011-12-1934-1/+82
| | | | | | | | | | | | QT_BEGIN_HEADER QT_BEGIN_NAMESPACE QT_END_NAMESPACE QT_END_HEADER Change-Id: Iac83c311b43b2bba4fd9749027b3cdc91263c5e5 Sanity-Review: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Toby Tomkins <toby.tomkins@nokia.com>
* Remove ambientlightsensor dependency from qsensordata_simulatorOliver Wolff2011-12-193-3/+33
| | | | | | Change-Id: I5c2dca9787d1ec176dfb20553920a0347064003f Sanity-Review: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Lincoln Ramsay <lincoln.ramsay@nokia.com>
* Normalize SIGNAL/SLOT macros.Lincoln Ramsay2011-12-151-3/+3
| | | | | | Change-Id: Ic46576ab8a9f28258020ed3afe12b377036c6797 Sanity-Review: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Lincoln Ramsay <lincoln.ramsay@nokia.com>
* Grue example doesn't stop counting when reaches 100Wolfgang Beck2011-12-151-1/+1
| | | | | | | Change-Id: I8dfc97897e4d42b657b55ab3e3d734556313c48b Sanity-Review: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Lincoln Ramsay <lincoln.ramsay@nokia.com> Reviewed-by: Wolfgang Beck <wolfgang.beck@nokia.com>
* Add missing \brief statement for sensor example overview.alex2011-12-144-6/+7
| | | | | | | Change-Id: I301be8eb50077aab0c38293113be3c0e3300ddc7 Sanity-Review: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Lincoln Ramsay <lincoln.ramsay@nokia.com> Reviewed-by: Wolfgang Beck <wolfgang.beck@nokia.com>
* updated system test for changes to APIDaron Andrew Edie2011-12-121-6/+38
| | | | | | Change-Id: I8a41a0c2a31ccbd256b4d7a84ab0fe27d0ca618b Sanity-Review: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Daniel Kovacic <daniel.kovacic@nokia.com>
* Add MAZE tutorialWolfgang Beck2011-12-093-8/+67
| | | | | | | Change-Id: I076d5071aa27ba10da6885b1d856c24ca6bb4f7d Sanity-Review: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Lincoln Ramsay <lincoln.ramsay@nokia.com> Reviewed-by: Wolfgang Beck <wolfgang.beck@nokia.com>
* Add tutorial for cubehouse exampleWolfgang Beck2011-12-093-11/+74
| | | | | | | Change-Id: I6058e9f5965d99e669ac845357916943d370f734 Sanity-Review: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Lincoln Ramsay <lincoln.ramsay@nokia.com> Reviewed-by: Wolfgang Beck <wolfgang.beck@nokia.com>
* add simulator plugin for sensorgestures.Lorn Potter2011-12-088-1/+536
| | | | | | Change-Id: I7ec82ef7ee7795f6d8528f9ebd9d70b80435b7ea Sanity-Review: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Lincoln Ramsay <lincoln.ramsay@nokia.com>
* Don't qFatal!Lincoln Ramsay2011-12-071-2/+4
| | | | | | | | | Just warn and keep running. No sensor data will come but that's much better than killing the process that was running. Change-Id: I7cfe999450b3abf429a06b71448b63cc2626615c Sanity-Review: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Lorn Potter <lorn.potter@nokia.com>
* add z and y axis accumulation for shake as well.Lorn Potter2011-12-062-26/+33
| | | | | | Change-Id: If20750a1772da7fc7dc3665f68950c5c0aa6d30c Sanity-Review: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Lincoln Ramsay <lincoln.ramsay@nokia.com>
* Tutorial doc for tilt abl and proxi qml sensorsWolfgang Beck2011-12-053-10/+85
| | | | | | | Change-Id: Ie7aac8003aea91e7cef5a3db336e736500fd7949 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>
* 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>