Commit graph

171645 commits

Author SHA1 Message Date
Brendan Shanks 1620d8f7ca winemac.drv: Fix warning in [WineWindow grabDockIconSnapshotFromWindow:force:]. 2024-06-25 09:19:59 +02:00
Elizabeth Figura 0c4743e9c1 ntdll: Move set_async_direct_result() to file.c.
Similar helpers are in file.c, and sync.c has nothing to do with file I/O otherwise.
2024-06-25 09:19:55 +02:00
Elizabeth Figura 5493ff11fa ntdll: Factor filling the IOSB into set_async_direct_result(). 2024-06-25 09:19:54 +02:00
Elizabeth Figura 62df7633e5 ntdll: Do not set io->Status at the end of sock_ioctl().
The only cases this affects are Wine-internal sockopt ioctls, and ws2_32 does not read back the IOSB status for those.
2024-06-25 09:19:52 +02:00
Elizabeth Figura 506cd1345b quartz/tests: Handle the case where ddraw returns system memory.
Fixes test failures with Windows 7.

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=56189
2024-06-25 09:19:47 +02:00
Santino Mazza f9af971bd7 mshtml: Implement MarkupServices_ParseString. 2024-06-24 20:57:04 +02:00
Santino Mazza f9a8f2f1a3 mshtml: Implement MarkupServices_CreateMarkupContainer. 2024-06-24 20:57:04 +02:00
Santino Mazza e2100e3f1e mshtml/tests: Test for IMarkupServices. 2024-06-24 20:57:04 +02:00
Ilia Docin ac4e478015 sane.ds: Add SANE option settable flag support. 2024-06-24 20:56:47 +02:00
Zhiyi Zhang d1a62e862e include: Add some windows.applicationmodel definitions. 2024-06-24 17:13:05 +02:00
Zhiyi Zhang c165459699 include: Add some windows.ui.core definitions. 2024-06-24 17:13:05 +02:00
Zhiyi Zhang 425ef9cb23 include: Add windows.ui.input.idl. 2024-06-24 17:13:05 +02:00
Zhiyi Zhang cd8306db83 include: Add windows.devices.input.idl. 2024-06-24 17:13:05 +02:00
Zhiyi Zhang d010f52241 include: Add some windows.system definitions. 2024-06-24 17:13:05 +02:00
Zhiyi Zhang b80657c0a5 include: Add some windows.foundation definitions. 2024-06-24 17:13:05 +02:00
Zhiyi Zhang cbf1310f87 rometadata: Add initial dll. 2024-06-24 17:13:05 +02:00
Alistair Leslie-Hughes c483e5d456 msado15: Implement _Recordset get/put MaxRecords. 2024-06-24 17:13:05 +02:00
Alistair Leslie-Hughes 794e1f1884 msado15: Implement _Recordset get/put CacheSize. 2024-06-24 17:13:05 +02:00
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