Oliver Stieber
8f803ac8d7
Fill in the information in VendorIdentifier and make a better effort
...
at filling in Identifier in the registry key.
2005-01-28 11:29:03 +00:00
Vincent Béron
9572ae764c
Change UTF-8 name back to ISO-8859-1.
2005-01-27 10:41:40 +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
Oleh R. Nykyforchyn
62b94d89bd
Ukrainian codepage 21866 added and respective files corrected. Two
...
keyboard layouts (for Ukrainian and Russian) added.
2005-01-19 20:59:31 +00:00
Rein Klazes
47fe880924
Return a fixed frequency of 1193182 Hz for the Performance Counter.
2005-01-19 17:01:06 +00:00
Mike McCormack
c1b4d7d16f
Implement TransactNamedPipe for the non-overlapped case.
2005-01-19 17:00:48 +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
Rein Klazes
8032418e2d
memicmpW() count are WCHAR's not bytes. Fixes opening CON device.
2005-01-11 15:09:01 +00:00
Robert Shearman
8a46494ea9
- Don't use an invalid file handle. In this case invalid file handle
...
means that the file hasn't yet been created.
- Only call GetFileTime when we are being logged for a tiny
performance improvement.
- Reindent to 4 spaces.
2005-01-11 10:43:24 +00:00
Vincent Béron
53ca036a56
Use GetLocalTime (tz-dependant) instead of GetSystemTime (UTC) in
...
GetTimeFormat.
2005-01-07 17:08:55 +00:00
Mike McCormack
4a0f999859
Use CreateEventW in preference to CreateEventA for unnamed events.
2005-01-07 15:40:09 +00:00
Michael Stefaniuc
15a308a9d7
Do not check for non NULL pointer before HeapFree'ing it. It's
...
redundant.
2005-01-03 14:56:42 +00:00
Eric Pouech
9dc3843cba
Fixed some regressions from the previous change.
2005-01-03 14:43:15 +00:00
Hans Leidekker
f4a5ba1f6b
Stub implementations for EnumDateFormatsEx{A,W}.
2005-01-03 14:32:16 +00:00
Rein Klazes
3714a39867
Correct cases where arguments of ok() calls depend on the order in
...
which they are evaluated.
2004-12-27 17:26:37 +00:00
Lionel Ulmer
857fc43ddf
Fix non-RTDSC case for QueryPerformanceFrequency.
2004-12-27 17:16:39 +00:00
Paul Vriens
78f90d9026
Initialize dwOSVersionInfoSize in GlobalMemoryStatus.
2004-12-27 17:06:18 +00:00
Michael Stefaniuc
5ad7d858e0
Do not check for non NULL pointer before HeapFree'ing it. It's
...
redundant.
2004-12-23 17:06:43 +00:00
Eric Pouech
bcfa5b0900
ReadFile and WriteFile must be passed a parameter for the number of
...
handled bytes when no overlapped operation is done.
2004-12-22 18:38:31 +00:00
Dmitry Timoshkov
5a9ba7cf2a
Perform case insensitive comparison with cached ini file name.
2004-12-22 14:55:44 +00:00
Dmitry Timoshkov
a8f025fd94
Uncomment call to FlushConsoleInputBuffer in FlushFileBuffers.
2004-12-22 14:51:46 +00:00
Dmitry Timoshkov
567bed8645
Postpone creation disposition check in CreateFile until it's really
...
used.
2004-12-21 16:12:49 +00:00
Francois Gouget
6fb1a20020
Assorted spelling fixes.
2004-12-20 19:27:06 +00:00
Andreas Mohr
08383277cb
Fixed a typo.
2004-12-17 19:01:22 +00:00
Andreas Mohr
35583201e8
GetTempPath*() uses DWORD parameters instead of UINT.
2004-12-17 19:00:09 +00:00
Jon Griffiths
873cd009d0
Remove unneeded headers to reduce unneeded rebuilds.
2004-12-15 10:54:44 +00:00
Jon Griffiths
7b188952a5
Documentation fixes.
2004-12-15 10:48:18 +00:00
Rein Klazes
5dc91e6c08
A starting process must obey the STARTF_USESTDHANDLES flag and use the
...
standard io handles from the StartupInfo structure, even if it is
starting a new console.
2004-12-15 10:47:23 +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
Ken Belleau
c7471d11ef
Implemented EnumCalendarInfo(A/W/ExA/ExW).
2004-12-14 19:59:43 +00:00
Eric Pouech
4056d7ef8c
Fixed some errors in function prototypes.
2004-12-13 21:19:01 +00:00
Alexandre Julliard
ebe3c529b1
Janitorial: C booleans must not be compared against TRUE.
2004-12-09 14:07:59 +00:00
Juan Lang
a4d4d1979b
Use W calls rather than A in CreatePipe.
2004-12-07 14:23:03 +00:00
Dmitry Timoshkov
902cb4201b
Perform host name initialization if computer name can't be read from
...
registry.
2004-12-06 11:38: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
Dmitry Timoshkov
fafe030e9a
Always create a suspended thread in CreateThread and resume it if
...
CREATE_SUSPENDED flag is not set as Windows does.
2004-12-01 15:37:26 +00:00
Gunnar Dalsnes
3f884c2c7e
Added a test to make sure that CreateDirectoryA/W does not create
...
multiple non-existing directories in the path given.
2004-11-29 17:52:06 +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
Dmitry Timoshkov
b3d647384c
Remove useless calls to IsBadReadPtr from ReadFile and WriteFile.
2004-11-24 18:07:52 +00:00
Kevin Koltzau
1b8a8b26af
Prevent environment test from crashing when environment is large.
2004-11-22 18:28:56 +00:00
Alexander Yaworsky
6d9d114303
Changed allocation of arguments in SearchPathA so path is not limited
...
by size of TEB static buffer.
2004-11-22 18:25:05 +00:00
Dmitry Timoshkov
c590a66f89
Call CompareStringA with LOCALE_USE_CP_ACP flag set from lstrcmpA and
...
lstrcmpiA in order to improve speed. Add a test case confirming that
CompareString and LCMapString accept LOCALE_USE_CP_ACP.
2004-11-21 15:47:24 +00:00
Eric Pouech
6d0712a375
Moved kernel32.DeleteFileW core implementation to ntdll.NtDeleteFile.
2004-11-21 15:29:44 +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
Dmitry Timoshkov
65051ec8e2
Add unix locale to code page mapping for ISO-8859-16.
2004-11-04 21:06:03 +00:00
Robert Shearman
84eaaa168f
Fix broken thread start routines.
2004-11-03 22:18:44 +00:00
Stefan Leichter
ddae31893d
Set the correct last error in EnumUILanguagesA, with tests.
2004-11-01 21:06:28 +00:00
Francois Gouget
65f1958249
Add support for REG_EXPAND_SZ in set_registry_variables().
...
Fix processing of environment variables that are too big (>1024
characters): they should be truncated, not ignored.
2004-10-30 02:11:33 +00:00
Rein Klazes
cfeef723d2
- Simplify the calculation in TIME_DaylightCompareDate;
...
- Expand the number of applicable test cases.
2004-10-29 21:27:18 +00:00
Rein Klazes
073329fa1b
In VOLUME_ReadFATSuperblock:
...
- do not test on the JMP instruction: most boot blocks have that
- test instead on the "FAT" strings first, before the size
calculation
- do some parameter checking to prevent arithmetic errors
- use meaningful names instead of block offsets
(based on a rejected patch from Vincent Béron).
2004-10-28 21:00:36 +00:00
Rein Klazes
d694a376c7
- Reordered some code from the existing helper _GetTimeZoneBias to
...
make it more general useful (and changed the helper names to
TIME_xyz).
- Make GetTimeZoneInformation return the correct zone id constants.
- Changed some "const LPX_Y_Z" declarations to "const X_Y_Z *".
2004-10-27 21:19:22 +00:00
Mike McCormack
d581777c88
Add some tests for time conversion functions.
2004-10-26 22:03:11 +00:00
Alexandre Julliard
bf88644cee
Convert CommConfigDialog to Unicode.
2004-10-26 00:25:58 +00:00
Mike McCormack
568a91dfd1
SERIALUI: convert to Unicode.
2004-10-26 00:16:39 +00:00
Rein Klazes
4cf122d2aa
Correctly use the return value of GetTimeZoneInformation.
2004-10-26 00:11:43 +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
Francois Gouget
3bb5b093e8
Assorted spelling fixes.
2004-10-22 22:27:51 +00:00
Francois Gouget
40692f2aa4
There is no point making '--register' functions stdcall so just
...
implement them as cdecl.
2004-10-22 19:55:14 +00:00
Vincent Béron
6c644d68cf
Fix various function prototypes.
2004-10-19 23:55:15 +00:00
Stefan Leichter
165b24b5e1
Added dummy implementation for EnumUILanguagesA/W.
2004-10-19 23:50:36 +00:00
Mike McCormack
53daa59740
Implement CallNamedPipeA using CallNamedPipeW.
2004-10-19 21:08:58 +00:00
Hans Leidekker
6e8f4f3c69
Avoid using gettimeofday().
2004-10-18 19:38:41 +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
Hans Leidekker
b741905cf1
Avoid using gettimeofday.
2004-10-11 19:53:54 +00:00
Hans Leidekker
84e9eb65af
Include stdio.h for MinGW.
2004-10-11 19:53:13 +00:00
Ferenc Wagner
cbf4c5c650
Unconditionally open a fresh console for the tests.
2004-10-08 23:35:47 +00:00
Vincent Béron
157b32c0f1
Correct the calling convention of GetSystemWow64Directory{A,W},
...
AmpFactorToDB and DBToAmpFactor.
2004-10-08 21:01:44 +00:00
Vincent Béron
9fc774eb49
Keep the original resources if !bDeleteExistingResources in
...
BeginUpdateResourceW.
Pass the correct handle to callback functions in
BeginUpdateResourceW.
Fix a bug while saving data in memory in UpdateResourceW.
2004-09-29 21:10:44 +00:00
Robert Shearman
240c02bbfe
- Don't perform event check if in system code. Fixes infinite
...
recursion bug.
- Fix stack corruption that could occur in K32WowCallback16Ex if an
event check was inserted.
2004-09-28 19:18:06 +00:00
Alexander Yaworsky
3f40590e93
Moved code from CreateThread to CreateRemoteThread.
2004-09-22 02:54:13 +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
Vincent Béron
2919a9a7a8
Implement BeginUpdateResource and UpdateResource.
...
Stub out a bit more of EndUpdateResource.
2004-09-14 01:06:54 +00:00
Eric Pouech
e780ea5230
Fixed (finally) ScrollConsoleScreenBuffer implementation.
2004-09-13 18:04:50 +00:00
Andreas Mohr
85b06836a5
Don't reject OS/2 programs, try to carry on in DOS mode.
2004-09-10 21:16:02 +00:00
Rein Klazes
bb2796f9aa
Add tests of TzSpecificLocalTimeToSystemTime and
...
SystemTimeToTzSpecificLocalTime.
2004-09-10 19:35:16 +00:00
Rein Klazes
d788e03057
Fixed TzSpecificLocalTimeToSystemTime and
...
SystemTimeToTzSpecificLocalTime:
- take the time of day into the calculation, so the bias is calculated
correctly during the transition days;
- the transition times are expressed as local time, not system time;
- correct the daylight logic for use on the southern hemisphere;
- beautify some LONGLONG arithmetic.
2004-09-10 19:35:06 +00:00
Alexandre Julliard
0e3df810de
Comment out an unreliable test.
2004-09-09 20:16:23 +00:00
Alexandre Julliard
bb8f36addc
Fixed the check for removable media in load_pe_exe (spotted by
...
Francois Gouget).
2004-09-09 00:26:57 +00:00
Francois Gouget
3af8a1e16f
Set _WIN32_WINNT to 0x0501 so we get the definition of
...
PTIMERAPCROUTINE from the Windows headers.
2004-09-08 19:06:07 +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
Mike McCormack
b6b3fe10d6
Add a test for timers.
2004-09-07 23:28:32 +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
Eric Pouech
0bfb1cbc6b
- msvcrt: the file descriptors are now inherited between parent/child
...
processes
- kernel32.CreateProcess: make use of the *reserved2 fields for
C-RunTime data inheritance
2004-09-03 01:05:30 +00:00
Filip Navara
c880c41f7a
- Don't expect that drive C: exists, use the drive Windows is
...
installed on instead.
- Remove misleading message about file mapping.
2004-08-30 18:40:20 +00:00
Robert Shearman
7ed44d529a
Improve documentation for debugger functions.
2004-08-26 18:22:17 +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
Robert Shearman
3ae44f72b9
Added GetProcessId.
2004-08-24 18:46:05 +00:00
Dmitry Timoshkov
6f94fde7d2
GetCPInfo(Ex) should work on CP_UTF7/CP_UTF8 pseudo code pages, as
...
IsValidCodePage does.
2004-08-23 17:52:02 +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
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
Alexandre Julliard
905e75f8e9
The argv array passed to the app needs to be in the Ansi codepage, not
...
the Unix one.
2004-08-18 21:03:32 +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
Robert Reif
778168c316
Fix BSD build.
2004-08-13 19:47:11 +00:00
Alexandre Julliard
ff039ccdf3
We don't need the shared heap on non-i386 platforms.
2004-08-13 00:42:09 +00:00
Robert Reif
22174de9bb
Use GlobalMemoryStatusEx in GlobalMemoryStatus rather than the other
...
way around.
2004-08-13 00:41:34 +00:00
Alexandre Julliard
b459952144
Avoid some non-portable makefile constructs, and get rid of the
...
ALTNAMES variable.
2004-08-11 23:59:06 +00:00
Hans Leidekker
9baafec900
Fix signed/unsigned comparison warnings.
2004-08-10 23:43:21 +00:00
Hans Leidekker
70d400adf6
Fix signed/unsigned comparison warnings.
2004-08-09 23:42:19 +00:00
Mike McCormack
e3d8853bb8
Moved FlushInstructionCache to ntdll.
2004-08-04 18:15:04 +00:00
Alexandre Julliard
81b22375d0
Added support for getting and setting the UI language.
2004-07-30 01:45:16 +00:00
Vincent Béron
6dc4e2af82
Remove last winedefault.reg reference in the code.
2004-07-23 23:17:13 +00:00
Alexandre Julliard
c95b984882
Avoid lvalue casts (based on a patch by Marcus Meissner).
2004-07-23 19:09:35 +00:00
Alexandre Julliard
2c90b52bbc
Rewrote load_messageA/W to deal properly with multibyte characters.
2004-07-20 22:12:21 +00:00
Mike Hearn
850dcad17d
Make STARTUPINFO.lpDesktop tests pass on NT.
2004-07-20 01:20:50 +00:00
Shachar Shemesh
8c24ef7845
System default locale in Windows determines the ANSI encoding
...
(LC_CTYPE on Unix).
2004-07-16 23:44:18 +00:00
Alexandre Julliard
c4ec2108b1
Pass the environment for a child process through the server instead of
...
relying on the Unix environment.
2004-07-16 03:54:35 +00:00
Alexandre Julliard
df55257115
Support for large profile values (based on a patch by Robert
...
Shearman).
Fixed PROFILE_FlushFile to correctly truncate the file before saving
it.
2004-07-16 02:45:00 +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
Rein Klazes
932533ca09
In GetVolumeInformationW handle the case when there are no permissions
...
accessing the device the same way as when no device is found.
2004-07-13 23:33:47 +00:00
Rob Shearman
95dc472698
Add TRACE to ReadFileEx.
2004-07-09 22:24:59 +00:00
Roger Olson
0da4277a62
Added stub for CreateRemoteThread().
2004-07-07 00:49:34 +00:00
Dmitry Timoshkov
3d36713c2a
Initialize also ACP, OEMCP and MACCP in registry on locale change.
2004-07-07 00:47:31 +00:00
Mike Hearn
95012151f9
Correct error code returned by CreateFile when given a non-existent
...
VxD on NT, add a test case.
2004-07-06 21:31:24 +00:00
Vitaly Lipatov
f11ea29268
Return proper codepage value in GetCPInfoEx.
2004-07-04 00:07:42 +00:00
Alexandre Julliard
2130f61310
In GlobalMemoryStatus, also cap the sum of dwAvailPhys and
...
dwAvailPageFile at 2Gb to avoid a bug in Photoshop 4.
2004-06-24 04:08:33 +00:00
Stefan Leichter
de16a00fa5
Fix the GetPrivateProfileIntA tests for the win9x platform.
2004-06-17 23:00:54 +00:00
Alexandre Julliard
9cb122c2ef
Added a couple of tests for SetCurrentDirectoryA.
2004-06-17 04:26:59 +00:00
Marcus Meissner
751e991210
Fixed some illegal lvalue casts / increments.
2004-06-16 19:02:11 +00:00
Francois Gouget
497709b9bb
Assorted spelling and case fixes.
2004-06-15 20:26:45 +00:00
Dmitry Timoshkov
c7d2379916
- Fix erroneous use of LOCALE_SDATE in the place of LOCALE_SSHORTDATE.
...
- Fix incorrect assumptions about format strings when parsing date
formats and setting LOCALE_IDATE and LOCALE_ILDATE values.
2004-06-15 17:02:31 +00:00
Alexandre Julliard
f435914b88
Added magic number in the FindFirstFile structure to allow more robust
...
detection of bad handles (with help from Aric Stewart).
2004-06-15 00:55:04 +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
Alexandre Julliard
410db2ada4
Rewrote SetFilePointer to use SetFilePointerEx.
2004-06-14 19:40:44 +00:00
Mike McCormack
6122eeb5ca
Implemented SetFilePointerEx.
2004-06-14 17:56:50 +00:00
Eric Pouech
62a860988c
Const correctness, pointer cast correctness, removed extraneous ';'.
2004-06-14 17:04:34 +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
Robert Shearman
6c91e9bff6
Use the same path transformation for WaitNamedPipe and
...
CreateNamedPipe.
2004-06-14 17:00:21 +00:00
Rein Klazes
136a93e6be
Set last error value to ERROR_CALL_NOT_IMPLEMENTED in QueryActCtxW()
...
to make Photoshop 7.0 work again.
2004-06-14 16:59:19 +00:00
Rein Klazes
667ac7ff5e
Fix a crash when launching Unix executables.
2004-06-04 18:01:02 +00:00
Dimitrie O. Paun
f28155de3f
In Win9x, {Create,Remove}Directory returns ERROR_PATH_NOT_FOUND when
...
given directories containing '*' or '?'.
2004-06-04 17:59:05 +00:00
Dimitrie O. Paun
b395a0c560
Win9x does not convert FIXED to MOVEABLE. It also discards locked
...
memory.
2004-06-04 17:58:49 +00:00
Robert Reif
55b57417e1
I got the test for failure on NT wrong in my last patch. The function
...
returns 0 on error and sets last error to ERROR_INVALID_FLAGS.
2004-06-03 23:19:27 +00:00
Alexandre Julliard
10e6f57fab
Set the WINEPRELOADRESERVE variable when starting a new process.
2004-06-03 00:25:08 +00:00
Raphael Junqueira
ac825d02f4
Semi stubs for GetSystemWow64Directory[AW].
2004-06-02 21:32:55 +00:00
Dimitrie O. Paun
6e28fe7144
Do not fix the drive letter to 'C', it fails on other people's boxes.
2004-06-02 00:36:36 +00:00
Mike Hearn
3c705bf008
Use TRACE rather than FIXME for check_resource_write.
2004-06-01 19:45:15 +00:00
Robert Reif
4751ff2b44
NT 4.0 doesn't support MAP_EXPAND_LIGATURES so skip test if it returns
...
ERROR_INVALID_FLAGS.
2004-05-30 03:11:24 +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
Mike Hearn
b4c2968049
Print module name when calling LibMain.
2004-05-28 19:29:20 +00:00
Alexandre Julliard
f974c8598e
Ensure that we can initialize the DOS memory area correctly even if it
...
has been pre-reserved already.
2004-05-28 03:45:47 +00:00
Rein Klazes
73ed82c373
Fix the missing tread ID of some snoop return traces.
2004-05-27 20:00:37 +00:00
Alexandre Julliard
7109423ec0
Allocate the shared heap inside the Win9x shared memory area.
2004-05-25 05:13:44 +00:00
Alexandre Julliard
7163000df8
Only create the shared heap when Windows version is Win9x.
2004-05-25 05:08:28 +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
b6dae78bac
Avoid a failure under Win9x.
2004-05-25 00:20:50 +00:00
Dmitry Timoshkov
d8a59cdfd5
Explicitly specify name of the pipe in the pipe test.
2004-05-24 19:06:52 +00:00
Eric Pouech
09fed7567b
Some fixes to module browsing.
2004-05-24 19:06:32 +00:00
Dmitry Timoshkov
8811628cff
Add a test for opening an already opened file for writing in a not
...
compatible sharing mode.
2004-05-22 03:14:17 +00:00
Christian Costa
fe0460fd2f
Added some traces to kernel file functions.
2004-05-22 03:13:56 +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
16fe224275
Don't use the Wine debug functions.
...
Fixed wrong A/W length checks.
2004-05-20 01:19:05 +00:00
Eric Pouech
df93f2eeee
GetModuleFileName[AW] doesn't terminate the string if the buffer is
...
too small.
2004-05-19 03:22:55 +00:00
Eric Pouech
bde649c356
Added some missing prototypes.
2004-05-18 20:43:29 +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
ad546918b4
Use environment variables instead of config file entries to specify
...
path, profile, temp, windows and system directories.
Convert existing config file entries to registry values under
HKCU\Environment.
2004-05-14 21:43:18 +00:00
Alexandre Julliard
6ab8827236
Set environment variables from the HKCU\Environment key too.
...
Moved current directory initialisation to process.c.
Make sure to always pass the correct current directory in the process
parameters for child processes.
2004-05-14 05:03:29 +00:00
Alexandre Julliard
3c3d23063c
Fixed some of the GetShortPathName tests to use the short version of
...
the current directory where needed.
2004-05-14 04:55:28 +00:00
Alexandre Julliard
0d33e5e32d
Added proper support for switching file APIs between ANSI and OEM
...
codepages. Optimized some of the A->W conversions by using the
per-thread Unicode string buffer.
2004-05-13 20:21:25 +00:00
Dimitrie O. Paun
f950d97381
Remove the last remaining wine options when running programs.
...
Keep support for --help, and --version when they are the only options
on the command line.
2004-05-06 23:51:43 +00:00
Alexandre Julliard
0a19a07ecf
Set additional environment variables at startup from
...
HKLM\System\CurrentControlSet\Control\Session Manager\Environment.
2004-05-05 22:05:18 +00:00
Alexandre Julliard
ab92cfe0a0
Replaced LPINPUT_RECORD by PINPUT_RECORD.
2004-05-05 05:54:44 +00:00
Francois Gouget
cfc3943c5f
Make our ascii strings static const.
...
Remove a couple string variables that were used only once and use the
string literal directly.
2004-05-04 04:13:05 +00:00
Alexandre Julliard
db50578ddc
Avoid killing threads with TerminateThread, this can cause deadlocks.
2004-05-04 00:43:46 +00:00
Alexandre Julliard
a11b2bbafb
Updated the auto-generated tests.
2004-05-04 00:41:11 +00:00
Alexandre Julliard
9759474371
Make GetVolumeInformation default to reporting NTFS for non-FAT
...
filesystems.
2004-05-03 20:22:07 +00:00
Alexandre Julliard
2f8fd10647
OF_CREATE should force write access in OpenFile.
2004-05-03 20:20:54 +00:00
Aric Stewart
a56eadc92d
Strip leading whitespace when adding a new value and not just when
...
replacing a current value.
2004-05-03 20:18:43 +00:00
Jakob Eriksson
7874ce53bd
Prevent from crashing/hanging in Windows 95 OSR2.
2004-05-03 20:07:24 +00:00
Alexandre Julliard
643617f2ae
Moved most remaining file functions to dlls/kernel.
...
Removed files/file.c and include/file.h.
2004-05-01 05:25:07 +00:00
Alexandre Julliard
cba2fcaf61
Fixed last error code check in GetVolumeInformationW, opening a
...
non-existent device returns ERROR_FILE_NOT_FOUND now.
2004-05-01 03:05:36 +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
Uwe Bonnes
6ebf8b494c
Fixed buffer overflow.
2004-04-30 18:34:34 +00:00
Alexandre Julliard
07ddc60c04
Use RtlDosPathNameToNtPathName_U to build the registry entries for
...
MOVEFILE_DELAY_UNTIL_REBOOT.
2004-04-30 04:16:23 +00:00
Alexandre Julliard
c749433e26
Create the system heap event before the shared mapping to avoid a race
...
condition.
2004-04-29 20:02:01 +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
c349d7d297
Removed a number of internal file functions that are no longer used.
2004-04-28 03:53:19 +00:00
Jakob Eriksson
c49b9485df
Fixed tests to succeed on all Windows versions.
2004-04-28 03:52:02 +00:00
Alexandre Julliard
06c46d9aab
Reimplemented Get/SetCurrentDirectoryW using the corresponding ntdll
...
functions.
2004-04-28 01:04:24 +00:00
Alexandre Julliard
74f583ed19
DefineDosDeviceW: implemented the DDD_REMOVE_DEFINITION flag.
2004-04-27 02:43:40 +00:00
Alexandre Julliard
115862146a
Removed todo_wine from some tests that succeed now.
2004-04-27 02:27:47 +00:00
Alexandre Julliard
ad9b799324
Reimplemented CreateDirectoryW and RemoveDirectoryW using ntdll
...
functions.
2004-04-27 02:27:09 +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
Duane Clark
d6c537b43c
Add testing of PeekNamedPipe, multiple writes, and message mode.
2004-04-26 23:30:51 +00:00
Alexandre Julliard
a2963dacc3
Reimplemented GetLogicalDrives, GetLogicalDriveStrings and
...
GetDriveType using the new symlink mechanism.
Made GetDriveType attempt to autodetect the type if not specified in
the registry.
2004-04-23 23:31:58 +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
Jakob Eriksson
960104b249
When the Windows directory was something else than C:\WINDOWS
...
test_GetTempFileNameA() failed.
2004-04-22 23:44:14 +00:00
Alexandre Julliard
31a7a7847e
Changed MoveFileEx to use ntdll functions, and moved it to
...
dlls/kernel/path.c.
2004-04-21 22:27:34 +00:00
Emmanuel Maillard
9731286324
GetSystemInfo support for Darwin.
2004-04-21 22:22:09 +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
Alexandre Julliard
174e2a6464
Reimplemented GetFileAttributesW, SetFileAttributesW and SetFileTime
...
using the corresponding ntdll functionality.
2004-04-20 00:36:29 +00:00
Francois Gouget
6a6c85c6d8
Make Unicode const strings static so they are not copied to the stack
...
each time we enter the function.
2004-04-19 20:12:14 +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