Commit graph

168434 commits

Author SHA1 Message Date
Jacek Caban d815623bf6 configure: Don't use empty expression in clang check.
Avoids m4_default default action.
2023-11-30 23:12:54 +01:00
Eric Pouech 0c61713bc3 kernelbase: Reset std handles gotten from GetStartupInfo().
The std handles gotten from GetStartupInfo are only set when
process was created with STARTF_USESTDHANDLES flag.
And yes, Ansi and Unicode versions reset the std
handles to a different value.

Signed-off-by: Eric Pouech <epouech@codeweavers.com>
2023-11-30 23:12:54 +01:00
Eric Pouech bf97f9490a ntdll: Restrict cases for std handle inheritance in CreateProcess().
Only allow std handle inheritance when:
- either bInherit flag of CreateProcess is TRUE,
- or child process is in CUI subsystem and STARTF_USESTDHANDLES is no
  used.

Signed-off-by: Eric Pouech <epouech@codeweavers.com>
2023-11-30 23:12:54 +01:00
Eric Pouech 000f7faaa2 kernel32/tests: Add more tests about CreateProcess.
Signed-off-by: Eric Pouech <epouech@codeweavers.com>
2023-11-30 23:12:54 +01:00
Eric Pouech 84079a62db kernel32/tests: Enable CreateProcess() tests on 64bit compilation.
Signed-off-by: Eric Pouech <epouech@codeweavers.com>
2023-11-30 23:12:54 +01:00
Eric Pouech a55598b142 kernel32/tests: Introduce a new infrastructure for testing CreateProcess().
Move a couple of existing tests to this infrastructure.

Signed-off-by: Eric Pouech <epouech@codeweavers.com>
2023-11-30 23:12:54 +01:00
Nikolay Sivov 00057128a3 vbscript: Implement TypeName(Nothing).
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
2023-11-30 23:12:54 +01:00
Alex Henrie abbf0524a4 d3drm: Suppress a use-after-free warning in d3drm_image_palettise (GCC). 2023-11-30 23:12:54 +01:00
Louis Lenders 9a80befba3 shcore: Add stub for CreateRandomAccessStreamOverStream.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=55867
2023-11-30 23:12:54 +01:00
Rémi Bernon de01c2cfb6 winewayland.drv: Implement CAPLOK and SGCAPS in KBDTABLES. 2023-11-30 23:12:54 +01:00
Rémi Bernon 968fc33356 win32u: Support SGCAPS attributes in KBDTABLES. 2023-11-30 23:12:54 +01:00
Rémi Bernon b2d16b9204 winewayland.drv: Add scan2vk tables for azerty, qwertz and dvorak. 2023-11-30 23:12:54 +01:00
Rémi Bernon df4cae2e30 winewayland.drv: Translate Xkb keyboard layouts to KBDTABLES. 2023-11-30 23:12:54 +01:00
Rémi Bernon ed9f1d0715 win32u: Allow KBDTABLES conversion from CTRL + ALT to WCHAR. 2023-11-30 23:12:54 +01:00
Rémi Bernon 027f73fcd5 win32u: Force US layout in ToUnicode when CTRL is pressed.
The host layout behave very differently in that case and we have tests
that check the exact results.
2023-11-30 23:12:54 +01:00
Rémi Bernon ca02df5c3f win32u: Avoid accessing NULL key name string pointer. 2023-11-30 23:12:54 +01:00
Rémi Bernon 7c2ea1632f win32u: Introduce KbdLayerDescriptor user driver entry. 2023-11-30 23:12:54 +01:00
Rémi Bernon d64ea8e4a6 winewayland.drv: Enumerate Xkb layouts and create matching HKL. 2023-11-30 23:12:54 +01:00
Rémi Bernon e8c96e2e55 winewayland.drv: Handle and parse Xkb keymap events. 2023-11-30 23:12:54 +01:00
Hans Leidekker 8f087c4dff bcrypt/tests: Add DH tests. 2023-11-30 23:12:54 +01:00
Hans Leidekker be9f66c62b bcrypt: Add support for duplicating DH keys. 2023-11-30 23:12:54 +01:00
Hans Leidekker 36e1c9380c bcrypt: Add support for importing DH keys. 2023-11-30 23:12:54 +01:00
Hans Leidekker 94d90ceec4 bcrypt: Add support for exporting DH keys. 2023-11-30 23:12:54 +01:00
Hans Leidekker df83abb241 bcrypt: Add support for generating DH keys. 2023-11-30 23:12:54 +01:00
Hans Leidekker 81d71ee0bb bcrypt: Implement BCryptDeriveKey(). 2023-11-30 23:12:54 +01:00
Hans Leidekker cfa655c4a3 bcrypt: Implement BCryptSecretAgreement() and BCryptDestroySecret().
This series depends on secret agreement APIs added in GnuTLS 3.8.2.

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=49543
2023-11-30 23:12:54 +01:00
Rémi Bernon 6602093404 winevulkan: Fix python linter warnings. 2023-11-30 23:12:54 +01:00
Rémi Bernon ac84b8f0b4 winevulkan: Drop the WINEVULKAN_QUIRK_IGNORE_EXPLICIT_LAYERS quirk.
It's not set anywhere.
2023-11-30 23:12:54 +01:00
Rémi Bernon bfb5064f50 winevulkan: Search for debug report callback from the start of the chain. 2023-11-30 23:12:54 +01:00
Rémi Bernon 29e5b682c8 winevulkan: Use a local instance variable instead of phys_dev->instance. 2023-11-30 23:12:54 +01:00
Piotr Caban 4446db72eb gdi32: Add ETO_PDY flag support in EMFDC_ExtTextOut. 2023-11-30 23:12:54 +01:00
Alexandre Julliard 0690851c9b ntdll: Add a machine frame to the KiUserCallbackDispatcher stack on x86-64. 2023-11-30 23:12:54 +01:00
Alexandre Julliard 8b24139fa7 ntdll: Add a machine frame to the KiUserApcDispatcher stack on x86-64. 2023-11-30 23:12:54 +01:00
Alexandre Julliard 061c612b5e ntdll: Add a machine frame to the KiUserExceptionDispatcher stack on x86-64. 2023-11-30 23:12:54 +01:00
Alexandre Julliard 8164c7087f ntdll/tests: Simplify the KiUserExceptionDispatcher tests a little. 2023-11-30 23:12:54 +01:00
Alexandre Julliard 93a3a6c03f ntdll: Allow unwind rules to override the default stack pointer assignment. 2023-11-30 23:12:54 +01:00
Alexandre Julliard 334f54c255 ntdll: Call Wow64PrepareForException directly from KiUserExceptionDispatcher.
This requires moving the stack switch to Wow64PrepareForException.

