Paul Gofman
a6ea269a96
crypt32: Support CERT_QUERY_OBJECT_BLOB in CRYPT_QueryEmbeddedMessageObject().
...
Signed-off-by: Paul Gofman <pgofman@codeweavers.com>
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-14 11:34:39 +02:00
Alexandre Julliard
86b063c1a9
user32/tests: Fix some tests that break in UTF-8 codepage.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-14 11:34:39 +02:00
Alexandre Julliard
dee9a361c7
user32: Pass a valid length to RtlUnicodeToMultiByteN/RtlMultiByteToUnicodeN.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-14 09:44:41 +02:00
Alexandre Julliard
1f71ea3106
ole32: Fix sign expansion of codepage values.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-14 09:44:16 +02:00
Zebediah Figura
d0b400c945
quartz/vmr9: Stub IAMVideoAccelerator.
...
Signed-off-by: Zebediah Figura <zfigura@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-14 09:28:41 +02:00
Zebediah Figura
fc88f4b387
quartz/tests: Check for IAMVideoAccelerator.
...
Signed-off-by: Zebediah Figura <zfigura@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-14 09:28:39 +02:00
Zebediah Figura
d3e74a7270
quartz/tests: Test more VMR7 interfaces in all modes.
...
Signed-off-by: Zebediah Figura <zfigura@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-14 09:28:36 +02:00
Austin English
8d3ca2130a
dbghelp: Downgrade a FIXME to a WARN.
...
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=52790
Signed-off-by: Austin English <austinenglish@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-14 09:27:46 +02:00
Huw Davies
d0089b85c5
wineoss: Move reset to the unixlib.
...
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Andrew Eikum <aeikum@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-14 09:27:03 +02:00
Huw Davies
dca18a115b
wineoss: Move stop to the unixlib.
...
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Andrew Eikum <aeikum@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-14 09:27:00 +02:00
Huw Davies
cc8e8bc692
wineoss: Move start to the unixlib.
...
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Andrew Eikum <aeikum@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-14 09:26:58 +02:00
Huw Davies
93cc994be8
wineoss: Move timer_loop to the unixlib.
...
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Andrew Eikum <aeikum@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-14 09:26:55 +02:00
Huw Davies
ebfd2e8495
wineoss: Store the period in 100ns units.
...
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Andrew Eikum <aeikum@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-14 09:26:52 +02:00
Huw Davies
cdd19e3d1c
wineoss: Move get_current_padding to the unixlib.
...
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Andrew Eikum <aeikum@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-14 09:26:50 +02:00
Huw Davies
984cae317b
wineoss: Move get_latency to the unixlib.
...
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Andrew Eikum <aeikum@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-14 09:26:45 +02:00
Huw Davies
aa9d07e630
wineoss: Move get_buffer_size to the unixlib.
...
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Andrew Eikum <aeikum@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-14 09:26:14 +02:00
Matteo Bruni
07f22e20d7
d3dxof/tests: Remove redundant skips after ok() calls.
...
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-13 21:58:18 +02:00
Nikolay Sivov
24ccf11739
d3dxof/tests: Simplify refcount helper.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-13 21:57:51 +02:00
Nikolay Sivov
360e989d44
d3dxof/tests: Build without -DWINE_NO_LONG_TYPES.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-13 21:57:47 +02:00
Alistair Leslie-Hughes
8fbc1c1a09
msado15: Return valid object in Recordset::Clone.
...
This is just to stop a crash when Clone is called.
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-13 21:25:17 +02:00
Gabriel Ivăncescu
1c4e53dbce
mshtml: Implement enumerator for HTMLAttributeCollection.
...
Signed-off-by: Gabriel Ivăncescu <gabrielopcode@gmail.com>
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-13 20:20:06 +02:00
Gabriel Ivăncescu
201cc01d72
mshtml: Move some static functions up.
...
Signed-off-by: Gabriel Ivăncescu <gabrielopcode@gmail.com>
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-13 20:20:03 +02:00
Gabriel Ivăncescu
ba828a3024
mshtml: Implement enumerator for HTMLSelectElement.
...
Signed-off-by: Gabriel Ivăncescu <gabrielopcode@gmail.com>
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-13 20:20:00 +02:00
Gabriel Ivăncescu
f9fd7b77a2
mshtml: Implement enumerator for HTMLFormElement.
...
Signed-off-by: Gabriel Ivăncescu <gabrielopcode@gmail.com>
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-13 20:19:56 +02:00
Gabriel Ivăncescu
6c98c65707
mshtml: Implement enumerator for HTMLRectCollection.
...
Signed-off-by: Gabriel Ivăncescu <gabrielopcode@gmail.com>
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-13 20:19:53 +02:00
Gabriel Ivăncescu
7c311fbcc1
mshtml: Implement enumerator for HTMLStyleSheetsCollection.
...
Signed-off-by: Gabriel Ivăncescu <gabrielopcode@gmail.com>
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-13 20:19:50 +02:00
Gabriel Ivăncescu
2bdce91e8f
jscript: Defer lookup to the actual locals for function statements.
...
Functions declared as function statements have an associated local_ref and
can be changed from within themselves by using their name (by literally
changing the local variable), while function expressions can not.
Signed-off-by: Gabriel Ivăncescu <gabrielopcode@gmail.com>
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-13 20:19:47 +02:00
Nikolay Sivov
0666950b38
ddrawex/tests: Simplify refcount helper.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-13 18:17:31 +02:00
Nikolay Sivov
5a0f483641
ddrawex/tests: Build without -DWINE_NO_LONG_TYPES.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-13 18:17:27 +02:00
Nikolay Sivov
2df68bd4ff
ddrawex: Build without -DWINE_NO_LONG_TYPES.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-13 18:17:21 +02:00
Ziqing Hui
a23e07937d
d2d1/tests: Add tests for context unit mode.
...
Signed-off-by: Ziqing Hui <zhui@codeweavers.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-13 18:17:13 +02:00
Zhiyi Zhang
9ec0f8a3d5
joy.cpl: Enable visual styles.
...
joy.cpl uses manifest at ID 124. According to tests, manifest at ID 124 is not loaded automatically
by rundll32.exe or Control_RunDLL().
Signed-off-by: Zhiyi Zhang <zzhang@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-13 18:15:48 +02:00
Zhiyi Zhang
0d093f8935
inetcpl.cpl: Enable visual styles.
...
Signed-off-by: Zhiyi Zhang <zzhang@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-13 18:15:48 +02:00
Zhiyi Zhang
578f0a6f35
appwiz.cpl: Enable visual styles.
...
Signed-off-by: Zhiyi Zhang <zzhang@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-13 18:15:48 +02:00
Zhiyi Zhang
765d4c1e77
shell32: Activate context at ID 123 before loading control panel applets.
...
This is required to enable common control v6 when running control panel applets using
"rundll32.exe shell32.dll,Control_RunDLL".
Signed-off-by: Zhiyi Zhang <zzhang@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-13 18:15:48 +02:00
Zhiyi Zhang
596b647391
kernel32/tests: Add more CreateActCtx() tests.
...
Signed-off-by: Zhiyi Zhang <zzhang@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-13 18:15:48 +02:00
Jacek Caban
0953de5cab
user32: Get rid of __wine_set_pixel_format.
...
Use NtUserSetWindowPixelFormat in drivers instead.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-13 18:13:42 +02:00
Jacek Caban
55f4cf8c85
winex11: Directly use win32u for user functions in window.c.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-13 18:13:38 +02:00
Jacek Caban
523a6eba02
winex11: Remove no longer needed helpers.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-13 18:13:34 +02:00
Jacek Caban
cfb6f9a1e8
win32u: Introduce inline helpers for NtUserCallHwndParam calls.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-13 18:13:28 +02:00
Jacek Caban
31dbce9675
win32u: Introduce inline helpers for NtUserCallHwnd calls.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-13 18:13:23 +02:00
Jacek Caban
dae11519da
win32u: Introduce inline helpers for NtUserCallTwoParam calls.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-13 18:13:18 +02:00
Jacek Caban
322ee79383
win32u: Remove no longer needed NtUserCallOneParam exports.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-13 18:13:12 +02:00
Jacek Caban
7f64eead50
win32u: Introduce inline helpers for NtUserCallOneParam calls.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-13 18:13:06 +02:00
Jacek Caban
dcca04606e
win32u: Use NtUserCallHwndParam for MirrorRgn implementation.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-13 18:12:59 +02:00
Jacek Caban
6f1e48f424
win32u: Introduce inline helpers for NtUserCallNoParam calls.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-13 18:12:52 +02:00
Zebediah Figura
1e750b5b44
ntdll: Write a null terminator in NtQueryDirectoryObject.
...
Signed-off-by: Zebediah Figura <zfigura@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-13 16:27:47 +02:00
Zebediah Figura
4b57ae1674
ntdll: Don't return STATUS_BUFFER_OVERFLOW if the buffer is too small to hold one entry.
...
Signed-off-by: Zebediah Figura <zfigura@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-13 16:26:09 +02:00
Zebediah Figura
0c7dcd9088
ntdll: Return the required length from NtQueryDirectoryObject().
...
Signed-off-by: Zebediah Figura <zfigura@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-13 16:25:44 +02:00
Alexandre Julliard
967ef0bf41
ntdll: Support overriding the codepage from the manifest.
...
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=52223
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-13 16:08:30 +02:00
Alexandre Julliard
1326687feb
ntdll: Add support for 2019 and 2020 WindowsSettings namespaces.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-13 16:08:30 +02:00
Alexandre Julliard
e81327358a
kernelbase: Move codepage initialization to ntdll.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-13 16:08:30 +02:00
Alexandre Julliard
d53bc38d34
ntdll: Initialize the system locale on the Unix side.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-13 16:03:14 +02:00
Alexandre Julliard
83a3a5c75b
msvcrt: Fix mbcs initialization for UTF-8 codepage.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-13 16:03:14 +02:00
Rémi Bernon
29fe143544
kernel32/tests: Add some HeapWalk tests for the LFH frontend.
...
Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-13 11:09:04 +02:00
Rémi Bernon
98066b5a8e
kernel32/tests: Cleanup and add Heap(Query|Set)Information tests.
...
Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-13 11:08:59 +02:00
Rémi Bernon
0237d1702f
kernel32/tests: Add some HeapWalk tests.
...
Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-13 11:07:34 +02:00
Rémi Bernon
13a4da538c
kernel32/tests: Add some GetProcessHeaps tests.
...
Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-13 11:07:25 +02:00
Rémi Bernon
93d5aba89c
kernel32/tests: Add invalid pointer heap validation tests.
...
Adding commented-out crashing tests to make it obvious that they were
tested and that HeapFree or HeapReAlloc don't validate pointers.
Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-13 11:05:24 +02:00
Paul Gofman
8c931c7129
ntdll: Remove unused PTHREAD_STACK_MIN definition.
...
Signed-off-by: Paul Gofman <pgofman@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-13 11:00:38 +02:00
Paul Gofman
dfd5f109fb
ntdll: Increase kernel stack size.
...
Signed-off-by: Paul Gofman <pgofman@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-13 11:00:33 +02:00
Rafał Harabień
66a639e96d
user32/tests: Remove duplicated SS_*RECT static control tests.
...
Signed-off-by: Rafał Harabień <rafalh92@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-13 11:00:10 +02:00
Rafał Harabień
9be3f2cf11
user32: Use SWP_NOACTIVATE flag when resizing etched static control.
...
Signed-off-by: Rafał Harabień <rafalh92@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-13 11:00:07 +02:00
Eric Pouech
be0be41fca
d3dx10: Fix long type warnings.
...
Missing from 74adbac296
.
Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-13 10:47:30 +02:00
Zebediah Figura
351fa352f6
kernelbase: Set user_lcid to the user locale, not the system locale.
...
Fixes: fffbe3fcae
Signed-off-by: Zebediah Figura <zfigura@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-13 10:42:59 +02:00
Eric Pouech
ae9266992a
d3dxof: Don't cast ptrdiff_t to ULONG in traces, use %I instead.
...
Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-12 22:13:49 +02:00
Nikolay Sivov
74adbac296
d3dx10: Build without -DWINE_NO_LONG_TYPES.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-12 22:13:44 +02:00
Nikolay Sivov
08c6560e74
d3dxof: Build without -DWINE_NO_LONG_TYPES.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-12 22:13:34 +02:00
Zebediah Figura
2d147ce985
server: Return STATUS_BUFFER_TOO_SMALL instead of STATUS_BUFFER_OVERFLOW from get_directory_entry.
...
Signed-off-by: Zebediah Figura <zfigura@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-12 22:13:05 +02:00
Zebediah Figura
ccf706b456
ntdll: Do not write the "ret_size" parameter of NtQueryDirectoryObject on failure.
...
Signed-off-by: Zebediah Figura <zfigura@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-12 22:13:05 +02:00
Zebediah Figura
07d93d9f68
ntdll: Do not write the "context" parameter of NtQueryDirectoryObject on failure.
...
Signed-off-by: Zebediah Figura <zfigura@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-12 22:13:05 +02:00
Zebediah Figura
7a5c26f7f2
ntdll/tests: Add some tests for NtQueryDirectoryObject().
...
Signed-off-by: Zebediah Figura <zfigura@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-12 22:13:05 +02:00
Eric Pouech
c25bd520ac
windowscodecs/tests: Simplify printf for 64 bit integers.
...
Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
Signed-off-by: Esme Povirk <esme@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-12 22:13:05 +02:00
Gabriel Ivăncescu
4fd955ae07
jscript: Treat NULL disps as actual null values in html mode.
...
Signed-off-by: Gabriel Ivăncescu <gabrielopcode@gmail.com>
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-12 22:13:05 +02:00
Gabriel Ivăncescu
3485f162e9
mshtml/tests: Add initial tests for NULL Dispatch objects in scripts.
...
Signed-off-by: Gabriel Ivăncescu <gabrielopcode@gmail.com>
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-12 21:39:42 +02:00
Gabriel Ivăncescu
3349dc5eea
jscript: Accept DISPATCH_PROPERTYPUTREF for jsdisps.
...
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=45493
Signed-off-by: Gabriel Ivăncescu <gabrielopcode@gmail.com>
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-12 21:39:42 +02:00
Eric Pouech
eff83cd4e0
kernelbase: Provide a pseudo console environment for initial CUI processes not tied to a Unix tty.
...
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=52771
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=52761
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=52743
Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-12 21:39:42 +02:00
Jacek Caban
b4d91adb16
kernelbase: Add support for CREATE_NO_WINDOW flag in CreateProcess.
...
Based on patches by Eric Pouech and Torge Matthies.
Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-12 21:39:42 +02:00
Eric Pouech
313b10991b
kernel32/tests: Add more CreateProcess console management tests.
...
Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-12 21:39:42 +02:00
Ziqing Hui
c037144db7
d2d1: Implement GetImageLocalBounds() for bitmap.
...
Signed-off-by: Ziqing Hui <zhui@codeweavers.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-12 21:39:42 +02:00
Ziqing Hui
1f0b080f15
d2d1/tests: Add tests for GetImageLocalBounds().
...
Signed-off-by: Ziqing Hui <zhui@codeweavers.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-12 21:39:42 +02:00
Jacek Caban
3a11be1d48
winex11: Directly use win32u for GDI functions in more places.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-12 21:39:42 +02:00
Jacek Caban
b01bf347ad
winex11: Directly use win32u for GDI functions in xrender.c.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-12 21:39:42 +02:00
Jacek Caban
37f31840b9
winex11: Directly use win32u for GDI functions in palette.c.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-12 21:39:42 +02:00
Jacek Caban
4631b007c1
winex11: Directly use win32u for GDI functions in graphics.c.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-12 21:39:42 +02:00
Jacek Caban
df4ddc30b3
winex11: Directly use win32u for GDI functions in window.c.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-12 21:39:42 +02:00
Jacek Caban
c3ed3403ba
winex11: Directly use win32u for GDI functions in bitblt.c.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-12 21:39:42 +02:00
Jacek Caban
43126a5053
win32u: Implement NtGdiGetDCPoint.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-12 21:39:42 +02:00
Jacek Caban
e9cfbef46b
win32u: Implement NtGdiGetDCDword.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-12 21:39:42 +02:00
Zhiyi Zhang
9eff8911c3
kernel32/tests: Check against INVALID_HANDLE_VALUE for CreateActCtxW() return values.
...
CreateActCtxW() returns INVALID_HANDLE_VALUE on error.
Signed-off-by: Zhiyi Zhang <zzhang@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-12 21:39:42 +02:00
Eric Pouech
4782bc3c1a
oleaut32/tests: Simplify printf for 64 bit integers.
...
Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-12 21:39:42 +02:00
Eric Pouech
f438e285d3
oleaut32/tests: Simplify test by using long long constants.
...
Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-12 21:39:42 +02:00
Hans Leidekker
21f82ad4ff
crypt32/tests: Get rid of workarounds for old Windows versions.
...
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-12 21:39:42 +02:00
Huw Davies
bc81fdbf7c
wineoss: Move create_stream and release_stream to the unixlib.
...
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Andrew Eikum <aeikum@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-12 21:39:42 +02:00
Huw Davies
0562266783
wineoss: Use NtAllocateVirtualMemory() to alloc the buffers returned to the user.
...
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Andrew Eikum <aeikum@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-12 21:39:42 +02:00
Huw Davies
e0ec4f8c19
wineoss: Use a pthread mutex for the stream lock.
...
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Andrew Eikum <aeikum@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-12 21:39:42 +02:00
Huw Davies
8298ca9e26
wineoss: Use the sessions lock to lock the client's data.
...
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Andrew Eikum <aeikum@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-12 21:39:42 +02:00
Huw Davies
8b7ed43d8a
wineoss: Store the mute state in the stream.
...
Despite only mute being supported in this driver, set_stream_volumes()
is called whenever the volume info is changed to match the other drivers
and to allow a more complete volume implementation in the future.
The implementation will eventually move to the unixlib.
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Andrew Eikum <aeikum@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-12 21:39:42 +02:00
Huw Davies
8fc9bdff00
wineoss: Use the stream ptr to indicate the init state.
...
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Andrew Eikum <aeikum@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-12 21:39:42 +02:00
Alexandre Julliard
5cc2d4adc5
win32u: Support UTF-8 as the default Ansi codepage.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-12 21:39:42 +02:00
Alexandre Julliard
d8db12a958
win32u: Use CPTABLEINFO to store the Ansi/OEM codepages.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-12 21:39:41 +02:00
Alexandre Julliard
63ad05bc02
win32u: Use character sizes in the codepage conversion functions.
...
For consistency with ntdll.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-12 21:39:41 +02:00
Alexandre Julliard
65ff9caca0
win32u: Use the ntdll functions for codepage conversions.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-12 21:39:41 +02:00
Alexandre Julliard
6eae7a24e2
ntdll: Export a few more codepage functions from ntdll.so.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-12 21:39:41 +02:00
Alexandre Julliard
b47379c1f8
ntdll: Default to UTF-8 codepage at startup.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-12 21:39:41 +02:00
Nikolay Sivov
0b9c35edb4
evr: Add IAMFilterMiscFlags interface.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-12 09:26:27 +02:00
Nikolay Sivov
22fa68bbd9
wbemprox: Remove string duplication helper.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-12 09:26:23 +02:00
Nikolay Sivov
c867e2daca
wbemprox: Use CRT memory allocation functions.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-12 09:26:20 +02:00
Paul Gofman
02faaea93b
kernelbase: Reset last error on success in CopyFileExW().
...
Signed-off-by: Paul Gofman <pgofman@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-11 21:15:56 +02:00
Paul Gofman
d72d596070
msvcp140: Implement _Copy_file().
...
Signed-off-by: Paul Gofman <pgofman@codeweavers.com>
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-11 21:15:52 +02:00
Gabriel Ivăncescu
fa09e3f36c
jscript: Throw proper error when invoking non-method builtin.
...
Instead of crashing.
Signed-off-by: Gabriel Ivăncescu <gabrielopcode@gmail.com>
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-11 21:15:13 +02:00
Gabriel Ivăncescu
45d8af4cf3
jscript: Make idx props enumerable.
...
Signed-off-by: Gabriel Ivăncescu <gabrielopcode@gmail.com>
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-11 21:15:10 +02:00
Gabriel Ivăncescu
67fef476c7
jscript: Handle PROP_IDX in jsdisp_get_own_property.
...
Signed-off-by: Gabriel Ivăncescu <gabrielopcode@gmail.com>
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-11 21:15:05 +02:00
Gabriel Ivăncescu
6843cecb53
urlmon: Return the currently set user agent when 'version' is invalid.
...
ObtainUserAgentString returns the currently set (custom) user agent unless
the version requested is a valid one (7, 8, ... 11, or 7 | UAS_EXACTLEGACY),
in which case it uses that version to build the user agent.
Signed-off-by: Gabriel Ivăncescu <gabrielopcode@gmail.com>
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-11 21:14:59 +02:00
Gabriel Ivăncescu
0badd67e70
mshtml: Always return the custom user agent if it has been set.
...
This uses the undocumented MapBrowserEmulationModeToUserAgent and only the
first field of the unknown struct, but it is enough for this purpose. It
is important for some apps (e.g. FFXIV Launcher) which expects it to work
like this.
Signed-off-by: Gabriel Ivăncescu <gabrielopcode@gmail.com>
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-11 21:14:53 +02:00
Gabriel Ivăncescu
735ac6eb8f
urlmon: Add basic implementation of MapBrowserEmulationModeToUserAgent.
...
This is necessary for mshtml's navigator userAgent to work properly, since
some apps expect it.
The second argument seems to be output pointer that gets allocated (by
CoTaskMemAlloc, or something compatible with it), but the first argument
seems to be a pointer to an unknown struct, which makes it almost impossible
to guess reliably what it does by just inspecting its behavior...
Thankfully, it seems only the first DWORD field is necessary for
this. Changing it returns the user agent for that given mode, if the rest
is zeros.
Signed-off-by: Gabriel Ivăncescu <gabrielopcode@gmail.com>
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-11 21:14:48 +02:00
Huw Davies
d4a2f4d44b
wineoss: Move get_mix_format to the unixlib.
...
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Andrew Eikum <aeikum@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-11 18:19:00 +02:00
Huw Davies
12c7f79afd
wineoss: Move the stream creation to AudioClient_Initialize().
...
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Andrew Eikum <aeikum@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-11 18:18:58 +02:00
Huw Davies
98624b1825
wineoss: Don't cache the oss_audioinfo in the client.
...
The retrieval on endpoint creation is left in for debugging
purposes.
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Andrew Eikum <aeikum@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-11 18:18:55 +02:00
Huw Davies
a465ecd745
wineoss: Move is_format_supported to the unixlib.
...
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Andrew Eikum <aeikum@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-11 18:18:52 +02:00
Huw Davies
f9f3ece6ca
wineoss: Introduce a stream structure.
...
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Andrew Eikum <aeikum@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-11 18:18:49 +02:00
Huw Davies
13d69651f6
wineoss: Use the global lock to lock the session.
...
Mainly for simplicity.
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Andrew Eikum <aeikum@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-11 18:18:46 +02:00
Huw Davies
aca2193671
wineoss: Dynamically size the devnode array.
...
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Andrew Eikum <aeikum@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-11 18:18:44 +02:00
Huw Davies
9ff920cdd9
wineoss: Explicitly store the channel count in the client.
...
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Andrew Eikum <aeikum@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-11 18:18:41 +02:00
Alexandros Frantzis
4f705f6f62
win32u: Avoid iterating over a NULL window list when broadcasting.
...
Signed-off-by: Alexandros Frantzis <alexandros.frantzis@collabora.com>
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-11 17:35:20 +02:00
Nikolay Sivov
b159edc679
mfplat: Fix alignment used by audio buffers created with MFCreateMediaBufferFromMediaType().
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-11 17:34:48 +02:00
Nikolay Sivov
a08be2a2f8
hlink: Return requested interface from HlinkCreateFromString().
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-11 17:34:48 +02:00
Nikolay Sivov
19f802c091
hlink: Return correct requested interface from HlinkCreateFromMoniker().
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-11 17:34:48 +02:00
Nikolay Sivov
bbb9c273d2
hlink: Return requested interface when creating IHlink instance.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-11 17:34:48 +02:00
Nikolay Sivov
759e2eff8b
hlink: Return requested interface when creating IHlinkBrowseContext instance.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-11 17:34:48 +02:00
Nikolay Sivov
0dad77afa9
hlink: Use CRT allocation functions.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-11 17:34:48 +02:00
Nikolay Sivov
28423d79d4
evr/mixer: Implement GetVideoProcessorCaps().
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-11 17:34:48 +02:00
Nikolay Sivov
0289b9c23a
evr/mixer: Implement GetAvailableVideoProcessorModes().
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-11 17:34:48 +02:00
Jacek Caban
91d6e8b4ab
winex11: Directly use ntdll for registry access in write_registry_settings.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-11 17:34:48 +02:00
Jacek Caban
bdbbc3467c
winex11: Directly use ntdll for registry access in read_registry_settings.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-11 17:34:48 +02:00
Jacek Caban
1e2dd059e9
winex11: Directly use ntdll for registry access in get_display_device_reg_key.
...
Also just open the key in write_registry_settings, it should be already
created by win32u.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-11 17:34:48 +02:00
Jacek Caban
50c7404885
winex11: Directly use ntdll for registry access in X11DRV_GetICMProfile.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-11 17:34:48 +02:00
Jacek Caban
824e9bddd5
winex11: Directly use ntdll for registry access in create_xcursor_system_cursor.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-11 17:34:48 +02:00
Jacek Caban
a3ebf88ad5
winex11: Directly use ntdll for registry access in setup_options.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-11 17:34:48 +02:00
Alexandre Julliard
1790546d03
kernelbase: Support UTF-8 as default Ansi codepage in WideCharToMultiByte().
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-11 17:34:48 +02:00
Alexandre Julliard
2cc54d4b85
kernelbase: Support UTF-8 as default Ansi codepage in MultiByteToWideChar().
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-11 17:34:48 +02:00
Alexandre Julliard
8993e15cfa
kernelbase: Support UTF-7/8 codepages in get_codepage_table().
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-11 17:34:48 +02:00
Alexandre Julliard
fd2ecee06f
kernelbase: Avoid redundant locale lookups in GetLocaleInfoA().
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-11 17:34:48 +02:00
Alexandre Julliard
23834ee3b8
kernelbase: Use RtlMultiByteToUnicodeN in IsChar* functions.
...
In case the Ansi codepage was set to UTF-8.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-11 17:34:48 +02:00
Alexandre Julliard
2aa4673f32
ntdll: Support UTF-8 codepage in string conversion functions.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-11 11:54:54 +02:00
Alexandre Julliard
deab47be6e
ntdll: Use the standard CPTABLEINFO structure for the Unix codepage.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-11 11:54:54 +02:00
Alexandre Julliard
61edb81649
ntdll: Move more codepage conversion functions to the common header.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-11 11:54:54 +02:00
Alexandre Julliard
d966c45e06
ntdll: Move some duplicated locale definitions to a common header.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-11 11:54:54 +02:00
Esme Povirk
824d521dc7
windowscodecs: pceltFetched is optional in IWICEnumMetadataItem.
...
Spotted by Eric Pouech.
Signed-off-by: Esme Povirk <esme@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-11 11:54:54 +02:00
Esme Povirk
7d118a25c0
gdiplus: Accept newer version in OpenType header.
...
Signed-off-by: Esme Povirk <esme@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-11 11:54:54 +02:00
Eric Pouech
17795f0796
wininet/tests: Simplify printf for 64 bit integers.
...
Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-11 10:14:03 +02:00
Eric Pouech
cec5fea60d
ntdll/tests: Simplify printf for 64 bit integers.
...
Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-11 10:13:57 +02:00
Eric Pouech
ed5ade575b
rpcrt4: Don't cast ptrdiff_t to ULONG in traces, use %I instead.
...
Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-11 10:13:45 +02:00
Zhiyi Zhang
be8acff719
include: Avoid a C++ keyword for RegisterUserApiHook().
...
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=52787
Signed-off-by: Zhiyi Zhang <zzhang@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-11 10:12:37 +02:00
Zebediah Figura
ce9a42e8bd
winegstreamer: Enable wg_parser streams on creation.
...
This patch is motivated by Obduction, which creates a Media Foundation source
and leaves it open arbitrarily long before actually reading samples from it.
Without this patch, we unnecessarily waste CPU, and may reduce graphical
performance by taking CPU time that would otherwise be used on
performance-critical threads.
Signed-off-by: Zebediah Figura <zfigura@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-11 10:12:22 +02:00
Zebediah Figura
ed2c300d02
winegstreamer: Explicitly disable streams in parser_init_stream().
...
Allow the initial state of a stream to be enabled.
Signed-off-by: Zebediah Figura <zfigura@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-11 10:12:20 +02:00
Zebediah Figura
6f1b3cf975
winegstreamer: Explicitly disable streams in start_pipeline().
...
Allow the initial state of a stream to be enabled.
Signed-off-by: Zebediah Figura <zfigura@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-11 10:12:17 +02:00
Zebediah Figura
90dc7f5b94
winegstreamer: Use WG_MAJOR_TYPE_UNKNOWN to mark a stream that should not be forced into a certain format.
...
Instead of checking the enabled state.
The reasoning here is that we would like to keep the stream enabled—that is,
buffer samples instead of discarding them—even when the client is not yet
reading samples from it, so that we can avoid wasting CPU power in decoding.
Signed-off-by: Zebediah Figura <zfigura@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-11 10:12:15 +02:00
Eric Pouech
159be4467b
rtqwork: Trace 64-bit integers with I64 width modifier.
...
Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-11 10:12:07 +02:00
Eric Pouech
b7f839e583
combase: Use I64 width modifier for 64-bit integers.
...
Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-11 10:12:05 +02:00
Giovanni Mascellani
a233c49519
mfreadwrite/reader: Unset sample allocator callbacks while destroying the source reader.
...
The sample allocator callbacks own a reference to the source reader,
which creates a reference loop and prevents the source reader from
being properly destroyed.
Signed-off-by: Giovanni Mascellani <gmascellani@codeweavers.com>
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-11 10:11:42 +02:00
Giovanni Mascellani
cdb0471eca
mfreadwrite/reader: Make the stream sample allocator callback own a reference to the source reader.
...
The stream sample allocator callback NotifyRelease() method assumes that
the source reader is valid. Therefore it must own a reference to it,
otherwise it might get called while the source reader is being destroyed,
causing a crash.
Signed-off-by: Giovanni Mascellani <gmascellani@codeweavers.com>
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-11 10:11:39 +02:00
Zebediah Figura
50a06d0dc4
qcap/filewriter: Avoid casting to DWORD in an ERR message.
...
Signed-off-by: Zebediah Figura <zfigura@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-08 21:23:27 +02:00
Jinoh Kang
10667b39aa
riched20: Implement callback to IRichEditOleCallback_QueryInsertObject.
...
Signed-off-by: Jinoh Kang <jinoh.kang.kr@gmail.com>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-08 19:09:50 +02:00
Jinoh Kang
95b4072cc7
riched20/tests: Add tests for IRichEditOleCallback_QueryInsertObject.
...
Signed-off-by: Jinoh Kang <jinoh.kang.kr@gmail.com>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-08 19:09:50 +02:00
Jacek Caban
a94eab5acf
win32u: Use more consistent NtUserMessageCall constant names.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-08 18:23:56 +02:00
Mohamad Al-Jaf
dc702f79aa
ncrypt: Map STATUS_NO_MEMORY to NTE_NO_MEMORY.
...
Signed-off-by: Mohamad Al-Jaf <mohamadaljaf@gmail.com>
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-08 11:51:22 +02:00
Eric Pouech
088c510ef1
snmpapi: Trace 64-bit integers with I64 width modifier.
...
Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-08 11:50:31 +02:00
Eric Pouech
059ba68ee6
dxdiagn: Use I64 width modifier for 64-bit integers in printf.
...
Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-08 11:50:18 +02:00
Eric Pouech
4d7eccd616
dbghelp: Trace 64-bit integers with I64 width modifier.
...
Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-08 11:50:06 +02:00
Nikolay Sivov
7c908eb9a4
evr: Cleanup class factory methods.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-08 11:49:58 +02:00
Nikolay Sivov
e68833a845
dispex/tests: Use CRT allocation functions.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-08 11:49:51 +02:00
Nikolay Sivov
a6e2902d1f
dispex: Use CRT memory allocation functions.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-08 11:49:49 +02:00
Rémi Bernon
5b4009e8c2
kernel32/tests: Cleanup heap pointer alignment tests.
...
Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-07 23:06:16 +02:00
Rémi Bernon
8eb9cbd6e7
kernel32/tests: Cleanup heap allocation functions tests.
...
Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-07 23:06:13 +02:00
Rémi Bernon
60e0ae2f4c
kernel32/tests: Load all test function pointers on init.
...
Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-07 23:06:02 +02:00
Dmitry Timoshkov
5972691e08
ucrtbase/tests: Add a test for wcsnicmp() with limit -1.
...
To show that it's valid unlike _strnicmp().
Based on _strnicmp() test.
Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-07 22:44:40 +02:00
Rafał Harabień
cfe5184b26
comctl32/tests: Remove now unused TODO_COUNT in static control tests.
...
Signed-off-by: Rafał Harabień <rafalh92@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-07 22:44:40 +02:00
Rafał Harabień
c1c6b4bcf2
comctl32/tests: Fix invalidation in static control tests.
...
Rectangle used for invalidation was outside of windows rect of static
controls with SS_ETCHEDHORZ/SS_ETCHEDVERT style because they resize
after creation. Improve test by changing the invalidated rect and
add more details in comment about SS_ETCHEDHORZ/SS_ETCHEDVERT styles.
Signed-off-by: Rafał Harabień <rafalh92@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-07 22:44:40 +02:00
Rafał Harabień
176bd922df
comctl32: Send WM_CTLCOLORSTATIC for all static control types.
...
Signed-off-by: Rafał Harabień <rafalh92@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-07 22:44:39 +02:00
Rafał Harabień
4e8277e633
comctl32: Fix handling of SS_ETCHEDHORZ/SS_ETCHEDVERT static control styles.
...
Instead of drawing the frame in WM_PAINT use WS_EX_STATICEDGE style that
adds the frame outside of the client rect and change control size after
creation to make it look like a line.
Signed-off-by: Rafał Harabień <rafalh92@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-07 22:44:39 +02:00
Rafał Harabień
010eb02dc2
comctl32/tests: Add more static control tests.
...
Signed-off-by: Rafał Harabień <rafalh92@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-07 22:44:39 +02:00
Daniel Lehman
1a18f3b916
ntdll: Return success for magic handles.
...
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=51529
Signed-off-by: Daniel Lehman <dlehman25@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-07 22:44:39 +02:00
Daniel Lehman
18f46e5a57
ntdll/tests: Test return values from CloseHandle.
...
Signed-off-by: Daniel Lehman <dlehman25@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-07 22:44:39 +02:00
Daniel Lehman
bae702a0ee
ntdll/tests: Add some CloseHandle exception tests.
...
Signed-off-by: Daniel Lehman <dlehman25@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-07 22:44:39 +02:00
Alex Henrie
c814fbe1df
mciwave: Fix bad free in MCI_SendCommandAsync (Coverity).
...
Signed-off-by: Alex Henrie <alexhenrie24@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-07 22:44:39 +02:00
Alex Henrie
68c3ac7680
shell32: Fix sizeof argument in DoPaste (Coverity).
...
Signed-off-by: Alex Henrie <alexhenrie24@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-07 22:44:39 +02:00
Jacek Caban
f6524f7a3a
win32u: Don't use CDECL for user driver functions.
...
They are no longer used from PE code.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-07 22:44:39 +02:00
Jacek Caban
1d0fbcc9d9
win32u: Move __wine_set_user_driver implementation from user32.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-07 22:44:39 +02:00
Jacek Caban
12a6f8d49b
win32u: Partially move WM_SYSCOMMAND implementation from user32.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-07 22:44:39 +02:00
Jacek Caban
c31954dfa7
win32u: Move IsWindowEnabled implementation from user32.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-07 22:44:39 +02:00
Jacek Caban
d32d3b4f31
win32u: Move WM_SETICON implementation from user32.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-07 22:44:39 +02:00
Jacek Caban
27cfcaa277
win32u: Move default window text setting to from user32.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-07 22:44:39 +02:00
Jacek Caban
b7f108ed9c
win32u: Improve string duplication helpers.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-07 22:44:39 +02:00
Nikolay Sivov
c699803ff0
d3drm: Build without -DWINE_NO_LONG_TYPES.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-07 22:44:39 +02:00
Georg Lehmann
343ddade5e
winevulkan: Update to VK spec version 1.3.211.
...
Signed-off-by: Georg Lehmann <dadschoorse@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-07 22:44:39 +02:00
Alexandre Julliard
4d68497fac
kernelbase: Reimplement Internal_EnumDateFormats() using the locale.nls data.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-07 22:44:39 +02:00
Alexandre Julliard
25595a0abe
kernelbase: Reimplement Internal_EnumTimeFormats() using the locale.nls data.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-07 22:44:39 +02:00
Alexandre Julliard
8576c3e131
kernelbase: Reimplement Internal_EnumCalendarInfo() using the locale.nls data.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-07 22:44:39 +02:00
Alexandre Julliard
6517f6c239
kernelbase: Implement NlsValidateLocale().
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-07 22:44:39 +02:00
Alexandre Julliard
812ebc67a4
kernelbase: Fix IsValidLocale() and GetLocaleInfo() with special LOCALE_* identifiers.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-07 22:44:39 +02:00
Mohamad Al-Jaf
ff99c11b3b
ncrypt/tests: Add NCryptIsAlgSupported tests.
...
Signed-off-by: Mohamad Al-Jaf <mohamadaljaf@gmail.com>
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-07 22:44:39 +02:00
Mohamad Al-Jaf
db10be7318
ncrypt: Implement NCryptIsAlgSupported.
...
Microsoft Edge calls this function.
Signed-off-by: Mohamad Al-Jaf <mohamadaljaf@gmail.com>
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-07 22:44:39 +02:00
Rémi Bernon
ee7eaca877
combase/tests: Add some RoGetActivationFactory tests with manifest.
...
Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-07 22:44:39 +02:00
Nikolay Sivov
6556c8d2ee
wmp/tests: Remove unused include.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-07 22:44:38 +02:00
Nikolay Sivov
00291118db
wmp: Use CRT allocation functions.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-07 22:44:38 +02:00
Nikolay Sivov
0448e1f78f
qmgr: Use CRT allocation functions.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-07 22:44:38 +02:00
Nikolay Sivov
7efa1498aa
localui/tests: Use CRT allocation functions.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-07 22:44:38 +02:00
Eric Pouech
151abafa54
dmstyle: Don't cast size_t to DWORD in trace, use %I instead.
...
Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-07 22:44:38 +02:00
Eric Pouech
5b88083a19
schedvc: Don't cast size_t to DWORD in trace, use %I instead.
...
Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-07 10:44:01 +02:00
Eric Pouech
f56e7a9b58
mstask: Don't cast size_t to DWORD in trace, use %I instead.
...
Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-07 10:43:56 +02:00
Eric Pouech
7f6adab1bd
iphlpapi: Don't cast SIZE_T to DWORD in trace, use %I instead.
...
Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-07 10:43:48 +02:00
Bernhard Kölbl
5a815669e8
windows.media.speech: Add IAsyncInfo stub to IAsyncOperation<Inspectable*>.
...
Signed-off-by: Bernhard Kölbl <besentv@gmail.com>
Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-06 23:07:21 +02:00
Bernhard Kölbl
fb91a29998
windows.media.speech: Add IAsyncOperation<Inspectable*> stub.
...
And return an instance of it in ISpeechRecognizer_CompileConstraintsAsync.
Signed-off-by: Bernhard Kölbl <besentv@gmail.com>
Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-06 23:07:20 +02:00
Bernhard Kölbl
4926bb148b
windows.media.speech: Add tests for IAsyncOperation.
...
Signed-off-by: Bernhard Kölbl <besentv@gmail.com>
Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-06 23:07:20 +02:00
Rémi Bernon
c944f64166
ntdll: Support activatableClass activation context elements.
...
Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-06 23:07:20 +02:00
Rémi Bernon
c7f72cc400
kernel32/tests: Add some activatableClass manifest attribute tests.
...
And the matching ACTIVATION_CONTEXT_SECTION_WINRT_ACTIVATABLE_CLASSES
activation context section.
Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-06 23:07:20 +02:00
Nikolay Sivov
27f13a37a0
mf/session: Use correct format specifier for start position.
...
Fixup for 3f84ee1eb6
.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-06 23:07:20 +02:00
Nikolay Sivov
74e0985e1b
evr/presenter: Make GetCurrentImage() work without output window.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-06 23:07:20 +02:00
Andrew Eikum
2bf3a58518
evr/presenter: Place early samples back to the front of the queue.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-06 23:07:20 +02:00
Andrew Eikum
0957268103
evr/presenter: Fix hns-to-msec conversion multiplier.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-06 23:07:20 +02:00
Huw Davies
2192f2de1b
combase: Don't start dllhost if the CLSID key doesn't exist.
...
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-06 23:07:20 +02:00
Hans Leidekker
60e10a0571
cryptnet: Support verifying certificate revocation with OCSP.
...
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-06 23:07:20 +02:00
Jacek Caban
22de82978e
win32u: Move NtUserCloseClipboard implementation from user32.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-06 23:07:20 +02:00
Jacek Caban
d513eee3ee
user.exe: Remove no longer used wait_message16.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-06 23:07:20 +02:00
Jacek Caban
5bcb9d1263
win32u: Move process_hardware_message implementation from user32.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-06 23:07:20 +02:00
Jacek Caban
4072ba5d8a
win32u: Move NtUserPostMessage implementation from user32.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-06 23:07:20 +02:00
Jacek Caban
e1db9fef05
win32u: Move NtUserPostThreadMessage implementation from user32.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-06 23:07:20 +02:00
Jacek Caban
6062065723
win32u: Add missing return in NtUserExitingThread implementation.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-06 23:07:20 +02:00
Hans Leidekker
2ad18d3992
bcrypt: Implement BCryptFreeBuffer().
...
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-06 23:07:20 +02:00
Hans Leidekker
40306db341
bcrypt: Fix array index in BCryptEnumAlgorithms().
...
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-06 23:07:20 +02:00
Mohamad Al-Jaf
807d368f1d
ncrypt: Warn on invalid flags in NCryptImportKey.
...
Signed-off-by: Mohamad Al-Jaf <mohamadaljaf@gmail.com>
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-06 23:07:20 +02:00
Mohamad Al-Jaf
dec096934a
ncrypt: Map STATUS_NOT_SUPPORTED to NTE_NOT_SUPPORTED.
...
Signed-off-by: Mohamad Al-Jaf <mohamadaljaf@gmail.com>
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-06 23:07:20 +02:00
Eric Pouech
2f2e3ea50b
mciavi32: Use I width modifier instead of casting to DWORD.
...
Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-06 23:07:20 +02:00
Eric Pouech
2df8ad9d39
comdlg32: Use I width modifier instead of casting to LONG.
...
Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-06 23:07:20 +02:00
Eric Pouech
33347c7c23
urlmon: Use I width modifier instead of casting to DWORD.
...
Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-06 23:07:20 +02:00
Alexandre Julliard
80445efa90
kernel32: Simplify Get/SetCalendarInfoA() implementation.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-06 10:45:01 +02:00
Alexandre Julliard
bf83236b2f
kernel32: Simplify GetGeoInfoA() implementation.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-06 10:16:36 +02:00
Huw Davies
ab12c81feb
wineoss: Move get_endpoint_ids to the unixlib.
...
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Andrew Eikum <aeikum@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-05 20:44:44 +02:00
Huw Davies
d416b200a8
wineoss: Move get_ossdevice_from_guid() earlier in the file.
...
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Andrew Eikum <aeikum@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-05 20:44:41 +02:00
Huw Davies
61d4000e38
wineoss: Add a helper to open the device.
...
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Andrew Eikum <aeikum@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-05 20:44:38 +02:00
Huw Davies
47dafdc746
wineoss: Pass a buffer to oss_clean_devnode().
...
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Andrew Eikum <aeikum@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-05 20:44:34 +02:00
Huw Davies
13a1f17f88
wineoss: Introduce a test_connect syscall.
...
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Andrew Eikum <aeikum@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-05 20:44:31 +02:00
Nikolay Sivov
70af1f774b
xmllite/tests: Use wide string literals for the writer tests.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-05 18:05:48 +02:00
Nikolay Sivov
9140c67307
shell32/tests: Use CRT memory allocation functions.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-05 17:56:55 +02:00
Rémi Bernon
f411193781
kernel32/tests: Cleanup and add more heap layout tests.
...
Updating the tests to check the new, post-vista, layout.
Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-05 17:55:31 +02:00
Rémi Bernon
727a162fc6
kernel32/tests: Add broken results for GlobalMemoryStatus test.
...
As seen on win81_cw-gtx560-32 and win81_cw-rx460-32.
Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-05 17:55:29 +02:00
Ziqing Hui
ca5a2bf076
d2d1/tests: Add tests for D2D1Grayscale effect.
...
Signed-off-by: Ziqing Hui <zhui@codeweavers.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-05 17:50:57 +02:00
Jacek Caban
37de5d24a8
user32: Use NtUserMessageCall for SendMessageCallbackA implementation.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-05 17:50:57 +02:00
Jacek Caban
b99778a531
win32u: Move SendMessageCallbackW implementation from user32.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-05 17:50:57 +02:00
Jacek Caban
2c01eb392b
user32: Use NtUserMessageCall for SendNotifyMessageA implementation.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-05 17:50:57 +02:00
Jacek Caban
980de6afe4
win32u: Move SendNotifyMessageW implementation from user32.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-05 17:50:57 +02:00
Jacek Caban
d42888f07c
user32: Use NtUserMessageCall for SendMessageA implementation.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-05 17:50:57 +02:00
Jacek Caban
52eac01237
user32: Use NtUserMessageCall for SendMessageTimeoutA implementation.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-05 17:50:57 +02:00
Jacek Caban
30cc496099
win32u: Move SendMessageW implementation from user32.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-05 17:50:57 +02:00
Jacek Caban
74da33b791
win32u: Move SendMessageTimeoutW implementation from user32.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-05 17:50:57 +02:00
Jacek Caban
dca49630a9
win32u: Use public declaration for NtUserPostMessage.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-05 17:50:57 +02:00
Jacek Caban
177eb908c9
win32u: Return LRESULT from NtUserMessageCall.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-05 17:50:57 +02:00
Paul Gofman
cbbe8ad73a
ucrtbase: Update ioinfo structure.
...
Signed-off-by: Paul Gofman <pgofman@codeweavers.com>
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-05 17:50:57 +02:00
Paul Gofman
7ebba96a95
msvcr90/tests: Test ioinfo structure.
...
Signed-off-by: Paul Gofman <pgofman@codeweavers.com>
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-05 17:50:57 +02:00
Paul Gofman
1c9e9ec360
msvcrt: Use newer ioinfo structure for _MSVC_VER >= 80.
...
Signed-off-by: Paul Gofman <pgofman@codeweavers.com>
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-05 17:50:57 +02:00
Paul Gofman
4c90f58bb5
msvcr80: Fix ioinfo structure definition.
...
Signed-off-by: Paul Gofman <pgofman@codeweavers.com>
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-05 17:50:57 +02:00
Paul Gofman
2636c9e80e
msvcrt/tests: Add test for ioinfo->exflag.
...
Signed-off-by: Paul Gofman <pgofman@codeweavers.com>
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-05 17:48:59 +02:00
Alexandre Julliard
a074d0c3a8
kernelbase: Reimplement GetCalendarInfoEx/W using the locale.nls data.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-05 16:59:09 +02:00
Esme Povirk
c943f924cb
mscoree/tests: Create csc.exe process as detached.
...
Signed-off-by: Esme Povirk <esme@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-05 10:50:24 +02:00
Esme Povirk
d971600cae
mscoree/tests: Build loadpaths.exe as GUI instead of CUI.
...
This prevents unnecessary console windows from being created for
it if mscoree_test.exe does not have a console.
Signed-off-by: Esme Povirk <esme@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-05 10:50:22 +02:00
Dmitry Timoshkov
a90d976bb4
dwrite/tests: Add some fallback tests for Segoe UI Symbol.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-05 10:49:22 +02:00
Henri Verbeet
1765c4594f
wined3d: Spawn a separate thread to adjust the window state of windows belonging to other threads.
...
Sending messages to windows on other threads can deadlock if those threads
aren't processing messages. The deeper issue is that we shouldn't be touching
the window styles in the first place, but avoiding that may not be feasible
without specific support from winex11/winemac.
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-04 19:52:45 +02:00
Zebediah Figura
3827f0487d
winegstreamer: Add traces to Unix call wrappers.
...
Signed-off-by: Zebediah Figura <zfigura@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-04 19:52:45 +02:00
Zebediah Figura
bcd39c5061
winegstreamer: Unblock waits in sink_chain_cb() when disabling a stream.
...
Signed-off-by: Zebediah Figura <zfigura@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-04 19:52:45 +02:00
Zebediah Figura
5861379d6d
winegstreamer: Protect access to the "enabled" field.
...
It is accessed from multiple threads.
Signed-off-by: Zebediah Figura <zfigura@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-04 19:52:45 +02:00
Zebediah Figura
db41b2ae23
winegstreamer: Disconnect source pins before calling wg_parser_disconnect().
...
Signed-off-by: Zebediah Figura <zfigura@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-04 19:52:45 +02:00
Nikolay Sivov
5885f20c4a
dbgeng: Update to IDebugAdvanced3 stub.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-04 19:52:45 +02:00
Nikolay Sivov
4f40fe587b
dbgeng: Update to IDebugControl4 stub.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-04 19:52:45 +02:00
Nikolay Sivov
e12a7c3d02
uianimation: Use CRT allocation functions.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-04 19:52:45 +02:00
Nikolay Sivov
cc2b468b62
explorerframe/tests: Use CRT memory allocation functions.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-04 19:52:45 +02:00
Ziqing Hui
a45a4b0b48
d2d1: Add stubs for ID2D1Factory3.
...
Signed-off-by: Ziqing Hui <zhui@codeweavers.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-04 19:52:45 +02:00
Esme Povirk
1f8eb4a9c2
mscoree: Update Wine Mono to 7.2.0.
...
Signed-off-by: Esme Povirk <esme@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-04 18:40:26 +02:00
Rémi Bernon
dee510bd32
kernelbase: Use the same HLOCAL flags / lock layout as native.
...
Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-04 18:40:26 +02:00
Rémi Bernon
4f596c04be
kernelbase: Remove unnecessary handler from LocalUnlock.
...
Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-04 18:40:26 +02:00
Rémi Bernon
e358731f96
kernelbase: Remove unnecessary handler from LocalLock.
...
Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-04 18:40:26 +02:00
Rémi Bernon
2fcb072f03
kernelbase: Use the same HLOCAL entry pointer alignment as native.
...
This changes the GlobalUnlock todo_wine as we previously considered the
invalid mem handle as a valid pointer, and we now instead check handle
validity.
Returning TRUE in for an invalid handle doesn't seem very important, and
a corner case, and it breaks compatibility and imm32 tests.
Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-04 18:40:26 +02:00
Rémi Bernon
55282e0d09
winegstreamer: Return S_OK from H264 decoder ProcessMessage.
...
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>
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-04 18:40:26 +02:00
Rémi Bernon
ebd2b7d704
winegstreamer: Implement H264 decoder Process(Input|Output).
...
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>
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Zebediah Figura <zfigura@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-04 18:40:26 +02:00
Rémi Bernon
b5d6c59920
winegstreamer: Use a GstAtomicQueue for wg_transform output queue.
...
Some GStreamer video plugins such as vaapi do not expect their buffers
to be appended to each other, and it breaks some of their assertions.
We will also later need to queue caps change events, and the atomic
queue will let us queue GstSample instead to hold the caps too. It also
removes the need of a mutex or locking operations.
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>
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Zebediah Figura <zfigura@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-04 18:40:26 +02:00
Piotr Caban
2d2dba5374
msvcr100: Improve ThreadScheduler_ScheduleTask_loc stub.
...
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=45916
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-04 09:47:49 +02:00
Eric Pouech
0de8d01b09
winmm: Properly handle mmioRead/mmioWrite in case of errors.
...
In C, an inequality comparison between a signed and an unsigned integer
ends up with an unsigned comparison.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=52628
Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
Signed-off-by: Andrew Eikum <aeikum@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-01 22:59:40 +02:00
Eric Pouech
90ecf27d09
mciwave: Correctly handle error return status from mmioRead.
...
Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
Signed-off-by: Andrew Eikum <aeikum@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-01 22:59:28 +02:00
Jan Sikorski
8676f28a8a
wined3d: Reset and reuse Vulkan descriptor pools.
...
Creating and destroying them is fairly slow.
Signed-off-by: Jan Sikorski <jsikorski@codeweavers.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-01 20:47:02 +02:00
Gijs Vermeulen
dc0aa67ce6
setupapi: Add SetupQueryInfVersionInformationA/W stub.
...
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=52616
Signed-off-by: Gijs Vermeulen <gijsvrm@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-01 20:30:57 +02:00
Jacek Caban
6ff2d287c2
win32u: Move NtUserSendInput implementation from user32.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-01 20:30:57 +02:00
Jacek Caban
21d60952cb
win32u: Move __wine_send_input implementation from user32.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-01 20:30:57 +02:00
Jacek Caban
7ba3c31d84
win32u: Move send_internal_message_timeout implementation from user32.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-01 20:30:57 +02:00
Jacek Caban
b666d908d5
user32: Avoid internal structs in post_dde_message.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-01 20:30:57 +02:00
Jacek Caban
2a833a1c86
win32u: Move NtUserWaitForInputIdle implementation from user32.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-01 20:30:57 +02:00
Jacek Caban
2db1fea630
win32u: Move NtUserMsgWaitForMultipleObjectsEx implementation from user32.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-01 20:30:57 +02:00
Mohamad Al-Jaf
89aba13dc3
propsys/tests: Add VariantToStringWithDefault tests.
...
Signed-off-by: Mohamad Al-Jaf <mohamadaljaf@gmail.com>
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-01 20:30:57 +02:00
Mohamad Al-Jaf
bf0f1fdcf8
propsys: Implement VariantToStringWithDefault.
...
Signed-off-by: Mohamad Al-Jaf <mohamadaljaf@gmail.com>
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-01 20:30:57 +02:00
Alexandre Julliard
917d430698
oleaut32: Silence error message for unknown languages.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-01 20:30:57 +02:00
Alexandre Julliard
c30626505b
kernelbase: Check the locale name instead of the LCID to detect changes.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-01 20:30:57 +02:00
Alexandre Julliard
c0ff1a221b
kernelbase: Set system/user locales by name if they have no LCID.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-01 20:30:57 +02:00
Alexandre Julliard
4a757e2d20
ntdll: Recognize more script names in Unix locales.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-01 20:30:57 +02:00
Hans Leidekker
4237cefb95
crypt32/tests: Add more OCSP response decoding tests.
...
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-01 20:30:57 +02:00
Nikolay Sivov
72c8bc653d
directmanipulation: Use CRT memory allocation functions.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-01 12:54:50 +02:00
Nikolay Sivov
949e230199
msxml3/tests: Use CRT memory allocation functions.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-01 12:54:47 +02:00
Nikolay Sivov
6f8bcbf0d8
sxs/tests: Use CRT memory allocation functions.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-01 12:54:45 +02:00
Nikolay Sivov
8ce0ab9739
mfmediaengine/tests: Remove unused header include.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-01 12:54:40 +02:00
Nikolay Sivov
601137d43e
dxva2: Use CRT memory allocation functions.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-04-01 12:54:36 +02:00
Rémi Bernon
3c9d2cbaea
kernelbase: Allocate HLOCAL / HGLOBAL from a static handle table.
...
Sharing the table pointers through KernelBaseGetGlobalData to check for
handle validity in kernel32, and as native does it.
Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-03-31 22:02:51 +02:00
Rémi Bernon
981283a50b
kernelbase: Implement internal KernelBaseGetGlobalData.
...
And call it from kernel32 to get access to kernelbase global data.
Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-03-31 22:02:51 +02:00
Rémi Bernon
1ff9e76395
kernel32: Synchronize the HLOCAL helpers with kernelbase.
...
Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-03-31 22:02:51 +02:00
Rémi Bernon
82bab8366d
kernelbase: Check pointer validity in unsafe_ptr_from_HLOCAL.
...
Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-03-31 21:25:44 +02:00
Rémi Bernon
458f49dee1
kernelbase: Check handle validity in unsafe_mem_from_HLOCAL.
...
Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-03-31 21:25:39 +02:00
Nikolay Sivov
0d8ebada7f
comsvcs: Use CRT memory allocation functions.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-03-31 20:48:43 +02:00
Jacek Caban
dda4b573ea
win32u: Move NtUserGetMessage implementation from user32.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-03-31 18:51:32 +02:00
Jacek Caban
58c4488626
win32u: Move NtUserPeekMessage implementation from user32.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-03-31 18:51:32 +02:00
Jacek Caban
6badbee323
win32u: Move process_sent_messages implementation from user32.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-03-31 18:51:32 +02:00
Jacek Caban
2656d667a8
user32: Move unpack_message call to User32CallWindowProc.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-03-31 18:51:32 +02:00
Jacek Caban
e72d463072
win32u: Move reply_message_result implementation from user32.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-03-31 18:51:32 +02:00
Jacek Caban
f499b1a7ab
user32: Introduce reply_message_result helper.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-03-31 18:51:32 +02:00
Nikolay Sivov
8498a9d1ef
explorerframe: Use CRT memory allocation functions.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-03-31 15:53:46 +02:00
Nikolay Sivov
686843655c
sxs: Use CRT memory allocation functions.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-03-31 15:53:44 +02:00
Nikolay Sivov
6341e6d924
atl: Use CRT allocation functions.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-03-31 15:53:41 +02:00
Hans Leidekker
33ff4a6671
crypt32/tests: Use wide character string literals.
...
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-03-31 12:35:04 +02:00
Alexandre Julliard
2366d19b45
kernel32: Remove the old locale information stored in resources.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-03-31 11:02:37 +02:00
Alexandre Julliard
f14adf5928
msvcrt: Use EnumSystemLocalesEx instead of directly accessing kernel32 resources.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-03-31 11:02:32 +02:00
Alexandre Julliard
689e63485c
kernel32: Move the error message table to kernelbase.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-03-31 10:57:07 +02:00
Alexandre Julliard
6d06171485
kernel32: Move the language group resources to kernelbase.
...
And enable translating them through the po files.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-03-31 10:57:07 +02:00
Alexandre Julliard
86baeafc76
kernelbase: Reimplement the Geo ID functions using the locale.nls data.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-03-31 07:46:13 +02:00
Bernhard Kölbl
1f35e2fe4f
windows.media.speech: Implement ISpeechRecognizer_get_Constraints.
...
Signed-off-by: Bernhard Kölbl <besentv@gmail.com>
Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-03-30 21:57:02 +02:00
Bernhard Kölbl
3366fecc3c
windows.media.speech: Add IIterator<Inspectable*>.
...
And implement the IIterable<Inspectable*>_First methods.
Signed-off-by: Bernhard Kölbl <besentv@gmail.com>
Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-03-30 21:56:59 +02:00
Bernhard Kölbl
7f5f468748
windows.media.speech: Add IIterable<IInspectable*> stubs.
...
To both IVector<IInspectable*> and IVectorView<IInspectable*>.
Signed-off-by: Bernhard Kölbl <besentv@gmail.com>
Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-03-30 21:56:55 +02:00
Bernhard Kölbl
ba387d5369
windows.media.speech: Add IVectorView<Inspectable*>.
...
And make it obtainable from IVector<Inspectable*>_GetView.
Signed-off-by: Bernhard Kölbl <besentv@gmail.com>
Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-03-30 21:56:51 +02:00
Bernhard Kölbl
4bbc4cebc4
windows.media.speech: Add IVector<Inspectable*>.
...
And use it in recognizer.
Signed-off-by: Bernhard Kölbl <besentv@gmail.com>
Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-03-30 21:56:47 +02:00
Rémi Bernon
70609b4d6c
dinput/tests: Add some HidD_GetPhysicalDescriptor tests.
...
Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-03-30 21:56:43 +02:00
Mohamad Al-Jaf
3ec8c6459a
hid: Implement HidD_GetPhysicalDescriptor.
...
The game INVERSUS Deluxe calls upon this function
and crashes without it.
Signed-off-by: Mohamad Al-Jaf <mohamadaljaf@gmail.com>
Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-03-30 21:56:39 +02:00
Jan Sikorski
801f1bb433
wined3d: Increase the CS queue size.
...
Final Fantasy XIV routinely runs out of space in the queue, which
affects the frame rates.
Signed-off-by: Jan Sikorski <jsikorski@codeweavers.com>
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-03-30 18:32:33 +02:00
Henri Verbeet
e58f596cd3
wined3d: Add GPU information for NVIDIA Tesla T4.
...
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-03-30 18:32:32 +02:00
Nikolay Sivov
947f638a05
user32: Add suspend-resume notification API stubs.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-03-30 18:32:32 +02:00
Rémi Bernon
7735b48006
mf/tests: Increase the H264 decoder tests video frame size.
...
GStreamer vaapi decoder suffers from bugs which are causing double frees
when the frame size is too small.
Test file has been generated with:
gst-launch-1.0 videotestsrc num-buffers=60 ! \
video/x-raw,format=I420,width=82,height=84,framerate=30000/1001 ! \
videoconvert ! x264enc ! filesink location=dlls/mf/tests/h264data.bin
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>
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-03-30 18:32:32 +02:00
Rémi Bernon
edef14126c
mf/tests: Fix incorrect array index when formatting blob value.
...
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>
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-03-30 18:32:32 +02:00
Hans Leidekker
8516a9e931
crypt32: Use CRT allocation functions.
...
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-03-30 16:05:29 +02:00
Hans Leidekker
1fb28509f7
crypt32: Consistently use CryptMemAlloc/Free().
...
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-03-30 16:05:29 +02:00
Hans Leidekker
dd91e541b6
crypt32: Correctly free memory in CNG_ImportRSAPubKey().
...
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-03-30 16:05:29 +02:00
Zhiyi Zhang
f9d838423d
setupapi: Return CR_SUCCESS for CM_Get_DevNode_Status{_Ex}.
...
One Piece: Pirate Warriors 4 relies on CM_Get_DevNode_Status() to return CR_SUCCESS. Otherwise, it
shows a graphics driver error dialog and exits.
Signed-off-by: Zhiyi Zhang <zzhang@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-03-30 11:03:38 +02:00
Nikolay Sivov
a31b107924
sxs: Use CRT memory allocation functions.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-03-30 11:03:38 +02:00
Nikolay Sivov
d3fe9faff0
fusion: Use CRT memory allocation functions.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-03-30 11:03:38 +02:00
Nikolay Sivov
a406123812
scrobj/tests: Use CRT memory allocation functions.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-03-30 11:03:38 +02:00
Nikolay Sivov
5aab379deb
scrobj: Fix wrong cleanup logic for factory object.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-03-30 11:03:38 +02:00
Nikolay Sivov
1a9922734a
scrobj: Use CRT allocation functions.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-03-30 11:03:38 +02:00