Commit graph

158823 commits

Author SHA1 Message Date
Zhiyi Zhang bc712170a5 include: Add IMediaParams definitions.
Signed-off-by: Zhiyi Zhang <zzhang@codeweavers.com>
2022-08-10 11:35:29 +02:00
David Gow cf41f6d9b5 quartz: Test: Files opened with FileSource can be deleted.
Some games (such as Digimon Survive) will delete a file while it's open
as a FileSource.

Signed-off-by: David Gow <david@ingeniumdigital.com>
2022-08-10 11:35:22 +02:00
David Gow 9cfd5d00ca quartz: Open files with FILE_SHARE_DELETE in FileSource.
Some games (such as Digimon Survive) create temporary video files and
will hang if deleting them fails. Open the files with FILE_SHARE_DELETE,
which will allow this deletion to go ahead even if the FileSource hasn't
yet been closed.

Note that many windows codec packs do themselves open files without
FILE_SHARE_DELETE, so a similar hang can be observed in some windows
configurations.

I haven't checked that this is the file share mode used on windows
(alas, I don't have a windows machine available), so I haven't removed
the FIXME comment. Equally, I also updated the CreateFileW() call
in get_media_type(), but that _may_ be unnecessary.

Signed-off-by: David Gow <david@ingeniumdigital.com>
2022-08-10 11:35:08 +02:00
Nikolay Sivov da581d383d mfplat: Add some attributes related to transcoding.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
2022-08-09 21:07:47 +02:00
Jacek Caban 2c75490c3e win32u: Use NtUserMessageCall for NtUserSpyGetMsgName.
Instead of leaking a kernel pointer.
2022-08-09 15:55:44 +02:00
Jacek Caban 8bb71922a5 win32u: Store thread info in 64-bit TEB on wow64. 2022-08-09 15:55:44 +02:00
Jacek Caban 1e9390e558 win32u: Use platform-independent layout for ntuser_thread_info. 2022-08-09 15:55:43 +02:00
Jacek Caban 149e750240 win32u: Support wow64 in NtAllocateVirtualMemory calls. 2022-08-09 15:55:43 +02:00
Jacek Caban 2b6647cdd5 win32u: Use platform-independent layout for DC_ATTR. 2022-08-09 15:55:43 +02:00
Hans Leidekker fa8a5692c2 nsiproxy.sys: Support media connect state on Linux.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=53499
2022-08-09 15:53:58 +02:00
Hans Leidekker c2328d0fde bcrypt: Add compatibility defines for AES CFB8. 2022-08-09 15:53:45 +02:00
Nikolay Sivov 5b46a8a065 dwrite/fallback: Add mappings for some CJK ranges.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
2022-08-09 15:53:32 +02:00
Nikolay Sivov 2879930172 dwrite/tests: Add a helper to create analyzer instance.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
2022-08-09 15:53:32 +02:00
Nikolay Sivov 2f3738b3a6 d2d1/commandlist: Implement layer commands.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
2022-08-09 15:53:27 +02:00
Nikolay Sivov a52ba8d95a d2d1/commandlist: Implement DrawImage() command.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
2022-08-09 15:53:25 +02:00
Nikolay Sivov 6ed5d85121 include: Fix ID2D1CommandSink::DrawImage() prototype.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
2022-08-09 15:53:25 +02:00
Tim Clem 2ffcce16cb ntdll: Fix leak of mach_host_self port. 2022-08-09 15:53:17 +02:00
Tim Clem 317085fde5 ntdll: Fix leak of mach_thread_self port. 2022-08-09 15:53:17 +02:00
Rémi Bernon 1a580f9330 qasf: Implement ASF Reader filter pin DecideBufferSize. 2022-08-09 15:52:58 +02:00
Rémi Bernon 80004974e9 qasf: Implement ASF Reader filter pin_get_media_type.
And name pins accordingly.
2022-08-09 15:52:56 +02:00
Rémi Bernon 08e1faa5ae qasf: Implement ASF Reader filter pin_query_accept. 2022-08-09 15:52:56 +02:00
Rémi Bernon 782abff94a winegstreamer: Implement IWMOutputMediaProps_SetMediaType. 2022-08-09 15:52:56 +02:00
Rémi Bernon b3d6e0cf57 wmvcore/tests: Add some IWMOutputMediaProps_SetMediaType tests. 2022-08-09 15:52:54 +02:00
Paul Gofman 7b51216198 ntdll: Also initialize icmp_over_dgram in sock_read().
Fixes a regression introduced by commit
1e35966eb5.

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=52429
2022-08-08 22:03:18 +02:00
Angelo Haller ef79843c94 comctl32/tests: Add more ownerdata listview tests.
Signed-off-by: Angelo Haller <angelo@szanni.org>
2022-08-08 22:03:12 +02:00
Angelo Haller 4d4513bbad comctl32/listview: Don't send LVN_ODSTATECHANGED for empty ranges.
Signed-off-by: Angelo Haller <angelo@szanni.org>
2022-08-08 22:03:11 +02:00
Angelo Haller c732901542 comctl32/listview: Send LVN_ODSTATECHANGED notification for LVS_OWNERDATA listview on selection changes.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=52534
Signed-off-by: Angelo Haller <angelo@szanni.org>
2022-08-08 22:03:09 +02:00
Angelo Haller 6c814f81aa comctl32/listview: Send LVN_ODSTATECHANGED only for LVS_OWNERDATA listviews.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=53123
Signed-off-by: Angelo Haller <angelo@szanni.org>
2022-08-08 22:03:08 +02:00
Angelo Haller 425fd8f80e comctl32/listview: Move sending LVN_ODSTATECHANGED notifications to a function.
Signed-off-by: Angelo Haller <angelo@szanni.org>
2022-08-08 22:03:06 +02:00
Angelo Haller 8b392553b3 comctl32/listview: Send one deselect all items notification for LVS_OWNERDATA listviews.
Send one deselect all items notification on selection change for LVS_OWNERDATA listviews instead
of notifying about each individual item change.

Signed-off-by: Angelo Haller <angelo@szanni.org>
2022-08-08 22:03:04 +02:00
Brendan Shanks 38cf242e7d wow64cpu: Use -norelay for BTCpuSimulate.
Fixes exception handling stack unwinding under Wow64.
2022-08-08 18:52:52 +02:00
Nikolay Sivov 1bff5e5859 dwrite/fallback: Make sure all consecutively mapped characters belong to the same mapping.
Picked fallback font often has wider character support than the ranges it's configured for.
Desired behavior is to stop at the first character that doesn't belong to current mapping.
For example, in texts like "abc<some CJK sequence>abc" we'd want the same for both "abc" sequences,
as opposed to using fallback CJK font for trailing Latin range.

Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
2022-08-08 18:51:25 +02:00
Nikolay Sivov e25ff734cf dwrite/fallback: Consider character size for returned mapped length.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
2022-08-08 18:51:23 +02:00
Rémi Bernon a42b22e027 win32u: Avoid invalid access when registered device alloc failed. (Coverity). 2022-08-08 18:51:00 +02:00
Rémi Bernon 17bdb5060a win32u: Send the total number of registered devices to the server.
Instead of device_count which is the number of registration updates,
and execute the request within the rawinput_mutex to ensure atomicity
of the update and consistency between the client and the server state.

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=53468
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=53487
2022-08-08 18:50:57 +02:00
Rémi Bernon b5ed538993 win32u: Avoid reallocating rawinput device array with zero size.
It actually frees the pointer.
2022-08-08 18:50:56 +02:00
Rémi Bernon 28aa321f36 server: Avoid reallocating rawinput device array with zero size.
It actually frees the pointer.
2022-08-08 18:50:54 +02:00
Eric Pouech 1cbbbd9d73 test.h: WINETEST_COLOR=auto only outputs colors to a TTY.
Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
2022-08-08 18:49:28 +02:00
Eric Pouech e83b91ddef urlmon/tests: Don't use read as a global variable.
Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
2022-08-08 18:49:28 +02:00
Eric Pouech 0993c5ae8d shlwapi/tests: Use wide strings literals.
This also prevents clash with use of 'open' as a global variable.

Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
2022-08-08 18:49:28 +02:00
Jacek Caban 1e640b5e7f user32: Don't include ntuser_private.h. 2022-08-08 18:47:45 +02:00
Jacek Caban eb317d9d8c win32u: Store receive_flags in ntuser_thread_info. 2022-08-08 18:47:45 +02:00
Jacek Caban ca903a4a16 win32u: Move msg_source and recursion_count to ntuser_thread_info. 2022-08-08 18:47:45 +02:00
Jacek Caban da2c400edc win32u: Store wmchar_data in ntuser_thread_info. 2022-08-08 18:47:44 +02:00
Jacek Caban f390b5b884 win32u: Store DPI awareness in ntuser_thread_info. 2022-08-08 18:47:44 +02:00
Jacek Caban ed693f5b32 win32u: Move builtin classes registration from user32. 2022-08-08 18:47:44 +02:00
Jacek Caban 30209d86b0 user32: Always use 64-bit cbWndExtra for edit control. 2022-08-08 18:47:44 +02:00
Jacek Caban fc0753f918 win32u: Move register_desktop_class implementation from user32. 2022-08-08 18:47:44 +02:00
Olivier F. R. Dierick 8f3352ed91 secur32: Define AES-CCM ciphers missing from GNUTLS before 3.4.0. 2022-08-08 18:47:39 +02:00
Rémi Bernon 1c9efdd5ab winemac.drv: Avoid setting DM_POSITION on enumerated modes. 2022-08-08 18:47:33 +02:00