Commit graph

171540 commits

Author SHA1 Message Date
Rémi Bernon 2c4db92151 win32u: Use the vulkan functions directly from d3dkmt. 2024-06-18 21:17:11 +02:00
Connor McAdams 1215ee0241 d3dx9: Add support for specifying which mip level to get pixel data from to d3dx_image_get_pixels().
Signed-off-by: Connor McAdams <cmcadams@codeweavers.com>
2024-06-18 21:17:11 +02:00
Connor McAdams be746bee64 d3dx9: Cleanup texture value argument handling in D3DXCreateTextureFromFileInMemoryEx().
Signed-off-by: Connor McAdams <cmcadams@codeweavers.com>
2024-06-18 21:17:11 +02:00
Connor McAdams 86a87b0403 d3dx9: Add support for specifying a starting mip level when initializing a d3dx_image structure.
Signed-off-by: Connor McAdams <cmcadams@codeweavers.com>
2024-06-18 21:17:11 +02:00
Connor McAdams 8d4024ca7e d3dx9: Use struct volume inside of struct d3dx_image for storing dimensions.
Signed-off-by: Connor McAdams <cmcadams@codeweavers.com>
2024-06-18 21:17:11 +02:00
Connor McAdams f89b00c878 d3dx9: Use d3dx_image structure inside of D3DXCreateTextureFromFileInMemoryEx().
Signed-off-by: Connor McAdams <cmcadams@codeweavers.com>
2024-06-18 21:17:11 +02:00
Connor McAdams fd2861252c d3dx9: Refactor texture creation and cleanup in D3DXCreateTextureFromFileInMemoryEx().
Signed-off-by: Connor McAdams <cmcadams@codeweavers.com>
2024-06-18 21:17:11 +02:00
Connor McAdams acf797f669 d3dx9/tests: Add more tests for loading files with multiple mip levels into textures.
Signed-off-by: Connor McAdams <cmcadams@codeweavers.com>
2024-06-18 21:17:11 +02:00
Connor McAdams 52e71f3e07 d3dx9/tests: Add tests for the source info argument of D3DXCreateTextureFromFileInMemoryEx().
Signed-off-by: Connor McAdams <cmcadams@codeweavers.com>
2024-06-18 21:17:11 +02:00
Rémi Bernon 6cb63e996e kernel32/tests: Break debugger loop on unexpected result.
Avoid infinite loop that sometimes happen on macOS and make the test
spew hundred of thousand of "Test failed" lines.
2024-06-18 21:17:11 +02:00
Rémi Bernon 299490ed7b dwrite/tests: Ignore macOS specific "flip" sbix format. 2024-06-18 21:17:11 +02:00
Daniel Lehman a23b754f06 odbc32: StrLen_or_Ind passed to SQLBindCol can be NULL. 2024-06-18 21:17:11 +02:00
Daniel Lehman 133f14415f odbc32: Numeric attribute pointer may be null if not a numeric type in SQLColAttribute(). 2024-06-18 21:17:11 +02:00
Daniel Lehman f68e91966c odbc32: Handle both directions for SQLBindParameter().
Pointers can be filled after the call to SQLBindParameter() so it needs to be read at SQLExecute().
2024-06-18 21:17:11 +02:00
Alexandre Julliard 9c6fb2b30c kernelbase: Send cross process notifications in FlushInstructionCache on ARM64. 2024-06-18 21:17:11 +02:00
Alexandre Julliard 2c7f4181bc kernelbase: Send cross process notifications in WriteProcessMemory on ARM64. 2024-06-18 21:17:11 +02:00
Alexandre Julliard 6ea77ec086 kernelbase: Make memory writable in WriteProcessMemory if necessary. 2024-06-18 21:17:11 +02:00
Alexandre Julliard b639319830 kernel32/tests: Add some tests for WriteProcessMemory/NtWriteVirtualMemory. 2024-06-18 21:17:11 +02:00
Alexandre Julliard 6eefb42a41 ntdll/tests: Add test for cross-process notifications on ARM64EC. 2024-06-18 21:17:11 +02:00
Alistair Leslie-Hughes 68e8eaa4b7 oledb32: When creating a Data Source, handle non fatal errors.
The Jet4 driver doesn't handle the DBPROP_AUTH_PERSIST_SENSITIVE_AUTHINFO
property which is passed in SetProperties.  On return that property is marked
as DBPROPSTATUS_NOTSUPPORTED and returns DB_S_ERRORSOCCURRED.

In this case, we dont care that isn't not supported and should allow
the DataSource to succeed.
2024-06-18 21:17:11 +02:00
Alistair Leslie-Hughes 43f6ba56d0 oledb32: Support multiple values when parsing the property Mode.
The "Mode" can be a mix of any of the flags.
2024-06-18 21:17:08 +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
Eric Pouech 25a02d894f cmd: Introduce helpers to handle directory walk.
Signed-off-by: Eric Pouech <epouech@codeweavers.com>
2024-06-17 21:50:00 +02:00
Eric Pouech 2b51e5aca0 cmd: Enable '%0' through '%9' as valid FOR loop variables.
Note: there are many other letters than can be used as variable names.

