Commit Graph

1025 Commits

Author SHA1 Message Date
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