Commit graph

159886 commits

Author SHA1 Message Date
Fabian Maurer 173ffe5011 ntdll: Prevent double free (Coverity).
The fd gets overwritten, therefore we need to close it before doing so.

Signed-off-by: Fabian Maurer <dark.shadow4@web.de>
2022-10-17 17:51:02 +02:00
Hugh McMaster c7b8da649d kernel32/tests: Remove tests comparing expected output in certain functions.
The Windows versions of [Read|Write]ConsoleOutput[Attribute|Character]
appear to assign an uninitialized internal DWORD to the given pointer
address before returning.

As the functions fail (intentionally) in these tests, the value of the
DWORD is never set, so the tests end up comparing the expected value of
zero with random values.

This value of this test is very limited and is best removed.

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=53686
2022-10-17 17:51:02 +02:00
Ziqing Hui a32782d28b win32u: Add more linked fonts for Tahoma. 2022-10-17 17:51:02 +02:00
Ziqing Hui 71b1e636ec win32u: Add font link for MS UI Gothic.
Win10 has font link for most of the system default fonts,
including MS UI Gothic. This fixes Korean text display issue
for Romance of the There Kindoms XIII.
2022-10-17 17:51:02 +02:00
Ziqing Hui a9cc68336c win32u: Add mechanism for font specific system links. 2022-10-17 17:51:02 +02:00
Alexandre Julliard b591b3167c nls: Update locales that have been added in recent Windows versions. 2022-10-17 12:56:47 +02:00
Alex Henrie 52ffd611de shell32: Sanitize Program Manager icon and group names.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=52506
2022-10-17 11:40:12 +02:00
Alex Henrie 6004f5b0da shell32: Introduce combine_path helper for DDE. 2022-10-17 11:40:12 +02:00
Alex Henrie 0d90fa6348 shell32: Use standard C functions for memory allocation in dde.c. 2022-10-17 11:40:12 +02:00
Alex Henrie 6664991f24 shell32: Move strndupW to dde.c. 2022-10-17 11:40:12 +02:00
Gabriel Ivăncescu 2dcc5a7026 jscript: Implement reviver argument for JSON.parse.
Signed-off-by: Gabriel Ivăncescu <gabrielopcode@gmail.com>
2022-10-17 11:27:04 +02:00
Gabriel Ivăncescu a4697901cc jscript/tests: Fix copy paste mistake in JSON test.
Signed-off-by: Gabriel Ivăncescu <gabrielopcode@gmail.com>
2022-10-17 11:27:04 +02:00
Gabriel Ivăncescu 35a6555929 jscript: Implement Function.prototype.bind's thisArg properly.
Signed-off-by: Gabriel Ivăncescu <gabrielopcode@gmail.com>
2022-10-17 11:27:04 +02:00
Piotr Caban 0e49547c7a winedump: Add support for EMRI_METAFILE_EXT records. 2022-10-17 11:26:51 +02:00
Piotr Caban 893ac00873 winedump: Add prefix when dumping EMF files. 2022-10-17 11:26:51 +02:00
Piotr Caban 4d649c6232 winedump: Dump metafiles in EMF spool files. 2022-10-17 11:26:51 +02:00
Piotr Caban d745c8d4a0 winedump: Don't use static offset in dump_emfrecord. 2022-10-17 11:26:51 +02:00
Piotr Caban cf78df3612 winedump: Fix buffer overflow in debugstr_wn helper. 2022-10-17 11:26:51 +02:00
Piotr Caban cfbe32d557 winedump: Add initial EMF spool files support. 2022-10-17 11:26:50 +02:00
Rémi Bernon 60f1436e68 opengl32: Use has_extension in filter_extensions_index. 2022-10-17 11:24:44 +02:00
Rémi Bernon deb8b7b5e2 opengl32: Move filter_extensions (et al.) around. 2022-10-17 11:24:44 +02:00
Rémi Bernon 37328dc3ae opengl32: Build extension list in is_extension_supported. 2022-10-17 11:24:44 +02:00
Rémi Bernon cf1f02e289 opengl32: Split is_extension_supported helper. 2022-10-17 11:24:44 +02:00
Alex Henrie fc636b7f45 include: Add TOOLINFO[AW].
Needed to compile Tera Term.
2022-10-17 11:23:34 +02:00
Daniel Lehman f8dc38f9c2 kernelbase: Call NtCancelSynchronousIoFile in CancelSynchronousIo.
Signed-off-by: Daniel Lehman <dlehman25@gmail.com>
2022-10-17 11:22:41 +02:00
Daniel Lehman 0a02b6a86a ntdll: Implement NtCancelSynchronousIoFile.
Signed-off-by: Daniel Lehman <dlehman25@gmail.com>
2022-10-17 11:22:41 +02:00
Daniel Lehman 05d00d5e78 ntdll: Add NtCancelSynchronousIoFile stub.
Signed-off-by: Daniel Lehman <dlehman25@gmail.com>
2022-10-17 11:22:26 +02:00
Daniel Lehman 3a4674f256 kernel32/tests: Add tests for CancelSynchronousIo.
Signed-off-by: Daniel Lehman <dlehman25@gmail.com>
2022-10-17 11:22:26 +02:00
Akihiro Sagawa 45bfd4e1d1 quartz: Fix video flickering. 2022-10-17 11:18:20 +02:00
Akihiro Sagawa ee633870df quartz/tests: Add a background brush test for video renderer. 2022-10-17 11:18:20 +02:00
David Kahurani 556b3981b7 xmllite/writer: Null terminate duplicated strings.
Strings are not being "partially duplicated", but duplicated
with explicit length.

