Commit Graph

1658 Commits

Author SHA1 Message Date
Dmitry Timoshkov 4eb69c8d7d kernel32: Add a bunch of VirtualProtect tests. 2011-09-27 16:24:26 +02:00
Francois Gouget bd7b345b26 Assorted spelling fixes & co. 2011-09-27 11:00:13 +02:00
Francois Gouget 3de330db54 tests: Remove unneeded assert.h includes. 2011-09-27 10:59:56 +02:00
André Hentschel 0ba0f505af kernel32/tests: Don't test function directly when reporting GetLastError(). 2011-09-26 18:16:03 +02:00
Bernhard Loos 527a985a3d server: Correct mapping of mutex access rights. 2011-09-23 13:05:37 +02:00
Bernhard Loos 0d36c27e3b server: ReleaseMutex doesn't need any access rights. 2011-09-23 13:05:33 +02:00
Bernhard Loos 7b63fa658a server: Certain access flags are illegal for OpenMutex. 2011-09-23 13:05:31 +02:00
Dmitry Timoshkov 0f500eac98 kernel32: Add a test to show that uninitialized sections are not special regarding protection flags. 2011-09-20 16:21:40 +02:00
Francois Gouget 752bb66b65 kernel32/tests: Skip some tests if not allowed to modify the image file execution options. 2011-09-19 17:56:04 +02:00
Maarten Lankhorst 81a6be568e kernel32: Fix overflow on 32-bits systems. 2011-09-12 10:07:28 +02:00
Francois Gouget f8c315e052 kernel32: Add parentheses to clarify the precedence between '&' and '||'. 2011-09-09 16:09:52 +02:00
Alexandre Julliard 3e4a9cb4d4 kernel32: Include system headers before Windows headers. 2011-09-06 13:25:50 +02:00
Alexandre Goujon 73f4e23938 kernel32: Add UDF support.
Based on Steven Wallace work.
2011-09-06 12:23:55 +02:00
Francois Gouget 7f9972a847 kernel32: Fix the CreateMailslot[AW]() spec. The first parameter is an input string. 2011-08-24 19:07:45 +02:00
Alexandre Julliard d469d6d5b7 kernel32/nls: Generate some plausible data for LOCALE_SNATIVEDISPLAYNAME. 2011-08-24 14:28:27 +02:00
Nikolay Sivov be225af668 kernel32/nls: Added placeholder for LOCALE_SNATIVEDISPLAYNAME, header updated with new locale entries. 2011-08-24 14:18:27 +02:00
Bernhard Loos c19d166529 kernel32: CreateFile uses an nonalertable io mode. 2011-08-23 16:53:55 +02:00
Bernhard Loos 3623b9d4c9 kernel32: Create(Named)Pipe uses an nonalertable io mode. 2011-08-22 19:49:40 +02:00
Bernhard Loos 4e4bdbe53e kernel32: Make CreateThread hotpatchable. 2011-08-22 19:49:39 +02:00
Austin English e2cbe25ba7 kernel32/tests: Remove win9x hacks. 2011-08-22 17:21:23 +02:00
Jörg Höhle a52e160c68 kernel32/tests: WaitForMultipleObjects returns lowest signaled handle first. 2011-08-22 16:14:32 +02:00
Francois Gouget 3b239dbc62 kernel32: Implement K32GetProcessImageFileNameA(). 2011-08-05 15:22:47 +02:00
Frédéric Delanoy 760faf01a9 tests: Assorted spelling fixes. 2011-08-04 18:27:37 +02:00
Francois Gouget 66395882f8 kernel32: Fix writing to a pipe in WriteConsoleW(). 2011-08-04 11:47:36 +02:00
Frédéric Delanoy b5a33dab88 dlls: Assorted spelling fixes. 2011-08-02 20:47:51 +02:00
Francois Gouget 1e93108641 kernel32/tests: Make test_define_dos_deviceA() static. 2011-08-01 18:26:26 +02:00
Francois Gouget 287a5e25d2 kernel32/tests: Remove a space before a '\n' in an ok() call. 2011-08-01 18:26:26 +02:00
Austin English 187f50aad3 kernel32/tests: Remove win9x hacks. 2011-07-29 18:21:24 +02:00
Hans Leidekker c41a1a29b5 kernel32: Add a trace to ReplaceFileW. 2011-07-29 13:33:01 +02:00
Austin English 19f58e889f kernel32/tests: Make sure return values are used (LLVM/Clang). 2011-07-26 10:22:47 +02:00
Dan Kegel c63d085d1f kernel32: Add initial test for DefineDosDevice. 2011-07-25 11:59:20 +02:00
Frédéric Delanoy 6471e862f6 kernel32: Fix function description of CompareStringA and lstrcmpA. 2011-07-20 19:42:10 +02:00
Dmitry Timoshkov 3d81e97c75 kernel32: Add a test how PE section characteristics get mapped into memory page access, make it pass under Wine. 2011-07-20 19:23:04 +02:00
André Hentschel ff63e42785 kernel32/tests: Fix warning on non-x86 platforms. 2011-07-07 12:29:55 +02:00
Alexandre Julliard 7654688886 kernel32/tests: Add tests for file sharing with file-specific access bits. 2011-07-01 18:33:37 +02:00
Alexandre Julliard d0f3d06172 kernel32/tests: Get rid of the Win9x support in the file sharing tests. 2011-07-01 18:33:37 +02:00
Austin English 1344aec642 kernel32: Stub a few of the numa functions. 2011-06-28 11:57:50 -05:00
Alexandre Julliard 71ae477493 kernel32: Avoid using a breakpoint instruction in DebugBreak(). 2011-06-21 10:39:09 +02:00
Alexandre Julliard 1b0d2330c9 kernel32: Create an orphaned process in exec_process so that all initialization is done anew in the child process. 2011-06-16 22:46:25 +02:00
Alexandre Julliard 5f06809ab3 kernel32: Implement DebugBreak directly in assembly. 2011-06-16 14:30:14 +02:00
André Hentschel 4f1aae76af kernel32: Set dwProcessorType on ARM. 2011-06-16 11:15:58 +02:00
André Hentschel 8a8a700513 kernel32: Initialise dwProcessorType. 2011-06-16 11:15:40 +02:00
Alexandre Julliard 4b12e9c5a0 kernel32: Fix some 64-bit issues in GlobalSize(). 2011-06-13 11:46:35 +02:00
David Hedberg fed025fd42 kernel32: GlobalSize() should also work with GMEM_MOVEABLE data pointers received from GlobalLock(). 2011-06-13 11:46:24 +02:00
Alexandre Julliard 81183c1e20 kernel32: Fix the handling of CAL_ITWODIGITYEARMAX in GetCalendarInfo. 2011-06-08 16:18:26 +02:00
Marcus Meissner d2dd407eb9 kernel32: Pass in a real string to SetLocaleInfoA, not a function pointer (Coverity). 2011-05-30 11:15:48 +02:00
Alexandre Julliard d4b7888dbf kernel32/tests: Delete some temporary files. 2011-05-26 13:28:55 +02:00
Alexandre Julliard 6dc9062086 kernel32: Fix a couple of handle leaks. 2011-05-26 13:28:46 +02:00
Austin English e701ca90aa kernel32: Add a stub for RegisterApplicationRecoveryCallback. 2011-05-23 13:16:25 +02:00
Austin English ac2c5039c9 kernel32: Add a stub for ApplicationRecoveryInProgress. 2011-05-23 13:16:25 +02:00
Austin English d7c9723bc1 kernel32: Add a stub for ApplicationRecoveryFinished. 2011-05-23 13:16:24 +02:00
Andrew Nguyen f5e555660d kernel32: Suppress constness warnings for tigetstr parameter. 2011-05-18 16:54:26 +02:00
Jacek Caban e4ffd1f834 kernel32: Moved GetPerformanceInfo implementation to kernel32. 2011-05-16 16:35:36 +02:00
Jacek Caban 595521bc95 kernel32: Moved GetWsChanges and InitializeProcessForWsWatch implementations to kernel32. 2011-05-16 16:35:35 +02:00
Jacek Caban 827e852166 kernel32: Moved EnumPageFiles[AW] implementation to kernel32. 2011-05-16 16:35:34 +02:00
Jacek Caban 0909f2e054 kernel32: Moved device-related stubs from psapi to kernel32. 2011-05-16 16:35:34 +02:00
Jacek Caban 772da9baae kernel32: Moved GetMappedFileName[AW] stubs to kernel32. 2011-05-13 16:45:21 +02:00
Frédéric Delanoy f5304c4f73 kernel32/tests: Fix typo. 2011-05-13 10:52:01 +02:00
Jacek Caban 0d0f2fa4a9 kernel32: Moved GetModuleInformation implementation to kernel32. 2011-05-12 14:29:21 +02:00
Jacek Caban 9bbf3f9075 kernel32: Moved GetModuleFileNameEx[AW] to kernel32. 2011-05-12 14:29:14 +02:00
Jacek Caban e6dd213d52 kernel32: Moved GetModuleBaseName[AW] implementation to kernel32. 2011-05-12 14:29:07 +02:00
Jacek Caban 8379893f96 kernel32: Moved K32EnumProcessModules to module.c. 2011-05-12 14:28:58 +02:00
Jacek Caban 4ed94f7939 kernel32: Moved GetProcessMemoryInfo implementation to kernel32. 2011-05-12 14:28:45 +02:00
Piotr Caban b88c851820 kernel32/tests: Add locale specific CompareString test. 2011-05-12 14:27:48 +02:00
Jacek Caban c1c70c62cb kernel32: Moved QueryWorkingSet and QueryWorkingSetEx implementation to kernel32. 2011-05-11 14:56:49 +02:00
Eric Pouech 8a529d60e2 kernel32: In CreateFile, when trying to open the CON special DOS file, force OPEN_EXISTING as creation flag. 2011-05-11 14:56:48 +02:00
Eric Pouech fa8d5d166c kernel32: Added some tests about CON special file treatment in CreateFile. 2011-05-11 14:56:48 +02:00
André Hentschel 28c8e228f5 kernel32: Forward registry functions to advapi32. 2011-05-10 18:54:33 +02:00
Jacek Caban 362a7d571e kernel32: Moved EnumProcessModules implementation to kernel32. 2011-05-10 14:04:55 +02:00
Austin English 689840babb kernel32/tests: Fix typo in test failure message. 2011-05-09 10:50:54 +02:00
Alexandre Julliard f555c2d857 kernel32/tests: Fix a race that could corrupt the thread register state. 2011-05-06 17:12:22 +02:00
Alexandre Julliard 055c883ee0 server: Fix the status code for get/set_thread_context on a terminated thread. 2011-05-06 14:23:25 +02:00
Jacek Caban 1fa36c85bd kernel32: Moved EnumProcesses implementation to kernel32. 2011-05-04 17:26:45 +02:00
Austin English cad8afb8ee kernel32: Add a stub for SetThreadPreferredUILanguages. 2011-04-25 13:03:07 +02:00
Marcus Meissner 42a294b0d4 kernel32: Mark more internal symbols as invisible. 2011-04-22 12:59:23 +02:00
Jacek Caban 25023c1302 psapi: Forward EmptyWorkingSet implementation to kernel32. 2011-04-19 18:29:24 +02:00
Wolfgang Walter ce1952446a kernel32: Fix TRACE output: IXON and IXOFF are swapped. 2011-04-19 13:27:45 +02:00
Alexandre Julliard baa04014eb ntdll: Implement the ProcessAffinityMask case in NtQueryInformationProcess. 2011-04-14 19:57:34 +02:00
Jacek Caban 81aa05eab6 kernel32: Moved GetProcessImageFileName implementation from psapi to kernel32. 2011-04-08 17:06:46 +02:00
Dmitry Timoshkov 08f8f50894 kernel32: Constify some data. 2011-04-07 10:23:12 +02:00
Akihiro Sagawa 16d5737009 libwine: MB_ERR_INVALID_CHARS makes an error when the undefined byte character is used. 2011-04-05 11:13:26 +02:00
Akihiro Sagawa 79d7cd76f9 kernel32/tests: Add a test for undefined byte character conversion. 2011-04-05 11:13:12 +02:00
Francois Gouget f3aabde8cb kernel32: Only get the Windows directory if PROFILE_Open() needs it. 2011-03-30 18:23:38 +02:00
Hans Leidekker 552715f0c1 kernel32: Implement and test GetVolumePathNamesForVolumeName. 2011-03-29 15:41:11 +02:00
Eric Pouech 1980545055 kernel32: When testing the debugger activation, don't use unitialized values (clang). 2011-03-28 17:24:45 +02:00
Marcus Meissner 7cd22f7037 kernel32: Added missing break (Coverity). 2011-03-28 17:12:26 +02:00
André Hentschel 6ff842fddb kernel32/tests: Also test for ntdll.dll in toolhelp tests. 2011-03-18 11:29:24 +01:00
Maarten Lankhorst 8b163d6fb6 kernel32: CreateProcessA should not call CreateProcessW directly. 2011-03-17 10:58:24 +01:00
Francois Gouget 2d441f52dd kernel32: Some spelling tweaks and fixes for the error messages. 2011-03-16 16:31:53 +01:00
Dmitry Timoshkov efeea9cf10 kernel32: Add dumping of GENERIC_EXECUTE flag in CreateFile. 2011-03-15 17:14:08 +01:00
André Hentschel 27ae573806 kernel32/tests: Fix a test for real hardware. 2011-03-14 19:31:30 +01:00
André Hentschel 78160d4fe1 kernel32: Add stub for GetVolumePathNamesForVolumeNameA. 2011-03-10 12:52:48 +01:00
Juan Lang 2ca58402e7 kernel32: Add some parameter checking to FileTimeToDosDateTime. 2011-03-09 12:28:41 +01:00
Hans Leidekker c65bcce589 server: Map the Unix user id to a local user SID instead of the interactive SID. 2011-03-02 12:50:59 +01:00
André Hentschel 4c6e57654f kernel32/tests: Add SetLastError() before a test (Valgrind). 2011-03-02 12:29:36 +01:00
Austin English d385435876 kernel32/tests: Remove win9x hacks. 2011-02-28 13:12:30 +01:00
Marcus Meissner a91b65960f kernel32: Avoid shadowing "status" variable. 2011-02-28 11:07:06 +01:00
Austin English 291949cbc4 kernel32/tests: Remove win9x hacks. 2011-02-24 15:50:43 +01:00
Marcus Meissner b42c593f67 kernel32: Fixed mismatched bracket (Coverity). 2011-02-23 15:01:17 +01:00
Alexandre Julliard 0fd822f465 kernel32: Use debugstr_a to avoid overflow with user-specified string. 2011-02-19 13:06:40 +01:00
Austin English 194e43f6e3 kernel32/tests: Make sure to use return values (LLVM/Clang). 2011-02-17 18:33:42 +01:00
André Hentschel 21332ccb85 kernel32: Forward RtlCompareMemory to ntdll on x86_64. 2011-02-17 17:27:00 +01:00
Alexandre Julliard b0cebda36b kernel32: Don't try to initialize curses if the TERM variable is not set. 2011-02-16 23:30:32 +01:00
André Hentschel fc38254fed kernel32: Remove a useless error message. 2011-02-16 14:26:26 +01:00
Igor Egorov b970462825 kernel32: Add stderr redirection for native Unix programs started from Windows program. 2011-02-15 17:24:26 +01:00
Austin English 39d5a90806 kernel32/tests: Make sure to use return values (LLVM/Clang). 2011-02-11 14:49:23 +01:00
Austin English e330380a6b kernel32/tests: Don't check return values inside of if(0) (LLVM/Clang). 2011-02-11 14:48:46 +01:00
Austin English 8b7904d78d kernel32/tests: Don't check return values inside of if(0) (LLVM/Clang). 2011-02-11 14:48:29 +01:00
Austin English ab4dba3e75 kernel32/tests: Don't check return values inside of if(0) (LLVM/Clang). 2011-02-10 09:57:19 -06:00
Austin English 4e3c3ad593 kernel32/tests: Make sure to use return values (LLVM/Clang). 2011-02-09 09:28:21 -06:00
Austin English a96b23cc1b kernel32/tests: Remove unused assignment (LLVM/Clang). 2011-02-07 10:10:10 -06:00
Joris Huizer fb296d1201 kernel32/tests: Don't test function directly when reporting GetLastError(). 2011-02-07 10:04:12 -06:00
André Hentschel 008cf3c18c kernel32: Use define instead of hardcoded value. 2011-02-01 18:14:09 +01:00
Eric Pouech 1f0e9499e5 kernel32: Use binary search for key lookup in terminfo generated data. 2011-01-31 13:01:12 +01:00
Eric Pouech 6d75a47b6d kernel32: Added shift & ctrl modifiers for function keys. 2011-01-31 13:01:11 +01:00
Eric Pouech be69efa51d kernel32: Added support for extended capacities in terminfo for xterm-like terminals. 2011-01-31 13:01:11 +01:00
Eric Pouech 00767952e7 kernel32: Store key len in dbkey_pair structure for efficiency reasons. 2011-01-31 13:01:11 +01:00
Hans Leidekker 541c116368 kernel32/tests: Add a test for ioctl 0x560000. 2011-01-31 13:01:10 +01:00
Eric Pouech 08f13cbd39 kernel32: Added support for ctrl-home (aka clear from beginning of line) in line edition in win32 mode. 2011-01-31 12:31:35 +01:00
Alexandre Julliard c469b77624 kernel32: Add proper English messages for all error codes. 2011-01-27 15:23:56 +01:00
Eric Pouech aee674c9b8 kernel32: Properly manage UTF-8 (and any wcs) input strings. 2011-01-25 14:46:59 +01:00
Eric Pouech ff057db675 kernel32: No longer init the terminfo database nor application key mode when 0 or 1 are not bound to a tty. 2011-01-25 14:46:17 +01:00
Eric Pouech 5f2370b0aa kernel32: In edit line, fix the insert key management. 2011-01-25 14:46:00 +01:00
Alexandre Julliard efa55fd2bf kernel32: Convert message translations to po files. 2011-01-24 21:35:14 +01:00
Detlef Riekenberg 27d31c7652 kernel32: Don't mask when printing unsupported flags in load_library. 2011-01-24 12:35:02 +01:00
Kusanagi Kouichi 8e1755aa49 kernel32: Include term.h conditionally. 2011-01-24 12:35:02 +01:00
Eric Pouech 33389354a5 kernel32: Added missing include to term.c. 2011-01-24 12:35:02 +01:00
Andrew Nguyen 70d67becac kernel32/tests: Free environment strings buffer at the conclusion of the environment tests. 2011-01-21 13:46:22 +01:00
Eric Pouech f3fe497b4f kernel32: Fix prototype when no curses dev package is present. 2011-01-20 12:20:39 +01:00
Piotr Caban 9dbdd8c83c kernel32/tests: Added file move/rename ReadDirectoryChangesW tests. 2011-01-19 14:13:58 +01:00
Eric Pouech 2a219b948c kernel32: Added support for insert/overwrite modes while editing a line. 2011-01-19 12:57:46 +01:00
Eric Pouech a392e9a102 kernel32: Correctly parse the input strings for advanced keys. 2011-01-19 12:55:06 +01:00
Eric Pouech 46cd299458 kernel32: Move the input character to INPUT_RECORD translation functions to term.c. 2011-01-19 12:54:49 +01:00
Eric Pouech ef3c46a9bf kernel32: Added support for terminfo/termcap in console code. 2011-01-19 12:54:08 +01:00
Andrew Nguyen ba7f7046ee kernel32/tests: Free environment block in the child process when it is unused. 2011-01-17 14:29:24 +01:00
André Hentschel dd07baa824 kernel32/tests: Use the right return type and a better failed test message. 2011-01-13 15:22:00 +01:00
André Hentschel 85386c2c6e kernel32/tests: Don't test function directly when reporting GetLastError(). 2011-01-12 14:59:43 +01:00
Andrew Nguyen ee84a9df12 kernel32: Pass an output parameter when calling WriteConsoleOutputCharacterW and FillConsoleOutputAttribute. 2011-01-11 16:05:48 +01:00
Andrew Nguyen df18e3fdd4 kernel32/tests: Demonstrate an input event handling peculiarity with WriteConsoleInputA. 2011-01-11 16:05:47 +01:00
Andrew Nguyen e2e9141918 kernel32/tests: Demonstrate an input event handling peculiarity with WriteConsoleInputW. 2011-01-11 16:05:47 +01:00
Andrew Nguyen b158d23c88 kernel32: Improve parameter validation for ReadConsoleOutputAttribute. 2011-01-11 16:05:47 +01:00
Andrew Nguyen 66b42c86d1 kernel32: Improve parameter validation for ReadConsoleOutputCharacterA. 2011-01-11 16:05:47 +01:00
Andrew Nguyen c905b7e705 kernel32: Improve parameter validation for ReadConsoleOutputCharacterW. 2011-01-11 16:05:47 +01:00
Greg Geldorp 6b8812add1 kernel32/tests: Set TrueType console font before running tests.
ReadConsoleOutputW doesn't retrieve characters from the output buffer
correctly for characters that don't have a glyph in the console font.
2011-01-10 15:02:24 +01:00
Hans Leidekker 06562d16b3 kernel32: Add a stub implementation of GetThreadIOPendingFlag. 2011-01-10 10:42:23 +01:00
Alexandre Julliard e7749967b8 kernel32: Update the country code for Serbia. 2011-01-07 12:11:53 +01:00
Andrew Nguyen 51d05e241a kernel32: Improve parameter validation for FillConsoleOutputAttribute. 2011-01-04 11:58:34 +01:00
Andrew Nguyen 50ee017f34 kernel32/tests: Add tests for FillConsoleOutputCharacterA. 2011-01-04 11:58:34 +01:00
Andrew Nguyen 5a7c633fab kernel32: Improve parameter validation for FillConsoleOutputCharacterW. 2011-01-04 11:58:33 +01:00
Andrew Nguyen 8ec12b5110 kernel32: Improve parameter validation for WriteConsoleOutputAttribute. 2011-01-04 11:58:33 +01:00