summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* BlackBerry: Update threshold for close detectionHEADmasterAndrew Inwood2014-03-251-4/+5
| | | | | | | | | | | | | | back ported from qt5. SHA1: ab6c205f567bdba7c2907d4656c3af253f1c235e The current algorithm for close detection in QProximitySensor will not work for sensors whose output is not binary (ie, close/far). The new algorithm will use the threshold of 8cm when the output is not binary. Change-Id: I2173e9afae0a2d29434e092e1afc09d1c6f5647c Reviewed-by: Fabian Bumberger <fbumberger@rim.com> Reviewed-by: Bernd Weimer <bweimer@blackberry.com> Reviewed-by: Rafael Roquetto <rafael.roquetto@kdab.com>
* Fix broken QGeoTiledMapData::fitInViewPort()Alex Blasche2014-03-241-1/+1
| | | | | | | | | the zoomfactor was wrong is the minimumZoomLevel is not 0 Task-number: QTBUG-37502 Change-Id: Icc8b561cf1d11c63532c6c8559809e7b00d1ef95 Reviewed-by: Aaron McCarthy <mccarthy.aaron@gmail.com> Reviewed-by: Alex Blasche <alexander.blasche@digia.com>
* Fix spelling mistakeFabian Bumberger2014-03-181-1/+1
| | | | | Change-Id: I63625259f3b34a3cf32f6c508b48860d274ba6ac Reviewed-by: Alex Blasche <alexander.blasche@digia.com>
* Release videoframe on painter stop()Wouter Huysentruit2014-03-061-0/+11
| | | | | | | | | | | | QVideoSurfaceGLPainter/QVideoSurfaceGlslPainter needs to release the video frame on stop (just like QVideoSurfaceGenericPainter already does). This is a backport of change Iaf3eb13eaf51fbc22fab6b1f80db8e8978ac328d from the qt/qtmultimedia project. Change-Id: I8ecc7fec585c99e4010496e201b3c3b343f344a1 Reviewed-by: Yoann Lopes <yoann.lopes@digia.com>
* BlackBerry: Disabled "returnGeoValues" featureBernd Weimer2013-10-312-30/+16
| | | | | | | | | Elimination of interference is not supported on BlackBerry, so returnGeoValues property will be ignored. This is a backport of QtSensors commit 6348938. Change-Id: I77718fbe9a100f9f16007095f52c73e9e7db62ac Reviewed-by: Thomas McGuire <thomas.mcguire@kdab.com>
* BlackBerry: Pass encoded URLs to mm rendererBernd Weimer2013-08-292-12/+12
| | | | | | | | MM renderer expects (remote) URLs to be percent encoded. Back-ported from qtmultimedia: 13a53a5 Change-Id: I17d0a0b5a2d2572044d11ba2636c21ec5fedb831 Reviewed-by: Thomas McGuire <thomas.mcguire@kdab.com>
* Fix resource leak in directshow plugin.Thomas Adam2013-07-041-0/+4
| | | | | | | | | Add two missing release calls to free file handles. Task-number: QTBUG-23822 Change-Id: I27b631e28d48b7a20cc76c0913a8d962ee991ce5 Reviewed-by: Wouter Huysentruit <wouter.huysentruit@dzine.be> Reviewed-by: Yoann Lopes <yoann.lopes@digia.com>
* QDeclarativeOrganizerModel: call reset model when removing all itemsIktwo Sh2013-07-011-0/+2
| | | | | | | Call beginResetModel() and endResetModel() after model was being cleared Change-Id: Ib1903ae87f8dc692cb3155c4212bc4ee3caa8df7 Reviewed-by: Thomas McGuire <thomas.mcguire@kdab.com>
* QNX: Enabled ALSA supportBernd Weimer2013-05-211-1/+1
| | | | | | | | | If ALSA version >=1.0.10 is available on QNX it will be used by QAudio classes. Change-Id: Iaf9eea06daa76a8f86cee529387bc797d0af7cdc Reviewed-by: Fabian Bumberger <fbumberger@rim.com> Reviewed-by: Thomas McGuire <thomas.mcguire@kdab.com>
* Document that the QSensor constructor should not be used directlyThomas McGuire2013-05-132-0/+34
| | | | | | | | This is a backport of QtSensors commit ceec1eda82dd9b6f8823bb7f9639e6f79763331e Change-Id: I3e5d8bc99d9f14163c45593e216d21e2f972999d Reviewed-by: Lorn Potter <lorn.potter@jollamobile.com>
* BlackBerry: Fix for GeoValues supportBernd Weimer2013-05-081-3/+1
| | | | | | | | | Generic QSensor("QMagnetometer") crashed, because of a null pointer access. Fixed by disabling geo values support for generic magnetometer sensors. Back-ported from qt5/qtsensors: a8bb2b1 Change-Id: I5afcc90a8237dc95fee03b69d32fd7e0944cfb9a Reviewed-by: Thomas McGuire <thomas.mcguire@kdab.com>
* Fixed sensors autotestBernd Weimer2013-05-061-1/+1
| | | | | | | | There is no QTest::qCompare<float, int>, so second argument has to be float instead of int. Change-Id: I247eb331baf3d7219533c9bb681fd31ce79d6c43 Reviewed-by: Thomas McGuire <thomas.mcguire@kdab.com>
* Allow overriding default QContactManagerEngine via env varChris Adams2013-05-022-0/+41
| | | | | | | | | | | This patch adds support for overriding the default QContactManagerEngine via the QTCONTACTS_MANAGER_OVERRIDE environment variable. Change-Id: Ia4807269fd43f6f7e4c2f13b943da5ee6f9cb38c Reviewed-by: Matthew Vogt <matthew.vogt@qinetic.com.au> Reviewed-by: Robin Burchell <robin+qt@viroteck.net> Reviewed-by: Lorn Potter <lorn.potter@jollamobile.com>
* Update LGPL_EXCEPTION.txt fileSergio Ahumada2013-04-301-1/+1
| | | | | Change-Id: I3c69deaf72c1bf4932b2ba509f9ddee59fd8895d Reviewed-by: Robin Burchell <robin+qt@viroteck.net>
* Added temperature property to pressure sensorBernd Weimer2013-04-115-1/+34
| | | | | | | | | | | Many air pressure sensors provide their temperature, as well. This can be used for temperature compensation for instance. The pressure sensor API has been extended and a BlackBerry backend has been implemented. This is a backport of qt5/qtsensors: aac0603 Change-Id: I5f5fa7b5fbd250fbf3fe6d16d00a55d9694404d9 Reviewed-by: Thomas McGuire <thomas.mcguire@kdab.com> Reviewed-by: Lorn Potter <lorn.potter@jollamobile.com>
* Used macro definitions for signals/slotsBernd Weimer2013-04-091-2/+2
| | | | | Change-Id: Ic06503355afae414c8dc09c4e3ab1999f3330e15 Reviewed-by: Thomas McGuire <thomas.mcguire@kdab.com>
* Fixed includes in public sensor headersBernd Weimer2013-04-0918-27/+27
| | | | | Change-Id: I92ec564034d4cc5766169827f0f05376ae186aee Reviewed-by: Thomas McGuire <thomas.mcguire@kdab.com>
* BlackBerry: Removed comment in pressure sensor backendBernd Weimer2013-04-081-2/+0
| | | | | | | | Verified pressure sensor and removed corresponding TODO comment. (backported from qt5/qtsensors: 85a9a37). Change-Id: I1295811e1b879e81d90b9286ddc2dd4ff9b3a2ef Reviewed-by: Thomas McGuire <thomas.mcguire@kdab.com>
* use pkgconfig on platforms that support it.Robin Burchell2013-04-031-18/+13
| | | | | | | | | reinventing the wheel is not nice, and at least for me, completely broken on OS X. Change-Id: I16721b669ecdd7dfca1c7bfb9ebd034d67849a8a Reviewed-by: Matthew Vogt <matthew.vogt@qinetic.com.au> Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@digia.com> Reviewed-by: Robin Burchell <robin+qt@viroteck.net>
* Fix DocumentGallery returning encoded urls.Andrew den Exter2013-03-274-44/+152
| | | | | | | | | Tracker stores url properties in encoded form, these need to be decoded before they are returned and encoded when used in queries. Change-Id: I26db02e758cb14e6789418631979fa21cf58daff Reviewed-by: Marko Mattila <marko.mattila@jollamobile.com> Reviewed-by: Christopher Adams <chris.adams@jollamobile.com>
* BlackBerry: Support QMagnetometer::returnGeoValuesThomas McGuire2013-03-111-9/+21
| | | | | | | | | This is a backport of QtSensors commit 4ef58f952f6fb87059cecddfe6447b14919be066 Change-Id: Ieb4779f36e1a20be52329020540cfeecd68057bc Reviewed-by: Bernd Weimer <bweimer@blackberry.com> Reviewed-by: Lorn Potter <lorn.potter@jollamobile.com>
* Blackberry: Prevent spurious calls to dataAvailable() when stoppedThomas McGuire2013-03-111-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. This is a backport of QtSensors commit 3a9e30eb6229a6212150dbc1a3627246d51c8be2 Change-Id: I013fe5cff0c83cf39d21d2b84605a2007abb9bf5 Reviewed-by: Bernd Weimer <bweimer@blackberry.com> Reviewed-by: Lorn Potter <lorn.potter@jollamobile.com>
* Backport QAmbientTemperatureSensor from QSensors to qt-mobility.Sergio Martins2013-03-0710-39/+354
| | | | | Change-Id: Ibaf0f89cfb8e3f570980b43ff3179afe83e7cb48 Reviewed-by: Thomas McGuire <thomas.mcguire@kdab.com>
* Backport QAltimeter from QSensors to qt-mobility.Sergio Martins2013-03-0710-38/+360
| | | | | | Change-Id: I59da45e1cf15c706e9cedf0d5273f15f7fd3c920 Reviewed-by: Thomas McGuire <thomas.mcguire@kdab.com> Reviewed-by: Lorn Potter <lorn.potter@jollamobile.com>
* Remove qmfhelpers operator== for QMailMessagePart::Location.Robin Burchell2013-03-072-9/+0
| | | | | | | | QMF gained this upstream a long time ago for QMailMessagePartContainer - which QMailMessagePart inherits (in 95c9e8852b502c03f6c87f88296ad63e75b29404.) Change-Id: I92efa54ad0317bfc6916bf732c2cd3e3d31dfc82 Reviewed-by: Matthew Vogt <matthew.vogt@qinetic.com.au>
* Document the IR Proximity value behavior on BlackBerryThomas McGuire2013-03-011-0/+6
| | | | | | | | | | | This is a backport of QtSensors commit c0f3653aea1c86ba2fecb0f8b0c6865f025031a4 Task-number: QTBUG-28087 Change-Id: I3a9672f929b1c0ec687a18e633f3983d2360a9c6 Reviewed-by: Adam Parco <aparco@rim.com> Reviewed-by: Bernd Weimer <bweimer@rim.com> Reviewed-by: Lorn Potter <lorn.potter@jollamobile.com>
* Convert QMagnetometer::returnGeoValues to a proper propertyThomas McGuire2013-03-014-7/+63
| | | | | | | | | This is a backport of QtSensors commit 2dba878107fbe290782af720981ce28ec3723e7a Change-Id: Icc160b408c77c1d1e727e033146c72fd1e52618c Reviewed-by: Adam Parco <aparco@rim.com> Reviewed-by: Lorn Potter <lorn.potter@jollamobile.com>
* Organizer: Emit model state change whether or not the store returned data.Robin Burchell2013-02-281-3/+3
| | | | | | | | Task-number: QTMOBILITY-1416 Change-Id: I041ef5655a2f8690a035a2d8757070c0fde127fa Reviewed-by: John Brooks <john.brooks@dereferenced.net> Reviewed-by: Christopher Adams <chris.adams@jollamobile.com>
* Fix off-by-one in beginInsertRows() call.Robin Burchell2013-02-281-1/+1
| | | | | | Change-Id: Ic6a28fc1e3416db50daf1cab6fce49d1ac24848e Reviewed-by: John Brooks <john.brooks@dereferenced.net> Reviewed-by: Christopher Adams <chris.adams@jollamobile.com>
* Use real properties for QSensor::bufferSize & coThomas McGuire2013-02-215-34/+122
| | | | | | | | | | | | | | | | | | | 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. This is a backport of QtSensors commit 4d9edb754b3dff3331c8d8790a04548f0981f315 Change-Id: Ia34fc1ad2e59552355f1e7d27a67000c29a9900f Reviewed-by: Bernd Weimer <bweimer@rim.com> Reviewed-by: Lorn Potter <lorn.potter@jollamobile.com>
* BlackBerry: Fixed playback of streamed audioBernd Weimer2013-02-193-5/+17
| | | | | | | | | | | | Before audio is played we always seek to position 0. Unfortunately, due to a recent change in mmrenderer, playback stopped working for "non-seekable" media. There is a check now, whether the media is seekable or not. (Backport of commit 7df6aa0 from qtmultimedia) Change-Id: I07e336853cb0984a91ba22d346567b51b055034a Reviewed-by: Thomas McGuire <thomas.mcguire@kdab.com>
* Adjust all setDisplayRect() calls for the case when winId is 0.Sergio Martins2013-01-293-16/+56
| | | | | | | | | | | | alien to native promotion is broken in Qt4 QPA. updateWinId() already had a workaround, introduced in 806b4da112b35313b7e674a2735d888809f74288 This commit makes all setDisplayRect() calls use the workaround too. Change-Id: I44e879bfd7983f3f9b308d58d714014605ea128a Reviewed-by: Thomas McGuire <thomas.mcguire@kdab.com> Reviewed-by: Lorn Potter <lorn.potter@jollamobile.com>
* Fix typo in filename causing search for input device types to fail.Sampo Saaristo2013-01-281-2/+2
| | | | | | | | Extra space in filename removed. Variable holding input method types intialized. Task-Number: QTMOBILITY-2088 Change-Id: I07f44ed29466b26f666556f1b072029560c49ca3 Reviewed-by: Lorn Potter <lorn.potter@jollamobile.com>
* Fix listing input devices in qsysinfo example.Sampo Saaristo2013-01-281-6/+6
| | | | | | | | Assignments in if-clause instead of comparison whilst building list of input devices for a device. Task-Number: QTMOBILITY-2087 Change-Id: Ic1dc25fa189b3ec930e14e2f05c9a34a636163b7 Reviewed-by: Lorn Potter <lorn.potter@jollamobile.com>
* Doc: Changed HTML copyright information with Digia and Qt Project.Jerome Pasion2013-01-222-32/+35
| | | | | Change-Id: Ie2d54aee90ca4e5ddec380d6284355517fb756d5 Reviewed-by: Sergio Ahumada <sergio.ahumada@digia.com>
* Add -no-wmf to configure.batWouter Huysentruit2013-01-151-2/+14
| | | | | | | | | This option is needed in case you're compiling on Windows Vista or later and want to build without the WMF backend (and use the DirectShow backend instead) Change-Id: I7b0d9064e3582e5e9f75f10cb84f3bf5b55259a5 Reviewed-by: Rafael Roquetto <rafael.roquetto@kdab.com>
* Fix: Only flip video once for BottomToTop scanline directionsWouter Huysentruit2013-01-141-23/+8
| | | | | | | | | | | | Top & bottom of the texture coordinates are already flipped for BottomToTop scanline directions. So there is no need to flip top & bottom of the vertex coordinates too. This is a backport of change I221b94afb65c194bdedb787414e6a436b8095fb2 from the qt/qtmultimedia project Change-Id: I11f85299a381708647d06d483c9aa780e167a82f Reviewed-by: Dmytro Poplavskiy <dmytro.poplavskiy@gmail.com>
* Fix: Bug fix in determination of scanline directionWouter Huysentruit2013-01-142-6/+33
| | | | | | | | | | | YUV and other compressed frame formats are always TopToBottom. Only for uncompressed RGB formats the sign of their height is used to indicate the scanline direction. This is a backport of change I6474783583672861eeeb538b79d14ee3d6995f59 from the qt/qtmultimedia project. Change-Id: I0d92dc7eff9e8e73e059e95d698175076120f033 Reviewed-by: Dmytro Poplavskiy <dmytro.poplavskiy@gmail.com>
* Update copyright year in Digia's license headersSergio Ahumada2013-01-105766-5775/+5775
| | | | | | Change-Id: I96513e8b6f09e76998a18edb5411ae06f52cba7c Reviewed-by: Akseli Salovaara <akseli.salovaara@digia.com> Reviewed-by: Sergio Ahumada <sergio.ahumada@digia.com>
* this needs to go here to work properly.Lorn Potter2013-01-091-1/+1
| | | | | | | will rework this maybe later. Change-Id: Ibfd314ead6fc2dba29c3d3ee86d5f1e18d8b9498 Reviewed-by: Lorn Potter <lorn.potter@jollamobile.com>
* should probably 'new' the QSensorGesture in a meaningful place.Lorn Potter2013-01-091-0/+1
| | | | | | | so as to make it work. Change-Id: I9fa67dae0cd0450107eeade939576e259029db77 Reviewed-by: Lorn Potter <lorn.potter@jollamobile.com>
* Fix merge errorThomas McGuire2013-01-081-11/+0
| | | | | | | Change-Id: Ie9c9c4e62a8a4aef4faaf31e005cfcf0c45365e0 Reviewed-by: Sérgio Martins <sergio.martins.qnx@kdab.com> Reviewed-by: Bernd Weimer <bweimer@rim.com> Reviewed-by: Lorn Potter <lorn.potter@jollamobile.com>
* QNX: Removed QtMobilitySimulator library from simulator configurationBernd Weimer2013-01-070-0/+0
| | | | | | Change-Id: Ieb840b983d0b81d82034fbc2db65ab9d7949e61b Reviewed-by: Fabian Bumberger <fbumberger@rim.com> Reviewed-by: Thomas McGuire <thomas.mcguire@kdab.com>
* Build on macs with case sensitive file systems.Till Adam2013-01-071-1/+1
| | | | | Change-Id: Ie34e1b4ca7e232920adc6eebf4754db0b52eab98 Reviewed-by: Thomas McGuire <thomas.mcguire@kdab.com>
* Fix QDeclarativeHapticsEffect::setIntensity()Chris Adams2013-01-031-1/+4
| | | | | | | | | | | | Previously, the value of the intensity was never modified by setIntensity(). This commit ensures that the result of the value comparison is used correctly to determine whether or not to update the intensity to the new value. Task-number: QTMOBILITY-2084 Change-Id: I53a0ab027c10b0be70761fbac71c5bd2ad4cec7a Reviewed-by: Lorn Potter <lorn.potter@jollamobile.com> Reviewed-by: Robin Burchell <robin+qt@viroteck.net>
* Blackberry: Add a page with platform-specific documentation.Thomas McGuire2012-12-122-0/+82
| | | | | | | Backported from Ic03c59523648ee25c419ec5d80122da9a717aa2d Change-Id: I7c82dbcf156ca0b90528a44a2ce89a69ea1919bc Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
* Use the overlay version of QGraphicsVideoItem on QNXThomas McGuire2012-12-111-1/+5
| | | | | | Change-Id: Ib450e6b79a9579ed5f02d7f3026b599910c2f391 Reviewed-by: Thomas McGuire <thomas.mcguire@kdab.com> Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
* Blackberry: Use real compass sensor if availableThomas McGuire2012-12-114-0/+64
| | | | | | | Change-Id: Ic6a4ce221ee04db674af67b2dcebce361d6c8b23 Reviewed-by: Thomas McGuire <thomas.mcguire@kdab.com> Reviewed-by: Sérgio Martins <sergio.martins.qnx@kdab.com> Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
* Fallback to the native parent if winId() is 0.Sergio Martins2012-12-113-3/+54
| | | | | | | | In Qt 4.8 QPA promotion of alien to native is broken so we need to handle the case where winId is 0. Change-Id: Icc87253dce40294a646d63ed341fad31b38a84de Reviewed-by: Lorn Potter <lorn.potter@gmail.com>
* Enable compilation of the blackberry plugin.Sergio Martins2012-12-031-1/+5
| | | | | | Change-Id: I581f442b6f9a10f5766d47d0bb73c8065a70199f Reviewed-by: Thomas McGuire <thomas.mcguire@kdab.com> Reviewed-by: Lorn Potter <lorn.potter@gmail.com>