Commit graph

161067 commits

Author SHA1 Message Date
Rémi Bernon
a2a8013687 joy.cpl: Use a notification event rather than polling state. 2022-11-29 19:11:18 +01:00
Rémi Bernon
eb00dd0db1 joy.cpl: Always start input threads and remove num_ff member. 2022-11-29 19:11:18 +01:00
Rémi Bernon
8c6e2a2d79 joy.cpl: Use a struct list to keep created dinput devices. 2022-11-29 19:11:18 +01:00
Rémi Bernon
2b706a00a3 joy.cpl: Move the device effect list to static global scope. 2022-11-29 19:11:18 +01:00
Huw Davies
905821fc69 ntdll: Fix -Wformat warnings on macOS. 2022-11-29 13:15:34 +01:00
Jacek Caban
114e726916 winex11: Use NtUserGetDC. 2022-11-29 12:50:23 +01:00
Jacek Caban
609990f716 user32: Merge painting.c into win.c. 2022-11-29 12:50:23 +01:00
Jacek Caban
6b2da0bab9 win32u: Move NtUserPrintWindow implementation from user32. 2022-11-29 12:50:22 +01:00
Jacek Caban
ae984f630b win32u: Move NtUserValidateRect implementation from user32. 2022-11-29 12:50:20 +01:00
Jacek Caban
8bdfe2be19 win32u: Move NtUserGetWindowDC implementation from user32. 2022-11-29 12:50:19 +01:00
Jacek Caban
be6f5ed95a win32u: Move NtUserGetDC implementation from user32. 2022-11-29 12:50:16 +01:00
Alex Henrie
6905b76b94 wininet: Simplify memory allocation in HTTP_InsertCustomHeader. 2022-11-28 23:05:25 +01:00
Robert Wilhelm
5cf0d97416 vbscript: Accept private and public const global declarations.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=53783
2022-11-28 23:05:21 +01:00
Jacek Caban
ac5e7fab1f ntdll: Detect ntdll module also by module path comparison. 2022-11-28 21:06:47 +01:00
Rémi Bernon
871d2b9443 ntdll: Reallocate a new block if we failed to commit. 2022-11-28 21:02:40 +01:00
Rémi Bernon
d0b46b2a18 ntdll: Inverse the control flow in heap_reallocate. 2022-11-28 21:02:40 +01:00
Rémi Bernon
efc6a8f42c ntdll: Stop locking heap to access block-local data.
This moves unsafe_block_from_ptr calls outside of the heap lock.

We assume here that concurrent call to another heap function on a block
being freed is undefined, and it should then be safe to do so:

* The block type or base offset never change after a block has been
  allocated and until it is freed.

* Block flags such as BLOCK_FLAG_LARGE, or BLOCK_FLAG_USER_INFO also
  never change after a block has been allocated.

