Commit graph

3236 commits

Author SHA1 Message Date
Alexandre Julliard
babb7fbc62 win32u: Implement NtUserBuildNameList(). 2024-11-19 13:24:02 +01:00
Alexandre Julliard
ac1ff67cfd server: Use an explicit union instead of a typedef for select operations. 2024-11-18 21:35:50 +01:00
Alexandre Julliard
ab399468c2 server: Use an explicit union instead of a typedef for IRP params. 2024-11-18 21:34:40 +01:00
Alexandre Julliard
6f5e34ad14 server: Use an explicit union instead of a typedef for debug event data. 2024-11-18 21:33:42 +01:00
Alexandre Julliard
180ba49cee server: Use an explicit union instead of a typedef for hardware input. 2024-11-18 21:32:53 +01:00
Alexandre Julliard
ce946e57db server: Use an explicit union instead of a typedef for message data. 2024-11-18 21:29:14 +01:00
Alexandre Julliard
576d7e24cd server: Use an explicit struct instead of a typedef for async I/O data. 2024-11-15 16:25:10 +01:00
Alexandre Julliard
305ec347dc server: Use an explicit struct instead of a typedef for user APCs. 2024-11-15 16:25:10 +01:00
Alexandre Julliard
4c0103e58c server: Use an explicit union instead of a typedef for APC results. 2024-11-15 16:25:10 +01:00
Alexandre Julliard
1137a10ef7 server: Use an explicit union instead of a typedef for APC calls. 2024-11-15 16:25:10 +01:00
Alexandre Julliard
75e2ec479b server: Move the generated part of trace.c to a separate header. 2024-11-15 16:25:09 +01:00
Alexandre Julliard
45953cdbec server: Move the generated part of request.h to a separate header. 2024-11-15 16:25:09 +01:00
Alexandre Julliard
126c54cd25 server: Print a warning if page size isn't 4k. 2024-11-15 16:25:09 +01:00
Zhiyi Zhang
b240f8ea93 ntdll: Implement NtSetIoCompletionEx(). 2024-11-14 21:56:33 +01:00
Paul Gofman
698ab75a59 server: Don't update cursor pos in set_window_pos() if window wasn't moved.
Fixes a regression introduced by commit db9a4bc66a.
2024-11-14 21:56:33 +01:00
Rémi Bernon
9a11af381b server: Use the monitor infos to map points from raw to virt. 2024-11-12 21:52:24 +01:00
Eric Pouech
a5e04fa968 server: Amend process rights mapping.
PROCESS_VM_OPERATION | PROCESS_VM_WRITE grants
PROCESS_QUERY_LIMITED_INFORMATION rights.

