Zhiyi Zhang
6c391ac139
ddraw: Don't report unsupported device capabilities in d3d7_EnumDevices().
...
Fix Battle Realms: Zen Edition failing to start. The game expects to find a device without
D3DDEVCAPS_HWTRANSFORMANDLIGHT.
2022-08-24 09:05:45 -05:00
Zhiyi Zhang
0868bed180
ddraw/tests: Add more capability tests for enumerated devices.
...
Add tests for D3DDEVCAPS_HWTRANSFORMANDLIGHT and D3DDEVCAPS_DRAWPRIMITIVES2EX.
Signed-off-by: Zhiyi Zhang <zzhang@codeweavers.com>
2022-08-24 09:05:42 -05:00
Zhiyi Zhang
3c899df3b5
ddraw/tests: Move the capability tests for enumerated devices.
...
Move the capability tests for enumerated devices from d3d.c to ddraw{1,2,4}.c.
2022-08-24 09:05:38 -05:00
Zhiyi Zhang
21beb2a8c7
ddraw/tests: Add a comment to note that tests in d3d.c are deprecated.
...
And new tests should be added to tests/ddraw{1,2,4,7}.c.
2022-08-24 09:05:36 -05:00
Martin Storsjö
fcb553ffc2
bcrypt: Fix the non-PE build after ECDH_P384 was added.
...
This fixes non-PE builds after
5253c8d77e
.
Signed-off-by: Martin Storsjö <martin@martin.st>
2022-08-24 09:04:56 -05:00
Gabriel Ivăncescu
9f47704f1a
mshtml: Handle S_FALSE return values from IUri methods.
...
Signed-off-by: Gabriel Ivăncescu <gabrielopcode@gmail.com>
2022-08-23 16:18:51 -05:00
Gabriel Ivăncescu
b75ed0395d
mshtml: Handle S_FALSE from IUri methods in the NSAPI interfaces.
...
Mostly by setting such strings to NULL, because the component does not exist.
Signed-off-by: Gabriel Ivăncescu <gabrielopcode@gmail.com>
2022-08-23 16:18:51 -05:00
Gabriel Ivăncescu
e5fe3bc077
mshtml: Handle S_FALSE from IUri methods when navigating.
...
Mostly by ignoring it, since no such Uri component exists.
Signed-off-by: Gabriel Ivăncescu <gabrielopcode@gmail.com>
2022-08-23 16:18:51 -05:00
Gabriel Ivăncescu
d2daec4027
mshtml: Don't navigate if GetDisplayUri failed.
...
Signed-off-by: Gabriel Ivăncescu <gabrielopcode@gmail.com>
2022-08-23 16:18:51 -05:00
Gabriel Ivăncescu
e783c358b6
mshtml: Handle S_FALSE from IUri methods when checking targetOrigin.
...
Signed-off-by: Gabriel Ivăncescu <gabrielopcode@gmail.com>
2022-08-23 16:18:51 -05:00
Gabriel Ivăncescu
196f13c174
mshtml: Handle S_FALSE from IUri methods in Anchor Elements.
...
Signed-off-by: Gabriel Ivăncescu <gabrielopcode@gmail.com>
2022-08-23 16:18:51 -05:00
Gabriel Ivăncescu
1e6c1851b0
mshtml: Handle S_FALSE from IUri methods in localStorage and sessionStorage.
...
Also do not use the Uri itself as check for local vs session storage,
because sessionStorage will rely on the Uri as well.
Signed-off-by: Gabriel Ivăncescu <gabrielopcode@gmail.com>
2022-08-23 16:18:51 -05:00
Etaash Mathamsetty
e934e746be
ntoskrnl: Implement IoCreateFileEx.
2022-08-23 16:18:51 -05:00
Etaash Mathamsetty
bafb181c42
ntoskrnl.exe: Implement KeAreAllApcsDisabled.
...
Required for vgk.sys (vanguard anti-cheat).
2022-08-23 16:18:51 -05:00
Rémi Bernon
2bdd7d37ff
maintainers: Add myself to multimedia sections.
2022-08-23 16:18:51 -05:00
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