From duke at openjdk.java.net Thu May 5 17:13:39 2022 From: duke at openjdk.java.net (duke) Date: Thu, 5 May 2022 17:13:39 GMT Subject: git: openjdk/wakefield: pure_wl_toolkit: 3 new changesets Message-ID: <59f7be3b-ad51-4d87-aade-cfef00935beb@openjdk.java.net> Changeset: 862304db Author: Maxim Kartashev Date: 2022-04-08 05:45:00 +0000 URL: https://git.openjdk.java.net/wakefield/commit/862304dbb8b2447071f5348c4bd68f4e3b7a4536 Reduced xdg_wm_base protocol version to 1 in order to run under Weston This was done purely for convenience. The version can be bumped back up at any time, but the change will require a more recent version of Weston for testing. ! src/java.desktop/unix/native/libawt_wlawt/WLToolkit.c Changeset: dd34f02b Author: Maxim Kartashev Date: 2022-04-11 08:18:08 +0000 URL: https://git.openjdk.java.net/wakefield/commit/dd34f02b3385a611deae4c3e95a2d69c29fcba37 AWT Robot to support Wayland natively Requires the presence of the 'wakefield' protocol extension on the server side; will throw UOE on use otherwise. Can be completely disabled by undefining WAKEFIELD_ROBOT during compilation. Provides the ability to re-position the surface to the given absolute coordinates, query the surface's position, obtain RGB of a pixel at the given absolute coordinates and take a screenshot of an area. ! make/modules/java.desktop/lib/Awt2dLibraries.gmk ! src/java.desktop/unix/classes/sun/awt/wl/WLComponentPeer.java + src/java.desktop/unix/classes/sun/awt/wl/WLRobotPeer.java ! src/java.desktop/unix/classes/sun/awt/wl/WLToolkit.java ! src/java.desktop/unix/native/libawt_wlawt/WLComponentPeer.c + src/java.desktop/unix/native/libawt_wlawt/WLRobotPeer.c + src/java.desktop/unix/native/libawt_wlawt/WLRobotPeer.h ! src/java.desktop/unix/native/libawt_wlawt/WLToolkit.c ! src/java.desktop/unix/native/libawt_wlawt/WLToolkit.h + src/java.desktop/unix/native/libawt_wlawt/wakefield-client-protocol.c + src/java.desktop/unix/native/libawt_wlawt/wakefield-client-protocol.h Changeset: 8d71f8e9 Author: Maxim Kartashev Date: 2022-04-22 07:23:19 +0000 URL: https://git.openjdk.java.net/wakefield/commit/8d71f8e9e76cfe8f34f063b71cbb1f6c90b98778 Wayland test harness and sample test ! README.md + test/jdk/java/awt/wakefield/ScreenCapture.java + test/jdk/java/awt/wakefield/WakefieldTestDriver.java From duke at openjdk.java.net Thu May 5 17:22:08 2022 From: duke at openjdk.java.net (duke) Date: Thu, 5 May 2022 17:22:08 GMT Subject: git: openjdk/wakefield: pure_wl_toolkit: 2 new changesets Message-ID: Changeset: 7eeac2c3 Author: Maxim Kartashev Date: 2022-04-26 19:27:03 +0000 URL: https://git.openjdk.java.net/wakefield/commit/7eeac2c3c2b55630079d8093be47ff16bab2fe7b Made it possible for Wayland tests to run in parallel Also fixed a potential crash in getLocationOnScreen(). ! src/java.desktop/unix/classes/sun/awt/wl/WLComponentPeer.java ! test/jdk/java/awt/wakefield/WakefieldTestDriver.java Changeset: a9993e87 Author: Maxim Kartashev Date: 2022-04-27 12:24:33 +0000 URL: https://git.openjdk.java.net/wakefield/commit/a9993e87ae62556d393d04caaa965c77dae3fa23 Added libwakefield source code to the tree It is not integrated into the build infrastructure both for simplicity and to avoid otherwise unnecessary dependencies on weston, pixman, etc. Also fixed copyrights in the recently added files, including the auto-generated ones. ! README.md + src/java.desktop/share/native/libwakefield/CMakeLists.txt + src/java.desktop/share/native/libwakefield/README.md + src/java.desktop/share/native/libwakefield/protocol/wakefield.xml + src/java.desktop/share/native/libwakefield/src/wakefield.c ! src/java.desktop/unix/native/libawt_wlawt/wakefield-client-protocol.c ! src/java.desktop/unix/native/libawt_wlawt/wakefield-client-protocol.h ! test/jdk/java/awt/wakefield/ScreenCapture.java