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
Robert Shearman
4a95b6ae0a
ntdll: Fix a return code from RtlVerifyVersionInfo and change the FIXME to a TRACE now that all of the tests pass.
2006-07-17 14:48:05 +02:00
Robert Shearman
a3ca06be2f
ntdll: Fix RtlVerifyVersionInfo handling of major, minor and service pack versions, which are tested in a hierarchical manner.
...
Add some new tests for the different condition values.
2006-07-17 14:46:26 +02:00
Robert Shearman
31d9341e8e
ntdll: Use a common condition value for the major, minor and service pack version numbers.
2006-07-17 14:46:26 +02:00
Robert Shearman
644e079d57
ntdll: Reduce duplicated code in RtlVerifyVersionInfo by calling a function for comparing the values.
2006-07-17 14:46:26 +02:00
Alexandre Julliard
c79cf02fae
ntdll: Make sure to not unmap anything from reserved areas
...
when using NtFreeVirtualMemory with the MEM_SYSTEM flag.
2006-07-13 20:47:07 +02:00
Alexandre Julliard
bb63a325d7
ntdll: Use the map_view() function to allocate TEBs, now that it supports an arbitrary granularity.
2006-07-13 20:38:31 +02:00
Alexandre Julliard
8f47bd0306
ntdll: Support for arbitrary memory allocation granularity.
2006-07-13 20:36:41 +02:00
Alexandre Julliard
50fca716fd
ntdll: Moved the calling of the process entry point to LdrInitializeThunk.
2006-07-13 14:58:04 +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
Alexandre Julliard
0fa8baafcb
make_dlls: Recursively ignore .ok files in all tests directories.
2006-07-10 21:26:50 +02:00
Alexandre Julliard
edd100b899
make_dlls: Recursively ignore testlist.c in all tests directories.
2006-07-10 21:19:42 +02:00
Alexandre Julliard
5258e061dc
make_dlls: Ignore generated import libraries from the top-level .gitignore.
2006-07-10 20:55:58 +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
Paul Vriens
b872d83115
ntdll/tests: Added some NULL testing.
2006-07-10 11:53:31 +02:00
Paul Vriens
2e3e74ebd0
ntdll: Fix possible TRACE crash.
2006-07-05 12:10:09 +02:00
Paul Vriens
8a42a8c11a
ntdll: Fix return codes for NtCreateKey (with tests).
2006-06-30 20:43:41 +02:00
Alexandre Julliard
27c6c83e1e
ntdll: Faster critical sections on MacOS using Mach semaphores.
2006-06-27 20:14:13 +02:00
Vitaliy Margolen
27e3b82d49
ntdll: Fix 2 failing test on native. Change Wine accordingly.
2006-06-27 11:50:08 +02:00
Vijay Kiran Kamuju
ee87f039e1
ntdll: Add UZT timezone info.
2006-06-26 13:06:26 +02:00
Alexandre Julliard
e040e6c4f8
libwine: Added entry for sigprocmask in the pthread functions table.
2006-06-23 12:27:45 +02:00
Andrew Talbot
8e73e411a6
ntdll: Write-strings warnings fix.
2006-06-21 13:53:43 +02:00
Dmitry Timoshkov
0042ad4fc7
ntdll: Compile VIRTUAL_Dump only when somebody really needs it.
2006-06-20 20:39:17 +02:00
Alexandre Julliard
74b750d81b
ntdll: Fixed tape.c compilation on Solaris.
2006-06-20 20:20:45 +02:00
Jeremy White
d9de5217ae
ntdll: On Solaris, limits.h is required for PATH_MAX.
2006-06-19 22:36:30 +02:00
Robert Shearman
e4b51580e1
ntdll: If ObjectAttributes is NULL then an error is returned at the
...
start of the NtOpenSymbolicLinkObject, therefore ObjectAttributes does
not need to be checked for NULL later on in the function.
2006-06-19 10:29:11 +02:00
Francois Gouget
f248440dd4
ntdll: Use page_size instead of page_mask+1.
2006-06-16 11:31:51 +02:00
Robert Shearman
850ae994c6
ntdll: Change the test for no relocation information to use the
...
IMAGE_FILE_RELOCS_STRIPPED flag instead of a zero sized relocations
section.
This fixes loading of resource-only DLLs that have a load-address of
0x400000.
2006-06-14 13:37:25 +02:00
Alexandre Julliard
2208694ab2
ntdll: Cast termios.c_cflag to avoid a printf format warning.
2006-06-13 14:16:57 +02:00
Alexandre Julliard
cba2c84741
ntdll/tests: Don't use sizeof in ok() to avoid printf format warnings.
2006-06-13 14:03:19 +02:00
Alexandre Julliard
8e5eaaad1b
ntdll/tests: Use lstrlenA instead of strlen in ok() to avoid printf format warnings.
2006-06-13 13:57:40 +02:00
Michael Stefaniuc
fee72b607a
Yet another round of redundant NULL checks before HeapFree.
2006-06-13 11:40:23 +02:00
Alexandre Julliard
57939d8fa4
ntdll: Explicitly specify CDECL calling convention on exported functions.
2006-06-12 21:35:07 +02:00
Alexandre Julliard
72e2dea1f1
ntdll: Added spec entry for NtQueryMultipleValueKey.
2006-06-12 16:10:28 +02:00
Pierre d'Herbemont
6d0e51fb66
ntdll: Fix NtQueryInformationThread on non x86.
2006-06-09 21:08:14 +02:00
Eric Pouech
201f469512
ntdll: Free TLS pointers when exiting thread.
2006-05-27 13:00:33 +02:00
Eric Pouech
2d3504c309
ntdll/kernel32: Moved GetThreadSelectorEntry to ntdll.
...
- implemented NtQueryInformationThread's ThreadDescriptorTableEntry
information class
- used it to implement the kernel32's equivalent (GetThreadSelectorEntry)
2006-05-27 13:00:19 +02:00
Eric Pouech
1d6e2590e0
ntdll/kernel32: Pipe information.
...
- implemented ntdll.NtQueryInformationFile's FilePipeLocalInformation control code
- reimplemented kernel32.GetNamedPipeInfo on top of it
- enhance current features to make this work both on client and server handles
- now also returning the number of instances
2006-05-27 12:31:01 +02:00
Alexandre Julliard
9769806c3a
ntdll: Implemented RtlPcToFileHeader.
2006-05-27 10:55:48 +02:00
Francois Gouget
5d51d4c87b
ntdll: Return FILE_DEVICE_CD_ROM_FILE_SYSTEM for supermount filesystems.
2006-05-25 11:01:18 +02:00
Alexandre Julliard
23f9e358ad
Tests should not use wine/unicode.h.
2006-05-24 18:05:09 +02:00
Alexandre Julliard
f01d9879c6
libwine_unicode: Renamed is_dbcs_leadbyte to wine_is_dbcs_leadbyte.
2006-05-24 14:14:09 +02:00
Jonathan Ernst
360a3f9142
Update the address of the Free Software Foundation.
2006-05-23 14:11:13 +02:00
Paul Vriens
c2a2687dd8
ntdll/tests: Don't fail if a process is not available.
2006-05-17 10:42:04 +02:00
Francois Gouget
17689c07bb
Fix some winapi_check documentation warnings.
2006-05-15 15:05:15 +02:00
Robert Shearman
3396a66ee7
server: Retrieve the groups for a token from the server.
2006-05-15 14:25:43 +02:00
Stefan Leichter
5996ef7f8e
ntdll: Fix endless loop in port test for users without admin rights.
2006-05-15 11:47:32 +02:00
Eric Pouech
0ddd1c9e18
ntdll: Fix serial timeout regression.
2006-05-15 11:03:43 +02:00
Bernd Buschinski
da6031fbab
ntdll: Stub implementation of FSCTL_LOCK_VOLUME/FSCTL_UNLOCK_VOLUME.
2006-05-10 19:37:30 +02:00
James Hawkins
86a32784e2
ntdll: Add initial tests for the NT Ports API.
2006-05-10 19:37:10 +02:00
James Hawkins
31f29ffcc8
ntdll: Return STATUS_NOT_IMPLEMENTED for the unimplemented port functions.
2006-05-10 11:20:09 +02:00
Eric Pouech
5f9e9836cf
ntdll/kernel32: EscapeCommFunction & associated IOCTLs
...
- implemented ntdll's serial IOCTL: CLR_DTR, CLR_RTS, SET_DTR,
SET_RTS, SET_XOFF, SET_XON, RESET_DEVICE
- implemented kernel32.EscapeCommFunction on top of them
2006-05-09 21:08:14 +02:00
Eric Pouech
fcdc293bb0
ntdll/kernel32: SetupComm & SET_QUEUE_SIZE
...
- stubbed out ntdll's serial IOCTL SET_QUEUE_SIZE
- implemented kernel32.SetupComm on top of it
2006-05-09 21:07:35 +02:00
Eric Pouech
b53e016925
ntdll/kernel32: [SG]etCommTimeout, SERIAL_[GS]ET_TIMEOUT
...
- implemented ntdll's COMM IOCTL GET_TIMEOUTS, SET_TIMEOUTS
- implemented kernel32.GetCommTimeout and SetCommTimeout on top of them
2006-05-09 21:07:18 +02:00
Eric Pouech
28cd4fae3b
ntdll/kernel32: GetCommState & IOCTL_GET_CHARS
...
- implemented SERIAL_GET_CHARS ioctl
- made use of it in kernel32.GetCommState
2006-05-09 21:06:24 +02:00
Eric Pouech
48646ea82b
ntdll/kernel32: GetCommState & IOCTL_SERIAL_GET_HANDFLOW
...
- implemented SERIAL_GET_HANDFLOW ioctl
- made use of it in kernel.GetCommState
2006-05-09 21:06:02 +02:00
Eric Pouech
efb3244b0a
ntdll/kernel32: GetCommState & SERIAL_GET_LINE_CONTROL
...
- implemented SERIAL_GET_LINE_CONTROL ioctl
- made use of it in kernel.GetCommState
2006-05-09 21:05:46 +02:00
Eric Pouech
c7016d9325
ntdll/kernel32: GetCommState & IOCTL_GET_BAUD_RATE
...
- implemented SERIAL_GET_BAUD_RATE ioctl
- made use of it in kernel.GetCommState
2006-05-09 21:05:30 +02:00
Eric Pouech
a05a3435fd
ntdll/kernel32: SetCommState & IOCTL_SET_CHARS
...
- implemented ntdll's serial IOCTL SET_CHARS
- used this IOCTL in kernel32.SetCommState
2006-05-09 21:05:09 +02:00
Eric Pouech
b68203ea90
ntdll/kernel32: SetCommState & IOCTL_SET_HANDFLOW
...
- implemented ntdll's serial IOCTL SET_HANDFLOW
- used this IOCTL in kernel32.SetCommState
2006-05-09 21:04:38 +02:00
Eric Pouech
65f137c56c
ntdll/kernel32: SetCommState & IOCTL_SET_LINE_CONTROL
...
- implemented ntdll's serial IOCTL SET_LINE_CONTROL
- used this IOCTL in kernel32.SetCommState
2006-05-09 21:04:22 +02:00
Eric Pouech
631ec30f78
ntdll/kernel32: SetCommState & IOCTL_SET_BAUD_RATE
...
- created dump_dcb to print out DCB information
- implemented ntdll's serial IOCTL SET_BAUD_RATE
- used this IOCTL in kernel32.SetCommState
2006-05-09 21:03:27 +02:00
Marcus Meissner
08c2555dd8
ntdll: Make the section with AddressOfEntryPoint in it executable.
2006-05-09 12:47:25 +02:00
Mike Hearn
0154704f9f
ntdll: Fix heap corruption in RtlDeleteAce.
2006-05-08 13:37:20 +02:00
Robert Shearman
e52e4978b2
ntdll: Fix size check for NtQueryInformationToken(TokenGroups).
...
For NtQueryInformationToken(TokenGroups), don't do a size check before
the server call, as we don't know how many SIDs there are to return
and hence the needed buffer size.
2006-05-05 21:47:27 +02:00
Michael Stefaniuc
7a8818e717
Don't check pointers for NULL before RtlFreeHeap. It is redundant.
2006-05-05 20:59:50 +02:00
Jacek Caban
2333c80500
ntdll: Added NtGetTickCount implementation.
2006-04-20 20:12:48 +02:00
Alexandre Julliard
2bfe47e852
ntdll: Use NtSetContextThread in NtRaiseException.
2006-04-20 15:40:42 +02:00
Alexandre Julliard
d2ad6f8355
ntdll: Get registers on the client side for NtGetContextThread on the current thread.
2006-04-20 15:40:28 +02:00
Mike McCormack
9aa468d884
ntdll: Stub implementations of NtCreateIoCompletion, NtSetIoCompletion, and NtRemoveIoCompletion.
...
Based on a patch by Rob Shearman.
2006-04-19 12:00:02 +02:00
Alexandre Julliard
d340bd003a
ntdll: Add wrappers for the remaining math functions.
2006-04-18 20:31:41 +02:00
Alexandre Julliard
473fbcb781
ntdll: Add wrappers for the string functions.
2006-04-18 20:30:43 +02:00
Juan Lang
fced68672f
ntdll: Initialize a variable.
...
Fix an uninitialized pointer in RtlCreateUserThread, caught by
coverity.
2006-04-11 11:23:49 +02:00
Hans Leidekker
ec6a5175b4
ntdll: The closing brace of a guid string is at index 37.
2006-04-10 12:22:16 +02:00
Troy Rollo
90df5a967f
ntdll: Fix DVD_ReadStructure's layout of layer information.
...
Fix DVD_ReadStructure to reflect what Windows actually does, not what
Microsoft (incorrectly) documents it to do and not what the DDK
headers (incorrectly) suggest it does.
2006-04-08 15:49:42 +02:00
Detlef Riekenberg
44aab2e23f
ntdll: Added ARM architecture.
2006-04-08 15:49:24 +02:00
Alexandre Julliard
959bbf8b75
server: Get rid of alignment requirements in write_process_memory request.
...
All the alignment handling is now done in the write_process_memory
function inside the server.
2006-04-07 18:41:58 +02:00
James Hawkins
14faf12845
ntdll: Return error if the signal index equals the size of the array.
2006-04-07 11:46:12 +02:00
Alexandre Julliard
00bb4536b0
ntdll: Print traces for EXC_CallHandler even with the assembly version.
2006-04-06 21:32:17 +02:00
Alexandre Julliard
a1f0f39174
ntdll: Save FPU context for all exceptions.
2006-04-03 21:39:33 +02:00
Alexandre Julliard
f5d3adaf59
ntdll: Process --help and --version args earlier on during startup.
2006-04-03 12:07:20 +02:00
Alexandre Julliard
e17df7ae7f
ntdll: Get rid of the loadorder wildcard support, builtin is always the default now.
2006-03-31 17:39:21 +02:00
Petr Tesarik
4c777d7466
ntdll: Fix CDROM raw reads.
...
- Fix incorrect data sizes.
- Fix CDDA addressing.
- Implement XAForm2 mode on Linux.
2006-03-29 14:00:58 +02:00
Alexandre Julliard
18d7980fd8
ntdll: Limit header_size to the file size.
2006-03-27 21:29:46 +02:00
Petr Tesarik
e748a77e1a
ntdll: Fix debug exceptions from VM86.
...
- Set ContextFlags accordingly in save_vm86_context().
- Raise debug exceptions correctly for debug exceptions.
- Do not clear TF bit for VM86-generated debug exceptions.
2006-03-27 11:30:50 +02:00
Mike McCormack
23b74754fe
ntdll: Recursive notify is implemented.
2006-03-24 12:14:19 +01:00
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
Robert Millan
62af0706ff
ntdll: Rename i386 CPU trap codes to avoid collision with system headers.
2006-02-03 12:30:55 +01:00
Johan Dahlin
e21aff0766
ntdll: RtlIpv4AddressToStringExW/RtlIpv4StringToAddressExW stubs.
2006-02-02 13:21:26 +01:00
Gerald Pfeifer
c0ca7172a2
ntdll: tape.c portability fixes.
...
Accept MTCOMP as an alias for MTCOMPRESSION on those systems, having
the former, but not the latter.
Only enable operations supported by the host OS in
TAPE_CreatePartition() and TAPE_Prepare().
2006-01-31 13:02:10 +01:00
Michael Stefaniuc
b94ceeeb7c
kernel: Remove bogus breaks in tape.c
2006-01-30 14:55:47 +01:00
Eric Pouech
e0cffe355f
Fix a couple of bugs spotted by valgrind.
2006-01-27 16:18:05 +01:00
Eric Pouech
2e0b5336f6
Suppress some false-positives reported by valgrind.
2006-01-27 16:17:51 +01:00
Alexandre Julliard
8b0feb253b
server: Make the FILE_SHARE_DELETE sharing checks depend on DELETE
...
access instead of on the FILE_DELETE_ON_CLOSE flag (based on a patch
by Mike McCormack).
2006-01-27 15:50:38 +01:00
Mike McCormack
08351071fd
server: Fix the file notification interface to use directory handles.
2006-01-27 12:13:56 +01:00
Hans Leidekker
0844b702b4
ntdll: Add implementation of tape IOCTLs.
2006-01-26 13:23:08 +01:00
Dmitry Timoshkov
57a579ffcd
Make more arrays const.
2006-01-24 14:00:32 +01:00
Alexandre Julliard
2a192064e8
ntdll: memcpy should behave like memmove in ntdll too.
2006-01-24 12:28:34 +01:00
Alexandre Julliard
a1544e0d20
ntdll: Mark all libc-style functions as private to make sure we link
...
to the real libc functions instead.
2006-01-24 12:24:35 +01:00
Mike McCormack
2735fc58b9
ntdll: Forward ZwNotifyChangeDirectoryFile to NtNotifyChangeDirectoryFile.
2006-01-23 16:39:49 +01:00
H. Verbeet
c1f52e0013
ntdll: Add a stubbed NtSetSystemInformation.
2006-01-20 19:41:04 +01:00
Alexandre Julliard
4ce433d826
ntdll: Move the %gs register to the ntdll_thread_regs structure.
2006-01-20 16:54:11 +01:00
Alexandre Julliard
a19e3eeb20
ntdll: Move the TEB register to the ntdll_thread_regs structure.
2006-01-20 16:18:06 +01:00
Alexandre Julliard
4202824e9e
ntdll: Cleaned up the ioctl functions.
...
Renamed function parameters to something usable.
Fixed potential event leaks.
2006-01-18 17:18:22 +01:00
Robert Shearman
2d08465b81
ntdll: Loader optimization.
...
Optimize for the case where a DLL with no path is requested and it is
already loaded.
2006-01-18 14:22:19 +01:00
Mike McCormack
2e32a425db
ntdll: Add a test for NtNotifyChangeDirectoryFile.
2006-01-17 13:13:29 +01:00
Mike McCormack
9c58884161
ntdll: Use FILE_OPEN instead of OPEN_EXISTING when calling NtCreateFile.
2006-01-17 13:12:43 +01:00
Mike McCormack
a3348cf4a0
ntdll: Use the NTAPI definition of EXCEPTION_ACCESS_VIOLATION.
2006-01-16 20:40:25 +01:00
Mike McCormack
0c728255a4
ntdll: Add a stub implementation of NtNotifyChangeDirectoryFile.
2006-01-16 20:40:11 +01:00
Alexandre Julliard
2878d99216
ntdll: Add debug registers to the context of all exceptions.
...
Maintain a local cache of the debug registers to avoid server calls
where possible.
2006-01-13 13:58:14 +01:00
Alexandre Julliard
eca9e4449c
ntdll: Round PE header size to a page boundary for size checks.
2006-01-13 13:52:07 +01:00
Eric Pouech
2cdace2760
ntdll: Created infrastructure to support IOCTL for serial devices.
...
- created infrastructure in ntdll to support IOCTL for serial devices
- implemented IOCTLs in ntdll for serial break support
- implemented the kernel32 equivalent on top of those IOCTLs
2006-01-12 13:32:51 +01:00
Vitaliy Margolen
978f470692
ntdll: NtQueryInformationToken change parameters according to PSDK.
...
Check for NULL pointer.
2006-01-12 13:32:09 +01:00
Detlef Riekenberg
1be185f76e
ntdll/tests: Skip tests if NtCurrentTeb doesn't exist.
2006-01-12 13:29:49 +01:00
Alexandre Julliard
9eae2d714d
ntdll: Round up the mapping size in map_file_into_view when setting
...
the protection bytes.
2006-01-11 20:59:07 +01:00
Alexandre Julliard
2654be08d5
ntdll: Handle NtSetContextThread on the client side (as far as
...
possible) when setting the context of the current thread.
2006-01-11 20:20:32 +01:00
Eric Pouech
329ab98940
ntdll: Implemented ntdll.NtSetInformationThread(ThreadAffinityMask).
...
Reimplemented kernel32.SetThreadAffinityMask on top of it.
2006-01-11 12:32:19 +01:00
Alexandre Julliard
90e3865929
ntdll: NtRaiseException doesn't need to be a register function.
...
Moved common code between NtRaiseException and RtlRaiseException to a
separate raise_exception function.
2006-01-10 17:51:22 +01:00
Alexandre Julliard
45a4e5439b
Set refcount to -1 on implicitly loaded dlls to avoid unloading them
...
(suggested by Michael Ost).
2006-01-04 14:55:33 +01:00
Alexandre Julliard
67f29999a3
ntdll: Check file size when mapping image sections to avoid SIGBUS errors.
2006-01-03 17:39:23 +01:00
Eric Pouech
b7607aebdc
ntdll: Correct implementation for atom query functions.
2006-01-03 17:34:43 +01:00
Alexandre Julliard
f54a59c072
ntdll/tests: Try to fail more gracefully on win9x.
...
Link to NtCurrentTeb dynamically.
2005-12-31 13:24:02 +01:00
Eric Pouech
fe36b7baca
ntdll: Made DBG_EXCEPTION_HANDLED a synonym of DBG_CONTINUE for exception handlers.
2005-12-20 11:47:27 +01:00
Alexandre Julliard
8651ceb18e
ntdll: Make __wine_call_from_32_restore_regs take a context pointer.
...
Changed exception raise functions to call it explicitly.
2005-12-19 09:59:50 +01:00
Alexandre Julliard
5dc6d95952
ntdll: New implementation of relay thunks.
...
New implementation of relay thunks that doesn't require modifying code
on the fly, so that the thunks can be put in the text section.
Some performance improvements.
2005-12-18 10:45:01 +01:00
Alexandre Julliard
efffa66330
ntdll: Don't use a real guard page at the bottom of the stack.
...
A no-access page is enough, we can't properly raise an overflow
exception anyway.
2005-12-17 18:47:03 +01:00
Alexandre Julliard
ae964ac801
Take advantage of the __EXCEPT_PAGE_FAULT macro.
2005-12-16 17:17:57 +01:00
Alexandre Julliard
324d86a3af
Exception handling: Added a magic __EXCEPT_PAGE_FAULT macro to make it
...
easier to handle the common case of trapping page faults.
2005-12-16 16:58:47 +01:00
Alexandre Julliard
db7920bb44
We no longer need to handle EXCEPTION_PRIV_INSTRUCTION on page faults.
2005-12-16 16:37:12 +01:00
Alexandre Julliard
07f84d0458
ntdll: More compatible exception information for protection faults.
...
Added a bunch of test cases.
2005-12-16 16:27:39 +01:00
Alexandre Julliard
15430f6eda
Add -register hint in ntdll, kernel and msvcrt spec files.
2005-12-16 12:44:58 +01:00
Alexandre Julliard
50bbfb3c8c
ntdll: Reimplemented _chkstk and _alloca_probe directly in assembly.
2005-12-15 10:48:12 +01:00
Alexandre Julliard
354e7700b3
ntdll: Fixes in virtual memory protection flags.
...
Tweak reporting of virtual protection flags and address space limit to
yield results closer to what Windows does.
2005-12-14 12:17:59 +01:00
Vitaliy Margolen
b05340a523
ntdll: Implement FSCTL_PIPE_WAIT NtFsControlFile ioctl.
...
Implement FSCTL_PIPE_WAIT NtFsControlFile ioctl.
Modify WaitNamedPipeW to use NtFsControlFile.
Replace struct overlapped with event.
2005-12-14 11:14:02 +01:00
Alexandre Julliard
f3dad37ba2
TEB.StackLimit should not include the guard page.
2005-12-12 17:28:32 +01:00
Alexandre Julliard
59797f292e
Pass specific access rights to wine_server_handle_to_fd.
2005-12-12 17:15:26 +01:00
Alexandre Julliard
a510a7e117
server: Added access rights mapping to file objects.
2005-12-12 16:46:17 +01:00
Alexandre Julliard
67505c00af
server: Support for opening devices.
...
Added support for opening devices directly with the server when they
don't correspond to a Unix file.
2005-12-12 14:27:45 +01:00
Eric Pouech
681b71ed9a
Functions with no paramters must be (void).
2005-12-12 12:42:44 +01:00
Alexandre Julliard
03b040c51d
server: Added object attributes to a few more requests.
2005-12-09 14:52:04 +01:00
Alexandre Julliard
d02c4a1b82
Make wine_server_fd_to_handle use attributes instead of inherit flag.
2005-12-09 12:22:35 +01:00
Alexandre Julliard
7b910f40f2
server: Use attributes instead of inherit flag in dup_handle request.
2005-12-09 12:21:35 +01:00
Alexandre Julliard
836d07c369
server: Use attributes instead of inherit flag in token requests.
...
Also use the specified access rights in the open_token request.
2005-12-09 12:17:19 +01:00
Alexandre Julliard
f2d7dd645e
server: Use attributes instead of inherit flag in process and thread requests.
2005-12-09 12:13:11 +01:00
Alexandre Julliard
f11d0a375f
server: Use attributes instead of inherit flag in snapshot requests.
2005-12-09 12:09:44 +01:00
Alexandre Julliard
27b1aec925
server: Use attributes instead of inherit flag in file requests.
2005-12-09 12:00:48 +01:00
Alexandre Julliard
0603559de2
ntdll: Check for failure to get the user path in RtlOpenCurrentUser.
...
Fixed the return value type.
2005-12-08 11:53:42 +01:00
Vitaliy Margolen
cf21d4d7ca
Move mailslot devices into directory name space.
2005-12-05 13:30:26 +01:00
Vitaliy Margolen
babfa79436
Move named pipe objects into directory name space.
...
Change tests accordingly.
Add small test for WaitNamedPipe.
2005-12-05 13:09:35 +01:00
Vitaliy Margolen
348a3d912b
Move mapping (section) objects into directory name space.
2005-12-02 16:13:13 +01:00
Vitaliy Margolen
7c5cb7a229
Move timer objects into directory name space.
2005-12-02 16:05:54 +01:00
Vitaliy Margolen
5daae3dfa9
Move semaphore objects into directory name space.
2005-12-02 16:01:17 +01:00
Vitaliy Margolen
f676bc8d85
Move event and mutex objects into directory name space.
2005-12-02 15:55:48 +01:00
Alexandre Julliard
cb56bdf884
Check for need to add area to the reserved list also on unmap.
2005-12-01 18:44:04 +01:00
Alexandre Julliard
e3ef6314fd
Ignore the large address space flag when version is win9x.
2005-12-01 18:42:39 +01:00
Alexandre Julliard
e21a97da85
Fixed some compiler warnings on Darwin.
2005-12-01 12:36:05 +01:00
Vitaliy Margolen
80444dfe51
Implement symbolic link object in wineserver.
...
Implement Nt[Create|Open|Query]SymbolicLinkObject.
Change tests accordingly.
2005-11-30 19:22:57 +01:00
Vitaliy Margolen
3c6bdcce53
Implement directory object in wineserver.
...
Implement Nt[Create|Open]DirectoryObject.
Change tests accordingly.
2005-11-29 17:21:05 +01:00
Alexandre Julliard
4cbf118d88
Check for a valid module before attempting to read the export
...
directory in LdrGetProcedureAddress.
2005-11-29 17:10:30 +01:00
Ge van Geldorp
1a1583a364
Match PSDK STATUS_* definitions.
2005-11-28 17:32:54 +01:00
Vitaliy Margolen
39e922ce72
Handle IOCTL_DISK_CHECK_VERIFY which is synonym for
...
IOCTL_STORAGE_CHECK_VERIFY.
2005-11-28 10:40:13 +01:00
Alexandre Julliard
0ec7e1a591
Renamed all .cvsignore files to .gitignore.
2005-11-26 13:10:33 +01:00
Francois Gouget
d69268e77c
Documentation tweaks to make winapi_check happy.
...
Also specify the documented spec file entry.
2005-11-23 20:14:04 +01:00
Alexandre Julliard
cc01e8ff05
Preserve 16-byte stack alignment in the various assembly
...
functions. Needed for MacOSX.
2005-11-23 19:55:06 +01:00
Steven Edwards
c5d8c105c3
Correct URL for version infomation database website.
2005-11-22 12:00:23 +00:00
Vitaliy Margolen
893987b871
Return correct error on name collision when creating new named
...
objects.
Check for correct error in affected places.
2005-11-21 16:27:03 +00:00
Alexandre Julliard
86397e1d43
Fixed handling of mailslot read timeout to avoid compiler warnings.
2005-11-21 15:23:49 +00:00
Vitaliy Margolen
6d905e81e1
More Object Manager tests.
2005-11-21 15:18:10 +00:00
Ken Thomases
a63acd71c8
Updated context definitions for the latest Darwin/x86.
2005-11-15 18:15:56 +00:00
Alexandre Julliard
86f8aef511
Use proper asm name for external functions.
2005-11-15 12:05:45 +00:00
Dmitry Timoshkov
adf48a3cc7
Add a test for RtlAllocateAndInitializeSid, make it pass under Wine.
2005-11-15 12:03:46 +00:00
Eric Pouech
ca4ae96f33
NtReadFile: now returning correct status in NtReadFile for EOF
...
conditions (on files) and broken pipe (on named pipes).
2005-11-14 15:11:11 +00:00
Eric Pouech
63e5d5e5b9
Init wShowWindow in RTL_USER_PARAMETERS for Wine processes started
...
from the command-line.
2005-11-14 11:21:13 +00:00
Francois Gouget
0edbaf7e80
Remove spaces before '\n' in traces.
2005-11-10 12:14:56 +00:00
Markus Amsler
ae542af541
Improve c2man Documented-Total count.
2005-11-09 10:30:57 +00:00
Mike McCormack
5b40551458
Add some missing timezones.
2005-11-08 10:57:50 +00:00
Ivan Leo Puoti
a1cd3ab653
Implement RtlInitAnsiStringEx.
2005-11-07 11:14:45 +00:00
Robert Shearman
0ede610c4f
LdrAccessResource should pop 16 bytes off the stack since it is a
...
WINAPI function.
2005-11-07 11:11:59 +00:00
Kevin Koltzau
079e7cac17
x86_64 references a named union, ensure unions are not nameless.
2005-11-05 10:43:50 +00:00
Kieran Clancy
d1c7458643
Added another CST (Australian Central Daylight Time) to TZ_INFO.
2005-11-03 13:21:23 +00:00
Vitaliy Margolen
4e76f91f1a
Get rid of CPU id when copying context
2005-11-03 09:54:47 +00:00
Alexandre Julliard
73c72390f8
Fixed Get/SetThreadContext to work properly on suspended threads.
...
Added a test case.
2005-11-02 20:54:12 +00:00
Robert Shearman
cf8594f0fd
Make LdrAccessResource call an internal function to satisfy Shrinker.
2005-11-02 14:18:20 +00:00
Vitaliy Margolen
f2686d4620
Fix error returned when opening nonexistent pipes.
2005-11-02 14:15:09 +00:00
Ivan Leo Puoti
198557261b
Minor fixes to rtl string functions.
2005-11-02 11:42:31 +00:00
Alexandre Julliard
ff7795ef4c
Don't send an extra signal when waiting for a debug event, just do a
...
normal wait. Return the debug event status directly as return value
of the server call.
2005-11-01 21:47:07 +00:00
Alexandre Julliard
d6f7adb367
Don't send the incoming context to the server for get_thread_context,
...
instead copy only the relevant fields of the return value on the
client side.
2005-11-01 21:41:26 +00:00
Vitaliy Margolen
ecca104869
Fix error returned when exceeding allowed instances.
2005-11-01 21:37:30 +00:00
Vitaliy Margolen
1ca6e899ec
- Use OBJ_CASE_INSENSITIVE in object lookup.
...
- Remove case_sensitive flag from namespace.
- Remove todo_wine from now succeeding tests.
2005-11-01 10:22:38 +00:00
Robert Shearman
2a02dd1f05
Make the call exception handler function more compatible with NT and
...
with what Shrinker expects.
2005-11-01 09:21:03 +00:00
Marcus Meissner
98ed5585c7
Added assembly implementation of EXC_CallHandler.
2005-10-31 14:08:05 +00:00
Alexandre Julliard
a2fb7c1644
Added an implementation of the FSCTL_DISMOUNT_VOLUME ioctl that
...
attempts to unmount the Unix device.
2005-10-28 16:45:24 +00:00
Ivan Leo Puoti
ce08973ffa
Fix NtQueryDirectoryObject prototype, documentation, and the
...
definition of the structure it uses.
2005-10-28 16:42:11 +00:00
Vitaliy Margolen
a996000ad5
- Send whole OBJECT_ATTRIBUTES.Attributes to the server not just an
...
inherit flag.
- Pass DesiredAccess to the server when creating mailslot.
2005-10-27 18:30:37 +00:00
Alexandre Julliard
51fbfbb9bb
Make show_dir_symlinks the default and get rid of the option.
2005-10-27 11:22:47 +00:00
Ivan Leo Puoti
e1008c386f
Add stub implementation for NtAccessCheckAndAuditAlarm.
2005-10-27 10:25:41 +00:00
Alexandre Julliard
cb443bdb04
Attach to implicitly loaded builtin dlls on process startup.
2005-10-26 12:12:44 +00:00
Peter Beutner
4dcab2805c
Proper implementation of IOCTL_{STORAGE,CDROM}_CHECK_VERIFY.
2005-10-26 10:13:09 +00:00
Vitaliy Margolen
eb8478002d
Cosmetic changes to NtCreateNamedPipeFile change "oa" to "attr".
2005-10-26 10:11:08 +00:00
James Hawkins
b721ee0d41
Set the file_part for \\?\ long file names too.
2005-10-18 14:12:25 +00:00
Alexandre Julliard
45885d136c
In parse_mount_entries return the loop device instead of the mounted
...
file for loop mounts.
2005-10-13 14:32:22 +00:00