Commit graph

17057 commits

Author SHA1 Message Date
Alexandre Julliard 6ea77ec086 kernelbase: Make memory writable in WriteProcessMemory if necessary. 2024-06-18 21:17:11 +02:00
Elizabeth Figura aa0ab31571 server: Directly wake up wait asyncs when the serial mask changes. 2024-06-18 10:47:22 +02:00
Elizabeth Figura 6b7834d407 server: Check for an existing serial wait ioctl within the ioctl handler. 2024-06-18 10:47:19 +02:00
Rémi Bernon 6eac284201 win32u: Move WM_WINE_DESKTOP_RESIZED into driver internal messages range.
It is otherwise ignored and not passed to the drivers WindowMessage callback.

Fixes: b89c9c60d5
2024-06-13 21:07:54 +02:00
Rémi Bernon 71ff81bc2b win32u: Split WindowPosChanging driver call to a separate CreateWindowSurface. 2024-06-13 21:07:54 +02:00
Rémi Bernon fe7e94d58c win32u: Remove unused insert_after WindowPosChanging parameter. 2024-06-13 21:07:54 +02:00
Lucas Chollet 0440cb4b02 dnsapi: Add a stub for DnsServiceBrowse.
This is needed by Moku (software for scientific instrument).

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=56828
2024-06-13 10:55:22 +02:00
Shengdun Wang 1163e39937 ucrtbase: Fix FILE _flag values. 2024-06-12 21:06:06 +02:00
Piotr Caban fc8121d05f ucrtbase: Fix _iobuf struct layout. 2024-06-12 20:54:27 +02:00
Zebediah Figura be427c312b server: Generalize get_directory_entries to single_entry case. 2024-06-11 16:51:27 +02:00
Zebediah Figura af4f252ac4 ntdll: Implement reading multiple entries in NtQueryDirectoryObject.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=52585
2024-06-11 16:51:27 +02:00
Alexandre Julliard edce2ef692 ntdll: Remove some unnecessary asm macros on ARM plaforms. 2024-06-11 10:30:19 +02:00
Rémi Bernon 8ba51a6f71 win32u: Call NtUserMapWindowPoints with per-monitor DPI from the drivers. 2024-06-10 22:47:00 +02:00
Alexandros Frantzis 37e7038c5c server: Implement key auto-repeat request. 2024-06-07 21:00:10 +02:00
Rémi Bernon bb772c2f3e include: Add and fix some WGL prototypes. 2024-06-07 20:56:56 +02:00
Rémi Bernon 979d36969c win32u: Pass the rect DPI to NtUserIsWindowRectFullScreen. 2024-06-06 10:40:40 +02:00
Rémi Bernon 64639c93c8 win32u: Pass desired DPI to NtUserGet(Client|Window)Rect. 2024-06-06 10:40:40 +02:00
Rémi Bernon 9afb3057af win32u: Introduce NtUserAdjustWindowRect call for AdjustWindowRect*. 2024-06-06 10:40:39 +02:00
Rémi Bernon 9e9d2d43c1 win32u: Introduce new helpers to convert server rectangle_t. 2024-06-06 10:40:37 +02:00
Rémi Bernon 83a143efe0 win32u: Move UpdateLayeredWindow implementation out of the drivers. 2024-06-05 16:38:25 +02:00
Rémi Bernon 091883d4b6 win32u: Introduce a new CreateLayeredWindow driver entry. 2024-06-05 16:38:25 +02:00
Rémi Bernon 6b8cdda502 gdi32: Use an internal NtUser call for D3DKMTOpenAdapterFromGdiDisplayName.
Fixes a deadlock with display_device_init mutex and display_lock when
trying to open the D3DKMT adapter while holding the mutex in the caller.

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=56764
2024-06-05 15:58:26 +02:00
Rémi Bernon b89c9c60d5 win32u: Move desktop resize on WM_DISPLAYCHANGE out of the drivers. 2024-06-04 22:25:12 +02:00
Rémi Bernon 0a2ae3c41d win32u: Send display change messages when host display mode changes.
Similarly to when it is changed from an application call, but avoid
broadcasting WM_DISPLAYCHANGE to all windows when called from the
drivers, as we may have done it already.
2024-06-04 22:25:09 +02:00
Rémi Bernon 09b9c1b5fe win32u: Restore surface rect, which may offsetted from the window rect.
Some drivers only create surfaces over the visible part of the window,
and the surface rect has an offset.

