Commit graph

171585 commits

Author SHA1 Message Date
Eric Pouech 844d6b553a cmd: Use kernel32's error codes instead of literals.
Signed-off-by: Eric Pouech <epouech@codeweavers.com>
2024-06-21 22:59:40 +02:00
Eric Pouech 2ec70835fc cmd: Introduce token-based syntax parser for building command nodes.
Signed-off-by: Eric Pouech <epouech@codeweavers.com>
2024-06-21 22:59:40 +02:00
Rémi Bernon 9a7408e771 win32u: Use the shared data if possible for NtUserGetAsyncKeyState.
Based on a patch by Huw Davies.
2024-06-21 22:59:39 +02:00
Rémi Bernon 2eeb4d5192 server: Move the desktop keystate to shared memory.
Based on a patch by Huw Davies.
2024-06-21 22:59:39 +02:00
Rémi Bernon d5b4458c8d server: Use separate functions to update the desktop and input keystates.
Based on a patch by Huw Davies.
2024-06-21 22:59:39 +02:00
Rémi Bernon 534aff4a63 server: Use a separate variable to determine the message on Alt release.
Based on a patch by Huw Davies.
2024-06-21 22:59:39 +02:00
Rémi Bernon 5b013260d1 win32u: Use the shared memory for get_clip_cursor. 2024-06-21 22:59:39 +02:00
Rémi Bernon 472ce7fd1d server: Get rid of the global cursor structure.
Based on a patch by Huw Davies.
2024-06-21 22:59:39 +02:00
Rémi Bernon 496f663157 server: Store the cursor clip rect in the shared data.
Based on a patch by Huw Davies.
2024-06-21 22:59:39 +02:00
Rémi Bernon 33a9097bb4 server: Mark block as writable in mark_block_uninitialized.
Before writing to it, it may have been marked as noaccess before
in free_shared_object.
2024-06-21 22:59:39 +02:00
Alex Henrie c77a217d34 ntdll: Fix type and size of expanded strings in RtlQueryRegistryValues. 2024-06-21 22:59:39 +02:00
Alex Henrie 7dad7e87a9 ntdll: Don't write partial strings with RTL_QUERY_REGISTRY_DIRECT.
The new tests revealed only one case where too-small buffers were not
already being handled correctly.
2024-06-21 22:59:39 +02:00
Elizabeth Figura 1dee9881e2 ntdll: Do not fill the IOSB in NtFsControlFile() on failure. 2024-06-21 22:59:39 +02:00
Elizabeth Figura 86be09ac0b ntdll: Do not fill the IOSB or signal completion on failure in tape_DeviceIoControl().
We should never fill the IOSB or signal completion for NT_ERROR conditions.
2024-06-21 22:59:39 +02:00
Elizabeth Figura 98b99b6569 ntdll: Do not fill the IOSB or signal completion on failure in serial_DeviceIoControl().
We should never fill the IOSB or signal completion for NT_ERROR conditions.
2024-06-21 22:59:39 +02:00
Elizabeth Figura 5f76f07bff ntdll: Do not fill the IOSB or signal completion on failure in cdrom_DeviceIoControl().
Synchronous NT_ERROR conditions should not touch the IOSB or signal completion.
2024-06-21 22:59:39 +02:00
Elizabeth Figura 0e928ccaea ntdll: Remove the redundant filling of the IOSB in NtDeviceIoControlFile(). 2024-06-21 22:59:39 +02:00
Alexandre Julliard b2017a48dc ntdll: Move the IP string conversion functions to rtlstr.c. 2024-06-21 22:59:39 +02:00
Alexandre Julliard 0051e102cc ntdll: Move RtlIsProcessorFeaturePresent implementation to the CPU backends. 2024-06-21 22:59:39 +02:00
Alexandre Julliard 7f53949a49 ntdll: Export a proper function for RtlGetNativeSystemInformation.
It will need custom handling on ARM64EC.
2024-06-21 22:59:39 +02:00
Alexandre Julliard 7830153c38 ntdll: Simplify preloader execution using HAVE_WINE_PRELOADER. 2024-06-21 22:59:36 +02:00
Brendan Shanks 7b82f507bd loader: Use zerofill sections instead of preloader on macOS when building with Xcode 15.3.
Xcode 15.3 adds a new linker flag ('-no_huge') which allows the loader
to use zero-fill sections to reserve the areas currently being
reserved by the preloader.

This means the preloader is no longer needed (a good thing, since it's
heavily dependent on private APIs).

