Commit graph

159409 commits

Author SHA1 Message Date
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
Francois Gouget 24c8c47cf0 winex11.drv: Make get_unix_file_name() static. 2022-08-31 18:31:34 +02:00
Francois Gouget 49d4fb0d66 crypt32: Remove WINAPI on static functions where not needed. 2022-08-31 18:31:24 +02:00
Francois Gouget 516e6dd921 winealsa.drv: Make functions static where possible.
This helps detect dead code.
2022-08-31 18:31:17 +02:00
Alexandre Julliard 4f75dd8c44 gitlab: Run CI scripts as non-root user. 2022-08-31 18:19:04 +02:00
Alexandre Julliard 1a982894dd gitlab: Rename build-all job to build-linux.
For symmetry with build-mac.
2022-08-31 17:44:53 +02:00
Jacek Caban 49752f34ca winevulkan: Get rid of unix_funcs. 2022-08-31 17:44:53 +02:00
Jacek Caban 395061e367 winevulkan: Use __wine_unix_call for checking Vulkan functions availability. 2022-08-31 17:44:53 +02:00
Jacek Caban 05d2576b1f winevulkan: Use vk_unix_call in loader.c. 2022-08-31 17:44:53 +02:00
Eric Pouech 9a98276f98 msvcrt: Fix order of extended qualifiers and qualifiers.
Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
2022-08-31 17:44:53 +02:00
Eric Pouech 638b06015b msvcrt: Use enum to clarify post-processing actions.
Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
2022-08-31 17:44:53 +02:00
Eric Pouech 22362757ad msvcrt: Undecorate function signature as template argument.
Introducing get_function_signaturei() to factorize parsing of function
signature.

Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
2022-08-31 17:44:53 +02:00
Eric Pouech 5e37bcf794 msvcrt: Fix white space output for typecast operator.
Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
2022-08-31 17:44:53 +02:00
Eric Pouech 507a02c1d3 msvcrt: Improve support for template in methods.
Adding function template support for methods that need specific
post processing in demangling
(constructor, destructor, cast operator)

Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
2022-08-31 17:44:53 +02:00