Commit graph

171627 commits

Author SHA1 Message Date
Torge Matthies 9dd9c455d3 winegstreamer: Handle Gstreamer pipeline flushes gracefully in the media source.
If a GST_EVENT_FLUSH_START event is received between the calls from PE code to wg_parser_stream_get_buffer
and wg_parser_stream_copy_buffer, the latter function will return an error, resulting in the sample request being
dropped without having delivered a sample.

If wg_parser_stream_copy_buffer returns an error, retry the whole wait_on_sample procedure.

Flushes can be triggered by seek operations.
2024-06-24 17:13:05 +02:00
Torge Matthies 62d8d3415c winegstreamer: Ignore an assert in wg_parser.
This gets hit when a wg_parser receives GST_EVENT_FLUSH_START between the wg_parser_stream_get_buffer function return
and the wg_parser_stream_release_buffer call. In this case the NULL buffer can be ignored, it does no harm and there
is no memory leak from this.
2024-06-24 17:13:05 +02:00
Torge Matthies 215478fc46 winegstreamer: Don't only accept segment events when streams are enabled.
I don't know why this was done previously but this just creates a race condition, with no to me apparent benefit.
2024-06-24 17:13:05 +02:00
Torge Matthies 490d8ed663 winegstreamer: Fix race between wg_parser_stream_en/disable and GST_EVENT_FLUSH_START/STOP. 2024-06-24 17:13:05 +02:00
Alexandre Julliard 7c0aa6fd8c makefiles: Generate rules to build makedep. 2024-06-24 17:13:05 +02:00
Alexandre Julliard 0fb9e616bc makefiles: Hardcode the dll directory.
It's Wine-specific anyway.
2024-06-24 15:21:42 +02:00
Alexandre Julliard f0ee51026b makefiles: Hardcode the nls directory.
It's Wine-specific anyway.
2024-06-24 13:47:08 +02:00
Alexandre Julliard 13159b0767 makefiles: Hardcode the fonts directory.
It's Wine-specific anyway.
2024-06-24 13:46:40 +02:00
Alexandre Julliard 58de2dec08 makedep: Add a helper to get a root-relative directory path. 2024-06-24 13:39:49 +02:00
Rémi Bernon ef7f9fed60 winewayland: Move window surface creation functions to window_surface.c. 2024-06-24 13:25:28 +02:00
Rémi Bernon 834da273c1 winemac: Move window surface creation functions to surface.c. 2024-06-24 13:25:28 +02:00
Rémi Bernon e9ca13a6f7 winex11: Move window surface creation functions to bitblt.c. 2024-06-24 13:25:28 +02:00
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