Commit graph

159854 commits

Author SHA1 Message Date
Paul Gofman 2f5ad179e5 wintrust: Initialize CRYPT_PROVIDER_SIGSTATE structure in Softpub provider. 2022-10-11 11:42:41 +02:00
Paul Gofman 6071205974 wintrust/tests: Add tests for multiple PE signatures. 2022-10-11 11:42:39 +02:00
Gabriel Ivăncescu 16c6c249a5 mshtml: Enumerate document elements with name.
Signed-off-by: Gabriel Ivăncescu <gabrielopcode@gmail.com>
2022-10-10 21:15:29 +02:00
Gabriel Ivăncescu 6420744c57 mshtml: Split the lookup for an element with name into a separate helper.
Signed-off-by: Gabriel Ivăncescu <gabrielopcode@gmail.com>
2022-10-10 21:15:29 +02:00
Gabriel Ivăncescu 8de5187d1b mshtml: Do not enumerate internal dynamic props.
Props allocated with dispex_get_dprop_ref or dispex_get_dynid are purely
internal to our implementation and must not be enumerated.

Note that in case of window, the props themselves become enumerable, but the
dynamic props must still be hidden, since it's the custom prop that refers
to it that must be enumerated (i.e. the DISPID must match with the custom
prop, not the underlying dynamic prop backing it, which would violate the
former DISPID obtained for the respective name).

Signed-off-by: Gabriel Ivăncescu <gabrielopcode@gmail.com>
2022-10-10 21:15:27 +02:00
Gabriel Ivăncescu 03c4a231c0 mshtml: Fix enumerating first custom prop after builtins.
Signed-off-by: Gabriel Ivăncescu <gabrielopcode@gmail.com>
2022-10-10 21:15:27 +02:00
Gabriel Ivăncescu 605819dcd9 jscript: Refill the props at end of enumeration in html mode and retry.
If properties were added during enumeration, for example on the prototype,
they are actually visited in mshtml scripts in any mode.

