Commit Graph

2094 Commits

Author SHA1 Message Date
Dmitry Timoshkov cdc306651c kernel32/tests: Use THREAD_ALL_ACCESS definition compatible with versions of Windows before Vista. 2014-02-07 16:28:51 +01:00
Dmitry Timoshkov 448d7770dc kernel32/tests: Use PROCESS_ALL_ACCESS definition compatible with versions of Windows before Vista. 2014-02-07 16:28:48 +01:00
Aric Stewart 5c8fe3a40f kernel32: Add system message for ERROR_NOT_CONNECTED. 2014-02-07 13:11:58 +01:00
Frédéric Delanoy cb167e8e18 kernel32/tests: Remove unused variable. 2014-02-04 11:21:42 +01:00
Marcus Meissner 5d58b92b73 kernel32/tests: Initial threadpool test. 2014-02-04 11:14:52 +01:00
Francois Gouget bff3d35e20 Assorted spelling fixes. 2014-01-30 15:00:34 +01:00
André Hentschel 8439cc9da4 kernel32: Use boolean return values in boolean functions. 2014-01-30 14:51:37 +01:00
Alexandre Julliard cf0e96c6d0 configure: Rename substituted variables to a standard _CFLAGS and _LIBS format. 2014-01-30 14:51:33 +01:00
André Hentschel bbd71d6b72 kernel32: Fix out of bounds access in DnsHostnameToComputerName[AW]. 2014-01-30 10:33:28 +01:00
Austin English ea765ae005 kernel32: Quiet a noisy FIXME. 2014-01-29 14:58:35 +01:00
Frédéric Delanoy 3201f970b6 kernel32/tests: Use common wine_dbgstr_guid implementation from test.h. 2014-01-29 14:50:51 +01:00
Sebastian Lackner 2ff6bd271b kernel32/tests: Add tests for SleepConditionVariableSRW. 2014-01-27 14:13:50 +01:00
Sebastian Lackner 72cf5d6f12 kernel32: Forward SleepConditionVariableSRW to ntdll. 2014-01-27 14:13:49 +01:00
Sebastian Lackner e7b3a43759 kernel32/tests: Add tests for TryAcquireSRWLockExclusive/Shared. 2014-01-27 14:13:47 +01:00
Sebastian Lackner 60c0637f62 kernel32: Forward TryAcquireSRWLockShared/Exclusive to ntdll. 2014-01-27 14:13:46 +01:00
Dmitry Timoshkov 294adeec4f kernel32/tests: Don't forget to delete a temporary file. 2014-01-27 14:13:40 +01:00
Dmitry Timoshkov 9703bee560 kernel32/tests: Don't forget to delete temporary manifest files. 2014-01-27 14:13:39 +01:00
Sebastian Lackner 31a283d4da ntdll: Implement SRWLock functions using keyed events. 2014-01-17 11:26:38 +01:00
Sebastian Lackner 0c77f89f61 kernel32/tests: Add a SRWLock test to simulate a typical use case. 2014-01-14 20:18:28 +01:00
Sebastian Lackner d7ff42a091 kernel32/tests: Add basic tests for SRWLock commands. 2014-01-14 20:18:27 +01:00
Frédéric Delanoy 7215eb2497 kernel32/tests: Unconstify a character string. 2014-01-10 12:04:10 +01:00
Frédéric Delanoy 91f2435469 Assorted spelling fixes. 2014-01-09 17:39:59 +01:00
Sebastian Lackner ddc7f300e2 kernel32: Forward condition variable functions to ntdll. 2014-01-08 14:34:14 +01:00
André Hentschel 1c61a53ef6 kernel32/tests: Don't test last error on success. 2014-01-08 11:10:27 +01:00
André Hentschel 29907a2862 kernel32/tests: Add missing last errors for win8. 2014-01-07 10:42:32 +01:00
André Hentschel 6db63a1867 kernel32/tests: Allow more last errors from win8. 2014-01-06 17:16:33 +01:00
Zhenbo Li 767c09f16f kernel32/tests: Add one more test for FindFirstFileA. 2014-01-02 17:46:00 +01:00
Alexandre Julliard 99ef0d6ff0 makefiles: Get rid of the MAKE_TEST_RULES variable. 2014-01-02 12:13:16 +01:00
Alexandre Julliard 5e7416e5c8 makefiles: Get rid of the MAKE_DLL_RULES variable. 2014-01-02 12:08:18 +01:00
Sebastian Lackner 3caa4e035d kernel32: Prevent endless loop if NtQuerySystemInformation fails. 2014-01-01 20:45:31 +01:00
Nikolay Sivov 1e1084232d ntdll: Fix manifest attribute parsing. 2014-01-01 19:32:56 +01:00
Nikolay Sivov aa4ebeb57c ntdll: Fix return value when failed to locate resource. 2013-12-30 19:01:45 +01:00
Nikolay Sivov 031c027262 ntdll: Open source file only when needed during context creation. 2013-12-30 19:01:44 +01:00
André Hentschel a803c496b2 kernel32/tests: Accept more win8 return values. 2013-12-26 13:44:34 +01:00
André Hentschel 5a6d38c2bd kernel32: Adapt input checking in OpenConsoleW to match win8 behaviour. 2013-12-26 13:42:55 +01:00
Frédéric Delanoy 5f6b0d0027 kernel32/tests: Constify some character strings. 2013-12-24 11:22:52 +01:00
Zhenbo Li f39c64a85c kernel32/tests: Add some tests for DeleteFileA. 2013-12-23 18:39:58 +01:00
Huw Davies 67545ed54c kernel32: Give the non-wildcard case a chance of succeeding first time around. 2013-12-04 21:19:04 +01:00
Frédéric Delanoy 5ba7f79bad Assorted spelling fixes. 2013-12-03 19:41:53 +01:00
Frédéric Delanoy 6e472d8bc3 kernel32: Use BOOL type where appropriate. 2013-11-25 15:15:53 +01:00
Nikolay Sivov a2bcfa28d4 kernel32: Add more LoadLibraryEx() flags defines and mark them as unsupported. 2013-11-25 15:15:52 +01:00
Nikolay Sivov 2ab0002674 kernel32/tests: Test for LoadLibraryEx() with full path without extension. 2013-11-22 16:08:44 +01:00
Nikolay Sivov 48c97ad0bc kernel32/tests: Some more tests for SearchPath(). 2013-11-22 16:08:35 +01:00
Alexandre Julliard 1e78c99388 kernel32: Validate the architecture of newly created processes on the server side. 2013-11-22 12:32:48 +01:00
Alexandre Julliard f2c54dba01 kernel32: Determine the module architecture for all binary types. 2013-11-22 12:25:30 +01:00
Alexandre Julliard e8eb781327 server: Check PE file architecture at mapping creation time. 2013-11-21 19:39:02 +01:00
Alexandre Julliard 55eb7e56e8 kernel32/tests: Add some tests for invalid image section mappings. 2013-11-21 19:39:02 +01:00
Alexandre Julliard 70d490aa3d kernel32/tests: Add a helper function for creating a test dll. 2013-11-21 19:39:02 +01:00
Alexandre Julliard 3dc1f20f03 kernel32/tests: Make the page size a global variable. 2013-11-21 19:39:02 +01:00
Frédéric Delanoy a10dfea044 kernel32/tests: Use BOOL type where appropriate. 2013-11-19 18:47:36 +01:00
Piotr Caban 18f7f637b0 kernel32/tests: Fix IdnToNameprepUnicode tests. 2013-11-18 11:17:51 +01:00
André Hentschel 4ecc9788bd ntdll: Adjust NtAreMappedFilesTheSame to win8 behaviour. 2013-11-13 11:21:50 +01:00
Dmitry Timoshkov a890d0f030 server: Make it possible for WaitCommEvent to detect recursive requests. 2013-11-13 11:21:28 +01:00
André Hentschel b6b9050d58 ntdll: Implement LdrResolveDelayLoadedAPI. 2013-11-12 12:58:03 +01:00
André Hentschel c6f70ca853 kernel32/tests: Improved tests for the ResolveDelayLoadedAPI callback. 2013-11-12 12:57:54 +01:00
Alexandre Julliard 456c8f435a makefiles: Remove the no longer needed EXTRASUBDIRS variables. 2013-11-09 22:10:52 +01:00
Daniel Lehman 37dad12971 kernel32: Use ANSI code page if current thread locale has no code page. 2013-11-08 16:29:43 +01:00
Frédéric Delanoy da6c728195 Assorted spelling fixes. 2013-11-07 19:01:20 +01:00
Francois Gouget 375d8a39e2 kernel32: Avoid an unneeded abbreviation in an error message. 2013-11-05 20:38:20 +01:00
André Hentschel cb1806db26 kernel32/tests: Test ResolveDelayLoadedAPI with generated dll. 2013-11-04 19:15:43 +01:00
Francois Gouget c31280d6e1 kernel32/tests: Check that WaitCommEvent() returns immediately in overlapped mode. 2013-11-01 10:57:14 +01:00
Francois Gouget 7425d2cac2 kernel32/tests: Remove a couple of incorrect CreateFile() console tests. 2013-11-01 10:57:14 +01:00
Francois Gouget 62ddaf8f6a kernel32/tests: On Windows 8 IdnToNameprepUnicode() returns a different error for invalid parameters. 2013-11-01 10:55:20 +01:00
Francois Gouget c0dbfebe04 kernel32/tests: On Windows 8 DATE_LONGDATE does not output a leading 0 for the day. 2013-11-01 10:54:55 +01:00
Francois Gouget 18a9aba058 kernel32/tests: Windows 8 returns different error codes. 2013-11-01 10:54:12 +01:00
Francois Gouget f399e90306 kernel32/tests: Fix some module tests on Windows 8.
Windows 8 and 8.1 return some different error codes and
GetDllDirectory() handles buffer termination a bit differently.
2013-11-01 10:53:41 +01:00
Dmitry Timoshkov eba2f43221 kernel32: Add special case for "." and ".." to GetLongPathName. 2013-10-30 09:43:40 +01:00
Dmitry Timoshkov d57444a622 kernel32: Add special case for "." and ".." to GetShortPathName. 2013-10-30 09:43:30 +01:00
Dmitry Timoshkov 4befefa94d kernel32/tests: Add tests for GetLongPathName/GetShortPathName and relative paths. 2013-10-29 10:21:30 +01:00
Dmitry Timoshkov d97a36c51f kernel32/tests: Update trace message to report actually used timeout value. 2013-10-28 10:43:00 +01:00
Dmitry Timoshkov 3b429e88ff server: Add support for pending write flag to the serial device. 2013-10-25 13:36:01 +02:00
Dmitry Timoshkov 53e727ef95 kernel32/tests: WaitCommEvent may sometimes return immediately on a busy system when write operation to a COM-port has already completed. 2013-10-25 13:36:01 +02:00
Dmitry Timoshkov 0db996e14c kernel32/tests: Increase the timeout for completion of write to a COM-port.
It's not enough for some hardware configurations.
2013-10-25 13:36:01 +02:00
Dmitry Timoshkov b46bd115bb kernel32/tests: Accept the case when WriteFile is able to complete the request immediately for an overlapped COM-port write.
The behaviour depends on the driver and hardware used.
2013-10-25 13:36:01 +02:00
Daniel Lehman 0669a8aca2 kernel32: Don't use depth in RtlInterlockedFlushSList.
Depth wraps around at 65536 but list supports more elements.
2013-10-24 10:56:13 +02:00
Frédéric Delanoy f56e9ebe38 kernel32/tests: Use BOOL type where appropriate. 2013-10-24 10:49:53 +02:00
Frédéric Delanoy 7ab78b4e03 kernel32: Use BOOL type where appropriate. 2013-10-24 10:49:11 +02:00
Dmitry Timoshkov 231a31223c kernel32/tests: Enable kernel32 tests compilation with __WINESRC__ defined. 2013-10-22 16:37:40 +02:00
Dmitry Timoshkov 3fa1b837cf kernel32/tests: Fix volume tests compilation with __WINESRC__ defined. 2013-10-22 16:37:40 +02:00
Dmitry Timoshkov 7dab5fe998 kernel32/tests: Fix version tests compilation with __WINESRC__ defined. 2013-10-22 16:37:40 +02:00
Dmitry Timoshkov 965d903f33 kernel32/tests: Fix toolhelp tests compilation with __WINESRC__ defined. 2013-10-22 16:37:40 +02:00
Dmitry Timoshkov 7e39bfc04b kernel32/tests: Fix timer tests compilation with __WINESRC__ defined. 2013-10-22 16:37:40 +02:00
Dmitry Timoshkov abbe8b3d02 kernel32/tests: Fix thread tests compilation with __WINESRC__ defined. 2013-10-22 16:37:40 +02:00
Dmitry Timoshkov 31917bfa73 kernel32/tests: Fix synchronization tests compilation with __WINESRC__ defined. 2013-10-22 16:37:39 +02:00
Dmitry Timoshkov a18087e5d1 kernel32/tests: Fix resource tests compilation with __WINESRC__ defined. 2013-10-22 16:37:39 +02:00
Dmitry Timoshkov f776e879fd kernel32/tests: Fix profile tests compilation with __WINESRC__ defined. 2013-10-22 16:37:39 +02:00
Dmitry Timoshkov 5628183bf4 kernel32/tests: Fix pipe tests compilation with __WINESRC__ defined. 2013-10-22 16:37:39 +02:00
Dmitry Timoshkov b2e9561a2d kernel32/tests: Fix path tests compilation with __WINESRC__ defined. 2013-10-22 16:37:39 +02:00
Dmitry Timoshkov f1a6bf70bf kernel32/tests: Fix module tests compilation with __WINESRC__ defined. 2013-10-22 16:37:39 +02:00
Dmitry Timoshkov 9d5ddd25e1 kernel32/tests: Fix mailslot tests compilation with __WINESRC__ defined. 2013-10-22 16:37:39 +02:00
Dmitry Timoshkov 020bd36323 kernel32/tests: Fix locale tests compilation with __WINESRC__ defined. 2013-10-21 20:23:54 +02:00
Dmitry Timoshkov e02774ad40 kernel32/tests: Fix heap tests compilation with __WINESRC__ defined. 2013-10-21 20:23:54 +02:00
Dmitry Timoshkov d44cc84381 kernel32/tests: Fix FormatMessage tests compilation with __WINESRC__ defined. 2013-10-21 20:23:54 +02:00
Dmitry Timoshkov 8014c7cbbb kernel32/tests: Fix file tests compilation with __WINESRC__ defined. 2013-10-21 20:23:54 +02:00
Dmitry Timoshkov f8fbe80cc7 kernel32/tests: Fix fiber tests compilation with __WINESRC__ defined. 2013-10-21 20:23:54 +02:00
Dmitry Timoshkov 79ac1fa33f kernel32/tests: Fix debugger tests compilation with __WINESRC__ defined. 2013-10-21 20:23:54 +02:00
Dmitry Timoshkov fd65dfbac9 kernel32/tests: Fix console tests compilation with __WINESRC__ defined. 2013-10-21 20:23:54 +02:00
Dmitry Timoshkov 93a54c03be kernel32/tests: Fix file change notification tests compilation with __WINESRC__ defined. 2013-10-21 20:23:54 +02:00
Dmitry Timoshkov 519e2d8a98 kernel32/test: Fix activation context tests compilation with __WINESRC__ defined. 2013-10-21 20:23:53 +02:00
Dmitry Timoshkov 193c837989 kernel32/tests: Fix time tests compilation with __WINESRC__ defined. 2013-10-17 20:29:29 +02:00