Commit graph

157773 commits

Author SHA1 Message Date
Rémi Bernon e2f7f01ac8 notepad: Avoid using pointer value after free.
Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
2022-06-15 11:53:29 +02:00
Rémi Bernon 7b44906361 msi: Avoid using pointer value after free.
Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
2022-06-15 11:53:29 +02:00
Rémi Bernon bcf38fc53c user32/tests: Workaround use after free warnings.
Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
2022-06-15 11:53:29 +02:00
Rémi Bernon 197c24092a oleaut32/tests: Workaround use after free warnings.
Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
2022-06-15 11:53:29 +02:00
Rémi Bernon c8d6f21284 mshtml/tests: Avoid using pointer value after free.
Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
2022-06-15 11:53:29 +02:00
Rémi Bernon b883553551 mscoree: Avoid using pointer after free.
Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
2022-06-15 11:53:29 +02:00
Paul Gofman 910d58520a iphlpapi: Return ERROR_NO_DATA from GetIpNetTable() if no entries are found.
Signed-off-by: Paul Gofman <pgofman@codeweavers.com>
2022-06-15 11:51:45 +02:00
Jactry Zeng f397807415 dwmapi: Return S_OK from DwmFlush().
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=53035
Signed-off-by: Jactry Zeng <jzeng@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-06-15 11:51:15 +02:00
Jactry Zeng 5f680a1e1c dwmapi: Fill rateRefresh/rateCompose and qpcRefreshPeriod of DWM_TIMING_INFO from DwmGetCompositionTimingInfo().
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=53035
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=53038
Signed-off-by: Jactry Zeng <jzeng@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-06-15 11:51:08 +02:00
Bernhard Kölbl d81bb88366 windows.media.speech: Add stub ISpeechSynthesisStream iface.
Based on a patch by Connor McAdams <cmcadams@codeweavers.com>

Silences a warning about narrator being broken in Forza Horizon 5.

Signed-off-by: Bernhard Kölbl <besentv@gmail.com>
2022-06-14 22:04:55 +02:00
Bernhard Kölbl f184c777b4 windows.media.speech: Return IAsyncOperation from synthesizer_SynthesizeSsmlToStreamAsync.
Based on a patch by Connor McAdams <cmcadams@codeweavers.com>

Signed-off-by: Bernhard Kölbl <besentv@gmail.com>
2022-06-14 22:04:55 +02:00
Bernhard Kölbl d8637c9b37 windows.media.speech: Return IAsyncOperation from synthesizer_SynthesizeTextToStreamAsync.
Based on a patch by Connor McAdams <cmcadams@codeweavers.com>

Signed-off-by: Bernhard Kölbl <besentv@gmail.com>
2022-06-14 22:04:55 +02:00
Bernhard Kölbl 20f990a309 windows.media.speech/tests: Add basic tests for ssml/text to stream functions.
Signed-off-by: Bernhard Kölbl <besentv@gmail.com>
2022-06-14 22:04:55 +02:00
Bernhard Kölbl 22aa88a17e windows.media.speech/tests: Handle a possible race condition.
Signed-off-by: Bernhard Kölbl <besentv@gmail.com>
2022-06-14 22:04:55 +02:00
Bernhard Kölbl d95681aaf5 windows.media.speech/tests: Remove a useless thread id trace.
Signed-off-by: Bernhard Kölbl <besentv@gmail.com>
2022-06-14 22:04:55 +02:00
Bernhard Kölbl faf8ed367c include/windows.media.speechsynthesis.idl: Update file to newer formatting.
I.e. get rid of nested namespaces and forward declares,
separate attributes with commas and right align pointer declarations.

Signed-off-by: Bernhard Kölbl <besentv@gmail.com>
2022-06-14 22:04:55 +02:00
Bernhard Kölbl 6e26dc6b59 include/windows.media.idl: Move IMediaMarker collections from speechsynthesis.
Signed-off-by: Bernhard Kölbl <besentv@gmail.com>
2022-06-14 22:04:55 +02:00
Bernhard Kölbl aab9ec78d6 include/windows.media.idl: Update file to newer formatting.
I.e. get rid of nested namespaces and forward declares,
separate attributes with commas and right align pointer declarations.

