163 Commits

Author SHA1 Message Date
Hans Leidekker
2c061dbae6 kernel32: Check for NULL output buffer in FormatMessage{A, W}. 2007-09-27 12:47:07 +02:00
Dmitry Timoshkov
5be5b9c5c7 kernel32: Add a test for read-only mapping of a write-only section, test actual page access rights of the mapping. 2007-09-25 11:58:11 +02:00
Dmitry Timoshkov
808d38fdb6 kernel32: Print last error in failure messages of the MapViewOfFile test. 2007-09-20 15:52:05 +02:00
James Hawkins
8e90c6099e kernel32: Don't crash accessing an invalid handle in GlobalSize. 2007-09-20 14:27:13 +02:00
Dmitry Timoshkov
c6b7f7ccbe kernel32: Add a test for rw mapping of a read-only section. 2007-09-19 14:57:19 +02:00
James Hawkins
72a3f18338 kernel32: Return TRUE for all pointer params in GlobalUnlock. 2007-09-17 13:41:53 +02:00
James Hawkins
40dff81b5a kernel32: Fix the case where memory is freed twice in GlobalFree. 2007-09-17 13:41:49 +02:00
Rob Shearman
3f431a0646 server: Add get_token_statistics server call and use it to implement the TokenStatistics and TokenType levels for NtQueryInformationToken. 2007-09-14 14:43:46 +02:00
Rob Shearman
247b0c9b8e ntdll: Add a stub implementation of FSCTL_PIPE_IMPERSONATE that just impersonates the token of the current process. 2007-09-14 14:23:38 +02:00
Dmitry Timoshkov
dbd9c8db51 kernel32: Skip the comm test if the found com port doesn't respond. 2007-09-12 11:33:11 +02:00
Francois Gouget
9dc6f6cf54 kernel32/tests: Add tests for DebugActiveProcessStop() and DebugSetProcessKillOnExit(). 2007-08-31 12:08:58 +02:00
Francois Gouget
b6aa247093 server: Fix the crashed process exit code when the debugger exits without detaching. Add a conformance test. 2007-08-31 12:08:58 +02:00
Francois Gouget
9271fcc86d winedbg: 'winedbg --auto' and 'winedbg --minidump' should detach when done so as to not mess up the crashed process exit code. 2007-08-31 12:08:58 +02:00
Francois Gouget
1f0fb354f5 kernel32/tests: Don't call ok() in child processes. 2007-08-30 12:25:55 +02:00
Francois Gouget
a86c035d7f kernel32/tests: If the registry happens to be set up right, check that winedbg does not mess up the crashed process exit code (unfortunately it does). 2007-08-30 12:25:52 +02:00
Dmitry Timoshkov
a76ef05c90 ntdll: Do not leave not initialized cached timezone information if a timezone doesn't have daylight saving rules. 2007-08-29 14:08:20 +02:00
Paul Vriens
7626e5ec77 kernel32/tests: Skip some not implemented functions and add a few skip's. 2007-08-21 21:38:35 +02:00
Dmitry Timoshkov
d666143f88 ntdll: Detect current time zone settings. 2007-08-21 12:40:37 +02:00
Marcus Meissner
f2ccdecd4b kernel32: Initialize variable to a known bad value. 2007-08-16 12:01:50 +02:00
Francois Gouget
d18cf0c4f1 kernel32/tests: Remove a redundant RegSetValueExA() call. 2007-08-16 11:09:31 +02:00
Francois Gouget
6493c30c90 kernel32/tests: Test the debugger startup and crashed processes exit code. 2007-08-10 12:58:17 +02:00
Paul Vriens
5cb50202a0 kernel32/tests: Create paths after checking availability of functions. 2007-08-08 15:32:00 +02:00
Paul Vriens
e90f1e3568 kernel32/tests: Changed skip message. 2007-08-08 15:32:00 +02:00
Francois Gouget
f74d2a8fbf kernel32/tests: Re-balance the curly parentheses so winapi_check can parse the file. 2007-08-06 12:29:50 +02:00
Marcus Meissner
1ad6abfbbc kernel32/tests: Fixed size to MultiByteToWideChar. 2007-08-01 12:13:44 +02:00
Francois Gouget
5266e57975 Assorted spelling fixes. 2007-07-31 21:37:50 +02:00
Dmitry Timoshkov
9472e04447 kernel32: Skip remainder of the time zone test if SystemTimeToTzSpecificLocalTime not present. 2007-07-31 12:35:00 +02:00
Dmitry Timoshkov
a68059f4b7 kernel32: Add more tests for time zone info. 2007-07-30 13:39:10 +02:00
Jacek Caban
43adec3e81 kernel32: Added a number of activation context tests. 2007-07-26 19:42:06 +02:00
Matt Jones
6763742090 server: Only commit SetThreadPriority if new priority is correct. 2007-07-25 13:59:17 +02:00
Matt Jones
f204ed1d19 kernel32: Added test for bad arguments to SetThreadPriority, test for correct error value. 2007-07-25 13:56:29 +02:00
Anatoly Lyutin
857ff080eb kernel32/tests: Add test for GetShortPathNameW. 2007-07-20 11:45:02 +02:00
Alexandre Julliard
fec5117e91 server: Merge APC processing into the select request.
This is needed to return the correct value when one of the handles
being waited on is set to signaled state by the APC.
2007-07-16 16:14:45 +02:00
Alexandre Julliard
acb43cfef2 kernel32: Wait in overlapped Read/WriteFile even when no overlapped structure is passed. 2007-07-16 15:27:53 +02:00
Huw Davies
e59a947c88 kernel32: Overlapped pipe tests. 2007-07-16 14:53:42 +02:00
Paul Vriens
7a6fbf2b09 kernel32/tests: Add a forgotten if statement. 2007-07-09 11:46:22 +02:00
Paul Vriens
35edd40f33 kernel32/tests 2/2: Use skip for not implemented function. 2007-07-05 19:54:26 +02:00
Paul Vriens
4f86b5cd07 kernel32/tests: Don't crash on win98. 2007-07-05 19:54:19 +02:00
Paul Vriens
203bcf4271 kernel32/tests: Use skip when functions are not available. 2007-07-05 19:54:07 +02:00
Michael Stefaniuc
7596e3dd91 kernel32: Remove superfluous casts of void pointers to other pointer types. 2007-06-27 12:53:31 +02:00
Paul Vriens
d40233a448 kernel32/tests: Don't crash (on Vista). 2007-06-25 13:23:31 +02:00
Paul Vriens
71054631b2 kernel32/tests: Don't crash on Vista. 2007-06-25 13:23:26 +02:00
Alexandre Julliard
35ef5df76c kernel32: Rewrite GetOverlappedResult for the new async I/O behavior. 2007-06-04 23:03:15 +02:00
Francois Gouget
ed94ca1e4f kernel32/tests: src[i] is a char so there is no point trying to stuff 0xcafedead into it. 2007-05-29 12:13:35 +02:00
Francois Gouget
e5b1ca4cf5 kernel32/tests: Fix a signed/unsigned int mismatch. 2007-05-29 12:11:55 +02:00
Dmitry Timoshkov
3c9e7a7f33 wine: Switch to using 'long' for INT_PTR type for 64-bit compatibility. 2007-05-25 20:37:56 +02:00
Dmitry Timoshkov
c28ffeeb9a kernel32/tests: Fix a problem revealed by compilation in 64-bit mode. 2007-05-24 11:36:27 +02:00
Alexandre Julliard
cc54b7d9bd ntdll: Avoid overflows in heap allocations. Based on a patch by Rob Shearman. 2007-05-22 11:59:18 +02:00
Marcus Meissner
b45367347a kernel32: Skip modem status tests if GetModemStatus failed. 2007-05-21 12:38:56 +02:00
Dmitry Timoshkov
e690916f68 kernel32: Add an overflow test for MultiByteToWideChar. 2007-05-18 14:12:20 +02:00