| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
| |
'override' keyword can be used directly since Qt 5.7.
Change-Id: Ibf0fc590f7e247a310a833a22ece700ec75199bb
Reviewed-by: Lorn Potter <lorn.potter@canonical.com>
|
|\
| |
| |
| | |
Change-Id: I53d801a88bda3a8b8519b6002e1d37053c03e103
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Coverity noticed uninitialized members (CID 22309). Eliminate members
handler (never accessed or set; the code always uses
QtSensorGestureSensorHandler::instance() instead) and lastTs (set but
never accessed). Initialized timer (to 0; it'll be set more sensibly
as long as create() gets called). Reformatted constructor.
Change-Id: I41738ec51db94fb35e068af509e9a34bf9221770
Reviewed-by: Lorn Potter <lorn.potter@canonical.com>
|
|\ \
| |/
| |
| |
| |
| |
| | |
Conflicts:
src/sensors/doc/src/compatmap.qdoc
Change-Id: I7bd464cbd506f630798091fef3896050ade7b3f8
|
| |
| |
| |
| |
| |
| |
| |
| | |
this fixes static builds by ensuring that all dependencies are exported.
Task-number: QTBUG-51071
Change-Id: Ia3c3f69505650fd35982fc76e385e744b877e4df
Reviewed-by: Joerg Bornemann <joerg.bornemann@theqtcompany.com>
|
|/
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
|
|
| |
- 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>
|
|
|
|
|
| |
Change-Id: Ia70486a0c6b813829ffd633f5334945f73d3b628
Reviewed-by: Lorn Potter <lorn.potter@jollamobile.com>
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
| |
Profiling shows Qt Creator spends 2% of its load time normalizing
Change-Id: I462d0e0b603ab644e57c5b804015508abeebdc6e
Reviewed-by: Lorn Potter <lorn.potter@jollamobile.com>
|
|
|
|
|
|
|
|
|
| |
This patch aims to make QtSensors uses Q_DECL_OVERRIDE uniformly across
the module
Task-number: QTBUG-27392
Change-Id: I5f814f93307159175f92e29a9990587c03cce96f
Reviewed-by: Thomas McGuire <thomas.mcguire@kdab.com>
|
|
|
|
|
|
|
| |
Fixes flakiness.
Change-Id: I6e8beaf5106c4dd1e26c3bf038ba9e394d0f080d
Reviewed-by: Sergio Ahumada <sergio.ahumada@digia.com>
|
|\
| |
| |
| | |
Change-Id: I08bb0d6a9d4b0dddf76f463c32b3a4efdd632f0d
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This fixes the flaky unit test failures. It also adds freefall to
unit test.
Task-number: QTBUG-32108
Change-Id: Ia1ee852b1e57b937fd7368073e259a139da9a697
Reviewed-by: Frederik Gladhorn <frederik.gladhorn@digia.com>
Reviewed-by: Thomas McGuire <thomas.mcguire@kdab.com>
|
|\ \
| |/
| |
| | |
Change-Id: I451682790ba1949c150d4045baf9df0cd467d486
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
After the change in qtbase 732dcfe7, only the first
sensorgesture plugin was actually being loaded.
Since the FILE argument of Q_PLUGIN_METADATA is optional,
removing that and the json file fixes the following bugs:
QTBUG-31900
QTBUG-31901
Change-Id: I7c0b67605a8fe680c37639f08926140e137dbe66
Reviewed-by: Sergio Ahumada <sergio.ahumada@digia.com>
Reviewed-by: Lars Knoll <lars.knoll@digia.com>
|
|/
|
|
|
|
|
|
|
|
| |
qshakerecognizer.cpp:161:28: error: expression result unused [-Werror,-Wunused-value]
The statement was unused, the last branch of an || that was removed in
fb06538f.
Change-Id: I4badb3e5f4272086d44004b9beaca330f8ed7ab6
Reviewed-by: Lorn Potter <lorn.potter@jollamobile.com>
|
|
|
|
|
| |
Change-Id: I63fa985991653e4b8465a7fb88acab647d8546e8
Reviewed-by: Thomas McGuire <thomas.mcguire@kdab.com>
|
|
|
|
|
| |
Change-Id: I4b442f25f4593f2d957ff572b5ec565ff952818b
Reviewed-by: Lorn Potter <lorn.potter@gmail.com>
|
|
|
|
|
|
|
| |
As well as from documentation and usage of Sensors.conf location
Change-Id: I52d657d6799e44a94b3f37bae86445c73e176103
Reviewed-by: Thomas McGuire <thomas.mcguire@kdab.com>
|
|
|
|
|
| |
Change-Id: I6327357de9f84df3db86d714747210fe62547818
Reviewed-by: Lorn Potter <lorn.potter@gmail.com>
|
|
|
|
|
|
|
| |
I did this as a gesture, but could easily be a virtual QSensor.
Change-Id: I95ea97745f8537dd6d6940b290d470d0367383c2
Reviewed-by: Lorn Potter <lorn.potter@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
| |
DESTDIR and INSTALLS+=target are set up automatically now, but
PLUGIN_TYPE needs to be defined.
this contains a nasty hack for examples, as we don't want users to use
the internal prf files.
Change-Id: I9e854e7ff6183e19801998ff7157a279b97b2be4
Reviewed-by: Lorn Potter <lorn.potter@gmail.com>
|
|
|
|
|
|
|
|
|
|
| |
Change copyrights and license headers from Nokia to Digia
Change-Id: I85014238e262cb59d8d92b0d708851e82e5633da
Reviewed-by: Janne Anttila <janne.anttila@digia.com>
Reviewed-by: Thomas McGuire <thomas.mcguire@kdab.com>
Reviewed-by: Sergio Ahumada <sergio.ahumada@digia.com>
Reviewed-by: Lorn Potter <lorn.potter@gmail.com>
|
|
|
|
|
| |
Change-Id: Ieaa07fcaf28f754c14774dee61697624d33cabf8
Reviewed-by: Joerg Bornemann <joerg.bornemann@nokia.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- load(qt_module) => load(qt_build_config)
- remove:
- CONFIG+=module (obsolete)
- code relating to module version headers (automated now)
- %mastercontent assignment (automated now)
- QT_BUILD_*_LIB defines (automated now)
- pointless QPRO_PWD assignments
- pointless DEFINES+=QT_MAKEDLL
- pointless include and depend paths
Change-Id: I2c5062c238c6948f99d72f7c5544095cd30c988d
Reviewed-by: Joerg Bornemann <joerg.bornemann@nokia.com>
Reviewed-by: Lincoln Ramsay <lincoln.ramsay@nokia.com>
Reviewed-by: Alex <alex.blasche@nokia.com>
|
|
|
|
|
| |
Change-Id: If4c04a6e3f9a936f55233c621d184bc0e4d99e1b
Reviewed-by: Lorn Potter <lorn.potter@nokia.com>
|
|
|
|
|
| |
Change-Id: I4311cffddc1653ecf62129bb392350acc6e60276
Reviewed-by: Lincoln Ramsay <lincoln.ramsay@nokia.com>
|
|
|
|
|
| |
Change-Id: I4f15a1b959a35ec572d13c95430b0058b75b2061
Reviewed-by: Lincoln Ramsay <lincoln.ramsay@nokia.com>
|
|
|
|
|
| |
Change-Id: Ic6aa24ca44b6cb61c1592bd8536a092d7ec0fc90
Reviewed-by: Lorn Potter <lorn.potter@nokia.com>
|
|
|
|
|
|
|
|
| |
twist will better work with varying twist speeds.
Change-Id: Iacb87ff8ad337d0b393497f49cf75d73eacdc4e6
Reviewed-by: Lincoln Ramsay <lincoln.ramsay@nokia.com>
Reviewed-by: Lorn Potter <lorn.potter@nokia.com>
|
|
|
|
|
|
|
|
| |
false positive was tapping fingers on screen would produce a whip
:
Change-Id: Ibff1323f27e899cd63bdbaddcf0e77915a993b21
Reviewed-by: Lorn Potter <lorn.potter@nokia.com>
|
|
|
|
|
|
|
|
|
| |
make hover work when the ir prox is calibrated.
Also make sure that a hand moving up after doing a cover does not
trigger a hover signal.
Change-Id: I8925c4d7dd53302b9d9950989e37ad991216f621
Reviewed-by: Lincoln Ramsay <lincoln.ramsay@nokia.com>
|
|
|
|
|
|
|
|
| |
instead of using hard coded values which may be different depending on
devicecalibration.
Change-Id: I1e0a41a7dd45b115daa9f4f873621ffbba673e21
Reviewed-by: Lincoln Ramsay <lincoln.ramsay@nokia.com>
|
|
|
|
|
|
|
|
|
| |
This fixes getting a twist gesture by just moving the device left or right.
and update one test data that did not have needed orientation change
when the gesture was performed.
Change-Id: I4fd9148d3f9c3d093530d08c2f6834f0972c659e
Reviewed-by: Lincoln Ramsay <lincoln.ramsay@nokia.com>
|
|
|
|
|
|
|
|
|
|
| |
timers need to be stopped when gesture is stopped, else it
may interfere in the next test, where the same instance of timer is
used.
As well, reset some values.
Change-Id: Ib69bbaab88d55bef1c3c5614cae1bdec378aa89b
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>
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
| |
set the datarate for accel sensor to be known.
Change-Id: I83f8771b178591adb518146473819602f7f48b23
Reviewed-by: Lincoln Ramsay <lincoln.ramsay@nokia.com>
|
|
|
|
|
| |
Change-Id: Id8b161f0de1a96a9a92a7fcbc11c9fd9c9fefe00
Reviewed-by: Lincoln Ramsay <lincoln.ramsay@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: 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>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
| |
Change-Id: I38c7b14653b96e905491a3fe589ece4aa027aed8
Reviewed-by: Lorn Potter <lorn.potter@nokia.com>
|