Signed-off-by: Gabriel Ivăncescu <gabrielopcode@gmail.com>
2022-10-10 21:15:26 +02:00
Gabriel Ivăncescu 2a228918ef jscript: Fill the builtin props for enumeration on prototypes as well.
Signed-off-by: Gabriel Ivăncescu <gabrielopcode@gmail.com>
2022-10-10 21:15:25 +02:00
Erich E. Hoover 3602c676da ntdll: Implement storing DOS attributes in NtCreateFile.
Co-authored-by: Joel Holdsworth <joel@airwebreathe.org.uk>
Signed-off-by: Joel Holdsworth <joel@airwebreathe.org.uk>
2022-10-10 12:31:25 +02:00
Joel Holdsworth 0a223f17e1 ntdll: Implement retrieving DOS attributes in NtQueryInformationFile.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=9158
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=15679
Co-authored-by: Erich E. Hoover <erich.e.hoover@gmail.com>
Signed-off-by: Joel Holdsworth <joel@airwebreathe.org.uk>
2022-10-10 12:29:01 +02:00
Erich E. Hoover ba24a78c5b ntdll: Implement storing DOS attributes in NtSetInformationFile.
Co-authored-by: Joel Holdsworth <joel@airwebreathe.org.uk>
Signed-off-by: Joel Holdsworth <joel@airwebreathe.org.uk>
2022-10-10 12:27:46 +02:00
Erich E. Hoover 1cd1a28670 ntdll: Implement retrieving DOS attributes in [fd_]get_file_info().
Co-authored-by: Joel Holdsworth <joel@airwebreathe.org.uk>
Signed-off-by: Joel Holdsworth <joel@airwebreathe.org.uk>
2022-10-10 12:23:14 +02:00
Eric Pouech c19f3b620a conhost: Fix tests on ReadConsole with CONSOLE_READCONSOLE_CONTROL.
It should fix the errors around line 1370 in conhost/tests/tty.c, but
it doesn't fix other errors around line 1530 and 1550 which are
completly unrelated to this change.  So failures to be expected on the
latter.

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=52648
Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
2022-10-10 11:22:23 +02:00
Hugh McMaster 627f2b3557 kernelbase: Return full title length from GetConsoleTitle(). 2022-10-10 11:19:44 +02:00
Hugh McMaster e6bea0328a kernel32/tests: Add tests for GetConsoleTitle(). 2022-10-10 11:19:43 +02:00
Jacek Caban 000a7bbb5a winevulkan: Use host Vulkan structures for private thunks arguments. 2022-10-10 11:16:43 +02:00
Alex Henrie 7d223c5326 include: Fix typos in NIN_BALLOON*.
Needed to compile Tera Term.
2022-10-10 11:16:20 +02:00
Alex Henrie 9d2b879d17 include: Fix typo in LR_VGACOLOR.
Needed to compile Tera Term.
2022-10-10 11:15:52 +02:00
Eric Pouech 0d359fb8de wined3d: Use I width modifier for debug traces on DWORD_PTR.
Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
2022-10-10 11:15:01 +02:00
Eric Pouech 25f6693048 wined3d: Ensure method declaration matches implementations.
wined3d_resource_ops.resource_sub_resource_map()

Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
2022-10-10 11:14:59 +02:00
Eric Pouech 414543f6ab wined3d: Ensure function declaration matches implementation.
Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
2022-10-10 11:14:59 +02:00
Francois Gouget 61ee891c67 d3d9/tests: Mark the test_wndproc() tests failing randomly on Windows as flaky.
Wine-Bug: https://bugs.winehq.org//show_bug.cgi?id=53281
2022-10-10 11:13:26 +02:00
Francois Gouget 42290cddc5 d3d9/tests: Mark the test_wndproc_windowed() tests failing randomly on Windows as flaky.
Wine-Bug: https://bugs.winehq.org//show_bug.cgi?id=53283
2022-10-10 11:13:24 +02:00
Francois Gouget fc5bb4deef d3d9/tests: Mark the test_cursor_pos() tests failing randomly on Windows as flaky.
Wine-Bug: https://bugs.winehq.org//show_bug.cgi?id=53194
2022-10-10 11:13:22 +02:00
Nikolay Sivov b3553705fd shell32: Add Active Desktop stub.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
2022-10-10 11:11:44 +02:00
Nikolay Sivov c083b2edcf include: Add IActiveDesktop definition.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
2022-10-10 11:11:43 +02:00
Nikolay Sivov 8957d74b99 include: Change include guard for wininet.h.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
2022-10-10 11:11:43 +02:00
Eric Pouech 1bcdb17455 dbghelp: Remove symt_close_func_block() stabs's only parameter.
Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
2022-10-10 11:11:21 +02:00
Eric Pouech 6f8ba8119a dbghelp: Keep compiland's address for Dwarf debug format.
Partly reverting 99eb63bd7a
(it's still needed on Dwarf for blocks with multiple
non-contiguous address ranges).

Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
2022-10-10 11:11:15 +02:00
Eric Pouech 96c3f58783 dbghelp: Silence some FIXME for SymGetTypeInfo/TI_GET_OFFSET.
Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
2022-10-10 11:11:15 +02:00
Eric Pouech 106a056c99 dbghelp: No longer use wine_dbgstr_longlong.
Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
2022-10-10 11:11:15 +02:00
Alistair Leslie-Hughes 688ba6ae31 sapi: Implement ISpObjectToken GetId. 2022-10-10 11:10:01 +02:00
Alistair Leslie-Hughes 01b4286f82 sapi: Store the token id in ISpObjectToken SetId. 2022-10-10 11:10:01 +02:00
David Kahurani fa591d3c56 xmllite/writer: Properly validate DocType name.
Current code skips a character and goes on to run is_namechar the next
instead of the current character ultimately always running a null
string on is_namechar and therefore always returning error on
multi-character strings

