Commit Graph

2479 Commits

Author SHA1 Message Date
Francois Gouget 8efa0fb0c4 kernel32/tests: Fix compilation on systems that don't support nameless unions. 2015-05-25 14:34:07 +09:00
Alexandre Julliard c4fb1f617d kernel32: Get rid of the hardcoded NUL device in QueryDosDeviceW. 2015-05-21 17:37:42 +09:00
Alexandre Julliard f32600d3c1 kernel32: Check NT symlink first for all devices in QueryDosDeviceW. 2015-05-21 17:37:14 +09:00
Martin Storsjo 68b654ad2f kernel32: Implement a few more classes in GetFileInformationByHandleEx. 2015-05-21 14:26:34 +09:00
André Hentschel 1e8759805e kernel32/tests: Add ARM and ARM64 arch strings. 2015-05-20 22:10:50 +09:00
Martin Storsjo c9c5ceccb4 kernel32: Implement GetSystemTimePreciseAsFileTime.
This just falls back to doing the same as GetSystemTimeAsFileTime.
2015-05-20 17:28:37 +09:00
Michael Müller f556d0e936 kernel32: Return correct device type for cd devices without medium. 2015-05-19 19:24:20 +09:00
Sebastian Lackner 7ebe22e99c kernel32/tests: Add tests for delete behaviour of CopyFileEx. 2015-05-19 19:24:20 +09:00
Christian Faure 9cffed782f kernel32: Fix a crash in GetStringTypeW() on NULL input string. 2015-05-18 14:07:48 +09:00
Grazvydas Ignotas 2e21381177 kernel32: Don't leak an event handle on errors. 2015-05-18 14:07:21 +09:00
Andrew Eikum d9a27e9ca0 kernel32: Implement CheckNameLegalDOS8Dot3. 2015-05-13 22:05:42 +09:00
Mark Harmstone e468f15d20 kernel32: Add GetFileMUIInfo stub. 2015-05-12 15:30:47 +09:00
Nikolay Sivov 2c98d5b90c kernel32: Implement GetDynamicTimeZoneInformation(). 2015-05-11 15:39:24 +09:00
Nikolay Sivov dde69d617b kernel32: Fixed couple of comments regarding atom calls. 2015-05-11 15:39:24 +09:00
Francois Gouget 5ea2bdda5d kernel32/tests: Silence some loader and locale traces that generate too many lines. 2015-05-11 15:19:05 +09:00
Andrew Eikum 65f2690203 kernel32: Support extended pathnames in GetShortPathName. 2015-05-06 08:36:04 +09:00
Sebastian Lackner ee6a477cab ntdll: Return failure in NtProtectVirtualMemory when last argument is omitted. 2015-05-05 23:15:31 +09:00
Sebastian Lackner 1119da47ee kernel32: Do not omit mandatory argument for VirtualProtect. 2015-05-04 20:07:54 +09:00
Sebastian Lackner 152b575eed kernel32/tests: Add tests for calling VirtualProtect with NULL as last argument. 2015-05-04 20:07:51 +09:00
Sebastian Lackner 10ee3f44b1 kernel32/tests: Add tests for deleting readonly files with NtCreateFile.
Wine currently implements DeleteFile based on NtCreateFile with access mask
GENERIC_READ | GENERIC_WRITE | DELETE, but this is wrong. This test shows that
NtCreateFile with FILE_DELETE_ON_CLOSE should also fail without explicitly
requesting read/write access.
2015-04-30 19:58:01 +09:00
Francois Gouget ad2c07888e kernel32/tests: Make test_StartupNoConsole() static. 2015-04-27 15:08:50 +09:00
Erich E. Hoover 4b559f02dd kernel32: Invalid console handles for new processes are 0, not INVALID_HANDLE_VALUE. 2015-04-23 15:06:36 +09:00
Sebastian Lackner a7247df6ca server: Implement waiting for job objects. 2015-04-07 23:16:20 +09:00
Sebastian Lackner 7984fb9fbe kernel32/tests: Add tests for waiting on an job object. 2015-04-07 23:16:01 +09:00
Andrew Cook 1d359a5827 server: Implement TerminateJobObject. 2015-04-07 23:15:47 +09:00
Sebastian Lackner 4ae0ef44d2 kernel32: Add stub for PowerClearRequest. 2015-04-07 15:14:40 +09:00
Sebastian Lackner 25505995af kernel32: Add stub for PowerSetRequest. 2015-04-07 15:14:35 +09:00
Sebastian Lackner 966dd5074d kernel32: Add stub for PowerCreateRequest. 2015-04-07 15:14:29 +09:00
Mark Harmstone ed0c6746dd kernel32: Stub out GetFileMUIPath. 2015-04-06 12:49:03 +09:00
Sebastian Lackner 51c21cca98 kernel32: Fix calculation of returned buffer in get_registry_locale_info.
Fixes a regression introduced by 8826ba1bc8.
2015-04-06 12:06:18 +09:00
Andrew Cook 47ffeaee74 server: Implement io completion messages for job objects. 2015-04-03 00:33:29 +09:00
Andrew Cook 0dbe5adc21 server: Implement job inheritance. 2015-04-03 00:33:29 +09:00
Andrew Cook ecd41d1de7 server: Implement job limit flags. 2015-04-03 00:33:29 +09:00
Andrew Cook 3affd63b34 server: Implement IsProcessInJob. 2015-04-01 22:34:19 +09:00
Andrew Cook 98132f0364 server: Implement AssignProcessToJobObject. 2015-04-01 22:34:18 +09:00
Andrew Cook e30a6bbcbd kernel32/tests: Extend IsProcessInJob tests. 2015-04-01 17:02:34 +09:00
Sebastian Lackner ddd3d1689c kernel32/tests: Add tests for adding a terminated process to a job object. 2015-03-31 00:04:42 +09:00
Andrew Cook 6cd34c9002 kernel32/tests: Add tests for job inheritance.
Cleanup and improvements by Sebastian Lackner.
2015-03-31 00:04:41 +09:00
Andrew Cook f0ef853d9d kernel32/tests: Add tests for JOB_OBJECT_LIMIT_BREAKAWAY_OK.
Cleanup and improvements by Sebastian Lackner.
2015-03-31 00:04:41 +09:00
Andrew Cook 3ca0282e5f kernel32/tests: Add tests for JOB_OBJECT_LIMIT_KILL_ON_JOB_CLOSE.
Cleanup and improvements by Sebastian Lackner.
2015-03-31 00:04:41 +09:00
Andrew Cook 6c2b0eb011 kernel32/tests: Add tests for job object completion ports.
Cleanup and improvements by Sebastian Lackner.
2015-03-31 00:04:40 +09:00
Andrew Cook d4fd3c899e kernel32/tests: Add tests for QueryInformationJobObject.
Cleanup and improvements by Sebastian Lackner.
2015-03-30 22:35:27 +09:00
Andrew Cook ad04b7305b kernel32/tests: Add tests for TerminateJobObject.
Cleanup and improvements by Sebastian Lackner.
2015-03-30 20:22:35 +09:00
Andrew Cook f40bffaf67 kernel32/tests: Add tests for IsProcessInJob.
Cleanup and improvements by Sebastian Lackner.
2015-03-30 20:22:29 +09:00
Sebastian Lackner 978597e8ab kernel32/tests: Allow multiple subprocess commands in process tests. 2015-03-30 20:15:53 +09:00
Austin English 88362a0770 kernel32: Add a stub for QueryThreadCycleTime. 2015-03-30 19:49:11 +09:00
Frédéric Delanoy f6a341c747 Assorted spelling/grammar fixes. 2015-03-27 22:29:48 +09:00
Michael Müller 8f0d5a37a3 kernel32/tests: Add tests for GetFinalPathNameByHandleA/W. 2015-03-27 00:11:36 +09:00
Nikolay Sivov 85a3d09329 kernel32: Implement GetProcessIdOfThread(). 2015-03-20 21:31:57 +09:00
Francois Gouget f505e6fb4a Assorted spelling fixes. 2015-03-19 21:54:14 +09:00
Bruno Jesus 24fc876e61 kernel32: Only zero the buffer up to 32767 bytes in GetTempPathW. 2015-03-18 20:56:39 +09:00
Sebastian Lackner ab91c01112 ntdll: RtlFindActivationContextSectionString should accept a NULL pointer as data. 2015-03-17 16:02:25 +09:00
Mark Jansen f091ff5851 kernel32/tests: Parameter validation tests for FindActCtxSectionString. 2015-03-17 16:02:19 +09:00
Sebastian Lackner 5bab75166c kernel32: Fix leak of dynamic_buffer in QueryFullProcessImageNameW (Coverity). 2015-03-17 14:52:08 +09:00
Sebastian Lackner d48e3a0bea kernel32: Fix file handle leak in exec_process (Coverity). 2015-03-17 14:52:08 +09:00
Francois Gouget ecc04f6996 kernel32: Remove unneeded NONAMELESSXXX directives. 2015-03-13 00:28:19 +09:00
Michael Stefaniuc a7daccb674 kernel32: Don't free a NULL / not yet allocated pointer (PVS-Studio). 2015-03-09 22:06:56 +09:00
Bruno Jesus 81598be9cf kernel32: In GetTempPathW only copy the path if it fits and zero the buffer when it doesn't. 2015-03-05 21:42:32 +09:00
Michael Stefaniuc dbe6c5576d kernel32/tests: Actually test a return value (PVS-Studio). 2015-03-04 21:50:42 +09:00
Bruno Jesus f16cf54106 kernel32: GetTempPathW must zero the remaining buffer. 2015-03-02 23:00:31 +09:00
Bruno Jesus 300c2dedac kernel32/tests: Add more GetTempPath tests. 2015-02-24 22:59:40 +09:00
Alexandre Julliard 5a6cda458d kernel32/tests: Try harder to empty the pipe for completion notification. 2015-02-24 21:55:46 +09:00
Austin English 295f194804 kernel32: Add SetVolumeMountPointA/W stubs. 2015-02-12 22:12:22 +09:00
Alex Henrie 6bcf9e4bd8 kernel32: Support UTF-7 in MultiByteToWideChar.
Portions of utf7_mbstowcs were written by Sebastian Lackner.
2015-02-09 20:41:42 +09:00
Alex Henrie 054fa77de0 kernel32: Support UTF-7 in WideCharToMultiByte.
Portions of utf7_wcstombs were written by Sebastian Lackner.
2015-02-09 20:37:27 +09:00
Austin English b331c4f931 kernel32: Add CreateHardLinkTransactedA/W stubs. 2015-02-05 22:42:22 +09:00
Nikolay Sivov d1243bcc85 kernel32/tests: Remove a couple of duplicated constants. 2015-02-03 20:52:51 +09:00
Nikolay Sivov fdda480df5 kernel32: Fix writing resource section as a last section in UpdateResource(). 2015-01-28 21:30:01 +01:00
Nikolay Sivov 8f2b5653a7 kernel32/tests: Remove todo_wine that doesn't work anymore. 2015-01-28 21:29:57 +01:00
Nikolay Sivov f670be8ec8 kernel32/tests: Make loader tests independent from each other. 2015-01-28 21:29:53 +01:00
Austin English ae98c9a42b kernel32: Sync spec file with windowss 7. 2015-01-28 11:08:21 +01:00
Daniel Scharrer 4d05cfe577 kernel32: Add stub implementation for EnumResourceLanguagesEx. 2015-01-27 22:03:17 +01:00
Austin English fa80425242 kernel32: Add GetSystemFirmwareTable stub. 2015-01-26 12:06:04 +01:00
Charles Davis 193d15cc3c kernel32: Don't use %gs on 64-bit Mac OS. 2015-01-23 11:11:37 +01:00
Charles Davis 2ace215b9a kernel32: Recognize 64-bit Mach-O modules, too. 2015-01-23 11:10:57 +01:00
André Hentschel ae1251596e kernel32/tests: Don't test function directly when reporting GetLastError(). 2015-01-21 21:35:57 +01:00
Hans Leidekker b51476ad42 kernel32: Retrieve the system affinity mask from ntdll. 2015-01-21 15:30:37 +01:00
Qian Hong bfd088dbc6 kernel32: Fixed buffer size on 64bit in IsWow64Process. 2015-01-16 20:15:32 +01:00
Qian Hong caa0829d56 kernel32: Make SetUnhandledExceptionFilter hotpatchable. 2015-01-16 16:52:11 +01:00
Seán de Búrca 6cd0eb2027 kernel32: Implement Get{Time,Date}FormatEx. 2015-01-06 12:59:07 +01:00
Jon Doron 3c28c0a2eb kernel32: Fix write_raw_resources to support 32 and 64 PE formats. 2015-01-05 16:29:03 +01:00
Nikolay Sivov 7a612654dc ntdll: Skip context dependencies that have allowDelayedBinding attribute set. 2014-12-31 21:13:31 +01:00
Alex Henrie ddc0c3203f kernel32/tests: Add tabular UTF-7 decoding tests. 2014-12-29 12:14:29 +01:00
Nikolay Sivov c134466224 ntdll: Fix 'description' element parsing to allow empty elements. 2014-12-28 19:08:47 +01:00
Alex Henrie 38027cda8f kernel32/tests: Add tabular UTF-7 encoding tests. 2014-12-23 21:16:45 +01:00
Sergey Kalinichev 7eed378f5d ntdll: Add stub for RtlSetHeapInformation. 2014-12-19 22:36:17 +01:00
Sebastian Lackner cacc9ae888 psapi: Implement semi-stub for K32EnumProcessModulesEx. 2014-12-16 17:25:36 +01:00
Sebastian Lackner 8826ba1bc8 kernel32: Return proper char count in get_registry_locale_info. 2014-12-16 13:32:53 +01:00
André Hentschel 1005f3a6fa kernel32: Make GetTickCount and GetTickCount64 hotpatchable. 2014-12-11 11:57:18 +01:00
Austin English 76dc45aa1a kernel32: Add a stub for GetUserPreferredUILanguages. 2014-12-10 19:32:28 +01:00
Francois Gouget ea932fbcc1 Assorted spelling fixes. 2014-12-05 20:47:45 +01:00
Stefan Leichter 9668dddfc9 kernel32: Add stubs for CreateSymbolicLinkA/W. 2014-12-05 11:24:51 +01:00
André Hentschel 7b318b1700 kernel32/tests: Remove unused code (Clang). 2014-12-04 14:03:24 +01:00
Alexandre Julliard 0ab2311cd5 kernel32/tests: Allow the parent directory to receive a modified event. 2014-12-03 21:34:25 +01:00
André Hentschel 3135b02546 kernel32/tests: Remove unused strings (Clang). 2014-12-02 10:30:48 +01:00
Piotr Caban f87767bc35 ntdll: Handle ACTCTX_FLAG_ASSEMBLY_DIRECTORY_VALID flag when opening manifest in RtlCreateActivationContext. 2014-11-28 17:04:07 +01:00
Sebastian Lackner 4032eef90f kernel32: Fix implementation of K32GetPerformanceInfo. 2014-11-14 17:11:38 +09:00
Austin English 4c0ceacee0 ntdll: Add stubs for vectored continue handler. 2014-11-13 16:31:49 +09:00
Alex Henrie 0f93668637 kernel32/tests: Add UTF-7 implicit termination tests. 2014-11-07 20:57:01 +09:00
Alex Henrie 14f41641bb kernel32/tests: Add UTF-7 stray + sign removal tests. 2014-11-07 20:56:59 +09:00
Alex Henrie 3069e0c0a1 kernel32/tests: Add UTF-7 encoded surrounding characters tests. 2014-11-06 23:47:16 +09:00
Alex Henrie 7c1580a4a8 kernel32/tests: Add UTF-7 non-encoded surrounding characters tests. 2014-11-06 23:47:15 +09:00
Sebastian Lackner a10a4538b7 kernel32/tests: Add tests for FindFirstFileExW level FindExInfoBasic. 2014-11-04 16:12:37 +09:00
Sebastian Lackner 91f2bdd052 kernel32: Implement FindFirstFileExW level FindExInfoBasic. 2014-11-04 16:12:33 +09:00
Sebastian Lackner 3e3b03a13e kernel32: Set proper error codes if FindFirstFileExW doesn't support specific search_ops / levels. 2014-11-03 20:31:21 +09:00
Sebastian Lackner edc259fdeb kernel32/tests: Avoid test failures on systems where hardware DEP is not supported. 2014-10-29 20:31:09 +09:00
Alexandre Julliard 3e1c4908ef kernel32/tests: Use a pointer instead of an array to make gcc happy. 2014-10-28 15:59:55 +09:00
André Hentschel e404d7fea3 kernel32: Set COMPUTERNAME environment variable. 2014-10-28 14:04:54 +09:00
Sebastian Lackner d4d8efad46 kernel32/tests: Avoid crashing when exception info[0] contains wrong value. 2014-10-27 19:02:51 +09:00
Austin English 1ade676968 kernel32: Add a stub for CancelTimerQueueTimer. 2014-10-27 17:35:45 +09:00
Amine Khaldi 810ed5c85a kernel32: Remove some unused variables (Clang). 2014-10-23 12:14:10 +09:00
Catalin Patulea a5005ed84a kernel32: Handle win32 hresult in FormatMessage. 2014-10-21 20:00:15 +09:00
Catalin Patulea af59823567 kernel32/tests: Add test for FormatMessage with HRESULT. 2014-10-21 20:00:11 +09:00
Sebastian Lackner d74c9e3ec2 kernel32: Implement GetProcessDEPPolicy. 2014-10-21 18:51:19 +09:00
Sebastian Lackner 19927ee517 kernel32/tests: Add test for GetProcessDEPPolicy. 2014-10-21 18:51:17 +09:00
Sebastian Lackner 1c1e7ed016 ntdll: Add support for ATL thunk 'POP ecx; POP eax; PUSH ecx; JMP 4(%eax)'. 2014-10-21 18:51:05 +09:00
Sebastian Lackner dcd2b0a366 ntdll: Add support for ATL thunk 'MOV this,ecx; MOV func,eax; JMP eax'. 2014-10-21 18:51:04 +09:00
Sebastian Lackner 40472cd3a7 ntdll: Add support for ATL thunk 'MOV this,edx; MOV func,ecx; JMP ecx'. 2014-10-21 18:51:02 +09:00
Sebastian Lackner aab0d25a49 ntdll: Add support for ATL thunk 'MOV this,ecx; JMP func'. 2014-10-21 18:50:59 +09:00
Sebastian Lackner 34b2d920b4 ntdll: Improve check_atl_thunk to prevent passing exceptions to the usermode application. 2014-10-15 11:52:06 +09:00
Sebastian Lackner 511a849046 kernel32/tests: Add test to show ATL thunk emulator exceptions are not passed to usermode. 2014-10-15 11:51:58 +09:00
Akihiro Sagawa 4aea5ca72b kernel32: Fix incorrect lastpart in GetFullPathNameA with DBCS. 2014-10-14 14:20:05 +09:00
Sebastian Lackner 1c957ceb96 ntdll: Only check for ATL thunk if allowed by execute option flags.
Checking for ATL thunks can be disabled by setting MEM_EXECUTE_OPTION_DISABLE_THUNK_EMULATION.
2014-10-13 18:31:26 +09:00
Sebastian Lackner e16996bb3d ntdll: reset_write_watches shouldn't remove enforced exec permissions. 2014-10-13 18:31:19 +09:00
Sebastian Lackner aa3c6111d9 ntdll: Ensure force_exec_prot is also used for views with write watch permissions. 2014-10-13 18:31:14 +09:00
Sebastian Lackner 0cf3d78167 ntdll: Avoid recursive exception handler calls when handling guard pages.
The ATL check leads to problems when a page is protected with guard page protection.
raise_segv_exception is called with EXCEPTION_EXECUTE_FAULT. The ATL check tries to
read the memory, and triggers another exception handler. This time the virtual_handle_fault
check is executed, and removes the guard page protection. Afterwards, when the ATL
check returns, the exception is _not_ catched by virtual_handle_fault, but instead
passed to the application.
2014-10-13 18:31:06 +09:00
Sebastian Lackner 9a806d0f1c kernel32/tests: Add tests for DEP combined with guard pages and write watches. 2014-10-13 18:30:57 +09:00
André Hentschel 8e917352e1 kernel32/tests: Skip on faked version values. 2014-10-09 17:36:22 +02:00
Austin English 96e920e01f kernel32: Add a stub for SetSystemFileCacheSize. 2014-10-08 16:34:29 +02:00
Austin English 2a5299ea32 kernel32: Add a stub for GetSystemFileCacheSize. 2014-10-08 16:34:17 +02:00
Sebastian Lackner 5272ca241b ntdll: Set ldr.EntryPoint for main executable. 2014-10-07 20:22:13 +02:00
Sebastian Lackner 9d30002f7d kernel32/tests: Add tests for K32GetModuleInformation. 2014-10-07 20:22:12 +02:00
Michael Müller 9e69715900 ntdll: Fix handling of page fault if a guard page and write watch is triggered at the same time. 2014-10-07 20:21:56 +02:00
Sebastian Lackner 53611dfbab kernel32/tests: Add tests for PAGE_GUARD memory protection. 2014-10-07 20:21:54 +02:00
Nikolay Sivov 6d406fe9e7 kernel32/nls: Added support for LOCALE_SOPENTYPELANGUAGETAG. 2014-10-06 17:33:44 +02:00
Sebastian Lackner c9b4344322 kernel32/tests: Add tests for FindFirstFileExA with FIND_FIRST_EX_CASE_SENSITIVE flag. 2014-10-02 20:31:12 +02:00
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
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