Signed-off-by: Eric Pouech <epouech@codeweavers.com>
2024-11-12 21:52:24 +01:00
Alexandre Julliard
95ec815c4a server: Fix a thread reference leak. 2024-11-11 16:25:42 +01:00
Jinoh Kang
962017beef server: Implement more FSCTLs on \Device\NamedPipe and \Device\NamedPipe\. 2024-11-04 15:30:21 +01:00
Jinoh Kang
663bc96653 server: Allow creating named pipes using \Device\NamedPipe\ as RootDirectory.
Separate the named pipe root directory from the named pipe device file.
Open the root directory instead of the device file if the path ends
with backslash.

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=52105
Signed-off-by: Jinoh Kang <jinoh.kang.kr@gmail.com>
2024-11-04 15:30:21 +01:00
Rémi Bernon
11f56b3a04 server: Use the monitor infos to compute the virtual screen rect. 2024-11-04 13:32:55 +01:00
Rémi Bernon
efea900d1d win32u: Inform wineserver about the winstation monitors. 2024-11-04 13:32:55 +01:00
Paul Gofman
db9a4bc66a server: Sync cursor position on window position change. 2024-10-29 14:23:53 -05:00
Paul Gofman
291888be74 server: Signal completion port waits on handle close. 2024-10-23 11:37:09 +02:00
Paul Gofman
b6904756a4 ntdll: Handle user APCs explicitly in NtRemoveIoCompletionEx(). 2024-10-23 11:37:09 +02:00
Paul Gofman
dc7bdc3db6 ntdll: Assign completion to thread when wait for completion is satisfied. 2024-10-23 11:37:09 +02:00
Paul Gofman
e01b70851f ntdll: Introduce a separate per-thread object for internal completion waits. 2024-10-23 11:37:08 +02:00
Zhiyi Zhang
b21813fa13 ntdll: Implement NtAllocateReserveObject().
React Native applications need a real kernel handle from NtAllocateReserveObject().
NtAllocateReserveObject() pre-allocates memory for objects to deal with low memory situations. Due
to no APIs in Wine actually uses NtAllocateReserveObject(), for now no memory is reserved.
2024-10-18 16:42:47 +02:00
Alexandre Julliard
c695ded692 server: Match formatting of the English manpage. 2024-10-02 16:58:06 +02:00
Tim Clem
a7b69cb692 server: Make shell, taskman, and progman windows per-desktop. 2024-10-02 09:47:42 +02:00
Aida Jonikienė
a4e77b33f6 server: Move last_active variable initialization (Valgrind).
Fixes: 5b56bad50b ("server: Make window struct a server object.")
2024-09-24 23:23:33 +02:00
Brendan Shanks
fc13fe9b04 ntdll: Always use mach_continuous_time() on macOS.
mach_continuous_time() is available on all our supported macOS versions
(10.12 and newer).
2024-09-19 15:02:36 +02:00
Alexandre Julliard
64dd96d43e configure: Remove some no longer needed header checks. 2024-09-19 15:02:36 +02:00
Paul Gofman
4e43a7891f server: Correct STATUS_NOT_FOUND return from (cancel_async). 2024-09-18 19:22:31 +02:00
Paul Gofman
3d1c2b0ede ntdll: Don't cancel background socket sends. 2024-09-18 19:22:31 +02:00
Alexandre Julliard
98ae8600af server: Make masks unsigned (Clang). 2024-09-11 22:51:45 +02:00
Alexandre Julliard
5b1b85960e server: Avoid memcpy with null pointer (Clang). 2024-09-11 22:51:45 +02:00
Alexandre Julliard
c8e069470f server: Avoid a redundant list check (Clang). 2024-09-11 22:51:45 +02:00
Alexandre Julliard
4be18ce16b server: Remove some dead initializations (Clang). 2024-09-11 22:51:45 +02:00
Alexandre Julliard
322b5334a8 server: Add a helper to append data to a buffer. 2024-09-11 22:51:45 +02:00
Tim Clem
a3f737f614 nsiproxy: Implement UDP table on top of a server call. 2024-09-06 11:15:26 +02:00
Tim Clem
9085bc7b87 nsiproxy: Implement TCP table on top of a server call. 2024-09-06 11:15:26 +02:00
Rémi Bernon
1c9c6f0b32 server: Pass window's per-monitor DPI in set_window_pos. 2024-09-02 22:52:55 +02:00
Paul Gofman
5a173e6190 server: Support IPV4 UDP broadcast on connected socket without SO_BROADCAST. 2024-08-22 23:12:06 +02:00
Rémi Bernon
309daa5bee win32u: Avoid sending WM_PAINT to layered window surfaces.
And prevent drawing to layered surface.
2024-08-01 16:48:38 +02:00
Elizabeth Figura
3ccb87e3f8 server: Reimplement mailslots using server-side I/O. 2024-07-22 22:50:54 +02:00
Elizabeth Figura
c984ec084b ntdll: Respect the "options" argument to NtCreateMailslotFile. 2024-07-22 22:25:17 +02:00
Elizabeth Figura
28a0d3105b server: Treat completion with error before async_handoff() as error.
That is, don't fill the IOSB or signal completion (unless the async was
explicitly marked as pending, with set_async_pending().

This is for convenience.
2024-07-22 22:25:17 +02:00
Elizabeth Figura
fba10c5cf5 server: Make pipe ends FD_TYPE_DEVICE.
Named pipes are now implemented entirely on the server side, and there is no
code that warrants a separate FD type.
2024-07-22 22:25:17 +02:00
Jinoh Kang
863f12c329 server: Mark the socket as cacheable when it is an accepted or accepted-into socket.
Fixes: 89f77a93a6
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=56977
2024-07-17 23:31:35 +02:00