Commit graph

165042 commits

Author SHA1 Message Date
Rémi Bernon 0e5b847f85 explorer: Use debugstr_devmodew helper to trace display mode.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=55146
2023-06-28 18:58:39 +02:00
Alistair Leslie-Hughes 8073c6be3f inetcomm: Remove DECLSPEC_HIDDEN usage. 2023-06-28 18:58:04 +02:00
Alistair Leslie-Hughes 19659409ac sapi: Remove DECLSPEC_HIDDEN usage. 2023-06-28 18:58:03 +02:00
Alistair Leslie-Hughes 746fd6a7f5 mapi32: Remove DECLSPEC_HIDDEN usage. 2023-06-28 18:58:01 +02:00
Alistair Leslie-Hughes 73c472e5b5 infosoft: Remove DECLSPEC_HIDDEN usage. 2023-06-28 18:58:00 +02:00
Alistair Leslie-Hughes 5459f05850 mfsrcsnk: Remove DECLSPEC_HIDDEN usage. 2023-06-28 18:57:59 +02:00
Alistair Leslie-Hughes 90df243f8e msdasql: Remove DECLSPEC_HIDDEN usage. 2023-06-28 18:57:58 +02:00
Alistair Leslie-Hughes f934c8879a dpnet/tests: Remove DECLSPEC_HIDDEN usage. 2023-06-28 18:57:56 +02:00
Rémi Bernon 5a9450db7f winegstreamer: Keep the caller result in create_object_context. 2023-06-28 18:57:36 +02:00
Rémi Bernon 70efc785d5 winegstreamer: Return a IMFMediaSource from media_source_constructor. 2023-06-28 18:57:36 +02:00
Rémi Bernon cdecf17dd0 winegstreamer: Simplify media source creation flags handling. 2023-06-28 18:57:36 +02:00
Rémi Bernon 929889ac8d winegstreamer: Return early if no byte stream was provided. 2023-06-28 18:57:36 +02:00
Rémi Bernon 32c748e1c8 winegstreamer: Remove unused props from create_object_context. 2023-06-28 18:57:36 +02:00
Hans Leidekker 9742fe8996 bcrypt: Add RC4 algorithm stub.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=55160
2023-06-28 18:57:22 +02:00
Hans Leidekker 88f4dabc27 winscard: Map only the reader name in map_states_inA/W(). 2023-06-28 18:57:17 +02:00
Hans Leidekker 08a4a9803d winscard: Implement SCARD_AUTOALLOCATE for multi-string return values.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=55137
2023-06-28 18:57:17 +02:00
Arkadiusz Hiler d4b2865eb7 win32u: Don't affect nonclient area unless requested.
The state of the caption / nonclient area should be only changed when
FLASHW_CAPTION or FLASHW_STOP are used.
2023-06-28 18:56:40 +02:00
Xin Xu d291f40472 include: Fix spelling error in InterlockedDecrementSizeT(). 2023-06-28 18:56:28 +02:00
Mohamad Al-Jaf 98b73b5c32 twinapi.appcore: Add UnregisterAppConstrainedChangeNotification() stub. 2023-06-27 22:17:51 +02:00
Mohamad Al-Jaf c12e8f6123 twinapi.appcore: Add RegisterAppConstrainedChangeNotification() stub.
Needed for Age of Wonders 4.
2023-06-27 22:17:30 +02:00
Damjan Jovanovic f70fc9cbfc opengl32: Implement filtering on all the ChoosePixelFormat() flags that are ignored when unset.
When any of these flags:
- PFD_DRAW_TO_WINDOW
- PFD_DRAW_TO_BITMAP
- PFD_SUPPORT_GDI
- PFD_SUPPORT_OPENGL
are set on the PIXELFORMATDESCRIPTOR parameter to ChoosePixelFormat(),
the returned pixel format must also have them set, but when they are
unset, the returned pixel format may or may not have them set.

