Commit graph

157758 commits

Author SHA1 Message Date
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
Rémi Bernon
2ef69e4492 ntdll: Rename HEAP_GetPtr to unsafe_heap_from_handle.
And related heap variables to handle and heapPtr to heap.

Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
2022-06-13 19:57:31 +02:00
Rémi Bernon
fef774f953 ntdll: Consistently name heap handles and pointers.
Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
2022-06-13 19:57:31 +02:00
Rémi Bernon
4b05b2bcb7 ntdll: Rename HEAP to struct heap and remove typedef.
Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
2022-06-13 19:57:31 +02:00
Daniel Lehman
1714963a5f kernelbase: Pass va_list copy to internal RtlFormatMessage.
va_list passed to RtlFormatMessage is modified even on error in this
case, if the buffer is not large enough, STATUS_BUFFER_OVERFLOW is
returned and FormatMessage tries again, but the va_list pointer is now
moved to a later argument, so the next call reads off the end,
crashing.

Signed-off-by: Daniel Lehman <dlehman25@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-06-13 16:54:30 +02:00
Daniel Lehman
8986f6fadd kernel32/tests: Test if FormatMessage modifies va_list on error.
Signed-off-by: Daniel Lehman <dlehman25@gmail.com>
2022-06-13 16:54:30 +02:00
Daniel Lehman
dd95979b0a ntdll/tests: Test if RtlFormatMessage modifies va_list on error.
Signed-off-by: Daniel Lehman <dlehman25@gmail.com>
2022-06-13 16:54:30 +02:00
Nikolay Sivov
bc4afb8b2a d2d1: Update to ID2D1DeviceContext1.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
2022-06-13 16:37:03 +02:00
Jacek Caban
6ead654f55 win32u: Simplify get_text_metr_size.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
2022-06-13 16:37:03 +02:00
Jacek Caban
d65f2492ed win32u: Move GetDialogBaseUnits implementation from user32.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
2022-06-13 16:37:03 +02:00
Jacek Caban
817dca1099 win32u: Move WM_NCACTIVATE implementation from user32.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
2022-06-13 16:37:03 +02:00
Jacek Caban
9f03d8f3e1 win32u: Move WM_NCPAINT handling from user32.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
2022-06-13 16:37:03 +02:00
Jacek Caban
952affeaeb win32u: Allow passing simple LOGFONTW to NtGdiHfontCreate.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
2022-06-13 16:37:03 +02:00
Connor McAdams
fdd7f3152e uiautomationcore: Implement NavigateDirection_Parent for MSAA Providers.
Signed-off-by: Connor McAdams <cmcadams@codeweavers.com>
2022-06-13 16:37:03 +02:00
Connor McAdams
ef27965e82 uiautomationcore/tests: Add navigation tests for MSAA providers.
Signed-off-by: Connor McAdams <cmcadams@codeweavers.com>
2022-06-13 16:37:03 +02:00
Connor McAdams
f1d77f18b9 uiautomationcore: Add stub IRawElementProviderFragment for MSAA providers.
Signed-off-by: Connor McAdams <cmcadams@codeweavers.com>
2022-06-13 16:37:03 +02:00