Commit graph

159247 commits

Author SHA1 Message Date
Francois Gouget
57d1bad106 winex11.drv: Use #ifdef to check config.h macros.
They are undefined when the feature is missing.
2022-09-05 13:39:41 +02:00
Eric Pouech
f20b892ed9 include: Enable ANSI support in console for WINETEST_COLOR.
This lets WINETEST_COLOR works under Windows console (at least, on recent
versions where ANSI support is available).

Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
2022-09-05 13:38:52 +02:00
Rémi Bernon
de48020325 mf/tests: Test that IMFMediaSession_SetTopology sets output nodes media types. 2022-09-05 13:38:36 +02:00
Rémi Bernon
af62da3160 mf/tests: Test that IMFTopoLoader_Load sets transform nodes media types. 2022-09-05 13:38:36 +02:00
Rémi Bernon
065a343207 mf/tests: Test that IMFTopoLoader_Load doesn't set output nodes media types. 2022-09-05 13:38:36 +02:00
Rémi Bernon
a4538ef5c2 mf/tests: Test some IMFMediaSession_SetTopology error cases. 2022-09-05 13:38:36 +02:00
Rémi Bernon
414e23c459 mf/tests: Add helpers to wait and check media session events. 2022-09-05 13:38:36 +02:00
Rémi Bernon
96163508b1 mf/tests: Allocate test callbacks dynamically and check refcounts. 2022-09-05 13:38:36 +02:00
Rémi Bernon
c9b6972231 mf/tests: Keep a presentation descriptor in the test source. 2022-09-05 13:38:36 +02:00
Rémi Bernon
fc78c63c64 mf/tests: Move and split some helper code around. 2022-09-05 13:38:36 +02:00
Matteo Bruni
03acb453d9 windowscodecs/tests: Clean up after running test expected to fail.
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
2022-09-05 13:38:25 +02:00
Ziqing Hui
bd5cdef5dd d3d10: Handle invalid arguments for effect creation.
Passing NULL data to D3D10CreateEffectFromMemory crashes.
Passing NULL data to D3D10CreateEffectPoolFromMemory returns E_INVALIDARG.
2022-09-02 22:10:34 +02:00
Ziqing Hui
6c4f9ec527 d3d10/tests: Test NULL device for D3D10CreateEffectFromMemory and D3D10CreateEffectPoolFromMemory. 2022-09-02 22:10:34 +02:00
Nikolay Sivov
eddf252aff dwrite: Fix spans length reported by AnalyzeScript() for characters above BMP.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
2022-09-02 22:10:21 +02:00
Rémi Bernon
12d0792f74 win32u: Move display placement logic out of graphics drivers. 2022-09-02 17:53:15 +02:00
Rémi Bernon
8b737af658 winemac.drv: Remove unnecessary display mode flags checks. 2022-09-02 17:53:13 +02:00
Rémi Bernon
7ba3eca21b winex11.drv: Remove unnecessary display mode flags checks. 2022-09-02 17:53:11 +02:00
Rémi Bernon
d21da2a655 win32u: Move full display mode lookup out of graphics drivers. 2022-09-02 17:53:11 +02:00
Rémi Bernon
1c6722c41a win32u: Support interlaced and stretched display modes. 2022-09-02 17:53:11 +02:00
Rémi Bernon
25272711b4 win32u: Sort adapter display modes after reading from the registry. 2022-09-02 17:53:11 +02:00
Rémi Bernon
e741f49aa3 mf: Notify quality manager of topology change in session_set_topology. 2022-09-02 17:52:51 +02:00
Rémi Bernon
5af9f06e5c mf: Use the SESSION_FLAG_PENDING_COMMAND to delay further commands.
Instead of keeping the command ahead of the command list, making the
SESSION_CMD_END internal command unnecessary.
2022-09-02 17:52:49 +02:00
Rémi Bernon
156aa87c57 mf: Delay media session command processing when presentation is ending. 2022-09-02 17:52:49 +02:00
Rémi Bernon
76f7236b57 mf: Use a dedicated interface for sample allocator ready callbacks. 2022-09-02 17:52:49 +02:00
Nikolay Sivov
0e06db3964 wmiutils: Use CRT allocation functions.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
2022-09-02 11:27:37 +02:00
Nikolay Sivov
e0ca118f03 prntvpt: Use CRT allocation functions.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
2022-09-02 11:27:27 +02:00
Lauri Kenttä
d19814cb65 po: Update Finnish translation. 2022-09-02 11:27:17 +02:00
Lauri Kenttä
41274a0973 readme: Update Finnish translation. 2022-09-02 11:27:12 +02:00
Joel Holdsworth
7546b4a63d mountmgr.sys: Implemented FileFsSizeInformation and FileFsFullSizeInformation volume queries.
This patch fixes GetDiskFreeSpaceA/W when an NT-style GUID volume path is
provided e.g. "\\?\Volume{00000000-0000-0000-0000-000000000043}\" as might be
retrieved by FindFirstVolumeA/W and FindNextVolumeA/W.

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=53547
Signed-off-by: Joel Holdsworth <joel@airwebreathe.org.uk>
2022-09-01 17:49:33 +02:00
Joel Holdsworth
6af3590799 ntdll: Implemented NtQueryVolumeInformationFile FileFsFullSizeInformation.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=53544
Signed-off-by: Joel Holdsworth <joel@airwebreathe.org.uk>
2022-09-01 17:49:32 +02:00
Joel Holdsworth
3741ecf079 kernel32/tests: Added tests for GetDiskFreeSpaceA/W with volume GUID paths.
Signed-off-by: Joel Holdsworth <joel@airwebreathe.org.uk>
2022-09-01 17:49:30 +02:00
Joel Holdsworth
d40af92f32 kernel32/tests: GetDiskFreeSpaceA/W test targetted at a real drive.
Signed-off-by: Joel Holdsworth <joel@airwebreathe.org.uk>
2022-09-01 17:49:27 +02:00
Gabriel Ivăncescu
d44a32ba72 mshtml: Implement props enumeration for Storage.
Signed-off-by: Gabriel Ivăncescu <gabrielopcode@gmail.com>
2022-09-01 17:46:18 +02:00
Gabriel Ivăncescu
c3c55c7fb7 mshtml: Implement GetMemberName for custom props.
Signed-off-by: Gabriel Ivăncescu <gabrielopcode@gmail.com>
2022-09-01 17:46:18 +02:00
Gabriel Ivăncescu
3ea5a3197e mshtml: Do not enumerate hidden builtin props.
Signed-off-by: Gabriel Ivăncescu <gabrielopcode@gmail.com>
2022-09-01 17:46:18 +02:00
Gabriel Ivăncescu
f8bb1d7e4a mshtml: Implement deleting props for Storage.
Signed-off-by: Gabriel Ivăncescu <gabrielopcode@gmail.com>
2022-09-01 17:46:18 +02:00
Gabriel Ivăncescu
e28cc104c1 mshtml: Implement props for Storage by forwarding to the underlying storage.
Signed-off-by: Gabriel Ivăncescu <gabrielopcode@gmail.com>
2022-09-01 17:46:18 +02:00
Georg Lehmann
74e6ec1eab winevulkan: Update to VK spec version 1.3.226.
Signed-off-by: Georg Lehmann <dadschoorse@gmail.com>
2022-09-01 17:46:04 +02:00
Georg Lehmann
5ac5e2876a winevulkan: Fixup 64bit enum aliases later to avoid using not yet defined values.
Signed-off-by: Georg Lehmann <dadschoorse@gmail.com>
2022-09-01 17:45:01 +02:00
Ziqing Hui
5412401a31 d3dx10/tests: Test block compressed texture data which has more than one block line. 2022-09-01 17:44:48 +02:00
Nikolay Sivov
b007ee9234 msvcrt: Remove mention of obsolete libwine function.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
2022-09-01 17:44:24 +02:00
Nikolay Sivov
ee7794073b msvcrt: Use size_t for the size in wcsdup().
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
2022-09-01 17:44:24 +02:00
Zhiyi Zhang
bca9df8db2 win32u: Only cache font glyph metrics from GGO_METRICS.
Fonts loaded with GGO_BITMAP may report different font metrics than that with GGO_METRICS. If the
font metrics from GGO_BITMAP are used and later getting font metrics with GGO_METRICS or vice versa,
the font metric difference may cause UI glitchs.