Also add support for filtering on all these flags. In particular, the
lack of filtering on PFD_SUPPORT_GDI, was causing (at least) Java 1.3
to fail to initialize graphics, because we were returning a pixel
format without the PFD_SUPPORT_GDI flag it asked for.

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=7767
2023-06-27 22:14:16 +02:00
Zebediah Figura f3b28f34c9 opengl32: Do not report a GL version higher than 4.3 on wow64. 2023-06-27 22:14:15 +02:00
Zebediah Figura fd92954df8 opengl32: Do not expose ARB_buffer_storage on wow64. 2023-06-27 22:14:15 +02:00
Jacek Caban b090866663 winegcc: Disable exporting all symbols on mingw targets.
Mingw targets export all symbols by default if there is no explicit
export. We generate export table in winebuild and don't use explicit
exports. This may make linker generate an unused export-all table.

Spotted by Gabriel Ivăncescu.
2023-06-27 22:14:15 +02:00
Jacek Caban 7b9d0a1b6b ieframe: Don't use DECLSPEC_HIDDEN. 2023-06-27 22:14:15 +02:00
Alistair Leslie-Hughes cffe6e0c1a dpvoice: Remove DECLSPEC_HIDDEN usage. 2023-06-27 22:14:15 +02:00
Alistair Leslie-Hughes 907fd64ac5 dplayx: Remove DECLSPEC_HIDDEN usage. 2023-06-27 22:14:15 +02:00
Alistair Leslie-Hughes d17796bcd1 dpnet: Remove DECLSPEC_HIDDEN usage. 2023-06-27 22:14:15 +02:00
Nikolay Sivov 2775fe31cd mfmediaengine/tests: Remove unnecessary broken() result. 2023-06-27 22:14:15 +02:00
Nikolay Sivov 36fcbba73e mfmediaengine/tests: Use correct type for url argument in SetSourceFromByteStream(). 2023-06-27 22:14:15 +02:00
Nikolay Sivov 6b9eb2d09f mfmediaengine/tests: Allocate notification object on heap for frame transfer tests. 2023-06-27 22:14:15 +02:00
Zebediah Figura fdd64782ff d3d11/tests: Use more aligned offsets in test_clear_buffer_unordered_access_view().
Creating a view with an unaligned offset is legal in d3d and
apparently works, both on Windows and Linux, but may violate the
Vulkan specification:

