Commit graph

159236 commits

Author SHA1 Message Date
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
Nikolay Sivov 5d9f0be001 dwrite: Handle variation selectors 17-256 in MapCharacters().
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
2022-09-01 17:42:49 +02:00
Alexandre Julliard f49a30167a shell32: Fix sharing modes when loading/saving link files. 2022-09-01 16:00:10 +02:00
Alexandre Julliard e4e26bbc3e ntdll/tests: Fix some race conditions. 2022-09-01 16:00:10 +02:00
Alexandre Julliard 7c7e7e9163 kernel32/tests: Don't assume that notifications are instantaneous. 2022-09-01 16:00:10 +02:00
Alexandre Julliard 3028136221 include: Always use the standard varargs macros. 2022-09-01 10:24:20 +02:00
Alexandre Julliard 65ad7fcdab include: Add a va_list version of the wine_dbg_log function. 2022-09-01 10:15:39 +02:00
Ziqing Hui 3fdc28c7f8 d3dx10: Return E_FAIL in D3DX10CreateEffectFromFile for NULL file name. 2022-08-31 22:22:21 +02:00
Ziqing Hui d4ae51e226 d3dx10: Support effect creation for compiled shader. 2022-08-31 22:22:21 +02:00
Ziqing Hui 7e8bd13188 d3dx10: Introduce create_effect(). 2022-08-31 22:22:21 +02:00
Ziqing Hui f40e707159 d3dx10/tests: Add tests for D3DX10CreateEffectFromResource. 2022-08-31 22:22:21 +02:00
Ziqing Hui 6b9ba3e2bf d3dx10/tests: Add tests for D3DX10CreateEffectFromFile. 2022-08-31 22:22:21 +02:00