Fix Steam installer next button text moving to the left for 1 pixel when hovered on Mac and Wine is
built with FreeType > 2.8.0.
2022-09-01 17:43:44 +02:00
Nikolay Sivov
f9739a5963 wbemdisp: Use wcsdup() instead of internal helper.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
2022-09-01 17:43:28 +02:00
Andrey Gusev
da8a36c50e user32: Implement DefRawInputProc.
Used in The Testament of Sherlock Holmes on mouse move.
2022-09-01 17:43:17 +02:00
Zhiyi Zhang
46740a23fd comctl32/datetime: Do not paint parent background when painting arrows.
This is tested manually on XP, Win7 and Win10.
2022-09-01 17:43:02 +02:00
Zhiyi Zhang
b9c882a127 uxtheme: Do not draw parent background even if scrollbar arrows and thumb are transparent.
This is confirmed by the tests in test_scrollbar() and manual tests on XP. Even though scrollbar
arrows and thumb are in fact transparent, DrawThemeParentBackground() is not called to paint the
parent background, leaving the transparent area untouched. On Windows, even if the scrollbar arrows
are reported to be transparent, the bitmaps for arrow parts in the stock themes are in fact opaque.

Fix Ice Cream Calculator slow scrolling after 4cb229a because the WM_PRINTCLIENT handling in the
application is slow.

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=53337
2022-09-01 17:43:00 +02:00
Zhiyi Zhang
cf4c4d2f25 uxtheme: Use the brush from WM_CTLCOLORSCROLLBAR to paint SB_CTL scrollbar tracks if present. 2022-09-01 17:43:00 +02:00
Zhiyi Zhang
69a0acb536 comctl32/tests: Add themed scrollbar background tests. 2022-09-01 17:43:00 +02:00
Zhiyi Zhang
b710458069 uxtheme/tests: Add theme tests. 2022-09-01 17:43:00 +02:00