https://bugs.winehq.org/show_bug.cgi?id=49998
Bug ID: 49998 Summary: widl doesn't support winrt types (runtimeclass, delegate, parameterized types, ...) Product: Wine Version: 5.19 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: rbernon@codeweavers.com Distribution: ---
Created attachment 68403 --> https://bugs.winehq.org/attachment.cgi?id=68403 PoC implementation of WinRT subset in widl
In winrt mode (using --winrt or #pragma winrt), widl is unable to parse several winrt-specific keywords and generate the corresponding interface headers.
I'm opening this bug mainly to provide my implementation (attached) as a proof of concept, and so that it can then be tested more extensively, helping it go upstream eventually.
I'll also attach updated series for the few WinRT stub dlls in staging, re-implemented using idl files thanks to the new support in widl.
https://bugs.winehq.org/show_bug.cgi?id=49998
--- Comment #1 from Rémi Bernon rbernon@codeweavers.com --- Created attachment 68404 --> https://bugs.winehq.org/attachment.cgi?id=68404 windows.media.speech.dll stub dll re-implemented using idl
(This stub should now be first, and it uses windows.media.speechsynthesis.idl that was introduced for illustration in the widl changes)
https://bugs.winehq.org/show_bug.cgi?id=49998
--- Comment #2 from Rémi Bernon rbernon@codeweavers.com --- Created attachment 68405 --> https://bugs.winehq.org/attachment.cgi?id=68405 windows.gaming.input.dll stub dll re-implemented using idl
https://bugs.winehq.org/show_bug.cgi?id=49998
--- Comment #3 from Rémi Bernon rbernon@codeweavers.com --- Created attachment 68406 --> https://bugs.winehq.org/attachment.cgi?id=68406 windows.globalization.dll stub dll re-implemented using idl
https://bugs.winehq.org/show_bug.cgi?id=49998
Rémi Bernon rbernon@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |leslie_alistair@hotmail.com | |, z.figura12@gmail.com
https://bugs.winehq.org/show_bug.cgi?id=49998
Rémi Bernon rbernon@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #68403|0 |1 is obsolete| |
--- Comment #4 from Rémi Bernon rbernon@codeweavers.com --- Created attachment 68745 --> https://bugs.winehq.org/attachment.cgi?id=68745 PoC implementation of WinRT subset in widl for 447924a6d68
Attaching the widl patch series rebased over 447924a6d68.
https://bugs.winehq.org/show_bug.cgi?id=49998
Rémi Bernon rbernon@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #68745|0 |1 is obsolete| |
--- Comment #5 from Rémi Bernon rbernon@codeweavers.com --- Created attachment 68933 --> https://bugs.winehq.org/attachment.cgi?id=68933 PoC implementation of WinRT subset in widl for 6.0-rc2
Updating the WIDL patch series with a few fixes reported by Steve Lhomme, thanks Steve!
https://bugs.winehq.org/show_bug.cgi?id=49998
Steve Lhomme robux4+wine@ycbcr.xyz changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |robux4+wine@ycbcr.xyz
https://bugs.winehq.org/show_bug.cgi?id=49998
Rémi Bernon rbernon@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #68933|0 |1 is obsolete| |
--- Comment #6 from Rémi Bernon rbernon@codeweavers.com --- Created attachment 69312 --> https://bugs.winehq.org/attachment.cgi?id=69312 PoC implementation of WinRT subset in widl
Update of the series for dd417540bb3afb3aa5a04a007eea9a7ee347655b.
https://bugs.winehq.org/show_bug.cgi?id=49998
Esdras Tarsis esdrastarsis@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |esdrastarsis@gmail.com
https://bugs.winehq.org/show_bug.cgi?id=49998
Nikolay Sivov bunglehead@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Component|-unknown |tools
https://bugs.winehq.org/show_bug.cgi?id=49998
Rémi Bernon rbernon@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #69312|0 |1 is obsolete| |
--- Comment #7 from Rémi Bernon rbernon@codeweavers.com --- Created attachment 69421 --> https://bugs.winehq.org/attachment.cgi?id=69421 PoC implementation of WinRT subset in widl
Update of the series for c6a3072051fb88edd3847c750c2ec852f11870f6.
https://bugs.winehq.org/show_bug.cgi?id=49998
Rémi Bernon rbernon@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |FIXED Status|UNCONFIRMED |RESOLVED Fixed by SHA1| |0f972e2247932f255f131792724 | |e4796b4b2b87a
--- Comment #8 from Rémi Bernon rbernon@codeweavers.com --- I think this can be considered as fixed as of Wine 6.3. All the required features have been upstreamed and WIDL can be used to write WinRT IDL and implement WinRT dlls from it. I'll attach updated patches for the three stub DLLs that live in wine staging.
https://bugs.winehq.org/show_bug.cgi?id=49998
Rémi Bernon rbernon@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #68404|0 |1 is obsolete| |
--- Comment #9 from Rémi Bernon rbernon@codeweavers.com --- Created attachment 69482 --> https://bugs.winehq.org/attachment.cgi?id=69482 windows.media.speech.dll stub (#1 series)
https://bugs.winehq.org/show_bug.cgi?id=49998
Rémi Bernon rbernon@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #68405|0 |1 is obsolete| |
--- Comment #10 from Rémi Bernon rbernon@codeweavers.com --- Created attachment 69483 --> https://bugs.winehq.org/attachment.cgi?id=69483 windows.gaming.input.dll stub (#2 series)
https://bugs.winehq.org/show_bug.cgi?id=49998
Rémi Bernon rbernon@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #68406|0 |1 is obsolete| |
--- Comment #11 from Rémi Bernon rbernon@codeweavers.com --- Created attachment 69484 --> https://bugs.winehq.org/attachment.cgi?id=69484 windows.globalization.dll stub (#3 series)
https://bugs.winehq.org/show_bug.cgi?id=49998
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #12 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 6.4.
https://bugs.winehq.org/show_bug.cgi?id=49998
Michael Stefaniuc mstefani@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1|0f972e2247932f255f131792724 | |e4796b4b2b87a | CC| |mstefani@winehq.org
--- Comment #13 from Michael Stefaniuc mstefani@winehq.org --- Removing the "Fixed by SHA1" 0f972e2247932f255f131792724e4796b4b2b87a as that's for the wine-6.3 commit itself. And that commit definitely didn't fix this bug.