Vincent Béron
0bdac8c0f9
Use "" for Windows includes in dlls, instead of <>.
2005-03-21 10:52:26 +00:00
Ivan Leo Puoti
627d2fa7a2
Improve parameter checking in NtCreateFile.
...
Add documentation for ea_buffer and ea_length.
2005-03-21 10:28:23 +00:00
Alexandre Julliard
f1020bc6e0
Added support for the TLS expansion slots, adding an extra 1024
...
entries.
2005-03-19 17:14:12 +00:00
Dmitry Timoshkov
75b93ff1aa
Match OVERLAPPED structure to the SDK definition.
2005-03-17 19:00:08 +00:00
Ivan Leo Puoti
f70e80b311
Add parameter checking and remove last fixme.
2005-03-17 18:55:00 +00:00
Ulrich Czekalla
e3b59eac24
Don't mark a file as readonly if it has any write bit set.
2005-03-16 19:48:42 +00:00
Ivan Leo Puoti
10f1067e0b
Update ntdll.spec against current Microsoft build.
2005-03-14 10:53:36 +00:00
Ivan Leo Puoti
9601b97cc3
Make Rtl*Registry* functions case insensitive.
2005-03-14 10:08:21 +00:00
Alex Villacís Lasso
3cea3a5f34
Add ECT to timezone list.
2005-03-14 10:04:30 +00:00
Steven Edwards
5727918424
Added a check for poll.h.
2005-03-04 12:38:36 +00:00
Uwe Bonnes
bfb6d642dd
Dump HeapWalk entries.
2005-03-03 13:50:21 +00:00
Francois Gouget
fbb3343547
Assorted spelling fixes.
2005-03-02 13:53:50 +00:00
Alexandre Julliard
d0ee9f9309
Avoid spaces before preprocessor directives, that's not portable.
2005-03-02 12:23:20 +00:00
Jon Griffiths
eb5bf7dd38
Documentation spelling fixes.
2005-02-25 14:07:56 +00:00
Dmitry Timoshkov
0497af09a7
Match RaiseException and EXCEPTION_RECORD to SDK definitions.
2005-02-24 13:15:36 +00:00
Rein Klazes
288ebd3244
NtQueryPerformanceCounter should return a frequency of 1193182Hz and
...
counts like in Windows. Some applications depend on that.
Simplify QueryPerformanceCounter a bit.
2005-02-23 20:29:17 +00:00
Ivan Leo Puoti
d3edafe1e2
Replace GetCurrentProcess() with NtCurrentProcess() in ntdll.
2005-02-22 19:33:50 +00:00
Darryl Dixon
aef6fe3122
Added support for NZDT (New Zealand Daylight Time) to TZ_INFO.
2005-02-22 14:49:59 +00:00
Juan Lang
9ebbd3e514
Fix NtQueryPerformanceCounter parameter checking. Spotted by Alex
...
Woods.
2005-02-21 18:27:58 +00:00
Uwe Bonnes
dc16331c75
Use local buffer in RtlUpcaseUnicodeStringToCountedOemString, if
...
appropriate.
2005-02-15 20:48:38 +00:00
Ivan Leo Puoti
54d42573b1
Move Rtl*Registry* structs, defines and prototypes to winternl.h.
...
Fix two function declarations.
2005-02-15 20:47:24 +00:00
Alexandre Julliard
a9a1d61038
Brad DeMorrow
...
Tests for the ntdll registry functions.
2005-02-14 21:08:56 +00:00
Ivan Leo Puoti
5251126f66
Add implementation for RtlQueryRegistryValues, RtlCheckRegistryKey and
...
RtlDeleteRegistryValue.
2005-02-14 21:07:33 +00:00
Francois Gouget
dd073bbb3f
Cast the GetProcAddress() return value to avoid warnings about the
...
function pointer being of the wrong type.
Fix assorted signed/unsigned comparison warnings.
2005-02-14 21:04:45 +00:00
Marcelo Duarte
37bc441d57
- Correct time zone for BRT and BRST.
...
- Better explained fixme.
2005-02-14 11:03:05 +00:00
Robert Shearman
b0f02b28b9
- Implement AdjustTokenPrivileges, DuplicateTokenEx and
...
GetTokenInformation (for the TokenPrivileges case).
- Return STATUS_NO_TOKEN for OpenThreadToken when there is no token
set for the thread.
2005-02-11 11:52:06 +00:00
Mike Hearn
d6b6700e85
Alter the version heuristics a bit.
2005-02-10 21:19:00 +00:00
Alexandre Julliard
c8c9337aa0
Consider any character above 0x7f to be invalid in a DOS short name.
2005-02-09 13:32:12 +00:00
Robert Shearman
abf2de27a7
Replace 10000000 with TICKSPERSEC to make it more obvious what the
...
code is doing.
2005-02-08 12:13:36 +00:00
Rein Klazes
2a0df4bd60
In NtQuerySystemInformation, handle request for information class 1,
...
now named SystemCpuInformation. Return some dummy data for now.
2005-01-28 12:34:20 +00:00
Troy Rollo
418853e9d6
Add TZ_INFO entry to match (incorrect) Australian Eastern Daylight
...
Time information given by some systems.
2005-01-27 11:11:54 +00:00
Rein Klazes
407d863a8a
Get rid of the rdtsc cpu instruction method for calculation of the
...
performance counter. Put the calculation (based on gettimeofday) in
NtQueryPerformanceCounter() and use that in the kernel functions.
2005-01-26 20:41:36 +00:00
Ivan Leo Puoti
bfef6208a2
Added NtLoadDriver and NtUnloadDriver stubs.
2005-01-24 12:49:53 +00:00
Dmitry Timoshkov
a27be2db55
Make HeapFree(NULL) case faster by retrieving heap pointer after the
...
memory block pointer test.
2005-01-24 11:27:27 +00:00
Gerald Pfeifer
57e00da29e
Fix format string in NtQueryVirtualMemory().
2005-01-24 11:25:41 +00:00
Hans Leidekker
fccfcbf7ba
Stub implementations for EnumPageFiles{A,W}, GetProcessImageFileName{A,W}.
...
Implement GetPerformanceInfo, GetProcessMemoryInfo on top of
NtQueryInformationProcess and GetWsChanges, QueryWorkingSet{,Ex} on
top of NtQueryVirtualMemory.
2005-01-20 19:59:48 +00:00
Tony Lambregts
e1ff586dd4
Added time zone information for SAMT (Samara Standard Time).
2005-01-20 10:52:57 +00:00
Ulrich Czekalla
45de351fb3
ACL fixes and cleanups.
2005-01-20 10:37:36 +00:00
Eric Pouech
4634447d6b
- got rid of include/async.h
...
- fixed some overlapped issues in socket handling
- moved kernel32.CancelIo implementation to ntdll
2005-01-14 19:54:38 +00:00
Mike Hearn
bef1336667
Give a more informative error when a DLL fails to initialize during
...
startup.
2005-01-11 16:01:31 +00:00
Robert Shearman
af056e7e24
- Add a complete, sorted listed of IOCTLS implemented in the file.
...
- Dump track numbers after they have been filled in.
2005-01-07 15:33:58 +00:00
Rein Klazes
3058548eb8
On Linux, use fstatfs instead of fstatvfs. It is too buggy.
2005-01-06 20:44:52 +00:00
Tony Lambregts
5f0e554af5
Add Brazilian standard time.
2005-01-06 19:35:35 +00:00
Alexandre Julliard
1fd6264244
Fixed the FIXME in RtlNtStatusToDosError, and implemented
...
RtlGetLastNtStatus and RtlSetLastWin32ErrorAndNtStatusFromNtStatus.
2005-01-04 12:09:32 +00:00
Alexandre Julliard
646ab89f0a
Support mapping non page-aligned binaries for SEC_IMAGE mappings.
2005-01-04 12:04:06 +00:00
Eric Pouech
9dc3843cba
Fixed some regressions from the previous change.
2005-01-03 14:43:15 +00:00
Alexandre Julliard
1d36d12917
Fixed prototypes of a couple of ntdll functions.
...
Replaced the CallWin32ToNt macro by a proper function.
PBOOL cannot be cast to PBOOLEAN, we need to use an intermediate
variable.
2004-12-22 15:31:16 +00:00
Hans Leidekker
49f7f6c208
Stub implementations for AdjustTokenGroups, AreAllAccessesGranted,
...
CreatePrivateObjectSecurity, CreateProcessAsUser{A,W},
DestroyPrivateObjectSecurity, DuplicateToken{,Ex},
EnumDependentServices{A,W}, GetEffectiveRightsFromAcl{A,W},
ConvertStringSecurityDescriptorToSecurityDescriptorA. Implementations
for BuildExplicitAccessWithName{A,W},
BuildTrusteeWithObjectsAndName{A,W},
BuildTrusteeWithObjectsAndSid{A,W}.
Correct prototype for InitializeAcl, RtlCopySid and RtlGetAce.
Use the CallWin32ToNt macro only with functions that return an
NTSTATUS.
2004-12-21 16:16:10 +00:00
Francois Gouget
6fb1a20020
Assorted spelling fixes.
2004-12-20 19:27:06 +00:00
Jon Griffiths
49e13df700
Remove unneeded headers to reduce unneeded rebuilds.
2004-12-17 19:09:29 +00:00
Vincent Béron
a29d82239e
Better detect a dll's Windows version.
2004-12-17 19:06:30 +00:00
Ivan Leo Puoti
3b1a7a7a23
Better EXE version check in VERSION_GetLinkedDllVersion.
2004-12-16 14:48:43 +00:00
Alexandre Julliard
d5088668de
Generate stub entries on the fly for missing entry points instead of
...
returning a deadbeef pointer.
2004-12-14 20:03:23 +00:00
Robert Shearman
7572b125b5
Implement NtQueryTimer.
2004-12-13 21:10:58 +00:00
Alexandre Julliard
50c1a6b959
Fixed read_directory_getdents for large directories (found by Rein
...
Klazes).
2004-12-09 16:54:20 +00:00
Gerald Pfeifer
cd2b2bd99a
Avoid a warning on FreeBSD.
2004-12-08 14:09:37 +00:00
Robert Shearman
ee6982eeae
Implement handle tables and add tests for them.
2004-12-07 14:47:13 +00:00
Alexandre Julliard
da41f988a8
Use a direct getdents syscall on Linux to avoid relying on
...
implementation details of seekdir/telldir.
2004-12-06 16:48:16 +00:00
Stewart Allen
7cb55431d0
Added SAST (South African Standard Time), corrected CAT to Central
...
African Time.
2004-12-06 11:39:34 +00:00
Peter Chapman
505dfdefb5
Fix up several inline assembler blocks so that they produce correct
...
code with the -fomit-frame-pointer gcc flag.
2004-12-02 18:19:25 +00:00
Eric Pouech
44158dd690
- moved event, semaphore, mutex implementation from kernel32 to ntdll
...
- added mutant implementation in ntdll, and use it for mutex
implementation in kernel32
- added access parameter on event, semaphore, timer creation in
wineserver (as ntdll interface requires it)
- added missing definitions in include/winternl.h
2004-12-02 18:05:37 +00:00
Alexandre Julliard
7e11e528c1
Fixed RtlExpandEnvironmentStrings_U to not depend on the string being
...
null-terminated (spotted by Alexander Yaworsky).
2004-11-29 18:24:08 +00:00
Dmitry Timoshkov
e04da6bb72
Add a test for ReadFile/WriteFile fault handling, make it pass under
...
Wine.
2004-11-28 14:58:11 +00:00
Alexandre Julliard
b98c2e3847
Append .dll extension in all cases (spotted by Mike Hearn).
2004-11-23 14:03:49 +00:00
Eric Frias
c8866c009b
Permit unaligned memory access on sparc.
2004-11-21 15:38:26 +00:00
Alexander Yaworsky
ed92345c0b
Added NOVT timezone info.
2004-11-21 15:34:28 +00:00
Eric Pouech
6d0712a375
Moved kernel32.DeleteFileW core implementation to ntdll.NtDeleteFile.
2004-11-21 15:29:44 +00:00
Hamish
630273d34a
Fix for async writes to comm ports.
2004-11-09 20:12:18 +00:00
Alexandre Julliard
fac7a5ab8b
Free the memory view before we unload a builtin dll to avoid a race
...
condition.
2004-11-06 03:54:23 +00:00
Rein Klazes
dceae02d73
- RtlTimeFieldsToTime should not normalize the time fields
...
structure. Instead return error when it is given an unormalized
date.
- Use better algorithms for RtlTimeToTimeFields and
RtlTimeFieldsToTime. RtlTimeToTimeFields is about 3 times faster.
- Add tests for RtlTimeFieldsToTime.
- SystemTimeToFileTime must fail if RtlTimeFieldsToTime fails. Users
of SystemTimeToFileTime must do likewise.
- Remove a todo_wine from SystemTimeToFileTime tests.
- Since msvcrt.mktime must accept unnormalized dates, it cannot use
SystemTimeToFileTime and do the calculations itself.
- Add some tests for mktime accepting unnormalized dates.
2004-11-06 03:53:53 +00:00
Juan Lang
0fca5acba8
- implement LookupPrivilegeName
...
- correct LookupPrivilegeValue (had a buffer overrun and sometimes
returned incorrect LUIDs for well-known values)
- make AllocateLocallyUniqueId less obviously incorrect
- add a bunch of test cases
2004-11-04 04:52:17 +00:00
Jeremy White
8099c2b9fd
Tune the behavior of Sleep() and Waitxxx() to more closely resemble
...
Windows behavior. The key is to yield in a Sleep and in any Wait that
times out.
2004-11-02 19:32:03 +00:00
Vitaly Lipatov
4c801af496
Added MSK timezone info.
2004-11-02 19:25:05 +00:00
Michael Jung
82297525b2
Added CET timezone info.
2004-11-02 05:28:01 +00:00
Roger Olson
3078222105
Add Pacific Standard Time (PST) to TZ_INFO.
2004-11-02 05:22:01 +00:00
Francois Gouget
f7478816d4
#ifdef out the tests if compiling with the Platform SDK headers since
...
they are missing TIME_FIELDS.
2004-10-30 02:10:38 +00:00
Eric Pouech
4bb5d3ab3e
- fixed the way length of msvcrt runtime info is passed
...
- always return a NULL runtime info buffer in child if parent's
runtime info is NULL
- fixed typo in startupinfo size
2004-10-25 21:47:23 +00:00
Rein Klazes
149f70b369
Correct the calculation of the year for the 31'st of December of 2000
...
and every 400 years after that. Add a test used to find this bug.
2004-10-22 19:54:17 +00:00
Rein Klazes
62ec238792
Correct the calculation of the year for the 31'st of December of leap
...
years.
2004-10-21 19:57:00 +00:00
Vincent Béron
2c1b35dd17
Add some more Alpha asm code and Alpha-specific parts.
2004-10-18 21:27:52 +00:00
Rein Klazes
c5c93d186e
In RtlQueryTimezoneInformation use information from the registry if it
...
is available.
2004-10-18 21:19:28 +00:00
Mike McCormack
049dce7cd0
Mask SIGCHLD to prevent partial writes in the new_process server
...
call.
2004-10-18 19:34:37 +00:00
Robert Shearman
2050591370
Fix NtAllocateVirtualMemory declaration and fix users of the
...
function.
2004-10-11 20:59:06 +00:00
Alexandre Julliard
de91a8dd0f
Implemented NtYieldExecution.
2004-10-11 20:11:01 +00:00
Jeremy White
08c0f691ce
Made NtDelayExecution with a 0 timeout yield the CPU, as it is
...
supposed to.
2004-10-09 02:26:29 +00:00
Alexandre Julliard
efb8be7e82
Added a fallback implementation of futimes.
2004-10-07 04:25:05 +00:00
Filip Navara
63c6359fcc
Add UTC to the time zone list.
2004-10-04 19:29:16 +00:00
Uwe Bonnes
48dc31640d
Make WINEDLLOVERRIDES also match for *dll.
2004-09-24 00:21:02 +00:00
Richard Cohen
494b169cc0
Move TRACE inside TRY block.
2004-09-22 19:36:24 +00:00
Alexander Yaworsky
aadffd1f35
Moved TRACEs to the beginning of functions.
2004-09-22 04:03:10 +00:00
Alexander Yaworsky
8657ad8704
Make RtlCreateUserThread fail if process handle is not for the current
...
process.
2004-09-21 00:23:50 +00:00
Mike McCormack
d80eb97b29
Use FILE_SHARE_DELETE when loading modules, as running an exe that's
...
going to be deleted should work.
2004-09-15 18:02:49 +00:00
Francois Gouget
c27db9b07c
Assorted spelling fixes.
2004-09-14 19:31:22 +00:00
Steven Edwards
f7fb4d2b50
Added stub for NtShutdownSystem.
2004-09-14 19:30:36 +00:00
Alexandre Julliard
8e1e835d11
Don't try to stat network mounts in parse_mount_entries, we can't
...
return a meaningful device for them anyway (suggested by Robert
Shearman).
2004-09-13 18:14:15 +00:00
Jon Griffiths
bf5539bbe6
Documentation updates.
2004-09-13 18:04:31 +00:00
Eric Pouech
440ad8ccf2
- ctrl-c enabling flag is now inherited
...
- fixed console-related fields in RTL_USER_PROCESS_PARAMETERS
- various clean-up in kernel32.SetConsoleCtrlHandler
- only send a console event once to a process and not to all the
process' threads
2004-09-08 01:25:05 +00:00
Alexandre Julliard
25b23a0917
Avoid integer overflows in NTDLL_get_server_timeout (spotted by Mike
...
McCormack).
2004-09-07 23:01:34 +00:00
Francois Gouget
ab1866be52
Test some more ntdll types.
...
tests.dat: Remove types that don't exist, whether in the Windows or
Wine headers.
2004-09-06 21:26:57 +00:00
Uwe Bonnes
d3499083d6
More defines for TZ_INFO.
2004-09-06 21:26:37 +00:00
Francois Gouget
5512ae2685
Disable MSVC warning 4116 to avoid the 'unnamed type definition in
...
parentheses' warning caused by TYPE_ALIGNMENT().
2004-09-06 20:29:53 +00:00
Robert Shearman
54de69940a
Improve documentation for critical sections.
2004-09-06 20:26:23 +00:00
Francois Gouget
614e4e4a31
Fix/update the TOKEN_STATISTICS check.
2004-09-01 04:53:36 +00:00
Francois Gouget
8bc2fdb3f9
Disable the RtlBitMap tests if compiling with the Microsoft headers as
...
they are missing critical structure and API declarations.
2004-09-01 01:29:18 +00:00
Mike McCormack
6f74043bfb
Stub implementations for NtAdjustGroupsToken and NtAlertThread.
2004-08-30 18:36:24 +00:00
Mike McCormack
03425cb09d
Added stub implementations for NtDeleteFile and NtCancelIoFile.
2004-08-27 19:11:01 +00:00
Jason Edmeades
c5a95b82e9
Don't clear the information structure for non supported cases.
2004-08-26 00:30:02 +00:00
Francois Gouget
20b8b56d5f
Enable the disabled tests in tests.data or add a comment describing
...
why the type cannot be tested.
Update the generated files, they compile and run successfully both on
Windows (with the Windows headers) and in Wine.
2004-08-25 00:42:50 +00:00
Francois Gouget
2e360b3ee4
Fix alignment issues for MEMORYSTATUSEX, WIN32_STREAM_ID and
...
IO_COUNTERS. The corresponding tests now succeed both when compiled
with the Windows headers and when compiled with the Wine headers.
2004-08-24 20:16:25 +00:00
Pierre d'Herbemont
ed7a2bab5f
Added signal support for Darwin/i386.
2004-08-24 02:26:59 +00:00
Francois Gouget
61d21ce706
Update RTL_BITMAP and RTL_BITMAP_RUN to match the 2000 DDK.
...
Only test the Rtl{Initialize,SetAll,ClearAll}Bits macros if they are
defined.
2004-08-23 18:52:54 +00:00
Francois Gouget
6b1e83281b
Update FPO_DATA and IMAGE_LOAD_CONFIG_DIRECTORY to match the latest
...
platform SDK. This helps compile the ntdll tests on Windows.
2004-08-22 22:28:53 +00:00
Francois Gouget
493cf88bb6
Remove these Wine-only types:
...
EnumICMProfilesProcCallback
PEXCEPTION_REGISTRATION_RECORD
Don't test these Wine-only types:
EMRSETTEXTJUSTIFICATION
EXCEPTION_REGISTRATION_RECORD
Remove EXCEPTION_FRAME, it doesn't exist at all.
2004-08-22 02:07:13 +00:00
Francois Gouget
68232c6c2f
Remove types that don't exist from tests.dat.
...
Don't test types that have a platform dependent layout.
Don't test Wine-only types.
Helps get the generated tests compiling on Windows.
2004-08-19 20:34:42 +00:00
Robert Shearman
f84a53c099
Handle ECONNRESET in FILE_GetNtStatus.
2004-08-19 02:41:55 +00:00
Robert Shearman
eee6adc9b6
- Errors should only be reported to I/O completion routine after
...
NtReadFile has succeeded.
- Test case for this behaviour.
2004-08-19 02:34:51 +00:00
Emmanuel Maillard
2300ce663a
- Update build system to support IOKit and CoreFoundation frameworks
...
on Darwin.
- Add support for the -framework "name" linker option.
- NtQueryVolumeInformationFile set device info on Darwin.
2004-08-19 01:20:45 +00:00
Rein Klazes
6293769f52
Do not make a directory read-only.
2004-08-18 20:57:30 +00:00
Alexandre Julliard
6a27b48895
Fd type is no longer used, get rid of it.
2004-08-18 00:04:58 +00:00
Eric Pouech
1ffddb4d0c
- better support for non-blocking COMM and socket read/writes:
...
+ added necessary semantics to fd flags
+ no longer uses fd type (but fd flags) read/write semantic behavior
- fixed socket code to use the proper manifest constants
- fixes for kernel32.GetOverlappedResult without hEvent set
- in ntdll.Nt{Read|Write}File
+ always reset the event
+ added support for longlong offsets
+ better object disposal in error handling code paths
2004-08-17 23:37:55 +00:00
Aric Stewart
b7add83287
Added handling of TokenPrimaryGroup.
2004-08-17 22:28:13 +00:00
Mike McCormack
b255c11787
Stub implementation for NtSetInformationToken.
2004-08-17 22:09:55 +00:00
Mike McCormack
278f743a4c
Stub implementation and declaration for NtCreateNamedPipeFile.
2004-08-16 21:08:38 +00:00
Gerald Pfeifer
dd809a736b
Fix incorrect sizeof in RtlCreateSecurityDescriptor().
2004-08-16 19:59:09 +00:00
Francois Gouget
a625761eb9
Avoid annoying 'macro redefinition' warnings by defining
...
WIN32_NO_STATUS at the right time.
Define _WIN32_WINNT otherwise we are missing some symbols with the
Windows headers.
2004-08-14 00:42:12 +00:00
Francois Gouget
870f55fefc
Fix the PSID and PSECURITY_DESCRIPTOR types.
...
Add PISID and PISECURITY_DESCRIPTOR.
2004-08-13 23:55:43 +00:00
Hans Leidekker
a9b4a471a9
Fix signed/unsigned comparison warnings.
2004-08-13 23:53:44 +00:00
Francois Gouget
6f902f16fb
The Windows headers don't define PEXCEPTION_REGISTRATION_RECORD.
...
Remove it.
2004-08-13 23:22:30 +00:00
Mike McCormack
edf55ec7d9
Implement SetThreadToken using NtSetInformationThread.
2004-08-13 23:20:27 +00:00
Francois Gouget
9b0136fbff
Rename ResourceHandle to Reserved in the IMAGE_RESOURCE_DATA_ENTRY
...
structure to match the Windows headers.
2004-08-13 19:46:28 +00:00
Francois Gouget
3e3ba437ee
Replace strcasecmp() with lstrcmpiA() to help compilation with Windows
...
headers.
2004-08-11 18:51:25 +00:00
Vincent Béron
9ebfac0eed
Update WinXP version to SP2.
2004-08-09 18:44:29 +00:00
Markus Amsler
b5b8810e99
Pass debug exceptions to winedos.
2004-08-04 19:08:19 +00:00
Mike McCormack
e3d8853bb8
Moved FlushInstructionCache to ntdll.
2004-08-04 18:15:04 +00:00
Alexandre Julliard
60f0439ba6
Make relay and snooping work for LoadLibrary+GetProcAddress sequence
...
(based on a patch by Dmitry Timoshkov).
2004-08-02 22:25:01 +00:00
Ivan Leo Puoti
e7c40e298f
Fix dll version detection.
2004-07-30 18:45:50 +00:00
Alexandre Julliard
81b22375d0
Added support for getting and setting the UI language.
2004-07-30 01:45:16 +00:00
Ivan Leo Puoti
fd233e2235
Change the NT service pack version from 6 to 6a, correct win2k3 name.
2004-07-29 23:57:23 +00:00
Robert Shearman
038d1c4df7
Documentation for Wine client-side server interface.
2004-07-29 02:34:51 +00:00
Francois Gouget
f8e01efb3d
Assorted spelling fixes.
2004-07-23 23:02:09 +00:00
Alexandre Julliard
9f58ee709d
Set the system directory in ntdll as soon as we have determined it.
2004-07-15 22:07:21 +00:00
Aric Stewart
694af895e0
Report win2k service pack 4 instead of 3.
2004-07-14 21:44:10 +00:00
Emmanuel Maillard
58dde17c91
Added Darwin support in get_default_drive_device.
2004-07-07 00:47:10 +00:00
Aric Stewart
680e200c75
Report NOT_IMPLEMENTED for not implemented token classes.
2004-07-06 19:42:30 +00:00
Alexandre Julliard
38affc4097
We no longer need to make the import directory writable, the loader
...
takes care of that now.
2004-06-22 03:02:35 +00:00
Filip Navara
fc51760f48
Unprotect Import Address Table while filling it.
2004-06-22 02:07:47 +00:00
Mike Hearn
b6908b4c9f
Default to Win98 in DLL linkage heuristics.
2004-06-21 23:55:07 +00:00
Pierre d'Herbemont
c196f63a72
Fix a compile error for SNOOP_GetProcAddress and RELAY_GetProcAddress
...
on non-i386.
2004-06-18 19:34:10 +00:00
Alexandre Julliard
fd9792bdc9
Added support for the IMAGE_FILE_LARGE_ADDRESS_AWARE flag.
2004-06-18 00:26:57 +00:00
Alexandre Julliard
2ed053b5a0
Take spin count into account in RtlEnterCriticalSection.
2004-06-17 23:11:08 +00:00
Alexandre Julliard
2bcef9e1fb
Don't use lseek when truncating a file to avoid corrupting the current
...
file position.
2004-06-17 23:05:48 +00:00
Gerald Pfeifer
69075d0c1c
Remove incorrect support for FreeBSD and NetBSD in
...
DVD_StartSession().
2004-06-16 19:03:25 +00:00
Alexandre Julliard
cc461324da
Store the number of processors in the PEB structure.
...
More correct support for setting critical section spin counts (based
on a patch by Robert Shearman).
2004-06-15 00:52:03 +00:00
Eric Pouech
db52588754
Const correctness.
2004-06-15 00:47:00 +00:00
Uwe Bonnes
e98a664d57
Support for reading encrypted DVDs.
2004-06-15 00:45:01 +00:00
Eric Pouech
b0fd2ade62
- Added ProcessBasicInformation class to ntdll.NtQueryInformationProcess.
...
- Make use of it in kernel32.
2004-06-14 17:02:00 +00:00
Raphael Junqueira
d6bd6b0488
Added _vsnwprintf (needed by some native XP dlls).
2004-06-03 00:26:35 +00:00
Alexandre Julliard
08183bdbfd
Use wine_exec_wine_binary in all cases to start the server.
2004-05-30 03:11:10 +00:00
Alexandre Julliard
b1abca8a5d
Initial version of the Wine preloader, used to reserve memory
...
areas at startup. Based on the work of Mike McCormack.
2004-05-28 20:59:22 +00:00
Alexandre Julliard
dc4d05690e
Don't rely on the reserved area list being empty in reserve_area,
...
since the preloader will need to add things to the list before
startup.
2004-05-28 03:48:09 +00:00
Alexandre Julliard
94d74b5fed
Added support for managing reserved memory areas in libwine and ntdll.
...
Try to reserve everything above 0x80000000 on startup.
2004-05-25 01:29:24 +00:00
Dmitry Timoshkov
20f25c3468
Cygwin's mntent.h requires stdio.h to be included first.
2004-05-24 19:07:12 +00:00
Alexandre Julliard
eb04fd22f8
Converted the memory views list to use the standard functions from
...
wine/list.h.
Restructured some functions to always return proper NT status codes.
A couple of optimizations.
Added a few tests for file mappings.
2004-05-21 20:58:44 +00:00
Alexandre Julliard
cb27ab8b13
Added support for mapping UNC filenames to the dosdevices directory.
2004-05-17 21:09:19 +00:00
Patrik Stridvall
070db4e5de
Fixed some issues found by winapi_check.
2004-05-17 21:08:31 +00:00
Alexandre Julliard
8c29b5f0cc
Removed the no longer used SMB file I/O support, we can't do reliable
...
file I/O in user space anyway.
2004-05-14 22:24:48 +00:00
Alexandre Julliard
63a5d81cfa
Better fix for removing trailing spaces in RtlGetFullPathName_U.
...
Need to remove trailing dots too (reported by Ken Belleau).
2004-05-14 22:10:24 +00:00
Alexandre Julliard
c00b0b029a
Remove trailing spaces from the filename in RtlGetFullPathName_U.
2004-05-13 05:21:23 +00:00
Alexandre Julliard
04869eb658
Initial support for automatically creating the ~/.wine directory on
...
startup.
2004-05-11 04:29:18 +00:00
Alexandre Julliard
c4effa39e6
Use the Unix codepage to convert the user name to Unicode.
2004-05-07 04:01:28 +00:00
Alexandre Julliard
ae42aad2ae
Initialize ntdll debugging earlier on so that we can trace the server
...
startup too.
2004-05-05 05:56:37 +00:00
Alexandre Julliard
048b3ac67c
Fixed RtlSetEnvironmentVariable to deal properly with Unicode strings
...
that aren't null-terminated.
2004-05-05 01:39:12 +00:00
Francois Gouget
4e5b9efcf0
We should not make deststring static since we count on it being fresh
...
and clean when entering test_RtlCopyString().
2004-05-05 01:38:24 +00:00
Alexandre Julliard
a11b2bbafb
Updated the auto-generated tests.
2004-05-04 00:41:11 +00:00
Alexandre Julliard
b592cbbc18
Reimplemented GetFileType and SetEndOfFile using ntdll functions.
2004-05-01 02:44:00 +00:00
Alexandre Julliard
d4874d6406
Added a few more info classes in NtQueryInformationFile.
...
Use NT file names in CreateNamedPipeW.
Reimplemented GetFileInformationByHandle, GetFileSize and GetFileTime
using ntdll functions.
2004-04-30 21:03:09 +00:00
Alexandre Julliard
ff07c20446
Moved support for opening named pipes to ntdll.
2004-04-30 19:04:19 +00:00
Alexandre Julliard
ffcc67abf1
Added auto-detection of DOS drive devices based on finding the
...
corresponding mount point in /etc/mtab or /etc/fstab.
2004-04-29 20:04:48 +00:00
Alexandre Julliard
553a75e16e
Use symlinks in dosdevices/ for the drive devices too.
...
Store drive types in the registry instead of in the config file.
Added some more code to convert existing config to the new scheme.
2004-04-29 00:27:57 +00:00
Alexandre Julliard
cf67839bc4
Pass the creation disposition to wine_nt_to_unix_file_name so that it
...
can return the correct error code in all cases.
Changed MoveFileExW to use wine_nt_to_unix_file_name to avoid
computing the NT name twice.
Fixed crash in GetDriveTypeW with a NULL root.
2004-04-27 02:15:52 +00:00
Alexandre Julliard
7b6651a9e1
Moved creation of the CDROM registry keys into the registry loading
...
code.
2004-04-23 21:36:22 +00:00
Alexandre Julliard
223fcdff77
Moved support for opening DOS device files to ntdll.
2004-04-23 03:22:34 +00:00
Alexandre Julliard
9db147e5e4
Make DIR_nt_to_unix return STATUS_NO_SUCH_FILE instead of
...
STATUS_OBJECT_NAME_NOT_FOUND to indicate that the last component
didn't exist to allow distinguishing it from legitimate errors.
Export it from ntdll, renamed to wine_nt_to_unix_file_name.
2004-04-23 02:46:18 +00:00
Alexandre Julliard
4bb759e8ad
Properly set IO_STATUS_BLOCK.Information in NtCreateFile.
2004-04-21 22:26:44 +00:00
Alexandre Julliard
e4409325d2
Reimplemented GetFileAttributesExW and GetCompressedFileSizeW using
...
the corresponding ntdll functionality.
2004-04-20 04:06:49 +00:00
Francois Gouget
52c0832161
Make Unicode strings static const.
2004-04-20 01:12:17 +00:00
Robert Shearman
e2490a0986
Stub and documentation for RtlFormatMessage.
2004-04-20 01:07:23 +00:00
Alexandre Julliard
362ce5eac7
Minor fixes.
2004-04-20 00:37:00 +00:00
Alexandre Julliard
174e2a6464
Reimplemented GetFileAttributesW, SetFileAttributesW and SetFileTime
...
using the corresponding ntdll functionality.
2004-04-20 00:36:29 +00:00
Michael Stefaniuc
5150b37a00
NtQueryInformationToken isn't a stub so change the FIXME to a TRACE.
2004-04-19 19:25:29 +00:00
Alexandre Julliard
769a4bb586
Fixed ntdll_wcstoumbs and WideCharToMultiByte to set the 'used' flag
...
for UTF-8 codepage too. This was causing DIR_nt_to_unix to fail in
some cases (tracked down with help from Alex Pasadyn).
2004-04-19 03:05:07 +00:00
Emmanuel Maillard
8183eb658f
Fix a compile error for SNOOP_GetProcAddress on non-i386.
2004-04-17 00:21:18 +00:00
Alexandre Julliard
716878c5b1
Fixed a number of NT status values to be closer to NT behavior.
2004-04-16 23:32:40 +00:00
Alexandre Julliard
dfcfc98ed0
RtlSetCurrentDirectory_U: store a handle to the current directory
...
along with its name.
2004-04-16 05:00:46 +00:00
Alexandre Julliard
186b419e02
Added hack to fetch the current directory from the subsystem tid so
...
that it is handled correctly in ntdll also for 16-bit tasks.
2004-04-16 00:10:03 +00:00
Alexandre Julliard
a45931c6f3
Get rid of the TEB flags, they are no longer used.
2004-04-15 05:04:53 +00:00
Alexandre Julliard
1cb0cf4ced
Moved wine_get_unix_file_name implementation to ntdll, and changed it
...
to return an allocated buffer instead of a fixed size one.
2004-04-14 19:40:53 +00:00
Alexandre Julliard
7e65631832
Added support for restarting directory scans on platforms where
...
seekdir return values cannot be reused on a different directory
object.
Added some checks for invalid file names in DIR_nt_to_unix.
2004-04-14 04:36:21 +00:00
Alexandre Julliard
017438cdbc
Fixed handling of \\?\ prefix in RtlDosPathNameToNtPathName_U.
...
Fixed parsing of UNC file names in RtlGetFullPathName_U.
2004-04-14 04:34:04 +00:00
Alexandre Julliard
e792fb74ba
Implemented NtCreatelFile using the new symlink scheme.
...
Use NtCreateFile in the loader, and get rid of the CreateFileW upcall
hack.
2004-04-12 23:31:09 +00:00