Signed-off-by: Eric Pouech <epouech@codeweavers.com>
2024-06-17 21:49:57 +02:00
Eric Pouech dc7e8da528 cmd: Introduce helpers to save and restore FOR loop contexts.
Signed-off-by: Eric Pouech <epouech@codeweavers.com>
2024-06-17 21:49:55 +02:00
Eric Pouech abcc2a1bc6 cmd: Introduce helpers to handle FOR variables.
This should let the code be agnostic to the supported variables.

Signed-off-by: Eric Pouech <epouech@codeweavers.com>
2024-06-17 21:49:53 +02:00
Eric Pouech 85ca94be7c cmd: Add more tests about FOR loops.
Signed-off-by: Eric Pouech <epouech@codeweavers.com>
2024-06-17 21:49:50 +02:00
Rémi Bernon 1770f48d0f win32u: Fix a deadlock when locking the same surface on different DCs.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=56771
2024-06-17 21:48:28 +02:00
Rémi Bernon 6b1becc3e0 win32u: Avoid setting the SWP_NOSIZE flag on the initial WM_DISPLAYCHANGE.
By initializing the desktop window proc virtual rect cache.

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=56841
2024-06-17 11:17:48 +02:00
Rémi Bernon 1e701a6b37 winewayland: Avoid crashing when the dummy window surface is used.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=56840
2024-06-17 10:23:59 +02:00
Alex Henrie 2821a850d4 ntdll: Double-null-terminate multi-strings when using RTL_QUERY_REGISTRY_DIRECT. 2024-06-17 10:23:31 +02:00
Alex Henrie 0b51dbf7eb ntdll: Fix multi-string callbacks in RtlQueryRegistryValues. 2024-06-17 10:23:31 +02:00
Esme Povirk a11e2bc8c8 user32/tests: Fix spurious "Failed sequence" reports on Windows. 2024-06-17 10:21:48 +02:00
Davide Beatrici 28818e6bd5 winepulse: Don't set a floor for the period(s).
This driver, unlike the others, queries the engine for the actual device period.

The default period floor is not needed anymore because it now lives in mmdevapi.
The minimum period floor never mattered because exclusive mode is not supported.
2024-06-17 10:21:31 +02:00
Davide Beatrici 86ac5f5638 mmdevapi: Set the default period to a minimum of 10 ms. 2024-06-17 10:21:29 +02:00
Alexandre Julliard 63e25f9eda Release 9.11. 2024-06-14 23:30:18 +02:00
Eric Pouech 80342a0c10 conhost: Support IME input in window mode.
Signed-off-by: Eric Pouech <epouech@codeweavers.com>
2024-06-14 13:48:43 +02:00
Eric Pouech b85c6f5bbb conhost: Handle WM_CHAR for window console.
This lets some characters (like diacritics, generated by two keys,
(eg. circumflex-e on a French keyboard layout)) have usable
key-down INPUT_RECORD.

Signed-off-by: Eric Pouech <epouech@codeweavers.com>
2024-06-14 13:48:43 +02:00
Elizabeth Figura 35de72453c ntdll: Move IOCTL_SERIAL_WAIT_ON_MASK to the server.
Tested with a serial pair with a null modem.

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=55947
2024-06-14 13:48:43 +02:00
Brendan McGrath 05c0a50454 ntdll: Treat XDG_SESSION_TYPE as special env variable.
This can be used to incorrectly determine the availability of X graphics.
2024-06-14 13:48:43 +02:00
Alexandre Julliard 9062376bbf ntdll: Move the memory copy Rtl functions to string.c. 2024-06-14 11:50:44 +02:00
Alexandre Julliard b563ff18ce ntdll: Move the PEB lock Rtl functions to env.c. 2024-06-14 11:50:44 +02:00
Alexandre Julliard 30816b0ca0 ntdll: Move the error mode Rtl functions to thread.c. 2024-06-14 11:50:42 +02:00
Alexandre Julliard 94d1bc52c3 ntdll: Move some synchronization Rtl functions to sync.c. 2024-06-14 11:40:59 +02:00
Alexandre Julliard 88414d0c5b ntdll: Move some security Rtl functions to sec.c. 2024-06-14 11:40:12 +02:00
Alex Henrie 54c3f96214 ntdll: Replace the whole string when using RTL_QUERY_REGISTRY_DIRECT. 2024-06-14 11:03:44 +02:00
Alex Henrie 4db02f7619 ntdll: Only allow string default values with RTL_QUERY_REGISTRY_DIRECT. 2024-06-14 11:03:44 +02:00
Alex Henrie eb59c213fb ntdll: Set the string size when using RTL_QUERY_REGISTRY_DIRECT. 2024-06-14 11:03:44 +02:00
Alex Henrie 54991feaae ntdll: Don't accept a query routine when using RTL_QUERY_REGISTRY_DIRECT. 2024-06-14 11:03:44 +02:00