Commit graph

16326 commits

Author SHA1 Message Date
Alex Henrie 8fb04515cf wldap32: Implement setting LDAP_OPT_SERVER_CERTIFICATE and add tests.
ctxt_handle is moved to the top of struct tlsw_session so that it can be
easily retrieved via LDAP_OPT_X_TLS_SSL_CTX.

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=54727
2023-03-30 20:28:28 +02:00
Mohamad Al-Jaf 4fab9ff230 cfgmgr32: Implement CM_MapCrToWin32Err.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=53781
2023-03-30 18:47:19 +02:00
Biswapriyo Nath 8a07ffd965 include: Add Windows.System.DispatcherQueue definition.
Signed-off-by: Biswapriyo Nath <nathbappai@gmail.com>
2023-03-29 22:29:38 +02:00
Biswapriyo Nath 52b832c7e3 include/windows.system.idl: Update file to newer formatting.
I.e. get rid of nested namespaces and forward declares,
separate attributes with commas and right align pointer declarations.

Signed-off-by: Biswapriyo Nath <nathbappai@gmail.com>
2023-03-29 22:29:38 +02:00
Rémi Bernon 0ddad3564f imm32: Update existing input contexts on layout change. 2023-03-29 22:29:37 +02:00
Zebediah Figura 5a37d94bea wined3d: Pass parent ops to wined3d_rendertarget_view_set_parent(). 2023-03-29 22:29:37 +02:00
Stefan Dösinger 723cd0a4ae wined3d: Make video memory accounting a per-resource flag.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=54701
2023-03-28 11:43:38 +02:00
Mohamad Al-Jaf 4eb5616e8d include: Add windows.graphics.capture.idl file. 2023-03-27 11:04:13 +02:00
Biswapriyo Nath 787c3f73f8 include: Fix c++ compiler error with msxml2.idl.
This moves ISAXXMLFilter declaration after its base class ISAXXMLReader.
Otherwise the following error is shown in C++ mode

$ wineg++ test-msxml2.cpp
In file included from test-msxml2.cpp:1:
/usr/include/wine/windows/msxml2.h:16199:24: error: invalid use of incomplete type ‘struct ISAXXMLReader’
16199 | ISAXXMLFilter : public ISAXXMLReader
|                        ^~~~~~~~~~~~~
/usr/include/wine/windows/msxml2.h:644:19: note: forward declaration of ‘struct ISAXXMLReader’
644 | typedef interface ISAXXMLReader ISAXXMLReader;
|                   ^~~~~~~~~~~~~
winegcc: /usr/bin/g++ failed

Signed-off-by: Biswapriyo Nath <nathbappai@gmail.com>
2023-03-27 11:03:27 +02:00
Mohamad Al-Jaf 58a2532a37 include: Add windows.graphics.effects.idl file.
Needed for mingw Firefox build.
2023-03-24 16:06:08 +01:00
Alistair Leslie-Hughes dc32c192c3 include: Add Missing IUISettings interfaces. 2023-03-24 16:06:08 +01:00
Alexandre Julliard 75ab843114 vkd3d: Import upstream release 1.7. 2023-03-24 13:02:45 +01:00
Zebediah Figura d8d8774568 include: Add D3D10CalcSubresource(). 2023-03-23 16:44:34 +01:00
Zebediah Figura fae48444af include: Use hexadecimal constants for XAudio flags. 2023-03-23 16:44:34 +01:00
Alex Henrie 44e1e9438c include: Allow multiple definitions on GCC with DECLSPEC_SELECTANY.
Needed to compile Tera Term.

As far as I can tell, GCC has always supported __attribute__((weak)).
2023-03-22 20:03:52 +01:00
Biswapriyo Nath 8204a0b864 include: Add missing TS_STATUS constants in textstor.idl.
Signed-off-by: Biswapriyo Nath <nathbappai@gmail.com>
2023-03-22 20:03:52 +01:00
Zebediah Figura a18bc5f9d7 wined3d: Pass parent ops to wined3d_resource_set_parent().
So that we can "detach" a wined3d surface from ddraw after creating it, in turn
so that we can recreate the backing wined3d texture for a surface, namely for
SetSurfaceDesc().
2023-03-22 20:03:51 +01:00
Zebediah Figura 4f8635bd78 wined3d: Pass parent ops to wined3d_texture_set_sub_resource_parent().
So that we can allow setting the sub resource and parent ops not from the
texture_sub_resource_created() callback, and also that we can "detach" a wined3d
surface from ddraw after creating it, so that we can recreate the backing
wined3d texture, viz. in SetSurfaceDesc().
2023-03-22 20:03:51 +01:00
Alexandre Julliard 687068e7d6 include: Declare some missing ntdll functions, and fix the sorting. 2023-03-22 20:03:51 +01:00
Alex Henrie 1512112841 include: Annotate ldap_(*_attribute|get_dn)* with __WINE_(DEALLOC|MALLOC). 2023-03-22 20:03:51 +01:00
Biswapriyo Nath 26eb50e494 include: Add IDirectManipulationInteractionEventHandler declaration in directmanipulation.idl.
Signed-off-by: Biswapriyo Nath <nathbappai@gmail.com>
2023-03-21 15:33:45 +01:00
Alex Henrie fd99bd4e24 include: Annotate LDAP allocation functions with __WINE_(DEALLOC|MALLOC). 2023-03-20 21:27:44 +01:00
Rémi Bernon 7ecb144656 win32u: Stub NtUserBuildHimcList syscall. 2023-03-20 17:10:45 +01:00
Mohamad Al-Jaf 0f01852333 include: Add IHolographicSpaceStatics3 interface definition. 2023-03-17 11:55:46 +01:00
Mohamad Al-Jaf 83e8ff0b15 include: Add IHolographicSpaceStatics2 interface definition. 2023-03-17 11:55:38 +01:00
Mohamad Al-Jaf e98c7a0fcd include: Add windows.graphics.holographic.idl file. 2023-03-17 11:55:38 +01:00
Mohamad Al-Jaf 923a1b4e5c include: Add Windows.Foundation.Deferral definition.
Needed by windows.graphics.holographic.idl.
2023-03-17 11:55:36 +01:00
Mohamad Al-Jaf 3d3076b2ab include: Add windows.graphics.directx.direct3d11.idl file.
Needed by windows.graphics.holographic.idl.
2023-03-17 11:55:34 +01:00
Rémi Bernon cefe42dfeb include: Add some dinput.h action semantics definitions. 2023-03-16 17:36:58 +01:00
Alexandros Frantzis 50c1b1974f winewayland.drv: Perform basic per-process Wayland initialization.
Try to connect to the Wayland compositor, and fail driver initialization
if we are unable to do so.

