Commit Graph

1232 Commits (401f4b717a1ae46313f7d033952efd2395099941)

Author SHA1 Message Date
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
Michael Stefaniuc 238043784a server: Include stdarg.h in completion.c. Needed for older gcc versions. 2007-09-27 11:58:44 +02:00
Andrey Turkin 477582401b server: Implement server-side completion queues and operations on them. 2007-09-26 13:56:43 +02:00
Alexandre Julliard 5874b854ee server: Clip the visible region of a window to the desktop window. 2007-09-20 19:38:50 +02:00
Rob Shearman 3f431a0646 server: Add get_token_statistics server call and use it to implement the TokenStatistics and TokenType levels for NtQueryInformationToken. 2007-09-14 14:43:46 +02:00
Dmitry Timoshkov c75edd04c2 server: Map ETXTBSY to STATUS_SHARING_VIOLATION. 2007-09-11 11:49:43 +02:00
Dmitry Timoshkov 69025bafe7 server: Print a more informative message when file_set_error or sock_get_error can't map errno to a status code. 2007-09-10 15:29:46 +02:00
Francois Gouget b6aa247093 server: Fix the crashed process exit code when the debugger exits without detaching. Add a conformance test. 2007-08-31 12:08:58 +02:00
Alexandre Julliard 9c18d92f36 server: Detaching from a process needs to continue all the pending events. 2007-08-30 19:47:43 +02:00
Trent Waddington fc635fa827 server: Handle existing timer replacement when no window handle specified. 2007-08-30 19:08:16 +02:00
Alexandre Julliard 2896540a34 server: Set the queue mask directly in get_message to avoid an extra server call. 2007-08-29 18:13:13 +02:00