Piotr Caban
604e7b4e77
localspl: Add printer port redirection extension.
2022-11-29 19:11:19 +01:00
Tim Clem
6be2138da6
winex11.drv: Don't ignore virtual EnterNotify events.
...
These represent the mouse entering a client window child, and if no
MotionNotify events follow, we'll be left out of sync with X.
2022-11-29 19:11:19 +01:00
Piotr Caban
d9a80adc23
winspool: Don't translate port name to path in StartDocDlgW.
2022-11-29 19:11:19 +01:00
Piotr Caban
b6204639ba
gdi32: NULL terminate output string in CreateDCW.
2022-11-29 19:11:19 +01:00
Alexandre Julliard
de3c286adf
winebuild: Call __delayLoadHelper2 to resolve delay imports also on non-PE builds.
2022-11-29 19:11:19 +01:00
Alexandre Julliard
1181011c1e
winebuild: Pass the delay import descriptor to the __wine_spec_delay_load function.
2022-11-29 19:11:19 +01:00
Alexandre Julliard
a2d8e7a5d3
winebuild: Generate a separate helper for each delay-imported module.
2022-11-29 19:11:19 +01:00
Alexandre Julliard
0c39285077
winebuild: Use RVAs instead of absolute addresses in the delay import descriptors.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-11-29 19:11:19 +01:00
Alexandre Julliard
29060f3d78
winebuild: Add a helper function to output a thunk data pointer.
2022-11-29 19:11:19 +01:00
Alexandre Julliard
d406de1828
ntdll: Also fixup the delay import directory when mapping a .so dll.
2022-11-29 19:11:19 +01:00
Alex Henrie
06395e5cd9
vbscript: Fix memory leak on realloc failure in Global_Split (cppcheck).
2022-11-29 19:11:18 +01:00
Alex Henrie
cb4d61efa1
atl: Fix memory leak on error path in do_process_root_key (scan-build).
2022-11-29 19:11:18 +01:00
Alex Henrie
5fe082172d
comctl32: Use standard C functions for memory allocation in edit.c.
2022-11-29 19:11:18 +01:00
Rémi Bernon
77572690f5
joy.cpl: Merge the dinput test and force feedback tabs.
2022-11-29 19:11:18 +01:00
Rémi Bernon
8f61809690
joy.cpl: Reduce the button size on the device test tab.
2022-11-29 19:11:18 +01:00
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