Elizabeth Figura
aa0ab31571
server: Directly wake up wait asyncs when the serial mask changes.
2024-06-18 10:47:22 +02:00
Elizabeth Figura
6b7834d407
server: Check for an existing serial wait ioctl within the ioctl handler.
2024-06-18 10:47:19 +02:00
Elizabeth Figura
35de72453c
ntdll: Move IOCTL_SERIAL_WAIT_ON_MASK to the server.
...
Tested with a serial pair with a null modem.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=55947
2024-06-14 13:48:43 +02:00
Zebediah Figura
be427c312b
server: Generalize get_directory_entries to single_entry case.
2024-06-11 16:51:27 +02:00
Zebediah Figura
af4f252ac4
ntdll: Implement reading multiple entries in NtQueryDirectoryObject.
...
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=52585
2024-06-11 16:51:27 +02:00
Zebediah Figura
2c2b1b1f14
server: Don't set error in find_object_index if the object is not found.
...
find_object_index() sets the status code to STATUS_NO_MORE_ENTRIES to
indicate that the given index does not exist in the list of the
directory entries, in addition to returning NULL.
STATUS_NO_MORE_ENTRIES only makes sense in the context of the function's
only caller, req_get_directory_entry(), which is used to implement the
NtQueryDirectoryObject() system call, specifically the single object
case. Otherwise, the choice of status code is unintuitive.
Remove the set_error() call in find_object_index(), and move the
responsibility of setting the status code to the caller.
2024-06-11 16:51:27 +02:00
Adam Rehn
2dfeb87f41
wineserver: Report non-zero exit code for abnormal process termination.
...
Signed-off-by: Adam Rehn <adam@tensorworks.com.au>
2024-06-11 16:51:27 +02:00
Alexandros Frantzis
37e7038c5c
server: Implement key auto-repeat request.
2024-06-07 21:00:10 +02:00
Alexandros Frantzis
f95a44665f
server: Check message target process for raw input device flags.
2024-06-07 21:00:10 +02:00
Alexandros Frantzis
bf1da68aaa
server: Pass desktop to get_first_global_hook.
2024-06-07 21:00:10 +02:00
Elizabeth Figura
ed297ecba5
server: Inherit the source token's label in token_duplicate().
...
And assign it in token_create_admin().
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=56640
2024-06-06 22:29:56 +02:00
Elizabeth Figura
524b431123
server: Ignore attempts to set a mandatory label on a token.
2024-06-06 22:29:56 +02:00
Dmitry Timoshkov
c4c30d4615
server: Remove limitation for waiting on idle_event of the current process.
...
Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
2024-06-06 20:46:03 +02:00
Brendan McGrath
d88863805d
server: Don't always return STATUS_OBJECT_NAME_INVALID on ENOTDIR.
...
Only return STATUS_OBJECT_NAME_INVALID if we're not looking for a
FILE_DIRECTORY_FILE.
2024-06-05 22:01:56 +02:00
Rémi Bernon
9ec501141e
server: Avoid calling set_event from within msg_queue_add_queue.
2024-06-05 22:01:22 +02:00
Alexandros Frantzis
d38d455c4b
server: Set VK_PACKET async state in raw input legacy mode.
2024-05-31 19:05:58 +02:00
Alexandros Frantzis
69aad4aeca
server: Don't send raw input events for unicode inputs.
2024-05-31 19:05:55 +02:00
Alexandros Frantzis
d14a827b8c
server: Apply modifier vkey transformations regardless of unicode flag.
2024-05-31 19:05:55 +02:00
Alexandros Frantzis
d0e3286d96
server: Use right-left modifier vkeys for hooks.
2024-05-31 19:05:55 +02:00
Rémi Bernon
ee8f0b6c5d
server: Update window surface regions when the window is shaped.
2024-05-30 19:53:21 +02:00
Rémi Bernon
7cdf20267c
server: Merge get_surface_region / get_window_region requests together.
2024-05-30 19:53:21 +02:00
Rémi Bernon
a3b22d3bf7
win32u: Only keep DPI awareness context with window objects.
2024-05-28 20:45:11 +02:00
Alexandros Frantzis
85f1ad64c4
server: Fix handling of KEYEVENTF_UNICODE inputs with a non-zero vkey.
2024-05-22 22:28:43 +02:00
Rémi Bernon
d18bd43ba2
server: Pass the adjusted vkey to send_hook_ll_message.
2024-05-22 22:28:43 +02:00
Alexandros Frantzis
11ef7af768
server: Send numpad virtual keys if NumLock is active.
...
If the hardware keyboard event has KBD virtual key information, use it
to detect numpad key events and translate them to the appropriate
virtual keys depending on NumLock (and Shift) state.
2024-05-21 20:32:15 +02:00
Paul Gofman
0884b503c9
win32u: Update last message time in NtUserGetRawInputBuffer().
2024-05-12 16:31:50 +02:00
Paul Gofman
deb273a926
ntdll: Implement NtQuerySystemInformation(SystemProcessIdInformation).
2024-05-01 16:54:00 +02:00
Paul Gofman
04a2917f6b
ntdll: Store exception reporting flags in server context.
2024-04-26 23:21:57 +02:00
Brendan Shanks
6ea3bc56ec
server: Clarify that registry files are always in the current directory, and simplify save_branch().
2024-03-28 19:57:01 +01:00
Brendan Shanks
9b4e3718ed
server: Replace sprintf with snprintf to avoid deprecation warnings on macOS.
2024-03-28 19:51:35 +01:00
Brendan Shanks
4e04b2d528
server: Replace some malloc/sprintf/strcpy calls with asprintf.
2024-03-28 19:51:35 +01:00
Brendan Shanks
617b29c402
server: Simplify creation of the server directory.
2024-03-27 22:19:25 +01:00
Alexandre Julliard
84d5614b11
server: Add a helper to trace uint64 arrays.
2024-03-22 16:54:09 +01:00
Rémi Bernon
b053e924e8
server: Process internal messages when checking queue status.
2024-03-21 22:19:58 +01:00
Rémi Bernon
a84517418e
server: Check for internal hardware messages before others.
2024-03-21 22:19:58 +01:00
Rémi Bernon
994021da99
server: Send WM_WINE_SETCURSOR message only when necessary.
2024-03-21 22:19:58 +01:00
Rémi Bernon
1604d8a202
server: Send WM_WINE_CLIPCURSOR message only when necessary.
2024-03-21 22:19:58 +01:00
Rémi Bernon
5d91ab65fa
server: Avoid removing thread twice from its desktop thread list.
2024-03-21 22:19:58 +01:00
Jinoh Kang
a4ef56e1d9
server: Check for DELETE access in NtMakeTemporaryObject().
2024-03-20 23:16:24 +01:00
Paul Gofman
4d56a33ab0
server: Ignore some ICMP-originated socket errors for connectionless sockets.
2024-03-15 23:48:52 +01:00
Jinoh Kang
e368515eef
server: Generalize server request make_temporary to set_object_permanence.
...
Required for implementing NtMakePermanentObject().
2024-03-15 15:06:33 +01:00
Brendan Shanks
befd7abe10
server: Remove support for msg_accrights FD passing.
2024-03-11 18:12:03 +01:00
Rémi Bernon
28c52d4ac3
server: Remove desktop from their winstation list before looking for another input desktop.
2024-03-08 17:40:03 +01:00
Zebediah Figura
e92ba2de43
server: Create processes using a limited administrator token by default.
...
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=40613
2024-03-08 09:49:52 +01:00
Zebediah Figura
95a91bd816
ntdll: Implement NtSetInformationProcess(ProcessAccessToken).
2024-03-08 09:49:52 +01:00
Rémi Bernon
24ad74ee26
server: Send emulated mouse messages on primary pointer updates.
2024-03-06 19:20:09 +01:00
Rémi Bernon
40b65e28a7
server: Continuously send pointer update messages while it's down.
2024-03-06 19:20:09 +01:00
Rémi Bernon
d8b8ac85eb
server: Generate WM_POINTERENTER / WM_POINTERLEAVE messages.
2024-03-06 19:20:09 +01:00
Rémi Bernon
5b833c83be
server: Stop waiting on LL-hooks for non-injected input.
2024-03-06 19:19:47 +01:00
Rémi Bernon
61d1c18957
server: Add support for sending and receiving WM_POINTER* messages.
2024-03-05 20:50:07 +01:00