When a process is made a system process, `release_thread_desktop( thread, 0 )` is called and we remove the process threads from their desktop thread list, as well as decrementing the desktop user count. Later, when the process gets killed on shutdown, `release_thread_desktop( thread, 1 )` is called, and we remove the thread list node again.
This is 1) wrong, we only want to decrement the desktop user count in this case, and 2) causes an invalid write and corrupts the list the second time we remove the entry.
--
https://gitlab.winehq.org/wine/wine/-/merge_requests/5375
First part of Proton shared memory series. The full branch can be seen at https://gitlab.winehq.org/rbernon/wine/-/commits/mr/shared-memories.
--
v27: win32u: Use the desktop shared data for GetCursorPos.
server: Move the last cursor time to the desktop session object.
server: Move the cursor position to the desktop session object.
win32u: Open desktop shared objects from session mapping.
server: Return the desktop object info in get_thread_desktop.
server: Allocate shared session object for desktops.
win32u: Open the global session shared mapping.
include: Add ReadNoFence64 inline helpers.
server: Create a global session shared mapping.
https://gitlab.winehq.org/wine/wine/-/merge_requests/3103
I've tried implementing this before but importing user32 from ntdll isn't a reliable
thing (so I recently rewrote it using the ntdll equivalents of LoadLibrary() and GetProcAddress())
Note: This is a weird way to implement this function (Windows implements this
in ntdll instead) but that would probably require a user32/ntdll rewrite (so this
is the next best tning to get the application working)
--
v3: ntdll: Implement NtdllDefWindowProc_A().
https://gitlab.winehq.org/wine/wine/-/merge_requests/5236
This series:
- add a couple of commands to winedbg to ease scripting
(mainly reload a minidump from parser, run a debuggee with
arguments...).
- a couple of quick fixes (updating CPU info displayed on reload)
and detecting reloading a minidump for a different machine.
WOW64 support in minidump (dbghelp & winedbg) will require quite
some work.
--
https://gitlab.winehq.org/wine/wine/-/merge_requests/5374
Presently the wine file explorer has a create shortcut entry that does nothing. This implements the FCIDM_SHVIEW_CREATELINK command.
This is a patch that was first submitted in 2017 and I unfortunately let the revision request fall unimplemented.
--
https://gitlab.winehq.org/wine/wine/-/merge_requests/5373
I missed that Zhiyi was out so I've just reordered this, calling __wine_get_vulkan_driver from winex11 d3dkmt instead.
--
v2: win32u: Move vkGet(Device|Instance)ProcAddr helpers inline.
winevulkan: Stop generating the wine/vulkan_driver.h header.
win32u: Move vkGet(Instance|Device)ProcAddr out the drivers.
win32u: Move vulkan init guard out of the drivers.
win32u: Introduce new win32u vulkan function table.
https://gitlab.winehq.org/wine/wine/-/merge_requests/5365