| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
Change-Id: Ib1f65462a9203534538a18fdc6374fb125cd6f3d
Reviewed-by: Lincoln Ramsay <lincoln.ramsay@nokia.com>
|
|
|
|
|
| |
Change-Id: Ife482d8acb5a533f61e009bf65ec37215a7af595
Reviewed-by: Lincoln Ramsay <lincoln.ramsay@nokia.com>
|
|
|
|
|
|
|
|
|
|
| |
slam and other gestures need to be performed the way the test data
shows.
slam is effected the most as now the gesture needs no hold at end to be
recognized, in accordance with data collected.
Change-Id: Iedfcf8e42def0b1dfe1c4d289a416ca64d8846e1
Reviewed-by: Lincoln Ramsay <lincoln.ramsay@nokia.com>
|
|
|
|
|
|
|
|
| |
Ensure comma between elements (2 missing), single space and curly-
braces around title elements, etc.
Change-Id: I0e18c9847b4510d484d36c91c8be8a9ab5d10cd3
Reviewed-by: Casper van Donderen <casper.vandonderen@nokia.com>
|
|
|
|
|
|
|
|
|
|
|
| |
Looking at the sensor plugins, it seems we need to load(qt_module)
and load(qt_plugin) instead of the other things these were doing.
Also, QT = core sensors because these plugins have no dependency on
QtGui so we don't want to link that in.
Change-Id: Id0560b0da39e6d2a7ed8619545189446324f69c0
Reviewed-by: Rohan McGovern <rohan.mcgovern@nokia.com>
|
|
|
|
|
|
| |
Change-Id: Ia3c49b6d991439eba06537938198ed682f23065d
Reviewed-by: Thomas McGuire <thomas.mcguire@kdab.com>
Reviewed-by: Lincoln Ramsay <lincoln.ramsay@nokia.com>
|
|
|
|
|
|
|
| |
Change-Id: I3b58ead1b24391ead4577777387dce44245e28a0
Reviewed-by: Tennessee Carmel-Veilleux <tcarmelveilleux@rim.com>
Reviewed-by: Thomas McGuire <thomas.mcguire@kdab.com>
Reviewed-by: Lincoln Ramsay <lincoln.ramsay@nokia.com>
|
|
|
|
|
|
| |
Change-Id: I04e1c1eb7702626f4ce5e19b301f8774e604b930
Reviewed-by: Tennessee Carmel-Veilleux <tcarmelveilleux@rim.com>
Reviewed-by: Lincoln Ramsay <lincoln.ramsay@nokia.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Each sensor now installs itself as an event filter of the application
object waiting to (de)activation events. When an ApplicationDeactivate
event arrives sensors are paused, they get resumed on
ApplicationActivate.
This behavior is inhibited by the alwaysOn property.
Change-Id: I559239f279d9412d8836efad08e6688019504b16
Reviewed-by: Thomas McGuire <thomas.mcguire@kdab.com>
Reviewed-by: Tennessee Carmel-Veilleux <tcarmelveilleux@rim.com>
Reviewed-by: Lincoln Ramsay <lincoln.ramsay@nokia.com>
|
|
|
|
|
|
|
|
|
|
| |
The emulator may be missing (eg. when running unit/system tests) so
handle this case without crashing.
Also fix a missing QLatin1String() around a bare string.
Change-Id: Ibeeb0078c1ae12cec4bf8e3f4e81b3a4c72347da
Reviewed-by: Lorn Potter <lorn.potter@nokia.com>
|
|
|
|
|
|
|
| |
qFree has been deprecated.
Change-Id: Ie64c791451cb3722183f2ea4d27b9b8e87a4f629
Reviewed-by: Lorn Potter <lorn.potter@nokia.com>
|
|
|
|
|
|
|
|
| |
code from the plugin has been moved into the manager so that every other
plugin can be triggered by the emluator.
Change-Id: I37232ab6d45a027541ab1b5c504b2844049ba522
Reviewed-by: Lincoln Ramsay <lincoln.ramsay@nokia.com>
|
|
|
|
|
|
|
|
|
|
|
| |
Make sure the DCMD_SENSOR_BKGRND command is sent to the sensor when we
call start(). Also ensure we send again the command when the property
is updated.
Change-Id: Ia37a96ba4dfc6fc1bdecf54ad2b730412939b32a
Reviewed-by: Thomas McGuire <thomas.mcguire@kdab.com>
Reviewed-by: Tennessee Carmel-Veilleux <tcarmelveilleux@rim.com>
Reviewed-by: Lincoln Ramsay <lincoln.ramsay@nokia.com>
|
|
|
|
|
| |
Change-Id: I5e5c57c8c3a86b17b52b35fb50e61b62fef12a0b
Reviewed-by: Lincoln Ramsay <lincoln.ramsay@nokia.com>
|
|
|
|
|
|
|
| |
set the datarate for accel sensor to be known.
Change-Id: I83f8771b178591adb518146473819602f7f48b23
Reviewed-by: Lincoln Ramsay <lincoln.ramsay@nokia.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The C++ library tries to delay things as much as possible. It turns
out that doing this for QML is not optimal because it means calling
sensor.start() can block for a long time (up to hundreds of
milliseconds in worst case scenarious). If the sensor is started
after the UI is visible, this will cause a stutter.
The workaround is not particularly elegant. We force the sensors
library to do its setup while the QML plugin is being loaded.
Change-Id: Iae945ccb79eb568c5decbfdf8a5d623cd96e9d6b
Reviewed-by: Zsolt Simon <zsolt.simon@nokia.com>
|
|
|
|
|
| |
Change-Id: I6d9f674eac15ad5f22de0e5631396c2c9eb1f19f
Reviewed-by: Kent Hansen <kent.hansen@nokia.com>
|
|
|
|
|
|
|
|
| |
QSensorFilter is a base-class that defines virtual functions. Therefore
it also needs to declare a virtual destructor.
Change-Id: I8f62b2eb825e73674980355a8419fb2d08f9c41c
Reviewed-by: Andras Becsi <andras.becsi@nokia.com>
|
|
|
|
|
|
|
|
| |
This is a workaround for platforms where QStandardPaths is either
broken or returning paths that aren't useful.
Change-Id: I4f7fbb0ea068d0bf13dc4f572ddbd25ad6048053
Reviewed-by: Zsolt Simon <zsolt.simon@nokia.com>
|
|
|
|
|
|
|
|
| |
sensor.h is a temporary copy until this file is available
in the Blackberry NDK.
Change-Id: I6a47ee4c8ccc0cc3603ea2df3c9fd61259e8ffac
Reviewed-by: Lincoln Ramsay <lincoln.ramsay@nokia.com>
|
|
|
|
|
|
|
|
|
| |
Sometimes we get an empty list.
Sometimes we get a list with an empty string.
Handle both cases.
Change-Id: Ideca4538adafd5abf21d117e99765757a7af899e
Reviewed-by: Wolfgang Beck <wolfgang.beck@nokia.com>
|
|
|
|
|
| |
Change-Id: I8e8d316fb1bf0a6793a1f418af841c9ee85ac264
Reviewed-by: Robin Burchell <robin+qt@viroteck.net>
|
|
|
|
|
|
| |
Change-Id: I417e3c57e986f9364f25d5a0e742bd31833de283
Reviewed-by: Lincoln Ramsay <lincoln.ramsay@nokia.com>
Reviewed-by: Lorn Potter <lorn.potter@nokia.com>
|
|
|
|
|
|
|
|
|
|
| |
Only doing this for the actual QML APIs, not the examples ones.
Can run make rebuild_qmltypes from a build directory to rebuild the
.qmltypes files automatically.
Change-Id: Ie1253646dde25861673c303b015a9ba9a4f0fbe3
Reviewed-by: Lorn Potter <lorn.potter@nokia.com>
|
|
|
|
|
| |
Change-Id: Id8b161f0de1a96a9a92a7fcbc11c9fd9c9fefe00
Reviewed-by: Lincoln Ramsay <lincoln.ramsay@nokia.com>
|
|
|
|
|
|
|
|
| |
Rather than having to remove plugins after build/install they can
be removed from the build by setting SENSORS_PLUGINS when building.
Change-Id: I9d0cf247043b683e32311e0a6fe69ef37e43455d
Reviewed-by: Lorn Potter <lorn.potter@nokia.com>
|
|
|
|
|
|
|
|
|
| |
If Qt has been built with the Json-backed QStandardPaths and
/etc/user-dirs.json doesn't contain a "CONFIG" entry then
we get no path. In that case, just look in /etc/xdg.
Change-Id: Id184912c70c940e73fdb2f7e771632c262460aea
Reviewed-by: Wolfgang Beck <wolfgang.beck@nokia.com>
|
|
|
|
|
| |
Change-Id: I3b115ca075610e7ca63828d1b3cc3e72e3820d75
Reviewed-by: Lincoln Ramsay <lincoln.ramsay@nokia.com>
|
|
|
|
|
|
|
|
| |
Warnings about conversion from qreal to bool, which is
unintended.
Change-Id: Iab668747d5d7cdeda57f934b90991e7b00914eac
Reviewed-by: Lorn Potter <lorn.potter@nokia.com>
|
|
|
|
|
| |
Change-Id: Ie98d22db40fb38742c3cd1fb0ae44fe1c0bbf2ec
Reviewed-by: Lorn Potter <lorn.potter@nokia.com>
|
|
|
|
|
| |
Change-Id: Ib4be08e5fc828c24b00b0c90e0e9448603eef6bf
Reviewed-by: Lincoln Ramsay <lincoln.ramsay@nokia.com>
|
|
|
|
|
| |
Change-Id: I2b78232c2ab25ebb7a931abcde18a9f01ff9c887
Reviewed-by: Lincoln Ramsay <lincoln.ramsay@nokia.com>
|
|
|
|
|
| |
Change-Id: Ib04655cdc16a0f8fea73b88cf8e36d0f00ce16f3
Reviewed-by: Lincoln Ramsay <lincoln.ramsay@nokia.com>
|
|
|
|
|
| |
Change-Id: I7703a6abc537f317aa1186c919494faa866137fd
Reviewed-by: Lorn Potter <lorn.potter@nokia.com>
|
|
|
|
|
| |
Change-Id: If07ca2c2c60178fa769cbaf9ac31079d7a9414bd
Reviewed-by: Lincoln Ramsay <lincoln.ramsay@nokia.com>
|
|
|
|
|
|
|
|
| |
This removes the last use of the sensors_unit_test_hook function
so it can be removed.
Change-Id: I9f0b27fc69bfe74a151826714e3a1c0e207a7e0c
Reviewed-by: Wolfgang Beck <wolfgang.beck@nokia.com>
|
|
|
|
|
| |
Change-Id: Ie419b58c4789e539be5370dc0b7d2518009bbe91
Reviewed-by: Lorn Potter <lorn.potter@nokia.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Plugins no longer use QFactoryInterface or Q_EXPORT_PLUGIN. Instead,
Q_PLUGIN_METADATA is used.
Meta-data is provided through a .json file that is embedded into the
plugin by moc.
For now, this meta-data is not actually used because both sensors
and gestures use a dynamic registration mechanism.
Change-Id: Ic82657e2ba5768127e13f7411ca51f60772781d8
Reviewed-by: Lincoln Ramsay <lincoln.ramsay@nokia.com>
|
|
|
|
|
|
|
|
| |
This class does virtually nothing except to hide the use of QFactoryLoader
from QSensorManager.
Change-Id: I70e791f9d842102204fd970e7806f409ae1eca65
Reviewed-by: Lincoln Ramsay <lincoln.ramsay@nokia.com>
|
|
|
|
|
|
|
|
| |
This API was never particularly reliable. It is somewhat incompatible
with the new-style Qt plugins.
Change-Id: Iaaa0e6282404ce5477abcc8b905b14b1fb58644c
Reviewed-by: Lincoln Ramsay <lincoln.ramsay@nokia.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This was never officially part of the public API. Remove it from
public headers so that it is not accidentally used.
This macro cannot be used with the new Qt plugins.
There are 2 unit tests that use this mechanism and for this reason,
loading of static, legacy plugins will continue but they will use
internal logic to achieve this rather than a macro defined in a
public header.
Change-Id: I3fadcc1ca5c22ea0fc3660584ddba28271d18a89
Reviewed-by: Lorn Potter <lorn.potter@nokia.com>
|
|
|
|
|
| |
Change-Id: Ifec28d4de4af4c5a114c66faaababaaeb57ad357
Reviewed-by: Lincoln Ramsay <lincoln.ramsay@nokia.com>
|
|
|
|
|
| |
Change-Id: I38c7b14653b96e905491a3fe589ece4aa027aed8
Reviewed-by: Lorn Potter <lorn.potter@nokia.com>
|
|
|
|
|
| |
Change-Id: I4758f401cbf577b2ac7ba772f4897e6334f22900
Reviewed-by: Lincoln Ramsay <lincoln.ramsay@nokia.com>
|
|
|
|
|
| |
Change-Id: I14f84219e07bcede9badc4f02566f38533084009
Reviewed-by: Lincoln Ramsay <lincoln.ramsay@nokia.com>
|
|
|
|
|
|
|
| |
Use the script rename-qtdeclarative-symbols.sh.
Change-Id: Ib1a62731a6c95590978a488c4afbd804f14fb958
Reviewed-by: Lincoln Ramsay <lincoln.ramsay@nokia.com>
|
|
|
|
|
| |
Change-Id: I50fe25627bb761bfb5cb27c882946c13cdbcf56a
Reviewed-by: Lincoln Ramsay <lincoln.ramsay@nokia.com>
|
|
|
|
|
|
|
|
|
|
| |
QDoc now has support for Doxygen style commands for italics, bold
and list items. This change applies that change in QDoc to the
actual documentation.
Task-number: QTBUG-24578
Change-Id: I9e809abef666b8498bc481aae9f324b954eff387
Reviewed-by: Lorn Potter <lorn.potter@nokia.com>
|
|
|
|
|
| |
Change-Id: Ie08046de2e293b8b6271851ce8b740832a6de315
Reviewed-by: Lorn Potter <lorn.potter@nokia.com>
|
|
|
|
|
| |
Change-Id: If2114b6917328e1342c5a2496daf9588393a8018
Reviewed-by: Lorn Potter <lorn.potter@nokia.com>
|