Commit graph

157456 commits

Author SHA1 Message Date
Piotr Caban 1c66d05a9c d3dx10: Add D3DX10CreateAsyncTextureInfoProcessor stub.
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-06-01 20:51:58 +02:00
Piotr Caban d3f5b69bdc d3dx10: Try loading the resource as bitmap in D3DX10CreateAsyncResourceLoader.
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-06-01 20:51:58 +02:00
Jacek Caban 8ed990164c winemac: Use unixlib interface for IME calls.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
2022-06-01 20:49:36 +02:00
Jacek Caban 340d1b7a8f winemac: Move wine_notify_icon implementation to dllmain.c.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
2022-06-01 20:49:36 +02:00
Jacek Caban 58e4adf0b9 winemac: Avoid PE calls in systray.c.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
2022-06-01 20:49:36 +02:00
Jacek Caban 1d56578e65 winemac: Move DllMain to separated file.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
2022-06-01 20:49:36 +02:00
Rémi Bernon 834ade753e include: Add touch and pointer input related winuser.h declarations.
Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
2022-06-01 20:49:36 +02:00
Paul Gofman 0d5c6d55bf winex11.drv: Avoid adding duplicate GPUs.
Signed-off-by: Paul Gofman <pgofman@codeweavers.com>
2022-06-01 20:49:36 +02:00
Alexandre Julliard c2a455a20d kernelbase: Fix checks for valid locale in LCMapStringW/Ex.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-06-01 12:46:40 +02:00
Alexandre Julliard 9990dc11df kernelbase: Fix typo in null pointer check.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=53080
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-06-01 10:26:56 +02:00
Eric Pouech 9d72487f21 user32: Enable compilation with long types.
Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-05-31 22:52:45 +02:00
Akihiro Sagawa ee56317d9d winecoreaudio: Handle MIDI running status.
Signed-off-by: Akihiro Sagawa <sagawa.aki@gmail.com>
Signed-off-by: Andrew Eikum <aeikum@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-05-31 22:52:45 +02:00
Jacek Caban 7625e6ba20 win32u: Use user_callbacks for alertable NtWaitForMultipleObjects calls.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=53020
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
2022-05-31 22:52:45 +02:00
Jacek Caban 2d4b85a9f7 winemac: Use ClipboardWindowProc driver entry point for clipboard manager.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
2022-05-31 22:52:45 +02:00
Jacek Caban 6f825503d9 winex11: Use ClipboardWindowProc driver entry point for clipboard manager.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
2022-05-31 22:52:45 +02:00
Jacek Caban d8a74e5cf9 explorer: Create clipboard manager thread when creating a desktop.
Based on winex11.drv. Drivers that don't implement ClipboardWindowProc entry point will disable it by failing to create the window.

Signed-off-by: Jacek Caban <jacek@codeweavers.com>
2022-05-31 22:52:45 +02:00
Jacek Caban 806d85529f win32u: Introduce NtUserClipboardWindowProc.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
2022-05-31 22:52:45 +02:00
Stefan Dösinger b4bf1fb7b2 d3d9/tests: Extend color_fill_test.
So it covers more formats and provokes the clear-to-sysmem path with the
Vulkan renderer.

