Commit graph

159048 commits

Author SHA1 Message Date
Henri Verbeet 76db4b2459 mfreadwrite/reader: Only attempt to copy sample buffers from responses with non-NULL samples.
For example, queueing a MF_SOURCE_READERF_ENDOFSTREAM response will set
a NULL sample. This fixes a regression introduced by commit
68fa3f6736.
2022-08-23 16:18:51 -05:00
Rémi Bernon 2be95875c0 mf: Support uninitialized downstream media types in topology loader. 2022-08-23 16:18:51 -05:00
Rémi Bernon e1768353e8 mf/tests: Try returning MF_E_NOT_INITIALIZED from GetCurrentMediaType. 2022-08-23 16:18:51 -05:00
Rémi Bernon fe31dafd63 mf/tests: Avoid creating now unused sink activate instances. 2022-08-23 16:18:51 -05:00
Floris Renaud 975665713a po: Update Dutch translation. 2022-08-23 09:46:24 -05:00
Jakub Staroń 88d13e663d ntdll: Implement RtlRestoreContext on i386. 2022-08-23 09:46:24 -05:00
Hans Leidekker 5253c8d77e bcrypt: Support ECDH_P384 key import/export. 2022-08-23 09:40:56 -05:00
Robert Wilhelm 8eb7843d20 scrrun: Added DateCreated property for IFile.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=42857
2022-08-23 09:40:27 -05:00
Davide Beatrici 51604ad186 mmdevapi/tests: Fix fail message referencing "Start" instead of "Stop" in test_session(). 2022-08-23 09:40:01 -05:00
Davide Beatrici 447615747f mmdevapi/tests: Fix typos in spatial audio fail messages. 2022-08-23 09:40:01 -05:00
Davide Beatrici ebdee3cd80 mmdevapi/tests: Distinguish GetChannelCount() calls in test_volume_dependence() fail messages. 2022-08-23 09:40:00 -05:00
Davide Beatrici 874260d12e mmdevapi/tests: Fix fail messages referencing GetChannelCount() instead of GetChannelVolume(). 2022-08-23 09:40:00 -05:00
Davide Beatrici 346e04dae0 winealsa: Fix WoW64 failure when calling get_position().
Bug introduced in e29dc33aeb.
2022-08-23 09:39:07 -05:00
Rémi Bernon 533b3def80 win32u: Only read/write valid mode fields from/to the registry. 2022-08-23 09:38:39 -05:00
Rémi Bernon eaeef1def4 win32u: Use current mode position if desired mode doesn't specify it. 2022-08-23 09:38:39 -05:00
Rémi Bernon f60716c9fc win32u: Always copy devmode in validate_display_settings.
So that updating dmPelsWidth / dmPelsHeight doesn't modify user devmode.
2022-08-23 09:38:36 -05:00
Rémi Bernon 3ec21c3ed3 win32u: Read registry or current mode when validation needs it. 2022-08-23 09:38:36 -05:00
Rémi Bernon dd79a25b6c win32u: Do not keep display modes driver extra in the registry.
It's not always serializable and cannot be shared across processes.
2022-08-23 09:38:32 -05:00
Nikolay Sivov 120ca2ff52 evr/tests: Add a test to show that IMFVideoDisplayControl is accessible.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
2022-08-19 22:45:18 +02:00
Nikolay Sivov b1c3bb4f0c evr: Implement lazy initialization with mixer and presenter instances.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
2022-08-19 22:45:18 +02:00
Nikolay Sivov bf8c08d9e3 evr: Add IMFVideoRenderer stub to the filter.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
2022-08-19 22:45:18 +02:00
Nikolay Sivov 7f71eda497 evr: Add IMFGetService stub.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
2022-08-19 22:45:18 +02:00
Akihiro Sagawa 3ba2c69457 mciqtz32: Fix MCI_DGV_WINDOW_HWND error handling. 2022-08-19 22:45:18 +02:00
Akihiro Sagawa ebd1b7ab81 winmm/tests: Add more MCI_DGV_WINDOW_HWND tests. 2022-08-19 22:45:18 +02:00
Akihiro Sagawa ef48187a40 mciqtz32: Fix MCI_DGV_WINDOW_TEXT behavior. 2022-08-19 22:45:18 +02:00
Akihiro Sagawa bb0f1981fc winmm/tests: Add MCI_DGV_WINDOW_TEXT tests. 2022-08-19 22:45:18 +02:00
Akihiro Sagawa 1c1a21214e mciqtz32: Fix MCI_DGV_WINDOW_STATE behavior. 2022-08-19 22:45:18 +02:00
Akihiro Sagawa 861811206c winmm/tests: Add MCI_DGV_WINDOW_STATE tests. 2022-08-19 22:45:18 +02:00
Akihiro Sagawa 04dc281207 mciqtz32: Don't stretch video destination for a popup or child window. 2022-08-19 22:45:18 +02:00
Alexandre Julliard e28c2caac0 comctl32/tests: Use client coordinates for right click test.
Fix the corresponding message sequences.
2022-08-19 22:45:18 +02:00
Aurimas Fišeras 49ba42d855 po: Update Lithuanian translation. 2022-08-19 22:45:18 +02:00
Huw Davies 25ac708dad maintainers: Remove advice about Cc'ing patches. 2022-08-19 22:45:18 +02:00
Zhiyi Zhang 58b477d158 win32u: Choose a smaller ppem to avoid exceeding the requested font height.
When height > 0, CreateFontA/W() should not return a font face exceeding the requested height.
For instance, Tahoma has 2049 units of ascent, 423 units of descent and its units per EM square is
2048. When requesting a font 20 pixels in height, ppem = units_per_EM * requested_height / (ascent + descent)
= 2048 * 20 / (2049 + 423) = 16.57 ~= 17. When getting the resulting height back from the ppem,
resulting_height = (ascent + descent) * ppem / units_per_EM = (2049.0 + 423) * 17 / 2048 = 20.52
~=21. So it ends up getting a larger font than requested and violates the spec.

