summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
| * Make debug code compile againPaul Olav Tvete2013-03-051-6/+6
| | | | | | | | | | | | Change-Id: I96458c3e79e979ed5e682df48765d76482bfead6 Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@digia.com> Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@digia.com>
| * Spell "tesla" correctly in the documentation.Paul Olav Tvete2013-03-011-3/+3
| | | | | | | | | | Change-Id: I3f5ac0b1adcdee9ba2c7ddd54302c3aca7a94bfb Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@digia.com>
| * Initialize variablesPaul Olav Tvete2013-03-011-0/+2
| | | | | | | | | | | | | | | | | | The old values of xRotation and yRotation are used in calculations. This should fix the bug where the tilt sensor would occasionally report NaN. Change-Id: I87e67cdbf66976f0c74e91d0f1660f7fc12f31cc Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@digia.com>
| * BlackBerry: Support QMagnetometer::returnGeoValuesThomas McGuire2013-03-012-10/+27
| | | | | | | | | | | | Change-Id: Ib81074bb9ea2b922fb8c599e7e758346e85bb6e0 Reviewed-by: Adam Parco <aparco@rim.com> Reviewed-by: Lorn Potter <lorn.potter@jollamobile.com>
| * Blackberry: Prevent spurious calls to dataAvailable() when stoppedThomas McGuire2013-03-011-13/+22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Explicitly disable the socket notifier and drain the device file to avoid dataAvailable() being called spuriously. This fixes high CPU usage that occurred in some circumstances after stopping the sensor. Many thanks to Dmytro Mishchenko for reporting and helping to track down the problem. Change-Id: Idcaff1432b96b392d033e5b21c2b379259792212 Reviewed-by: Adam Parco <aparco@rim.com> Reviewed-by: Lorn Potter <lorn.potter@jollamobile.com>
| * Update the porting documentationThomas McGuire2013-03-011-10/+15
| | | | | | | | | | | | | | | | | | | | - Remove some references to the legacy imports - Mention the biggest change, separate QML types - Add some examples on what changed in the QML API Change-Id: Icdbf8271935499ec449a35919d947ad762d2cf03 Reviewed-by: Bernd Weimer <bweimer@rim.com> Reviewed-by: Lorn Potter <lorn.potter@jollamobile.com>
| * Update qdocconfThomas McGuire2013-02-261-16/+21
| | | | | | | | | | | | | | | | | | | | - Use version tags rather than hardcoded versions - Add a QML Types section to the TOC - Fix link to the overview page - Keep the rest more in line with other modules (used qtcore to compare) Change-Id: Ia86aad1fc50b8471847b2fb808bacf2cbcf1471c Reviewed-by: Jerome Pasion <jerome.pasion@digia.com>
| * Fix some doc warningsThomas McGuire2013-02-262-2/+4
| | | | | | | | | | Change-Id: Ia955a9071ae6662b211d57708624d339d9ec5e4f Reviewed-by: Jerome Pasion <jerome.pasion@digia.com>
| * Document the IR Proximity value behavior on BlackBerryThomas McGuire2013-02-261-0/+6
| | | | | | | | | | | | | | Task-number: QTBUG-28087 Change-Id: Ibf2a37dce4c57506bf2073bee9f483d48c94e71c Reviewed-by: Tennessee Carmel-Veilleux <tcarmelveilleux@rim.com> Reviewed-by: Lorn Potter <lorn.potter@jollamobile.com>
| * Merge remote-tracking branch 'origin/stable' into devFrederik Gladhorn2013-02-2530-102/+1691
| |\ | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: src/plugins/sensors/generic/generictiltsensor.cpp src/sensors/qtapsensor.h sync.profile Change-Id: I017a5fa8dffb69b41727495175c0fca9b76962e1
| * | BlackBerry: Remove outdated TODO commentThomas McGuire2013-02-101-3/+0
| | | | | | | | | | | | | | | | | | | | | | | | The proximity sensor has been tested in the meantime and works as expected. Change-Id: Ifd27055e36d58f860809d4a5c5dc3f4203094771 Reviewed-by: Lorn Potter <lorn.potter@jollamobile.com>
| * | Use real properties for QSensor::bufferSize & coThomas McGuire2013-02-088-34/+208
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The #ifdef Q_DOC hack is not really needed and was confusing. In addition, expose those properties to the QML API. As a result, the backends can now listen to the bufferSizeChanged() signal to update the buffering while the sensor is running. This has been implemented for the BlackBerry platform. Change-Id: I5239ba2a4b791cfc9f684b44ff2bc103a7b5b0da Reviewed-by: Lorn Potter <lorn.potter@jollamobile.com>
| * | Repair duplicate skipping for the tilt sensorThomas McGuire2013-02-082-15/+17
| | | | | | | | | | | | | | | | | | | | | | | | Found because the compiler was warning about an unused "change" variable. Change-Id: Iac968685ba8da7a4d38a00427d22d1e01e31b25f Reviewed-by: Lorn Potter <lorn.potter@jollamobile.com>
| * | Add a QAmbientTemperatureSensor class.Thomas McGuire2013-02-0815-41/+556
| | | | | | | | | | | | | | | | | | | | | Port the Blackberry backend to use it. Change-Id: I6d4395f5ab9e0ce3fb6f76c47282929103929557 Reviewed-by: Lorn Potter <lorn.potter@jollamobile.com>
| * | Convert QMagnetometer::returnGeoValues to a proper propertyThomas McGuire2013-02-088-9/+56
| | | | | | | | | | | | | | | Change-Id: I39cde0046e8a3fc77edbcf5c9510e2dcf6c731c7 Reviewed-by: Lorn Potter <lorn.potter@jollamobile.com>
| * | genericrotationsensor: Remove unused magnetometer memberThomas McGuire2013-02-081-1/+0
| | | | | | | | | | | | | | | Change-Id: I29a3736537b0b2602f4b5ef1a3ba74e55331d24e Reviewed-by: Lorn Potter <lorn.potter@jollamobile.com>
| * | Convert QRotationSensor::hasZ to a proper propertyThomas McGuire2013-02-087-7/+58
| | | | | | | | | | | | | | | Change-Id: I32edf761653fbe9d08710703b02fb1c0183aba3e Reviewed-by: Lorn Potter <lorn.potter@jollamobile.com>
| * | Convert QTapSensor::returnDoubleTapEvents to a proper propertyThomas McGuire2013-02-086-11/+49
| | | | | | | | | | | | | | | Change-Id: I62f626a8df765a50815f3b275da8b858cb24a30d Reviewed-by: Lorn Potter <lorn.potter@jollamobile.com>
| * | Convert QLightSensor::fieldOfView to a proper propertyThomas McGuire2013-02-086-14/+56
| | | | | | | | | | | | | | | Change-Id: Ic6e5388e0cbc2a0045157873c05aa241ffe5e82d Reviewed-by: Lorn Potter <lorn.potter@jollamobile.com>
| * | Add a QAltimeter class.Thomas McGuire2013-02-0815-40/+559
| | | | | | | | | | | | | | | | | | | | | Port the Blackberry backend to use it. Change-Id: I3d3bc1d6fa8b42d3d0d64bcd3245050b67a37dc7 Reviewed-by: Thomas McGuire <thomas.mcguire@kdab.com>
| * | Add missing AxesOrientationMode to the QML plugin descriptionThomas McGuire2013-01-311-0/+8
| | | | | | | | | | | | | | | Change-Id: I2eef34cd39243deff640e24d1debae9dab1e5310 Reviewed-by: Lorn Potter <lorn.potter@jollamobile.com>
| * | Remove the use of QT_MODULE()Sergio Ahumada2013-01-2924-48/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The macro was made empty in qtbase/4ecf82795de54fba530ac9c386f3afff2174edbd and is no longer necessary or used. Also, don't generate this macro when using make_sensor.pl Change-Id: I19121c9f0a1775011f1dd08b9d7d5d85336b1122 Reviewed-by: Thomas McGuire <thomas.mcguire@kdab.com>
| * | Don't use QT_{BEGIN,END}_HEADER macrosSergio Ahumada2013-01-282-8/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This macro is useless from Qt 5.1 on, so: - Don't generate these macros when using make_sensor.pl - There is no need to blacklist these in qt-cpp-ignore.qdocconf Change-Id: I91b1050aaf406fb140ab9d28369992e4d08b5cd0 Reviewed-by: Thomas McGuire <thomas.mcguire@kdab.com>
| * | Remove QT_{BEGIN,END}_HEADER macro usageSergio Ahumada2013-01-2859-118/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | The macro was made empty in qtbase/ba3dc5f3b56d1fab6fe37fe7ae08096d7dc68bcb and is no longer necessary or used. Discussed-on: http://lists.qt-project.org/pipermail/development/2013-January/009284.html Change-Id: If3f1040766e1c7de05bb8e90cd8a8a2a349bd096 Reviewed-by: Thomas McGuire <thomas.mcguire@kdab.com>
| * | Add QHolsterSensorThomas McGuire2013-01-2320-0/+764
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This adds a new QHolsterSensor plus the assorted reading and filter classes, as well as a QML API. Also implement the Blackberry backend for it. Change-Id: I42e76c21ee74a39a65629e7ab6d9a18f23eae4d4 Reviewed-by: Thomas McGuire <thomas.mcguire@kdab.com>
| * | Add a axes remapping featureThomas McGuire2013-01-239-11/+338
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This allows orientable sensors like accelerometer or compass to change to adapt the reading values based on the current screen orientation. Add support for the BlackBerry backend. Change-Id: If7cfde8f20da4f677fdd13c38f7e11f2ed96bedd Reviewed-by: Thomas McGuire <thomas.mcguire@kdab.com>
| * | \since QtSensors 5.0 -> \since 5.0Thomas McGuire2013-01-231-1/+1
| | | | | | | | | | | | | | | Change-Id: Ied2ceac07a5f9dd8a3331e1e2d407620450e138e Reviewed-by: Lorn Potter <lorn.potter@jollamobile.com>
| * | Add API for duplicate skippingThomas McGuire2013-01-2310-15/+105
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Duplicate skipping enables omitting reading values that are very similar to the previous one, thus saving processing power. Implement this for the Blackberry backend. Change-Id: Ic608d8ca795b5a2e0bca5a75a62e8005c283c620 Reviewed-by: Thomas McGuire <thomas.mcguire@kdab.com>
| * | Add QPressureSensorThomas McGuire2013-01-2315-42/+567
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This adds a new QPressureSensor plus the assorted reading and filter classes, as well as a QML API. The Blackberry backend is ported to use the new reading class. Change-Id: Ifc86a2ae955a9337a67fd9a86ceabab908917cb3 Reviewed-by: Thomas McGuire <thomas.mcguire@kdab.com>
| * | Add the QML classes to the sensor template scriptThomas McGuire2013-01-231-0/+174
| | | | | | | | | | | | | | | Change-Id: I373a88ee3116d6ad9c389e762478742af38cb949 Reviewed-by: Lorn Potter <lorn.potter@jollamobile.com>
| * | Fix since documentation tag in sensor template scriptThomas McGuire2013-01-231-3/+3
| | | | | | | | | | | | | | | Change-Id: Ia7d14a7d354fe95e038416e9883a507dd7ccba81 Reviewed-by: Lorn Potter <lorn.potter@jollamobile.com>
| * | QAccelerometer: Add AccelerationMode propertyThomas McGuire2013-01-2315-34/+295
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add a new property to be able to toggle effects of gravity on or off. Implement the Blackberry backend side of this as well. QTBUG-25842 Change-Id: I15c4cae72373f48b0153b83c6aa3d27b66538c87 Reviewed-by: Lorn Potter <lorn.potter@jollamobile.com> Reviewed-by: Sérgio Martins <sergio.martins.qnx@kdab.com>
| * | Generic plugin: Remove debug message noise.Thomas McGuire2013-01-151-1/+0
| | | | | | | | | | | | | | | Change-Id: I33e43f0846197cbb47609af249e54769e17920b8 Reviewed-by: Lorn Potter <lorn.potter@jollamobile.com>
| * | Actually enable loading of the generic tilt sensorThomas McGuire2013-01-153-12/+29
| | | | | | | | | | | | | | | | | | | | | | | | | | | Also, disable loading of all other generic plugins on the BlackBerry platform. Change-Id: I7c969fdb224daf1016162ad597edac81e967105e Reviewed-by: Sérgio Martins <sergio.martins.qnx@kdab.com> Reviewed-by: Lorn Potter <lorn.potter@jollamobile.com>
| * | Generic Tilt sensor: Use degree rather than radiansThomas McGuire2013-01-151-0/+9
| | | | | | | | | | | | | | | | | | | | | | | | This is stated in the docs and it is also more consistent with all other sensors. Change-Id: I5d1d074630f9efa7371a42d10196984549769e24 Reviewed-by: Lorn Potter <lorn.potter@jollamobile.com>
| * | Do not link librt on Android platformsRainer Keller2013-01-152-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | Android platform does not need to have librt linked separately. Change-Id: Iab35d5f44bde439ca83a1d4664a7e10bae6cb0da Reviewed-by: Thomas McGuire <thomas.mcguire@kdab.com> Reviewed-by: Lorn Potter <lorn.potter@jollamobile.com>
| * | sync.profile: Point dependencies to 'refs/heads/dev'Sergio Ahumada2013-01-151-3/+3
| | | | | | | | | | | | | | | Change-Id: Ia62b896c75b5be345d0a078dd76b2a5634642b59 Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@digia.com>
* | | Use qmake for package dependency resolution in cmake tests.Stephen Kelly2013-02-262-2/+2
| |/ |/| | | | | | | | | | | This allows us to remove hardcoded depends information. Change-Id: Id094414d27c1da9b957730b0101d920d561d396d Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@digia.com>
* | Eliminate a warning for "make docs" due to the improper style usageLaszlo Papp2013-02-251-1/+1
| | | | | | | | | | Change-Id: I7901d1527ea02738f37de50ab2c0addcf6d5c927 Reviewed-by: Thomas McGuire <thomas.mcguire@kdab.com>
* | Add license files mandated by (L)GPL.Timo Jyrinki2013-02-164-0/+1660
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Currently only qtbase includes the required LICENSE files, which are referred to from the code headers. The same files should be distributed as part of all the modules as well, so that the (L)GPL licenses are adhered. These files were wget:d from: https://qt.gitorious.org/qt/qtbase/blobs/raw/stable/LGPL_EXCEPTION.txt https://qt.gitorious.org/qt/qtbase/blobs/raw/stable/LICENSE.LGPL https://qt.gitorious.org/qt/qtbase/blobs/raw/stable/LICENSE.GPL As an addition to above, added also LICENSE.FDL. All the modules additionally require it, since they include at least *.qdoc files and in some cases a couple of others. File received via wget http://qt.gitorious.org/qt/qtbase/blobs/raw/stable/LICENSE.FDL Change-Id: I97145e87f24a829d1632f2d0de7c10f92be7bbf8 Reviewed-by: Jason McDonald <macadder1@gmail.com> Reviewed-by: Laszlo Papp <lpapp@kde.org>
* | Generate the CMake test automatically.Stephen Kelly2013-02-123-73/+5
| | | | | | | | | | Change-Id: I4a478827e7724a46dda3725f760372d7420ac32f Reviewed-by: Lorn Potter <lorn.potter@jollamobile.com>
* | remove nokia and replace with qt-project in pluginsLorn Potter2013-02-0714-16/+15
| | | | | | | | | | Change-Id: I63fa985991653e4b8465a7fb88acab647d8546e8 Reviewed-by: Thomas McGuire <thomas.mcguire@kdab.com>
* | make use of qtHaveModule()Oswald Buddenhagen2013-01-083-4/+4
| | | | | | | | | | | | | | | | Change-Id: I17123244323118e9dc9faa090f94faa9b2dcb795 Reviewed-by: Tasuku Suzuki <stasuku@gmail.com> Reviewed-by: Sergio Ahumada <sergio.ahumada@digia.com> Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com> Reviewed-by: Lorn Potter <lorn.potter@jollamobile.com>
* | Fix pedantic errors and warnings (found by headers clean test)Thiago Macieira2012-12-235-10/+10
| | | | | | | | | | | | | | | | | | qorientationsensor.h:68:17: error: comma at end of enumerator list [-pedantic] qsensorgestureplugininterface.h:68:99: error: extra ';' [-pedantic] qsensorbackend.h:73:5: error: declaration of 'reading' shadows a member of 'this' [-Werror=shadow] Change-Id: I50a9fc993a3a3c3391f6231ccd2c1976c636045b Reviewed-by: Lorn Potter <lorn.potter@jollamobile.com>
* | remove obsolete DEPENDPATH assignmentsOswald Buddenhagen2012-12-192-2/+0
| | | | | | | | | | | | | | | | qmake now add CONFIG+=depend_includepath by default, making manual DEPENDPATH setup unnecessary. Change-Id: I27122f2dfe738e9504704a5632d09c964481a05c Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
* | point dependencies to stable branchesOswald Buddenhagen2012-12-171-3/+3
|/ | | | | Change-Id: I50ff2b77c3fde9187392e57ee090fb535a742d21 Reviewed-by: Sergio Ahumada <sergio.ahumada@digia.com>
* It's org.qt-project for plugin interfacesLorn Potter2012-11-298-8/+8
| | | | | Change-Id: I4b442f25f4593f2d957ff572b5ec565ff952818b Reviewed-by: Lorn Potter <lorn.potter@gmail.com>
* remove Nokia isms from plugin interfaceLorn Potter2012-11-2810-10/+10
| | | | | | | As well as from documentation and usage of Sensors.conf location Change-Id: I52d657d6799e44a94b3f37bae86445c73e176103 Reviewed-by: Thomas McGuire <thomas.mcguire@kdab.com>
* add QSensorGestureRecognizers here as well. They are equally important.Lorn Potter2012-11-271-0/+8
| | | | | Change-Id: I5b488a6317af8cef1f31cf03249d115cd424b515 Reviewed-by: Thomas McGuire <thomas.mcguire@kdab.com>
* remove the need to use QTimer and use timestamps instead.Lorn Potter2012-11-1418-129/+619
| | | | | Change-Id: I6327357de9f84df3db86d714747210fe62547818 Reviewed-by: Lorn Potter <lorn.potter@gmail.com>