Zebediah Figura
9fbdf2b434
ntoskrnl: Enumerate child devices on a separate thread.
2022-07-11 10:35:15 +02:00
Zebediah Figura
92456eb747
ntoskrnl/tests: Also test that IoInvalidateDeviceRelations() during device enumeration doesn't deadlock.
...
wineusb enumerates new devices and completes IRPs from the same thread (as if it
were an IRQ thread). On the other hand, the Hauppauge cx231xx USB driver
performs I/O from within IRP_MN_START_DEVICE. If the wineusb "IRQ" thread is
currently trying to report a new device, it won't be able to report I/O
completion, resulting in a deadlock.
Although wineusb could be modified to use more threads, these tests show that
calling IoInvalidateDeviceRelations() should not block in this situation.
2022-07-11 10:35:13 +02:00
Zebediah Figura
200d7b25ec
ntoskrnl/tests: Test asynchronicity of device PnP events.
2022-07-11 10:35:13 +02:00
Zebediah Figura
1215bc805f
wineusb.sys: Fully initialize the device before adding it to the device list.
...
Do not rely on IoInvalidateDeviceRelations() to initialize the device; it's supposed to be asynchronous.
2022-07-11 10:35:11 +02:00
Jinoh Kang
73284ea188
riched20/tests: Test for ITextDocument::Undo and ITextDocument::Redo.
...
Signed-off-by: Jinoh Kang <jinoh.kang.kr@gmail.com>
2022-07-11 10:33:37 +02:00
Zebediah Figura
fcaa16ae40
ddraw/tests: Build visual.c without -DWINE_NO_LONG_TYPES.
2022-07-11 10:33:29 +02:00
Zebediah Figura
a4bf81081d
ddraw/tests: Build refcount.c without -DWINE_NO_LONG_TYPES.
2022-07-11 10:33:29 +02:00
Zebediah Figura
cc7eae0c8f
ddraw/tests: Build dsurface.c without -DWINE_NO_LONG_TYPES.
2022-07-11 10:33:27 +02:00
Rémi Bernon
7b79e3a87b
winegstreamer: Check H264 ProcessOutput sample against actual image size.
...
Instead of maximum output sample size returned from GetOutputStreamInfo.
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-08 22:51:18 +02:00
Rémi Bernon
51bd7f86b6
winegstreamer: Use H264 input media type frame size when specified.
...
Updating the internal stream format frame size accordingly.
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-08 22:51:14 +02:00
Rémi Bernon
e15af49029
winegstreamer: Implement H264 SetOutputType by reconfiguring the pipeline.
...
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-08 22:51:14 +02:00
Zebediah Figura
bc270a5432
ntdll: Correctly handle shift greater than the type width in 64-bit shift functions.
...
Based on a patch by Zhao Yi.
2022-07-08 19:53:21 +02:00
Zebediah Figura
9ef7246243
ntdll: Avoid depending on compiler support for 64-bit shift functions.
2022-07-08 19:53:21 +02:00
Zebediah Figura
42636254f4
ntdll/tests: Add tests for runtime 64-bit shift functions.
2022-07-08 19:53:21 +02:00
Zebediah Figura
15320277f8
ntdll: Fix the calling convention for runtime 64-bit shift functions.
...
Based on a patch by Zhao Yi.
2022-07-08 19:53:18 +02:00
Hans Leidekker
ebcb18d418
mscms: Merge the profile and transform handle tables.
2022-07-08 10:48:54 +02:00
Zebediah Figura
8a56c4dbba
ddraw/tests: Build ddrawmodes.c without -DWINE_NO_LONG_TYPES.
2022-07-08 10:48:28 +02:00
Zebediah Figura
0f45657137
ddraw/tests: Build d3d.c without -DWINE_NO_LONG_TYPES.
2022-07-08 10:48:28 +02:00
Julian Klemann
8e307b2ecd
http.sys: Do not add URLs with query parameters to queue.
2022-07-08 10:48:22 +02:00
Julian Klemann
296852b258
http.sys: Add support for relative URLs.
...
The queue with the most specific path should be the one to receive the
request.
2022-07-08 10:48:20 +02:00
Stefan Rentsch
fefe108e20
wbemprox: Provide more accurate system information.
...
This re-uses existing functions from Win32_ComputerSystemProduct to provide
more accurate values, which are helpful to system overview applications.
> wmic.exe computersystem GET Manufacturer
2022-07-07 20:25:47 +02:00
Hugh McMaster
a6063f8367
regedit: Replace heap_x*() functions with malloc(), realloc() and free().
...
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
2022-07-07 19:11:38 +02:00
Akihiro Sagawa
de0794a1dd
mciqtz32: Fix thread handle leak if a second play.
...
Signed-off-by: Akihiro Sagawa <sagawa.aki@gmail.com>
2022-07-07 19:11:17 +02:00
Zebediah Figura
43f23d3e63
d3d8/tests: Build without -DWINE_NO_LONG_TYPES.
2022-07-07 19:10:29 +02:00
Zebediah Figura
dae1c93f5c
d3d8/tests: Make getPixelColor() checks into actual ok() calls.
...
These should never fail.
2022-07-07 19:10:27 +02:00
Zhiyi Zhang
2f3b916d05
atl: Avoid NULL pointer reference in AtlComModuleRevokeClassObjects().
...
Signed-off-by: Zhiyi Zhang <zzhang@codeweavers.com>
2022-07-07 19:10:02 +02:00
Zhiyi Zhang
f4890dac17
atl: Avoid NULL pointer reference in AtlComModuleRegisterClassObjects().
...
Signed-off-by: Zhiyi Zhang <zzhang@codeweavers.com>
2022-07-07 19:10:02 +02:00
Zhiyi Zhang
5739db59d4
atl: Avoid NULL pointer reference in AtlComModuleGetClassObject().
...
Signed-off-by: Zhiyi Zhang <zzhang@codeweavers.com>
2022-07-07 19:10:02 +02:00
Zhiyi Zhang
b6225478e5
atl110: Add importlib.
...
Signed-off-by: Zhiyi Zhang <zzhang@codeweavers.com>
2022-07-07 19:10:02 +02:00
Rémi Bernon
837297c21f
widl: Support namespaces for union declarations.
...
Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
2022-07-07 19:10:02 +02:00
Rémi Bernon
25e1fb45db
widl: Fix missing support for struct / union parameterized type replacement.
...
And we can just pass them through, as with other class types. This
fixes widl not accepting EventRegistrationToken method argument type
in a parameterized type.
Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
2022-07-07 19:10:02 +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
Roman Pišl
556077e674
wpcap: Implement pcap_dispatch.
...
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=53104
Signed-off-by: Roman Pišl <rpisl@seznam.cz>
Signed-off-by: André Zwing <nerv@dawncrow.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-07-07 19:10:02 +02:00
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