Commit graph

1070 commits

Author SHA1 Message Date
Vitaliy Margolen
dcdf7c55d6 server: Treat desktop as a top-level window. 2007-07-23 11:53:06 +02:00
Alexandre Julliard
fec5117e91 server: Merge APC processing into the select request.
This is needed to return the correct value when one of the handles
being waited on is set to signaled state by the APC.
2007-07-16 16:14:45 +02:00
Alexandre Julliard
6d1605a6a4 server: Make crash error message more explicit. 2007-06-25 14:13:21 +02:00
Alexandre Julliard
1f11333c7b makefiles: Build programs that link against libwine twice with appropriate rpaths.
One rpath is for installing and one is for running inside the build tree.
2007-06-20 20:03:30 +02:00
Alexandre Julliard
60901b7542 server: Don't crash when trying to set a file lock on a device. 2007-06-20 13:14:55 +02:00
Alexandre Julliard
8143d42c4c server: Enable kqueue support on Mac OS >= 10.5 now that it's fixed. 2007-06-15 12:41:43 +02:00
Alexandre Julliard
156b205eb5 server: Add support for system processes, that can be signaled to exit when all non-system processes are done. 2007-06-06 20:33:13 +02:00
Alexandre Julliard
4c5b55a0f8 server: Run async I/O APCs from the SIGUSR1 handler. 2007-06-04 18:16:48 +02:00
Alexandre Julliard
8992f89f27 server: Remove the extra apc_arg parameter now that user APCs all require the same arg as the kernel APC. 2007-06-04 15:20:49 +02:00
Rob Shearman
ec86243521 server: When starting a new process, use the token from the calling process, if one exists. 2007-05-30 11:48:25 +02:00
Rob Shearman
bdf964dce8 server: Move most of the duplicate_token request to a new function, token_duplicate, to enable the code to be used inside wineserver. 2007-05-30 11:46:32 +02:00
Alexandre Julliard
1b15d45dd7 server: Don't allow a waitable timer to be set to expire in the past. 2007-05-22 11:59:45 +02:00
Rob Shearman
fa074bc544 server: Add the logon SID to the default admin token's groups. 2007-05-18 14:11:44 +02:00
Alexandre Julliard
627ca4079e server: Stop exporting the console_input structure. Get rid of console.h. 2007-05-11 12:46:32 +02:00
Kirill K. Smirnov
9d74661856 server: Move console codepages to the server. 2007-05-11 12:41:29 +02:00
Kirill K. Smirnov
545d7f130c server: Fix access check in screen buffer handling. 2007-05-10 14:23:37 +02:00
Marcus Meissner
fea59c87ad server: set_server_state needs to be called with non-NULL server.
Spotted by Coverity.
2007-05-09 12:06:37 +02:00
Alexandre Julliard
aafcfe7663 server: Add support for retrieving results of queued ioctls once they are done. 2007-05-08 20:45:44 +02:00
Alexandre Julliard
78b75108cd server: Add request to retrieve the next pending ioctl call for a device manager. 2007-05-08 20:40:26 +02:00
Alexandre Julliard
61e08b346b server: Add support for queuing ioctl calls to a device. 2007-05-08 20:37:21 +02:00
Alexandre Julliard
b43dc15c8a server: Add support for generic device objects managed from the client side. 2007-05-08 20:28:37 +02:00
Alexandre Julliard
46fe7177c1 server: Allocate the wait event for FSCTL_PIPE_WAIT on the server side. 2007-05-03 17:44:32 +02:00
Alexandre Julliard
63a2372526 server: Allocate the wait event for FSCTL_PIPE_LISTEN on the server side. 2007-05-03 17:44:05 +02:00
Alexandre Julliard
fd59e158a7 server: Infrastructure to return a wait handle for blocking ioctls. 2007-05-03 17:43:18 +02:00
Alexandre Julliard
017480d4e2 server: Store valid file options in pseudo file descriptors. 2007-05-03 16:07:30 +02:00
Alexandre Julliard
48c5321586 server: Give system APCs priority over signaled objects. 2007-05-01 14:07:24 +02:00
Alexandre Julliard
133b8bc3ed server: Return a more correct fd type for anonymous files. 2007-04-23 15:13:22 +02:00
Gerald Pfeifer
d529c63ced server: Silence compiler warning in fd_queue_async(). 2007-04-23 13:54:31 +02:00
Alexandre Julliard
bf5b6c9b34 server: Don't give out read/write access to the named pipe device. 2007-04-18 16:32:31 +02:00
Alexandre Julliard
c18e8d6a69 server: Use the standard file descriptor wait queue for named pipe server async waits. 2007-04-18 16:28:01 +02:00
Alexandre Julliard
6105a93be6 server: Moved the FSCTL_PIPE_LISTEN implementation to the server. 2007-04-18 16:26:37 +02:00
Alexandre Julliard
f3fbae4546 server: Allow specifying the status code to return on file descriptors that don't have a Unix fd. 2007-04-18 16:05:59 +02:00
Alexandre Julliard
3684dc181c server: Move the FSCTL_PIPE_WAIT ioctl implementation to the server. 2007-04-17 22:07:07 +02:00
Alexandre Julliard
737148c57b server: Add a specific data type for ioctl codes so they can be printed as symbols. 2007-04-17 22:06:13 +02:00
Alexandre Julliard
aaf477f292 server: Change the timeout handling to use NT-style 64-bit timeouts everywhere. 2007-04-17 20:08:59 +02:00
Alexandre Julliard
2669af73df server: Move the server part of device unmounting to the ioctl processing. 2007-04-16 14:54:52 +02:00
Alexandre Julliard
8c46095484 server: Implement the FSCTL_PIPE_DISCONNECT ioctl on the server side. 2007-04-16 14:51:29 +02:00
Alexandre Julliard
635714397f server: Add infrastructure for ioctl server request. 2007-04-16 14:45:03 +02:00
Alexandre Julliard
3f0575943e server: Don't bother with default entry points for objects that don't even return an fd. 2007-04-12 20:21:53 +02:00
Alexandre Julliard
72ff2bf363 server: Create a separate fd object for each mailslot writer. Make them first-class file handles. 2007-04-12 20:19:28 +02:00
Alexandre Julliard
d85121f199 ntdll: Store the file access and options in the fd cache, and get rid of the dynamic flags.
This avoids server round-trips for all file I/O.
2007-04-10 22:32:46 +02:00
Alexandre Julliard
7a9363a4d4 server: Rename the get_file_info function to get_fd_type and get rid of the flags. 2007-04-10 22:26:23 +02:00
Alexandre Julliard
f85437c57f server: Store the opening options in the file descriptor instead of in the individual objects.
Allows moving the FD_FLAG_OVERLAPPED support to the generic
get_handle_fd request handling.
2007-04-10 22:25:07 +02:00
Alexandre Julliard
bc426ab059 server: Explicitly shutdown closed pipes to prevent access from file descriptors cached in the client. 2007-04-10 21:30:37 +02:00
Alexandre Julliard
72bff2e445 server: Add support for restarting an async I/O when the client side couldn't finish it right away. 2007-04-10 17:07:27 +02:00
Alexandre Julliard
a867553146 server: Use the standard file descriptor signal mechanism for directory changes. 2007-04-04 19:54:33 +02:00
Alexandre Julliard
ba896e75d7 server: Fix the handling of the signaled status for file descriptors.
File handles are signaled when an I/O operation completes, and reset
when another operation is queued.
2007-04-04 19:39:29 +02:00
Alexandre Julliard
0cb29f47ca server: Add support for associating a file descriptor to a message queue. 2007-04-04 18:02:01 +02:00
Alexandre Julliard
3d39c620da make_requests: More aggressive grepping for status values. 2007-04-04 18:01:22 +02:00
Alexandre Julliard
b2cba95abd server: Hold a pointer to the queue from the async operations. 2007-04-03 19:36:07 +02:00