Commit graph

161139 commits

Author SHA1 Message Date
Bartosz Kosiorek 0fd51346e1 gdiplus: Fix position of Custom Cap when Scale is different that 1. 2022-11-29 21:33:58 +01:00
Bartosz Kosiorek be7db8457d gdiplus: Add support for Custom Line Indent.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=45273
2022-11-29 21:33:58 +01:00
Evan Tang b57f635f22 winebus.sys: Report unique serial numbers for SDL devices. 2022-11-29 21:33:58 +01:00
Piotr Caban 90149034ef localspl: Add lpr port extension. 2022-11-29 19:11:19 +01:00
Piotr Caban 6372a61eb5 localspl: Add unixname port extension. 2022-11-29 19:11:19 +01:00
Piotr Caban fca258ef89 localspl: Add pipe port extension. 2022-11-29 19:11:19 +01:00
Piotr Caban aa4e9c39d2 localspl: Fix parameters validation in FILE StartDocPort. 2022-11-29 19:11:19 +01:00
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