Commit graph

15955 commits

Author SHA1 Message Date
Santino Mazza 4a395899ea bcrypt/tests: Test for BCryptEncrypt with RSA keys.
Signed-off-by: Santino Mazza <mazzasantino1206@gmail.com>
2022-08-03 15:09:02 +02:00
Shaun Ren ac90bc1e16 webservices: Support faults in error.
Signed-off-by: Shaun Ren <sren@codeweavers.com>
2022-08-03 15:09:02 +02:00
Shaun Ren da77cc8cfd webservices: Implement error strings.
Signed-off-by: Shaun Ren <sren@codeweavers.com>
2022-08-03 15:08:00 +02:00
Nikolay Sivov f01852756d include: Fix ID2D1CommandSink definition.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
2022-08-03 15:07:27 +02:00
Zebediah Figura 5b1bb09bbd include: Print "test succeeded" messages in colour. 2022-08-02 21:49:55 +02:00
Zebediah Figura 2bf75f9106 include: Print "test skipped" messages in colour. 2022-08-02 21:49:55 +02:00
Zebediah Figura 90cdc49d26 include: Print "test marked todo" messages in colour. 2022-08-02 21:49:54 +02:00
Zebediah Figura 05386fd0ac include: Print "succeeded inside todo block" messages in colour. 2022-08-02 21:49:54 +02:00
Rafał Harabień 549969a6fb include: Allow printing test failure messages in bright red.
Colours are disabled by default, and can be enabled using WINETEST_COLOR=1.
2022-08-02 21:49:54 +02:00
Zebediah Figura 0ee74e9f81 d3d9: Cache the output mode list.
Garou: Mark of the Wolves calls IDirect3D9::GetAdapterModeCount() on every
frame. This results in calling EnumDisplaySettingsExW() once per available mode,
which is a very slow operation, both on Windows and Wine.

Manual testing shows that Windows caches the mode list (as well as the adapter
list, which is already cached in Wine) in Direct3D 9 and lower. Calls to
GetAdapterModeCount() and EnumAdapterDisplayModes() are fast, and they also do
not change if monitors are added or removed.

DXGI behaves differently, however. The list of outputs attached to an adapter is
cached—that is, calls to IDXGIAdapter::EnumOutputs() are fast, and return stale
data. However, at least some other calls are slow and do not seem to be cached,
including IDXGIOutput::GetDisplayModeList() and IDXGIOutput::GetDesc().

ddraw is also slow and uncached. Since all testing was done on Windows 10 (for
lack of available older hardware to test with) it is not unlikely that ddraw was
reimplemented over dxgi on newer Windows, and that older Windows versions would
be fast and cached, but this is speculation. In any case I have not included
patches to cache ddraw modes.

