Commit graph

158305 commits

Author SHA1 Message Date
Jacek Caban 05b9bc2161 mshtml: Wine Gecko 2.47.3 release.
- Enabled accessibility support.
- Restored a few XPCOM interfaces.
- Python compatibility fixes.
2022-07-12 22:51:29 +02:00
Floris Renaud b00fa1f180 po: Update Dutch translation.
Signed-off-by: Floris Renaud <jkfloris@dds.nl>
2022-07-12 22:51:29 +02:00
Floris Renaud f67f4bbadd inetcpl.cpl: Fix typo. 2022-07-12 22:51:29 +02:00
Jacek Caban d3c57dec71 win32u: Use KeUserModeCallback interface for DDE message callbacks. 2022-07-12 22:51:29 +02:00
Jacek Caban 0826fbbb74 win32u: Use KeUserModeCallback for ImmProcessKey and ImmTranslateMessage calls. 2022-07-12 22:51:29 +02:00
Jacek Caban 047d74c4b1 win32u: Move default IME window management from imm32. 2022-07-12 22:51:29 +02:00
Jacek Caban f4f589c421 imm32: Don't allow disabling other thread's IME by thread ID. 2022-07-12 22:51:29 +02:00
Jacek Caban 0e763f72a6 imm32/tests: Add more tests for disabling IME. 2022-07-12 22:51:29 +02:00
Jacek Caban 9c1ecf9971 imm32/tests: Add NtUserAssociateInputContext tests. 2022-07-12 22:51:29 +02:00
Jacek Caban f5b3283e24 win32u: Move window input context handling from imm32. 2022-07-12 22:51:29 +02:00
Jacek Caban 3e8a4b671d imm32: Store message spy pointer in TEB. 2022-07-12 22:51:29 +02:00
Jinoh Kang f77f12ba3b riched20: Ensure MEPF_COMPLEX is unset when in password input mode.
Otherwise, Wine may crash while attempting to fetch the script shaping
information, which does not exist since shape_para() was not called.

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=53335
Signed-off-by: Jinoh Kang <jinoh.kang.kr@gmail.com>
2022-07-12 22:51:29 +02:00
Eric Pouech fe52589cdd dbghelp: Set constants lexical parent to module when no compiland is present.
Especially needed for enumeration's values.

Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
2022-07-12 22:51:29 +02:00
Eric Pouech 9cb69964d6 dbghelp: Member's lexical parent is module (not parent UDT).
Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
2022-07-12 22:51:29 +02:00
Eric Pouech a5c6cd5aef dbghelp: Only reply to offset requests on symt_data in SymGetTypeInfo() for locals and parameters.
Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
2022-07-12 22:51:29 +02:00
Eric Pouech d2a5f434c4 dbghelp: Create lexical relationship between global vars and symt_module.
Global (non static) variables are now stored in symt_module.
(static variables are stored in symt_compiland).

Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
2022-07-12 22:51:29 +02:00
Eric Pouech 87e2b00774 dbghelp: Don't include global & static variables from S_LOCAL* records.
PDB supports description of a global or static variable:
- accessed from a register
- stored as a local variable record inside a function

This likely describes access to a global/static variable where
intermediate computation is kept in a register.

We cannot store this kind of entries in local variable lists
(builtin dbghelp and winedbg are not prepared to handle a global variable)