Based on a patch by Paul Gofman.
2023-11-30 23:12:43 +01:00
Piotr Caban ae32b2f452 msvcrt: Initialize writable environment block in env_set. 2023-11-30 17:53:01 +01:00
Piotr Caban 4843daaee1 wineps.drv: Fix EMR_SAVEDC record playback.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=55927
2023-11-30 11:08:47 +01:00
Piotr Caban ccbf1d25b6 wineps.drv: Return error when visible rectangle is empty in get_vis_rectangles.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=55950
2023-11-30 11:08:47 +01:00
Nikolay Sivov 95c87562f8 gdi32/emf: Pad EMREXTESCAPE record data. 2023-11-30 10:23:26 +01:00
Nikolay Sivov 8de0e3914d wineps: Use public definition for EMREXTESCAPE record. 2023-11-30 10:23:25 +01:00
Nikolay Sivov ba454b239f gdi32/emf: Use public definition for EMREXTESCAPE record. 2023-11-30 10:23:24 +01:00
Nikolay Sivov 7c479e797f gdi32/emf: Align and pad bitmap data in EMRSETDIBITSTODEVICE records. 2023-11-30 10:23:23 +01:00
Nikolay Sivov e63b00b1ad gdi32/emf: Align and pad bitmap data in EMRSTRETCHDIBITS records. 2023-11-30 10:23:22 +01:00
Nikolay Sivov 169a23a140 gdi32/emf: Add description field padding. 2023-11-30 10:23:20 +01:00
Nikolay Sivov 4fac4588bb gdi32/emf: Check for allocation failure in GdiComment(). 2023-11-30 10:23:19 +01:00
Nikolay Sivov 47a939e2ad gdi32/emf: Use padding helper in GdiComment(). 2023-11-30 10:23:18 +01:00
Nikolay Sivov 30be905972 gdi32/emf: Add a helper to pad variable length record data. 2023-11-30 10:23:16 +01:00
Aida Jonikienė 9cfb95964b wined3d: Add extra debug info to shader_set_limits().
This should help understand some virgl/ChromeOS-specific WineD3D
behavior better.
2023-11-30 10:22:33 +01:00