Signed-off-by: Bernhard Kölbl <besentv@gmail.com>
2022-06-14 22:04:55 +02:00
Connor McAdams 163e9c5b45 uiautomationcore: Implement NavigateDirection_{Previous/Next}Sibling for MSAA providers.
Signed-off-by: Connor McAdams <cmcadams@codeweavers.com>
2022-06-14 22:04:55 +02:00
Connor McAdams 66b6786e8d uiautomationcore: Implement NavigateDirection_{First/Last}Child for MSAA Providers.
Signed-off-by: Connor McAdams <cmcadams@codeweavers.com>
2022-06-14 18:44:22 +02:00
Connor McAdams ce9ea0260e uiautomationcore/tests: Release interfaces returned from get_HostRawElementProvider.
Signed-off-by: Connor McAdams <cmcadams@codeweavers.com>
2022-06-14 18:44:22 +02:00
Hans Leidekker 2fccd2cb10 winhttp: Fix default port corner cases in WinHttpCrackUrl().
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
2022-06-14 18:44:10 +02:00
Jacek Caban eda3732afd user32: Reimplement GetMenuContextHelpId on top of GetMenuInfo.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
2022-06-14 11:29:13 +02:00
Jacek Caban d4b8ca7853 win32u: Move PopupMenuWndProc implementation from user32.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
2022-06-14 11:29:13 +02:00
Jacek Caban e13145c893 win32u: Move MENU_DrawMenuBar implementation from user32.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
2022-06-14 11:29:13 +02:00
Jacek Caban af00521e29 win32u: Move NtUserDrawMenuBarTemp implementation from user32.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
2022-06-14 11:29:12 +02:00
Jacek Caban 05b29423e5 win32u: Move WM_NCCALCSIZE implementation from user32.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
2022-06-14 11:29:11 +02:00
Rémi Bernon 81d04f9326 winegstreamer: Leave the wm_reader stream_cs when calling the callbacks.
They may block and we need to enter the stream_cs to stop the reader.

Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
2022-06-14 11:28:48 +02:00
Rémi Bernon fdb0f10188 winegstreamer: Simplify wm_asyncreader stream loop exit code path.
Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
2022-06-14 11:28:48 +02:00
Rémi Bernon c64775fd8b winegstreamer: Move end conditions out of the wm_asyncreader stream loop.
Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
2022-06-14 11:28:48 +02:00
Rémi Bernon 4edad99303 winegstreamer: Return E_UNEXPECTED from WMReaderAdvanced2_OpenStream when already opened.
Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
2022-06-14 11:28:48 +02:00
Rémi Bernon d6af590a80 winegstreamer: Return E_UNEXPECTED from WMReader_Open when already opened.
Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
2022-06-14 11:28:47 +02:00
Rémi Bernon d54b194550 winegstreamer: Return NS_E_INVALID_REQUEST on WMReader Start before Open.
Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
2022-06-14 11:28:47 +02:00
Alex Henrie 001d78a582 user32: Plug icon handle leak in MDI_AugmentFrameMenu (Coverity).
Signed-off-by: Alex Henrie <alexhenrie24@gmail.com>
2022-06-14 11:28:27 +02:00
Tim Clem f86a66b660 ntdll: Move SEH exception info logs back to the seh channel.
These were accidentally moved as part of the introduction of +unwind.

Signed-off-by: Tim Clem <tclem@codeweavers.com>
2022-06-13 22:56:21 +02:00
Rémi Bernon 5dcf77d8d0 winegstreamer: Remove copying support from wg_transform_push_data.
Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
2022-06-13 21:33:55 +02:00
Rémi Bernon ca0719f440 winegstreamer: Support zero-copy wg_transform_read_data in quartz_transform.c.
Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
2022-06-13 21:33:55 +02:00
Rémi Bernon 6c110bd398 winegstreamer: Support zero-copy wg_transform_push_data in quartz_transform.c.
Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
2022-06-13 21:33:55 +02:00
Rémi Bernon 2bbdd1eee6 winegstreamer: Introduce new wg_sample_create_quartz helper for quartz_transform.c.
Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
2022-06-13 21:33:55 +02:00
Rémi Bernon b2828c1c88 winegstreamer: Use a union in struct sample to keep API pointers.
Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
2022-06-13 21:33:55 +02:00
Rémi Bernon 57b3b2923a winegstreamer: Split wg_sample wrapper helpers to a separate source.
Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
2022-06-13 21:33:54 +02:00
Piotr Caban 0c7928061c server: Don't reset socket error in IOCTL_AFD_GET_SO_ERROR.
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
2022-06-13 21:33:54 +02:00
Piotr Caban 73648f901c server: Don't reset socket error in poll_socket.
Otherwise socket error may be cleared in poll_socket causing ioctl SO_ERROR calls to return no error.

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=51433
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
2022-06-13 21:33:54 +02:00
Piotr Caban 9d1085c8d3 server: Always return Win32 error code from IOCTL_AFD_GET_SO_ERROR.
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
2022-06-13 21:33:54 +02:00
Jinoh Kang ecc607c6da riched20: Draw OLE objects with IViewObject implementation.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=52752
Signed-off-by: Jinoh Kang <jinoh.kang.kr@gmail.com>
2022-06-13 19:57:31 +02:00
Jinoh Kang 164897e6c9 riched20: Fetch extent from object if REOBJECT::sizel is unset.
Signed-off-by: Jinoh Kang <jinoh.kang.kr@gmail.com>
2022-06-13 19:57:31 +02:00
Jinoh Kang a7d29d1625 riched20/tests: Add tests for drawing embedded OLE objects.
Signed-off-by: Jinoh Kang <jinoh.kang.kr@gmail.com>
2022-06-13 19:57:31 +02:00
Rémi Bernon e2936702a4 winebus.sys: Implement SOCD neutral cleaning for hatswitches.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=52841
Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
2022-06-13 19:57:31 +02:00
Rémi Bernon 4ca954ad0b ntdll: Remove heap pointer from SUBHEAP structure.
Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
2022-06-13 19:57:31 +02:00
Rémi Bernon a6fcf059a7 ntdll: Use block_size and data_size in subheap structure.
Respectively describing allocated size vs commit size, relative to the
first subheap block, instead of size / commitSize.

Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
2022-06-13 19:57:31 +02:00