Commit graph

158213 commits

Author SHA1 Message Date
Dmitry Timoshkov f2583de38d sechost: Support decimal or octal access rights in ConvertStringSecurityDescriptorToSecurityDescriptor.
Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-07-06 20:32:39 +02:00
Rémi Bernon 4ce220e4e8 win32u: Set generic DEVMODEW fields in NtUserEnumDisplaySettings.
Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
2022-07-06 16:53:27 +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
Rémi Bernon 0f96698b6c win32u: Add invisible winstation virtual monitor outside of nulldrv.
Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
2022-07-06 16:53:27 +02:00
Alexandre Julliard 5414f648ee server: Implement unlink_name() for registry keys.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-07-06 16:02:48 +02:00
Alexandre Julliard 617cc989f0 server: Store the key parent in the standard object name structure.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-07-06 16:02:48 +02:00
Alexandre Julliard e3c32904b2 server: Use the standard object name for registry keys.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-07-06 16:02:48 +02:00
Alexandre Julliard 6bed417bb7 server: Store a pointer to the Wow6432Node subkey.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-07-06 16:02:48 +02:00
Alexandre Julliard 42fe58a452 win32u: Add missing terminating null on a GUID string.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-07-06 16:02:48 +02:00
Alexandre Julliard 4bf9d2403f ntdll: Fix the return value of NtQueryKey for a short buffer.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-07-06 16:02:48 +02:00
Alexandre Julliard 41751e6170 ntdll/tests: Remove todo from tests that succeed now.
Tests fixed by 95ddb7576d.

Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-07-06 16:02:48 +02:00
Claire Girka 7dff198c7c winepulse: Don't probe default devices twice.
Also drop global format and period variables
2022-07-06 16:02:48 +02:00
Claire Girka 45a3bfa223 winepulse: Use stream-specific period in pulse_get_latency. 2022-07-06 16:02:48 +02:00
Claire Girka b4aa68c9c7 winepulse: Store and use device period on stream creation. 2022-07-06 16:02:48 +02:00
Claire Girka 32a6380825 winepulse: Fix memory leak in pulse_create_stream in some error cases. 2022-07-06 16:02:48 +02:00
Claire Girka dee45f9bb7 winepulse: Remove unused pulse_config. 2022-07-06 16:02:48 +02:00
Claire Girka 7a742c49e4 winepulse: Return device-specific values for GetDevicePeriod. 2022-07-06 16:02:48 +02:00
Claire Girka 227724e0ec winepulse: Return device-specific values for GetMixFormat.
When GetMixFormat is used, return values specific to the selected device
instead of those of the default one. This is especially useful when the
default audio device features less channels than one specifically selected
by the application.
2022-07-06 16:02:48 +02:00
Claire Girka 5302181eb0 winepulse: Store device-specific format and periods.
In addition to those of the default device, also store device-specific format
and periods so that they can be returned on GetMixFormat and GetPeriod calls.
2022-07-06 16:02:48 +02:00
Zhiyi Zhang 8d69490fb7 uxtheme: Use system DPI for OpenThemeData() without valid window handles.
Tested manually on Wine for 96, 120, 144, 168, 192 and 216 DPI.

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=53298
Signed-off-by: Zhiyi Zhang <zzhang@codeweavers.com>
2022-07-06 16:02:48 +02:00
Zhiyi Zhang e2daffda25 uxtheme/tests: Add more GetThemePartSize() tests in different DPI.
To test that GetThemePartSize() should always report theme part size in system DPI if the theme
handle is open without a valid window handle. Previous tests succeeded because the current DPI
happens to be 96.

Tested manually on Windows 10 for 96, 120, 144, 168, 192 and 216 DPI.

Signed-off-by: Zhiyi Zhang <zzhang@codeweavers.com>
2022-07-06 16:02:48 +02:00
Hans Leidekker 738a5b53a4 secur32: Validate input buffers in schan_InitializeSecurityContextW().
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=53309
2022-07-06 16:02:48 +02:00
Zebediah Figura 7623d0a6f5 d3d9/tests: Build without -DWINE_NO_LONG_TYPES. 2022-07-06 16:02:48 +02:00
Zebediah Figura c6da355148 d3d9/tests: Make getPixelColor() checks into actual ok() calls.
These should never fail.
2022-07-06 16:02:48 +02:00
Hans Leidekker f83a66f052 wininet: Always reset the second input buffer in netcon_secure_connect_setup(). 2022-07-06 16:02:48 +02:00
Hans Leidekker b349a3e375 winhttp: Always reset the second input buffer in netcon_secure_connect(). 2022-07-06 16:02:48 +02:00
Tim Clem 6c465ae8ef mountmgr.sys: Always set the return size from dhcp_request implementations.
Also return STATUS_SUCCESS rather than 0 in early-out cases.

