NtSetEventBoostPriority stub regression fixes for:
https://bugs.winehq.org/show_bug.cgi?id=58688
Regressive commit: ed9f31120b68e7d684c1544c05d94c38b25cb759
Other stubs were also changed by regress commit and may still be broken.
I'll test the other stubs and fix if necessary.
In the meantime I'm submitting this merge for review in case I missed anything that may be needed for the other stub fixes.
--
v3: winegstreamer: Free stream buffers before wg_parser_disconnect.
win32u: Swap the last window drawable if there's no context.
win32u: Use context->draw directly when flushing context.
win32u: Move memory DC pbuffer handling out of context_sync_drawables.
include: Use the client pointer in debugstr_opengl_drawable.
opengl32/tests: Test that window back buffers are shared.
opengl32: Use generated PE thunks for memory unmapping functions.
opengl32: Use generated PE thunks for memory mapping functions.
opengl32: Move copy buffer allocation to Unix lib.
preloader: Make thread_ldt reference position independent.
ntdll: Fix a buffer overflow in wcsncpy.
d3dx11: Implement D3DX11GetImageInfoFromMemory() using shared code.
d3dx11/tests: Import more image info tests from d3dx10.
d3dx11/tests: Add a helper function for checking image info structure values.
d3dx11_42: Don't share source with d3dx11_43.
ntdll: Always use 32-bit LDT base addresses.
ntdll: Add helpers to build some specific LDT entries.
ntdll: Add a helper to update the LDT copy.
ntdll: Move some LDT definitions to the private header.
gitlab: Add CI job to trigger winehq-bot processing.
windows.media.playback.backgroundmediaplayer: Implement IBackgroundMediaPlayerStatics::get_Current().
windows.media.mediacontrol: Stub ISystemMediaTransportControlsDisplayUpdater::put/get_Thumbnail().
windows.media.mediacontrol: Implement ISystemMediaTransportControls::put/get_IsStopEnabled().
windows.media.mediacontrol: Stub ISystemMediaTransportControlsDisplayUpdater::ClearAll().
windows.media.mediacontrol: Stub ISystemMediaTransportControls::add/remove_ButtonPressed().
This merge request has too many patches to be relayed via email.
Please visit the URL below to see the contents of the merge request.
https://gitlab.winehq.org/wine/wine/-/merge_requests/8955
NtSetEventBoostPriority stub regression fixes for:
https://bugs.winehq.org/show_bug.cgi?id=58688
Regressive commit: ed9f31120b68e7d684c1544c05d94c38b25cb759
Other stubs were also changed by regress commit and may still be broken.
I'll test the other stubs and fix if necessary.
In the meantime I'm submitting this merge for review in case I missed anything that may be needed for the other stub fixes.
--
v2: ntdll: wow64_NtSetEventBoostPriority call ntdll/unix/sync.c::NtSetEventBoostPriority
https://gitlab.winehq.org/wine/wine/-/merge_requests/8955
When running `SymInitializeW(GetCurrentProcess(), NULL, TRUE)` in a 32-bit EXE on 64-bit macOS, there are a number of syscall faults resulting from 64-bit pointers being truncated to 32 bits and then passed to `ReadProcessMemory()`. Fix these, mostly by widening variables to 64 bits.
--
https://gitlab.winehq.org/wine/wine/-/merge_requests/8962
--
v3: win32u: Read class name from the shared memory object.
server: Keep a class object locator in the window shared object.
win32u: Use NtUserGetClass(Long|Name)W in needs_ime_window.
server: Write class name to the shared memory object.
server: Create a shared object for window classes.
https://gitlab.winehq.org/wine/wine/-/merge_requests/8850
--
v2: win32u: Don't store the window OpenGL drawables on the DCs.
win32u: Keep a separate pointer for unused opengl drawable.
win32u: Rename window opengl drawable to current_drawable.
win32u: Introduce an context_exchange_drawables helper.
https://gitlab.winehq.org/wine/wine/-/merge_requests/8958
This now accounts for system suspend periods on Linux, similar to how native win32 ticks work.
On macOS `mach_continuous_time` already does so.
~~On BSDs (and other POSIX compliant operating systems) `CLOCK_MONOTONIC` likewise includes suspend time. However they also provide a `CLOCK_BOOTTIME`, which does *not* include suspend time, hence the added `__linux__` check there.~~
See https://lkml.org/lkml/2020/5/8/1707
--
v2: ntdll: Switch to CLOCK_BOOTTIME for monotonic counters when available.
https://gitlab.winehq.org/wine/wine/-/merge_requests/8916
If multiple threads are creating and releasing the factory, these
accesses are racy and can result in callers of
DXCoreCreateAdapterFactory getting a null pointer or a pointer to
freed memory.
--
v2: dxcore: Use a static structure for the adapter factory.
https://gitlab.winehq.org/wine/wine/-/merge_requests/8949
This fixes Trials Fusion often crashing when disconnecting a controller while there are more still connected.
--
v16: ntoskrnl/tests: Use the 'Nt' version of the CancelIo APIs.
ntoskrnl/tests: Test the thread ID the cancellation routine runs from.
ntoskrnl/tests: Add more cancellation tests.
ntoskrnl/tests: Fix tests on current Windows 10 / 11.
https://gitlab.winehq.org/wine/wine/-/merge_requests/7797
This now accounts for system suspend periods on Linux, similar to how native win32 ticks work.
On macOS `mach_continuous_time` already does so.
On BSDs (and other POSIX compliant operating systems) `CLOCK_MONOTONIC` likewise includes suspend time. However they also provide a `CLOCK_BOOTTIME`, which does *not* include suspend time, hence the added `__linux__` check there.
See https://lkml.org/lkml/2020/5/8/1707
--
https://gitlab.winehq.org/wine/wine/-/merge_requests/8916