VUID-VkBufferViewCreateInfo-offset-00926(ERROR / SPEC): msgNum: -833749292 - Validation Error: [ VUID-VkBufferViewCreateInfo-offset-00926 ] Object 0: handle = 0x3c000000003c, type = VK_OBJECT_TYPE_BUFFER; | MessageID = 0xce4dfed4 | vkCreateBufferView(): VkBufferViewCreateInfo offset (36) must be a multiple of VkPhysicalDeviceLimits::minTexelBufferOffsetAlignment (16). The Vulkan spec states: offset must be a multiple of VkPhysicalDeviceLimits::minTexelBufferOffsetAlignment (https://www.khronos.org/registry/vulkan/specs/1.2-khr-extensions/html/vkspec.html#VUID-VkBufferViewCreateInfo-offset-00926)

Without any reason to test unaligned buffer views here, just resolve this by changing the test.
2023-06-27 22:14:15 +02:00
Tim Clem 1e21e82859 win32u: Detect a missed WM_LBUTTONUP in the size/move loop. 2023-06-27 22:14:15 +02:00
Michael Stefaniuc 7ae55662a2 wow64win: Remove dangling space after newline in ERR() message. 2023-06-27 22:14:15 +02:00
Michael Stefaniuc 3dfa697b0e windows.gaming.input: Drop superfluous casts to self. 2023-06-27 22:14:15 +02:00
Michael Stefaniuc 3bb5fcd5f3 gdiplus/tests: Remove superfluous casts to self. 2023-06-27 22:14:15 +02:00
Rémi Bernon 341673f669 winegstreamer: Lookup stream handler result using a dedicated helper. 2023-06-27 22:14:15 +02:00
Rémi Bernon 1069d4792c winegstreamer: Rename winegstreamer_stream_handler to stream_handler. 2023-06-27 22:14:15 +02:00
Rémi Bernon 73acbb70d5 winegstreamer: Create and destroy result entries using dedicated helpers. 2023-06-27 22:14:15 +02:00
Rémi Bernon ed9a7b667f winegstreamer: Lookup stream descriptors before starting streams. 2023-06-27 22:14:15 +02:00
Rémi Bernon 25469b5a32 winegstreamer: Keep a reference on the media source start descriptor. 2023-06-27 22:14:15 +02:00
Rémi Bernon b9293a3e66 maintainers: Assume GStreamer media source maintainership. 2023-06-27 22:14:15 +02:00
Joel Holdsworth 1ccd037e00 ntdll: Implement FILE_DISPOSITION_POSIX_SEMANTICS.
Both the Msys2 and Cygwin runtimes make use of
FILE_DISPOSITON_POSIX_SEMANTICS in their implementations of the unlink()
system call. This enables these routines to behave similarly to POSIX where are
unlisted from the directory, if handles are still open.

https://github.com/msys2/msys2-runtime/blob/msys2-3.4.3/winsup/cygwin/syscalls.cc#L722
https://www.cygwin.com/git/?p=newlib-cygwin.git;a=blob;f=winsup/cygwin/syscalls.cc#l724

Signed-off-by: Joel Holdsworth <joel@airwebreathe.org.uk>
2023-06-27 22:14:15 +02:00
Joel Holdsworth f10383e9d0 server: Replace unlink member of closed_fd with disp_flags.
In order to implement FILE_DISPOSITION_POSIX_SEMANTICS, it will be necessary
to add additional flags to closed_fd. In preparation for this, the unlink
member variable has been replaced with disp_flags which directly reflects the
flags defined in the FILE_DISPOSITION_INFORMATION_EX structure.

Signed-off-by: Joel Holdsworth <joel@airwebreathe.org.uk>
2023-06-27 22:14:15 +02:00
Joel Holdsworth 0e6b5811c8 ntdll/tests: Add tests for FILE_DISPOSITION_POSIX_SEMANTICS.
Signed-off-by: Joel Holdsworth <joel@airwebreathe.org.uk>
2023-06-27 22:14:15 +02:00
Joel Holdsworth 146333fed2 ntdll: Implement FILE_DISPOSITION_ON_CLOSE.
The FILE_DELETE_ON_CLOSE can be used with the FILE_DISPOSITION_ON_CLOSE flag
of FileDispositionInformationEx.

Signed-off-by: Joel Holdsworth <joel@airwebreathe.org.uk>
2023-06-27 22:14:15 +02:00
Joel Holdsworth d89ee7c030 ntdll/tests: Add tests for FILE_DISPOSITION_ON_CLOSE.
Signed-off-by: Joel Holdsworth <joel@airwebreathe.org.uk>
2023-06-27 22:14:15 +02:00
Joel Holdsworth 91e442b060 ntdll: Implement FILE_DISPOSITION_IGNORE_READONLY_ATTRIBUTE.
Both the Msys2 and Cygwin runtimes make use of
FILE_DISPOSITION_IGNORE_READONLY_ATTRIBUTE in their implementations of the
unlink() system call. This enables these routines to delete a read-only file
without first modifying the attributes.

https://github.com/msys2/msys2-runtime/blob/msys2-3.4.3/winsup/cygwin/syscalls.cc#L724
https://www.cygwin.com/git/?p=newlib-cygwin.git;a=blob;f=winsup/cygwin/syscalls.cc#l726

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=50771
Signed-off-by: Joel Holdsworth <joel@airwebreathe.org.uk>
2023-06-27 22:14:15 +02:00
Joel Holdsworth cbc1e4423e ntdll/tests: Add tests for FILE_DISPOSITION_IGNORE_READONLY_ATTRIBUTE.
Signed-off-by: Joel Holdsworth <joel@airwebreathe.org.uk>
2023-06-27 22:14:15 +02:00
Joel Holdsworth cc1d0e493d ntdll: Initial implementation of FileDispositionInformationEx.
This is required by Msys2 when running gpg-agent.

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=54996
Signed-off-by: Joel Holdsworth <joel@airwebreathe.org.uk>
2023-06-27 22:14:15 +02:00