Kai Blin
a30724304c
kernel32/tests: logfile can be NULL, avoid dereferencing it (Coverity).
2008-12-01 14:26:02 +01:00
Vitaly Lipatov
aa5358fdae
kernel32: gethostname returns string in CP_UNIXCP encoding.
2008-12-01 14:01:10 +01:00
Michael Stefaniuc
d26b02960c
kernel32: Remove some superfluous casts of void pointers.
2008-12-01 12:45:51 +01:00
Maarten Lankhorst
5f4275970e
kernel32: Fix 64-bits error in profile.
2008-11-26 13:38:27 +01:00
Francois Gouget
b3bf746ff9
Straighten out some ellipses.
2008-11-26 12:33:34 +01:00
Alexandre Julliard
f0483957dd
kernel32/tests: Fix the unimplemented check for EnumSystemLanguageGroupsA.
2008-11-26 12:04:32 +01:00
Alexandre Julliard
af8bb2e922
ntdll: Add support for virtual write watches.
2008-11-25 12:07:35 +01:00
Alexandre Julliard
a488ee8e7a
kernel32: Fix the base DOS memory address when the low 64K are not accessible.
2008-11-24 14:18:41 +01:00
Alexandre Julliard
752416f7c4
kernel32/tests: Fix the mailslot tests on Win9x.
2008-11-20 21:59:26 +01:00
Alexandre Julliard
d523c86a1b
kernel32/tests: Fix test failures on Win9x and NT4.
...
Get rid of most of the macros that make it hard to handle special cases.
2008-11-20 21:39:48 +01:00
Alexandre Julliard
8772c5f150
kernel32/tests: Add a couple of tests for write watches.
2008-11-20 14:27:35 +01:00
Francois Gouget
0a66633ce3
kernel32: Simplify and optimize create_(system,env)_registry_keys().
2008-11-19 12:08:22 +01:00
Francois Gouget
24eb38bdd4
kernel32: Fix create_scsi_entry() so it puts properly '\0'-terminated strings in the registry.
2008-11-19 12:08:19 +01:00
Alexandre Julliard
f4eaa15aec
kernel32: Moved allocation of the DOS memory area to ntdll.
2008-11-18 20:11:49 +01:00
Alexandre Julliard
0d6415df16
kernel32/tests: Allow up to 2 seconds of difference in timestamps.
2008-11-18 13:52:25 +01:00
Alexandre Julliard
1e02c1c3c8
kernel32/tests: Fix the process tests on NT4.
2008-11-17 23:37:00 +01:00
Alexandre Julliard
d68225eb41
kernel32/tests: Fix the mailslot tests on Vista.
2008-11-17 23:36:47 +01:00
Alexandre Julliard
cf1116107f
kernel32/test: Fix the timer queue tests on Vista.
2008-11-17 23:01:21 +01:00
Alexandre Julliard
61ea936d68
kernel32/tests: Fix pipe test on w2k3.
2008-11-17 13:16:26 +01:00
Alexandre Julliard
e4d7d902d5
kernel32/tests: Fix the write watch tests on Win98 and Win2000.
2008-11-14 20:36:20 +01:00
Paul Vriens
21765291cf
kernel32/tests: Fix timeouts on NT4 and W2K.
2008-11-14 14:28:29 +01:00
Alexandre Julliard
16feb03778
kernel32/tests: Fix the file test on various Windows versions.
2008-11-14 13:30:16 +01:00
Alexander Morozov
f52402e71a
kernel32: NT drivers can handle IOCTL codes with HIWORD == 0.
2008-11-14 11:19:21 +01:00
Alexandre Julliard
43fae4e425
kernel32/tests: Added a bunch of tests for write watches.
2008-11-14 11:02:15 +01:00
Alexandre Julliard
23be27ef80
kernel32: Added GetWriteWatch and ResetWriteWatch.
2008-11-14 11:02:15 +01:00
Alexandre Julliard
f2f0dead61
kernel32/tests: Fix the thread test to cope with the Win95 InterlockedIncrement behavior.
2008-11-13 11:49:36 +01:00
Alexandre Julliard
22949d94f0
kernel32: Don't request unneeded access in OpenFileMapping.
2008-11-13 11:49:17 +01:00
Alexandre Julliard
c1d2d86be7
kernel32: Implemented the Ex variants of CreateEvent/Mutex/Semaphore/WaitableTimer.
2008-11-11 14:03:00 +01:00
Alexandre Julliard
18ee259274
kernel32: Get the drive type from the mount manager instead of the registry.
2008-11-10 16:28:37 +01:00
Huw Davies
90ff82930a
kernel32: Fix a few Welsh translations.
2008-11-10 14:30:06 +01:00
Alexandre Julliard
b97d63d76f
kernel32: Explicitly request execute permission in MapViewOfFile.
2008-11-10 11:09:40 +01:00
Alexandre Julliard
1ff8e7dd41
kernel32/tests: Fix the thread test on NT4.
2008-11-10 11:09:18 +01:00
Alexandre Julliard
220a2c2c0b
kernel32/tests: Fix some resource test failures on NT4.
2008-11-10 11:09:11 +01:00
Alexandre Julliard
181e4f08b6
kernel32/tests: Fix some profile test failures on NT4.
2008-11-10 11:09:02 +01:00
Alexandre Julliard
a6ce819ca2
kernel32/tests: Fix one more failing test on Win9x.
2008-11-07 10:50:57 +01:00
Alexandre Julliard
cc49f6ba8b
kernel32/tests: Fix a few more errors on Win9x.
2008-11-06 11:23:16 +01:00
Alexandre Julliard
5e2ed6bfe9
ntdll,server: Fixed access checks for OpenFileMapping and MapViewOfFile.
2008-11-05 20:32:32 +01:00
Alexandre Julliard
f21096ad01
ntdll: Don't force anonymous file mappings to always be fully committed.
2008-11-05 12:31:49 +01:00
Alexandre Julliard
503269a4db
kernel32/tests: Add a few more tests, fix some failures on Windows.
2008-11-04 16:23:16 +01:00
Alexandre Julliard
fdf2e7a338
kernel32/tests: Fix a couple of failures on Windows.
2008-11-04 16:13:30 +01:00
Michael Stefaniuc
c9a10b32b4
kernel32: Do not cast zero.
2008-11-04 11:26:09 +01:00
Alexandre Julliard
3d6313c9ce
ntdll: Return more correct information for SystemBasicInformation and GetSystemInfo.
2008-11-03 13:34:13 +01:00
Alexandre Julliard
a4e688218c
kernel32: Call build_envp in the parent process so that it can use the Win32 heap.
2008-10-31 14:55:33 +01:00
Alexandre Julliard
da03d9355d
kernel32: Call build_argv in the parent process so that it can use the Win32 heap.
2008-10-31 14:02:04 +01:00
Alexandre Julliard
4932677e31
kernel32: Allocate global arenas on the Win32 heap.
2008-10-31 13:01:31 +01:00
Alexandre Julliard
5002bd21d1
kernel32: Moved the pthread emulation support to ntdll.
2008-10-30 15:39:50 +01:00
Alexandre Julliard
8551c8d50e
kernel32: Use ntdll functions where possible to implement the pthread wrappers.
2008-10-30 15:38:59 +01:00
Alexandre Julliard
7c6302b7ff
kernel32: Only try to open a VxD if opening a normal device failed.
2008-10-30 10:33:45 +01:00
Alexandre Julliard
74cdb539a4
ntdll: Store the exit code in the server in RtlExitUserThread.
2008-10-29 20:37:43 +01:00
Alexandre Julliard
21453b4c2e
ntdll: Allocate a new virtual region for large blocks, and ensure 16-byte alignment.
2008-10-29 17:32:45 +01:00
Dmitry Timoshkov
67be353040
kernel32: Don't ignore extended keys.
2008-10-28 12:13:46 +01:00
Alexandre Julliard
6dee4c6e63
kernel32: Return the Windows symlink in QueryDosDevice instead of the Unix one.
2008-10-24 14:24:58 +02:00
Aric Stewart
65e677735e
ntdll: Update behavior of ActivationContextBasicInformation.
2008-10-22 14:57:22 +02:00
Paul Vriens
61b84b0862
kernel32/tests: Skip a test if needed.
2008-10-22 13:54:54 +02:00
Paul Vriens
dda38adce5
kernel32/tests: Fix a few failures on win9x and winme.
2008-10-22 13:54:54 +02:00
Paul Vriens
5b83196484
kernel32/tests: Free memory after use.
2008-10-21 11:43:18 +02:00
Francois Gouget
215738a140
dirent.h is a conditional include now.
2008-10-20 11:37:27 +02:00
Alexandre Julliard
bcc77a89b2
kernel32: Convert source files to utf-8.
2008-10-18 19:20:02 +02:00
Rob Shearman
1b5e84a588
kernel32: Fix some Esperanto day and month names.
2008-10-17 20:15:57 +02:00
Alexandre Julliard
1873ebdddc
kernel32: Delete the .windows-label file if the label is empty.
...
Add a trailing \n to the label file.
2008-10-17 14:12:19 +02:00
Rob Shearman
d7944ae177
kernel32: Convert NLS resource files using hex-encoded UTF-16 strings into UTF-8.
2008-10-17 13:02:36 +02:00
Aric Stewart
0738505173
kernel32/tests: Add test for GetCommandLineW.
2008-10-16 11:42:50 +02:00
Aric Stewart
6ec0e71e17
kernel32/tests: Add a test for CreateProcess with an AppName set.
2008-10-16 11:41:50 +02:00
Jacek Caban
a849136d5e
kernel32: Added GetLogicalDriveStrings tests.
2008-10-16 11:21:46 +02:00
Jacek Caban
2e9aa16da9
kernel32: Return uppercase drive letter in GetLogicalDriveStrings.
2008-10-16 11:21:44 +02:00
Dmitry Timoshkov
228c52de57
kernel32: Add support for foreign process handles in GetProcessVersion.
2008-10-16 11:21:40 +02:00
Andrew Talbot
5ae5a68ed3
kernel32: Sign-compare warnings fix.
2008-10-15 14:01:53 +02:00
Andrey Turkin
7ba54ab45c
kernel32: Add ExitProcess wrapper to please Shrinker.
2008-10-08 14:26:19 +02:00
Paul Vriens
839b5400cd
kernel32/tests: Add a missing newline.
2008-10-07 15:20:24 +02:00
Paul Vriens
81f75c1840
kernel32/tests: Fix failures on WinMe.
2008-10-07 12:11:59 +02:00
Paul Vriens
b16983c1bc
kernel32/tests: We need the return value.
2008-10-07 12:11:52 +02:00
Paul Vriens
a1131786e4
kernel32/tests: Add some skips to fix failures on WinMe.
2008-10-06 15:31:04 +02:00
Paul Vriens
32af90d53a
kernel32/tests: Fix some failures on win9x.
2008-10-06 13:55:15 +02:00
Paul Vriens
cc57b863b5
kernel32/tests: Fix the remaining errors on win95.
2008-10-06 13:55:12 +02:00
Reece Dunn
4193d78029
kernel32: Be more verbose when reporting the sync test failures.
2008-09-30 11:33:24 -05:00
Erik Inge Bolsø
e8754b8ea6
kernel32: Fix PROFILE_Load to handle mac line endings.
2008-09-23 13:07:40 +02:00
Paul Vriens
1c5043e73d
kernel32/tests: Add extra tests for SetCurrentDirectory.
2008-09-22 12:16:46 +02:00
Paul Vriens
7cb7c14476
kernel32/tests: Make sure we can remove a test directory.
2008-09-22 12:16:07 +02:00
Paul Vriens
e23904ceb9
kernel32/tests: Fix tests on NT4.
2008-09-22 12:16:00 +02:00
Paul Vriens
40a94e04b4
kernel32/tests: Skip some tests on win9x.
2008-09-22 12:15:24 +02:00
Paul Vriens
ed55217444
kernel32/tests: Use skip instead of trace.
2008-09-22 12:15:17 +02:00
Francois Gouget
7af03a041a
kernel32/tests: Fix compilation on systems that don't support nameless unions.
2008-09-22 11:51:56 +02:00
Alexandre Julliard
7e54db23e9
kernel32/tests: Fix a couple of tests failing on NT4.
2008-09-19 14:03:40 +02:00
Alexandre Julliard
ea39761d3a
kernel32/tests: Fix race condition in the thread test.
2008-09-19 12:21:45 +02:00
Jeff Zaroyko
22a33168c9
kernel32: Modify DeleteFileW to fail on directories.
2008-09-18 12:32:57 +02:00
Alexandre Julliard
382ef908f1
kernel32/tests: Handle the win2k3 version check behavior.
2008-09-17 16:29:53 +02:00
Rob Shearman
1229e0ab29
kernel32: Fix character count passed to GlobalGetAtomNameW in test_get_atom_name.
2008-09-17 12:01:57 +02:00
Dmitry Timoshkov
b4e6aa645b
kernel32: Fix the target buffer size.
2008-09-17 10:54:48 +02:00
Vitaliy Margolen
c51ca17892
kernel32: Use NULL attributes if name and SA are not not specified.
2008-09-17 10:54:32 +02:00
Alexandre Julliard
b1412422ad
kernel32/tests: Comment out an UpdateResource call that causes failures.
2008-09-16 22:36:58 +02:00
Alexandre Julliard
337fa823d2
kernel32/tests: Support alternate results in the loader test on Vista.
2008-09-16 22:36:42 +02:00
Alexandre Julliard
9f0773587b
kernel32/tests: Fix a test on win9x.
2008-09-16 22:36:04 +02:00
Roy Shea
91e33020f0
kernel32/test: Test import entries of a core windows DLL.
2008-09-15 11:55:04 +02:00
Marcus Meissner
395c4163b8
kernel32/tests: Pass correct size to MultiBytetoWideChar.
2008-09-15 11:44:14 +02:00
Michael Karcher
fe09bc1a39
kernel32: Clean up PROFILE_isspaceW.
2008-09-15 11:43:13 +02:00
Vitaliy Margolen
0b6f677d10
kernel32: Use FileStandardInformation to get file size.
2008-09-15 11:28:37 +02:00
Paul Vriens
d81aff24c6
kernel32/tests: Skip tests on Win95.
2008-09-15 11:23:34 +02:00
Alexandre Julliard
c9f84aa9f9
kernel32/tests: Fix the ResumeThread on win9x.
2008-09-11 14:10:35 +02:00
Alexandre Julliard
33c5d44d49
kernel32/tests: Fix the BindIoCompletionCallback test on Vista.
2008-09-11 14:07:54 +02:00
Alexandre Julliard
f0bf098e16
kernel32/tests: Fix the async I/O test to handle errors properly.
2008-09-11 13:49:16 +02:00
Alexandre Julliard
ee375f7c22
kernel32: Added implementation for UnregisterWaitEx.
2008-09-11 11:49:40 +02:00
Dmitry Timoshkov
4d672ba090
kernel32: Use a kernel error code.
2008-09-11 11:46:02 +02:00
Paul Vriens
5737fb815c
kernel32/tests: Fix a few failures on win98.
2008-09-08 12:49:12 +02:00
Paul Vriens
c461eba067
kernel32/tests: Fix 2 tests on win9x.
2008-09-08 12:49:12 +02:00
Paul Vriens
c3a58cc7d8
kernel32/tests: Fix a few tests on win9x.
2008-09-08 12:49:12 +02:00
Francois Gouget
d8914673ba
kernel32/tests: Add a trailing '\n' to an ok() call.
2008-09-05 13:39:13 +02:00
Paul Vriens
94b73a6d04
kernel32/tests: Split the test for ret and last error.
2008-09-05 11:20:59 +02:00
Alexandre Julliard
b44a109b8c
kernel32: Implemented the wrapper functions for job objects.
2008-09-04 22:51:02 +02:00
Jeff Zaroyko
1b5873accc
kernel32: Add some tests for DeleteFile.
2008-09-03 14:21:44 +02:00
James Hawkins
d6bb1d9a70
kernel32: Fix a failing test in win95.
2008-09-03 14:21:42 +02:00
James Hawkins
57cda911a9
kernel32: Fix a test that fails in win2k3.
2008-09-03 13:14:50 +02:00
James Hawkins
731306bf78
kernel32: Fix two tests that fail in win2k3 and modify LoadLibraryEx to match this behavior.
2008-09-03 13:14:50 +02:00
James Hawkins
b1ff962182
kernel32: Fix a failing test in Vista.
2008-09-03 13:14:50 +02:00
James Hawkins
816f57cbb1
kernel32: Add tests for LoadLibraryEx.
2008-08-29 13:29:36 +02:00
James Hawkins
7d7d799284
kernel32: Trace the last error on failure.
2008-08-29 13:23:03 +02:00
James Hawkins
806edcc496
kernel32: Fix two failing tests in win95.
2008-08-29 13:22:55 +02:00
James Hawkins
39732cf927
kernel32: Trace the modified buffer on error.
2008-08-29 13:22:50 +02:00
James Hawkins
9aef134bdc
kernel32: Fix a failing test in win95.
2008-08-29 13:22:31 +02:00
Paul Vriens
56ba2baa01
kernel32/tests: Use skip instead of trace.
2008-08-26 10:57:50 +02:00
Paul Vriens
ac07480fab
kernel32/tests: Use a file that is available on all platforms.
2008-08-26 10:57:05 +02:00
Paul Vriens
920c1fc77a
kernel32/tests: Fix two failures on win9x.
2008-08-26 10:56:58 +02:00
Alexandre Julliard
49421014b7
kernel32: Fix a compiler warning on Mac OS.
2008-08-21 16:04:58 +02:00
Alexander Nicolaysen Sørnes
edf48ea287
kernel32/winerr: Add Norwegian Bokmål translation.
2008-08-21 12:51:56 +02:00
Michael Karcher
34aa6b7002
kernel32: Fix profile cache logic and don't cache new files.
2008-08-20 14:56:15 +02:00
Alexander Morozov
ea1e7555a9
kernel32: Fix a typo.
2008-08-20 10:23:17 +02:00
Michael Karcher
c2a26cee16
kernel32/tests: Fix profile crash on NT and up.
2008-08-19 15:19:29 +02:00
Rob Shearman
e1e6caf81c
kernel32: Fix a typo in the leadin check in WaitNamedPipeW.
2008-08-18 17:34:13 +02:00
Michael Karcher
33ca67dcab
kernel32: Fix profile sharing mode.
...
Based on a patch from Austin English.
2008-08-18 17:15:56 +02:00
Ken Thomases
59bf036c80
kernel32: Strip modifiers from the Mac locale so setlocale can parse it.
...
The CFLocale API can produce locale identifiers with modifiers, such as
"pl_PL@currency=EUR". However, the Mac setlocale() can't understand such
locale strings.
2008-08-18 14:34:10 +02:00
Huw Davies
d5f6d841c1
kernel32: GetCalendarInfo shouldn't return HRESULT codes. Change a MESSAGE to a FIXME.
2008-08-18 13:37:31 +02:00
Paul Vriens
0d88bf89dc
kernel32/tests: Show the setting of the debugger registry value.
2008-08-05 14:09:37 +02:00
Paul Vriens
7661c6989d
kernel32/tests: Fix a test failure on Win9x.
2008-08-05 14:09:34 +02:00
Francois Gouget
a793888a28
Assorted spelling fixes.
2008-08-04 13:04:48 +02:00
Paul Vriens
b2093dc86a
kernel32/tests: Skip tests when codepage is not available.
2008-08-04 13:01:24 +02:00
Colin Finck
eb8a6f70f5
kernel32/tests: Fix a wrong length passed to a WideCharToMultiByte test, which led to a use of uninitialized stack memory.
2008-08-01 11:18:11 +02:00
Colin Finck
c2c1a55f1c
kernel32: Add a lot of new tests for the actual WideCharToMultiByte string conversion as well.
2008-07-31 14:09:07 +02:00
Dan Hipschman
54752c4f87
kernel32/tests: Add tests for undocumented default timer queue "features".
2008-07-30 12:44:31 +02:00
Dan Hipschman
a148e190af
ntdll: Add support for a default timer queue.
2008-07-30 12:44:25 +02:00
Detlef Riekenberg
5437f4ce9c
kernel32/tests: Fix a crash on win9x (lpDefault is truncated inplace).
2008-07-28 11:35:38 +02:00
Dan Hipschman
2b287a4489
ntdll: Fix a small timer-queue bug whereby a deleted timer may still expire.
2008-07-28 11:32:21 +02:00
Dan Hipschman
4c64d0cdfa
ntdll: Implement RtlDeleteTimer for kernel32's DeleteTimerQueueTimer.
2008-07-25 14:09:15 +02:00
Dan Hipschman
396e47ef5c
ntdll: Implement RtlUpdateTimer for kernel32's ChangeTimerQueueTimer.
2008-07-25 14:09:15 +02:00
Dan Hipschman
5ef54c4cec
ntdll: Implement the timer queue thread.
2008-07-25 14:09:15 +02:00
Cesar Eduardo Barros
fee6b384e1
kernel32: Add stub for CreateHardLink.
2008-07-25 13:21:23 +02:00
Nicolas Le Cam
eb612fd4dc
kernel32/tests: Fix a failing test in Vista.
2008-07-23 13:54:06 +02:00
Dan Hipschman
d343f2baf7
ntdll: Implement RtlCreateTimer for kernel32's CreateTimerQueueTimer.
2008-07-23 11:24:03 +02:00
H. Verbeet
ff870e0132
server: Calling ResumeThread() on a terminated thread is valid.
2008-07-23 11:21:47 +02:00
Dan Hipschman
20a1ca2bbf
ntdll: Implement [Rtl]Create/DeleteTimerQueue[Ex].
2008-07-22 13:24:21 +02:00
Dan Hipschman
09f4ca64e2
kernel32/tests: Check that timers are not NULL in timer queue tests.
2008-07-22 13:21:48 +02:00
Dan Hipschman
bf0f78b11a
kernel32/tests: Add tests for Change/DeleteTimerQueueTimer.
2008-07-22 13:21:29 +02:00