Re: Wayland

2024-04-21 Thread Thiago Milczarek Sayão
I mailed the jextract list and Jorn Vernee explained that wayland use opaque types, which are just defined as such: struct wl_registry; I guess you just pass it around and it's defined in the internal .c file. Those are not supported by jextract. I'll find a way to get around it. But I've been

Re: Wayland

2024-04-21 Thread Nir Lisker
Can you link to where all the headers are? I found some in https://gitlab.freedesktop.org/wayland/wayland/-/tree/main/src, but I couldn't see where wl_registry is defined. From what I see, wl_XYZ types are structs, which are supported. By the way, there's a new guide for jextract at

Re: RFR: 8305418: [Linux] Replace obsolete XIM as Input Method Editor [v20]

2024-04-21 Thread leewyatt
On Sun, 24 Mar 2024 12:13:08 GMT, Thiago Milczarek Sayao wrote: >> Thiago Milczarek Sayao has updated the pull request with a new target base >> due to a merge or a rebase. The pull request now contains 94 commits: >> >> - Merge branch 'master' into new_ime >> - Add signals to avoid

Re: Wayland

2024-04-21 Thread Thiago Milczarek Sayão
jextract --output src -t org.freedesktop.wayland.client --header-class-name WlClient `pkg-config --cflags-only-I wayland-client` `pkg-config --libs wayland-client` /usr/include/wayland-client.h WARNING: Skipping wl_registry (type Declared(wl_registry) is not supported) I would need this to hook

Re: Wayland

2024-04-21 Thread Nir Lisker
What are wl_ types? jextract only supports c headers. On Sun, Apr 21, 2024 at 10:31 PM Thiago Milczarek Sayão < thiago.sa...@gmail.com> wrote: > Hi, > > I did a small test app to explore Wayland client and portals (for Robot > and dialogs such as file open/save). > >

[jfx17u] Integrated: 8330682: Change JavaFX release version to 17.0.12 in jfx17u

2024-04-21 Thread Johan Vos
On Fri, 19 Apr 2024 13:32:14 GMT, Johan Vos wrote: > Increase JavaFX release version to 17.0.12 This pull request has now been integrated. Changeset: 685b18e3 Author:Johan Vos URL: https://git.openjdk.org/jfx17u/commit/685b18e3625019307d437e38964a0e83ff26b801 Stats: 2 lines in

Re: RFR: 8322964: Optimize performance of CSS selector matching [v9]

2024-04-21 Thread John Hendrikx
On Mon, 11 Mar 2024 16:54:25 GMT, John Hendrikx wrote: >> Improves performance of selector matching in the CSS subsystem. This is done >> by using custom set implementation which are highly optimized for the most >> common cases where the number of selectors is small (most commonly 1 or 2).

Wayland

2024-04-21 Thread Thiago Milczarek Sayão
Hi, I did a small test app to explore Wayland client and portals (for Robot and dialogs such as file open/save). https://github.com/tsayao/wayland-test/blob/main/wayland-test.c It seems it will work as a glass backend, but some walls will be hit on the way :) I have tried to use jextract (from

Re: Possible leak on setOnAction

2024-04-21 Thread Thiago Milczarek Sayão
I think the leaks (seems to be more than one) happens on: ContextMenuContent.disposeVisualItems There are visual items holding references. They seem to be on MenuItemContainer It looks like its held on: mouseEnteredEventHandler mouseReleasedEventHandler actionEventHandler And somewhere

Re: RFR: 8146918: ConcurrentModificationException in MediaPlayer

2024-04-21 Thread n-gabe
On Thu, 22 Feb 2024 17:16:42 GMT, n-gabe wrote: > There is a ConcurrentModificationException in MediaPlayer when removing a > MediaView from it. The root cause is that you can't iterate over a HashSet > with for (WeakReference vref : viewRefs) and removing items from > the collection by

Re: RFR: 8146918: ConcurrentModificationException in MediaPlayer [v2]

2024-04-21 Thread n-gabe
> There is a ConcurrentModificationException in MediaPlayer when removing a > MediaView from it. The root cause is that you can't iterate over a HashSet > with for (WeakReference vref : viewRefs) and removing items from > the collection by viewRefs.remove(vref); within this loop. n-gabe has