Signed-off-by: Stefan Dösinger <stefan@codeweavers.com>
2022-05-31 22:52:45 +02:00
Stefan Dösinger 8802059263 wined3d: Store clear colors in subresources.
Signed-off-by: Stefan Dösinger <stefan@codeweavers.com>
2022-05-31 22:52:45 +02:00
Stefan Dösinger 08f8eb2951 wined3d: Handle WINED3DFMT_D32_FLOAT in wined3d_format_convert_from_float.
Signed-off-by: Stefan Dösinger <stefan@codeweavers.com>
2022-05-31 22:52:45 +02:00
Stefan Dösinger 32b4aa7b29 wined3d: Prepare sysmem LOCATION_CLEARED handling for non-zero colors.
Signed-off-by: Stefan Dösinger <stefan@codeweavers.com>
2022-05-31 22:52:45 +02:00
Stefan Dösinger e1386f7b48 wined3d: Add a memory_colour_fill path for clearing the entire level to zero.
Signed-off-by: Stefan Dösinger <stefan@codeweavers.com>
2022-05-31 22:52:45 +02:00
Nikolay Sivov ab70e9c4f4 d2d1: Validate bitmap options against surface description in CreateBitmapFromDxgiSurface().
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
2022-05-31 22:52:45 +02:00
Nikolay Sivov a3273a585a d2d1: Derive bitmap options from surface description in CreateSharedBitmap().
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
2022-05-31 22:52:45 +02:00
Nikolay Sivov 08be8fd5ab d2d1: Derive bitmap options from surface description in CreateBitmapFromDxgiSurface().
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
2022-05-31 22:52:45 +02:00
Nikolay Sivov 828a7aa071 d2d1: Use bitmap options to check if mapping is supported.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
2022-05-31 22:52:45 +02:00
Alex Henrie f185a3acb9 ntoskrnl: Add KeLowerIrql stub.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=53076
Signed-off-by: Alex Henrie <alexhenrie24@gmail.com>
2022-05-31 22:52:44 +02:00
Alex Henrie ddca4eb838 ntoskrnl: Add KfRaiseIrql stub.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=53076
Signed-off-by: Alex Henrie <alexhenrie24@gmail.com>
2022-05-31 22:52:23 +02:00
Rémi Bernon 526fc34a39 ntdll: Remove tail checking on large blocks.
Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
2022-05-31 22:51:34 +02:00
Rémi Bernon 75b78517ce ntdll: Merge common resize case in heap_realloc.
Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
2022-05-31 22:51:34 +02:00
Rémi Bernon 0b4266c7a4 ntdll: Call valgrind alloc notifications at the topmost level.
Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
2022-05-31 22:51:34 +02:00
Rémi Bernon 3f52b3a741 ntdll: Correctly free pending pointer in RtlDestroyHeap.
It's allocated from the heap itself, should be freed even for the main
process heap, and before destroying the CS or notifying valgrind of used
block being freed.

Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
2022-05-31 22:51:34 +02:00
Rémi Bernon e4e8cabf2f ntdll: Split valgrind memory access control to separate helpers.
Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
2022-05-31 22:51:33 +02:00
Rémi Bernon 75f2af284f ntdll: Fix handling of back pointer in heap_set_debug_flags.
Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
2022-05-31 22:51:33 +02:00
Jinoh Kang e2412025b2 ntdll: Properly parse UDF instruction in ARM.
Today, the UDF instruction handler code assumes Thumb mode code, and
cannot recognise the UDF.W form or equivalent instructions in ARM mode
encoding.

Fix this by generalising the UDF instruction parser code.

Signed-off-by: Jinoh Kang <jinoh.kang.kr@gmail.com>
2022-05-31 18:28:07 +02:00
Jinoh Kang c4c9a6951b ntdll: Implement __fastfail().
__fastfail() is used by the Visual C++ runtime and Windows system
libraries to signal that the in-process state is corrupted and
unrecoverable.

If __fastfail() is invoked, the NT kernel raises a second-chance
non-continuable exception STATUS_STACK_BUFFER_OVERRUN.  This quickly
terminates the process, bypassing all in-process exception handlers
(since they all rely on the potentially corrupted process state).

Signed-off-by: Jinoh Kang <jinoh.kang.kr@gmail.com>
2022-05-31 18:28:06 +02:00
Jinoh Kang 7fbe8b8ebf ntdll/tests: Add tests for __fastfail().
Signed-off-by: Jinoh Kang <jinoh.kang.kr@gmail.com>
2022-05-31 11:43:28 +02:00
Jinoh Kang 253a2e2edb include: Define fast fail codes and the __fastfail() intrinsic.
Signed-off-by: Jinoh Kang <jinoh.kang.kr@gmail.com>
2022-05-31 11:43:28 +02:00
Alexandre Julliard 66fb3bf631 make_unicode: Get rid of the old collation table.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-05-31 11:43:28 +02:00
Alexandre Julliard 99cbbb8998 kernelbase: Remove no longer needed case table initialization.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-05-31 11:43:28 +02:00
Alexandre Julliard e613d29450 kernelbase: Reimplement FindNLSStringEx/W using the sortkey generation code.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-05-30 22:40:23 +02:00
Alexandre Julliard d8c973ad95 kernelbase: Reimplement CompareStringEx using the sortkey generation code.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-05-30 22:39:29 +02:00
Jacek Caban 4312d20923 winemac: Use window messages instead of named pipe for macdrv_UpdateClipboard implementation.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
2022-05-30 22:07:43 +02:00
Jacek Caban a0a890b78c winemac: Detect system cursors from cursor module name in copy_system_cursor_name.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
2022-05-30 22:07:43 +02:00
Jacek Caban 5e18d7d823 winex11: Detect system cursors from cursor module name in create_xcursor_system_cursor.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
2022-05-30 22:07:43 +02:00
Jacek Caban ef0cb9157f winemac: Directly use win32u in more places.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
2022-05-30 22:07:43 +02:00
Jacek Caban cdb23964b0 winemac: Directly use ntdll in macdrv_vkQueuePresentKHR.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
2022-05-30 22:07:43 +02:00
Jacek Caban 221fce4c17 winemac: Directly use ntdll in get_lcid.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
2022-05-30 22:07:43 +02:00
Roman Pišl ab44ef14d7 tapi32: Add lineSetDevConfigW stub.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=53061
Signed-off-by: Roman Pišl <rpisl@seznam.cz>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-05-30 22:07:43 +02:00
Roman Pišl 095c1f32af tapi32: Add lineGetIconW stub.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=53061
Signed-off-by: Roman Pišl <rpisl@seznam.cz>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-05-30 22:07:43 +02:00