1
0
mirror of https://github.com/wine-mirror/wine synced 2024-06-29 06:14:34 +00:00
Commit Graph

171765 Commits

Author SHA1 Message Date
Eric Pouech
2f5456316c cmd: Move depth count inside builder.
(and temporarly using parenthesis count to store curDepth).

Signed-off-by: Eric Pouech <epouech@codeweavers.com>
2024-06-24 13:24:06 +02:00
Eric Pouech
fc4b9c645a cmd: Fix a couple of issues wrt. variable expansion.
Ensure expansion at parse time is only done once.
Simply handleExpansion() code.

Signed-off-by: Eric Pouech <epouech@codeweavers.com>
2024-06-24 13:24:05 +02:00
Eric Pouech
3a8aad4834 cmd: Move prompt handling into line reading.
Signed-off-by: Eric Pouech <epouech@codeweavers.com>
2024-06-24 13:24:04 +02:00
Eric Pouech
f45588c57f cmd: Remove unrelated parameter to WCMD_show_prompt.
Signed-off-by: Eric Pouech <epouech@codeweavers.com>
2024-06-24 13:24:03 +02:00
Eric Pouech
8ad0923515 cmd: Factorize code for reading a new line for parser.
Signed-off-by: Eric Pouech <epouech@codeweavers.com>
2024-06-24 13:24:02 +02:00
Davide Beatrici
b34b5d84a6 mmdevapi: Implement IAudioClient3_GetCurrentSharedModeEnginePeriod. 2024-06-24 13:23:31 +02:00
Davide Beatrici
235d527fa5 mmdevapi: Complete IAudioClient3_GetSharedModeEnginePeriod. 2024-06-24 13:23:31 +02:00
Davide Beatrici
9d046996cb mmdevapi: Complete IAudioClient3_InitializeSharedAudioStream. 2024-06-24 13:23:31 +02:00
Davide Beatrici
73a501ab46 mmdevapi: Introduce helper stream_init(). 2024-06-24 13:23:31 +02:00
Davide Beatrici
5dcb879df1 mmdevapi: Return errors early in adjust_timing(). 2024-06-24 13:23:31 +02:00
Alex Henrie
7053e0f641 ntdll: Don't special-case default values in RtlQueryRegistryValues.
Additional tests reveal that RTL_QUERY_REGISTRY_DIRECT does work with
non-string default values, it just requires a pointer to the value and
it doesn't infer the size automatically. That means that the same code
can be used to handle both default and non-default values.
2024-06-24 13:23:19 +02:00
Aida Jonikienė
5eafe53e54 ntdll: Fix params_mask type in NtRaiseHardError().
Real-world app testing reveals that parameter isn't used as a
pointer (so change it to an integer).
2024-06-24 13:22:53 +02:00
Elizabeth Figura
0db0f6180d ntdll: Use file_complete_async() in NtFsControlFile(). 2024-06-24 13:19:57 +02:00
Elizabeth Figura
0a42bd290d ntdll: Use file_complete_async() in serial_DeviceIoControl().
Thereby also handling completion and APCs.
2024-06-24 13:19:56 +02:00
Elizabeth Figura
c133f14fe6 ntdll: Use file_complete_async() in cdrom_DeviceIoControl().
Thereby also handling completion and APCs.
2024-06-24 13:19:54 +02:00
Elizabeth Figura
d140164d76 ntdll: Use file_complete_async() in tape_DeviceIoControl().
Thereby also handling completion and APCs.
2024-06-24 13:19:52 +02:00
Elizabeth Figura
7e3293107f ntdll: Move complete_async() to file.c and use it in NtWriteFileGather(). 2024-06-24 13:19:52 +02:00
Elizabeth Figura
8fee7e8b7c ntdll: Do not queue an IOCP packet in complete_async() if an APC routine is specified. 2024-06-24 13:19:52 +02:00
Vijay Kiran Kamuju
2a6e7ab4ed ntdll: Add stub RtlNumberGenericTableElementsAvl function.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=56839
2024-06-24 13:19:21 +02:00
Vijay Kiran Kamuju
1d58a4674c ntdll: Add stub RtlEnumerateGenericTableWithoutSplayingAvl function.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=56839
2024-06-24 13:19:19 +02:00
Vijay Kiran Kamuju
32e2ede0df ntdll: Fix RtlEnumerateGenericTableWithoutSplaying function parameters. 2024-06-24 13:19:17 +02:00
Fabian Maurer
6c5d17af07 wow64: In wow64_NtSetInformationToken forward TokenIntegrityLevel.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=56725
2024-06-21 22:59:40 +02:00
Piotr Caban
08c0978f0b kernel32/tests: Test GetFileMUIInfo on language resource file. 2024-06-21 22:59:40 +02:00
Piotr Caban
fe6af4fb9e kernel32/tests: Add GetFileMUIInfo tests. 2024-06-21 22:59:40 +02:00
Piotr Caban
f477eca789 kernelbase: Add GetFileMUIInfo implementation. 2024-06-21 22:59:40 +02:00
Alistair Leslie-Hughes
4aab3e42c1 odbccp32: SQLConfigDataSource/W fix crash with passed NULL attribute parameter. 2024-06-21 22:59:40 +02:00
Alistair Leslie-Hughes
6dca99a713 odbccp32: Look at the Setup key to find the driver of ODBC config functions.
We need to look at the Setup key for the driver, as it can be different
compare to the actually driver.

For example, mysql uses the same Setup file to configure both the Ascii/Unicode
vession but has a different file for the actual ODBC functions.
2024-06-21 22:59:40 +02:00
Eric Pouech
bd36ac98c0 cmd: Expand delayed variables in IF operands.
Signed-off-by: Eric Pouech <epouech@codeweavers.com>
2024-06-21 22:59:40 +02:00
Eric Pouech
01d0027739 cmd/tests: Add tests for delayed substitution in IF command.
Signed-off-by: Eric Pouech <epouech@codeweavers.com>
2024-06-21 22:59:40 +02:00
Eric Pouech
411cce36b1 cmd: Introduce return code to indicate abort of current instruction.
Use that return code for WCMD_exit() and WCMD_goto().

Signed-off-by: Eric Pouech <epouech@codeweavers.com>
2024-06-21 22:59:40 +02:00
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