Note: the global or static Codeview data record is still present (with a
relocatable address), so the variable should still be available from global
access (but could be not up-to-date if temporarly stored in a register).

Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
2022-07-12 22:51:29 +02:00
Eric Pouech 437e73883b mscvpdb.h: Use bitfield for defrange's variable flag.
Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
2022-07-12 22:51:29 +02:00
Eric Pouech bf68ec1f8a dbghelp: Silence a couple of FIXMEs in SymGetTypeInfo().
Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
2022-07-12 22:51:29 +02:00
Rémi Bernon 177046a137 mf: Use topology_node_get_type_handler in MFGetTopoNodeCurrentType.
Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
2022-07-12 22:51:29 +02:00
Rémi Bernon 6c2b8fd3a4 mf: Move and rename topology_loader_get_node_type_handler.
To topology_node_get_type_handler.

Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
2022-07-12 22:51:29 +02:00
Rémi Bernon fb513fcc07 mf/tests: Add more topology loader connect method tests.
Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
2022-07-12 22:51:29 +02:00
Rémi Bernon 142e6e7861 mf/tests: Add more topology loader media types tests.
Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
2022-07-12 22:51:29 +02:00
Rémi Bernon 2db8a0a94e mf/tests: Simplify topology loader tests.
Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
2022-07-12 22:51:29 +02:00
Zebediah Figura 0af510467b ddraw/tests: Build ddraw2.c without -DWINE_NO_LONG_TYPES. 2022-07-12 22:51:29 +02:00
Zebediah Figura 92793a6e73 ddraw/tests: Build ddraw1.c without -DWINE_NO_LONG_TYPES. 2022-07-12 22:51:29 +02:00
Zebediah Figura e4cefae126 wineusb.sys: Move the event queue and device list to the Unix library.
Since the device hotplug callbacks both queue events and create unix_device
objects, we need to move both at the same time.
2022-07-12 19:39:13 +02:00
Zebediah Figura 0427ccb141 wineusb.sys: Move the event threads to IRP_MN_START_DEVICE.
To correspond with the shutdown in IRP_MN_REMOVE_DEVICE.
2022-07-12 19:39:13 +02:00
Zebediah Figura 92ae93d752 wineusb.sys: Move the event handling loop to the Unix library. 2022-07-12 19:39:13 +02:00
Zebediah Figura b3a47cf17e wineusb.sys: Queue pending IRPs after submitting the URB. 2022-07-12 19:39:13 +02:00
David Kahurani 6e32c011a2 ieframe: Fix memory leak in open_dde_url.
Signed-off-by: David Kahurani <k.kahurani@gmail.com>
2022-07-11 22:39:50 +02:00
Brendan Shanks b8ec1068ba ntdll: Add ".globl" for asm labels referenced from C.
Fixes syscall faults on 32-bit macOS.
Spotted by Stefan Dösinger.
2022-07-11 22:39:46 +02:00
Jacek Caban 8f3e19a52f imm32: Use default IME window WM_DESTROY to call imm_couninit_thread. 2022-07-11 18:56:18 +02:00
Jacek Caban d7d9344003 imm32: Use a separated struct for COM initialization spy. 2022-07-11 18:56:18 +02:00
Jacek Caban 7babf75789 imm32: Move default IMM window proc implementation from user32. 2022-07-11 18:56:17 +02:00
Jacek Caban f6ddd4ca86 imm32: Use win32u to manage input context handles. 2022-07-11 18:56:17 +02:00
Jacek Caban d9fc5b3f96 win32u: Implement input context object. 2022-07-11 18:56:16 +02:00
Jacek Caban 87a5c1bda5 wow64win: Sort user syscall thunks. 2022-07-11 18:56:16 +02:00
Paul Gofman 5f3cd85361 crypt32: Support MICROSOFT_ROOT_CERT_CHAIN_POLICY_CHECK_APPLICATION_ROOT_FLAG.
Signed-off-by: Paul Gofman <pgofman@codeweavers.com>
2022-07-11 18:55:11 +02:00
Piotr Caban 6f9cc9a083 ntdll: Fix x64 single step exception detection on macOS.
On macOS si_code is always set to TRAP_BRKPT.
2022-07-11 10:36:40 +02:00
Zebediah Figura 9fbdf2b434 ntoskrnl: Enumerate child devices on a separate thread. 2022-07-11 10:35:15 +02:00
Zebediah Figura 92456eb747 ntoskrnl/tests: Also test that IoInvalidateDeviceRelations() during device enumeration doesn't deadlock.
wineusb enumerates new devices and completes IRPs from the same thread (as if it
were an IRQ thread). On the other hand, the Hauppauge cx231xx USB driver
performs I/O from within IRP_MN_START_DEVICE. If the wineusb "IRQ" thread is
currently trying to report a new device, it won't be able to report I/O
completion, resulting in a deadlock.

Although wineusb could be modified to use more threads, these tests show that
calling IoInvalidateDeviceRelations() should not block in this situation.
2022-07-11 10:35:13 +02:00
Zebediah Figura 200d7b25ec ntoskrnl/tests: Test asynchronicity of device PnP events. 2022-07-11 10:35:13 +02:00
Zebediah Figura 1215bc805f wineusb.sys: Fully initialize the device before adding it to the device list.
Do not rely on IoInvalidateDeviceRelations() to initialize the device; it's supposed to be asynchronous.
2022-07-11 10:35:11 +02:00
Jinoh Kang 73284ea188 riched20/tests: Test for ITextDocument::Undo and ITextDocument::Redo.
Signed-off-by: Jinoh Kang <jinoh.kang.kr@gmail.com>
2022-07-11 10:33:37 +02:00
Zebediah Figura fcaa16ae40 ddraw/tests: Build visual.c without -DWINE_NO_LONG_TYPES. 2022-07-11 10:33:29 +02:00
Zebediah Figura a4bf81081d ddraw/tests: Build refcount.c without -DWINE_NO_LONG_TYPES. 2022-07-11 10:33:29 +02:00
Zebediah Figura cc7eae0c8f ddraw/tests: Build dsurface.c without -DWINE_NO_LONG_TYPES. 2022-07-11 10:33:27 +02:00
Rémi Bernon 7b79e3a87b winegstreamer: Check H264 ProcessOutput sample against actual image size.
Instead of maximum output sample size returned from GetOutputStreamInfo.

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=45988
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=47084
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=49715
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=52183
Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
2022-07-08 22:51:18 +02:00
Rémi Bernon 51bd7f86b6 winegstreamer: Use H264 input media type frame size when specified.
Updating the internal stream format frame size accordingly.

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=45988
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=47084
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=49715
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=52183
Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
2022-07-08 22:51:14 +02:00