Alexandre Julliard
f0ee51026b
makefiles: Hardcode the nls directory.
...
It's Wine-specific anyway.
2024-06-24 13:47:08 +02:00
Rémi Bernon
2eeb4d5192
server: Move the desktop keystate to shared memory.
...
Based on a patch by Huw Davies.
2024-06-21 22:59:39 +02:00
Rémi Bernon
d5b4458c8d
server: Use separate functions to update the desktop and input keystates.
...
Based on a patch by Huw Davies.
2024-06-21 22:59:39 +02:00
Rémi Bernon
534aff4a63
server: Use a separate variable to determine the message on Alt release.
...
Based on a patch by Huw Davies.
2024-06-21 22:59:39 +02:00
Rémi Bernon
472ce7fd1d
server: Get rid of the global cursor structure.
...
Based on a patch by Huw Davies.
2024-06-21 22:59:39 +02:00
Rémi Bernon
496f663157
server: Store the cursor clip rect in the shared data.
...
Based on a patch by Huw Davies.
2024-06-21 22:59:39 +02:00
Rémi Bernon
33a9097bb4
server: Mark block as writable in mark_block_uninitialized.
...
Before writing to it, it may have been marked as noaccess before
in free_shared_object.
2024-06-21 22:59:39 +02:00
Rémi Bernon
5488d99b3e
server: Move the last cursor time to the desktop session object.
...
Based on a patch by Huw Davies.
2024-06-20 23:03:26 +02:00
Rémi Bernon
728049d6fa
server: Move the cursor position to the desktop session object.
...
Based on a patch by Huw Davies.
2024-06-20 23:03:26 +02:00
Rémi Bernon
20f4c9af0f
server: Return the desktop object locator in (get|set)_thread_desktop.
2024-06-20 23:03:26 +02:00
Rémi Bernon
1e10e3a1c0
server: Allocate shared session object for desktops.
2024-06-20 23:03:26 +02:00
Rémi Bernon
fac940dfac
server: Create a global session shared mapping.
2024-06-20 23:03:26 +02:00
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