Tests were done on Windows 10 21H2, both on real hardware with NVidia drivers
and on software drivers via qemu/KVM. In the latter case only speed could be
tested, but this was consistent with the results from the NVidia machine.
2022-08-02 21:49:54 +02:00
Zebediah Figura 95352c096f wined3d: Build a list of wined3d_display_mode structures in wined3d_output_get_mode[_count](). 2022-08-02 21:49:54 +02:00
Gabriel Ivăncescu 434f9f1404 include: Add DOMDocumentType dispinterface and coclass.
Signed-off-by: Gabriel Ivăncescu <gabrielopcode@gmail.com>
2022-07-29 18:56:04 +02:00
Gabriel Ivăncescu fbefdd6753 include: Add IHTMLDOMNode3 to the HTMLDOMNode dispinterfaces.
Signed-off-by: Gabriel Ivăncescu <gabrielopcode@gmail.com>
2022-07-29 18:56:03 +02:00
Rémi Bernon 1587e9db88 win32u: Implement NtUserGetRegisteredRawInputDevices on the client side. 2022-07-28 20:08:58 +02:00
Alexandre Julliard 872dc83e81 makefiles: List all headers in the makefile.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-07-28 17:46:50 +02:00
Jacek Caban fa7aaca9f1 win32u: Remove no longer needed exports. 2022-07-28 17:34:03 +02:00
Jacek Caban 3dc3709f4c win32u: Introduce NtUserGetDialogProc.
And use it in user32 instead of DEFDLG_GetDlgProc.
2022-07-28 17:34:03 +02:00
Jacek Caban 1cd5702d9f win32u: Introduce NtUserGetDialogInfo and NtUserSetDialogInfo.
And use it instead of accessing window object from user32.
2022-07-28 17:34:03 +02:00
Jacek Caban 11657aab27 user32: Avoid using WIN_GetPtr for window handle validation.
We will eventually want to make GetWindowThreadProcessId fast (probably based on shared handle table) instead of calling win32u.
2022-07-28 17:34:03 +02:00
Jacek Caban 68bb2f62e9 winevulkan: Remove __wine_get_vulkan_driver PE entry point. 2022-07-27 23:07:07 +02:00
Rémi Bernon 20414797ed win32u: Introduce new add_mode device manager callback.
And use it to enumerate display modes in winex11 and wineandroid.
2022-07-27 23:07:06 +02:00
Claire Girka f7f109d9d3 setupapi: Add support for SPDRP_BASE_CONTAINERID. 2022-07-25 11:22:27 +02:00
Francois Gouget 04c7ff2c2f include: Add some SPI_ constants.
They pop up in some failure messages.