Signed-off-by: Alexandros Frantzis <alexandros.frantzis@collabora.com>
2023-03-16 12:52:37 +01:00
Alexandre Julliard 5a1d431b4b ntdll: Implement NtWow64IsProcessorFeaturePresent(). 2023-03-15 11:48:57 +01:00
Alexandre Julliard c44e58c88b ntdll: Implement the SystemProcessorFeaturesInformation query. 2023-03-14 17:38:51 +01:00
Alexandre Julliard 37628a7732 wow64: Implement Wow64RaiseException(). 2023-03-09 17:31:26 +01:00
Alexandre Julliard 3e3af62be9 wow64: Create the WOW64INFO structure. 2023-03-09 17:31:26 +01:00
Zebediah Figura c2018ff466 win32u: Allow separately storing the internal pixel format set by WGL_WINE_pixel_format_passthrough. 2023-03-09 15:02:45 +01:00
Zebediah Figura 463a11379b win32u: Introduce a win32u_get_window_pixel_format() helper. 2023-03-09 15:02:42 +01:00
Zebediah Figura b545ca0f9b win32u: Make NtUserSetWindowPixelFormat() into a proper export.
This is simpler in general, given that this function is no longer used
from user-space. In this particular case, the secondary purpose is to
allow easily adding arguments to the function.
2023-03-09 15:02:38 +01:00
Brendan Shanks d7d94ed0df kernelbase: Implement DiscardVirtualMemory(). 2023-03-08 17:49:00 +01:00
Alexandre Julliard fa47ea7400 server: Determine the native thread context flags on the client side. 2023-03-08 12:43:20 +01:00
Mohamad Al-Jaf 79a7c7ca40 include: Add windows.perception.spatial.surfaces.idl file. 2023-03-07 18:36:26 +01:00
Mohamad Al-Jaf 16b3b79105 include: Add windows.graphics.directx.idl file.
Needed by windows.perception.spatial.surfaces.idl.
2023-03-07 18:36:25 +01:00
Mohamad Al-Jaf 9065c6637e include: Add windows.perception.spatial.idl file.
Needed by windows.perception.spatial.surfaces.idl.
2023-03-07 18:36:23 +01:00
Alexandre Julliard 63a781de1d wow64: Declare exported functions in winternl.h. 2023-03-07 17:25:08 +01:00
Alexandre Julliard c244fe3d27 wow64: Keep track of APC stack frames, similarly to user callback frames.
And use the appropriate frame to restore the context in NtContinue.
2023-03-07 17:25:08 +01:00
Georg Lehmann 1eed39fffe winevulkan: Update to VK spec version 1.3.242. 2023-03-06 11:10:34 +01:00
Brendan Shanks ac031bff9e kernel32: Implement GetFirmwareType(). 2023-03-06 11:09:03 +01:00
Mohamad Al-Jaf c78cd3f554 include: Add more Windows.Foundation.Numerics structs. 2023-03-03 11:16:22 +01:00
Henry Goffin 0e85ac17a4 win32u: Invalidate all cached keys after input.
This patch addresses an issue in Second Life and potentially other
multi-threaded applications which process WM_KEYDOWN in one thread
and then verify that the key is "still down" with GetAsyncKeyState
from another thread. Wine uses a per-thread key cache, resulting
in inconsistent views of key status. Caches are now invalidated
when an input event is injected by the driver or via SendInput.
2023-03-02 10:20:01 +01:00
Alex Henrie b9627b996f ntoskrnl: Add ExGetPreviousMode and test.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=54378
2023-03-01 21:39:30 +01:00
Alexandre Julliard d5468b9cac ntdll: Implement RtlAddProcessTrustLabelAce(). 2023-03-01 21:39:30 +01:00