This fixes a crash with .NET application running with such locales, for example en-DE. The crash happens early in initialization, due to failure to return preferred UI language, which happens because there is no LCID -> locale name conversion for custom locales. It doesn't affect just preferred language, but also system default language, and other derived values.
--
v2: ntdll: Do not set system locales that resolve to custom-unspecified.
https://gitlab.winehq.org/wine/wine/-/merge_requests/1417
This fixes a crash with .NET application running with such locales, for example en-DE. The crash happens early in initialization, due to failure to return preferred UI language, which happens because there is no LCID -> locale name conversion for custom locales. It doesn't affect just preferred language, but also system default language, and other derived values.
--
https://gitlab.winehq.org/wine/wine/-/merge_requests/1417
This implements some events related to document/window load and unload / visibility changes. The latter is related in that native partially implements it, and only sends it when it is minimized or restored from being minimized, not on navigation or anything else.
The main issue for me is the visibilitychange patch. Since we don't control the container hwnd, and it can even be in another process, there is no way to be notified cleanly when it changes its minimization state. We can't subclass it either, as the tests show, it's not subclassed.
I implemented it now using an internal timer that polls for that, since it was the least invasive and works in all cases, including other process hwnd. Hooks wouldn't be able to do that, and are also more invasive IMO. I'm hoping for better ideas, though.
--
v3: mshtml: Implement pagehide event.
mshtml: Implement unload event.
mshtml: Implement pageshow event.
mshtml: Add visibilitychange event stub.
mshtml: Dispatch Gecko events to the window if there's no node.
mshtml: Do not register Gecko load event handler twice.
mshtml: Allow EVENT_BIND_TO_TARGET to bind to the window.
https://gitlab.winehq.org/wine/wine/-/merge_requests/1373
Currently it's not obvious when the HLSL compiler fails, either due to a missing
feature or incorrectly coded error check, which can unnecessarily complicate
debugging.
It's legal for well-behaved programs to try to compile invalid shaders, but that
should be a rare enough case that it's worth printing it to Wine debug output
regardless.
--
v2: d3dcompiler: Print message output with ERR() in D3DPreprocess().
d3dcompiler: Print message output with ERR() in D3DCompile2().
https://gitlab.winehq.org/wine/wine/-/merge_requests/1340