Fix Nancy Drew: Legend of the Crystal Skull crash at start.

Signed-off-by: Zhiyi Zhang <zzhang@codeweavers.com>
2022-08-19 22:45:18 +02:00
Zhiyi Zhang 821b36e00b gdi32/tests: Add more tests for GetTextMetrics().
Signed-off-by: Zhiyi Zhang <zzhang@codeweavers.com>
2022-08-19 22:45:18 +02:00
Jiajin Cui 53f6d82e69 win32u: Don't allow a replaced font to be a replacement.
This is to prevent replacement loops.
2022-08-19 22:45:18 +02:00
Jiajin Cui 88ead398eb win32u: Ensure that either the primary or secondary name is in English. 2022-08-19 22:45:18 +02:00
Konstantin Romanov 0b18d0c825 kerberos: Fix condition for create_context_handle in kerberos_SpInitLsaModeContext and kerberos_SpAcceptLsaModeContext.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=53472
2022-08-19 22:45:18 +02:00
Robert Wilhelm ccc001ee43 scrrun: Avoid memory leak in error case. 2022-08-19 22:45:18 +02:00
Robert Wilhelm 1f4c48a000 scrrun: Correct string length returned from GetTempName.
You have to pass string length without terminal null to SysAllocStringLen.

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=53569
2022-08-19 22:45:18 +02:00
Robert Wilhelm 412e1de2b4 scrrun: Add test for correct string length returned from GetTempName. 2022-08-19 22:45:18 +02:00
Jacek Caban a34a403723 winex11: Implement wow64 thunks. 2022-08-18 21:42:32 +02:00
Jacek Caban 29f320edd9 win32u: Move process initialization to NtUserInitializeClientPfnArrays.
On wow64 64-bit win32u.dll is always loaded, causing win32u.so to
initialize at earlier stage than it would otherwise do. This patch
makes it more consistent across environments.
2022-08-18 21:42:27 +02:00
Jacek Caban a17bb304a0 wow64win: Fix NtGdiDdDDICreateDevice thunk. 2022-08-18 21:42:27 +02:00
Jacek Caban 50bbaf9d5e win32u: Fix handling uninitialized process_layout. 2022-08-18 21:42:27 +02:00
Jacek Caban 95791ea044 user32: Move dialog proc setting implementation from win32u. 2022-08-18 21:42:27 +02:00
Jacek Caban 577fbb0ff1 user32: Move dialog proc getting implementation from win32u. 2022-08-18 21:42:26 +02:00
Zhiyi Zhang e2a725621a comctl32/edit: Don't repaint immediately when losing focus.
Ignore some messages for the parent window because the "Kill focus" message sequence starts
succeeding with this commit but sometimes those messages appear on Wine and cause random test
failures. Those messages are not interested in the tests so ignore them.

Signed-off-by: Zhiyi Zhang <zzhang@codeweavers.com>
2022-08-18 21:42:20 +02:00
Zhiyi Zhang a336b43a93 comctl32/edit: Don't repaint immediately when getting focus.
Fix MSXML 3.0 installer username edit control missing part of its edge. The application has a static
control overlapping an edit control. Repainting the edit control immediately will cause the edit
control to be painted under the static control.

Signed-off-by: Zhiyi Zhang <zzhang@codeweavers.com>
2022-08-18 21:42:20 +02:00
Zhiyi Zhang 2a27ffe423 comctl32/tests: Test that changing focus for edit controls doesn't repaint immediately.
Signed-off-by: Zhiyi Zhang <zzhang@codeweavers.com>
2022-08-18 21:42:20 +02:00
Zhiyi Zhang 2aa54a90bd user32/edit: Handle IME composition result string only when EIMES_GETCOMPSTRATONCE is set.
If EIMES_GETCOMPSTRATONCE is not set, WM_IME_COMPOSITION with LPARAM set to GCS_RESULTSTR should be
passed to the default window procedure according to MSDN.

Fix some windows based on edit control not being able to input Chinese.

Signed-off-by: Zhiyi Zhang <zzhang@codeweavers.com>
2022-08-18 21:42:20 +02:00