Yorick Hardy
c26b7dbad9
Added the implementation for CDROM_GetIdeInterface on NetBSD.
2003-05-19 21:46:09 +00:00
Alexandre Julliard
3d15c86cf8
Moved atom functions to dlls/kernel.
2003-05-16 00:05:08 +00:00
Alexandre Julliard
a098c82aac
Moved vxd support to winedos.
2003-05-15 23:25:49 +00:00
Mike McCormack
ef8b94622a
- rewrite of the named pipe code
...
- allow NtFileFlushBuffers to wait
- allow DisconnectNamedPipe to invalidate client cached fd
- fix the pipe test now that one extra test passes
2003-05-15 04:22:45 +00:00
Eric Pouech
35d5d06ac9
Implemented RtlDosPathNameToNtPathName_U, RtlGetCurrentDirectory_U,
...
RtlGetFullPathName_U and RtlSetCurrentDirectory_U (the last one
partially as we can't test whether a path exists or not).
2003-05-15 04:20:42 +00:00
Alexandre Julliard
adb532903c
Rewrote module TLS support and moved it to ntdll.
2003-05-14 19:51:14 +00:00
Alexandre Julliard
0b34697abb
Made INSTR_EmulateInstruction return the exception code.
...
Don't allow intXX instructions from 32-bit code (based on a patch by
Jukka Heinonen).
2003-05-14 19:41:16 +00:00
Eric Pouech
f06a996a07
Enhanced test for queries, added tests for expansion.
2003-05-13 04:46:05 +00:00
Eric Pouech
b124fa9617
Implemented RtlExpandEnvironmentStrings_U and fixed an incorrect
...
behavior in RtlQueryEnvironmentString.
2003-05-13 04:45:50 +00:00
Pierre d'Herbemont
ed3417e349
- Save more registers (exception, float...) if they are defined.
...
- Add Mac OS X signal support.
2003-05-13 03:35:01 +00:00
Francois Gouget
f803e2a92d
Fix miscellaneous spelling errors and typos.
2003-05-13 00:41:57 +00:00
Robert Shearman
8e3bb615a0
Fix NULL pointer error when displaying error message about missing
...
forwarded export.
2003-05-13 00:28:25 +00:00
Aric Stewart
3de90d99b7
RtlUnicodeToMultiByteSize argument is not a null terminated string,
...
use 'ptr'.
2003-05-12 03:32:56 +00:00
Dmitry Timoshkov
7baa67cbcb
Added missing return in HEAP_ValidateInUseArena.
2003-05-12 03:32:07 +00:00
Alexandre Julliard
f54ffdac93
Removed unnecessary function link names.
2003-05-11 03:04:57 +00:00
Alexandre Julliard
d9bab57477
Added support for calling the TLS callback functions.
2003-05-08 04:13:26 +00:00
Alexandre Julliard
c808e67da1
Fixed wrong file offset used when mapping the import directory from a
...
shared section.
2003-05-08 03:50:32 +00:00
Eric Pouech
3a10bf5890
Added environment tests.
2003-05-08 03:47:24 +00:00
Eric Pouech
2d758c6444
Implemented a bunch of environment related NTDLL APIs.
2003-05-08 03:47:00 +00:00
Alexandre Julliard
ce4d111cd8
Moved the EnumResource* functions to the kernel dll, and fixed their
...
prototypes.
2003-05-07 03:21:26 +00:00
Alexandre Julliard
54f59e5005
Added comment about why changing ADDRESS_SPACE_LIMIT is wrong.
2003-05-06 18:52:43 +00:00
Alexandre Julliard
ebe67a2864
Added support for retrieving page fault address on Solaris (based on a
...
patch by Robert Lunnon).
2003-05-06 18:50:08 +00:00
Thomas Mertes
4f6caf6ca3
Tests for RtlDuplicateUnicodeString, RtlFindCharInUnicodeString,
...
RtlInitUnicodeStringEx.
2003-05-06 18:28:02 +00:00
Thomas Mertes
d628d125ab
Implement RtlDuplicateUnicodeString, RtlFindCharInUnicodeString,
...
RtlInitUnicodeStringEx.
Documentation updates for RtlInitAnsiString, RtlInitString,
RtlInitUnicodeString, RtlAnsiStringToUnicodeString and
RtlOemStringToUnicodeString.
2003-05-06 18:27:40 +00:00
Marcus Meissner
e65d6715ce
Fixed powerpc compile.
2003-05-04 02:25:07 +00:00
Robert Shearman
f0025e2adc
- Implemented RtlAddAccessAllowedAce, RtlAddAccessDeniedAce,
...
RtlAddAce, RtlValidAcl.
- Added the corresponding functions in advapi32.
- Grouped the ACL functions in advapi32.
2003-05-01 00:29:26 +00:00
Alexandre Julliard
88fbc45dc9
Fixed typo in last minute change (spotted by Gerald Pfeifer).
2003-04-30 17:12:14 +00:00
Alexandre Julliard
424202bd9a
Moved most of the kernel resource APIs to dlls/kernel.
2003-04-30 00:53:23 +00:00
Alexandre Julliard
86666c51e2
Implemented ntdll resource functions.
2003-04-29 23:00:48 +00:00
Eric Pouech
b6338878a8
Moved kernel32.FlushFileBuffers to ntdll.NtFlushBuffersFile.
2003-04-22 04:04:17 +00:00
Alexandre Julliard
2e12d33dfd
Removed no longer needed uses of LDPATH.
2003-04-21 23:54:05 +00:00
Jukka Heinonen
013f89465c
Moved dosconf.c to winedos.
2003-04-21 23:22:53 +00:00
Alexandre Julliard
d6da1f33ab
Implemented RtlIsNameLegalDOS8Dot3 (based on a patch by Eric Pouech).
...
Implemented RtlUpcaseUnicodeStringToCountedOemString.
2003-04-16 23:15:29 +00:00
Alexandre Julliard
46adbecd13
Insert the last free block of a subheap at the end of the free list to
...
avoid using uncomitted space unless really necessary.
2003-04-14 21:44:21 +00:00
Alexandre Julliard
aa94a5ad1a
Implemented RtlDetermineDosPathNameType_U and RtlIsDosDeviceName_U.
2003-04-12 00:10:13 +00:00
Robert Shearman
efc069cbb3
Added NtQueryProcessInformation case needed by NT version of MSI.
2003-04-12 00:01:32 +00:00
Thomas Mertes
b5763feb55
Tests for RtlUlonglongByteSwap, RtlRandom, RtlAreAllAccessesGranted,
...
RtlAreAnyAccessesGranted, RtlUnicodeStringToAnsiString,
RtlAppendAsciizToString, RtlAppendStringToString,
RtlAppendUnicodeToString and RtlAppendUnicodeStringToString.
2003-04-08 00:56:01 +00:00
Thomas Mertes
0ce4826eee
Implemented RtlRandom, RtlAreAllAccessesGranted,
...
RtlAreAnyAccessesGranted, RtlCopyLuid, RtlEqualLuid, RtlMapGenericMask
and RtlCopyLuidAndAttributesArray.
Documentation updates for RtlExtendedMagicDivide, RtlUniform,
RtlUnicodeStringToAnsiString, RtlAppendAsciizToString,
RtlAppendStringToString, RtlAppendUnicodeToString and
RtlAppendUnicodeStringToString.
2003-04-08 00:55:36 +00:00
Alexandre Julliard
f130f8099a
Added possibility to filter relay traces based on the module that
...
called the function. Cleaned up a few traces.
2003-04-07 23:27:54 +00:00
Alexandre Julliard
0412cc55d2
Rewrote most of the import fixup code to avoid doing redundant work
...
for every entry point. Moved it all to dlls/ntdll/loader.c.
Various optimizations in the other loader routines.
2003-04-05 05:16:11 +00:00
Alexandre Julliard
088bcf9ca5
Implemented NtQueueApcThread, and changed the server APC interface to
...
always take 3 parameters.
Implemented a number of other ntdll thread functions, and use them
from the kernel ones.
2003-04-04 22:26:34 +00:00
Alexandre Julliard
39f73ddeaa
Merged PE_InitDLL into MODULE_InitDLL.
...
Fixed a few traces.
2003-04-04 19:50:17 +00:00
Alexandre Julliard
56b5e0862c
Remove the Wine-specific EXCEPTION_CRITICAL_SECTION_WAIT define.
2003-04-04 19:41:31 +00:00
Eric Pouech
14d04b608c
No longer call WaitFor*Object* from ntdll (but NtWait*Object*).
2003-04-03 23:57:11 +00:00
Alexandre Julliard
6a9cea957a
Added --with-nptl configure option and necessary changes to support
...
running on top of NPTL threads.
2003-04-03 02:54:54 +00:00
Alexandre Julliard
462172a3d6
Added abs_time_t structure to the server protocol, and added a dump
...
routine for it that displays the relative timeout to make timeout
values easier to interpret.
2003-04-02 22:48:59 +00:00
Alexandre Julliard
c44555bb37
Added support for marking heap blocks as inaccessible/uninitialized if
...
valgrind is installed, based on a patch by Adam Gundy.
2003-04-02 01:42:06 +00:00
Andreas Mohr
114b667f41
Some spelling and formatting fixes.
2003-04-02 01:23:43 +00:00
Eric Pouech
70f3522933
Fixed a few FormatCode entries.
2003-04-02 00:59:12 +00:00
Alexandre Julliard
6d4aeeca5e
Added missing NONAMELESSSTRUCT/UNION.
2003-03-31 19:32:20 +00:00
Alexandre Julliard
fbef57c0ce
Moved WaitForMultipleObjects to ntdll (based on a patch by Eric
...
Pouech).
Added NTDLL_get_server_timeout function to compute ntdll-style
timeouts and adapted the timer code to use it.
2003-03-31 01:37:04 +00:00
Yorick Hardy
14251f1b48
Added fields from NetBSD struct sigcontext on i386.
2003-03-28 00:29:45 +00:00
Alexandre Julliard
3e588e3a57
Implemented file change notifications, based on a patch by Mike
...
McCormack.
2003-03-26 23:41:43 +00:00
Alexandre Julliard
78675ba234
Store %gs in the TEB on every call to 16-bit code, and don't restore
...
it from the TEB for signals that did not happen in 16-bit code.
2003-03-25 00:36:16 +00:00
Alexandre Julliard
a993df861c
Make sure changes to the debug registers while inside a SIGTRAP
...
exception are taken into account (based on a patch by Alex Pasadyn).
2003-03-24 19:31:10 +00:00
Alexandre Julliard
5cdfa593c0
Fixed duplicate initialization of some of the wm->ldr fields.
2003-03-22 20:54:40 +00:00
Thomas Mertes
83ee8478d4
Tests for RtlCompareMemoryUlong, RtlUniform, RtlDowncaseUnicodeString,
...
RtlAppendUnicodeStringToString.
2003-03-22 00:21:35 +00:00
Thomas Mertes
c83aa0d311
- Implement RtlDowncaseUnicodeString, RtlUniform, iswdigit, iswlower,
...
iswspace, iswxdigit.
- Fixed RtlInt64ToUnicodeString and RtlIntegerToUnicodeString.
- According to tests RtlAppendUnicodeStringToString leaves the
destination unchanged when the source length is 0 (FIXED).
- Documentation updates in RtlExtendedMagicDivide,
RtlLargeIntegerToChar, RtlInt64ToUnicodeString, RtlUpperChar,
RtlUpperString, RtlUpcaseUnicodeChar, RtlCharToInteger,
RtlIntegerToChar, RtlUnicodeStringToInteger,
RtlIntegerToUnicodeString, _ultoa, _ltoa, _itoa, _ui64toa, _i64toa,
_atoi64, _ultow, _ltow, _itow, _ui64tow, _i64tow, _wtol, _wtoi,
_wtoi64.
2003-03-22 00:20:58 +00:00
Alexandre Julliard
6a26e3f7ac
Split signal blocking code out of SIGNAL_Reset into SIGNAL_Block.
...
Added SIGTERM handler.
2003-03-21 23:45:26 +00:00
Alexandre Julliard
25fe361010
Added 'wine' prefix to libwine_unicode exports.
2003-03-21 21:30:51 +00:00
Eric Pouech
69dc0d93d5
Removed no longer needed MODREF.find_export field.
2003-03-21 21:27:16 +00:00
Eric Pouech
051f87150f
- implemented LdrQueryProcessModuleInformation
...
- rewrote VERSION_GetLinkedDllVersion() with this new function instead
of accessing directly the modref list
2003-03-21 00:34:36 +00:00
Eric Pouech
19e050eb6f
Moved WINE_MODREF.flags to WINE_MODREF.ldr.Flags, and make use of the
...
same flags values as Win2000.
2003-03-20 23:40:08 +00:00
Eric Pouech
f94c8b85b9
Move some fields (refCount, tls_index and module) from WINE_MODREF to
...
LDR_MODULE.
2003-03-20 22:05:26 +00:00
Eric Pouech
255b6141f2
Fixed some unneeded unix to Win32 error mapping.
2003-03-20 21:59:50 +00:00
Alexandre Julliard
a9bedef3f6
Changed name of the asm version of RtlUlong/shortByteSwap to avoid
...
conflicts with the inline version.
2003-03-20 19:25:39 +00:00
Eric Pouech
9b79d698b2
Moved the module loading/unloading code and the remaining needed
...
static variables to ntdll.
2003-03-20 04:55:59 +00:00
Alexandre Julliard
500a2f95f7
Partially implemented LdrLock/UnlockLoaderLock.
2003-03-20 04:29:21 +00:00
Alexandre Julliard
114a31a2a8
Take advantage of new winebuild syntax to remove redundant function
...
names in spec files.
2003-03-20 03:53:12 +00:00
Alexandre Julliard
6da4c275ca
Implemented Rtl*ByteSwap() functions, based on a patch by Jon
...
Griffiths.
2003-03-19 00:09:57 +00:00
Jon Griffiths
ccf2f6162b
Correct the agument count for RtlInitializeGenericTable().
...
Fix my own brown paper bag in RtlFillMemoryUlong().
RtlGetNtVersionNumbers() should never return < 5.
Remove RtlCopyMemory(), its not an ntdll export.
Implement RtlCompareMemoryUlong(), RtlComputeCrc32().
Documentation updates.
2003-03-18 20:12:07 +00:00
Alexandre Julliard
c85f61b189
Avoid explicit long long constants.
2003-03-18 20:01:45 +00:00
Jon Griffiths
cd4234aa49
Documentation updates.
2003-03-18 18:35:48 +00:00
Eric Pouech
84d1a8ff8c
- added LDR_MODULE structure to WINE_MODREF and made dummy filling of
...
this structure
- implementation of LdrFindEntry
- implementation of GetModuleFileName[AW] on top of LdrFindEntry
2003-03-18 18:29:13 +00:00
Thomas Mertes
93189f2395
Tests for _itoa, _ltoa, _ultoa, _i64toa, _ui64toa, _itow, _ltow,
...
_ultow, _i64tow, _ui64tow, _atoi64, _wtoi, _wtol, _wtoi64.
2003-03-18 18:27:19 +00:00
Jon Griffiths
a49747bc34
Documentation updates.
2003-03-17 21:21:00 +00:00
Jon Griffiths
f8a82b489e
Add RtlDowncaseUnicodeChar(), RtlEqualComputerName(),
...
RtlEqualDomainName(). Documentation updates.
2003-03-15 19:42:11 +00:00
Alexandre Julliard
769a84fac1
Avoid GetProcessHeap() inside ntdll.
2003-03-14 23:16:46 +00:00
Eric Pouech
32872b1a57
- implementation of LdrLoadDll out of loader/module.c
...
- in impacted functions, ensure that we only use ntdll functions
- for internal loading, start using NTDLL style for error reporting
- making use of new LdrLoadDll
2003-03-14 05:01:20 +00:00
Alexandre Julliard
949e065c49
Only print the trace header when we are at the beginning of a new
...
line (suggested by Dimitrie O. Paun).
2003-03-14 04:02:03 +00:00
Eric Pouech
1efa50e47e
- implementation of LdrUnloadDll out of loader/module.c
...
- in impacted functions, ensure that we only use ntdll functions
- making use of new LdrUnloadDll
2003-03-14 04:00:52 +00:00
Dmitry Timoshkov
ad068bc0c2
Move vsnwprintf implementation to libwine_unicode, export snprintfW
...
and vsnprintfW from there, forward MSVCRT and NTDLL functions to
libwine_unicode.
2003-03-12 22:30:16 +00:00
Thomas Mertes
414772ac28
Implement _itoa, _ltoa, _ultoa, _i64toa, _ui64toa, _itow, _ltow,
...
_ultow, _i64tow, _ui64tow, _atoi64, _wtoi, _wtol, _wtoi64.
2003-03-12 20:16:07 +00:00
Alexandre Julliard
b5d8f532db
Rewrote RtlFind{Most,Least}SignificantBit in a more portable way.
2003-03-07 23:15:52 +00:00
Eric Pouech
f3a73ef7af
- implemented LdrGetProcedureAddress and made use of it for
...
GetProcAddress
- implemented LdrGetDllHandle and made use of it in GetModuleHandle
- removed MODULE_DllThreadDetach from loader/module.c (should have
been removed in a previous patch)
2003-03-06 23:41:37 +00:00
Eric Pouech
d4fcc4bd06
Removed SO loading type.
2003-03-05 02:50:25 +00:00
Alexandre Julliard
d04ccb8ebe
Use SIGUSR1 instead of SIGSTOP to suspend threads.
2003-03-04 22:18:43 +00:00
Eric Pouech
7d6096480a
- added Ldr* information to include/winternl.h
...
- exported a few functions/global vars from module.h while we move
code from loader/module.c to dlls/ntdll/loader.c
- implemented LdrShutdownProcess, LdrShutdownThread and
LdrDisableThreadCalloutsForDll (and made use of them)
2003-03-04 04:36:56 +00:00
Alexandre Julliard
551797bc57
Properly save/restore %gs register across 16-bit calls.
2003-02-27 21:11:13 +00:00
Gerald Pfeifer
fa8cca5e47
Define CD_SECS and CD_FRAMES also on non-Linux systems. Avoid a
...
non-portable TRACE on non-Linux systems.
2003-02-25 03:56:21 +00:00
Waldeck Schutzer
52a414c26d
- Some systems/drives are very slow to read the TOC. To address this
...
issue, we are caching it inside the driver.
- Windows will seek while not playing, Linux will not. We are
providing better compatibility with Windows by also caching the
current position.
2003-02-19 22:08:50 +00:00
Thomas Mertes
9f5f86e3a3
Tests for RtlCharToInteger, RtlExtendedMagicDivide, RtlUpperChar,
...
RtlInt64ToUnicodeString, RtlIntegerToChar, RtlIntegerToUnicodeString,
RtlLargeIntegerToChar, RtlUnicodeStringToInteger and
RtlUpcaseUnicodeChar.
2003-02-19 03:40:14 +00:00
Thomas Mertes
f4757bb631
- Implement RtlCharToInteger, RtlExtendedMagicDivide, RtlUpperChar,
...
RtlInt64ToUnicodeString, RtlIntegerToChar, RtlIntegerToUnicodeString,
RtlLargeIntegerToChar, RtlUnicodeStringToInteger and
RtlUpcaseUnicodeChar.
- Use toupperW instead of toupper in RtlCompareUnicodeString.
2003-02-19 03:39:46 +00:00
Alexandre Julliard
ac13d2f47e
Print thread ids in traces with only 4 digits now that they are small
...
integers.
2003-02-18 23:29:47 +00:00
Alexandre Julliard
8bc93e2d6f
Print dll name too for stub exceptions.
2003-02-18 23:25:34 +00:00
Thomas Mertes
38012942f8
- Fix small bug in RtlFindMostSignificantBit. It returned sometimes
...
wrong results if more then one bit was set.
- Update the test cases as well.
2003-02-18 23:22:49 +00:00
Andreas Mohr
37fc599268
Added FIXME on stub exception.
2003-02-11 21:56:59 +00:00
Alexandre Julliard
43690e9e47
Removed no longer needed inclusion of heap.h.
2003-01-24 00:54:58 +00:00
Marcus Meissner
f63e5b646a
Remove errno.h from files that do not need it.
2003-01-23 22:51:04 +00:00
Alexandre Julliard
f8aa3b506c
Added -Wpointer-arith gcc flag, and fixed the resulting warnings.
2003-01-23 21:32:35 +00:00