Signed-off-by: Francois Gouget <fgouget@free.fr>
2022-07-25 09:38:26 +02:00
Jacek Caban 88462d9127 win32u: Get rid of no longer needed NtUserSetCallbacks. 2022-07-21 23:03:29 +02:00
Jacek Caban 2ef6a6eee6 win32u: Remove no longer needed NtUserDispatchMessageA. 2022-07-21 23:03:29 +02:00
Jacek Caban 26a4fb74ee user32: Avoid using NtUserDispatchMessage in DispatchMessage.
When possible, call window proc on PE side to allow unwinding exceptions through DispatchMessageW call.
2022-07-21 23:03:29 +02:00
Connor McAdams 93d6b5a4ff include: Add CUIAutomationRegistrar definition.
Signed-off-by: Connor McAdams <cmcadams@codeweavers.com>
2022-07-21 20:22:21 +02:00
Zhiyi Zhang 4e23e412ea include: Add IMediaParamInfo definition.
Signed-off-by: Zhiyi Zhang <zzhang@codeweavers.com>
2022-07-20 22:33:44 +02:00
Connor McAdams bc584afad9 uiautomationcore: Implement UiaNodeRelease.
Signed-off-by: Connor McAdams <cmcadams@codeweavers.com>
2022-07-19 11:06:17 +02:00
Connor McAdams ab4a0017e6 uiautomationcore: Implement UiaNodeFromProvider.
Signed-off-by: Connor McAdams <cmcadams@codeweavers.com>
2022-07-19 11:06:16 +02:00
Connor McAdams 7840615361 uiautomationcore: Add stub UiaGetPropertyValue implementation.
Signed-off-by: Connor McAdams <cmcadams@codeweavers.com>
2022-07-19 11:06:15 +02:00
Connor McAdams 4d12d83d47 include: Define UI Automation Property GUIDs.
Signed-off-by: Connor McAdams <cmcadams@codeweavers.com>
2022-07-19 11:06:12 +02:00
Francois Gouget 3ff91992d4 include: Fix the spelling of some comments.
Signed-off-by: Francois Gouget <fgouget@free.fr>
2022-07-18 19:44:12 +02:00
Paul Gofman 0f337f3d8e ntdll: Fixup ICMP packet id if SOCK_DGRAM fallback is used.
Signed-off-by: Paul Gofman <pgofman@codeweavers.com>
2022-07-18 10:39:41 +02:00
Zhiyi Zhang f6206bccde include: Add SHOpenFolderAndSelectItems() declaration and flags.
Signed-off-by: Zhiyi Zhang <zzhang@codeweavers.com>
2022-07-15 20:01:05 +02:00
Dmitry Timoshkov f81c82d49e winspool.drv: Implement OpenPrinter2.
Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-07-15 17:42:53 +02:00
Georg Lehmann fa8c7a6e04 winevulkan: Update to VK spec version 1.3.221.
Signed-off-by: Georg Lehmann <dadschoorse@gmail.com>
2022-07-14 19:01:35 +02:00
Jinoh Kang fa005a6c90 include: Add definition for NtSetInformationVirtualMemory.
Signed-off-by: Jinoh Kang <jinoh.kang.kr@gmail.com>
2022-07-13 16:10:05 +02:00
Jinoh Kang 67e4807ba5 include: Move WIN32_MEMORY_RANGE_ENTRY from winnt.h to winbase.h.
Signed-off-by: Jinoh Kang <jinoh.kang.kr@gmail.com>
2022-07-13 16:10:04 +02:00
Alexandre Julliard 348eebae87 include: Remove wine/unicode.h. 2022-07-13 12:50:07 +02:00
Zebediah Figura 55223e2573 wined3d: Introduce a wined3d_streaming_buffer helper. 2022-07-12 22:51:29 +02:00
Hans Leidekker 19d18bbbc3 include: Fix a typo. 2022-07-12 22:51:29 +02:00
Jacek Caban d3c57dec71 win32u: Use KeUserModeCallback interface for DDE message callbacks. 2022-07-12 22:51:29 +02:00
Jacek Caban 0826fbbb74 win32u: Use KeUserModeCallback for ImmProcessKey and ImmTranslateMessage calls. 2022-07-12 22:51:29 +02:00
Jacek Caban 047d74c4b1 win32u: Move default IME window management from imm32. 2022-07-12 22:51:29 +02:00
Jacek Caban f5b3283e24 win32u: Move window input context handling from imm32. 2022-07-12 22:51:29 +02:00
Jacek Caban 3e8a4b671d imm32: Store message spy pointer in TEB. 2022-07-12 22:51:29 +02:00
Eric Pouech 437e73883b mscvpdb.h: Use bitfield for defrange's variable flag.
Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
2022-07-12 22:51:29 +02:00
Jacek Caban 7babf75789 imm32: Move default IMM window proc implementation from user32. 2022-07-11 18:56:17 +02:00
Jacek Caban d9fc5b3f96 win32u: Implement input context object. 2022-07-11 18:56:16 +02:00
Paul Gofman 5f3cd85361 crypt32: Support MICROSOFT_ROOT_CERT_CHAIN_POLICY_CHECK_APPLICATION_ROOT_FLAG.
Signed-off-by: Paul Gofman <pgofman@codeweavers.com>
2022-07-11 18:55:11 +02:00
Dmitry Timoshkov 82c30480c9 include: Fix a typo in _InterlockedXor64() intrinsic declaration.
Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-07-07 19:10:02 +02:00
Rémi Bernon 360f12d307 win32u: Move default UpdateDisplayDevices implementation out of nulldrv.
Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
2022-07-06 16:53:27 +02:00
Alexandre Julliard 68a69b51bb server: Return the standard status code when the key exists in NtCreateKey.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-07-05 14:19:00 +02:00
Jacek Caban c9c69dff7e win32u: Support undocumented SIF_RETURNPREV flag in set_scroll_info. 2022-07-05 12:34:03 +02:00
Jacek Caban 79910bcf83 user32: Pass scroll enable flags to ScrollBarDraw. 2022-07-04 20:14:02 +02:00
Jacek Caban 419893519c win32u: Move scroll tracking implementation from user32. 2022-07-04 20:14:02 +02:00
Jacek Caban 22cab055e4 win32u: Partially move ScrollBarWndProc implementation from user32. 2022-07-04 20:14:02 +02:00
Jacek Caban b4ba6de6e1 win32u: Move NtUserShowScrollBar implementation from user32. 2022-07-04 20:14:02 +02:00
Piotr Caban 9c2f037b3f d3dx10: Add D3DX10CreateThreadPump stub.
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
2022-07-04 17:48:00 +02:00
Georg Lehmann fda62d4b19 winevulkan: Update to VK spec version 1.3.219.
Signed-off-by: Georg Lehmann <dadschoorse@gmail.com>
2022-06-30 19:03:01 +02:00
Zebediah Figura 0a93089019 win32u: Move raw input device list management from user32. 2022-06-30 10:54:17 +02:00
Zebediah Figura cbbab65571 win32u: Move NtUserGetRegisteredRawInputDevices from user32. 2022-06-30 10:54:16 +02:00
Zebediah Figura 0ce4ed675f win32u: Move NtUserRegisterRawInputDevices from user32. 2022-06-30 10:54:12 +02:00
Alexandre Julliard e2d96342df makefiles: Use the defined external lib variables also when building the libs themselves.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-06-29 23:23:41 +02:00
Eric Pouech eb14fad72a mscvpdb.h: Redefine property with bitfields.
Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
2022-06-28 20:30:05 +02:00
Eric Pouech b7c231c78f dbghelp: Rely on first/last type index from type header.
Code now follows these guidelines:
- define PDB & Codeview internals in cvconst.h and mscvinfo.h (instead
  of having definitions in .c files, some of them being duplicate of .h
  content, and their "duplicate" values eventually diverged over time)
