Commit Graph

2181 Commits

Author SHA1 Message Date
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
Dmitry Timoshkov 373178cdf1 kernel32/tests: Fix environment tests compilation with __WINESRC__ defined. 2013-10-17 20:29:29 +02:00
Dmitry Timoshkov 6e07317939 kernel32/tests: Fix communication port tests compilation with __WINESRC__ defined. 2013-10-17 20:29:28 +02:00
Dmitry Timoshkov 035295bb31 kernel32/tests: Fix virtual memory tests compilation with __WINESRC__ defined. 2013-10-17 20:29:28 +02:00
Dmitry Timoshkov 6774accd02 kernel32/tests: Fix process tests compilation with __WINESRC__ defined. 2013-10-17 20:29:28 +02:00
Dmitry Timoshkov ddb6632155 kernel32/tests: Fix PE loader tests compilation with __WINESRC__ defined. 2013-10-17 20:29:28 +02:00
Nikolay Sivov 9a6567d1a6 kernel32: Added support for GET_MODULE_HANDLE_EX_FLAG_PIN. 2013-10-15 14:28:20 +02:00
Dmitry Timoshkov 49d0e64f88 kernel32: The return and last error values set by ReadFile on EOF depend on whether overlapped pointer was passed in. 2013-10-11 12:45:06 +02:00
Dmitry Timoshkov aa8546ecc2 ntdll: Add support for FILE_APPEND_DATA to NtWriteFile. 2013-10-07 14:44:35 +02:00
Francois Gouget dd71bc567b kernel32/tests: Fix compilation on systems that don't support nameless unions. 2013-10-07 14:44:35 +02:00
Frédéric Delanoy baf491b80b kernel32: Use BOOL type where appropriate. 2013-10-03 12:54:37 +02:00
Michael Stefaniuc 0e681027a2 tests: Compile the tests by default with -D__WINESRC__. 2013-10-02 11:04:02 +02:00
Michael Stefaniuc 9463dba830 tests: Use the explicit LoadLibraryA function. 2013-10-02 11:02:21 +02:00
Francois Gouget d3672524ed Assorted spelling fixes. 2013-10-01 19:09:08 +02:00
Frédéric Delanoy 6918c86544 kernel32: Use BOOL type where appropriate. 2013-09-26 21:34:13 +02:00
Dmitry Timoshkov a20b07c558 ntdll: Make asynchronous WaitCommEvent report correct number of bytes returned. 2013-09-26 10:46:54 +02:00
Dmitry Timoshkov b4e375ecf4 kernel32/tests: Add DuplicateHandle test to the file access tests. 2013-09-25 11:50:03 +02:00
Michael Stefaniuc 2a39cb377a dlls: Replace the remaining CONSTs. 2013-09-25 11:49:20 +02:00
Dmitry Timoshkov 2ffd28cff7 ntdll: Perform the offset checks in NtWriteFile also for a serial device. 2013-09-25 11:48:56 +02:00
Dmitry Timoshkov 084f4b643c ntdll: Perform the offset checks also for a serial device. 2013-09-23 20:32:22 +02:00
Dmitry Timoshkov 96c6ad4aa7 kernel32/tests: Add FILE_APPEND_DATA case to the file access tests. 2013-09-23 11:49:58 +02:00
Dmitry Timoshkov b4ab43b3de kernel32: Remove a 0-length read optimization from ReadFile. 2013-09-20 11:11:47 +02:00
Dmitry Timoshkov 70930fa12c kernel32/tests: Add 0-length read tests for a pipe. 2013-09-20 11:11:27 +02:00
Dmitry Timoshkov 0c024503db kernel32/tests: Add 0-length read tests for a mailslot. 2013-09-20 11:11:03 +02:00
André Hentschel 22cd7a10cf kernel32/tests: Add initial CreateFile2 tests based on the CreateFileW tests. 2013-09-17 12:27:00 +02:00
Dmitry Timoshkov 6a6b4c5000 kernel32/tests: Add a file access test. 2013-09-13 12:14:12 +02:00
Nikolay Sivov 84d9b2502e ntdll: Added compatible ProgID section. 2013-09-13 10:54:53 +02:00
Nikolay Sivov b8a973dc52 kernel32/tests: Some tests for ProgID section. 2013-09-13 10:54:13 +02:00
André Hentschel 21c3cfe541 kernel32/tests: Add tests for ResolveDelayLoadedAPI. 2013-09-12 11:06:42 +02:00
Nikolay Sivov 33f61eccfa kernel32/tests: Some tests for CopyFile2(). 2013-09-12 11:03:39 +02:00
Nikolay Sivov 41057a174d kernel32: Support activation context in SearchPath(). 2013-09-12 11:02:22 +02:00
Dmitry Timoshkov d15e08ae5e kernel32/tests: Add a read/write test for a COM port. 2013-09-11 20:33:22 +02:00
Nikolay Sivov 37182e3f0f ntdll: Try application manifest path when searching for dependent assemblies. 2013-09-11 20:33:22 +02:00
Dmitry Timoshkov f031c676c1 server: Add a serial event mask change counter. 2013-09-10 11:18:57 +02:00
André Hentschel fa6b058070 kernel32: Add partial CreateFile2 implementation. 2013-09-10 11:06:31 +02:00
Bruno Jesus 3465646d44 kernel32: Fix parameters checking for GetVolumePathName(). 2013-09-09 22:09:59 +02:00
Nikolay Sivov bcbd13b70c ntdll: Added compatible sections for clrClass data. 2013-09-09 22:09:56 +02:00
Nikolay Sivov 88c2a189fe kernel32/tests: Added some activation context tests for SearchPath(). 2013-09-06 17:28:48 +02:00
Andrew Cook fef18a4267 kernel32: Fix argument order for NtIsProcessInJob. 2013-09-06 12:08:10 +02:00
Nikolay Sivov 93c59714c0 ntdll: Inherit default activation context from creation thread. 2013-09-05 13:23:50 +02:00
Nikolay Sivov ab08d2a5ba kernel32/tests: Some tests for initial thread activation context. 2013-09-05 13:23:42 +02:00
Nikolay Sivov af3a20d2ea ntdll: Added support for multiple progids in comClass and clrClass elements. 2013-09-04 11:36:32 +02:00
Alexandre Julliard 4af4df5af3 ntdll: Add stubs for the SRW lock functions. 2013-09-03 16:58:19 +02:00
Nikolay Sivov 045682a4da kernel32: Forward ZombifyActCtx() to ntdll. 2013-09-03 16:58:16 +02:00
Nikolay Sivov d0deaaa8ce kernel32/tests: Some tests for clrClass data. 2013-09-03 16:58:16 +02:00
Nikolay Sivov f0e5fd737d ntdll: Implement compatible section for 'clrSurrogate'. 2013-09-03 16:58:16 +02:00
Nikolay Sivov 5b38a13167 ntdll: Store clrSurrogate version value, added some tests. 2013-09-03 16:58:15 +02:00
Nikolay Sivov 44d8f6a35a ntdll: For typelib and COM class sections point global data to module names. 2013-09-03 16:58:15 +02:00
Dmitry Timoshkov 4135900235 kernel32/tests: Add a test to show that WaitCommEvent should fail if there is a pending wait. 2013-09-03 10:55:37 +02:00
Dmitry Timoshkov 663dbd9f1c kernel32/tests: Add a test to show that WaitCommEvent should succeed after SetCommMask(EV_TXEMPTY)+WriteFile+FlushFileBuffers. 2013-09-03 10:55:35 +02:00
Nikolay Sivov 21c1706f79 ntdll: Implement interface redirection section. 2013-09-02 18:07:03 +02:00
Nikolay Sivov 9c44cb4f0f ntdll: Store all interface redirection data in context. 2013-09-02 18:07:00 +02:00
Nikolay Sivov 3c0b7ba029 kernel32/tests: Some tests for 'comInterfaceExternalProxyStub' data. 2013-09-02 18:04:51 +02:00
Nikolay Sivov 26dc799039 kernel32/tests: Some tests for 'comInterfaceProxyStub' data. 2013-09-02 18:04:48 +02:00
Marcus Meissner b084d7a4f8 kernel32/tests: Avoid leaving com handle open (Coverity). 2013-09-02 18:03:36 +02:00
Dmitry Timoshkov f69ec2c61c kernel32/tests: Add a FlushFileBuffers test for a COM port. 2013-08-30 11:46:38 +02:00
Nikolay Sivov 2c31fce106 kernel32/tests: Test search with alias guid. 2013-08-30 11:17:49 +02:00
Nikolay Sivov 88070accd2 ntdll: Implement compatible comClass section. 2013-08-30 11:17:33 +02:00
Dmitry Timoshkov 52d1080544 ntdll: Properly set flag which indicates buffer empty state. 2013-08-29 11:21:11 +02:00
Nikolay Sivov 52fc0e4e29 ntdll: Store all 'comClass' attributes. 2013-08-29 11:20:37 +02:00
Alexandre Julliard 1992f5005c kernel32: Implement the InitOnce functions. 2013-08-28 22:27:32 +02:00
Alexandre Julliard af89610364 kernel32/tests: Add more tests for the InitOnce functions. 2013-08-28 16:14:34 +02:00
Dmitry Timoshkov 723d22f6aa kernel32/tests: Increase time interval that WriteFile could spend for an overlapped IO write. 2013-08-28 11:36:36 +02:00
Dmitry Timoshkov c7d27e18e5 kernel32/tests: Remove a useless trace. 2013-08-28 11:36:26 +02:00
Nikolay Sivov 9bf8a5ec6f kernel32: Simplify constant string length calculation. 2013-08-28 11:09:16 +02:00
Alexandre Julliard b0153951f4 kernel32/tests: Increase some wait timeouts. 2013-08-27 21:29:57 +02:00
Dmitry Timoshkov 31727e8128 kernel32: Add a trace to ClearCommError. 2013-08-26 10:51:14 +02:00
Nikolay Sivov 36acd61447 ntdll: Implement compatible typelib section. 2013-08-23 17:56:14 +02:00
Nikolay Sivov 1faebbd202 kernel32/tests: Some tests for typelib sections. 2013-08-23 17:55:18 +02:00
Dmitry Timoshkov 2192745042 kernel32/tests: Revert inadvertent change. 2013-08-21 13:08:35 +02:00
Alexandre Julliard fe64e21e3b kernel32: Don't call from A to W function in Get/SetCurrentDirectory. 2013-08-18 19:57:05 +02:00
Dmitry Timoshkov fc2309b84b kernel32/tests: Add interactive WaitCommEvent tests. 2013-08-15 17:20:07 +02:00
Dmitry Timoshkov 507449ee78 kernel32/tests: Make test_waittxempty() use overlapped IO to avoid waiting forever when a kernel driver doesn't support TIOCGICOUNT/TIOCSERGETLSR ioctl.
Most of Linux USB-serial drivers don't support these ioctls.
2013-08-15 17:20:07 +02:00
Dmitry Timoshkov 4654e79776 kernel32/tests: Make serial tests self-contained. 2013-08-15 17:20:07 +02:00
Dmitry Timoshkov a1b08f39a6 kernel32/tests: Constify test data. 2013-08-15 17:20:07 +02:00
Dmitry Timoshkov b288f0a879 kernel32/tests: Make ClearCommError very first test since it depends on device queue being empty. 2013-08-15 17:20:07 +02:00
Dmitry Timoshkov ab7dac6886 kernel32/tests: Fix some typos. 2013-08-15 17:20:07 +02:00
Nikolay Sivov 2a5a8bc4a3 ntdll: Implement compatible section for dll redirects. 2013-08-15 16:21:45 +02:00
Nikolay Sivov cddea89d22 ntdll: Support optional 'versioned' attribute for windowClass sections. 2013-08-15 16:19:03 +02:00
Nikolay Sivov 5ce01b3597 ntdll: Implement compatible FindActCtxSectionString() for window class section. 2013-08-02 14:36:12 +02:00
Nikolay Sivov 1692ccc56d ntdll: Added RtlFindActivationContextSectionGuid() stub. 2013-07-31 16:29:49 +02:00
Nikolay Sivov db5d9aa9e6 kernel32/tests: Test for several assemblies in context with window class redirects. 2013-07-31 16:29:49 +02:00
Nikolay Sivov e8cbae2e49 kernel32/tests: Remove unused helper argument. 2013-07-30 19:12:53 +02:00
Ken Sharp 1e29e52085 kernel32: Correct log on / logon (noun / verb). 2013-07-30 14:43:35 +02:00
Bruno Jesus 95d01f1751 kernel32/tests: Add tests for GetVolumePathNameA(). 2013-07-29 14:28:00 +02:00
Dmitry Timoshkov 4cc482bc0d kernel32: GetShortPathName for a non-existent short file name should fail. 2013-07-22 19:31:13 +02:00
Qian Hong b2472c09ba kernel32/nls: Updated LOCALE_SENGLANGUAGE for multiple Chinese variants to match Win7's behavior. 2013-07-22 17:16:04 +02:00
Alexandre Julliard 6cb5cf183a libwine: Update the codepage tables to Unicode 6.2.0. 2013-07-22 17:16:01 +02:00
Dmitry Timoshkov 3d759a0c69 ntdll: NtAllocateVirtualMemory should fail to commit if an address range is already committed for a memory mapped file. 2013-07-19 14:40:17 +02:00
Alexandre Julliard 3799d55d9b ntdll: Implement RtlExitUserProcess. 2013-07-19 12:15:15 +02:00
Nikolay Sivov bbb7358d1c kernel32/tests: Some tests for FindActCtxSectionGuid(). 2013-07-12 12:14:57 +02:00
Nikolay Sivov eaf2cce99f kernel32/tests: Some tests for activation context data structures. 2013-07-11 16:27:16 +02:00
Francois Gouget 9767c34d2e kernel32: Fix spelling of the 'inter-domain' error message. 2013-07-08 17:09:02 +02:00
Alexandre Julliard c01574d426 kernel32: Acquire the loader lock before shutting down the process. 2013-07-08 15:15:43 +02:00
Dmitry Timoshkov 24ab4453d7 kernel32/tests: Add a test for GetShortPathName called for a non-existent short file name. 2013-07-08 15:15:23 +02:00
Dmitry Timoshkov 0fa1877e44 kernel32/tests: Fix compilation with a PSDK compiler. 2013-07-08 15:15:23 +02:00
Dmitry Timoshkov b0a3d93400 kernel32/tests: Fix a couple of typos. 2013-07-02 10:04:24 +02:00
Dmitry Timoshkov e7ade611ad kernel32: Correct HeapFree .spec parameter type. 2013-06-26 12:13:40 +02:00
Dmitry Timoshkov c69cc5506b kernel32/tests: Add more VirtualAlloc and VirtualProtect tests. 2013-06-25 12:35:02 +02:00
Dmitry Timoshkov e5c55c5a5a kernel32/tests: Add a test for VirtualAlloc called on a mapped PE section. 2013-06-24 23:11:03 +02:00
Alexandre Julliard de03abd532 kernel32: FormatMessage precision arguments are integers. 2013-06-24 23:11:02 +02:00
Alexandre Julliard 28ece74fd8 Use the official Microsoft definitions for Gaelic languages. 2013-06-19 20:09:51 +02:00
Tatyana Fokina aaed0e81d5 kernel32: Check the size of the string in CompareStringA. 2013-06-11 19:31:45 +02:00
Tatyana Fokina 28951a0922 kernel32/tests: Add test with a large string for CompareStringA. 2013-06-11 19:31:40 +02:00
Hans Leidekker af7062a94f kernel32/tests: Avoid test failures when running as an unprivileged user. 2013-06-07 17:12:25 +02:00
Francois Gouget 1e53cb6483 kernel32/tests: Add a trailing '\n' to a skip() call. 2013-06-06 11:46:50 +02:00
Piotr Caban c9dbef3d96 kernet32: Added DuplicateHandle tests with DUPLICATE_CLOSE_SOURCE flag. 2013-06-05 17:31:40 +02:00
Dmitry Timoshkov df6c2a8418 server: Mark the process as disconnected from desktop/winstation before closing its handles. 2013-06-03 21:11:38 +02:00
Akihiro Sagawa 9ab603b033 kernel32: Don't move fixed memory area in GlobalReAlloc. 2013-06-03 11:29:55 +02:00
Akihiro Sagawa 1451aa58a6 kernel32: Add more GlobalReAlloc/LocalReAlloc tests. 2013-06-03 11:29:38 +02:00
Dmitry Timoshkov 495c1c0086 kernel32: Fix a typo. 2013-05-29 11:25:21 +02:00
Dan Kegel 073d7212a7 kernel32: Make SetThreadPriorityBoost return success. 2013-05-28 14:54:49 +02:00
Dmitry Timoshkov d256bf4b5f kernel32: Add a test to show that a process with a not closed handle to an already terminated thread fails to terminate cleanly. 2013-05-24 11:07:10 +02:00
Daniel Jelinski debd62cf9f kernel32: Improved stub for GetCalendarInfo's CAL_SCALNAME.
Based on patch by Mike Blumenkrantz.
2013-05-21 12:13:09 +02:00
Daniel Jelinski 81dc0fe87b kernel32: Implement CAL_ICALINTVALUE in GetCalendarInfo.
Based on patch by Mike Blumenkrantz.
2013-05-21 12:12:57 +02:00
Daniel Jelinski 614c45ad1c kernel32: Implement CAL_RETURN_NUMBER in EnumCalendarInfo*.
Based on a patch by Mike Blumenkrantz.
2013-05-21 12:12:49 +02:00
Dmitry Timoshkov bfcdf6df8e kernel32: Terminate threads before unloading DLLs on process exit. 2013-05-17 12:29:41 +02:00
Dmitry Timoshkov 462ad39949 kernel32: Add a test for holding process heap lock before calling ExitProcess. 2013-05-14 11:33:40 +02:00
Dmitry Timoshkov f435322dfa kernel32: Actually test normal ExitProcess behaviour. 2013-05-10 17:53:08 +02:00
Dmitry Timoshkov 5cbcbdd8a8 kernel32: Remove todo_wine from the now passing test. 2013-05-08 12:44:56 +02:00
Dmitry Timoshkov 94c7992f86 kernel32: DLL entry point is no longer called with PEB lock held. 2013-05-08 12:44:54 +02:00
Dmitry Timoshkov 094e465790 server: A destroyed process handle table means that the process is terminating. 2013-05-08 12:44:49 +02:00
Dmitry Timoshkov c79a514fe5 kernel32: Add more remote process tests. 2013-05-08 12:44:42 +02:00
Dmitry Timoshkov 77f222505c kernel32: Hold PEB lock during process exit. 2013-05-07 11:26:02 +02:00
Dmitry Timoshkov bac0387d29 server: Fail to set process affinity mask if the process is terminating. 2013-05-07 11:25:54 +02:00
Dmitry Timoshkov af3d73b035 server: Add a process flag indicating whether the process is terminating, use it to block thread creation in a being terminated process. 2013-05-07 11:25:49 +02:00
Alexandre Julliard 3173e275ec kernel32: Disable relay for some trivial functions. 2013-05-03 12:42:20 +02:00
Detlef Riekenberg 71cbd277e7 kernel32/tests: Avoid IOCTL_DVD_READ_STRUCTURE test failures. 2013-04-30 11:49:37 +02:00
Qian Hong 32e5314250 kernel32: Fixed string comparision for non-canonical locale identifiers such as zh_CN VS zh-Hans on OS X. 2013-04-30 11:49:06 +02:00
Dmitry Timoshkov 3de37fefce kernel32: Add some tests for PEB and loader locks. 2013-04-30 11:47:26 +02:00
Dmitry Timoshkov e2791cdfb1 include: Make IMAGE_RESOURCE_DIRECTORY_ENTRY match PSDK definition. 2013-04-29 13:33:54 +02:00
Dmitry Timoshkov fa5c708c41 kernel32/tests: Add some tests for remote process termination. 2013-04-26 11:48:32 +02:00
Dmitry Timoshkov e54c49d940 kernel32: Test LdrShutdownProcess behaviour only after NtTerminateProcess(0) call. 2013-04-25 11:46:09 +02:00
Dmitry Timoshkov cd55afec8a kernel32: Add a test to show that CreateThread is supposed to fail after the NtTerminateProcess call. 2013-04-24 14:34:20 +02:00
Dmitry Timoshkov 59a23fb42f ntdll: Refuse to create new thread if the target process is being terminated. 2013-04-22 12:37:51 +02:00
Dmitry Timoshkov 7de3f1b5b5 kernel32: Check whether FreeLibrary actually has unloaded the module. 2013-04-19 16:16:18 +02:00
Francois Gouget 2baecad2c5 Assorted spelling fixes. 2013-04-18 19:13:16 +02:00
Austin English 758911a8da kernel32: Fix a typo in a comment. 2013-04-18 12:23:39 +02:00
Dmitry Timoshkov b632f0966d kernel32: Count precise amount of child process failures. 2013-04-18 11:54:28 +02:00
Dmitry Timoshkov 3de89e8500 kernel32: Add more process shutdown tests. 2013-04-18 11:54:26 +02:00
Dmitry Timoshkov 5690304c9d kernel32: Add a test to check event, thread, mutex and semaphore states during process termination. 2013-04-17 12:40:39 +02:00
Dmitry Timoshkov b92c82c942 server: Add support for NtTerminateProcess(0). 2013-04-15 16:45:33 +02:00
Dmitry Timoshkov c5fbb4a780 kernel32: Make the ExitProcess test work on x86_64. 2013-04-15 16:03:34 +02:00
André Hentschel e1c884256e kernel32: Silence a noisy FIXME in GetConsoleKeyboardLayoutNameW. 2013-04-15 15:15:25 +02:00
Dmitry Timoshkov 37f7e7ea0c kernel32: TerminateProcess unlike NtTerminateProcess is supposed to fail with process == 0. 2013-04-12 11:49:17 +02:00
Dmitry Timoshkov 521cf664d3 kernel32: Add a test for threads state when a process is being terminated. 2013-04-12 11:49:14 +02:00
Dmitry Timoshkov 54e2211db0 kernel32: Add a shared memory test. 2013-04-12 11:49:09 +02:00
Alexandre Julliard d8c72febc8 kernel32: Make event/mutex/semaphore functions hotpatchable. 2013-04-10 23:54:08 +02:00
Piotr Caban 23191a4355 server: Don't debug children when debugger is attached with DebugActiveProcess function. 2013-04-05 20:39:07 +02:00
Alexandre Julliard 9181b7e876 kernel32: Fetch the system information only once the memory limits are correct. 2013-04-04 13:28:45 +02:00
Piotr Caban 46919f2154 kernel32: Fixed copy-paste error in IdnToUnicode. 2013-03-28 18:54:51 +01:00
Detlef Riekenberg ece3fafcda kernel32/tests: Avoid test failure on multicore machines. 2013-03-26 17:16:01 +01:00
André Hentschel 3c04958b8a ntdll: Implement RtlLookupFunctionEntry on ARM. 2013-03-25 14:08:42 +01:00
André Hentschel df7f4fb720 ntdll: Add stubs for RtlAddFunctionTable and RtlDeleteFunctionTable on ARM. 2013-03-25 14:08:32 +01:00
Michael Stefaniuc 2dcc12aac3 kernel32: Avoid TRUE FALSE conditional expressions. 2013-03-12 11:23:58 +01:00
Detlef Riekenberg 3826193f33 kernel32/tests: Fix failures with virtual Drives (AppVirt Client). 2013-03-11 10:44:51 +01:00
André Hentschel 56dbef9b19 kernel32/tests: Remove SPARC support. 2013-03-05 11:01:16 +01:00
Andrew Talbot 64c6c08e08 kernel32/tests: Do not assume the signedness of plain char. 2013-03-01 10:35:38 +01:00
André Hentschel 2976b6342f kernel32: Add stub for GetCurrentPackageId. 2013-02-20 10:33:28 +01:00
Alexandre Julliard 7ce90cc719 kernel32: Attempt to buffer the full directory in FindFirstFile to avoid races. 2013-02-18 14:51:05 +01:00
Dmitry Timoshkov 70c21c8e6c kernel32: There is no need for lock/unlock heap in GlobalAlloc. 2013-02-15 11:52:47 +01:00
Andrew Talbot ac79a3f9d3 kernel32: Avoid signed-unsigned integer comparisons. 2013-02-12 10:17:08 +01:00
Francois Gouget c2a5b04d01 kernel32/tests: Reduce the size of the console buffer to speed up the tests. 2013-02-11 17:52:43 +01:00
Detlef Riekenberg 8f1a3604ac kernel32/tests: Skip tests on non-English systems. 2013-02-11 11:46:08 +01:00
Marcus Meissner 17ca7ee82f kernel32: Conditional variable tests. 2013-01-30 12:43:45 +01:00
Alexandre Julliard 199c99d852 kernel32: We no longer need the server start time in kernel32. 2013-01-29 17:50:17 +01:00
Alexandre Julliard fa9a883dbb kernel32: Use the monotonic counter in GetTickCount64. 2013-01-28 18:22:19 +01:00
Ričardas Barkauskas 2c04118534 kernel32: Add SetFileInformationByHandle stub. 2013-01-23 12:46:25 +01:00
Charles Davis 5a3ff7ccc1 kernel32: Make CopyFile(Ex)() succeed even if the source file is delete-locked. 2013-01-18 13:29:01 +01:00
Charles Davis e21c805fbe kernel32: Make CopyFile() call CopyFileEx() instead of the other way around. 2013-01-18 13:29:00 +01:00
André Hentschel 1b440629a6 kernel32/tests: Add ARM64 support. 2013-01-16 12:52:26 +01:00
Alexandre Julliard 62f22dd4e3 kernel32: Retrieve the system info from ntdll on startup. 2013-01-09 12:15:22 +01:00
Marcus Meissner 8e0d3abd0f kernel32: Improve condition variable test case. 2013-01-07 19:30:27 +01:00
André Hentschel e431d89ed2 kernel32/tests: Don't test function directly when reporting GetLastError(). 2012-12-20 12:00:26 +01:00
Alexandre Goujon d0001e357a kernel32: Use the FSD sector location to compute the serial of a UDF volume. 2012-12-11 20:45:43 +01:00
Jacek Caban f1e41255e3 atl: Allow version-based differences in struct layouts. 2012-12-10 18:29:54 +01:00
Piotr Caban e5a25ec5c5 kernel32: Fixed TIME_CompTimeZoneID behavior on dates close to New Year's Eve. 2012-12-10 17:36:25 +01:00
Hans Leidekker c019083240 kernel32: Implement SetFileValidData. 2012-12-04 14:42:28 +01:00
André Hentschel 27b0b93684 kernel32/tests: Fix crashes on win8 in console. 2012-11-30 19:12:17 +01:00
André Hentschel 428180ce54 kernel32/tests: Fix crash on win8 in module. 2012-11-30 19:12:16 +01:00
Andrew Talbot 1973a808c2 kernel32: Remove unused variables. 2012-11-22 11:55:25 +01:00
Michael Stefaniuc f62ba6ff5c kernel32/tests: Don't cast zero. 2012-11-19 11:46:27 +01:00
Detlef Riekenberg 5c1e6cf7cd kernel32/tests: Fix 32-bit thread test failures on NT 5.x 64bit. 2012-11-14 19:23:36 +01:00
Francois Gouget a4f2c00526 kernel32/tests: Make test_CompareStringOrdinal() static. 2012-11-05 11:30:29 +01:00
Christian Costa ba5cade700 kernel32: Implement CompareStringOrdinal. 2012-11-02 19:47:15 +01:00
Francois Gouget ed9e745580 Assorted spelling tweaks and fixes. 2012-10-22 12:21:55 +02:00
Maarten Lankhorst 7457f37e4a ntdll: Set SO_PASSCRED before connecting to eliminate a race condition in obtaining server_pid. 2012-10-18 19:31:15 +02:00
Christian Costa d13f7720eb kernel32: Implement FileNameInfo in GetFileInformationByHandleEx. 2012-10-15 15:25:25 +02:00
Marcus Meissner 0a8df5ef26 kernel32: Buffer size is in characters (Coverity). 2012-10-15 13:31:04 +02:00
Vincas Miliūnas aba4619dfe kernel32: Added implementation for OpenFileById. 2012-10-12 13:20:40 +02:00
Vincas Miliūnas be1c0edfcf kernel32/tests: Added tests for OpenFileById. 2012-10-12 13:20:39 +02:00
Vincas Miliūnas 6314cf0295 kernel32: Added implementation of FileIdBothDirectoryInfo for GetFileInformationByHandleEx. 2012-10-12 13:14:43 +02:00
Vincas Miliūnas 9cec60bb1e kernel32/tests: Added tests of FileIdBothDirectoryInfo for GetFileInformationByHandleEx. 2012-10-12 13:13:06 +02:00
Francois Gouget 9ec7ab3fa0 shell32/tests: Write proper tests for CommandLineToArgvW(). 2012-10-04 10:42:40 +02:00
Francois Gouget 5f55a71b70 Assorted spelling fixes. 2012-09-24 22:27:29 +02:00
Francois Gouget 49cf27ab2a kernel32: Add line wrapping support to FormatMessage(). 2012-09-24 16:38:15 +02:00
Erich Hoover 6e0d43811b kernel32: Report FILE_PERSISTENT_ACLS flag for NTFS volumes. 2012-09-20 19:58:50 +02:00
Francois Gouget 5a4f3b478c kernel32: There is no need to zero-fill the FormatMessage() temporary buffer. 2012-09-19 23:55:56 +02:00
Francois Gouget bca6e18d1b kernel32: Replace the format_message() helper macro with a static function. 2012-09-19 23:55:53 +02:00
Francois Gouget a273cac747 kernel32/tests: Add more FormatMessage() line wrapping tests. 2012-09-19 23:55:51 +02:00
Marcus Meissner 7a529328db kernel32: Add condition variables prototypes and tests. 2012-09-11 20:56:37 +02:00
James Eder 10ff9b4f13 kernel32: Remove outdated comment. 2012-09-07 12:23:30 +02:00
James Eder 7e8a5490bd kernel32: Use PROCESSOR_FEATURE_MAX in IsProcessorFeaturePresent. 2012-09-07 12:23:30 +02:00
Piotr Caban c6ac0d0fcc kernel32: Added GetLogicalProcessorInformation implementation. 2012-09-04 16:15:56 +02:00
Francois Gouget b8050f0571 Assorted spelling fixes. 2012-09-04 16:15:52 +02:00
Philip Pemberton e3e1ddcf2f kernel32: Scan for SCSI scanners and printers. 2012-09-03 15:50:09 +02:00
Nikolay Sivov 2097c5ddb6 kernel32: Handle neutral locale names better in GetLocaleInfoEx. 2012-08-27 19:42:52 +02:00
Alistair Leslie-Hughes 53d7355949 kernel32: Add GetConsoleFontSize stub. 2012-08-22 12:10:25 +02:00
Alistair Leslie-Hughes 71d3d4f1ba kernel32: Add GetCurrentConsoleFont stub. 2012-08-22 12:09:37 +02:00
Alexandre Julliard 57bb58f7f5 kernel32/tests: "en" is not a valid locale on some platforms. 2012-08-22 12:03:34 +02:00
André Hentschel 20e1b46d83 kernel32: Fix LocaleNameToLCID on mismatch. 2012-08-17 10:46:27 +02:00
André Hentschel 538a0abbd7 include: Rename IMAGE_FILE_MACHINE_ARMV7 to IMAGE_FILE_MACHINE_ARMNT. 2012-08-17 10:45:17 +02:00
Austin English 5dfc2a34ea kernel32: Implement IsValidLocaleName (with tests). 2012-08-16 17:26:45 +02:00
Francois Gouget 63ba4b4a5a kernel32: Fix the spelling of 'combo box' and 'top-level' in some error messages. 2012-08-16 11:05:21 +02:00