Commit Graph

1555 Commits

Author SHA1 Message Date
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