Alexandre Julliard
569c27945e
server: Use standard named object functions for registry keys.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-07-07 19:10:02 +02:00
Alexandre Julliard
b79ff648ef
server: Implement lookup_name() for registry keys.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-07-07 19:10:02 +02:00
Alexandre Julliard
6a7a7bbe97
server: Implement link_name() for registry keys.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-07-07 19:10:02 +02:00
Alexandre Julliard
721cd6e636
server: Move some functions to avoid forward declarations.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-07-07 19:10:02 +02:00
Alexandre Julliard
0cb350f19c
ntdll: Make all registry lookups case-insensitive.
...
Following recent Windows versions.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-07-07 19:10:02 +02:00
Stefan Dösinger
87bdc642a3
wined3d: Don't transition GENERAL layouts for blits.
...
On Radeon GPUs VK_IMAGE_LAYOUT_GENERAL images don't use Delta Color
Compression, but SRC/DST optimal images do. Transitioning from GENERAL
to SRC/DST causes a big performance hit.
As a next step we should try harder to avoid VK_IMAGE_LAYOUT_GENERAL.
Signed-off-by: Stefan Dösinger <stefan@codeweavers.com>
2022-07-07 19:10:02 +02:00
Rémi Bernon
1854001c79
dinput/tests: Remove racy IForceFeedbackEffect reference count checks.
...
Because the async operation holds a reference on the invoker and the
param, it may keep the effect alive until the worker thread releases
its reference on the async operation. We have no way to synchronize on
that.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=53199
Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
2022-07-07 11:20:27 +02:00
Rémi Bernon
2020541b4b
dinput/tests: Avoid window activation race conditions with Wine.
...
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=53240
Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
2022-07-07 11:20:27 +02:00
Rémi Bernon
d83fcafcd3
win32u: Move writing mode to registry out of graphics drivers.
...
Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
2022-07-07 11:20:15 +02:00
Rémi Bernon
a7e135f4b3
win32u: Move NtUserChangeDisplaySettings mode validation to a separate helper.
...
Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
2022-07-07 11:20:15 +02:00
Rémi Bernon
d9a4bdfdc0
win32u: Move reading mode from registry out of graphics drivers.
...
Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
2022-07-07 11:20:14 +02:00
Rémi Bernon
566dd3af36
win32u: Fix NtUserChangeDisplaySettings comment.
...
Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
2022-07-07 11:20:14 +02:00
Rémi Bernon
f5f7418422
winegstreamer: Use an atomic queue for wg_transform input buffers.
...
And push them one by one until an output buffer is generated, to avoid
generating multiple output buffers without a backing wg_sample.
This makes zero-copy more efficient for games which queue multiple input
buffers before checking output, such as Yakuza 4.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=45988
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=47084
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=49715
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=52183
Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
2022-07-07 11:19:56 +02:00
Rémi Bernon
7e046aa49e
winegstreamer: Release requested samples if they are too small.
...
Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
2022-07-07 11:19:56 +02:00
Rémi Bernon
7187965a75
mf/tests: Add todo_wine for newer FFmpeg versions.
...
Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
2022-07-07 11:19:54 +02:00
David Kahurani
9af3a79b96
oleaut32: Handle DATE in string form in VarFormat.
...
Testing has proven that coercion functions should reject the value which
indicates that this is handled as a special case in VarFormat
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=13778
Signed-off-by: David Kahurani <k.kahurani@gmail.com>
2022-07-06 20:32:39 +02:00
Hugh McMaster
97a3802093
regedit: Directly use RegQueryValueExW() instead of a helper function.
...
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-07-06 20:32:39 +02:00
Hugh McMaster
101fe51b25
regedit: Correctly calculate REG_MULTI_SZ size before reading from the buffer.
...
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
2022-07-06 20:32:39 +02:00
Hugh McMaster
159f3699ec
regedit: Remove unneeded valueDataLen override for DWORD values.
...
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
2022-07-06 20:32:39 +02:00
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