Commit graph

159222 commits

Author SHA1 Message Date
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
Ziqing Hui c6d46ff3f4 d3dx10/tests: Add tests for D3DX10CreateEffectFromMemory.
Passing NULL profile to effect creation will crash wine for now.
So we have to skip these tests in wine.
2022-08-31 22:22:19 +02:00
Hans Leidekker 745df5915c bcrypt: Force symmetric key reset if necessary.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=52457
2022-08-31 21:52:55 +02:00
Nikolay Sivov 8e1278684a dwrite: Add NNBSP (202F) to Mongolian fallback range.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
2022-08-31 21:52:25 +02:00
Nikolay Sivov 55439cc3ef dwrite: Skip variation selectors in MapCharacters().
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
2022-08-31 21:52:25 +02:00
Connor McAdams 1f86e2c6d9 uiautomationcore: Implement UiaHUiaNodeFromVariant.
Signed-off-by: Connor McAdams <cmcadams@codeweavers.com>
2022-08-31 21:51:11 +02:00
Connor McAdams dadfd3d424 uiautomationcore: Add support for UIA_RuntimeIdPropertyId.
Signed-off-by: Connor McAdams <cmcadams@codeweavers.com>
2022-08-31 21:51:11 +02:00
Connor McAdams 0520531c52 uiautomationcore: Partially implement UiaGetRuntimeId.
Add RuntimeId support for HUIANODEs associated with an HWND.

Signed-off-by: Connor McAdams <cmcadams@codeweavers.com>
2022-08-31 21:51:08 +02:00
Connor McAdams cf9d7ee4b4 uiautomationcore: Retrieve HWND from HUIANODE provider.
Signed-off-by: Connor McAdams <cmcadams@codeweavers.com>
2022-08-31 21:51:08 +02:00
Connor McAdams 3106380d58 include: Add IRawElementProviderHwndOverride definition.
Signed-off-by: Connor McAdams <cmcadams@codeweavers.com>
2022-08-31 21:51:08 +02:00
Connor McAdams de6f778915 include: Add more definitions to uiautomationcoreapi.h.
Signed-off-by: Connor McAdams <cmcadams@codeweavers.com>
2022-08-31 21:51:07 +02:00
Francois Gouget 2924f64d34 windows.media.speech: Remove WINAPI on static functions where not needed. 2022-08-31 18:32:38 +02:00
Kevin Puetz b5d3759fc5 winecrt0: Remove free_delay_imports.
MSVC's delayimp.lib does not actually free delayload dependencies.
winecrt0's attempt to do so from ELF __attribute__((destructor))
is unnecessary and potentially harmful:

- When triggered naturally via LdrUnloadDll, this leads to recursive calls
  to FreeLibrary, violating free_lib_count and missing DLL_PROCESS_DETACH
- when triggered by glibc's _dl_fini (at process exit), it leads to
  use-after-free of the TEB (GetCurrentThreadID after the main thread is no longer Win32)
  via  FreeLibrary -> LdrLdrUnloadDll -> RtlEnterCriticalSection( &loader_section )
- double-free of the library itself, since the DLL_PROCESS_DETACH has
  already been handled by LdrShutdownProcess
- Race against wineserver sending a SIGKILL from process_killed,
  since all Win32 threads of the process have exited

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=53032
2022-08-31 18:32:13 +02:00
Francois Gouget aeb9737388 dinput/tests: Remove WINAPI on static functions where not needed. 2022-08-31 18:31:43 +02:00
Francois Gouget 92b6c23790 dinput: Remove WINAPI on static functions where not needed. 2022-08-31 18:31:43 +02:00