Commit Graph

903 Commits

Author SHA1 Message Date
Robert Shearman
4d7b23069b server: Translate errnos ENFILE and EMFILE to STATUS_TOO_MANY_OPENED_FILES,
which seems to be more appropriate and matches the errno translation
in ntdll.
2006-09-07 10:17:18 +02:00
Alexandre Julliard
13a93b4a94 configure: Set rpath on all executables that link to libwine.
Also add the -multiply_defined suppress option for executables on MacOS.
2006-08-25 17:23:44 +02:00
Mike McCormack
261691fa2f server: Use ntdll values where possible. 2006-08-23 12:01:10 +02:00
Alexandre Julliard
498b781e23 server: Store the actual process count in snapshots.
We can't rely on running_processes for that, since it now also counts
processes waiting for SIGKILL and those aren't included in snapshots.
2006-08-15 20:31:54 +02:00
Alexandre Julliard
1089260f29 configure: Only link against libpoll where really necessary. 2006-08-15 11:41:59 +02:00
Alexandre Julliard
3a4c04dce4 server: Make sure to completely kill processes before returning from a wineserver -k. 2006-08-14 20:40:31 +02:00
Alexandre Julliard
68e850e602 server: Send a SIGKILL to processes that don't terminate properly. 2006-08-14 20:19:42 +02:00
Alexandre Julliard
753c8706f5 server: Only call gettimeofday once per poll loop. 2006-08-10 16:42:09 +02:00
Alexandre Julliard
672bfc2d62 server: Make the message extra info 64 bits on Win64. 2006-08-09 17:10:14 +02:00
Alexandre Julliard
d3b3096756 server: Split the queuing of hardware messages into a separate send_hardware_message request. 2006-08-09 16:45:26 +02:00
Alexandre Julliard
2886e9b0e8 makefiles: Use make dependencies to create installation directories.
This avoids a lot of redundant calls to mkinstalldirs.
2006-08-07 17:48:18 +02:00
Alexandre Julliard
c82789264b server: Added support for kqueue() as an alternative to poll() on FreeBSD. 2006-08-04 22:11:00 +02:00
Alexandre Julliard
2f4072740e server: Abstract the epoll functions a bit more. 2006-08-03 19:56:55 +02:00
Thomas Kho
3538c0cdce server: Remove unused thread_apc member. 2006-08-03 18:20:20 +02:00
Alexandre Julliard
2c2299685f user: Implementation of Get/SetWindowLongPtr for 64-bit platforms.
Also use the same code for Get/SetWindowWord.
Based on a patch by Ge van Geldorp.
2006-08-02 21:59:00 +02:00
Alexandre Julliard
4d1d49b78a server: Round up the timeout for poll() to avoid redundant calls. 2006-07-27 14:39:50 +02:00
Alexandre Julliard
5522446848 server: Don't crash on invalid request sizes. 2006-07-27 14:39:33 +02:00
Alexandre Julliard
c627601c3b server: Convert the server start time to the abs_time_t type. 2006-07-26 14:50:55 +02:00
Alexandre Julliard
3095a48d6f server: Convert thread creation/exit times to the abs_time_t type. 2006-07-26 14:49:55 +02:00
Alexandre Julliard
ce40ef18df server: Rename the wait_input_idle request to better reflect what it does.
Also get rid of the unused timeout field.
2006-07-26 11:48:25 +02:00
Alexandre Julliard
40723f795b server: Make the create_async function take an absolute timeout. 2006-07-26 11:47:42 +02:00
Michael Stefaniuc
a624977f21 server: Fix some comparisons between signed and unsigned. 2006-07-26 11:11:04 +02:00
Alexandre Julliard
0f273c17ff server: Added data_size_t type to represent sizes in the server protocol.
Make it an unsigned int to save some space on Win64, if we need to
transfer more than 4Gb over the server pipe something is seriously
wrong.
2006-07-26 11:11:03 +02:00
Alexandre Julliard
7b767fb71c server: Try harder to find a suitable thread for read/write_process_memory. 2006-07-25 11:41:47 +02:00
Thomas Kho
4ff4ba394e server: Add new threads to end of thread_list. 2006-07-25 11:41:15 +02:00
Stefan Siebert
026dd2d88a ntdll: Implementation of process CreationTime and ExitTime. 2006-07-21 13:27:16 +02:00
Alexandre Julliard
c316f0e47f server: Simplify process creation.
Pass the socket for the new process from the parent through the
environment.
Perform initialisations during the new_process request.
2006-07-19 14:00:10 +02:00
Ge van Geldorp
54afeb02de user32: Implement Get/SetClassLongPtrA/W. 2006-07-12 20:04:18 +02:00
Alexandre Julliard
eb8a40c368 libs: Merged libwine_unicode into libwine.
Most dlls use libwine_unicode at this point, so there's nothing to
gain by having two separate libraries.
2006-07-11 19:33:22 +02:00
Ge van Geldorp
a6df16396a server: Widen lparam for timers. 2006-07-11 12:39:44 +02:00
Alexandre Julliard
c242c3b3f3 server: Fixed get_thread_context for x86_64. 2006-07-11 12:06:38 +02:00
Alexandre Julliard
cc2b3b48e6 Take advantage of the recursive nature of .gitignore for Makefile entries.
Prefix other entries with '/' to make them non-recursive.
2006-07-10 20:47:54 +02:00
Alexandre Julliard
dd77d1a997 server: Only accept 0 as registry handle in functions that take a parent key. 2006-07-10 11:53:23 +02:00
Dmitry Timoshkov
19e7fab981 user: Improve SetActiveWindow test, add SetForegroundWindow test, make them pass under Wine. 2006-07-10 11:47:44 +02:00
Pierre d'Herbemont
2c38a7d543 server: Fix context_powerpc.c compilation. 2006-07-07 16:57:11 +02:00
Ge van Geldorp
5d88b27d0d server: The "select" call passes handles, not ints. 2006-07-03 11:37:14 +02:00
Alexandre Julliard
498742ff6c server: Moved get/set_thread_context implementation to ptrace.c. 2006-06-27 21:27:47 +02:00
Alexandre Julliard
86d4688171 server: Moved some common bits of get/set_thread_context to thread.c. 2006-06-23 13:16:14 +02:00
Francois Gouget
11ae0f6386 Assorted spelling fixes. 2006-06-16 11:32:29 +02:00
Alexandre Julliard
0fa7170dc3 server: Fixed a compiler warning on MacOSX. 2006-06-15 14:14:31 +02:00
Mike McCormack
1ec3e9fe7d server: Fix a win64 warning. 2006-06-15 11:39:29 +02:00
Mike McCormack
e65349d4eb server: Cast user handles to unsigned long for win64 compatibility. 2006-06-15 11:39:29 +02:00
Mike McCormack
e1c16ff356 server: Cast handles to unsigned long for win64 compatibility. 2006-06-15 11:39:29 +02:00
Mike McCormack
0a8b344f7b server: Fix a possible memory leak. 2006-06-08 10:40:03 +02:00
Mike McCormack
db9b557b54 server: Make wparam and lparam values unsigned long for win64 compatability. 2006-06-08 10:39:58 +02:00
Robert Shearman
38e74b3111 server: Don't attach the thread input when changing parents if the new
parent is the desktop (i.e. it is becoming a top-level window).
2006-06-08 10:26:15 +02:00
Robert Shearman
43890d88f7 server: Don't set the client's server field before the server has
changed into a connected state, otherwise we could assert in
pipe_client_destroy.
2006-06-08 10:26:10 +02:00
Alexandre Julliard
5558652ea3 server: Don't report a fatal protocol error for things that we can recover from. 2006-06-08 10:26:02 +02:00
Mike McCormack
fac494c822 server: open_console's from field should be a handle. 2006-06-07 14:30:28 +02:00
Mike McCormack
f386950fdd server: Use unsigned long for request types that are 64bit in win64. 2006-06-07 14:21:12 +02:00