* Other block flags are only read and modified inside the heap lock.
2022-11-28 21:02:37 +01:00
Rémi Bernon
708462f6aa ntdll: Avoid clearing BLOCK_FLAG_USER_INFO in heap_reallocate. 2022-11-28 21:02:37 +01:00
Rémi Bernon
2f6b763fa9 ntdll: Find heap block region from its base offset. 2022-11-28 21:02:37 +01:00
Rémi Bernon
fd8e52b4e7 ntdll: Keep the region base offset in the block header. 2022-11-28 21:02:37 +01:00
Jacek Caban
68eee4053c ntdll: Call init_handler in usr1_handler.
It's needed before is_inside_syscall accesses TEB.
2022-11-28 21:01:55 +01:00
Jacek Caban
e7accd7c0f ntdll: Get TEB from signal stack pointer in init_handler.
We can't use NtCurrentTeb before setting %fs base.
2022-11-28 21:01:55 +01:00
Eric Pouech
944edd5068 winedump: Don't crash when dumping .dbg files.
Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
2022-11-28 21:01:55 +01:00
Jacek Caban
eaae51b11c configure: Use -fuse-ld=lld also for compilation targets.
This is used by clang to distinguish between MSVC and windows-itanium
targets. We override default option (usually meant for native builds)
to make sure that we use the right target.
2022-11-28 21:01:55 +01:00
Jacek Caban
cc91a2f933 winegcc: Use -nostdlib instead of -nostartfiles on Clang MSVC targets.
-nostartfiles is not enough if clang is configured with explicit default rtlib.
2022-11-28 21:01:55 +01:00
Jacek Caban
c096d6cec7 configure: Use -nostdlib instead of -nostartfiles in WINE_TRY_PE_CFLAGS.
-nostartfiles is not enough if clang is configured with explicit default rtlib.
2022-11-28 21:01:55 +01:00
Piotr Caban
06aac5a4f7 localspl: Add EndDocPrinter implementation. 2022-11-28 21:01:55 +01:00
Piotr Caban
35c393fd04 localspl: Add partial ScheduleJob implementation. 2022-11-28 21:01:55 +01:00
Piotr Caban
934b63d85a localspl: Add GetJob implementation. 2022-11-28 21:01:55 +01:00
Piotr Caban
3110f5d764 localspl: Add SetJob implementation. 2022-11-28 21:01:55 +01:00
Piotr Caban
baabf623fe localspl: Add StartDocPrinter implementation. 2022-11-28 21:01:55 +01:00
Piotr Caban
adbbcb54dd localspl: Add AddJob implementation. 2022-11-28 21:01:55 +01:00
Piotr Caban
90fa4b428d localspl: Introduce printer_info_t structure.
The structure will be used to store printer information shared between all
printer handles (like printer name, attributes, job queue).
2022-11-28 21:01:55 +01:00
Piotr Caban
f89a5fd458 localspl: Convert MONITOREX structure to MONITOR2 during port monitor initialization. 2022-11-28 21:01:55 +01:00
Alex Henrie
b1391caf64 mshtml: Remove string constant macros from navigate.c.
Having an extra layer of indirection here makes the code less clear.
2022-11-28 21:01:55 +01:00
Gabriel Ivăncescu
60279d0d5a include/mshtml: Add IHTMLXDomainRequest and factory interfaces and classes.
Signed-off-by: Gabriel Ivăncescu <gabrielopcode@gmail.com>
2022-11-28 21:01:55 +01:00
Gabriel Ivăncescu
9a0d0e8616 mshtml: Don't check for doc_node from the doc obj when it can't be NULL.
Signed-off-by: Gabriel Ivăncescu <gabrielopcode@gmail.com>
2022-11-28 21:01:55 +01:00
Gabriel Ivăncescu
b99c89f383 mshtml: Return proper error for invalid selectors in IE8 mode.
More importantly it gets rid of the ERR since such failures are normal.

Signed-off-by: Gabriel Ivăncescu <gabrielopcode@gmail.com>
2022-11-28 21:01:55 +01:00
Gabriel Ivăncescu
be8bd0e6b0 mshtml: Treat edit mode as a reload.
Signed-off-by: Gabriel Ivăncescu <gabrielopcode@gmail.com>
2022-11-28 21:01:55 +01:00
Gabriel Ivăncescu
a44ce98d10 mshtml: Implement performance.navigation.type.
Signed-off-by: Gabriel Ivăncescu <gabrielopcode@gmail.com>
2022-11-28 21:01:55 +01:00
Gabriel Ivăncescu
2e0a5d429e mshtml: Implement performance.navigation.redirectCount.
Signed-off-by: Gabriel Ivăncescu <gabrielopcode@gmail.com>
2022-11-28 21:01:55 +01:00
Gabriel Ivăncescu
25f205d9ac mshtml: Set reload load type to Gecko for document reloads.
So it can async open with proper binding flags.

Signed-off-by: Gabriel Ivăncescu <gabrielopcode@gmail.com>
2022-11-28 21:01:55 +01:00
Gabriel Ivăncescu
12213e13ab mshtml: Implement onload prop for input elements.
Signed-off-by: Gabriel Ivăncescu <gabrielopcode@gmail.com>
2022-11-28 21:01:55 +01:00
Gabriel Ivăncescu
2865a5f113 mshtml: Implement location.reload().
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=53927
Signed-off-by: Gabriel Ivăncescu <gabrielopcode@gmail.com>
2022-11-28 21:01:55 +01:00
Gabriel Ivăncescu
0e71100e56 mshtml: Implement print events.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=53927
Signed-off-by: Gabriel Ivăncescu <gabrielopcode@gmail.com>
2022-11-28 21:01:55 +01:00
Zhiyi Zhang
5c64b505c2 winex11.drv: Support _KDE_NET_WM_STATE_SKIP_SWITCHER.
KWin has a switcher that triggered by Alt+Tab that basically acts like a pager. And hiding items in
the switcher is controlled by _KDE_NET_WM_STATE_SKIP_SWITCHER.
2022-11-28 21:01:55 +01:00
Alexandre Julliard
7eb08bd230 wpcap: Use the Unix call helpers. 2022-11-28 21:01:55 +01:00
Alexandre Julliard
c37f91c78b winspool.drv: Use the Unix call helpers. 2022-11-28 21:01:55 +01:00
Alexandre Julliard
3e5bf70341 sane.ds: Use the Unix call helpers. 2022-11-28 21:01:55 +01:00
Alexandre Julliard
15e044905b qcap: Use the Unix call helpers. 2022-11-28 21:01:55 +01:00