Commit Graph

2193 Commits

Author SHA1 Message Date
Sebastian Lackner
20b5c99f11 kernel32/tests: Add tests for FindFirstFileExA with FIND_FIRST_EX_LARGE_FETCH flag. 2014-10-02 20:30:58 +02:00
Frédéric Delanoy
1e214eb5d3 Assorted spelling/grammar fixes. 2014-10-02 16:58:53 +02:00
Alexandre Julliard
5afbb6ba9e kernel32/tests: Fix overlapped status checks for 64-bit. 2014-10-01 21:22:25 +02:00
Andreas Fuchs
ddeab7e564 kernel32: Ignore flags on FindFirstFileExW. 2014-09-29 18:54:30 +02:00
Francois Gouget
0dd5cb1cef Assorted spelling fixes. 2014-09-29 10:36:36 +02:00
Alexandre Julliard
553ba810b8 kernel32: Pass the correct completion values in ReadFileScatter and WriteFileGather.
Test case based on a patch by Guo Jian.
2014-09-10 13:49:56 +02:00
Sebastian Lackner
652f5d9b87 kernel32/tests: Add additional tests for multithreaded partial reads from named pipes. 2014-09-04 20:21:03 +02:00
Sebastian Lackner
e65a618538 kernel32/tests: Add tests for partially received pipe messages after calling SetNamedPipeHandleState. 2014-09-04 20:21:03 +02:00
Sebastian Lackner
e4551eee46 kernel32/tests: Add basic tests for partially received pipe messages (ERROR_MORE_DATA). 2014-09-04 20:21:03 +02:00
Sebastian Lackner
36debbe80f kernel32/tests: Ensure that pipe tests read the full pipe content. 2014-09-04 20:21:03 +02:00
Sebastian Lackner
03f3ed89f3 kernel32/tests: Add some even more basic pipe tests without call to PeekNamedPipe. 2014-09-04 20:21:03 +02:00
Nikolay Sivov
7b7d8374a4 ntdll: NtWaitForMultipleObjects()'s third arguments means 'wait_any', not 'wait_all'. 2014-09-01 13:03:07 +02:00
Alexandre Julliard
ea1689e7b0 kernel32: Add detection of fake dlls when determining a binary type. 2014-08-22 12:44:24 +02:00
Sebastian Lackner
8f9df3afde kernel32/tests: Always allow only one correct test result, add todo_wine where necessary. 2014-08-21 18:02:30 +02:00
Sebastian Lackner
3e23aa5769 kernel32/tests: Add better handling for test failure in test_readfileex_pending. 2014-08-21 18:02:30 +02:00
Sebastian Lackner
55396b7018 kernel32: Implement SetNamedPipeHandleState.
Based on a patch by Adam Martinson.
2014-08-21 18:02:29 +02:00
Sebastian Lackner
9e66e97db8 kernel32: Implement GetNamedPipeHandleState.
Based on a patch by Adam Martinson.
2014-08-21 18:02:28 +02:00
Thomas Faber
7865b1a277 kernel32: Do not omit mandatory argument to DeviceIoControl. 2014-07-21 11:55:35 +02:00
Nikolay Sivov
509bdae8e2 kernel32/tests: Skip working tests properly. 2014-07-18 19:13:39 +02:00
Nikolay Sivov
ed9e030456 kernel32: Properly implement EnumSystemGeoID(). 2014-07-15 15:29:39 +02:00
Nikolay Sivov
17777c8497 kernel32: Implement GEO_PARENT for GetGeoInfo(). 2014-07-15 15:29:03 +02:00
Nikolay Sivov
b4acc62e63 kernel32: Partially implement GetGeoInfo(). 2014-07-11 12:22:26 +02:00
Grazvydas Ignotas
4f62801aee kernel32: Don't return uninitialized values on failures. 2014-07-09 09:28:32 +02:00
Alexandre Julliard
18d410dec1 tools: Don't include wine/unicode.h if not necessary. 2014-07-08 17:00:22 +02:00
Austin English
149d60318f kernel32: Initialize return value in CreateSemaphoreExW. 2014-07-08 10:35:17 +02:00
Austin English
2f3fc38ee0 kernel32: Add stubs for GetFirmwareEnvironmentVariableA/W. 2014-06-30 22:04:53 +02:00
Nikolay Sivov
3a2db918d9 kernel32: Added support for C3_HIGHSURROGATE/C3_LOWSURROGATE in GetStringTypeW(). 2014-06-30 22:04:52 +02:00
Piotr Caban
4eaa85ad56 kernel32: Fix typo in enum_locale_ex_proc. 2014-06-25 14:42:29 +02:00
Alexandre Julliard
500bbb3e9a libwine: Update the codepage tables to Unicode 7.0.0. 2014-06-23 16:41:52 +02:00
Sebastian Lackner
0114be0978 kernel32: Process DBG_RIPEXCEPTION events like regular exceptions. 2014-06-23 10:18:39 +02:00
Sebastian Lackner
c936e505e5 kernel32/tests: Add missing ReleaseActCtx() calls. (Valgrind). 2014-06-23 10:18:13 +02:00
Sebastian Lackner
cfd09b0967 ntdll: Fix leaking activation context when terminating via exit_thread(). (Valgrind). 2014-06-23 10:17:26 +02:00
Sebastian Lackner
e5e4ef07b6 kernel32/tests: Add missing HeapFree() in doChildren(). (Valgrind). 2014-06-23 10:12:18 +02:00
Sebastian Lackner
87a78ed878 kernel32: Fix a valgrind warning in format_add_char(). (Valgrind). 2014-06-23 10:12:09 +02:00
Sebastian Lackner
15fa6111af kernel32: Process OutputDebugString events like regular exceptions. 2014-06-20 16:30:20 +02:00
Alexandre Julliard
b0953a09bd kernel32: Only try to load krnl386 in native applications. 2014-06-18 18:36:21 +02:00
Austin English
fd6c5490df kernel32: Add a stub for UnregisterApplicationRestart. 2014-06-18 16:31:14 +02:00
Alexandre Julliard
c7eacd9e83 kernel32/tests: Silence some noisy traces. 2014-06-17 10:58:46 +02:00
Sebastian Lackner
1b3d67aace kernel32: Raise DBG_PRINTEXCEPTION_C exception in OutputDebugStringA. 2014-06-17 10:58:28 +02:00
Austin English
bdc0099eb4 kernel32: Add DECLSPEC_HOTPATCH to SetFilePointer. 2014-06-17 10:35:15 +02:00
Sebastian Lackner
270d66efc7 kernel32: Update VirtualAddress of resource section in write_raw_resources. 2014-06-17 09:04:15 +02:00
Nikolay Sivov
50ad765cd6 kernel32: Added a message for WSAECONNRESET. 2014-06-16 09:33:13 +02:00
Akihiro Sagawa
80695cde4f kernel32: Return correct buffer size when returning DBCS characters. 2014-06-12 18:25:06 +02:00
Akihiro Sagawa
89a558fe8f kernel32: Avoid uninitialised value read in GetCalendarInfoA. 2014-06-12 18:24:41 +02:00
Bruno Jesus
515b8bebb6 kernel32: Limit the environment variable size to 32767 in GetEnvironmentVariable. 2014-06-12 18:11:42 +02:00
Michael Müller
9602fa7a93 server: Fix return value for FSCTL_PIPE_WAIT if pipe does not exist. 2014-06-11 13:07:11 +02:00
Nikolay Sivov
5a8d73283c ntdll: Fix LdrLockLoaderLock()/LdrUnlockLoaderLock() on 64bit. 2014-06-11 13:05:39 +02:00
Jacek Caban
5ceb22714e ntdll: Use MAP_PRIVATE for copy on write mappings. 2014-05-13 12:27:32 +02:00
Jacek Caban
ea950ac7cf kernel32/tests: Added more shared memory tests, exposing MAP_PRIVATE mapping for read only mapping problem. 2014-05-08 18:27:51 +02:00
Huw Davies
56019a4dc6 kernel32/tests: Fix test for win8 heap layout. 2014-05-02 13:45:00 +02:00
Frédéric Delanoy
2e5cb7aac8 Assorted spelling/grammar fixes. 2014-04-30 18:34:20 +02:00
Erich E. Hoover
32da6626f5 kernel32: Allow CompareStringEx LINGUISTIC_IGNORECASE flag. 2014-04-17 10:48:07 +02:00
Erich E. Hoover
b0935ab811 kernel32: Allow CompareStringEx NORM_LINGUISTIC_CASING flag. 2014-04-17 10:48:04 +02:00
Erich E. Hoover
4b949510fb kernel32/tests: Add a variety of tests for CompareStringEx. 2014-04-17 10:47:58 +02:00
Dmitry Timoshkov
e03a3fe509 kernel32: Add a workaround for broken apps that pass negative values to ReadConsole. 2014-04-16 10:54:15 +02:00
Dmitry Timoshkov
2451d263de kernel32: Handle memory allocation failure in ReadConsoleA. 2014-04-15 09:46:29 +02:00
Nikolay Sivov
00ff2ed81e kernel32/tests: Added missing comma (Coverity). 2014-04-15 09:45:18 +02:00
Dmitry Timoshkov
c3ee3da58a kernel32: Filter out console handles in GetFileSize. 2014-04-14 10:30:30 +02:00
Piotr Caban
4fca169301 server: Don't debug children when DEBUG_PROCESS and DEBUG_ONLY_THIS_PROCESS flags are passed to CreateProcess. 2014-04-09 13:15:58 +02:00
Sebastian Lackner
7ba43b2fd1 kernel32: Forward RtlInstallFunctionTableCallback to ntdll. 2014-04-08 19:23:19 +02:00
Sebastian Lackner
0e1b381503 kernel32: Silence SetWaitableTimerEx fixme message. 2014-04-03 11:10:49 +02:00
Nikolay Sivov
b82b1306a4 kernel32: Added QueryUnbiasedInterruptTime(). 2014-04-02 15:50:09 +02:00
Jacek Caban
e168cd28db kernel32: Skip reserved TLS tests on WinXP SP1. 2014-03-31 15:28:55 +02:00
Alexandre Julliard
598c5816d9 kernel32: Don't allocate FLS index 0. 2014-03-28 17:46:03 +01:00
Jacek Caban
93920c3893 ntdll: Reserve TLS slot 0 for broken apps that compare index to 0 instead of TLS_OUT_OF_INDEXES. 2014-03-28 16:19:55 +01:00
Alexandre Julliard
7420b7fe73 kernel32/tests: Move allocation tests into heap.c. 2014-03-27 16:16:04 +01:00
Alexandre Julliard
395df1aa2d ntdll: Heap handles should be 64K-aligned. 2014-03-26 11:24:30 +01:00
Nikolay Sivov
467b769623 kernel32: Added SetWaitableTimerEx(). 2014-03-24 11:38:22 +01:00
Nikolay Sivov
975abdea7f kernel32: Added WerUnregisterMemoryBlock() stub. 2014-03-20 10:42:01 +01:00
Austin English
77bd74fa25 kernel32: Improve GetNumaHighestNodeNumber stub. 2014-03-18 19:05:33 +01:00
Alexandre Julliard
e64189aa55 kernel32/tests: Add more Unicode digit ranges. 2014-03-07 13:37:14 +01:00
Vincent Povirk
49f3b4282d kernel32: Cache locale info from the registry. 2014-03-06 17:18:51 +01:00
Dmitry Timoshkov
6670bbf56f kernel32/tests: Add a test for CreateFile called with TRUNCATE_EXISTING/FILE_WRITE_DATA parameters. 2014-03-06 13:36:04 +01:00
Dmitry Timoshkov
d97e7baa66 kernel32/tests: Add some tests for CreateFile called on a directory instead of a file. 2014-03-06 13:36:04 +01:00
Francois Gouget
f1087d865b kernel32/tests: Skip some profile tests if not allowed to create files in the Windows directory. 2014-03-04 17:06:07 +01:00
Nikolay Sivov
95142cad53 kernel32: Partial implementation for GetCalendarInfoEx(). 2014-03-03 17:02:14 +01:00
André Hentschel
7f9756e1ea kernel32/tests: Remove unused assertion header. 2014-02-26 13:03:59 -06:00
Nikolay Sivov
88fc916442 ntdll: Use case-insensitive matching for typelib flags.
Spotted by Austin English.
2014-02-24 09:12:03 -06:00
Ken Thomases
ed11dc0ba3 kernel32: Fix build on newer Mac OS X. 2014-02-20 00:05:40 +01:00
Alexandre Julliard
a0d6c8c249 kernel32: Fix build on older Mac OS X. 2014-02-19 11:35:16 +01:00
Alexandre Julliard
ff08cd597d ntdll: Only allocate TLS data when resolving imports. 2014-02-17 20:16:08 +01:00
Alexandre Julliard
0f0bf58663 ntdll: Don't fixup imports for executables. 2014-02-17 20:15:44 +01:00
Alexandre Julliard
7307298ac3 ntdll: Don't fixup imports when a dll is already loaded. 2014-02-17 20:15:43 +01:00
Alexandre Julliard
a4c8943c70 kernel32/tests: Add some tests for dll import resolution. 2014-02-17 19:10:07 +01:00
Ken Thomases
a34e52cc93 kernel32: Prefer the Mach host_statistics64(HOST_VM_INFO64) API over sysctl(HW_USERMEM) to obtain free memory. 2014-02-17 11:13:27 +01:00
Ken Thomases
f40c5484fc kernel32: Use the Mach host_info(HOST_BASIC_INFO) API to obtain total RAM after trying sysctl(HW_MEMSIZE) and before HW_PHYSMEM. 2014-02-17 11:13:12 +01:00
Ken Thomases
9b7c94bc55 kernel32: Use sysctl(VM_SWAPUSAGE) to get swap sizes on BSDs, if available. 2014-02-17 11:13:00 +01:00
Ken Thomases
95df19efed kernel32: Prefer HW_MEMSIZE sysctl variable over HW_PHYSMEM, if available, since it's 64 bits. 2014-02-17 11:12:53 +01:00
Ken Thomases
6953189271 kernel32: Consolidate some duplicate variable declarations. 2014-02-17 11:12:36 +01:00
Ken Thomases
c91dd24098 kernel32: Avoid truncating 64-bit ullTotalPhys value to 32 bits when copying to ullAvailPhys, ullTotalPageFile, and ullAvailPageFile. 2014-02-17 11:12:21 +01:00
Ken Thomases
89a96db01f kernel32: Check that sysctl() call succeeded before using its output. 2014-02-17 11:12:04 +01:00
Nikolay Sivov
0a20d46801 kernel32/tests: Fix some test failures in older XP/Win2k3 versions. 2014-02-12 19:15:13 +01:00
Nikolay Sivov
ee518b5e36 kernel32/tests: Don't test last error when there's no failure. 2014-02-12 19:15:12 +01:00
Alexandre Julliard
7066ce0b1e kernel32: Set correct binary type for COM and PIF files. 2014-02-12 19:15:11 +01:00
Frédéric Delanoy
0f2bed51bd Assorted spelling fixes. 2014-02-10 15:47:29 +01:00
Erich E. Hoover
ee49a5a273 kernel32: Add support for security access parameters for named pipes. 2014-02-10 15:42:06 +01:00
Dmitry Timoshkov
fd9c9a6d03 kernel32: Fix page protection to access mapping performed by CreateFileMapping. 2014-02-10 10:46:52 +01:00
Piotr Caban
afadda8ff7 kernel32: Handle STD_*_HANDLE in GetFileType. 2014-02-07 16:29:17 +01:00
Dmitry Timoshkov
52bc06af7b kernel32/tests: Use PROCESS_ALL_ACCESS definition compatible with versions of Windows before Vista. 2014-02-07 16:28:55 +01:00
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