- index of first type comes from PDB type header (instead of always being
  hardcoded as FIRST_DEFINABLE_TYPE)
- use index of last typex from type header (instead of guessing the right
  value while parsing types, which also allows a single allocation
  instead of enlarging buffer while parsing).

Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
2022-06-28 20:30:05 +02:00
Eric Pouech ba12b5ae88 winedump: Explore a bit more TPI hash elements.
Rename a couple of fields in PDB structures for clarity.

Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
2022-06-28 20:24:18 +02:00
Nikolay Sivov 1fb6f27144 ntdll: Implement NtRenameKey().
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
2022-06-28 15:54:15 +02:00
Nikolay Sivov 440d37172d advapi32/tests: Add some tests for RegRenameKey().
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
2022-06-28 15:39:55 +02:00
Jacek Caban e411b98155 win32u: Move NtUserGetSystemMenu implementation from user32. 2022-06-27 22:58:21 +02:00
Jacek Caban 2bd0c87278 win32u: Move GetMenuDefaultItem implementation from user32. 2022-06-27 22:58:21 +02:00
Nikolay Sivov bf0c621cbd d2d1/effect: Initial implementation of property access methods.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
2022-06-27 11:23:32 +02:00
Jacek Caban 313f75a0af user32: Use NtUserThunkedMenuItemInfo for GetSubMenu implementation. 2022-06-24 22:38:47 +02:00
Jacek Caban d7dba1ed74 win32u: Move CheckMenuRadioItem implementation from user32. 2022-06-24 22:38:47 +02:00
Alexandre Julliard a40973f204 include: Add a number of 64-bit interlocked functions.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-06-23 10:55:06 +02:00
Zhiyi Zhang 71bef6c985 uxtheme: Support parsing more window parts and states.
Signed-off-by: Zhiyi Zhang <zzhang@codeweavers.com>
2022-06-23 10:54:06 +02:00
Zhiyi Zhang 84c83af00b uxtheme: Support parsing more tooltip parts and states.
Signed-off-by: Zhiyi Zhang <zzhang@codeweavers.com>
2022-06-23 10:54:06 +02:00
Zhiyi Zhang f6f07e0c6d uxtheme: Support parsing more toolbar parts and states.
Signed-off-by: Zhiyi Zhang <zzhang@codeweavers.com>
2022-06-23 10:54:06 +02:00
Zhiyi Zhang 4d42d20e42 uxtheme: Support parsing taskdialog class.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=53066
Signed-off-by: Zhiyi Zhang <zzhang@codeweavers.com>
2022-06-23 10:54:06 +02:00
Biswapriyo Nath 827839a616 include: Add IDXGIDebug1 declaration in dxgidebug.idl.
Signed-off-by: Biswapriyo Nath <nathbappai@gmail.com>
2022-06-22 22:35:24 +02:00
Biswapriyo Nath 21df12f1ac include: Add IDXGIInfoQueue declaration in dxgidebug.idl.
Signed-off-by: Biswapriyo Nath <nathbappai@gmail.com>
2022-06-22 22:35:24 +02:00
Zhiyi Zhang 461c49ec84 uxtheme: Support parsing more scrollbar parts and states.
Signed-off-by: Zhiyi Zhang <zzhang@codeweavers.com>
2022-06-22 17:33:04 +02:00
Jacek Caban 9f267c2258 win32u: Move GetMenuItemID implementation from user32.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
2022-06-21 18:53:18 +02:00
Jacek Caban 7099c8d7e8 win32u: Move get_menu_item_info implementation from user32.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
2022-06-21 18:53:18 +02:00
Hans Leidekker 4ce39cd09b include: Move SECPKG_ATTR defines to a new header and add missing definitions. 2022-06-21 18:53:18 +02:00
Zhiyi Zhang bfb49ad04c comctl32/toolbar: Add support for TBCDRF_NOBACKGROUND.
Tested manually on XP, Win 7 and Win 10.

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=53049
Signed-off-by: Zhiyi Zhang <zzhang@codeweavers.com>
2022-06-21 18:40:25 +02:00
Zhiyi Zhang b334d89d5d uxtheme: Support parsing more combobox parts and states.
Signed-off-by: Zhiyi Zhang <zzhang@codeweavers.com>
2022-06-21 18:40:25 +02:00
Zhiyi Zhang f1aa061d8f uxtheme: Support parsing more clock states.
Signed-off-by: Zhiyi Zhang <zzhang@codeweavers.com>
2022-06-21 18:40:25 +02:00
Zhiyi Zhang 22adfc67b4 uxtheme: Support parsing more button parts and states.
Signed-off-by: Zhiyi Zhang <zzhang@codeweavers.com>
2022-06-21 18:40:25 +02:00
Jacek Caban 3ec9c2990b win32u: Move WM_APPCOMMAND implementation from user32.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
2022-06-20 20:54:41 +02:00
Jactry Zeng 0395988052 include: Add definition of ScriptPlaceOpenType().
Signed-off-by: Jactry Zeng <jzeng@codeweavers.com>
2022-06-20 10:53:06 +02:00
Daniel Lehman c695ec59b1 include: Add _tcsto[u]ll declarations.
Signed-off-by: Daniel Lehman <dlehman25@gmail.com>
2022-06-20 10:37:56 +02:00
Zebediah Figura 591fd06b6c win32u: Move NtUserGetRawInputBuffer from user32. 2022-06-17 20:37:56 +02:00
Zebediah Figura db43005cd8 win32u: Move NtUserGetRawInputData from user32. 2022-06-17 20:37:54 +02:00
Stefan Dösinger 9618f5ab8f include: Emit CFI directives when building on Mac with gcc.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=53157
Signed-off-by: Stefan Dösinger <stefan@codeweavers.com>
2022-06-17 18:08:08 +02:00
Jacek Caban 86f9c8b1f6 win32u: Move NtUserGetTitleBarInfo implementation from user32.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
2022-06-17 18:06:53 +02:00
Jacek Caban 67e39efb75 win32u: Move NtUserDrawCaptionTemp implementation from user32.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
2022-06-17 18:06:53 +02:00
Jacek Caban b9d8a842f0 win32u: Move menu tracking implementation from user32.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
2022-06-16 19:29:10 +02:00
Andrew Eikum 712c547e08 include: Remove duplicate ICodecAPI::GetParameterValues function.
Signed-off-by: Andrew Eikum <aeikum@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-06-15 22:21:34 +02:00