Signed-off-by: David Kahurani <k.kahurani@gmail.com>
2022-10-17 11:18:09 +02:00
Alexandre Julliard e3f00bf7c9 Release 7.19. 2022-10-14 22:36:58 +02:00
Nikolay Sivov 3adf638c61 dxva2/tests: Add another render target format to fix a test failure.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
2022-10-14 21:52:55 +02:00
Huw Davies fad925d582 nsi: Update struct nsi_tcp_conn_dynamic for Windows 11. 2022-10-14 21:52:55 +02:00
Rémi Bernon a21e7c46d0 winegstreamer: Implement AAC decoder MFT.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=47084
2022-10-14 21:52:55 +02:00
Rémi Bernon 4199bb7fab winegstreamer: Support MPEG4 (AAC) compressed audio format.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=47084
2022-10-14 21:52:55 +02:00
Henri Verbeet b3b2a55994 wined3d: Use the supplied context in wined3d_device_context_blt().
Applications calling wined3d_device_context_resolve_sub_resource() on a
deferred context would instead get this scheduled on the immediate context.
Worse, because the original call was intended for a deferred context, we'd do
this without taking the mutex required for immediate contexts, potentially
corrupting the command stream.
2022-10-14 21:52:55 +02:00
Henri Verbeet 00187d64f0 wined3d: Handle VKD3D_SHADER_RESOURCE_DATA_MIXED in wined3d_data_type_from_vkd3d(). 2022-10-14 21:52:55 +02:00
Piotr Caban d75deeec38 comctl32: Don't cast HPROPSHEETPAGE to PROPSHEETPAGEW*. 2022-10-14 21:52:55 +02:00
Piotr Caban fd6c1d597c comctl32: Use HPROPSHEETPAGE directly in PROPSHEET_GetPageRect. 2022-10-14 21:52:55 +02:00
Piotr Caban aefd67ff60 comctl32: Use HPROPSHEETPAGE directly in PROPSHEET_CreatePage. 2022-10-14 21:52:55 +02:00
Piotr Caban c7b5108c02 comctl32: Use HPROPSHEETPAGE directly in PROPSHEET_CollectPageInfo. 2022-10-14 21:52:55 +02:00
Piotr Caban fdd4431304 comctl32: Introduce _PSP structure to store HPROPSHEETPAGE data. 2022-10-14 21:52:55 +02:00
Rémi Bernon 241c26396b opengl32: List the manually written functions instead of the excluded. 2022-10-14 19:13:58 +02:00
Rémi Bernon 3f17c701a2 opengl32: Replace get_function_proto helper with get_func_(args|ret). 2022-10-14 19:13:58 +02:00
Rémi Bernon f2bd9917a1 opengl32: Consistently use $func instead of $func_ref. 2022-10-14 19:13:58 +02:00
Rémi Bernon db2e56cd0d opengl32: Split trace generation to separate functions. 2022-10-14 19:12:41 +02:00
Rémi Bernon 2f5d06af1d mfmediaengine: Remove vertical flipping of video frames. 2022-10-14 18:03:38 +02:00
Rémi Bernon ae4ecbe59e mfmediaengine/tests: Check IMFMediaEngine_TransferVideoFrames output orientation. 2022-10-14 18:03:38 +02:00
Rémi Bernon 31871d713a mfmediaengine/tests: Pass a device manager and output format to create_media_engine. 2022-10-14 18:03:37 +02:00