Signed-off-by: Tim Clem <tclem@codeweavers.com>
2022-07-05 22:23:18 +02:00
Dmitry Timoshkov 3f36d7e25b d2d1/tests: Fix compilation with clang.
../wine.src/dlls/d2d1/tests/d2d1.c:11078:11: error: cannot combine with previous 'type-name' declaration specifier
    INT32 _int32;
          ^
../wine.src/dlls/d2d1/tests/d2d1.c:11078:5: warning: declaration does not declare anything [-Wmissing-declarations]
    INT32 _int32;
    ^~~~~~~~~~~~

Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-07-05 19:13:36 +02:00
Nikolay Sivov a2f8f5f93f wmic: Handle properly list for GET verb.
Instead of querying all properties and then matching to requested one,
first check if all requested properties are supported by given class.
Then select just that subset.

Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
2022-07-05 19:06:12 +02:00
Jan Sikorski 4c96a51bdb wined3d: Add missing copy offset in wined3d_texture_vk_upload_data().
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=53307
Signed-off-by: Jan Sikorski <jsikorski@codeweavers.com>
2022-07-05 16:45:09 +02:00
Alexander Wilms 1a2aa0b0be ntoskrnl: Add KeQueryPriorityThread stub.
Signed-off-by: Alexander Wilms <f.alexander.wilms@gmail.com>
2022-07-05 16:40:49 +02:00
Alexandre Julliard 9c551448cb server: Prevent infinite symlink recursion in lookup_named_object().
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-07-05 14:33:55 +02:00
Alexandre Julliard 248231468d server: Avoid potential NULL dereference in create_named_object().
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-07-05 14:33:33 +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
Alexandre Julliard ec8edb66df server: Fix access check for NtQueryKey.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-07-05 14:08:43 +02:00
Alexandre Julliard 95ddb7576d ntdll: Fix returned error for NtCreateKey with empty name.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-07-05 14:06:39 +02:00
Alexandre Julliard a4373db64e ntdll/tests: Add a few more tests for registry path names.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-07-05 14:00:38 +02:00
Alexandre Julliard aca2cac6e2 ntdll/tests: Remove some workarounds for older Windows versions.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-07-05 14:00:38 +02:00
Alexandre Julliard e76c07d4e7 advapi32/tests: Remove some workarounds for older Windows versions.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-07-05 14:00:38 +02:00
Nikolay Sivov ec097bc1b0 mf/samplegrabber: Consistently check for shutdown flag within a lock.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
2022-07-05 12:34:03 +02:00
Nikolay Sivov 568b4bc902 mf/sar: Consistently check for shutdown flag within a lock.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
2022-07-05 12:34:03 +02:00
Nikolay Sivov 5981f2ed73 mf/evr: Consistently check for shutdown flag within a lock.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
2022-07-05 12:34:03 +02:00
Zebediah Figura d4bb82af35 wineusb.sys: Complete IRPs through the event thread. 2022-07-05 12:34:03 +02:00
Zebediah Figura f8e5e72a59 wineusb.sys: Report new devices through the event thread. 2022-07-05 12:34:03 +02:00
Zebediah Figura 4ed2502805 wineusb.sys: Remove devices through the event thread. 2022-07-05 12:34:03 +02:00
Zebediah Figura 4434897096 wineusb.sys: Spawn a separate thread to consume Unix library events. 2022-07-05 12:34:03 +02:00
Rémi Bernon 4676273b88 mf: Add error cases for MFGetTopoNodeCurrentType.
Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
2022-07-05 12:34:03 +02:00
Rémi Bernon b43e4a54e2 mf/tests: Add more MFGetTopoNodeCurrentType tests.
Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
2022-07-05 12:34:03 +02:00
Rémi Bernon a3b3708134 winegstreamer: Fix ColorConvert transform GetCurrent(Input|Output)Type.
Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
2022-07-05 12:34:03 +02:00
Rémi Bernon 963f76180b winegstreamer: Fix Resampler transform GetCurrent(Input|Output)Type.
Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
2022-07-05 12:34:03 +02:00