Fixes a regression from 5d0efbcc6e, which
causes XSHM errors with partially offscreen windows.
2024-06-04 22:22:01 +02:00
Elizabeth Figura 325c365786 include: Add more types to windows.networking.connectivity.idl.
Based on a patch by Alistair Leslie-Hughes.
2024-06-04 09:49:45 +02:00
Rémi Bernon b6abacbb7b win32u: Create a HBITMAP backing the window surface pixels. 2024-06-03 23:25:00 +02:00
Rémi Bernon 444436abfd win32u: Pass BITMAPINFO and a HBITMAP to window_surface_init. 2024-06-03 23:24:59 +02:00
Rémi Bernon 3c7dc5f132 win32u: Move the window surface color bits to the common struct. 2024-06-03 23:24:59 +02:00
Mohamad Al-Jaf 05ff16ebb6 include: Add dispatcherqueue.idl file. 2024-06-03 23:24:59 +02:00
Eric Pouech 0327b00d10 winedump: Dump correct handle information for minidump.
Signed-off-by: Eric Pouech <epouech@codeweavers.com>
2024-05-31 19:04:23 +02:00
Alistair Leslie-Hughes 6f927b9e93 include: Add missing TreeView_* defines. 2024-05-31 11:26:37 +02:00
Alistair Leslie-Hughes b6eada5e2f include: Correct IRowsetNotify HROW parameter type. 2024-05-30 19:55:57 +02:00
Alistair Leslie-Hughes 447f817445 include: Add IPreviewHandler* interfaces. 2024-05-30 19:55:55 +02:00
Alistair Leslie-Hughes 4aed0ef880 include: Add LOGFONTA/W typedef in shtypes.idl. 2024-05-30 19:55:48 +02:00
Rémi Bernon 8d587a47eb win32u: Use a helper to set the window surface clipping, within the lock. 2024-05-30 19:53:21 +02:00
Rémi Bernon 7cdf20267c server: Merge get_surface_region / get_window_region requests together. 2024-05-30 19:53:21 +02:00
Rémi Bernon d2ad7c9374 win32u: Initialize window surfaces with a hwnd. 2024-05-30 19:52:59 +02:00
Vijay Kiran Kamuju 349c2275d4 ntdll: Add stub RtlLookupGenericTableAvl function.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=56736
2024-05-30 13:26:17 +02:00
Rémi Bernon 5d0efbcc6e win32u: Use a helper to flush window surface, factor locking and bounds reset. 2024-05-29 22:37:32 +02:00
Rémi Bernon 370966f51b win32u: Move window surface bounds to the window_surface base struct. 2024-05-29 22:27:39 +02:00
Rémi Bernon 1565d529ba win32u: Use helpers to lock/unlock window surfaces. 2024-05-29 22:27:39 +02:00
Rémi Bernon 00aec714dd win32u: Move the window surface mutex to the surface header. 2024-05-29 22:27:39 +02:00
Rémi Bernon ac63239cc0 win32u: Introduce a new window_surface_init helper. 2024-05-29 22:27:38 +02:00
Rémi Bernon a3b22d3bf7 win32u: Only keep DPI awareness context with window objects. 2024-05-28 20:45:11 +02:00
Rémi Bernon 37252fd505 win32u: Fix SetThreadDpiAwarenessContext. 2024-05-28 20:44:39 +02:00
Rémi Bernon dc05a4499e win32u: Pass the DPI awareness context in win_proc_params. 2024-05-28 20:44:39 +02:00
Rémi Bernon cda7027bc8 win32u: Get the thread DPI context instead of the awareness. 2024-05-28 20:44:39 +02:00
Rémi Bernon b3bec339d7 win32u: Use NtGdiDdDDICreateDCFromMemory for gdi16 DIBDRV.
Instead of a custom dib_window_surface.
2024-05-27 22:59:21 +02:00
Rémi Bernon b6223da118 win32u: Return UINT from NtUserGetWindowDpiAwarenessContext. 2024-05-27 22:59:21 +02:00