summaryrefslogtreecommitdiff
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
* Add binary compatibility file for QtX11Extras for 5.10Milla Pohjanheimo2017-12-141-0/+8357
| | | | | | | File to test binary compatibility for 5.10 added Change-Id: I02e51146c2d3c319391e4cfc944daf2416a4865e Reviewed-by: Sergio Ahumada <sahumada@texla.cl>
* Add QX11Info::peekEventQueue() APIv5.10.0-beta3v5.10.0-beta2v5.10.0-beta1v5.10.0-alpha1Gatis Paeglis2017-08-296-2/+335
| | | | | | | | | | | | | | | | | | | | | | | [ChangeLog][QX11Info] Added new API to peek into the XCB event queue - peekEventQueue(). This enables porting certain Qt4-based applications to Qt5 (those using Xlib's event handling functions to peek into the X11 event queue). In Qt5 we set XCB to be the owner of the X11 event queue with XSetEventQueueOwner(dpy, XCBOwnsEventQueue), which means that only XCB event handling functions can be used to read events from the X server. XCB does not have an equivalent for Xlib's peeker API. For filtering out unwanted native events Qt5 provides QAbstractNativeEventFilter::nativeEventFilter(), but there isn't any API in Qt to just *peek* into the queue while the GUI thread is busy processing a long task. The peekEventQueue() function adds this capability via QX11Info. Manual and auto test included. Task-number: QTBUG-50358 Change-Id: Id31f797f7ff76d011ad7a55a9b6c13756aaaca60 Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
* Binary compatibility file for qtx11extras (Qt 5.8.0)Milla Pohjanheimo2017-08-161-0/+8016
| | | | | | | | Added binary compatibility file for qtx11extras. The 5.8 branch no longer exist, that's why the file for Qt5.8.0 is pushed to 5.9 branch. Change-Id: Ic3b44332544957fc7e32f0729b82183860e27188 Reviewed-by: Sergio Ahumada <sahumada@texla.cl>
* Update binary compatibility file for Qt5.9.0 for QtX11ExtrasMilla Pohjanheimo2017-08-151-0/+8036
| | | | | | | Binary compatibility file for Qt 5.9.0. Change-Id: I327b1b6e6641362c6d682b7365f95e8651ab460c Reviewed-by: Sergio Ahumada <sahumada@texla.cl>
* Binary compatibility file and global.cfg for QtX11ExtrasMilla Pohjanheimo2016-12-082-0/+7756
| | | | | | | | BC file and an include file added for QtX11Extras module Change-Id: I2198f961287d5aa2cdbc18a68aa6ed0bce74fb60 Reviewed-by: Sergio Ahumada <sahumada@texla.cl> Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
* Merge remote-tracking branch 'origin/5.7' into 5.8Liang Qi2016-11-261-0/+7981
|\ | | | | | | Change-Id: Iff115b9216edf478b205832187565dcda4675af4
| * Binary compatibility file added for QtX11Extras (5.7)v5.7.15.7.1Milla Pohjanheimo2016-10-041-0/+7981
| | | | | | | | | | | | | | | | Added the generated data files for the binary compatibility tests for QtX11Extras for Qt 5.7. Change-Id: Iaaf08e1fe7a6756ee562131cf0712c41392ae88b Reviewed-by: Sergio Ahumada <sahumada@texla.cl>
* | Make sure we find the xcb feature from QtGuiLars Knoll2016-09-141-0/+1
| | | | | | | | | | | | | | | | Required to be able to continue to compile this module with the modularized configure Change-Id: Idd5984576ba770cccd2312e91dbd2ff2bcc55fab Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@theqtcompany.com>
* | Adjust to qtConfig() changes in qtbasev5.8.0-alpha1Lars Knoll2016-08-191-1/+1
|/ | | | | Change-Id: I15ab6f816ba30f16cac7f2e3d6ab0ebd549a3ade Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@theqtcompany.com>
* Add QX11Info::isCompositingManagerRunning() functionGabriel de Dietrich2016-03-221-0/+2
| | | | | | | Task-number: QTBUG-41195 Change-Id: Id4b385478dad85dd02c484fe9c44666bae46268b Reviewed-by: Błażej Szczygieł <spaz16@wp.pl> Reviewed-by: Shawn Rutledge <shawn.rutledge@theqtcompany.com>
* Updated license headersv5.7.0-alpha1Antti Kokko2016-01-202-35/+25
| | | | | | | | | | | From Qt 5.7 -> tools & applications are lisenced under GPL v3 with some exceptions, see http://blog.qt.io/blog/2016/01/13/new-agreement-with-the-kde-free-qt-foundation/ Updated license headers to use new GPL-EXCEPT header instead of LGPL21 one (in those files which will be under GPL 3 with exceptions) Change-Id: I56e5124abdd9eb751877e42bb7c44de5961f4c60 Reviewed-by: Lars Knoll <lars.knoll@theqtcompany.com>
* Update copyright headersv5.5.0-alpha1Antti Kokko2015-02-162-13/+13
| | | | | | | | | 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: I5b54cb4819a4d35dd9136d4250f83871bd15c449 Reviewed-by: Jani Heikkinen <jani.heikkinen@theqtcompany.com>
* Update license headers and add new licensesv5.4.0-alpha1Antti Kokko2014-08-242-37/+21
| | | | | | | | | - Renamed LICENSE.LGPL to LICENSE.LGPLv21 - Added LICENSE.LGPLv3 & LICENSE.GPLv2 - Removed LICENSE.GPL Change-Id: I173cdbf20a35132737586a9cdbfc2a6f209f6d6a Reviewed-by: Jani Heikkinen <jani.heikkinen@digia.com>
* QX11Info: add nextStartupId/setNextStartupId - for startup-notificationDavid Faure2014-04-121-0/+29
| | | | | | | | | | This controls what the next window to be shown will send as startup-notification message. http://standards.freedesktop.org/startup-notification-spec/startup-notification-latest.txt Change-Id: Ia1b5e6ba004d61ca6fdfd6683d2e22dfcd0c42fb Reviewed-by: Jędrzej Nowacki <jedrzej.nowacki@digia.com> Reviewed-by: Richard J. Moore <rich@kde.org>
* test: Remove dead code around QX11Info::setAppDpi{X,Y}v5.3.0-rc1v5.3.0release5.3.0Sergio Ahumada2014-03-281-11/+0
| | | | | | | | These functions don't exist for QX11Info. Change-Id: Icb9a4b28c1f97ac8d59c93a29633547c84f6589c Reviewed-by: Jędrzej Nowacki <jedrzej.nowacki@digia.com> Reviewed-by: David Faure <david.faure@kdab.com>
* Fix hard dep on widgets for autotestsv5.3.0-beta1Frederik Gladhorn2014-03-151-3/+5
| | | | | Change-Id: I4a847eb9480eb6343fe60c71ec3e37bd6887af9f Reviewed-by: Simon Hausmann <simon.hausmann@digia.com>
* Add a method to let users determine if the current platform is X11.v5.2.0-alpha1Richard J. Moore2013-09-091-0/+9
| | | | | | | | In order to know if the methods in QtX11Extras are usable the user should have a way to tell if they're running on X11. Change-Id: I096267eb1f1fe07ee11811574a96100389c33b7d Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
* QX11Info: return unsigned long rather than Qt::HANDLE.David Faure2013-02-041-2/+2
| | | | | | | | Qt::HANDLE has changed from unsigned long (on X11) to void* (everywhere) in Qt5, so we have to use "unsigned long" explicitly here. Change-Id: I4b16d1492dcb43fde5a4637d33f049854bec898a Reviewed-by: Stephen Kelly <stephen.kelly@kdab.com>
* Skip tests too on platforms without XCBDavid Faure2012-12-211-1/+4
| | | | | | Change-Id: I87821d698ea50359b63da569818a2ded6ee865d8 Reviewed-by: Simo Fält <simo.falt@digia.com> Reviewed-by: Richard J. Moore <rich@kde.org>
* QtX11Extras: Adding missing license headerSimo Fält2012-12-191-0/+40
| | | | | | | | CI will run the license header check as a pre-build test, if it detects missing headers it will exit with failure. Change-Id: Ib080373c92e4715747d6a75139821de270108e61 Reviewed-by: David Faure (KDE) <faure@kde.org>
* Rename "support" to "extras" everywhere, to match the new module nameDavid Faure2012-12-183-8/+8
| | | | | Change-Id: Ic089aa287b38b756bb9f0bc252c4120859afcefa Reviewed-by: Richard J. Moore <rich@kde.org>
* Add unit tests for the cmake files.Stephen Kelly2012-12-075-1/+56
| | | | | Change-Id: I2e07862e0e13d8a9747691d219185edbe6c86274 Reviewed-by: David Faure (KDE) <faure@kde.org>
* Implement appTime and appUserTime (getters and setters) on top of QPA.David Faure2012-12-054-0/+160
Add unit test for QX11Info, taken from Qt4 and extended. Change-Id: I22f403f47bb5413b954c06f8cb78992e02726f6d Reviewed-by: Richard J. Moore <rich@kde.org> Reviewed-by: Lars Knoll <lars.knoll@digia.com> Reviewed-by: Johan Thelin <johan.thelin@pelagicore.com>