summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Bump version5.11Kari Oikarinen2018-12-121-1/+1
| | | | Change-Id: I3c6ff0a5072b869255a8adb527b3720b7d87d21f
* Merge remote-tracking branch 'origin/5.11.3' into 5.11Qt Forward Merge Bot2018-12-043-2/+34
|\ | | | | | | Change-Id: I16cf098f93e76de8437963fd41be4a5605101cb9
| * Add changes file for Qt 5.11.3v5.11.3Antti Kokko2018-11-191-0/+30
| | | | | | | | | | | | | | | | | | | | + 53dff95bfbe9070c4cd17045f3d5147f29710c5f Compositor: Fix OpenGL textures deleted prematurely + c3b6c4d442c8187e43601c548bc58ce3e4fe21f3 Compositor: Don't send illegal leave events + 297bcd005c4205f69e1bf9e9dc565ab757cf0bac Don't destroy buffer before surfaceDestroyed signal + dccec9b282ae15fa65fd61698dd1cb47325e5c8e Bump version Change-Id: I548d049f958038a358982cc9470654cead9f05df Reviewed-by: Paul Olav Tvete <paul.tvete@qt.io>
| * Don't crash if view is deleted from surfaceDestroyed signalPaul Olav Tvete2018-11-161-1/+3
| | | | | | | | | | | | | | | | | | | | Fix regression introduced in 297bcd005c4205f69e1bf9e9dc565ab757cf0bac Fixes: QTBUG-71643 Change-Id: I769518a9ca13fcd13ea277c7fa8ac1885ca123ba Reviewed-by: Johan Helsing <johan.helsing@qt.io> (cherry picked from commit f890798053c7fa692bff7f8a3e96583dfcaba0cb) Reviewed-by: Paul Olav Tvete <paul.tvete@qt.io>
| * Compositor: Fix crash after surface destructionJohan Klokkhammer Helsing2018-11-161-1/+1
|/ | | | | | | | | | | Fixes a crash due to dangling pointer dereference in QWaylandQuickItem::inputMethodQuery. Fixes: QTBUG-71745 Change-Id: Id379779f23221e7de17423f75c3d78d7e794b7b9 Reviewed-by: Paul Olav Tvete <paul.tvete@qt.io> (cherry picked from commit d52e86e6f9bfde48b473dbe9d08e325d45388254) Reviewed-by: Andreas Cord-Landwehr <andreas.cord-landwehr@claas.com>
* Bump versionOswald Buddenhagen2018-11-081-1/+1
| | | | Change-Id: I2057039a7d4cfccf1b49906b446f4ee7911d8c76
* Don't destroy buffer before surfaceDestroyed signalPaul Olav Tvete2018-09-112-24/+35
| | | | | | | | Give the application time to set buffer lock first. Change-Id: Id8a7ee8956bc587344b8eece7072edff5197414c Task-number: QTBUG-69384 Reviewed-by: Johan Helsing <johan.helsing@qt.io>
* Merge remote-tracking branch 'origin/5.11.2' into 5.11Qt Forward Merge Bot2018-09-091-0/+45
|\ | | | | | | Change-Id: I544e0e064a6fb33966b4f9fbebf333dbf1b78331
| * Add changes file for Qt 5.11.2v5.11.2Antti Kokko2018-09-041-0/+45
| | | | | | | | | | Change-Id: Icf8a1a316e05f244774bf0b18cb37f3fca7392c6 Reviewed-by: Paul Olav Tvete <paul.tvete@qt.io>
* | Compositor: Don't send illegal leave eventsJohan Klokkhammer Helsing2018-09-051-1/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | If a client doesn't bind to an output, don't try to send leave events for it. ...similarly to how we don't send enter events for it. weston-simple-egl is one such client. [ChangeLog][Compositor] Fixed a bug that caused some clients to abort in libwayland when a surface left an output. Change-Id: Ia7f4c21a7d766092dfb8a20c56fa1128a3046f97 Reviewed-by: Paul Olav Tvete <paul.tvete@qt.io>
* | Compositor: Fix OpenGL textures deleted prematurelyJohan Klokkhammer Helsing2018-08-281-1/+1
|/ | | | | | | | | | | | | [ChangeLog][Compositor] Fixed a bug where destroying a WaylandQuickItem would delete the OpenGL texture for all other WaylandQuickItems using that surface. The texture QWaylandBufferRef::toOpenGLTexture returns is owned by the buffer (documented public API), so setting QQuickWindow::TextureOwnsGLTexture in QWaylandTextureProvider is wrong. Task-number: QTBUG-70163 Change-Id: I831f2aa81ed20c08d4d87bccac33650ab86d19c8 Reviewed-by: Paul Olav Tvete <paul.tvete@qt.io>
* Compositor: Fix resize grab release for xdg-shell-v6Johan Klokkhammer Helsing2018-08-271-1/+1
| | | | | | | | | | | | | | The grab was only released for the move state, so if a window was resized, it would continue to be in the resize state until it was moved. This makes sure all grabs are released when the mouse is released. [ChangeLog][Compositor] Fixed a bug where ShellSurfaceItems for XdgToplevelV6s wouldn't stop resizing. Task-number: QTBUG-70126 Change-Id: I37d8359dca5f21f2fb52b781a94846a961211a02 Reviewed-by: Paul Olav Tvete <paul.tvete@qt.io>
* Docs: Fix incorrect \since for QWaylandXdgSurfaceV6Johan Klokkhammer Helsing2018-08-171-1/+1
| | | | | Change-Id: Iac85af45ee0cb43c908983b331f2d50ed68bd036 Reviewed-by: Paul Olav Tvete <paul.tvete@qt.io>
* Client: Clear entered screens when resetting windowJohan Klokkhammer Helsing2018-08-171-0/+1
| | | | | | | | | | | | | | Previously, windows that were hidden and shown again would have the old list of entered screens. Aside from occasionally getting the current screen wrong, this also polluted the log with bogus warnings about unexpected enter events. This problem could be seen quite easily by opening, closing and opening a menu. [ChangeLog][QPA plugin] Fixed a bug where a window that was hidden and then shown on different screen would still think it was on the first screen. Change-Id: I1b27433ea6607a218384d814ae4c16b9c4395948 Reviewed-by: Paul Olav Tvete <paul.tvete@qt.io>
* Docs: Fix incorrect return types in WaylandXdgSurfaceV6Johan Klokkhammer Helsing2018-08-141-2/+2
| | | | | Change-Id: I5ebf22aa94393645df806e8d653a98ae13117909 Reviewed-by: Venugopal Shivashankar <Venugopal.Shivashankar@qt.io>
* Client: Don't leak toplevels for xdg-shell-unstable-v6Johan Klokkhammer Helsing2018-08-081-2/+4
| | | | | | Change-Id: Ifd6d4956eeed663e45219b428dfe562e7a82e626 Reviewed-by: David Edmundson <davidedmundson@kde.org> Reviewed-by: Paul Olav Tvete <paul.tvete@qt.io>
* Don't commit same buffer multiple timesPaul Olav Tvete2018-08-086-6/+33
| | | | | | | | | | | | | | | | In Qt we call flush() when we think the window might need to be updated. It is also possible to trigger a flush while painting. Two fixes: 1) If there are attempted flushes between beginPaint() and endPaint, queue them up, and do them in endPaint(). 2) Make sure we only commit the buffer once: after that the compositor owns the buffer, and it can repaint on its own. Change-Id: Ibf61068fa95760eb67dbc0b1d0534854114ea528 Reviewed-by: Johan Helsing <johan.helsing@qt.io>
* Handle subsurfaces added before QWaylandQuickItem createdPaul Olav Tvete2018-08-073-0/+8
| | | | | | | | This makes gstreamer and Firefox work with QML-based compositors. Task-number: QTBUG-69643 Change-Id: Iaddaeb7dc3493a262993eecc5ea0b6ce076b4044 Reviewed-by: Johan Helsing <johan.helsing@qt.io>
* Make sure we don't use deleted memory in examplePaul Olav Tvete2018-08-041-2/+5
| | | | | | | | | | The view has a pointer to a QOpenGLTexture that is owned by the buffer. Don't keep using that pointer after the buffer has deleted it. Task-number: QTBUG-69384 Change-Id: I48fd813e0dcb74db04d217238be7b0b6b345fc11 Reviewed-by: Johan Helsing <johan.helsing@qt.io>
* Fix compilation of QtWayland without QtQuickAlexander Schlarb2018-08-032-6/+5
| | | | | Change-Id: I0baf542f89274f48bf7d02121a07d64f0f3a001b Reviewed-by: Johan Helsing <johan.helsing@qt.io>
* Bump versionOswald Buddenhagen2018-07-301-1/+1
| | | | Change-Id: I7282fdb0a0871c104c4f6f60320f92804a7f2a93
* Proper naming for backingstore logging categoryPaul Olav Tvete2018-07-091-3/+3
| | | | | | | | The logging category is exported, so the name should be specific. Change-Id: Iffdc89875ef9e3091009780edc614fee10c05532 Reviewed-by: Johan Helsing <johan.helsing@qt.io>
* Fix static builds with libwayland-eglSamuli Piippo2018-06-291-0/+2
| | | | | | | | | | | | | | There was a naming conflict between the client buffer integration, wayland-egl, and the system library libwayland-egl.so Rename the plugin binary to qt-plugin-wayland-egl to avoid the issue. This commit appends commit 83db09bd0acaafb256880e3a217ed9df0641a00a which did the same for the client plugin Task-number: QTBUG-65652 Change-Id: I245192a9f844945200209cc2e3a9f419c541d33b Reviewed-by: Paul Olav Tvete <paul.tvete@qt.io>
* Send damage for window decorationsJohan Klokkhammer Helsing2018-06-291-0/+14
| | | | | | | | | | | Compositors that only update damaged regions would show the old content of the decorations. [ChangeLog][QPA plugin] Fixed the window decorations sometimes not updating on some compositors. Change-Id: I75ab40e159bf165152a58e438dd7f70e7f9e9b22 Reviewed-by: Paul Olav Tvete <paul.tvete@qt.io>
* Make sure generated headers are installedPaul Olav Tvete2018-06-281-0/+3
| | | | | | Task-number: QTBUG-68773 Change-Id: Ia00c2438ef7ce6be7dc7d05efbba3bc7f27fe62f Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@qt.io>
* Implement QWaylandXdgSurface::xdg_surface_close()Daniel d'Andrada2018-06-281-0/+1
| | | | | Change-Id: Ia2f708fc668a802f4468efd0765f36aab0944e10 Reviewed-by: Johan Helsing <johan.helsing@qt.io>
* Add missing wayland-scanner generated headers to sync.profileJohan Klokkhammer Helsing2018-06-271-0/+19
| | | | | | | Task-number: QTBUG-68773 Change-Id: I886726fa9fb14f87041cf1a3e8aaead70d4d9ae8 Reviewed-by: Paul Olav Tvete <paul.tvete@qt.io> Reviewed-by: Liang Qi <liang.qi@qt.io>
* sync.profile: Use inject_headers and private_headers for generated filesJohan Klokkhammer Helsing2018-06-251-0/+28
| | | | | Change-Id: I6cdc2eb0c5310462c4b1486cd03af9bd433bcf63 Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@qt.io>
* Merge remote-tracking branch 'origin/5.11.1' into 5.11Qt Forward Merge Bot2018-06-194-5/+80
|\ | | | | | | Change-Id: Idd23894d256f83518f2cd25d7c13f5a09c7d577e
| * Skip flaky tst_WaylandClient::dontCrashOnMultipleCommits()v5.11.1Johan Klokkhammer Helsing2018-06-091-0/+1
| | | | | | | | | | | | | | | | Until we figure out the cause, just skip it. Task-number: QTBUG-68756 Change-Id: I70d84ddabae4ef9df834ff8a471dddeee97e18f9 Reviewed-by: Paul Olav Tvete <paul.tvete@qt.io>
| * Add changes file for Qt 5.11.1Paul Olav Tvete2018-06-091-0/+43
| | | | | | | | | | Change-Id: I46565dd145c353f5a33a63d5176143269d1bf26b Reviewed-by: Johan Helsing <johan.helsing@qt.io>
| * Merge 5.11 into 5.11.1Oswald Buddenhagen2018-06-074-1/+86
| |\ | | | | | | | | | Change-Id: I3d3cc001320febd64529f0997b88efd69303fa30
| * | xdg-shell v6: Make sure popup parent is topmost popup when grabbingJohan Klokkhammer Helsing2018-06-052-5/+36
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Avoids protocol errors on Weston, gnome-shell and wlroots-based compositors. [ChangeLog][QPA Plugin] Fixed a protocol error that sometimes happened when showing popups such as nested menus on xdg-shell unstable v6. Task-number: QTBUG-67988 Change-Id: I037aec94fba3d177dd0392e5a216a604bc65ac4f Reviewed-by: Paul Olav Tvete <paul.tvete@qt.io>
* | | Doc: Add missing dots (qtwayland)Paul Wicking2018-06-197-11/+12
| | | | | | | | | | | | | | | | | | Task-number: QTBUG-68933 Change-Id: I02ba2e659d21923934dab970af23856b45ff1570 Reviewed-by: Johan Helsing <johan.helsing@qt.io>
* | | Add support for building QtWayland on macOSRobert Griebl2018-06-094-5/+18
| |/ |/| | | | | | | Change-Id: I98aadd5019e913bf0adcf0122b7b209981926278 Reviewed-by: Paul Olav Tvete <paul.tvete@qt.io>
* | Don't ask libwayland to set absurdly long window titlesJohan Klokkhammer Helsing2018-06-062-1/+23
| | | | | | | | | | | | | | | | It will cause libwayland to terminate the application. Task-number: QTBUG-68715 Change-Id: I1d1830453da224bec8bf4c5d6ab087c0e05328a8 Reviewed-by: Paul Olav Tvete <paul.tvete@qt.io>
* | Add changes file for Qt 5.9.6Antti Kokko2018-06-011-0/+30
| | | | | | | | | | | | | | Change-Id: I212baaa0a5a1abc0cfffc04fc826f8dec47cd56c Reviewed-by: Paul Olav Tvete <paul.tvete@qt.io> (cherry picked from commit 8c5999644c8a98dca74f7339c2c750dd063ae346) Reviewed-by: Antti Kokko <antti.kokko@qt.io>
* | Add changes file for Qt 5.9.5Antti Kokko2018-06-011-0/+33
|/ | | | | | | Change-Id: I382b13a2afcaa950ce7c64766793db65b490eba1 Reviewed-by: Paul Olav Tvete <paul.tvete@qt.io> (cherry picked from commit f2bba05d44898c667068bff3f8d0ef09938a548e) Reviewed-by: Antti Kokko <antti.kokko@qt.io>
* Correct the include for QInternalMimeDataJoerg Bornemann2018-06-011-1/+1
| | | | | | | | Since qtbase/9f27bfb3, users of QInternalMimeData should include qinternalmimedata_p.h. Change-Id: I531d5fa318f55497b955b03c7e25d51a6f87ba05 Reviewed-by: Paul Olav Tvete <paul.tvete@qt.io>
* Bump versionOswald Buddenhagen2018-05-311-1/+1
| | | | Change-Id: Ia9c81a32903d92ef1d247ac77d450d38b1d17fc3
* QWaylandView: Don't crash on [set|is]Primary when no surface aroundDaniel d'Andrada2018-05-291-2/+7
| | | | | Change-Id: Ic13d773da854aa5025222d3896f824deea0df279 Reviewed-by: Johan Helsing <johan.helsing@qt.io>
* Client tests: Ensure there are no leftover ivi_surfacesJohan Klokkhammer Helsing2018-05-281-0/+1
| | | | | | | Similarly to what we do for xdg-shell v6. Change-Id: Id72d0af53c7bcee461b741341bf6b587ffe98522 Reviewed-by: Paul Olav Tvete <paul.tvete@qt.io>
* Client tests: Remove redundant cleanup testingJohan Klokkhammer Helsing2018-05-251-8/+0
| | | | | | | | | | | We already have a QTRY_VERIFY(!compositor->surface()); in tst_WaylandClient::cleanup() which is already run after every test. The assertions from tests that are explicitly testing surface creation and destruction have not been removed. Change-Id: I21d574f5fe33d4e4c309dcfb2f50bde447238df2 Reviewed-by: Paul Olav Tvete <paul.tvete@qt.io>
* Suppress warning about MFD_CLOEXEC being redefinedThiago Macieira2018-05-231-1/+3
| | | | | | | | | glibc 2.27 #defined it as just "1U" instead of the kernel "0x0001U". Same value, but because the tokens are different, this triggers a warning. Change-Id: I052407b777ec43f78378fffd153112449de8cf4f Reviewed-by: Johan Helsing <johan.helsing@qt.io>
* Disable the -Wmissing-field-initializers warning for Clang tooThiago Macieira2018-05-232-0/+2
| | | | | | | qwldatadevicemanager.cpp:277:1: warning: missing field 'finish' initializer [-Wmissing-field-initializers] Change-Id: I052407b777ec43f78378fffd15311263e7498287 Reviewed-by: Johan Helsing <johan.helsing@qt.io>
* Fix tst_WaylandCompositor::sizeFollowsWindow on high-dpiJohan Klokkhammer Helsing2018-05-141-1/+3
| | | | | | | | The QWindow we use may have devicePixelRatio != 1 and that caused the test to fail. Change-Id: I3d248ed85cea521a3d543026a87f92c085116461 Reviewed-by: Paul Olav Tvete <paul.tvete@qt.io>
* Don't call QWaylandCompositorExtension::initialize multiple timesJohan Klokkhammer Helsing2018-05-092-2/+3
| | | | | | | | | QWaylandCompositorExtension::initialize already had a guard to return early if called multiple times, sub-class implementations, however, may not include such checks. Change-Id: I088a240bdf6ebd8b77de7aab9d2c6953e55569e6 Reviewed-by: Paul Olav Tvete <paul.tvete@qt.io>
* Merge remote-tracking branch 'origin/5.11.0' into 5.11Qt Forward Merge Bot2018-05-092-2/+84
|\ | | | | | | Change-Id: I76665f0b78e71acf6244c62b60791a792ff35cde
| * Add changes file for Qt 5.11.0v5.11.0-rc2v5.11.0-rc1v5.11.0Antti Kokko2018-04-241-0/+82
| | | | | | | | | | Change-Id: I28be178f23f1dfd2f253daabe6772106c007eace Reviewed-by: Paul Olav Tvete <paul.tvete@qt.io>
| * Compositor: Fix mapToSurface for surfaces with bufferScale != 1Johan Klokkhammer Helsing2018-04-211-2/+2
| | | | | | | | | | | | | | | | | | Since QWaylandSurface::size (public API) returns the buffer size in pixels and not the size in surface local coordinates, we need to also account for the surface buffer_scale in order to get surface local coordinates. Change-Id: I79a396c55b674b1ac42ca17e1e88e50c1506ce83 Reviewed-by: Paul Olav Tvete <paul.tvete@qt.io>