| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
Change-Id: I57123eed34ee4618f1cba643c2ce49c8c621a6cd
Reviewed-by: Lorn Potter <lorn.potter@canonical.com>
|
|\
| |
| |
| | |
Change-Id: Iaeb7c9f62b50d68e0cedb95c523aebcceb9128c0
|
| |\
| | |
| | |
| | | |
Change-Id: I35021aba57d8acc6b6e27e9800c6a244cb0e99da
|
| | |\
| | | |
| | | |
| | | | |
Change-Id: I14345192d06a8a0ac9000feab6daea0f11b41f72
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
When a Qt sensor is told to stop, it automatically stops the underlying
OS sensor as well. This caused a problem when several Qt sensors were
running, since stopping one would stop them all.
This patch will add a ref count for each affected sensor, so that we
keep track of when it's safe to start and stop the underlying OS sensor.
Task-number: QTBUG-54977
Change-Id: If06c4daac22916feef2f4c7bd521363d74f342a6
Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
Reviewed-by: Lorn Potter <lorn.potter@canonical.com>
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
A compass has 360 degrees, not 365.
Change-Id: I2f0628fa0151434b1b529fbefd1a4bab9de99a8a
Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
|
|/ / /
| | |
| | |
| | |
| | |
| | |
| | | |
Static linking was hiding the Foundation.framework dependency.
Change-Id: I7c038488196d31d18c5174020c69dd03f15fa6f3
Reviewed-by: Lorn Potter <lorn.potter@canonical.com>
|
|\| |
| | |
| | |
| | |
| | |
| | |
| | | |
Conflicts:
.qmake.conf
Change-Id: I4be6cbe9e4ac981f46b3c45d271cac5c7fc677cb
|
| |\|
| | |
| | |
| | | |
Change-Id: I53d801a88bda3a8b8519b6002e1d37053c03e103
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Since Android 5.0 Google introduce a nasty bug[1] which calls
JNI_OnLoad more than once.
Basically every time when a library is loaded JNI_OnLoad is
called if found, but it calls *again* JNI_OnLoad of its .so
dependencies!
[1] Workaround https://code.google.com/p/android/issues/detail?id=215069
Change-Id: I34728572bc279581b8c95c42c206ed104bfc09a5
Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@qt.io>
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
OpenBSD does not provide librt.so for the sensors module, which leads to
linker errors in this case. Disable linking to librt.so by adding
!openbsd to the list of OSes not having it.
Change-Id: If7b33eb33b4027be79bce4bb3272bef3a5b7d832
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Task-number: QTBUG-54506
Change-Id: I83576e79f12556479a43aac95123edcacd50c63c
Reviewed-by: Alex Blasche <alexander.blasche@theqtcompany.com>
Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@qt.io>
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
More efficient if all you want is the number of seconds.
Change-Id: Ib57b52598e2f452985e9fffd145a371003ede342
Reviewed-by: Lorn Potter <lorn.potter@canonical.com>
|
|/ /
| |
| |
| |
| |
| |
| |
| |
| | |
When sensorfw is restarting/recovering DBus service is
momentarily not available. Give it another change once
the service becomes registered.
Change-Id: I6fd3e5985ac60cfffbc84ff86aabe9cebe110ab6
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>
|
|\|
| |
| |
| |
| |
| |
| |
| | |
Conflicts:
.qmake.conf
src/sensors/doc/src/compatmap.qdoc
Change-Id: I4049bc3c335a8a9db5c935032207d0bcfba78480
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
When using qml calibrating the tilt sensor does not work on WinRT and
Windows Phone without this change.
QmlTiltsensor::calibrate calls QTiltSensor::calibrate which calls
QMetaObject::invokeMethod with "calibrate" on its backend. That causes
the message "No such method QSensorBackend::calibrate()" without this
change. Thus the meta system has to be made aware of that function.
Change-Id: I539c0fb44e20fffb78bf515ba3767dafa3ce4ed6
Reviewed-by: Alex Blasche <alexander.blasche@theqtcompany.com>
Reviewed-by: Maurice Kalinowski <maurice.kalinowski@theqtcompany.com>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
If addition and removal are not done in the Xaml thread, the functions
might not return at all.
Task-number: QTBUG-49741
Change-Id: Iabdea2c7ee18bf851ab70adfeb28b09781b8b609
Reviewed-by: Andrew Knight <andrew.knight@intopalo.com>
Reviewed-by: Maurice Kalinowski <maurice.kalinowski@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>
|
|\|
| |
| |
| | |
Change-Id: I4286dcb9262bf38960ff3852932012718aaa5d65
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
It should be registered/unregistered depending on the availability
of the default light sensor rather than the default accelerometer.
Also mark the ambient light sensor as supported by the generic plugin
in the documentation.
Change-Id: Iff3828140b9549d994563fb736014091e568e867
Reviewed-by: Lorn Potter <lorn.potter@gmail.com>
|
| |\
| | |
| | |
| | | |
Change-Id: Ic4c5a95a53ff695b879314cd2d6092bcbe427d94
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
This makes it possible to use Tilt sensor from generic plugin.
Task-number: QTBUG-47854
Change-Id: I14883e8d4a18a56c52845a4a5172c8c46bfe385f
Reviewed-by: Alex Blasche <alexander.blasche@theqtcompany.com>
|
| | |
| | |
| | |
| | |
| | | |
Change-Id: Ife5ca9224e4a1ac0b57a25aeb59e2f23e505082b
Reviewed-by: Alex Blasche <alexander.blasche@theqtcompany.com>
|
|/ /
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
iio-sensor-proxy is a daemon that listens to sensors on IIO
subsystem on Linux and provides access to the sensor readings
over D-Bus. Currently it provides only orientation and ambient-
light level.
https://github.com/hadess/iio-sensor-proxy
Change-Id: I035bda0b43a16552a9f2bd88a064e53d5f105451
Reviewed-by: Lorn Potter <lorn.potter@gmail.com>
|
|/
|
|
|
|
|
|
|
| |
[ChangeLog][QtSensors][Platform Specific Changes] Removed support
for BlackBerry 10 from QtSensors.
Change-Id: I56788caaa53797b7d4e23bb053c3ea8b460b1341
Reviewed-by: Rafael Roquetto <rafael.roquetto@kdab.com>
Reviewed-by: Lars Knoll <lars.knoll@theqtcompany.com>
|
|\
| |
| |
| | |
Change-Id: Icc01abe0bc7368455527b5f4b5299b4cb9f2b177
|
| |
| |
| |
| |
| |
| | |
Task-number: QTBUG-45516
Change-Id: I45215714e8f5e4693e43d022a3ca313576c85d79
Reviewed-by: Alex Blasche <alexander.blasche@theqtcompany.com>
|
| |
| |
| |
| |
| |
| | |
Change-Id: I9031610c02d9418b46339c34b02264a03600403c
Task-number: QTBUG-45691
Reviewed-by: Alex Blasche <alexander.blasche@theqtcompany.com>
|
| |
| |
| |
| |
| |
| |
| |
| | |
From 5.5.0 -> WinRT port is licensed with LGPLv3, see
http://blog.qt.io/blog/2015/04/29/windows-10-support-in-qt/
Change-Id: I1c78b8f11d1640e36e6b90eea47500c5dd5408ee
Reviewed-by: Maurice Kalinowski <maurice.kalinowski@theqtcompany.com>
|
|\|
| |
| |
| | |
Change-Id: I06a505894844bfd17eb07106bed0c07ca2f9f79c
|
| |
| |
| |
| |
| |
| |
| |
| | |
No need to use a double negative in the chain of data to arrive
at the correct values.
Change-Id: I694037bb7f83083d3d281ec9544d7fa300861f1a
Reviewed-by: Alex Blasche <alexander.blasche@theqtcompany.com>
|
| |
| |
| |
| |
| | |
Change-Id: Iecb6fe8637001d3005aa04c58d1d888f534c5082
Reviewed-by: Alex Blasche <alexander.blasche@theqtcompany.com>
|
|\|
| |
| |
| | |
Change-Id: If6f44fe2cd69bae92cddd4682e952f2528b85184
|
| |
| |
| |
| |
| | |
Change-Id: Ibb4d335ff43a91f84f346ab32847ab376830ed35
Reviewed-by: Alex Blasche <alexander.blasche@theqtcompany.com>
|
| |
| |
| |
| |
| |
| |
| | |
genericrotationsensor.cpp:85:37: error: 'sqrt' was not declared in this scope
Change-Id: I871b88130debdfd0a64421e4da8a451b586e7ba6
Reviewed-by: Rafael Roquetto <rafael.roquetto@kdab.com>
|
|\|
| |
| |
| | |
Change-Id: I7b64e129ef941420378cda207f5fdf90efe4c463
|
| |
| |
| |
| |
| | |
Change-Id: I69d15c8af9b6e5acde9d86e185395590369baab6
Reviewed-by: Alex Blasche <alexander.blasche@theqtcompany.com>
|
| |
| |
| |
| |
| | |
Change-Id: Id1247f797873395c38251ba098bfa848a06f10ee
Reviewed-by: Rafael Roquetto <rafael.roquetto@kdab.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>
|
|
|
|
|
|
|
|
|
|
|
|
| |
The dummy sensors plugin will start fake sensors that emit 100 updates
per second. This should not be the default sensor returned when a
user requests a sensor.
These sensors were default on Linux.
Task-number: QTBUG-39475
Change-Id: Ia276e904f93dfeef95f7490ec7cb51cad260a2a8
Reviewed-by: Lorn Potter <lorn.potter@gmail.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>
|
|\
| |
| |
| |
| |
| |
| |
| | |
Conflicts:
src/plugins/sensors/sensorfw/sensorfwproximitysensor.cpp
src/sensors/qcompass.cpp
Change-Id: Idfcbbfe1757a4b827663453abc27f4026cd3d752
|
| |
| |
| |
| |
| |
| |
| |
| | |
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>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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>
|
| |
| |
| |
| |
| |
| |
| | |
This ensures things are setup and work properly.
Change-Id: I23c8b53e760d49695c5ae207eed77a2e7d2be3a4
Reviewed-by: Alex Blasche <alexander.blasche@digia.com>
|
| |
| |
| |
| |
| | |
Change-Id: Ic13d2d1e400a92b2f0c3c83e279c58b799f9d06b
Reviewed-by: Lorn Potter <lorn.potter@jollamobile.com>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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>
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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>
|