The preloader will still be used when Xcode <15.3 is being used, or when
building for i386 (32-bit for 10.14 and earlier).
2024-06-21 17:33:24 +02:00
Brendan Shanks 5da03c7a60 configure: Define HAVE_WINE_PRELOADER when the preloader is being built. 2024-06-21 17:33:24 +02:00
Brendan Shanks 266e95a21b configure: Rename wine_can_build_preloader to wine_use_preloader, and also use it for Linux. 2024-06-21 17:33:24 +02:00
Brendan Shanks 9669cd56f4 configure: Remove warning when not using preloader on macOS. 2024-06-21 17:33:24 +02:00
Brendan Shanks 1f79e7697b configure: Don't build wineloader on macOS with '-pie'.
This is already the default for all Mac binaries targeting 10.7 or
later.
2024-06-21 17:33:24 +02:00
Rémi Bernon f5a739ce62 include: Define frexpf as inline function in more cases. 2024-06-21 14:11:54 +02:00
Rémi Bernon dea96222b4 include: Add a couple of CRT function declarations. 2024-06-21 14:11:54 +02:00
Zhiyi Zhang 53d03fb0a5 kernel32: Add AppPolicyGetWindowingModel(). 2024-06-21 14:11:54 +02:00
Arkadiusz Hiler 5a903c0f1a apisetschema: Add api-ms-win-appmodel-runtime-internal-l1-1-1. 2024-06-21 10:51:08 +02:00
Arkadiusz Hiler 2030973a3f bcp47langs: Add stub dll. 2024-06-21 10:51:08 +02:00
Zhiyi Zhang 2804012993 profapi: Add stub dll. 2024-06-21 10:47:56 +02:00
Biswapriyo Nath 4792d3dd2d include: Add Windows.Graphics.Capture.Direct3D11CaptureFramePool runtimeclass. 2024-06-21 10:47:38 +02:00
Biswapriyo Nath ffe88e3b0d include: Add Windows.Graphics.Capture.Direct3D11CaptureFrame runtimeclass. 2024-06-21 10:47:38 +02:00
Biswapriyo Nath 68b62ecdc9 include: Add Windows.Graphics.Capture.GraphicsCaptureItem runtimeclass. 2024-06-21 10:47:38 +02:00
Biswapriyo Nath 657cc2a9f6 include: Add windows.graphics.idl file. 2024-06-21 10:47:37 +02:00
Biswapriyo Nath 0525a996a4 include: Add Windows.Graphics.Capture.IGraphicsCaptureSession3 definition. 2024-06-21 10:47:37 +02:00
Biswapriyo Nath 9954c6b7fb include: Add Windows.Graphics.Capture.IGraphicsCaptureSession2 definition. 2024-06-21 10:47:35 +02:00
Rémi Bernon 8c64979dcb winex11: Create a global vulkan instance for xrandr. 2024-06-20 23:03:26 +02:00
Rémi Bernon 6e526d19f7 win32u: Remove now unused vulkan_funcs in d3dkmt.c. 2024-06-20 23:03:26 +02:00
Jacek Caban ec17fc4ca3 mshtml: Add support for using apply on builtin function objects.
Based on patch by Gabriel Ivăncescu.
2024-06-20 23:03:26 +02:00
Jacek Caban 7b95b93c42 mshtml: Add support for using call on builtin function objects.
Based on patch by Gabriel Ivăncescu.
2024-06-20 23:03:26 +02:00
Jacek Caban 005e164751 mshtml: Rename builtin function helpers. 2024-06-20 23:03:26 +02:00
Jacek Caban bea627b646 mshtml: Introduce IWineJSDispatchHost interface.
Based on patch by Gabriel Ivăncescu.
2024-06-20 23:03:26 +02:00
Rémi Bernon 81eafa9b78 win32u: Use the desktop shared data for GetCursorPos.
Based on a patch by Huw Davies.
2024-06-20 23:03:26 +02:00
Rémi Bernon 5488d99b3e server: Move the last cursor time to the desktop session object.
Based on a patch by Huw Davies.
2024-06-20 23:03:26 +02:00
Rémi Bernon 728049d6fa server: Move the cursor position to the desktop session object.
Based on a patch by Huw Davies.
2024-06-20 23:03:26 +02:00
Rémi Bernon eb63ac74dc win32u: Open the desktop shared object in NtUserSetThreadDesktop. 2024-06-20 23:03:26 +02:00
Rémi Bernon 20f4c9af0f server: Return the desktop object locator in (get|set)_thread_desktop. 2024-06-20 23:03:26 +02:00
Rémi Bernon 1e10e3a1c0 server: Allocate shared session object for desktops. 2024-06-20 23:03:26 +02:00