Commit Graph

1409 Commits

Author SHA1 Message Date
Robert Shearman f40f81b6d5 ntdll: Start of pooling support for RtlQueueWorkItem.
Start of pooling support for RtlQueueWorkItem. The algorithm
implmented is very simple - if there are no free threads, create a new
one.
2006-03-21 16:19:06 +01:00
Alexandre Julliard c307f4990f ntdll: Added a DLL_WINE_PREATTACH call to DllMain for builtins.
By returning FALSE from this call, a builtin dll can specify that we
should try to load the native one instead.
2006-03-21 15:10:22 +01:00
Alexandre Julliard 2f2819466b ntdll: Detect the fake dlls created by setupapi and refuse to load them. 2006-03-21 11:31:23 +01:00
Alexandre Julliard ac60251312 ntdll: In MODULE_FlushModrefs, also free dlls that haven't been initialized yet. 2006-03-18 18:41:21 +01:00
Alexandre Julliard bf566139d7 libwine: Added support for executing wine binaries out of the build dir. 2006-03-16 17:35:32 +01:00
Robert Shearman ea6f3a4cc0 ntdll: Move the call to MODULE_DllThreadAttach from the kernel32
thread creation function to the NTDLL one.
2006-03-14 17:50:28 +01:00
Robert Shearman a18bdf13f7 ntdll: Very crude implementation of RtlQueueWorkItem. 2006-03-13 13:34:06 +01:00
Eric Pouech a6d339c656 ntdll: Implemented serial IOCTL for status: GET_COMM_STATUS. 2006-02-28 15:36:37 +01:00
Alexandre Julliard 0335a4b910 ntdll: Don't reset the load count when reusing a builtin modref. 2006-02-28 12:41:25 +01:00
Alexandre Julliard 7bd0cdafc2 ntdll: Use PROT_NONE instead of 0. 2006-02-24 11:31:24 +01:00
Alexandre Julliard 4107751dd3 ntdll: Simplify loadorder code by using an enum instead of an array
to represent load order values.
Added a special value for default load order so that we can handle it
differently later on.
2006-02-22 16:30:05 +01:00
Alexandre Julliard 477b3bf566 kernel: Moved the get_startup_info call to ntdll. 2006-02-22 09:57:19 +01:00
Alexandre Julliard e27358ea5c server: Remove no longer needed fields in the init_process_done request. 2006-02-21 20:08:19 +01:00
Alexandre Julliard 2df3ad64eb kernel: Use LoadLibrary to load the main exe in all cases. 2006-02-21 19:48:18 +01:00
Alexandre Julliard ca311b3f4c ntdll: Support loading a builtin under a different name.
Find the proper modref in that case based on the dlopen handle.
2006-02-21 19:43:22 +01:00
Alexandre Julliard fa5b5102d7 ntdll: Moved LDR_DONT_RESOLVE_REFS handling into fixup_imports.
This ensures that we never fixup imports twice on the same dll.
2006-02-21 19:32:26 +01:00
Alexandre Julliard 68ea200f32 ntdll: Support loading builtin dlls with an explicit path name also
when loadorder is set to builtin only.
2006-02-21 11:56:16 +01:00
Uwe Bonnes 19e29d6035 ntdll: Remove spaces at end of name in import_dll. 2006-02-21 11:50:23 +01:00
Mike McCormack e4faabfa64 server: Track created and removed directories in the tree of inodes for inotify.
Add them to or remove them from existing recursive watches.
2006-02-21 11:13:23 +01:00
Detlef Riekenberg 43a0f0c85a ntdll: Avoid compile error caused by a single quote. 2006-02-21 11:12:28 +01:00
Robert Shearman 3e47c82e02 ntdll: Add a define for SYS_sigaction to __NR_sigaction.
Print an error if __NR_sigaction doesn't exist as this means the wrong
syscall header is being used.
2006-02-20 20:31:51 +01:00
Alexandre Julliard dcdb0d0b34 ntdll: Remove no longer used oldcwd in start_server. 2006-02-17 11:41:57 +01:00
Alexandre Julliard 9dffd134dd libwine: Try the current load path in priority before the
WINELOADER/WINESERVER environment variables in wine_exec_wine_binary.
2006-02-16 20:26:55 +01:00
Eric Pouech c67bc2260c A couple of new valgrind instrumentations for better support. 2006-02-14 13:06:29 +01:00
Phil Krylov 368dab37ec ntdll: Fix tape.c compilation on Darwin. 2006-02-11 20:26:33 +01:00
Troy Rollo 721621b34e ntdll: Implement DVD_ReadStructure. 2006-02-11 18:40:32 +01:00
Alexandre Julliard 57550776ce ntdll: Added emulation of ATL thunks for platforms with NX support. 2006-02-10 15:13:59 +01:00
Aric Stewart d7187d79bd ntdll: gcc 2.95 compile fixes. 2006-02-10 14:54:04 +01:00
Alexandre Julliard 69089152d1 ntdll: Better handling of errors when loading a builtin dll from an
existing file.
2006-02-09 12:15:57 +01:00
Gerald Pfeifer ba9ec9e233 ntdll: Take into account that FreeBSD and others have MTSETBSIZ
instead of MTSETBLK.
2006-02-09 12:08:32 +01:00
Alexandre Julliard 9669ff8de4 ntdll: Get rid of the main_file argument in LdrInitializeThunk. 2006-02-08 15:22:24 +01:00
Alexandre Julliard 1d23e7fee2 ntdll: Check for existing modref for the main exe before creating it
in LdrInitializeThunk.
2006-02-08 15:10:56 +01:00
Francois Gouget 6fcc7b5bb0 ntdll: Fix typo in HAVE_STRUCT_MTGET_MT_GSTAT ifdef. 2006-02-07 21:18:19 +01:00
Francois Gouget f8ed165609 ntdll: Protect sys/stat.h inclusion. 2006-02-07 21:17:45 +01:00
Alexandre Julliard a458f3e538 ntdll: Support loading a builtin dll by specifying an explicit path to
the .so file.
2006-02-07 21:16:25 +01:00
Sergei Butakov 4f53d5a5b3 ntdll: Added Urals time. 2006-02-07 16:51:51 +01:00
Mike McCormack 0790f95589 kernel32: ReadDirectoryChangesW fixes.
ReadDirectoryChangesW remembers whether it's recording changes or not.
Don't initialize overlapped->InternalHigh.
The hEvent is cleared when ReadDirectoryChanges is called.
2006-02-07 16:50:36 +01:00
Robert Millan 55b74483de configure: For sys/mount.h, sys/statfs.h and sys/vfs.h, always include
them if present.
2006-02-06 21:53:27 +01:00
Gerald Pfeifer 571d9fb0f0 ntdll: Use struct mtget.mt_blkno on those systems providing that (and
avoid using struct mtpos which may not be present on such systems).
2006-02-06 20:59:44 +01:00
Eric Pouech e66e227dbe Fixes for missing prototypes warnings. 2006-02-06 13:13:28 +01:00
Mike McCormack bad5f92f54 ntdll: Add some more tests for NtNotifyChangeDirectoryFile. 2006-02-06 11:59:01 +01:00
Mike McCormack 0193211946 server: Fill in NtNotifyChangeDirectoryFile's buffer with change data. 2006-02-06 11:58:55 +01:00
Eric Pouech 3c2abaf45e ntdll: Implemented IOCTL for char transmission: IMMEDIATE_CHAR. 2006-02-06 11:38:53 +01:00
Eric Pouech 5973955e4e ntdll: Implemented COMM IOCTL for modem status: GET_MODEMSTATUS. 2006-02-06 11:37:39 +01:00
Eric Pouech 58e719ce93 ntdll: Implemented IOCTL for serial: SET_WAIT_MASK, GET_WAIT_MASK. 2006-02-06 11:37:06 +01:00
Eric Pouech b83c5ead16 ntdll: Implemented IOCTL purge for serial objects. 2006-02-06 11:36:19 +01:00
Eric Pouech dccd41a88a kernel: Fixed regression in atom handling.
Added proper tests (local & global functions).
2006-02-06 11:26:57 +01:00
Gerald Pfeifer 36bdc64e39 ntdll: Use struct mtget.mt_blksiz on systems featuring this.
Work around using struct mtget.mt_gstat on systems lacking this.
2006-02-05 13:51:03 +01:00
Robert Millan 8800352477 Enable for GNU/kFreeBSD the same kernel-specific interface/parameter
that is used with FreeBSD.
2006-02-05 13:06:50 +01:00
Alexandre Julliard 2bddb3047b ntdll: Added a few helper function to simplify the loadorder code.
Keep the application key open, it's valid for the lifetime of the
process.
2006-02-04 17:06:41 +01:00