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
Rémi Bernon
e15af49029
winegstreamer: Implement H264 SetOutputType by reconfiguring the pipeline.
...
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=45988
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=47084
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=49715
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=52183
Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
2022-07-08 22:51:14 +02:00
Zebediah Figura
bc270a5432
ntdll: Correctly handle shift greater than the type width in 64-bit shift functions.
...
Based on a patch by Zhao Yi.
2022-07-08 19:53:21 +02:00
Zebediah Figura
9ef7246243
ntdll: Avoid depending on compiler support for 64-bit shift functions.
2022-07-08 19:53:21 +02:00
Zebediah Figura
42636254f4
ntdll/tests: Add tests for runtime 64-bit shift functions.
2022-07-08 19:53:21 +02:00
Zebediah Figura
15320277f8
ntdll: Fix the calling convention for runtime 64-bit shift functions.
...
Based on a patch by Zhao Yi.
2022-07-08 19:53:18 +02:00
Hans Leidekker
ebcb18d418
mscms: Merge the profile and transform handle tables.
2022-07-08 10:48:54 +02:00
Zebediah Figura
8a56c4dbba
ddraw/tests: Build ddrawmodes.c without -DWINE_NO_LONG_TYPES.
2022-07-08 10:48:28 +02:00
Zebediah Figura
0f45657137
ddraw/tests: Build d3d.c without -DWINE_NO_LONG_TYPES.
2022-07-08 10:48:28 +02:00
Julian Klemann
8e307b2ecd
http.sys: Do not add URLs with query parameters to queue.
2022-07-08 10:48:22 +02:00
Julian Klemann
296852b258
http.sys: Add support for relative URLs.
...
The queue with the most specific path should be the one to receive the
request.
2022-07-08 10:48:20 +02:00
Stefan Rentsch
fefe108e20
wbemprox: Provide more accurate system information.
...
This re-uses existing functions from Win32_ComputerSystemProduct to provide
more accurate values, which are helpful to system overview applications.
> wmic.exe computersystem GET Manufacturer
2022-07-07 20:25:47 +02:00