Commit Graph

986 Commits

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