Signed-off-by: David Kahurani <k.kahurani@gmail.com>
2022-10-10 11:07:46 +02:00
Marcus Meissner b402ce8944 ntdll: Fix GetTempPathW() call passing wrong unit for the buffer size.
Signed-off-by: Marcus Meissner <marcus@jet.franken.de>
2022-10-10 11:06:46 +02:00
Zebediah Figura ec6b6f38be d3d8: Use a separate draw texture for managed resources. 2022-10-10 11:03:57 +02:00
Zebediah Figura 520daf8630 d3d8: Add reference counting helpers for textures. 2022-10-10 11:03:57 +02:00
Zebediah Figura 99cee90c19 d3d8: Introduce a d3d8_texture_preload() helper. 2022-10-10 11:03:57 +02:00
Zebediah Figura a72e2613ae d3d8: Factor out d3d8_texture_init(). 2022-10-10 11:03:57 +02:00
Rémi Bernon 16d975fc12 mf: Avoid clearing media session command list while it is running.
This fixes a random crash with mfmediaengine tests, which quickly starts
then shuts down a media session.
2022-10-10 11:03:04 +02:00
John Chadwick 953b93737a wintab32: Fix match_token to match XWayland devices.
XWayland tablet devices have the Wayland seat ID appended to the end of
them, preceded by a colon. This prevents match_token from properly
detecting XWayland devices and causes Wintab32 to fail to initialize.
This change allows a matched token to end in a colon, and thus allows
XWayland tablet devices to be detected correctly.

Signed-off-by: John Chadwick <john@jchw.io>
2022-10-10 11:02:28 +02:00
Alistair Leslie-Hughes 475824e709 msdasql: Implement IRowsetInfo GetProperties.
The only way to actually set these properties is via the ICommandProperties interface
found on ICommandText(eg rowset->caller).

Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
2022-10-10 11:02:02 +02:00
Martin Storsjö 4934c12762 wow64: Use the right SEH opcode in raise_exception on arm64.
On ARM and ARM64, each SEH opcode is supposed to map to exactly one
instruction; the operation of writing x29+x30 with a stack offset
with writeback is called ".seh_save_fplr_x".

Using the right opcode would fix inconsistent unwinding if we would
unwind from near the end of the prologue (which is implausible here).

However, clang/LLVM might also get checking for mismatches between
SEH opcodes and the prolog/epilog ranges
(https://reviews.llvm.org/D131394), mainly to guard against
inconsistencies in the unwind info generated by the compiler, but
that would trigger on this handwritten function too.
2022-10-10 11:01:32 +02:00
Francois Gouget fd64cbc02e dpnet/tests: Mark the test_enum_hosts*() tests failing randomly on Windows as flaky.
Wine-Bug: https://bugs.winehq.org//show_bug.cgi?id=53239
2022-10-10 11:01:22 +02:00
Piotr Caban b536d57825 comctl32: Don't pass PROPSHEETPAGE to SetWindowSubclass in PROPSHEET_CreatePage. 2022-10-10 11:00:50 +02:00
Piotr Caban 89729df986 comctl32/tests: Test passing PropertySheetPage as HPROPSHEETPAGE. 2022-10-10 11:00:50 +02:00
Piotr Caban 2a28785515 comctl32/tests: Add more PROPSHEETPAGE tests inside callback. 2022-10-10 11:00:50 +02:00
Piotr Caban 16ac644b11 comctl32/tests: Test passing extra data in PROPSHEETPAGE structure. 2022-10-10 11:00:50 +02:00
Piotr Caban 88bc45a7ec comctl32/tests: Test PROPERTYSHEETPAGE passed in WM_INITDIALOG. 2022-10-10 11:00:48 +02:00
Eric Pouech 001665d735 winedbg: Enhance printing of variables or fields.
Prints 'int a[10]' (instead of 'int[10] a').
Ditto for variables/fields of type function pointer.

And for pure type printing, no longer prints --none-- for
arrays and function pointers.

Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
2022-09-30 21:20:28 +02:00