Jacek Caban
cf08bd0e38
server: Create iosb objects inside read/write request handlers.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-02-01 21:19:38 +01:00
André Hentschel
6b85b31b00
server: Remove dead assignment (clang).
...
Signed-off-by: André Hentschel <nerv@dawncrow.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-01-31 08:52:09 +01:00
Gerald Pfeifer
4598d32ab4
server: Remove dead check in is_cpu_supported().
...
Signed-off-by: Gerald Pfeifer <gerald@pfeifer.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-01-25 17:17:18 +01:00
Jacek Caban
d055d3d121
server: Use async object to transfer IRP result to client.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-12-05 16:11:03 +01:00
Jacek Caban
64dc8f5c48
server: Store iosb in async object.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-12-05 16:11:03 +01:00
Jacek Caban
d2b3c6c3f9
server: Introduced iosb struct for server-side IO_STATUS_BLOCK representation and use it in irp_call.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-12-05 16:11:03 +01:00
Jacek Caban
d8bfbbdc07
server: Signal pipe server fd in create_pipe_server.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-12-02 15:56:05 +01:00
Jacek Caban
6ffe08459f
server: Cancel process asyncs on process termination.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-12-01 15:25:34 +01:00
Jacek Caban
ad1e0609a0
server: Get rid of no loner used cancel_async from fd_ops.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-12-01 13:50:59 +01:00
Jacek Caban
055918c982
server: Store async list in process object and use that to find async in cansel_async request.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-12-01 13:50:27 +01:00
Alexandre Julliard
86ec169712
server: Get rid of the clipboard owner thread field.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-11-02 17:10:35 +01:00
Alexandre Julliard
a5f42fcd6e
server: Get rid of the set_clipboard_info request.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-11-02 17:07:54 +01:00
Jacek Caban
5b2dc08307
server: Allow caching device file handles.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-10-28 18:35:55 +02:00
Ken Thomases
780ede1cde
server: Make disconnecting a named pipe immediately close the client's connection and allow the server to initiate a new connection.
...
Signed-off-by: Ken Thomases <ken@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-10-21 13:39:10 +02:00
Roman Pisl
ddfc5275af
process: Make PROCESS_QUERY_LIMITED_INFORMATION sufficient for QueryFullProcessImageName().
...
Signed-off-by: Roman Pisl <rpisl@seznam.cz>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-10-17 16:55:14 -07:00
Jacek Caban
60f8ddbf9d
server: Create ifchange async queue on socket fd.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-10-13 18:22:00 +02:00
Jacek Caban
93863d25fc
ws2_32: Pass completion routing to NtDeviceIoControlFile in server_ioctl_sock only if caller provided completion routine.
...
Otherwise we're always doing non-blocking calls, preventing server from
doing the right thing (and in actually doing the opposite in
WS_SIO_ADDRESS_LIST_CHANGE case).
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-10-13 18:21:11 +02:00
Sebastian Lackner
b6b54fa14a
server: Handle error when memdup fails in synthesize_formats.
...
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-10-01 04:38:41 +02:00
Sebastian Lackner
547d7eded3
server: Fix leak of old clipboard data when replacing existing format.
...
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-09-28 00:06:51 +09:00
Alexandre Julliard
f0fbf1a9d1
user32: Cache clipboard data on the client side.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-09-26 15:12:21 +09:00
Alexandre Julliard
9ed8f5e83f
user32: Add synthesized clipboard formats on the server side.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-09-26 15:06:10 +09:00
Alexandre Julliard
3044935b0e
user32: Retrieve clipboard data from the server.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-09-26 14:48:32 +09:00
Alexandre Julliard
c69b4995c5
user32: Retrieve available clipboard formats from the server.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-09-26 14:20:41 +09:00
Alexandre Julliard
79f90e4e41
user32: Store clipboard data on the server side.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-09-26 14:20:26 +09:00
Alexandre Julliard
99408d7859
server: Get rid of the clipboard sequence number update hack.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-09-23 20:30:35 +09:00
Sebastian Lackner
808619b72d
server: Allow to create win32 prefix when directory already exists.
...
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-09-22 12:46:01 +09:00
Alexandre Julliard
305d89f1ed
server: Return the owner window in the close_clipboard request.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-09-14 16:25:08 +09:00
Alexandre Julliard
2bf890d95f
server: Return the owner window in the release_clipboard request.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-09-14 16:25:07 +09:00
Sebastian Lackner
7c06f1c218
server: Do not store unix_pid in process_snapshot struct.
...
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-09-07 23:54:44 +09:00
Alexandre Julliard
2b8021d4d0
server: Don't release the clipboard owner window when the owner thread terminates.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-09-01 22:14:22 +09:00
Alexandre Julliard
bddab0e7f8
server: Add a release_clipboard request, and notify the owner and viewer on release.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-09-01 22:02:04 +09:00
Alexandre Julliard
438dae524d
server: Avoid some compiler warnings when EWOULDBLOCK == EAGAIN.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-08-30 19:09:20 +09:00
Alexandre Julliard
70dd64cf97
server: Add a helper function to validate a window handle.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-08-30 18:08:36 +09:00
Alexandre Julliard
c6f12bd9cc
server: Notify all listeners when the contents of the clipboard have changed.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-08-30 16:33:04 +09:00
Alexandre Julliard
35537b1d45
server: Implement Add/RemoveClipboardFormatListener.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-08-29 23:54:40 +09:00
Alexandre Julliard
19d16a7cb1
server: Add some validation of clipboard window handles.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-08-29 21:31:50 +09:00
Alexandre Julliard
5962df3a1e
server: Cleanup clipboard information upon window destruction.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-08-24 00:16:43 +09:00
Alexandre Julliard
42c221db6c
user32: Don't allow SetClipboardData if the clipboard is not open.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-08-23 17:35:18 +09:00
Alexandre Julliard
79d2e0a9be
server: Add a request to return clipboard information.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-08-23 16:29:00 +09:00
Alexandre Julliard
98b24dcb50
server: Add a separate request to set the clipboard viewer.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-08-22 23:05:20 +09:00
Alexandre Julliard
7258793169
server: Add separate requests for opening and closing the clipboard.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-08-22 16:20:53 +09:00
Hugh McMaster
f592f931b2
server: Get and set the console pop-up color attributes.
...
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-08-11 23:31:53 +09:00
Hugh McMaster
2d7c73d802
server: Get and set the console color table.
...
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-08-11 23:31:52 +09:00
Piotr Caban
84b3218ed6
server: Fix loading of IMAGE_OPTIONAL_HEADER.
...
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-08-09 00:56:00 +09:00
Alexandre Julliard
ef716e9d1e
server: Don't grow the mapped file for read-only mappings.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-07-27 22:21:07 +09:00
Alexandre Julliard
32c7153fdb
server: Avoid rounding mapping sizes on the server side.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-07-27 17:03:03 +09:00
Alexandre Julliard
6f0979b983
ntdll: Implement the SectionImageInformation class of NtQuerySection.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-07-26 20:33:16 +09:00
Alexandre Julliard
2602df14d8
ntdll: Implement the SectionBasicInformation class of NtQuerySection.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-07-26 20:32:10 +09:00
Alexandre Julliard
1ddc636051
server: Store the section flags separately from the protection.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-07-26 14:20:02 +09:00
Alexandre Julliard
0b933f1f48
server: Avoid unaligned access when printing x86 floating point registers.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-07-22 11:49:37 +09:00
Alexandre Julliard
87bbc84ad5
server: Add a helper function to create session directories and symlinks.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-07-18 16:21:24 +09:00
Alexandre Julliard
c7f16d6220
server: Add a helper function to create a symlink to an existing object.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-07-18 15:34:08 +09:00
Piotr Chruściel
84c3b8ae28
server: Move the \BaseNamedObjects symlink in \Sessions\0 to \Sessions\1\BaseNamedObjects.
...
Signed-off-by: Piotr Chruściel <flan@flande.re>
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-07-18 15:22:31 +09:00
Andrey Gusev
9035e58e67
server: Fix a typo in comment.
...
Signed-off-by: Andrey Gusev <andrey.goosev@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-06-03 12:31:19 +09:00
Daniel Lehman
142730ea66
ntdll: Add NtQueryMutant.
...
Signed-off-by: Daniel Lehman <dlehman25@gmail.com>
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-05-04 01:03:26 +09:00
Alexandre Julliard
80f3fda934
server: Add support for maintaining a client-side directory cache.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-05-02 14:39:16 +09:00
Sebastian Lackner
152b00b20f
server: Fix detection of duplicate console history lines.
...
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-04-28 13:02:10 +09:00
Sebastian Lackner
20651c7dfe
server: Fix possible leak of root object in create_named_pipe handler.
...
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-04-26 14:50:50 +09:00
Sebastian Lackner
240d8ed7e9
server: Add missing linebreak to a dump message.
...
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-04-26 14:50:48 +09:00
Sebastian Lackner
bae3dcc295
server: Do not hold reference on parent process.
...
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-04-25 18:48:19 +09:00
Sebastian Lackner
1025ed38c0
server: Increase size of PID table and do not reuse recently freed ptids.
...
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-04-25 18:48:19 +09:00
Seong-ho Cho
ca8a08606d
configure: Add AC_HEADER_MAJOR to find where major() is defined.
...
Signed-off-by: Seong-ho Cho <darkcircle.0426@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-04-18 18:06:46 +09:00
Charles Davis
1c862ca479
server: Fix int-to-pointer conversion warning (Clang).
...
Signed-off-by: Charles Davis <cdavis5x@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-02-27 00:13:30 +09:00
Jacek Caban
d13a44e4aa
user32: Don't use window's parent as an owner if WS_CHILD style is not set.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-02-25 00:25:01 +09:00
Alexandre Julliard
3ea7f7d2f4
server: Set the security descriptor at object creation.time.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-02-12 23:07:30 +09:00
Alexandre Julliard
10a38ef056
server: Require a directory as root to open an object with a name.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-02-12 23:07:30 +09:00
Alexandre Julliard
ff9d90bbb0
server: Use a standard object for object attribute roots instead of a directory.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-02-12 23:07:30 +09:00
Michael Müller
18a8636ebe
server: Add support for Win8 pseudo handles.
...
Signed-off-by: Michael Müller <michael@fds-team.de>
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-02-11 12:15:54 +09:00
Alexandre Julliard
b548f8c4a7
server: Remove some no longer used directory functions.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-02-09 20:36:17 +09:00
Alexandre Julliard
3cde722e3a
server: Implement object type for registry keys.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-02-09 20:36:17 +09:00
Alexandre Julliard
eb6621081a
server: Avoid redundant open call when looking for an object type.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-02-09 20:36:17 +09:00
Alexandre Julliard
6ccefdb7c5
server: Support opening file objects from any root, not only directories.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-02-09 20:36:17 +09:00
Alexandre Julliard
39e60dc680
server: Support opening objects from any root, not only directories.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-02-09 20:36:17 +09:00
Alexandre Julliard
7ad32cf56a
server: Allow lookup_name to distinguish the case of an empty path.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-02-09 20:36:16 +09:00
Sebastian Lackner
79ada31714
server: Fix an invalid memory access in subtract_overlapping (Valgrind).
...
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-02-09 19:42:41 +09:00
Sebastian Lackner
f7915d4e43
server: Fix memory leak of object name structure.
...
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-02-08 22:14:48 +09:00
Alexandre Julliard
7646df9f4b
server: Use the generic named object functions for named pipes.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-02-08 20:03:32 +09:00
Alexandre Julliard
4e380b9e2b
server: Use the generic named object functions for mailslots.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-02-08 20:03:32 +09:00
Alexandre Julliard
7a5b14d456
server: Add a function to open a named object inside any parent, not only directories.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-02-08 16:55:00 +09:00
Alexandre Julliard
0458a7d0e3
server: Use the lookup_name operation when creating a named object.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-02-08 14:24:15 +09:00
Alexandre Julliard
e2ccc978a3
server: Implement the lookup_name operation for window stations.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-02-08 14:10:39 +09:00
Alexandre Julliard
bfd0dff215
server: Add a function to lookup an object by name inside any parent, not only directories.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-02-08 14:10:39 +09:00
Alexandre Julliard
b21a324070
server: Use the link_name operation to create named objects.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-02-05 00:20:01 +09:00
Alexandre Julliard
f55db7882d
server: Add link_name and unlink_name object operations.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-02-04 21:07:19 +09:00
Alexandre Julliard
a69d7b29e3
server: Don't return an error if the created window station already exists.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-02-02 21:47:56 +09:00
Alexandre Julliard
bc0bf9e505
server: Implement serial port read interval timeouts.
...
Signed-off-by: Alex Henrie <alexhenrie24@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-02-02 16:07:30 +09:00
Alexandre Julliard
34d5994953
user32: Add some tests for window station and desktop object names.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-02-01 17:53:35 +09:00
Alexandre Julliard
37503be654
server: Fix checks for a valid directory in object attributes.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-02-01 14:57:37 +09:00
Alexandre Julliard
008f14f03f
server: Directly return a structure in get_req_unicode_str().
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-01-29 21:25:12 +09:00
Alexandre Julliard
ed268bbf91
server: Use a common helper function to implement open object calls.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-01-29 21:25:12 +09:00
Alexandre Julliard
b3064d748b
server: Implement NtOpenJobObject.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-01-29 16:38:53 +09:00
Alexandre Julliard
b47bd4555c
server: Fix initialization of mailslot objects that don't have a name.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-01-28 22:33:34 +09:00
Piotr Caban
cefdbd59b7
server: Avoid infinite loop when we're out of timers in set_win_timer server call.
...
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-01-26 23:26:59 +09:00
Anton Baskanov
9220556560
user32: Correctly update caret state in the server in SetCaretPos.
...
Signed-off-by: Anton Baskanov <baskanov@gmail.com>
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-01-25 18:27:31 +09:00
Sebastian Lackner
9dab25c124
server: Avoid invalid memory access if creation of namespace fails in create_directory (Coverity).
...
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-01-25 16:14:38 +09:00
Sebastian Lackner
a52a117f80
server: Add missing check for objattr variable in load_registry wineserver call (Coverity).
...
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-01-25 16:14:36 +09:00
Sebastian Lackner
df39830846
server: Fix invalid memory accesss caused by destroying winstation before desktop.
...
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-01-22 16:40:30 +09:00
Alexandre Julliard
d15f47412e
server: Always print the full path of objects when dumping them.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-01-22 01:26:15 +09:00
Alex Henrie
df59b04057
server: Fix duplicate, incorrect comment describing is_fd_signaled.
...
Signed-off-by: Alex Henrie <alexhenrie24@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-01-22 01:26:15 +09:00
Alexandre Julliard
fcc977c139
server: Store the desktop object names inside their window station.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-01-20 22:40:58 +09:00
Alexandre Julliard
546289dc59
server: Create window stations objects in a standard directory.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-01-20 22:02:03 +09:00
Alexandre Julliard
cd6e9c38e4
server: Fix constraints on the length of NT object names.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-01-19 20:48:08 +09:00
Alexandre Julliard
b99d1525de
server: Pass full object attributes in the load_registry request.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-01-19 20:48:07 +09:00
Alexandre Julliard
d01deff9cf
server: Pass full object attributes in the create_key request.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-01-19 20:48:07 +09:00
Alexandre Julliard
c4843d4a45
server: Add a helper function to skip the object attributes structure.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-01-19 20:48:07 +09:00
Alexandre Julliard
1eb69be36f
server: Pass full object attributes in the create_completion request.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-01-18 00:17:30 +09:00
Alexandre Julliard
426c4a2f08
server: Pass full object attributes in the create_symlink request.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-01-18 00:17:30 +09:00
Alexandre Julliard
82800f513c
server: Pass full object attributes in the create_directory request.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-01-18 00:17:30 +09:00
Alexandre Julliard
14825a7a55
server: Pass full object attributes in the create_mailslot request.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-01-18 00:17:30 +09:00
Alexandre Julliard
b5245a15a8
server: Pass full object attributes in the create_timer request.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-01-18 00:17:30 +09:00
Alexandre Julliard
4c763a41ee
server: Allow the object attributes to be omitted in requests.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-01-16 00:05:57 +09:00
Alexandre Julliard
9504e2addf
server: Add a helper function to validate and return object attributes.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-01-16 00:05:57 +09:00
Alexandre Julliard
7350682aa6
server: Store the attributes in the object_attributes structure.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-01-16 00:05:57 +09:00
Hugh McMaster
8ac323f61b
wineconsole: Send the largest console window size information to the server.
...
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-01-05 17:07:34 +01:00
Sebastian Lackner
08706ef357
server: Implement wineserver call for SystemHandleInformation.
...
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-12-29 17:51:59 +01:00
Sebastian Lackner
25b0a4981b
server: Fix assignment of primary_group in token_duplicate.
...
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-12-21 18:17:03 +01:00
Sebastian Lackner
1980834c7d
ntdll: ProcessDebugFlags should return debug_children flag instead of !debugger_present.
...
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-12-21 18:14:43 +01:00
Sebastian Lackner
19a3f6b5cb
user32: Make sure explorer.exe process is spawned for the correct desktop.
...
If an invalid combination of winstation/desktop is active for the
current process, the handle inheritance doesn't work, and no desktop is
created.
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-12-04 13:22:55 +09:00
Sebastian Lackner
6bfa3896fc
server: Check winstation visibility in server to avoid race-conditions.
...
GetDesktopWindow incorrectly assumes, that the process window station is
still the same one, which was used earlier when changing the desktop.
By moving the visibility check to wineserver we can also avoid
wineserver roundtrip for invisible desktops.
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-12-04 13:18:00 +09:00
Sebastian Lackner
ace9d329e9
server: Fix crash when calling SetNamedPipeHandleState on partially closed pipe.
...
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-11-23 23:35:16 +09:00
Sebastian Lackner
ee02530bc4
server: Fix crash when calling GetNamedPipeHandleState on partially closed pipe.
...
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-11-23 23:35:16 +09:00
Qian Hong
499f0454c9
server: Remove out of date comment.
...
Signed-off-by: Qian Hong <qhong@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-11-20 22:19:28 +09:00
Sebastian Lackner
96f4f53937
server: Do not require SeBackupPrivilege in load_registry and unload_registry.
...
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-11-16 17:26:22 +09:00
Jacek Caban
731d09fa9d
server: Store all 32 bits of value type.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-11-12 23:42:26 +09:00
Sebastian Lackner
55c4a108d7
server: Only send WM_WINE_CLIPCURSOR for forced clip resets.
...
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-11-12 22:17:02 +09:00
Jacek Caban
5eb3035374
ntdll: Added KeyCachedInformation key info class implementation.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-11-12 22:17:02 +09:00
Jacek Caban
3d5db6bdf5
server: Return KeyFullInformation maximal string lengths in bytes.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-11-12 11:32:49 +09:00
Sebastian Lackner
4857f95803
server: Return STATUS_CANNOT_DELETE when trying to open readonly file with FILE_DELETE_ON_CLOSE.
...
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-11-11 19:39:22 +09:00
Jacek Caban
e0d51609a1
server: Notify parent key when subkey is created.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-11-09 23:16:44 +09:00
Jacek Caban
deba2faf60
server: Reset event in set_registry_notification.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-11-09 23:16:44 +09:00
Jacek Caban
7d66a01fc2
ntdll: Return STATUS_PENDING in NtNotifyChangeKey if async notify is performed.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-11-09 23:16:44 +09:00
Sebastian Lackner
41f7f19cb5
server: Wake up APC if we fail to allocate a handle in target process.
...
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-11-05 20:22:38 +09:00
Hugh McMaster
b61badcc90
server: Add console font information.
...
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-11-03 00:33:24 +09:00
Sebastian Lackner
52f9acedd2
server: Clear last error when creating object without name.
...
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-11-02 23:02:22 +09:00
Sebastian Lackner
9e66d84585
server: Add a missing grab_object in cgwe_enum.
...
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-10-30 16:39:07 +09:00
Alexandre Julliard
da340169d6
makefiles: Generate rules for installing programs.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-10-29 21:20:06 +09:00
Sebastian Lackner
408b7ea6b3
server: Remove unused device manager argument from set_irp_result call.
...
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-10-29 11:02:32 +09:00
Sebastian Lackner
23cdc7e529
server: Unconditionally close APC handle in get_apc_result call.
...
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-10-29 10:59:44 +09:00
Sebastian Lackner
51d17bfd2f
server: Remove a wrong release_object in write_console_input.
...
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-10-29 10:58:45 +09:00
Alexandre Julliard
a1515c68d4
makefiles: Automatically add RPATH support for programs that use libwine.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-10-28 20:45:19 +09:00
Alexandre Julliard
7626728b56
makefiles: Generate rules for building tool binaries.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-10-27 14:47:27 +09:00
Francois Gouget
67c2e06fcd
ntdll: Work around a conflict between Wine and Solaris list.h.
...
Signed-off-by: Francois Gouget <fgouget@free.fr>
2015-10-05 22:27:16 +09:00
Erich E. Hoover
dfa73ca626
server: Return STATUS_CANT_WAIT/WSAEWOULDBLOCK for non-overlapped SIO_ADDRESS_LIST_CHANGE requests on non-blocking sockets.
...
Signed-off-by: Erich E. Hoover <erich.e.hoover@wine-staging.com>
2015-10-02 18:11:32 +09:00
Sebastian Lackner
0425c0eb95
server: Always switch back to server dir when open_fd returns.
...
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
2015-10-01 16:26:26 +09:00
Gerald Pfeifer
509d0f06ce
server: Replace 1 << 31 by 1u << 31 to avoid shift overflow in in get_active_hooks.
2015-09-07 15:04:01 +09:00
Sebastian Lackner
c948e84189
server: Properly inherit debug_children flag when creating new process.
2015-08-24 18:41:34 +09:00
Sebastian Lackner
ec851647e2
server: Implement open_file_object for rootdir pointing to file object.
2015-08-21 14:39:21 +09:00
Sebastian Lackner
1f2a443cb4
server: Implement support for FileLinkInformation class in NtSetInformationFile.
2015-08-21 14:36:02 +09:00
Dmitry Timoshkov
3bed65b5a9
server: For querying thread information demand THREAD_QUERY_LIMITED_INFORMATION access.
2015-08-21 14:35:04 +09:00
Dmitry Timoshkov
1d2241eca3
server: For querying process information demand PROCESS_QUERY_LIMITED_INFORMATION access.
2015-08-21 14:35:01 +09:00
Dmitry Timoshkov
93e8bea2bd
server: Add implicit THREAD_[QUERY|SET]_LIMITED_INFORMATION access.
2015-08-21 14:34:59 +09:00
Dmitry Timoshkov
c19091272d
server: Add implicit PROCESS_[QUERY|SET]_LIMITED_INFORMATION access.
2015-08-21 14:34:55 +09:00
Sebastian Lackner
857d436784
ntdll: Implement FileRenameInformation support.
2015-08-20 18:34:13 +09:00
Sebastian Lackner
453d71b9f7
server: Avoid invalid memory access when create_console_input fails.
2015-08-19 20:19:58 +09:00
Sebastian Lackner
0f133aedd5
server: Avoid invalid memory accesses when create_console_output fails.
2015-08-19 20:19:58 +09:00
Sebastian Lackner
46cba58a98
server: Initialize table->handles immediately after creation of atom table.
...
When the malloc afterwards fails, release_object() is called.
atom_table_destroy() assumes that table->handles was properly initialized.
2015-08-19 20:19:58 +09:00
Erich E. Hoover
6955a298f4
server: Do not permit FileDispositionInformation to delete a file without write access.
2015-08-19 20:19:58 +09:00
Sebastian Lackner
0fabfe7d6b
server: Add support for setting file disposition information.
...
Based on a patch by Dmitry Timoshkov.
2015-08-19 20:19:57 +09:00
Dmitry Timoshkov
9124cb28f9
server: Keep a pointer to parent's fd unix_name in the closed_fd structure.
2015-08-19 20:19:57 +09:00
Alexandre Julliard
1baf01fc24
server: Store modification time as a key comment to avoid losing precision.
2015-08-18 18:11:32 +09:00
Sebastian Lackner
a8c6fe39af
server: Avoid leaking uninitialized stack memory to applications.
...
Without the memset() there is a risk of leaking uninitialized stack memory in the
get_next_device_request wineserver call.
2015-08-17 14:48:20 +09:00
Sebastian Lackner
b279901546
server: Initialize irp->thread immediately after creation of irp_call object.
2015-08-17 14:48:08 +09:00
Sebastian Lackner
905bf79337
server: Store correct entry point for first thread.
2015-07-30 11:37:15 +02:00
Sebastian Lackner
845164004b
ntdll: Implement ThreadQuerySetWin32StartAddress info class in NtQueryInformationThread.
2015-07-29 21:44:03 +02:00
Sebastian Lackner
6ab494ceb5
ntdll: Implement ThreadQuerySetWin32StartAddress info class in NtSetInformationThread.
2015-07-29 21:44:03 +02:00
Sebastian Lackner
6156cf3134
server: Use a separate wineserver call to fetch thread times.
2015-07-29 21:44:03 +02:00
Hans Leidekker
e0206d9f8a
server: Make returning used privileges optional in token_access_check.
2015-07-17 20:19:36 +09:00
Andrew Cook
453458f294
server: Implement JOB_OBJECT_LIMIT_KILL_ON_JOB_CLOSE.
2015-07-17 14:28:59 +09:00
Sebastian Lackner
3db6d1acaf
server: Avoid sending unexpected wakeup with uninitialized cookie value.
...
The code for SELECT_SIGNAL_AND_WAIT in select_on() calls signal_object(). This might
wake up the same thread which is currently in the wineserver call. The value for
current->wait->cookie is initialized at the end of the function, and not defined yet
at this point.
2015-07-15 16:29:11 +09:00
Alexandre Julliard
9cef52ffd6
server: Don't associate a thread to the MJ_CREATE and MJ_CLOSE requests.
2015-07-13 15:10:30 +09:00
Sebastian Lackner
8723d3455e
server: Add fallback to desktop keystate in get_key_state wineserver call.
2015-07-10 15:07:45 +09:00
Alexandre Julliard
bf26950194
server: Pass the file instead of the device pointer in all IRP requests.
2015-07-09 14:48:34 +09:00
Alexandre Julliard
13499a3d11
ntoskrnl: Implement creation and destruction of file objects.
2015-07-09 14:48:14 +09:00
Alexandre Julliard
350ee62ab4
server: Queue an IRP_MJ_CLOSE request on file destruction.
2015-07-09 14:38:18 +09:00
Alexandre Julliard
b1fd5955c9
server: Queue an IRP_MJ_CREATE request on file creation.
2015-07-09 14:38:18 +09:00
Alexandre Julliard
d087ea6798
server: Pass the device client pointer as part of the IRP parameters.
2015-07-09 14:38:18 +09:00
Sebastian Lackner
ece08c10a1
server: Delay destruction of file object in set_irp_result.
2015-06-19 17:02:11 +09:00
Alexandre Julliard
3d7aa246d5
server: Add a request to empty the clipboard.
2015-06-09 22:09:56 +09:00
Charles Davis
b2aa984743
server: Get debug registers on 64-bit Mac OS.
2015-06-05 19:49:37 +09:00
Qian Hong
ef3ed04cdc
server: Fix type name of directory file.
2015-06-05 14:32:27 +09:00
Qian Hong
f208c50cc0
server: Fix type name of File.
2015-06-05 14:32:23 +09:00
Qian Hong
bdc223ad39
server: Fix type name of IoCompletion.
2015-06-05 14:32:15 +09:00
Qian Hong
71080cc081
ntdll: Implemenent ObjectTypeInformation class support in NtQueryObject.
2015-06-05 14:32:01 +09:00
Sebastian Lackner
e05e99d754
server: Fix opening clipboard from multiple threads.
2015-06-04 15:58:02 +09:00
Alexandre Julliard
25d9fc3ecc
server: Check for the current owner window on the server side for releases.
2015-06-03 19:29:49 +09:00
Alexandre Julliard
bdf3f413af
server: Allow opening the clipboard again with the same owner.
2015-06-03 18:46:54 +09:00
Alexandre Julliard
e99c3f0c4b
server: Store the clipboard windows as full handles.
2015-06-03 18:46:54 +09:00
Alexandre Julliard
b8fac8adbf
server: Use separate helper functions for setting and resetting clipboard windows.
2015-06-03 18:46:54 +09:00
Alexandre Julliard
b7f79bae86
server: Use a standard timestamp for the clipboard.
2015-06-03 18:46:54 +09:00
Alexandre Julliard
c0ac2afb19
server: Create the null device and its symlink.
2015-05-21 17:24:34 +09:00
Alexandre Julliard
b414b93d5a
server: Allow a device file to be mapped directly to a Unix device.
2015-05-21 17:18:08 +09:00
Sebastian Lackner
4439cd433d
server: attach_thread_input shouldn't create queues for foreign threads.
2015-05-18 19:59:28 +09:00
Alexandre Julliard
6260aa6cd2
server: Add an intermediate file object for file handles opened on devices.
2015-05-18 17:50:22 +09:00
Alexandre Julliard
47eec1364a
server: Ignore FILE_DIRECTORY_FILE on special files.
2015-05-18 17:50:22 +09:00
Sebastian Lackner
b3fb5992b6
server: Fix leak of async handle in pipe_server_flush.
2015-05-11 15:19:05 +09:00
Alexandre Julliard
67da7ba597
server: Use the async queue for pipe flush requests.
2015-05-08 18:02:57 +09:00
Alexandre Julliard
ad53ffc9c0
server: Make async objects waitable.
2015-05-08 17:32:06 +09:00
Qian Hong
10d35121db
server: Remove useless trailing comma in array.
2015-05-07 22:29:22 +09:00
Alexandre Julliard
193667ecd7
ntdll: Fix handling of async cancellation for directory changes.
2015-05-07 16:02:26 +09:00
Aric Stewart
3599f956e2
server: Fixup input windows on thread_detach.
2015-05-06 20:54:55 +09:00
Alexandre Julliard
6073e75a6a
server: Implement flush requests for device files.
2015-05-06 17:16:48 +09:00
Alexandre Julliard
481517178f
server: Make the APC callback optional in async calls.
2015-05-06 17:16:48 +09:00
Alexandre Julliard
83e3a9c9ba
server: Allow cancelling async I/O for all object types.
2015-05-06 17:16:16 +09:00
Alexandre Julliard
62802339a5
server: Add a trace for the supported socket ioctl.
2015-05-06 17:16:16 +09:00
Alexandre Julliard
311f786286
server: Add a common structure to store irp parameters.
2015-05-06 17:16:16 +09:00
Alexandre Julliard
faa1db4d13
server: Implement read and write requests for device files.
2015-05-06 17:16:16 +09:00
Alexandre Julliard
41ea55294e
server: Add read and write requests on file objects.
2015-05-06 17:16:15 +09:00
Alexandre Julliard
860091d2fd
server: Add an async structure to the flush request to follow the common pattern.
2015-05-06 17:16:15 +09:00
Alexandre Julliard
837b39b202
server: Add read and write fd member functions.
...
Also rename no_flush() to no_fd_flush() for consistency.
2015-05-06 09:07:42 +09:00
Alexandre Julliard
fc4a94c0e2
server: Return irp size separately from the output data.
2015-05-06 08:44:30 +09:00
Alexandre Julliard
6f2ed23c16
server: Retrieve ioctl data directly from the request.
2015-05-06 08:44:29 +09:00
Alexandre Julliard
165dd1ff36
server: Rename ioctl to irp to allow supporting various types of I/O requests.
2015-05-06 08:44:29 +09:00
André Hentschel
6adcad498c
server: Allow 32-bit connections on ARM64.
2015-05-06 08:41:50 +09:00
Alexandre Julliard
247275aec3
server: Return a valid position also in posted messages.
2015-04-27 18:04:59 +09:00
Aric Stewart
bed7e69a14
server: Do not replace focus and active windows with NULL on thread_attach_input.
2015-04-23 17:48:33 +09:00
Dmitry Timoshkov
c0e876cb9e
server: GetQueueStatus should clear only checked queue changed bits.
2015-04-21 17:32:53 +09:00
Hans Leidekker
aa407a2818
server: Accept mandatory label ACEs.
2015-04-17 14:53:18 +09:00
Sebastian Lackner
a7247df6ca
server: Implement waiting for job objects.
2015-04-07 23:16:20 +09:00
Andrew Cook
1d359a5827
server: Implement TerminateJobObject.
2015-04-07 23:15:47 +09:00
Andrew Cook
5d85f57814
server: Track handle count of objects.
2015-04-03 17:07:37 +09:00
Andrew Cook
47ffeaee74
server: Implement io completion messages for job objects.
2015-04-03 00:33:29 +09:00
Andrew Cook
0dbe5adc21
server: Implement job inheritance.
2015-04-03 00:33:29 +09:00
Andrew Cook
ecd41d1de7
server: Implement job limit flags.
2015-04-03 00:33:29 +09:00
Andrew Cook
3affd63b34
server: Implement IsProcessInJob.
2015-04-01 22:34:19 +09:00
Andrew Cook
98132f0364
server: Implement AssignProcessToJobObject.
2015-04-01 22:34:18 +09:00
Andrew Cook
0e78b0248d
server: Implement CreateJobObject.
2015-04-01 17:05:44 +09:00
Piotr Caban
00b3f055be
server: Fix DACL to permissions conversion.
2015-03-31 00:04:43 +09:00
Piotr Caban
3eb448cf33
server: Make directory DACL entries inheritable.
2015-03-27 20:41:03 +09:00
Alexandre Julliard
7c538cddeb
server: Post a notification to the desktop window when a top-level window is destroyed.
2015-03-27 20:40:36 +09:00
Alexandre Julliard
9fc48b2866
server: Fix the string type in traces for I/O completion names.
2015-03-25 20:30:48 +09:00
André Hentschel
5c6e2032d8
server: Add header guarding for security.h.
2015-03-19 14:08:06 +09:00
Alexandre Julliard
5db44d15ac
server: Copy completion information for accepted socket into the new file descriptor.
2015-03-17 00:19:55 +09:00
Alexandre Julliard
ecf7ed6650
server: Add a request to store the results of an ioctl asynchronously.
2015-03-11 22:45:51 +09:00
Alexandre Julliard
0157f76888
server: Allow device manager ioctls to run asynchronously.
2015-03-11 22:44:51 +09:00
Alexandre Julliard
8364351b99
server: Don't report completion at all in the MORE_PROCESSING_REQUIRED case.
2015-03-07 14:26:51 +09:00
Alexandre Julliard
0a241b0fcc
ntdll: Allow specifying the user APC argument in the system APC callback.
2015-03-03 17:02:03 +09:00
Alexandre Julliard
8843bc144d
server: Allow passing an argument for the user APC async I/O callbacks.
2015-03-03 17:02:03 +09:00
Erich E. Hoover
67c47e401b
server: Implement the interface change notification object.
2015-02-10 22:57:36 +09:00
Erich E. Hoover
b121f27b72
server: Add blocked support for SIO_ADDRESS_LIST_CHANGE ioctl().
2015-02-10 22:45:02 +09:00
Erich E. Hoover
315de61bb2
server: Add socket-side support for the interface change notification object.
2015-02-10 22:45:00 +09:00
Erich E. Hoover
1239663fcb
server: Implement socket-specific ioctl() routine.
2015-02-10 22:29:40 +09:00
Piotr Caban
03f645a76b
server: Filter WM_QUIT message in PeekMessage call if PM_QS_POSTMESSAGE was not specified.
2015-02-09 17:40:40 +09:00
Charles Davis
4fe1977743
server: Use mach_vm_* functions instead of the old vm_* functions.
2015-01-23 11:15:20 +01:00
Marcus Meissner
ea5808dff5
server: Initialize the _len parts to 0 (Coverity).
2014-12-01 11:00:20 +01:00
Sebastian Lackner
b985b677e8
server: Fix several fd leaks on error in new_process wineserver call.
2014-11-20 22:33:39 +09:00
Sebastian Lackner
9aad600d86
server: Always remove inflight fd if alloc_console fails.
2014-11-20 22:33:29 +09:00
Sebastian Lackner
d00e8ebda7
server: Avoid calling close on negative value in create_console_output handler (Coverity).
2014-11-20 22:33:10 +09:00
Sebastian Lackner
9d63e3f949
server: Avoid reallocating region data when there is still enough space.
2014-11-19 16:40:03 +09:00
Sebastian Lackner
0e2e9e4efc
server: Avoid leaking file descriptor on error in create_thread function.
2014-11-18 14:14:18 +09:00
Sebastian Lackner
3d3c92782a
server: Avoid leaking file descriptor on error in create_file_for_fd.
2014-11-18 14:14:04 +09:00
Sebastian Lackner
609d43e408
server: Avoid leaking file descriptors if create_console_input fails.
2014-11-18 14:12:29 +09:00
Sebastian Lackner
749e2aa36f
server: Close fd if there is no space in thread inflight fd list.
2014-11-17 17:27:01 +09:00
Hans Leidekker
b31ed58b96
server: Set the security descriptor of named pipe objects.
2014-11-12 21:09:50 +09:00
Bruno Jesus
3591e5fd9f
server: Store the time of the socket connection.
...
Based on a patch by Erich Hoover.
2014-11-12 20:07:55 +09:00
Bruno Jesus
8821967bd6
server: Add a missing socket protocol attribution.
...
The new socket has to inherit the information just like family and type.
2014-11-12 20:07:55 +09:00
Piotr Caban
f747e5c8c9
user32: Don't move mouse hardware messages to other threads queues.
2014-10-17 17:51:55 +09:00
Piotr Caban
3f1bbdcae3
server: Send mouse hardware messages to thread owning top-most window.
...
Also don't limit mouse message scope to top-most window when message
comes from SendInput or window that generated the event is
minimized/transparent.
2014-10-17 17:51:52 +09:00
Sebastian Lackner
add67b6f8d
server: Fix invalid memory access when copying KeyNameInformation data.
2014-10-17 14:40:24 +09:00
Akihiro Sagawa
e94d2e0459
server: KeyNameInformation returns the full name of the key.
2014-10-15 22:01:59 +09:00
André Hentschel
8b07523c56
server: Update CPU type dumping.
2014-10-13 18:10:58 +09:00
Joris van der Wel
6d19aa83bf
server: A new function "set_sd_defaults_from_token".
2014-10-01 14:53:59 +02:00
Felix Janda
f5320ad4a8
server: Include <sys/types.h> for mode_t.
2014-08-25 15:52:39 +02:00
Sebastian Lackner
82ce3fdcfd
server: Implement set_named_pipe_info wineserver call for NtSetInformationFile/FilePipeInformation.
...
Based on a patch by Adam Martinson.
2014-08-20 19:40:07 +02:00
Sebastian Lackner
2e95f370d4
server: Store pipe_flags in a separate variable for both server and client of named pipes.
2014-08-20 19:38:04 +02:00
Alexandre Julliard
8d817997ce
configure: Add a check for sys/ucontext.h and include it where appropriate.
2014-07-23 19:06:58 +02:00
Joris van der Wel
0a4c7860f8
server: Setting a security descriptor should not replace an existing owner or group with a default, if only a DACL is being set.
2014-07-08 19:04:49 +02:00
Joris van der Wel
11674b2f61
server: Any of the 4 SE_*_DEFAULTED controls should not be stored on objects, their usage is transient.
2014-07-01 13:07:48 +02:00
Sebastian Lackner
9696ea5063
server: Get rid of RIP_EVENT union elements.
2014-06-23 10:20:19 +02:00
Sebastian Lackner
35e56fb042
server: Avoid invalid memory access when thread is killed while in wake_up(). (Valgrind).
2014-06-23 10:12:02 +02:00
Sebastian Lackner
3447567b42
server: Grab borrowed debugger reference while handling wake_up() events. (Valgrind).
2014-06-23 10:11:35 +02:00
Sebastian Lackner
2f9fdec310
server: Remove output_debug_string request.
2014-06-20 16:30:52 +02:00
Francois Gouget
f4c7e6d607
server: Treat ENOTSUP the same way as ENOLCK, consider locking to be non-functional on that filesystem.
2014-06-18 19:55:33 +02:00
Felix Janda
e3faab267c
server: Add missing includes of poll.h.
2014-06-12 18:05:08 +02:00
Michael Müller
9602fa7a93
server: Fix return value for FSCTL_PIPE_WAIT if pipe does not exist.
2014-06-11 13:07:11 +02:00
Vincent Povirk
417585661c
server: Clear the queue's QS_SMRESULT bit when sending a new message.
2014-05-20 21:26:52 +02:00
Vincent Povirk
473a3a47a7
server: Try to get a read lock if we can't get a write lock.
2014-05-09 14:16:19 +02:00
Marcus Meissner
3068d827da
server: Use longer int in bitshift operation (Coverity).
2014-04-17 10:44:14 +02:00
Alexandre Julliard
202d91e551
Revert "server: Restore the masks from the previous get_message when a wait is satisfied."
...
This reverts commit f846312f46
.
The masks will be stored on the client side instead.
2014-04-10 16:28:52 +02:00
Piotr Caban
4fca169301
server: Don't debug children when DEBUG_PROCESS and DEBUG_ONLY_THIS_PROCESS flags are passed to CreateProcess.
2014-04-09 13:15:58 +02:00
Piotr Caban
de21941178
user32: Change SetForegroundWindow behavior on windows with parent and no WS_CHILD flag.
2014-03-27 16:18:05 +01:00
Alexandre Julliard
f846312f46
server: Restore the masks from the previous get_message when a wait is satisfied.
2014-03-19 16:50:32 +01:00
Dmitry Timoshkov
383f7ba002
server: Add THREAD_[SET|QUERY]_LIMITED_INFORMATION to generic access mappings and appropriately change THREAD_ALL_ACCESS.
2014-02-06 17:08:33 +01:00
Dmitry Timoshkov
a0b08adbe4
server: Add PROCESS_QUERY_LIMITED_INFORMATION to GENERIC_EXECUTE access mapping and appropriately change PROCESS_ALL_ACCESS.
2014-02-06 17:08:32 +01:00
Dmitry Timoshkov
53847fd6a1
server: Fix generic access mapping for a process.
2014-02-06 17:08:31 +01:00
Dmitry Timoshkov
6e2de14df1
server: Fix generic access mapping for a thread.
2014-02-05 13:49:30 +01:00
Dmitry Timoshkov
fdd483c083
server: Fix generic access mapping for a semaphore.
2014-02-04 10:52:15 +01:00
Alexandre Julliard
cf0e96c6d0
configure: Rename substituted variables to a standard _CFLAGS and _LIBS format.
2014-01-30 14:51:33 +01:00
Dmitry Timoshkov
422116490b
server: Fix generic access mapping for a mutex.
2014-01-30 10:36:09 +01:00
Dmitry Timoshkov
5953851b8a
server: Fix generic access mapping for an event.
2014-01-29 15:00:57 +01:00
Alexandre Julliard
509364e1dd
makefiles: Get rid of Make.rules.
2014-01-14 12:18:02 +01:00
Sebastian Lackner
0b261bef76
server: Don't call close() on uninitialized memory in sock_check_pollhup.
2014-01-01 20:45:32 +01:00
Alexandre Julliard
092f37fc2d
makefiles: Include program files in the all: target.
2013-12-31 19:07:49 +01:00
Dmitry Timoshkov
bfb4f28dc5
ntdll: Implement NtQuerySemaphore/SemaphoreBasicInformation.
2013-12-26 16:51:07 +01:00
Alexandre Julliard
1047e0474d
makefiles: Leave it to install-sh to create destination directories.
2013-12-26 14:35:15 +01:00
Austin English
d506e59dab
server: Set process start time a bit later.
2013-12-20 11:13:10 +01:00
Nikolay Sivov
56aa5d8a5f
server: Return key name info for KeyNameInformation class.
2013-12-19 17:10:21 +01:00
Alexandre Julliard
1e78c99388
kernel32: Validate the architecture of newly created processes on the server side.
2013-11-22 12:32:48 +01:00
Erich E. Hoover
d2e216f462
server: Create directories with the specified security attributes.
2013-11-21 19:44:45 +01:00
Alexandre Julliard
e8eb781327
server: Check PE file architecture at mapping creation time.
2013-11-21 19:39:02 +01:00
Alexandre Julliard
e2df0ab856
makefiles: Generate rules from makedep for building and installing man pages.
2013-11-18 11:40:00 +01:00
Alexandre Julliard
a343edf44e
makefiles: Rename translated manpages according to their destination directory.
2013-11-18 11:33:34 +01:00
Dmitry Timoshkov
a890d0f030
server: Make it possible for WaitCommEvent to detect recursive requests.
2013-11-13 11:21:28 +01:00
Qian Hong
ca4b3f0f73
server: Fixed winstation object leak in open_input_desktop.
2013-11-11 13:27:27 +01:00
Qian Hong
f7835dea2d
user32: Implement OpenInputDesktop.
2013-11-08 16:29:44 +01:00
Dmitry Timoshkov
3b429e88ff
server: Add support for pending write flag to the serial device.
2013-10-25 13:36:01 +02:00
Francois Gouget
d3cc10724e
server: Include either sys/user.h or asm/user.h.
...
This avoids redefinitions with old Linux kernel headers.
2013-10-07 14:44:34 +02:00
Alexandre Julliard
8d5b8b1346
makefiles: Define __WINESRC__ globally.
2013-10-07 10:48:04 +02:00
Dmitry Timoshkov
6bd983c977
server: Add FILE_APPEND_DATA to the access rights that require unix file write permission.
2013-10-04 20:00:01 +02:00
Dmitry Timoshkov
b29fbc4f00
server: Set the unix file write mode bit also for FILE_APPEND_DATA access.
2013-10-03 20:14:14 +02:00
Huw Davies
b47a391e93
server: Android declares syscall() in sys/syscall.h .
2013-09-26 18:15:14 +02:00
Huw Davies
2a32d5765a
server: Android has struct user in asm/user.h.
2013-09-24 18:58:24 +02:00
Bruno Jesus
c52eb21754
server: Fix a comment.
2013-09-23 11:50:56 +02:00
Alexandre Julliard
f9c76be084
server: Trigger a repaint on layered windows the first time the attributes are set.
2013-09-14 13:53:08 +02:00
Dmitry Timoshkov
f031c676c1
server: Add a serial event mask change counter.
2013-09-10 11:18:57 +02:00
Dmitry Timoshkov
e22f8d2fd8
server: Print the debug trace to stderr.
2013-09-04 11:32:53 +02:00
Bruno Jesus
ec49a574de
server: Add a request to get socket information.
2013-09-02 19:51:16 +02:00
Bruno Jesus
f5023dda2d
server: Store the protocol while creating the socket.
2013-09-02 19:48:08 +02:00
Wolfgang Walter
f93a5d2560
ntdll: Call tcdrain for serial handles from NtFlushBuffersFile.
2013-08-29 19:56:17 +02:00
Alexandre Julliard
93fbb12e65
server: Implement waiting on keyed events.
2013-08-28 11:03:38 +02:00
Alexandre Julliard
d4cd051cef
server: Store abandoned state as a flag in the wait structure.
2013-08-27 23:48:37 +02:00
Alexandre Julliard
39644bb309
server: Pass a wait queue entry to the signaled/satisfied object functions.
2013-08-27 23:48:36 +02:00
Alexandre Julliard
de9f5b33b8
server: Store the wait structure in the wait entry and add an accessor function for the thread.
2013-08-27 23:48:31 +02:00
Nikolay Sivov
2ef7e5fdae
server: Fix string length used with strncmpW().
2013-08-27 21:30:02 +02:00
Alexandre Julliard
947e337480
server: Make signal and wait a separate select operation.
2013-08-26 20:34:28 +02:00
Alexandre Julliard
042e0046d4
server: Make select on all handles a separate operation.
2013-08-26 20:32:52 +02:00
Alexandre Julliard
c2ab7a625e
server: Add a structure to pass the parameters of a select request.
2013-08-26 20:24:42 +02:00
Andrew Cook
cdfee68be1
ntdll: Implement NtQueryEvent.
2013-08-26 14:27:56 +02:00
Alexandre Julliard
4654d871b2
server: Map new handle access even when not checking it.
2013-08-26 14:17:42 +02:00
Alexandre Julliard
33406f51be
server: Don't include SYNCHRONIZE in the keyed event access rights.
2013-08-26 11:09:23 +02:00
Dmitry Timoshkov
0b4c9cb533
server: Store full-sized completion information on the server side.
2013-08-23 20:15:43 +02:00
Alexandre Julliard
8c0796c4a7
server: Create the critical section keyed event object on startup.
2013-08-21 14:24:06 +02:00
Alexandre Julliard
dbf9d71ef8
server: Add support for keyed event objects.
2013-08-21 14:24:06 +02:00
Hans Leidekker
7dfdcf3034
server: The token user SID must be present in the default DACL.
2013-07-30 14:43:34 +02:00
Frédéric Delanoy
91cb426ca7
server: Update French translation of manpage.
2013-07-22 17:16:06 +02:00
Frédéric Delanoy
c350ae14da
server: Make wineserver manpage conform to common manpages conventions.
2013-07-22 17:16:05 +02:00
Frédéric Delanoy
426bb06baa
server: Fix manpage formatting.
2013-07-19 16:28:06 +02:00
André Hentschel
ff117b6df2
server: Replace note about the Changelog file.
2013-07-17 11:23:53 +02:00
Alexandre Julliard
dcc97a186d
Standardize the BUGS, AVAILABILITY and SEE ALSO sections across all man pages.
2013-07-16 20:48:05 +02:00
Julian Rüger
8dca13df5d
server: Update German translation of manpage.
2013-07-08 12:03:30 +02:00
Frédéric Delanoy
d3e6369a1d
server: Update French translation of wineserver manpage.
2013-07-01 19:51:23 +02:00
Frédéric Delanoy
ea8c843d57
server: Clarify wineserver manpage -d option.
2013-07-01 19:51:23 +02:00
Julian Rüger
946e075012
server: Update German translation of manpage.
2013-06-26 22:51:28 +02:00
Piotr Caban
76bfbf43e9
server: Don't create new handle when DUP_HANDLE_CLOSE_SOURCE is used if possible.
2013-06-05 17:31:40 +02:00
Dmitry Timoshkov
df6c2a8418
server: Mark the process as disconnected from desktop/winstation before closing its handles.
2013-06-03 21:11:38 +02:00
Qian Hong
31b9455b7e
server: Automatically sets a socket to non-blocking mode when WSAAsyncSelect or WSAEventSelect is called even when lEvent is zero.
2013-05-28 19:43:48 +02:00
Dmitry Timoshkov
fd76b695b9
server: Set appropriate status for a terminated thread.
2013-05-13 11:10:12 +02:00
Dmitry Timoshkov
094e465790
server: A destroyed process handle table means that the process is terminating.
2013-05-08 12:44:49 +02:00
Dmitry Timoshkov
bfe3b3bdb6
server: Set error to STATUS_PROCESS_IS_TERMINATING if the process is terminating.
2013-05-08 12:44:46 +02:00
Alexandre Julliard
ea919d9de4
server: Use strerror instead of perror.
2013-05-07 12:19:22 +02:00
Dmitry Timoshkov
bac0387d29
server: Fail to set process affinity mask if the process is terminating.
2013-05-07 11:25:54 +02:00
Dmitry Timoshkov
af3d73b035
server: Add a process flag indicating whether the process is terminating, use it to block thread creation in a being terminated process.
2013-05-07 11:25:49 +02:00
Alexandre Julliard
be417d6890
server: When changing a process desktop, start the close timeout on the old desktop if necessary.
2013-04-30 18:44:46 +02:00
Erich Hoover
03d99df597
server: Add builtin admins ACE to default registry DACL.
2013-04-29 11:52:15 +02:00
Erich Hoover
04cd764d76
server: Report a default DACL for registry keys.
2013-04-23 17:20:11 +02:00
Dmitry Timoshkov
b92c82c942
server: Add support for NtTerminateProcess(0).
2013-04-15 16:45:33 +02:00
Erich Hoover
56c1a8b062
server: Report administrator ownership by default for registry objects.
2013-04-11 13:15:58 +02:00
Alexandre Julliard
62beef5a72
server: Add a helper function to compute an SID length.
2013-04-11 13:00:06 +02:00
Piotr Caban
23191a4355
server: Don't debug children when debugger is attached with DebugActiveProcess function.
2013-04-05 20:39:07 +02:00
Alexandre Julliard
9fdf7bc771
server: Use socklen_t where appropriate.
2013-03-06 13:40:58 +01:00
André Hentschel
0effd926b6
server: Remove SPARC support.
2013-03-05 11:04:07 +01:00
Alexandre Julliard
fc7e81be15
server: Don't support debug registers in ptrace if sys/user.h is missing.
2013-02-13 17:19:42 +01:00
Alexandre Julliard
bc602c3060
server: Return the window paint flags in the get_visible_region request.
2013-02-11 17:14:17 +01:00
Alexandre Julliard
ca5746ad1a
server: Also exclude the top-level client rectangle for windows that have a pixel format.
2013-02-11 17:08:19 +01:00
Alexandre Julliard
a74dc1a119
server: Use the monotonic time counter also on the server side.
2013-01-30 13:05:30 +01:00
Alexandre Julliard
2b95df8fbd
server: Use the __NR_ names for Linux system calls.
2013-01-21 21:37:10 +01:00
André Hentschel
d11e72f925
server: Add ARM64 support.
2013-01-16 12:49:20 +01:00
Alexandre Julliard
2b97a064e3
server: Use sysconf() instead of getpagesize().
2013-01-09 12:15:25 +01:00
Alexandre Julliard
6c94d4466a
server: Don't expose the desktop on window resizes.
2012-11-27 19:36:52 +01:00
Francois Gouget
e326470949
server: Print the usage to stdout when invoked with --help.
2012-11-23 14:40:07 +01:00
Alexandre Julliard
d2607ff6c9
user32: Force refreshing the non-client area when the window surface is changed.
2012-11-06 16:02:43 +01:00
Alexandre Julliard
29b39020f7
server: Fix propagation of the pixel format flag when the parent window is changed.
2012-10-17 18:00:55 +02:00
Marcus Meissner
3199fe147d
server: Removed duplicate close of acceptfd (Coverity).
2012-10-10 10:35:38 +02:00
Alexandre Julliard
d0c9d22371
server: Add a heuristic to avoid computing surface regions when no pixel format has been set.
2012-10-09 15:22:46 +02:00
Alexandre Julliard
a52ebb158e
server: Add a request to compute the clipping region of a window surface.
2012-10-09 15:22:27 +02:00
Alexandre Julliard
20768173ba
server: Add flags in the set_window_pos request to inform the server about the window surface.
2012-10-09 15:22:14 +02:00
Alexandre Julliard
1fd55b7334
server: Get rid of the waitpid wrapper.
2012-09-24 22:27:30 +02:00
Adrian Bunk
9d5c178b24
server: Use waitpid() instead of wait4().
2012-09-24 22:27:30 +02:00
Alexandre Julliard
84fd7de0f7
server: Don't trigger repaints on position changes for layered windows.
2012-09-13 13:47:03 +02:00
Henri Verbeet
54efd8a430
server: Only remove WM_INPUT messages from the queue if PM_REMOVE is set.
2012-09-13 10:24:05 +02:00
Henri Verbeet
c6fcc0255c
user32: Add rawinput keyboard support.
2012-09-12 12:47:13 +02:00
Alexandre Julliard
43d465f86a
server: Ignore color-keyed windows when updating the z-order.
2012-09-11 18:12:16 +02:00
Henri Verbeet
faaf3d388e
user32: Add rawinput mouse support.
2012-09-11 18:06:34 +02:00
Henri Verbeet
5befb959dd
user32: Implement RegisterRawInputDevices().
2012-09-10 11:44:19 +02:00
Alexandre Julliard
a76f60d14e
server: Always repaint the whole non-client area if part of it is exposed.
2012-09-04 14:11:07 +02:00
Alexandre Julliard
044f790bcb
winex11: Always paint to the whole window.
2012-08-30 19:02:27 +02:00
Michael Stefaniuc
794ad90982
server: Avoid TRUE:FALSE conditional expressions.
2012-08-13 11:50:16 +02:00
Alexandre Julliard
0816a04d92
server: Subtract the current update region from the valid rect when a window client area is changed.
2012-07-17 12:50:23 +02:00
Erich Hoover
93552cc3df
server: STATUS_MORE_PROCESSING_REQUIRED indicates that an async operation should not send a completion.
2012-06-07 16:07:00 +02:00
Erich Hoover
e7dbb212a2
server: Access the completion from the file descriptor instead of the async object.
2012-06-06 13:47:28 +02:00
Dmitry Timoshkov
94c817e311
server: Make sure that region and rectangle have the same origin before calling rect_in_region().
2012-06-06 12:39:53 +02:00
André Hentschel
89e462b141
server: Add checks for DragonFly BSD.
2012-05-29 10:46:34 +02:00
Francois Gouget
fac36c55e9
Assorted typo, spelling, wording and case fixes.
2012-05-15 16:26:43 +02:00
Dmitry Timoshkov
16b7a7f707
server: Add access mapping for IO completion objects.
2012-04-17 12:24:55 +02:00
Hans Leidekker
d1b6cf9379
server: Include the Unix pid in the snapshot_next_process reply.
2012-04-16 17:49:32 +02:00
Dmitry Timoshkov
4b058e6e79
server: OpenMutex should perform a real access check instead of validating access flags.
...
This reverts 7b63fa658a
.
2012-03-12 16:37:24 +01:00
Alexandre Julliard
9c6466ac34
server: Create some kernel notification events.
2012-03-12 10:44:02 +01:00
Vitaliy Margolen
d4e78d61e1
server: Add sessions directory and 0 session symlink.
2012-02-17 18:06:52 +01:00
Alexandre Julliard
36c76dcc24
winex11: Update only the key state on KeymapNotify without sending fake key events.
2012-02-02 17:19:34 +01:00
Dmitry Timoshkov
29b91206a8
server: Store correct protection for an image mapping.
2012-01-24 18:10:31 +01:00
Alexandre Julliard
6d2063f41b
ntdll: Set the thread exit code when a thread is killed inside a wait.
2012-01-16 14:04:39 +01:00
Alexandre Julliard
02442b52a4
user32: Return the cursor position in send_hardware_message and use it to update the driver's position.
2012-01-09 12:14:36 +01:00
Francois Gouget
c7cb3e6cb2
configure: Use errno.h instead of the non-standard sys/errno.h header.
2011-12-15 17:46:38 +01:00
Alexandre Julliard
5a30e31806
server: Optionally return the global key state when queueing a hardware message.
2011-12-15 14:46:53 +01:00
Alexandre Julliard
3acc2068a0
server: Cope with stdio file descriptors being closed on startup.
2011-11-15 11:39:42 +01:00
Bernhard Loos
507d929051
ntoskrnl: Correctly implement PsGetCurrentThread/ProcessId.
2011-10-28 13:04:00 +02:00
Bernhard Loos
c368df4865
server: PIPE_TYPE_BYTE | PIPE_READMODE_MESSAGE is invalid for named pipes.
2011-10-13 19:57:19 +02:00
Alexander Morozov
d0451f6b3f
server: Fix overlapping shared and exclusive locks support.
2011-10-12 17:10:54 +02:00
Bernhard Loos
e7ec00d22c
server: If a debugger is attached to a process, child processes shouldn't get debugged.
2011-10-10 13:41:24 +02:00
Charles Davis
a51aaf898c
server: Use syscall(2) instead of inline assembly on Mac OS, too.
2011-10-10 13:29:59 +02:00
Bernhard Loos
07b681e04a
ntdll: Implement the NamedPipeConfiguration value for the FilePipeLocalInformation class of NtQueryInformationFile.
2011-10-08 19:56:08 +02:00
Bernhard Loos
9034e694a3
server: Correctly implement permission checking for named pipes.
2011-10-08 19:55:35 +02:00
Bernhard Loos
e4c2a6d1cd
server: It's possible to call NtQueryInformationFile on a pipe if it was opened with access 0.
2011-10-08 19:55:19 +02:00
Bernhard Loos
bded698462
server: Sharing 0 is not allowed for named pipes.
2011-09-27 16:54:00 +02:00
Bernhard Loos
5098b13177
server: Only the sharing parameter of two instances of the same pipe have to match.
2011-09-27 16:54:00 +02:00
Bernhard Loos
039bacb0c9
server: Store sharing state for named pipes.
2011-09-27 16:54:00 +02:00
Bernhard Loos
527a985a3d
server: Correct mapping of mutex access rights.
2011-09-23 13:05:37 +02:00
Bernhard Loos
0d36c27e3b
server: ReleaseMutex doesn't need any access rights.
2011-09-23 13:05:33 +02:00
Bernhard Loos
7b63fa658a
server: Certain access flags are illegal for OpenMutex.
2011-09-23 13:05:31 +02:00
Marcus Meissner
df92979b39
server: Removed NULL check after usage (Coverity).
2011-09-23 12:38:54 +02:00
Henri Verbeet
e7728c4132
server: Try writing to /proc/<pid>/mem in write_process_memory().
2011-09-22 09:36:29 +02:00
Michael Stefaniuc
835171c2e0
server: Remove casts to the type of the casted expression.
2011-09-21 14:41:01 +02:00
Nikolay Sivov
573db9ef63
ntdll: While requesting TokenGroups calculate required user buffer size in server.
2011-08-23 16:53:54 +02:00
Francois Gouget
ff8f6e8662
user32: When destroying a window, preserve the first WM_QUIT message that was posted to it.
2011-08-23 11:50:59 +02:00
Nikolay Sivov
7381858e98
include: Fix definition name.
2011-08-03 14:15:48 +02:00
Bernhard Loos
bf3c2a06f5
server: Check for STATUS_OBJECT_TYPE_MISMATCH before STATUS_ACCESS_DENIED in get_handle_obj.
2011-07-20 19:23:04 +02:00
Hans Leidekker
3321c45038
server: Include groups in file mode calculation if the security descriptor matches the current user.
2011-07-19 14:04:30 +02:00
Grazvydas Ignotas
2cc56f379c
server: Set debug enable bits briefly to commit the addresses to kernel.
2011-07-18 16:23:30 +02:00
Grazvydas Ignotas
fa179b1c26
server: Set RW and LEN bits of DR7 before setting DR0-DR3.
2011-07-18 16:23:30 +02:00
Vincent Povirk
79556aeab7
server: Implement QS_HOTKEY.
2011-07-06 19:43:26 +02:00
André Hentschel
c7becc3015
server: Remove dead initializations (clang).
2011-07-06 11:20:37 +02:00
Alexandre Julliard
b00d60f125
server: Only check read/write-specific access bits for file sharing access checks.
2011-07-01 18:33:33 +02:00
Marcus Meissner
67320c448b
server: Do not promote lparam to signed int (Coverity).
2011-06-28 11:57:51 -05:00
Alexandre Julliard
6b0d9ff1cd
server: Allow setting a zero-size clip rectangle.
2011-06-21 15:04:24 +02:00
Vincent Povirk
cc0ea69867
server: Post WM_HOTKEY when a hotkey is pressed.
2011-06-21 14:51:14 +02:00
Vincent Povirk
4c83138f72
server: Implement RegisterHotKey/UnregisterHotKey.
2011-06-21 14:51:08 +02:00
Alexandre Julliard
f6b0ce3c44
server: Don't queue low-level hooks to a hung queue.
2011-06-17 11:54:43 +02:00
Alexandre Julliard
457a847849
server: Only avoid running low-level hooks in processes currently suspended by a debugger.
2011-06-17 11:54:29 +02:00
Alexandre Julliard
a0c0878805
server: Allow creating a process without any parent or startup info.
2011-06-16 22:45:45 +02:00
Marcus Meissner
27c9a61e15
server: Remove superflous NULL check (Coverity).
2011-06-14 15:27:13 +02:00
Alexandre Julliard
be23f5a7a6
server: Grab the current pointer to avoid referencing it after it could become invalid.
2011-05-23 19:51:00 +02:00
Alexandre Julliard
055c883ee0
server: Fix the status code for get/set_thread_context on a terminated thread.
2011-05-06 14:23:25 +02:00
Alexandre Julliard
5dc9c73c31
server: Check for the need to suspend a thread again once it leaves an exception or suspend block.
2011-05-06 12:49:57 +02:00
Alexandre Julliard
90982480f0
server: Add support for suspending the thread directly in the get/set_thread_context requests.
2011-05-06 12:40:52 +02:00
Alexandre Julliard
45075b2f9c
server: Add separate requests for getting/setting the thread context during suspend.
2011-05-06 12:25:34 +02:00
Alexandre Julliard
f2b34dddfb
server: Set the fd user when duplicating a mapping file descriptor into a new file.
2011-04-22 17:51:29 +02:00
Alexandre Julliard
8aa1a26886
user32: Pass a NULL rectangle in the ClipCursor entry point when clipping is reset because of focus change.
2011-04-22 17:51:28 +02:00
Alexandre Julliard
abe5440e32
server: Also return the previous cursor position in the set_cursor request.
2011-04-20 20:29:16 +02:00
André Hentschel
417e926a80
server: Remove Alpha support.
2011-04-20 13:10:06 +02:00
Alexandre Julliard
200f8d958f
server: Reuse existing file descriptor objects for duplicate file mappings.
2011-04-19 18:29:24 +02:00
Alexandre Julliard
1b868f4967
server: Fix sharing parameters for debug event files, and don't fail if the file can't be opened.
2011-04-19 10:29:44 +02:00
Alexandre Julliard
900352bc6b
server: Store a mapping instead of a file for process dlls.
2011-04-18 14:45:32 +02:00
Alexandre Julliard
eb2fe39d63
server: Add support for opening a new file handle from a mapping object.
2011-04-18 14:27:44 +02:00
Alexandre Julliard
35431ed0e7
server: Check sharing options when duplicating an fd object.
2011-04-18 13:41:32 +02:00
Alexandre Julliard
500d77245c
server: Retrieve the Unix thread affinity for the initial thread.
2011-04-15 10:07:52 +02:00
Alexandre Julliard
4fd8bab99e
server: Inherit the process affinity from the parent process.
2011-04-14 19:57:52 +02:00
Alexandre Julliard
3909f51122
server: Don't queue a hardware WM_MOUSEMOVE if the position hasn't changed.
2011-04-06 21:07:04 +02:00
Alexandre Julliard
34b8c639ce
server: Warp the mouse inside the clipping rectangle when it's set.
2011-04-06 20:36:36 +02:00
Alexandre Julliard
39bac05188
server: Queue a WM_MOUSEMOVE message when the cursor position is explicitly changed.
2011-04-06 20:29:38 +02:00
Alexandre Julliard
9c8bbcd1cd
server: Fix a memory leak.
2011-04-06 20:00:40 +02:00
Alexandre Julliard
21e86f60ec
server: Post a message to the desktop window when the cursor clip rectangle changes.
2011-04-05 13:36:57 +02:00
Alexandre Julliard
85358b10f3
server: Add a more general way of posting messages to the desktop window.
2011-04-05 13:36:56 +02:00
Alexandre Julliard
437a838470
server: Don't run low-level hooks in debugged processes.
2011-04-05 13:36:56 +02:00
Alexandre Julliard
6576703fac
server: Return the time of last change along with the current cursor position.
2011-03-31 20:15:56 +02:00
Alexandre Julliard
c64c36f573
server: Store all desktop cursor information in a separate structure.
2011-03-31 19:54:22 +02:00
Dmitry Timoshkov
f834d23197
server: FILE_OVERWRITE and FILE_OVERWRITE_IF need the FILE_WRITE_ATTRIBUTES permission.
2011-03-30 15:10:20 +02:00
Alexandre Julliard
2b96875b6a
server: Reset the cursor clip rectangle when the foreground thread changes.
2011-03-30 13:28:04 +02:00
Dmitry Timoshkov
1b5602e59c
server: Add excute permission when read file access is allowed.
2011-03-28 17:16:01 +02:00
Dmitry Timoshkov
da077956e1
server: Explicitly add FILE_DELETE_CHILD permission when file write access is allowed.
2011-03-16 16:31:56 +01:00
Alexandre Julliard
0b8571e3dc
server: Fix checking of X button flags when updating the input key state.
2011-03-07 23:48:03 +01:00
Alexandre Julliard
34efca05c9
server: Fix the contents of the mouse data for the low-level hook.
2011-03-07 11:07:35 +01:00
Alexandre Julliard
c7efa293f0
server: Invoke low-level hardware hooks directly from the server side.
2011-03-02 21:26:13 +01:00
Hans Leidekker
c65bcce589
server: Map the Unix user id to a local user SID instead of the interactive SID.
2011-03-02 12:50:59 +01:00
Alexandre Julliard
0f18d2bb09
server: Set the message code for mouse input on the server side.
2011-03-02 11:59:38 +01:00
Alexandre Julliard
9731d44921
server: Set the message code for keyboard input on the server side.
2011-03-02 11:34:59 +01:00
Alexandre Julliard
02e30f5f77
server: Pass the original hardware input data to the server and set the message parameters on the server side.
2011-03-02 11:34:15 +01:00
Alexandre Julliard
bc4afb0786
server: Don't pass a thread id to send_hardware_message, determine it from the window.
2011-03-01 13:21:58 +01:00
Alexandre Julliard
22468ec65c
server: Maintain the "set since last time" bit for the global keystate.
2011-02-28 22:28:21 +01:00
Alexandre Julliard
b9e4b5a28c
server: Fill the key state in mouse events from the server-side state.
2011-02-28 21:37:09 +01:00
Marcus Meissner
7f602db55b
server: Avoid shadowing a global variable.
2011-02-28 11:07:03 +01:00
Alexandre Julliard
e7a032c131
server: Work around Mac OS not being able to set global breakpoint flags.
2011-02-26 12:41:36 +01:00
Alexandre Julliard
06b78feade
server: Store the global key state in the server.
2011-02-25 13:50:25 +01:00
Alexandre Julliard
02e8174067
server: Store the cursor clip rectangle in the server.
2011-02-25 13:50:19 +01:00
Alexandre Julliard
183c41b49a
server: Store the global cursor position in the server.
2011-02-25 11:25:15 +01:00
Alexandre Julliard
ac4aac747c
server: Make the foreground thread input per-desktop instead of global.
2011-02-25 11:19:46 +01:00
Alexandre Julliard
f0396489e6
server: Increment the usage count of the global table also when starting a local hook.
2011-02-24 12:15:38 +01:00
Alexandre Julliard
8dbd06a1f8
server: Create anonymous file mappings in the config directory if the server directory is mounted noexec.
2011-01-28 17:41:26 +01:00
Andrew Nguyen
ed657182ee
server: Filter the WOW64 registry access flags before performing the access check.
2011-01-24 16:04:18 +01:00
Mike Kaplinskiy
f58c709b5f
server: Fix connect failures on newer kernels.
2011-01-24 14:43:28 +01:00
Alexandre Julliard
b3882bb339
server: Add symbolic names in filesystem change actions traces.
2011-01-19 14:20:40 +01:00
Piotr Caban
be5a757c7a
server: Don't report rename events when file is moved between directories.
2011-01-19 14:13:58 +01:00
Piotr Caban
b614a15328
server: Return multiple events in read_changes.
2011-01-19 14:13:33 +01:00
Eric Pouech
2a219b948c
kernel32: Added support for insert/overwrite modes while editing a line.
2011-01-19 12:57:46 +01:00
Austin English
599afa06b7
server: Add missing checks for FreeBSD_kernel.
2011-01-17 14:26:24 +01:00
Alexandre Julliard
185f637080
server: Use the tgkill system call on all Linux platforms.
2010-12-27 12:07:16 +01:00
Alexandre Julliard
0ae3816264
server: Use the syscall function instead of inline assembly.
2010-12-23 16:10:12 +01:00
Piotr Caban
f4e64a442f
server: Handle more inotify mask values.
2010-12-17 13:26:03 +01:00
Alexandre Julliard
15ccabc9a8
makefiles: Add common rules for installing the main man page.
2010-12-05 16:17:58 +01:00
Francois Gouget
c4c03180b0
server: Make sock_check_pollhup() more reliable on Solaris.
2010-11-29 19:43:35 +01:00
Eric Pouech
91e3a40e41
server: Removed the no longer used bare parameter out of get_console_mode request.
2010-11-08 13:30:25 +01:00
Alexandre Julliard
d771f4d17c
server: Return an error in get_handle_unix_name for objects that don't have a file name.
...
This way we fall back to retrieving the Win32 name.
2010-10-19 17:03:40 +02:00
Vladimir Panteleev
824c5089d2
user32: Update last active popup for all parents.
2010-10-18 19:47:58 +02:00
Alexandre Julliard
fcd685977d
server: Valid rects are in parent coordinates.
2010-10-07 15:58:10 +02:00
Alexandre Julliard
d076dfa8e8
server: Update child window positions when resizing a mirrored parent.
2010-10-05 11:01:21 +02:00
Austin English
c99609a5a0
wineserver: Return the version information in the same format as wine --version.
2010-10-01 14:22:16 +02:00
Alexandre Julliard
179715251d
server: Make the fd passing code slightly more portable.
2010-09-30 11:53:07 +02:00
Alexandre Julliard
6ee4521886
server: Pass the rectangle in client coordinates for update_window_zorder.
2010-09-27 21:12:49 +02:00
Alexandre Julliard
d56ac06260
server: Mirror the window region for RTL windows in get/set_window_region and redraw_window.
2010-09-27 21:07:11 +02:00
Alexandre Julliard
bc20ff50b6
server: Mirror the rectangles for RTL windows in set_window_pos.
2010-09-23 17:50:10 +02:00
Alexandre Julliard
3f026cafa5
user32: Add support for RTL window layouts in WIN_GetRectangles.
2010-09-22 20:28:20 +02:00
Alexandre Julliard
5702324b37
user32: Add support for RTL window layouts in MapWindowPoints.
2010-09-22 20:27:52 +02:00
Eric Pouech
04607ca632
server: Fix console creation logic.
2010-09-22 12:43:34 +02:00
André Hentschel
ccaeb3ed83
server: Add ARM support.
2010-09-20 12:59:53 +02:00
Alexandre Julliard
81b8ee863e
makefiles: Add a standard header for all makefiles to replace the common variable initializations.
2010-09-19 12:36:48 +02:00
Alexandre Julliard
1cb09660ce
server: Fix a couple of leaks in the new console code.
2010-09-19 12:27:12 +02:00
Eric Pouech
687b3dc25c
server: Ensure we set proper errors when getting a NULL fd out of a handle.
2010-09-18 13:03:07 +02:00
Eric Pouech
a2322e3735
kernel32: Fixed a couple of cases where the console was not reset in cooked mode after a bare console has been created.
2010-09-13 14:45:18 -05:00
Alexandre Julliard
7295b6746d
user32: Add support for fetching window rectangles relative to various origins.
2010-09-07 14:31:30 +02:00
Gerald Pfeifer
87624c2c21
server: Remove pollev from set_socket_event.
2010-09-06 16:13:22 +02:00
Eric Pouech
daaee9e50f
server: Properly return the errors for bare console objects.
2010-09-01 14:01:03 +02:00
Eric Pouech
2f7af56d41
server: Simplify the wineconsole event notification code.
2010-09-01 14:01:02 +02:00
Eric Pouech
4fdcdefccf
server: Report in get_console_mode request whether it's a bare console or not.
2010-09-01 14:01:02 +02:00
Eric Pouech
6f32644aa0
server: Allow a screen buffer to be attached to a given fd (for bare consoles).
2010-09-01 14:01:02 +02:00
Eric Pouech
b39a8d9ea2
server: Enhanced the console input object so that it doesn't require a wineconsole to be running.
2010-09-01 14:01:02 +02:00
Mike Kaplinskiy
333313aa2b
server: Allow queuing async reads on listening sockets.
2010-08-31 14:23:49 +02:00
Mike Kaplinskiy
ae5ad61fa8
server: Add accept_into_socket to accept into an initialized socket.
2010-08-31 14:23:49 +02:00
Mike Kaplinskiy
92b83ddffb
server: Don't cache sockets until they are pollable.
2010-08-31 14:23:49 +02:00
Eric Pouech
1f25534628
server: Streamline a bit the console allocation code.
2010-08-30 17:52:11 +02:00
Eric Pouech
465f3d1a85
server: Use generic file access rights (inside of console specific ones) for console management.
2010-08-30 17:51:32 +02:00
Eric Pouech
c1d35ba540
server: Fix method name in comments for fd_ops.
2010-08-30 17:51:05 +02:00
Alexandre Julliard
350c0caba0
server: Always free the process handle table even if the process didn't start.
2010-08-24 12:10:51 +02:00
Alexandre Julliard
3557b9818c
server: Avoid a potential server crash when a thread dies on startup.
2010-08-23 19:59:57 +02:00
Alexandre Julliard
a2ca2ebd50
server: Change the removable fd flag to a cacheable flag to make it possible for fd users to set it dynamically.
2010-08-23 17:09:45 +02:00
Dmitry Timoshkov
dfe6ae58af
user32: Protect from setting as a window owner one of its successors.
2010-08-04 17:35:22 +02:00
Mike Kaplinskiy
fae0b6fa63
ws2_32: Don't set FD_READ/FD_WRITE before the connection is complete.
2010-08-03 12:00:48 +02:00
Mike Kaplinskiy
a6203f8b53
server: Fix some comments.
...
Apparently windows reports only currently valid events for WSAEnumNetworkEvents.
2010-07-28 16:28:27 +02:00
Mike Kaplinskiy
93db86a7e0
server: Don't delay events, we simply shouldn't send them in the first place.
2010-07-28 16:28:27 +02:00
Mike Kaplinskiy
0b251c08f2
server: Consume events triggered.
2010-07-28 16:28:26 +02:00
Alexandre Julliard
10b6d6ba4d
server: Use tgkill to send signals on x86_64 too.
2010-07-28 16:28:26 +02:00
Michael Stefaniuc
5c8b44cd24
server: Simplify tkill() and remove unreachable code (Smatch).
2010-07-28 16:28:23 +02:00
Maarten Lankhorst
c054b5f86d
wineserver: Use syscall instead of int $0x80.
2010-07-22 10:24:45 +02:00
Alexandre Julliard
1a79912a10
server: Try to use /proc/pid/mem to read process memory since it should be faster.
2010-07-21 13:23:58 +02:00
Mike Kaplinskiy
8d9fbe59b3
server: Forward the correct error to asyncs.
2010-07-20 14:40:31 +02:00
Mike Kaplinskiy
be230adbb7
server: In case of hangup/error, wake up all asyncs that can no longer be completed.
2010-07-20 14:40:31 +02:00
Mike Kaplinskiy
394a142237
server: Propagate error from recv.
2010-07-20 14:40:31 +02:00
Mike Kaplinskiy
75c7c63886
server: Move signaling FD_* events to a separate function.
2010-07-20 14:40:31 +02:00
Alexandre Julliard
4c1f36cb68
server: Return the total length of the target in query_symlink.
2010-06-30 16:11:03 +02:00
Dmitry Timoshkov
66e981ec8d
server: Make layered windows transparent for mouse messages.
2010-06-11 14:16:03 +02:00
Hans Leidekker
0a4984280f
server: Map EHOSTUNREACH to STATUS_HOST_UNREACHABLE.
2010-05-25 13:29:07 +02:00
Andrey Turkin
85cc2c13f6
server: Connect named pipe synchronously when overlapped param is NULL.
2010-05-24 12:39:35 +02:00
Mike Kaplinskiy
ee5ee5c538
server: Move async activation into separate function.
2010-05-20 16:48:37 +02:00
Mike Kaplinskiy
ac12c67f40
server: Don't poll for events when there are async operations queued.
2010-05-19 16:57:59 +02:00
Mike Kaplinskiy
42debac149
server: Move socket async activation to sock_poll_event.
2010-05-17 14:41:33 +02:00
Alexandre Julliard
5532927ed3
server: Make sure a thread doesn't get freed while it's processing a request.
2010-05-16 12:34:28 +02:00
Mike Kaplinskiy
4f9e09ea57
server: Get rid of sock_try_event.
...
We *might* need to ignore POLLERR messages for UDP sockets, as the
condition is actually temporary and sock_try_event was hiding this.
2010-05-14 11:47:26 +02:00
Mike Kaplinskiy
d03fe9d4ec
server: Always treat POLLHUP as a hangup, just special case checking TCP sockets.
2010-05-14 11:45:44 +02:00
Mike Kaplinskiy
3aa93e11ad
server: Use a less hackish approach to not POLLIN when we have a hung up socket.
2010-05-13 11:54:27 +02:00
Mike Kaplinskiy
535f878e3d
server: Keep polling sockets after we got a 0 recv, but not for POLLIN.
2010-05-13 11:53:31 +02:00
Mike Kaplinskiy
f928580ac3
server: Set FD_READ in only 1 place (cleanup).
2010-05-13 11:51:34 +02:00
Alexandre Julliard
5ee89aad68
winex11: Update the cursor also for events ignored by a hook.
2010-05-12 14:13:15 +02:00
Alexandre Julliard
c545982472
server: Return the cursor information for a thread input, and use it for GetCursorInfo.
2010-05-11 11:27:03 +02:00
Alexandre Julliard
ac69fcb14f
server: Check that the prefix type can support the client architecture.
2010-05-04 20:27:20 +02:00
Alexandre Julliard
bbc03d5172
server: Use the prefix architecture instead of the server one to check for WoW processes.
2010-05-04 20:26:53 +02:00
Alexandre Julliard
58791c9acd
server: Store the prefix 32/64 architecture in the registry files.
2010-05-04 20:26:04 +02:00
Alexandre Julliard
cd28e2be7c
server: Return the current cursor when queuing a hardware message.
2010-04-21 11:07:31 +02:00
Alexandre Julliard
3044d734b1
server: Fix structure padding for requests that have a reply.
2010-04-20 21:25:38 +02:00
Eric Pouech
1298f2233f
server: Fix write_process_memory on Wow64.
2010-04-20 11:17:03 +02:00
Frédéric Delanoy
2340118316
wineserver: Fix French manpage.
2010-04-13 11:43:19 +02:00
Frédéric Delanoy
db7928c385
manpages: Fix formatting errors.
2010-04-09 11:47:05 +02:00
Eric Pouech
9f49c6a05f
server: Correctly set the DR0..7 registers on Linux for x86_64 architecture.
2010-04-08 12:28:25 +02:00
André Hentschel
d5b28032ef
server: Add German translation of the manpage.
2010-04-05 11:36:26 +02:00
Alexandre Julliard
6ebc627996
server: Disallow all operations on deleted registry keys.
2010-04-02 15:22:31 +02:00
Alexandre Julliard
935cc7987d
server: Update the registry key and value name length limits to the now documented values.
2010-04-02 11:48:50 +02:00
Alexandre Julliard
45e0e3df47
server: Update trace for new error codes.
2010-04-01 20:30:49 +02:00
Alexandre Julliard
27f2a35742
server: Fix 64-bit alignment of the context structure.
2010-04-01 19:56:09 +02:00
Alexandre Julliard
7d1d002d4c
server: Set a proper error code when dup_fd_object fails.
2010-04-01 18:12:58 +02:00
Alexandre Julliard
0ea2806c3f
server: Don't set the Wow64 flag on a Wow6432Node since it's already a 32-bit node.
2010-04-01 18:12:42 +02:00
Mikhail Maroukhine
0d7fef63ea
server: Fix compiler warning with flag -Wcast-qual.
2010-03-29 12:11:53 +02:00
Mike Kaplinskiy
798c9e5161
ws2_32: Use ntstatus in overlapped functions.
2010-03-23 12:35:56 +01:00
Alexandre Julliard
8159d4eb99
server: Add support for storing the cursor and show count in the thread input structure.
2010-03-22 17:52:23 +01:00
Alexandre Julliard
5efe996c6a
server: Add a helper function to change a queue thread input.
2010-03-22 17:48:22 +01:00
Francois Gouget
bc8d21b5d7
server: Don't include winsock.h to avoid creating a dependency on generated headers.
...
The dependency does not really exist thanks to various #ifdefs, but
makedep does not know that and records it which causes a build failure.
2010-03-19 12:27:45 +01:00
Alexandre Julliard
bef5645eb1
makefiles: Remove the no longer needed explicit separators for dependencies.
2010-03-16 13:28:19 +01:00
Henri Verbeet
f0a5045254
ntdll: Improve support for the ProcessDebugPort info class in NtQueryInformationProcess().
2010-03-15 15:56:42 +01:00
Henri Verbeet
6c0ecd0955
server: Debugging our own process is disallowed.
2010-03-15 15:55:08 +01:00
Henri Verbeet
1970fb35d4
server: Allow the debugger to be debugged.
2010-03-05 13:21:22 +01:00
Alexandre Julliard
b1c0441fac
server: Fix a typo in the context tracing.
2010-03-05 12:25:12 +01:00
Alexandre Julliard
178cd20e28
server: Add support for Wow64 sharing of the HKLM\Software\Classes key.
2010-03-04 21:48:55 +01:00
Alexandre Julliard
606cc06148
server: Add a helper function for the common functionality between open_key and create_key.
2010-03-04 20:46:42 +01:00
Alexandre Julliard
b0760fc2e9
server: Set the idle event when PeekMessage is called with -1 as window filter.
2010-03-03 13:20:53 +01:00
Alexandre Julliard
4d33d4982f
user32: Pass HWND_BOTTOM unmodified to the server in PeekMessage.
2010-03-03 13:20:26 +01:00
Alexandre Julliard
ac08b038f0
server: Initial support for Wow64 registry redirection.
2010-03-02 12:03:17 +01:00
Alexandre Julliard
8eca1da43c
server: Make the standard registry key creation non-recursive.
2010-03-01 14:23:39 +01:00
Alexandre Julliard
22de1f43d9
server: Add a separate function for internal registry key creation.
2010-03-01 14:14:18 +01:00
XueFeng Chang
4bc7c59f44
server: Check create_event return value in console creation.
2010-02-23 12:09:25 +01:00
Alexandre Julliard
adf9dcd6a7
user32: Fix Z-order handling of windows that have a top-most owner.
2010-02-19 13:05:08 +01:00
Alexandre Julliard
9c87c88837
server: Fix tracing of invalid ACLs.
2010-02-18 12:57:03 +01:00
Alexandre Julliard
b5d4289d22
server: Save and load registry symlinks to/from disk files.
2010-02-16 12:26:44 +01:00
Alexandre Julliard
2a378676ef
server: Save and load the registry class names to/from disk files.
2010-02-16 12:26:15 +01:00
Alexandre Julliard
b139b935c4
server: Implement registry symlinks.
2010-02-15 21:07:01 +01:00
Alexandre Julliard
9ce56b2729
server: Set the initial thread affinity from the process.
2010-02-02 16:12:01 +01:00
Alexandre Julliard
2f3fa8596b
server: Allow changing a thread affinity before it is initialized.
2010-02-02 15:58:02 +01:00
Alexandre Julliard
349eba9e09
server: Make terminate_process more robust against recursive calls for the same process.
2010-02-02 11:47:06 +01:00
Rob Shearman
f12f8503a3
server: Fix symbol was not declared and using plain integer as NULL pointer sparse warnings.
2010-01-22 12:18:37 +01:00
Mike Kaplinskiy
8e669d9a61
server: Activate pending asyncs on a hangup/error.
2010-01-19 15:03:57 +01:00
Peter Dons Tychsen
d21c131fb5
user32: Do not allow a change of capture if the currently capture window is a menu unless explicitly specified.
2010-01-14 09:04:55 -06:00
Alexandre Julliard
658dae988d
server: Add support for returning the object name in NtQueryObject.
2010-01-08 13:01:50 +01:00
Alexandre Julliard
b824fe05f4
server: Don't dump more than 1024 bytes in a trace.
2010-01-07 20:27:17 +01:00
Alexandre Julliard
7265e89226
server: Set the idle event when retrieving a timer message.
2009-12-16 18:18:07 +01:00
Alexandre Julliard
92e704edc5
server: Don't set the idle event when waiting for a message reply.
2009-12-16 18:06:38 +01:00
Alexandre Julliard
7d4e28480d
server: Any thread can set the idle event, don't treat the first one differently.
2009-12-16 18:06:32 +01:00
Alexandre Julliard
b57cc5561b
server: Don't reset the idle event when the client stops waiting.
2009-12-16 18:06:14 +01:00
Alexandre Julliard
d1dc48d8dc
server: Don't set the idle event when a queue is destroyed, instead return success in WaitForInputIdle on process exit.
2009-12-16 18:00:34 +01:00
Alexandre Julliard
80e844f713
server: Simplify computation of file modes from the security descriptor.
2009-12-11 17:47:30 +01:00
Ben Peddell
b419df1de4
server: Include user groups in file mode calculation when user is file owner.
2009-12-11 17:47:30 +01:00
Paul Chitescu
923524951a
server: Only check if permission bits changed before calling fchmod().
2009-12-08 17:42:32 +01:00
Alexandre Julliard
151446a2a6
server: Improve parameter checks when opening a directory.
2009-12-08 12:18:44 +01:00
Alexandre Julliard
42806f32e9
server: Add support for opening files from a specified root directory.
2009-12-01 17:38:24 +01:00
Alexandre Julliard
e4faa12900
server: Make sure that last error doesn't get set during thread cleanup.
2009-12-01 15:10:23 +01:00
Alexandre Julliard
60efdd55ea
server: Don't set last error in close_handle(), return the error code instead.
2009-12-01 13:59:41 +01:00
Alexandre Julliard
1a6c472115
server: Don't set last error in get_handle(), move that into the callers.
2009-12-01 13:49:43 +01:00
Paul Chitescu
51000c171b
wineserver: Do not uselessly set the KEY_DIRTY flag on registry keys when loading from file.
2009-11-24 15:53:37 +01:00
Albert Lee
01b972d639
server: Support event ports on Solaris.
2009-11-24 15:53:37 +01:00
Alexandre Julliard
181b3cf07f
server: Implement the file sharing check for delete on close with an existing image mapping.
2009-11-23 17:29:22 +01:00
Alexandre Julliard
923d582f07
server: Implement the file sharing check when truncating a file that has an existing mapping.
2009-11-23 17:24:45 +01:00
Alexandre Julliard
fd504b6289
server: Implement the special file sharing rules for memory mappings.
2009-11-23 17:10:28 +01:00
Alexandre Julliard
028bca4cc5
server: Don't create a file object for anonymous mappings.
2009-11-23 16:30:01 +01:00
Alexandre Julliard
62eda39fc1
server: Moved the create_temp_file function to mapping.c.
2009-11-23 16:30:00 +01:00
Alexandre Julliard
5f808f03e1
server: Store a duplicate of the file descriptor for file mappings.
2009-11-23 16:30:00 +01:00
Alexandre Julliard
0f4068ac6f
server: Use the file descriptor instead of the file object where possible in memory mappings.
2009-11-23 16:29:52 +01:00
Alexandre Julliard
d57692d86b
server: Also store a file descriptor object for mappings.
2009-11-23 15:59:37 +01:00
Alexandre Julliard
78d211b3bd
server: Move the functions to extend file to mapping.c since it's the only user.
2009-11-23 15:58:25 +01:00
Alexandre Julliard
a764fe8921
server: Use the correct thread id to set affinity.
2009-11-20 11:44:54 +01:00
Alexandre Julliard
72ba00fffe
server: Only require REG_OPTION_VOLATILE when creating a new key.
2009-11-20 11:39:55 +01:00
Rob Shearman
bd56916f90
server: Extend get_token_user server call to also retrieve SIDs for the token's owner or primary group.
2009-11-17 15:14:54 +01:00
Henri Verbeet
27705d51e1
server: Store the Unix name in the fd.
2009-11-12 15:31:38 +01:00
Andrey Turkin
5116dca8e1
server: Open mem file for write when writing memory.
2009-10-22 16:23:01 +02:00
Alexandre Julliard
538b24747c
server: Free client-side user handles at process exit.
2009-10-15 17:56:04 +02:00
Alexandre Julliard
9018e13c5e
server: Add support for allocating purely client-side user handles.
2009-10-12 17:07:04 +02:00
Andrey Turkin
3eaecf0476
kernel32: Always use ANSI version of OutputDebugString.
2009-10-06 12:03:35 +02:00
Michael Stefaniuc
0eed4405de
server: A signed 1-bit bitfield doesn't make much sense; use unsigned.
2009-10-01 11:34:42 +02:00
Juan Lang
bfb4578356
server: A thread's affinity is restricted to the process affinity.
2009-10-01 11:33:33 +02:00
Juan Lang
474b2e4bfb
server: Use kernel support for thread affinity when available.
2009-09-30 14:34:32 +02:00
Juan Lang
24036fe13a
server: Setting a process's affinity sets all of its threads' affinities too.
2009-09-30 14:34:32 +02:00
Alexandre Julliard
a30778b34a
server: Disable large files for procfs on Solaris.
2009-09-01 17:39:51 +02:00
Alexandre Julliard
b8ae3f073b
ntdll: Fix handling of the duplicate MxCsr entry in the x86_64 context.
2009-08-27 16:49:53 +02:00
Alexandre Julliard
da8acbc47d
server: Define an architecture-independent structure for process startup info.
2009-08-21 20:00:12 +02:00
Mike Kaplinskiy
b05774ee7e
server: Change cancel_async to take an optional iosb and only_thread.
2009-08-18 12:26:30 +02:00
Alexandre Julliard
da1784bb9e
server: Don't use the cached file mode when setting the security descriptor.
2009-08-17 17:26:51 +02:00
Alexandre Julliard
74a63029c7
server: Properly initialize mode and uid for file and directory objects.
2009-08-17 17:18:54 +02:00
Michael Karcher
a0eb2ed413
server: Don't report LOAD_DLL debug event for exe module.
2009-08-17 16:44:14 +02:00
Alexandre Julliard
95d3a722ab
server: Add support for image mappings for both 32- and 64-bit PE formats.
2009-08-12 12:53:16 +02:00
Andrew Nguyen
270179a78f
server: Remap the EROFS errno value to STATUS_ACCESS_DENIED.
2009-07-13 12:25:41 +02:00
Alexandre Julliard
6056e8a52b
server: Return the process CPU in the get_process_info request.
2009-07-07 11:37:47 +02:00
Alexandre Julliard
61a70360e6
server: Use sys/inotify.h if it exists instead of hardcoding the system calls.
2009-06-26 15:45:03 +02:00
Alexandre Julliard
034c6c3e58
server: The ptrace interfaces uses longs, not ints.
2009-06-18 15:17:26 +02:00
Alexandre Julliard
fd78e6e3a5
server: Restart at the head of the wait queue when we woke a thread, since this can modify the queue.
2009-06-13 12:20:49 +02:00
Dmitry Timoshkov
acb05666bb
user32: Add a test for PeekMessage((HWND)-1), make it pass under Wine.
2009-06-12 17:33:16 +02:00
Alexandre Julliard
7a344c14af
server: Avoid a crash when trying to wait on a disconnected pipe client.
2009-06-09 17:01:13 +02:00
Alexandre Julliard
5dcf157b5b
server: Hide a window before destroying it if it was still visible.
2009-06-03 11:29:15 +02:00
Alexandre Julliard
2d69ba45d7
server: Reset events on the message queue fd to avoid busy looping when the thread is suspended.
2009-06-03 11:28:18 +02:00
Alexandre Julliard
d5d0738fb9
ntdll: Tweak the file mapping permission checks some more, with tests.
2009-05-19 21:36:05 +02:00
Hans Leidekker
24af6f3e01
server: Add requests to set and retrieve default dacl.
2009-04-21 15:40:26 +02:00
Alexandre Julliard
5316dd011f
server: Define a generic context structure instead of using the platform-specific version.
2009-04-08 19:59:23 +02:00
Alexandre Julliard
53929f1906
server: Make all dump function take a prefix string to simplify the tracing code.
2009-04-08 17:31:05 +02:00
Alexandre Julliard
279defe66e
server: Verify that the client is using a supported CPU type.
2009-04-03 14:59:12 +02:00
Alexandre Julliard
653d2c4a8d
server: Store the type of CPU that the client is running on.
2009-04-03 14:49:10 +02:00
Alexandre Julliard
b06a919c3c
server: Use the thread entry point field to pass the PEB in the initial thread.
2009-04-03 14:30:34 +02:00
Alexandre Julliard
50171c5cc1
server: Make the new named pipe server fd inherit the I/O completion if it was set before connecting.
2009-03-03 11:59:29 +01:00
Alexandre Julliard
9dd3fe5467
server: Overlapped named pipes are never blocking, even if no APC was specified.
2009-03-02 20:34:07 +01:00
Alexandre Julliard
548e18933b
server: Don't return a value from a void function.
2009-01-30 14:04:56 +01:00
Marcus Meissner
3b86f463b5
server: Handle NULL thread in send_hardware_message (Coverity).
2009-01-29 12:45:32 +01:00
Alexandre Julliard
913e792b57
server: Store process/thread affinity as a 64-bit value.
2009-01-19 14:15:51 +01:00
Alexandre Julliard
7f1dc355ec
server: Generate padding in request structures from make_requests.
...
Add compile-time asserts to check that the structures have the expected layout.
2009-01-19 14:01:39 +01:00
Alexandre Julliard
64e6ee5cd8
server: Set stderr in line-buffered mode before doing anything else.
2009-01-16 12:32:26 +01:00
Alexandre Julliard
0ffd26ab17
user32: Use the message_data_t union when receiving a message.
2009-01-15 12:50:59 +01:00
Alexandre Julliard
9f365e7705
server: Replace EXCEPTION_RECORD by an explicit definition in debug events.
2009-01-02 20:12:46 +01:00
Alexandre Julliard
bc03f0ee39
server: Simplify the debug_event_t structure.
2009-01-02 20:09:25 +01:00
Alexandre Julliard
9087e5c55f
server: Avoid crash on initialization of the thread creation debug event.
2009-01-02 20:00:54 +01:00
Alexandre Julliard
8c8c665a3c
server: Reorganize some requests to avoid padding, and make remaining padding explicit.
2008-12-31 15:14:29 +01:00
Alexandre Julliard
0c914e475d
server: Make atom_t an unsigned int to avoid padding issues.
2008-12-31 15:09:59 +01:00
Alexandre Julliard
fa8643805b
server: Make TEB and PEB client_ptr_t instead of void pointers.
2008-12-31 15:09:59 +01:00
Alexandre Julliard
c6c335d70e
server: Make thread entry points client_ptr_t instead of void pointers.
2008-12-31 15:09:59 +01:00
Alexandre Julliard
2cf868c0be
server: Move ldt_copy to the init_process_done request and make it a client_ptr_t.
2008-12-31 15:09:59 +01:00
Alexandre Julliard
1d2d0d5622
server: Send the version with the initial fd so that it can be checked before sending the first request.
2008-12-31 15:09:59 +01:00
Alexandre Julliard
6db201080f
server: Make the various async I/O parameters client_ptr_t instead of void pointers.
2008-12-30 21:09:41 +01:00
Alexandre Julliard
f507ccbf52
server: Specify the user APC to call only once the system APC has executed.
2008-12-30 20:51:55 +01:00
Alexandre Julliard
7ec95c5bee
server: Explicitly specify when an ioctl call needs to be blocking.
2008-12-30 20:37:20 +01:00
Alexandre Julliard
f69e62207b
server: Make the arguments for CreateRemoteThread client_ptr_t instead of void pointers.
2008-12-30 15:30:11 +01:00
Alexandre Julliard
c86ec6445c
server: Make a couple of fields smaller in the apc_call_t/apc_result_t structures.
2008-12-30 15:22:45 +01:00
Alexandre Julliard
7560a89022
server: Make padding explicit in the wake_up_reply structure.
2008-12-30 15:15:06 +01:00
Alexandre Julliard
838803ce24
server: Make the address parameters in inter-process virtual memory calls client_ptr_t.
...
Add explicit padding fields in the corresponding structures.
2008-12-30 15:05:38 +01:00
Alexandre Julliard
d066a9a01a
server: Make the mapping base address a client_ptr_t instead of a void pointer.
2008-12-30 14:18:21 +01:00
Alexandre Julliard
8e9c156e14
server: Make the address argument for read/write_process_memory a client_ptr_t.
2008-12-30 14:11:58 +01:00
Alexandre Julliard
4261476d13
server: Make the message callback function a client_ptr_t instead of a void pointer.
2008-12-30 14:02:07 +01:00
Alexandre Julliard
9b92a59115
server: Make timer callback function and argument client_ptr_t instead of void pointers.
2008-12-29 17:43:01 +01:00
Alexandre Julliard
cc55fd317a
server: Make hook procedures client_ptr_t instead of void pointers.
2008-12-29 17:35:35 +01:00
Alexandre Julliard
923310aa54
server: Make the device opaque data a client_ptr_t instead of a void pointer.
2008-12-29 17:28:40 +01:00
Alexandre Julliard
0cd3ff6cbe
server: Make the class opaque data a client_ptr_t instead of a void pointer.
2008-12-29 17:24:39 +01:00
Alexandre Julliard
45c991937a
server: Make the select cookie a client_ptr_t instead of a void pointer.
2008-12-29 17:21:32 +01:00
Alexandre Julliard
93737d5575
server: Store debugging output strings as client_ptr_t instead of void pointers.
2008-12-29 17:16:46 +01:00
Alexandre Julliard
947976f22c
server: Store module names as client_ptr_t instead of void pointers.
2008-12-29 17:10:11 +01:00
Alexandre Julliard
f2c4e09e80
server: Make module handles always 64-bit.
2008-12-29 16:47:51 +01:00
Alexandre Julliard
cb2788efaf
server: Add a module_handle_t type to represent client-side module handles.
2008-12-29 16:41:44 +01:00
Alexandre Julliard
9ed42d2709
server: Get rid of the unused count parameter in fd_queue_async().
2008-12-26 12:33:31 +01:00
Alexandre Julliard
b660aaa9ea
server: Use the same field for process and thread handle in the queue_apc request.
2008-12-26 12:33:31 +01:00
Alexandre Julliard
a7b3efde0e
server: Store the async handle inside the async_data_t structure.
2008-12-26 12:33:21 +01:00
Alexandre Julliard
3cd817b53e
server: Make lparam_t always 64-bit.
2008-12-24 19:57:51 +01:00
Alexandre Julliard
d1d7b9f3f7
server: Store data for hardware messages in the message extra data.
2008-12-24 19:57:51 +01:00
Alexandre Julliard
a6216ab927
server: Make apc_param_t always 64-bit.
2008-12-17 19:43:40 +01:00
Alexandre Julliard
29d9759156
server: Use mem_size_t instead of file_pos_t for memory mapping sizes.
2008-12-17 19:25:49 +01:00
Alexandre Julliard
401f4b717a
server: Make mem_size_t always 64-bit.
2008-12-17 19:25:09 +01:00
Alexandre Julliard
992d3cea93
server: Add a mem_size_t type to represent memory sizes and offsets.
2008-12-17 19:24:33 +01:00
Alexandre Julliard
f6fa72d770
server: Make async I/O transfer sizes always 32-bit.
2008-12-15 13:30:25 +01:00
Alexandre Julliard
dc7f170495
server: Add an apc_param_t type to store APC client-side parameters.
2008-12-15 13:29:38 +01:00
Alexandre Julliard
517b2f624d
server: Windows properties are actually generic params, not handles.
2008-12-10 16:21:32 +01:00
Alexandre Julliard
31282b3f63
server: Define an lparam_t type for message parameters that can hold all sorts of data.
2008-12-10 16:01:50 +01:00
Alexandre Julliard
77cf8034e4
server: Don't use size_t for module sizes, they are limited to 2Gb anyway.
2008-12-09 11:50:05 +01:00
Alexandre Julliard
db6e45488d
server: Get rid of the support for module snapshots, it is no longer needed.
2008-12-09 11:49:37 +01:00
Alexandre Julliard
d764107434
server: Make user handles ints instead of pointers.
2008-12-08 16:57:38 +01:00
Alexandre Julliard
0d3d456bd0
server: Make object handles ints instead of pointers.
2008-12-08 16:04:20 +01:00
Alexandre Julliard
5c37788a01
server: The name len in the get_directory_entry request must be a data_size_t.
2008-12-06 17:29:31 +01:00
Alexandre Julliard
3343c408cb
server: Convert the registry key modification time to a win32-style time.
2008-12-06 17:29:01 +01:00
Vincent Povirk
8b49ecc3d8
server: Fix string format warning.
2008-12-05 12:31:45 +01:00
Alexandre Julliard
9434e19965
server: Limit the number of allocated handles before running out of memory.
2008-12-04 16:12:04 +01:00
Jeff Zaroyko
afce615830
wineserver: Don't use O_CREAT and O_EXCL when attempting to open directories.
2008-12-03 09:58:21 +01:00
Francois Gouget
d6abd3835f
server: Remove an unneeded cast.
2008-12-01 13:01:40 +01:00
Alexandre Julliard
af8bb2e922
ntdll: Add support for virtual write watches.
2008-11-25 12:07:35 +01:00
Paul Bryan Roberts
6435a5ddab
server: Clone file_get_sd() and file_set_fd() for directories.
2008-11-07 12:01:51 +01:00
Paul Bryan Roberts
d87af3dfb2
server: Refactor server side implementation of GetFileSecurity().
2008-11-07 12:01:24 +01:00
Alexandre Julliard
5e2ed6bfe9
ntdll,server: Fixed access checks for OpenFileMapping and MapViewOfFile.
2008-11-05 20:32:32 +01:00
Alexandre Julliard
cdce50f5be
ntdll: Store the per-page committed status in the server for anonymous file mappings.
2008-11-05 12:31:37 +01:00
Alexandre Julliard
7e94787948
ntdll: Add a noexec flag for memory views where we don't want to force exec permission.
2008-11-04 13:16:01 +01:00
Alexandre Julliard
0b0b6c351a
ntdll: Store the per-view flags in the high word of the page protection bits.
2008-11-04 13:05:37 +01:00
Alexandre Julliard
ba71579809
server: Added a request to unlink an object from its namespace.
2008-10-20 16:21:06 +02:00
Alexandre Julliard
7d5f732d30
server: Convert source files to utf-8.
2008-10-18 19:22:26 +02:00
Alexandre Julliard
c928aa67fb
server: Follow symlink even with OBJ_OPENLINK unless it is the last element of the path.
2008-10-09 12:43:36 +02:00
Alexandre Julliard
05b4181cac
server: Implemented the server side of Get/SetLayeredWindowAttributes.
2008-09-12 15:30:47 +02:00
Alexandre Julliard
b3ec2e5f95
makefiles: Recurse into all directories for install-lib and install-dev too.
2008-08-25 14:27:03 +02:00
H. Verbeet
ff870e0132
server: Calling ResumeThread() on a terminated thread is valid.
2008-07-23 11:21:47 +02:00
Alexandre Julliard
44043a7dd0
server: Better handling of errors when accessing the /proc control files on Solaris.
2008-07-10 20:15:15 +02:00
Alexandre Julliard
0f9484a124
server: Set the visible rect in the set_window_pos request again.
...
This essentially reverts 2f69329a37
.
We really need the visible rect to be set atomically with the rest of
the window position info.
2008-07-03 20:33:12 +02:00
Alexandre Julliard
42e2c99ce2
server: Fix a potential desktop reference leak.
2008-06-26 16:49:23 +02:00
Alexandre Julliard
6536868d07
user32: Make sure that IsWindowVisible returns FALSE for HWND_MESSAGE windows.
2008-06-25 15:49:44 +02:00
Alexandre Julliard
612c010431
user32: Add support for finding HWND_MESSAGE windows in FindWindowEx.
2008-06-25 15:30:22 +02:00
Alexandre Julliard
6b36e2131d
server: Also return the top-level message window in the get_desktop_window request.
2008-06-25 14:44:06 +02:00
Alexandre Julliard
81e6edbda9
server: Add support for a top-level message parent window in parallel to the desktop window.
2008-06-25 14:43:39 +02:00
Alexandre Julliard
25e070c0ac
server: Use a unicode_str to represent atom names.
2008-06-25 14:03:08 +02:00
Alexandre Julliard
24ec4a6ed7
server: Move the process pipe hangup handling into kill_process.
...
This ensures that it's also done correctly when a read from the pipe
returns EOF.
2008-06-20 20:42:51 +02:00
Vitaliy Margolen
67daa7f760
wineserver: Add support for long command line options.
2008-05-22 12:41:24 +02:00
Marcus Meissner
a82455e627
server: Remove superflous empty region allocation.
2008-05-14 16:02:32 +02:00
Alexandre Julliard
30c0639b5a
server: Crop the invalidate region against the rectangles of all parents.
2008-05-12 12:44:10 +02:00
Alexandre Julliard
bc25119c6e
server: Also crop the update region of children when moving a window.
2008-05-12 12:44:10 +02:00
Alexandre Julliard
e02969ddf0
server: When moving/resizing a window crop the update region against the new rectangle of the parents.
2008-05-12 12:41:17 +02:00
Alexandre Julliard
a789375f8b
server: Don't touch the users count when a system process switches desktops.
2008-05-05 21:02:34 +02:00
Maarten Lankhorst
3fd1fc7600
server: Make enum_desktop enumerate all the desktops on the window station with the DESKTOP_ENUMERATE right.
2008-04-17 14:32:01 +02:00
Maarten Lankhorst
81069001ea
server: Make enum_winstations enumerate all the window stations with WINSTA_ENUMERATE right.
2008-04-17 13:22:50 +02:00
Alexandre Julliard
161160f05a
server: Keep a file descriptor open to the config directory to make sure we don't write the registry in the wrong place.
2008-04-17 12:41:34 +02:00
Petr Sumbera
f4575aaa5f
server: Workaround for conflict between Wine and Solaris list.h.
2008-04-11 11:14:33 +02:00
Steven Edwards
77aa978d9e
server: Remove unneeded semicolon.
2008-04-09 19:58:12 +02:00
Francois Gouget
8a18e0e43a
Assorted spelling fixes.
2008-04-07 13:36:18 +02:00
Maarten Lankhorst
70a6495a31
user32: Implement BroadcastSystemMessage.
2008-04-03 12:00:02 +02:00
Vitaliy Margolen
9faf7e3586
winex11drv: Distinguish left and right keys for shift, ctrl and alt.
2008-04-02 11:14:54 +02:00
Alexandre Julliard
f6d871eecf
server: impersonation_level should be an int since we store -1 in it.
...
Make sure we don't check the impersonation level for primary tokens.
2008-03-26 14:38:49 +01:00
Alexandre Julliard
34fe91bf2b
user32: Implemented EnumDesktopWindows.
2008-03-19 11:13:46 +01:00
Alexandre Julliard
b2ea572352
server: Fix desktop window coordinates mapping in expose_window.
2008-03-18 12:22:53 +01:00
H. Verbeet
3120c0861c
server: Don't drop the SE_GROUP_LOGON_ID attribute.
2008-03-18 11:15:06 +01:00
Maarten Lankhorst
8b164ce484
server: Fix reference leak in enum_desktop.
2008-03-07 11:01:07 +01:00
Alexandre Julliard
e42eaaaf3a
server: Invalidate the newly exposed child region on the parent too if it doesn't clip children.
2008-03-03 17:52:18 +01:00
Alexandre Julliard
037afca5a5
server: Unlink remaining children inodes when deleting the parent.
2008-02-28 10:50:57 +01:00
Alexandre Julliard
8ee07d49ae
winex11: Re-introduce a separate X11 window for the client area of top-level windows.
2008-02-21 12:53:00 +01:00
Alexandre Julliard
a319263230
server: Don't access the process after send_client_fd as it may have been killed.
2008-02-19 16:51:16 +01:00
Rob Shearman
44581af935
server: Always try return a named pipe server that is listening from find_available_server.
...
We still fallback to an idle server, but this prevents a client from
connecting to a named pipe server that isn't listening.
2008-02-05 12:19:37 +01:00
Alexandre Julliard
2921f5c156
server: Invalidate the correct region when custom valid rects are specified.
2008-01-22 20:06:35 +01:00
Alexandre Julliard
2f69329a37
server: Add a separate request to set the window visible rect.
2008-01-22 20:01:21 +01:00
Alexandre Julliard
30d84fcd77
user32,server: Set the initial window rectangles to 0,0-0,0.
2008-01-22 10:15:38 +01:00
Alexandre Julliard
3bf12b9aca
server: Don't force the process affinity to 1, leave it up to the client.
2008-01-17 13:40:03 +01:00
Alexandre Julliard
b317416b20
server: Take into account the extended registers part of the i386 context.
2008-01-15 11:53:31 +01:00
Marcus Meissner
3bf54c2950
server: Enumerate process in reverse.
2008-01-14 16:24:55 +01:00
Alexandre Julliard
c3b0addde6
Spelling fixes in French man pages.
2008-01-11 12:45:50 +01:00
Jonathan Ernst
3b4011eec7
server: Updated French man page.
2008-01-11 12:28:01 +01:00
Marcus Meissner
368d935350
server: Remove superflous check (value->data is dereferenced before check).
2008-01-10 12:10:52 +01:00
Alexandre Julliard
b647ded03d
server: Output incorrectly-terminated strings in hex format.
2008-01-07 21:17:10 +01:00
Alexandre Julliard
fb9955da8c
server: Make the registry parser more tolerant about malformed hex values.
2008-01-07 21:17:10 +01:00
Alexandre Julliard
12717397b7
server: Accept utf-8 data as input in registry files.
2008-01-07 21:17:10 +01:00
Alexandre Julliard
2f1e73cb35
server: Wait for the expiration of all the process SIGKILL timers before exiting the server.
2008-01-07 17:19:05 +01:00
Jonathan Ernst
4cf157d20b
server: New French man page for wineserver.
2008-01-04 12:51:09 +01:00
Alexandre Julliard
af268c6211
server: Redesign the server shutdown processing.
...
System processes are now killed only after the server persistence
delay has expired. New processes are not allowed to start during
shutdown.
2008-01-03 11:40:03 +01:00
Alexandre Julliard
307cb09a62
server: Use exponential backoff when waiting for wineserver -k to complete.
2008-01-02 16:13:08 +01:00
Dmitry Timoshkov
e735e199ad
user32: Reimplement IsHungAppWindow.
2007-12-28 11:43:57 +01:00
Rob Shearman
0b0c75ed19
server: Initialise the apc_call_t union in async_set_result to all zero to avoid a Valgrind warning.
2007-12-27 15:12:07 +01:00
Alexandre Julliard
11750af329
server: Don't give out full access to the system process event.
2007-12-20 16:43:31 +01:00
Alexandre Julliard
ffbeae78f7
server: Don't count system processes as users of a desktop.
2007-12-20 16:43:14 +01:00
Alexandre Julliard
3b244b95b2
server: Use SIGQUIT instead of SIGTERM to terminate a thread.
...
This allows keeping the default SIGTERM behavior of killing the whole
process.
2007-12-20 12:19:35 +01:00
Alexandre Julliard
c69468ddcc
server: Fix possible NULL dereference.
2007-12-18 19:44:00 +01:00
Andrey Turkin
3afbee5218
server: Store I/O completion information in async structure.
...
This is to allow completions to be sent on handle close. Also this can
be helpful for AcceptEx/TransmitFile implementation.
2007-12-18 14:25:43 +01:00
Kirill K. Smirnov
6e76cc7622
server: Properly notify renderer while activating another screen buffer.
2007-12-18 13:30:46 +01:00
Andrey Turkin
f1dcf4bf3a
server: I/O completion ports can only be used with overlapped I/O.
2007-12-17 11:49:32 +01:00
Marcus Meissner
edd3f264d9
server: Removed superflous async->queue NULL tests.
2007-12-08 19:54:35 +01:00
Alexandre Julliard
d65c667817
server: Fix incorrect use of size_t instead of data_size_t.
2007-12-07 18:42:48 +01:00
Alexandre Julliard
8382eb01b2
server: Return correct object types in the get_directory_entry request.
2007-12-05 18:16:42 +01:00
Alexandre Julliard
a5e38b332d
server: Partial implementation of NtQueryDirectoryObject.
2007-12-05 16:57:41 +01:00
Alexandre Julliard
d30b5742ed
server: Implemented EnumWindowStations and EnumDesktops.
2007-12-05 16:45:32 +01:00
Dmitry Timoshkov
f2213dd23f
server: Make fd_poll_event static.
2007-12-04 18:40:51 +01:00
Alexandre Julliard
942a70dc64
server: When merging mouse messages ignore the window if it isn't set.
2007-11-27 16:43:00 +01:00
Rob Shearman
ec8a27f573
server: Fix incorrect translation of the World SID to and from Unix file permissions.
...
The World SID now maps to user|group|other instead of just other.
2007-11-21 12:03:29 +01:00
Rob Shearman
6753fdc3b7
server: Fix a typo in the enumeration of the ACE's in sd_to_mode.
...
This caused only the first ACE to be examined, causing permissions to
always be set to ----???---.
2007-11-20 14:29:23 +01:00
Rob Shearman
bf2a35b78d
server: Change the get_dll_info server request to allow retrieving the image file name of a process.
...
Implement NtQueryInformationProcess(ProcessImageFileName).
2007-11-20 14:29:09 +01:00
Andrey Turkin
7a9210fa85
server: Pass Information field from async I/O APCs.
2007-11-15 14:24:50 +01:00
Andrey Turkin
27cb7c7274
ws2_32: Make certain winsock functions generate i/o completion messages.
2007-11-15 14:23:23 +01:00
Andrey Turkin
c702a91a3c
server: Allow async i/o operations to send completion messages.
2007-11-15 14:20:29 +01:00
Dmitry Timoshkov
b4227d7207
server: Make timer id allocation algorithm conform to the Windows one.
2007-11-13 21:45:09 +01:00
Rob Shearman
6d11348963
server: In set_user_object_info len is in bytes, not WCHARs.
2007-11-12 12:55:06 +01:00
Alexandre Julliard
93938ebe5e
server: Don't drop mouse messages that should go to a different thread input.
...
Instead requeue them into the proper destination queue. Reported by
Ulrich Czekalla.
2007-11-08 13:53:26 +01:00
Rob Shearman
92db6d2c2f
server: Don't do access checks on the security descriptors of newly created objects.
2007-11-06 14:52:21 +01:00
Alexandre Julliard
a54a990b3b
server: Allow to specify the class name instead of the atom to find a window.
2007-11-02 15:26:49 +01:00
Alexandre Julliard
1fc461f98b
server: Allow to specify the class name instead of the atom to create a window.
2007-11-02 15:16:25 +01:00
Alexandre Julliard
b9b940fab9
server: Support using a name to destroy a window class too.
2007-11-01 15:28:30 +01:00
Alexandre Julliard
0762d98f7c
server: Allow to send a name instead of an atom when creating a window class.
2007-11-01 13:02:01 +01:00
Rob Shearman
9980f478e2
server: Make sure to always initialise req_sd.owner_len and req_sd.group_len in the handler for the get_security_object call.
2007-11-01 12:51:12 +01:00
Alexandre Julliard
c183a9e6e7
server: Added support for HWND_TOPMOST and HWND_NOTOPMOST.
2007-10-31 18:12:56 +01:00
Alexandre Julliard
b843534357
server: Fix get_next/prev_window behavior for unlinked windows.
2007-10-31 18:08:19 +01:00
Alexandre Julliard
917f288f1b
server: Also return the new extended style in the set_window_pos request.
2007-10-31 17:51:05 +01:00
Alexandre Julliard
94c976c97a
server: Add the generated files missing from the last commit.
2007-10-30 15:32:40 +01:00
Rob Shearman
5f5df83281
server: Pass the security descriptor into create_file, if one is specified, and set the initial mode for the file appropriately.
2007-10-30 14:18:27 +01:00
Rob Shearman
f98556c119
server: Add the name length to the object_attributes structure so that other variable length data can be present after object_attributes.
2007-10-30 14:18:05 +01:00
Alexandre Julliard
8268ad551a
server: Remove failed ioctls from the queue as soon as the result is set.
2007-10-30 11:30:58 +01:00
Rob Shearman
e51f8490f2
server: Ignore ACEs with the INHERIT_ONLY_ACE flag set during access checks.
2007-10-26 12:46:30 +02:00
Rob Shearman
23df453d38
server: Make create_mapping use struct object_attributes and set the security descriptor of file mapping objects.
2007-10-26 12:45:29 +02:00
Rob Shearman
1f86321964
server: Make create_mutex use struct object_attributes and set the security descriptor of mutex objects.
2007-10-26 12:44:51 +02:00
Rob Shearman
b0e5fb4384
server: Make create_semaphore use struct object_attributes and set the security descriptor of semaphore objects.
2007-10-26 12:44:26 +02:00
Rob Shearman
dd9e392796
server: Use the security descriptor passed in when creating events.
2007-10-25 12:47:22 +02:00
Rob Shearman
8d6093e624
server: Fix file_set_sd to handle NULL DACLs.
...
These mean that the file should have full permissions for everyone.
2007-10-22 12:36:08 +02:00
Lionel Debroux
e122f81337
server: Remove redundant NULL checks before free (found by Smatch).
2007-10-22 12:36:08 +02:00
Lionel Debroux
2f89fe7b37
server: Remove redundant NULL checks before free (found by Smatch).
2007-10-22 12:36:08 +02:00
Alexandre Julliard
a771c53e27
server: Don't expose the parent window in areas that are now part of the child visible region.
2007-10-17 17:43:06 +02:00
Alexandre Julliard
952c82c271
server: Avoid refreshing areas of a window that have already been copied by the X server.
2007-10-17 17:28:04 +02:00
Rob Shearman
3f4c267028
server: Owner and group SIDs in security descriptors are optional in many server calls.
...
So print "<not present>" when they aren't provided instead of "<invalid sid>".
2007-10-16 13:19:04 +02:00
Rob Shearman
12e44bf299
server: Fix token_access_check to allow full access to security descriptors with present but NULL DACLs.
2007-10-16 13:17:22 +02:00
Alexandre Julliard
235532ce28
server: Use the file_pos_t type for file sizes and offsets in the protocol structures.
2007-10-10 14:06:25 +02:00
Karl Relton
e764e61369
wineserver: Allow already peeked messages to merge.
2007-10-10 12:37:01 +02:00
Rob Shearman
f5070b0511
server: Only call fchmod in file_set_fd if the mode actually changed.
2007-10-09 11:42:33 +02:00
Rob Shearman
f43d8b65c1
server: Remove an unnecessary check from file_set_fd.
2007-10-09 11:42:31 +02:00
Rob Shearman
cb124c9b12
server: Add primitive support for setting and getting the security descriptor of files based on their Unix permissions.
2007-10-04 12:30:52 +02:00
Rob Shearman
c1707d8938
server: Add get_sd and set_sd object operations to allow the security descriptor to be stored somewhere other than server memory, such as on disk.
2007-10-04 12:30:52 +02:00
Rob Shearman
8184bcc91a
server: Add a simple mapping from Unix uids to NT SIDs.
2007-10-04 12:30:52 +02:00
Rob Shearman
45b6706a32
server: Use ACL_REVISION in create_default_dacl instead of MAX_ACL_REVISION since we don't use any features from later ACL revisions.
2007-10-03 11:16:53 +02:00
Rob Shearman
5356bfde2c
server: Add a new get_security_object call for getting the security descriptor of an object.
...
Use it to implement NtQuerySecurityObject.
2007-10-03 11:16:45 +02:00
Rob Shearman
5af809abfd
server: Move set_security_object to handle.c and set_object_sd to object.c.
...
These both don't operate on tokens so token.c is not the right place for
them to be implemented.
2007-10-03 11:04:43 +02:00
Alexandre Julliard
24001e8ddc
server: Add a default access mapping function for files, and use it for devices too.
2007-10-02 14:20:15 +02:00
Andrey Turkin
d1a8155882
server: Allow completion object to be attached to an fd object.
2007-09-28 13:17:18 +02:00