Commit Graph

1978 Commits

Author SHA1 Message Date
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
André Hentschel
f881dcf712 kernel32/tests: Test LocaleNameToLCID with bad name. 2012-08-15 17:55:00 +02:00
Detlef Riekenberg
9aacf4ce6f kernel32/tests: Fix test failures on win7. 2012-08-13 12:08:11 +02:00
Michael Stefaniuc
97512d70cf kernel32: Avoid TRUE:FALSE conditional expressions. 2012-07-31 12:36:54 +02:00
Alexandre Goujon
4d7f510bef kernel32: Reimplement GetLogicalDrives using Nt{Open, Query}DirectoryObject. 2012-07-30 17:57:50 +02:00
Nikolay Sivov
48ff6fa927 kernel32: Added WerRegisterMemoryBlock stub. 2012-07-30 17:13:34 +02:00
Francois Gouget
d0282267e0 kernel32/tests: Make initonce_callback() static. 2012-07-27 17:05:23 +02:00
Nikolay Sivov
f31c2d1df1 kernel32: Some tests for LOCALE_SNAME and neutral locales. 2012-07-26 13:40:43 +02:00
Nikolay Sivov
9ba0cf76db kernel32: Fix base for value returned with LOCALE_RETURN_NUMBER. 2012-07-26 13:40:43 +02:00
Nikolay Sivov
5b7efa8ea3 kernel32: Some test for handling locales specified by language only. 2012-07-26 13:40:42 +02:00
Francois Gouget
b193b0b7a8 kernel32/tests: Use NULL instead of casting 0. 2012-07-25 14:50:25 +02:00
Nikolay Sivov
04f588e63a kernel32: Some tests for blocking initialization with InitOnceBeginInitialize(). 2012-07-24 13:36:27 +02:00
Nikolay Sivov
9318528702 kernel32: Single thread test for InitOnceExecuteOnce(). 2012-07-23 12:54:15 +02:00
Nikolay Sivov
b1c3c8c898 kernel32: Added InitOnceInitialize() implementation. 2012-07-23 12:53:24 +02:00
Nikolay Sivov
77ad893a7b kernel32: Forward GetLocaleInfoEx() to GetLocaleInfoW(). 2012-07-23 12:50:56 +02:00
Nikolay Sivov
b586be515c kernel32: Added GetSystemDefaultLocaleName(). 2012-07-23 12:50:26 +02:00
Nikolay Sivov
0e234f3c25 kernel32: Partial CompareStringEx implementation. 2012-07-20 14:01:45 +02:00
Alexandre Goujon
5feea8ce1a kernel32/tests: Add a IOCTL_DVD_READ_STRUCTURE (DvdManufacturerDescriptor) test. 2012-07-17 11:55:52 +02:00
Alexandre Goujon
9fce6a37ec kernel32/tests: Add a IOCTL_DVD_READ_STRUCTURE (DvdCopyrightDescriptor) test. 2012-07-12 16:13:49 -05:00
Alexandre Goujon
a3b5dd2dff kernel32/tests: Add a IOCTL_DVD_READ_STRUCTURE (DvdPhysicalDescriptor) test. 2012-07-12 16:13:35 -05:00
Alexandre Goujon
7c27a96997 kernel32/tests: Add a helper to test CDROM ioctl. 2012-07-12 16:12:47 -05:00
Austin English
b22de982c0 kernel32: Add a stub for GetLocaleInfoEx. 2012-07-10 10:43:06 -05:00
Austin English
843390f9c9 kernel32: Add a stub for GetDynamicTimeZoneInformation. 2012-07-09 15:46:35 -04:00
Austin English
275fc471fe kernel32: Add a stub for WerSetFlags. 2012-07-09 15:46:21 -04:00
Francois Gouget
d31b6335f2 kernel32/tests: Test deleting a timer right after creating it. 2012-07-03 12:04:13 +02:00
Francois Gouget
b887e7a963 kernel32/tests: Improve some traces for the CreateTimerQueueTimer() tests. 2012-07-03 12:03:55 +02:00
André Hentschel
3cd0834a24 kernel32: Change LCMapStringW to LCMapStringEx and call it from LCMapStringW. 2012-06-28 11:36:56 +02:00
Austin English
729afb18fe kernel32: Add more tracing to GetDiskFreeSpaceW. 2012-06-25 10:39:36 +02:00
Stefan Leichter
c0e72bb362 kernel32: Let K32EnumProcessModules fail if the last parameter is NULL. 2012-06-22 14:09:51 +02:00
Dmitry Timoshkov
68ffbaa718 kernel32: Add a test for deleting a file opened for reading. 2012-06-22 14:09:49 +02:00
Marcus Meissner
b652dcee42 kernel32: Fixed read overflow in WriteFile argument. 2012-06-20 20:16:01 +02:00
Francois Gouget
4af794a5b4 kernel32/tests: Use the CSTR_XXX macros instead of numeric literals. 2012-06-20 10:27:52 +02:00
Francois Gouget
58d7011133 kernel32/tests: Add line-wrapping tests for FormatMessage(). 2012-06-20 10:27:33 +02:00
Francois Gouget
dc2956206f kernel32/tests: Add a trailing '\n' to an ok() call. 2012-06-18 17:19:17 +02:00
Francois Gouget
27b8e7c1d8 kernel32: Use the English (United States) spelling of license. 2012-06-15 18:35:39 +02:00
Francois Gouget
74605efe74 kernel32/tests: Get rid of unneeded function typedefs. 2012-06-15 18:35:38 +02:00
Vincent Povirk
14404713de kernel32: Return success from ReadFileEx/WriteFileEx when I/O is pending. 2012-06-15 10:30:23 +02:00
Vincent Povirk
982153605a kernel32: Add test for pending ReadFileEx/WriteFileEx calls. 2012-06-15 10:30:19 +02:00
Vincent Povirk
0a2d6e5183 kernel32: Add named pipe server test with ReadFileEx/WriteFileEx. 2012-06-15 10:30:16 +02:00
Detlef Riekenberg
7fbf5c239e kernel32/tests: Accept higher PRODUCT_* values. 2012-06-13 21:35:40 +02:00
Detlef Riekenberg
697cea2f93 kernel32/tests: Do not test GetLastError on success. 2012-06-13 12:08:37 +02:00
Dan Kegel
db48235880 kernel32: Quiet an extremely verbose stub fixme. 2012-06-11 11:27:24 +02:00
Dmitry Timoshkov
99c10bd7a1 kernel32: Print in the CopyFileW trace also fail_if_exists parameter. 2012-06-07 19:48:03 +02:00
André Hentschel
1f3eca666b kernel32/tests: Add tests for LCMapStringEx. 2012-06-06 20:54:22 +02:00
Detlef Riekenberg
8c83c66bcb kernel32/tests: Remove debug code from GetProductInfo. 2012-06-05 21:23:21 +02:00
Austin English
e8c283c009 kernel32: Add a stub for SetConsoleIcon. 2012-06-05 11:50:45 +02:00
Daniel Jelinski
53b551440c kernel32: Make SetThreadStackGuarantee stub return TRUE. 2012-06-01 13:24:47 +02:00
Detlef Riekenberg
64fbf5cac2 kernel32/tests: Add tests for GetProductInfo. 2012-05-31 12:37:24 +02:00
Stefan Leichter
68aa42a419 kernel32: Fix OutputDebugStringA called with NULL pointer. 2012-05-31 12:37:23 +02:00
Michael Geddes
d7dc0e6066 kernel32: Add timed wait capability flag to COMM Port properties. 2012-05-30 11:30:23 +02:00
Alexandre Julliard
bb23d63663 ntdll: Export _local_unwind. 2012-05-29 21:33:45 +02:00
André Hentschel
1f71006fe5 kernel32: Add checks for DragonFly BSD. 2012-05-29 10:46:43 +02:00
André Hentschel
5e5b435e7d kernel32: Add stub for SetThreadStackGuarantee. 2012-05-29 10:44:28 +02:00
Detlef Riekenberg
02b74d3fd3 ntdll: Implement NtGetCurrentProcessorNumber. 2012-05-21 10:20:25 +02:00
Alex Henrie
8ccf747d6a kernel32: Correct WideCharToMultiByte and MultiByteToWideChar error codes and conditions. 2012-05-17 17:44:26 +02:00
Alex Henrie
92b4979b33 kernel32: Avoid calling MultiByteToWideChar with invalid parameters. 2012-05-17 17:44:26 +02:00
Francois Gouget
fac36c55e9 Assorted typo, spelling, wording and case fixes. 2012-05-15 16:26:43 +02:00
Alexandre Julliard
5d770503b9 kernel32/tests: Avoid a non-portable printf format. 2012-05-14 14:15:53 +02:00
Alexandre Julliard
5f20ecc62a kernel32/tests: Remove a couple of invalid tests. 2012-05-09 23:21:07 +02:00
Francois Gouget
f0620c5156 kernel32: Some English (United States) spelling fixes. 2012-05-03 12:23:05 +02:00
Austin English
b4432a6274 kernel32: Only print a fixme once for FlushProcessWriteBuffers. 2012-05-03 11:51:38 +02:00
Austin English
e9dc02eaa3 kernel32: Move GlobalMemoryStatus(Ex) to a different debug channel. 2012-05-03 11:51:37 +02:00
Austin English
80ef24b057 kernel32: Add a stub for FlushProcessWriteBuffers. 2012-05-02 20:11:54 +02:00
Alexandre Julliard
fd11023e4b kernel32: Fix another overflow in GetModuleFileNameExW. 2012-05-01 14:43:46 +02:00
Piotr Caban
30aea19e3b kernel32/tests: Added IdnToUnicode tests. 2012-04-30 20:03:27 +02:00
Piotr Caban
e2f0463963 kernel32: Added IdnToUnicode implementation. 2012-04-30 20:03:26 +02:00
Piotr Caban
03b58f580c kernel32/tests: Added IdnToAscii tests. 2012-04-30 20:03:26 +02:00
Piotr Caban
04ad71ee05 kernel32: Added IdnToAscii implementation. 2012-04-30 20:03:25 +02:00
Piotr Caban
60b25b7dd6 kernel32: Support multiple labels in IdnToNameprepUnicode. 2012-04-30 20:03:25 +02:00
Alexandre Julliard
d08f34cd8e kernel32: Fix buffer overflows in K32GetModuleFileNameExA/W. 2012-04-30 14:27:13 +02:00
Piotr Caban
6cda3776f6 kernel32/tests: Added IdnToNameprepUnicode tests. 2012-04-26 19:48:09 +02:00
Piotr Caban
4242fc94a5 kernel32/tests: Added more FoldString tests. 2012-04-26 19:48:02 +02:00
Piotr Caban
a08710f3d0 kernel32: Added IdnToNameprepUnicode implementation. 2012-04-26 19:47:57 +02:00
Piotr Caban
047793e1aa make_unicode: Create tables with data needed by nameprep algorithm. 2012-04-26 19:41:28 +02:00
Dmitry Timoshkov
d4d39736ce kernel32: Add more memory access checks. 2012-04-19 19:28:12 +02:00
Dmitry Timoshkov
d4e57b1598 kernel32: Fix some typos, remove not needed casts. 2012-04-17 11:49:13 +02:00
Alexander Morozov
5c9ca5cb53 kernel32/tests: Add more tests for early closing mapping handle. 2012-04-16 18:56:15 +02:00
Alexander Morozov
e01643af9c kernel32/tests: Add a test for creating named mapping after closing without unmapping. 2012-04-13 16:15:37 +02:00
Christian Costa
d8822cf3d2 kernel32: Limit dwTotalPageFile in GlobalMemoryStatus to 4Gb minus 512kb for apps that do not expect so much memory. 2012-04-11 19:07:03 +02:00
Hans Leidekker
31ffa54773 kernel32: GetModuleHandleEx already clears the module handle on failure. 2012-04-05 14:51:33 +02:00
Hans Leidekker
f96c7278e7 kernel32: Clear the module handle on failure in GetModuleHandleEx. 2012-04-05 14:51:33 +02:00
Hans Leidekker
e8a95bf683 kernel32: Return failure from GetModuleHandleEx if the module handle pointer is NULL. 2012-04-05 14:51:33 +02:00
Hans Leidekker
7133c000cd kernel32/tests: Add tests for GetModuleHandleEx. 2012-04-05 14:51:33 +02:00
Alexandre Julliard
3d4a73e601 ntdll: Add a __chkstk entry point for x86_64. 2012-04-02 12:46:40 +02:00
Bruno Jesus
40f0145d00 kernel32: Avoid ini cache if file does not exist anymore. 2012-03-28 11:38:35 +02:00
Bruno Jesus
a4e3268886 kernel32/tests: Show that ini cache must not be used if file no longer exists. 2012-03-28 11:38:31 +02:00
André Hentschel
21b6d994d2 kernel32: Handle LOCALE_NAME_USER_DEFAULT with tests. 2012-03-27 11:55:05 +02:00
Austin English
1726427113 kernel32: Add stubs for DeleteVolumeMountPointA/W. 2012-03-14 17:30:18 +01:00
Austin English
f135f18b58 kernel32: Add a stub for WerRegisterRuntimeExceptionModule. 2012-03-13 10:54:00 +01:00
Dmitry Timoshkov
4b058e6e79 server: OpenMutex should perform a real access check instead of validating access flags.
This reverts 7b63fa658a.
2012-03-12 16:37:24 +01:00
André Hentschel
58a50926eb kernel32: Forward RtlRaiseException to ntdll on ARM. 2012-03-12 10:47:18 +01:00
André Hentschel
e303fd5ebe kernel32: Forward RtlPcToFileHeader to ntdll also on ARM. 2012-03-12 10:47:14 +01:00
Alexandre Julliard
aeaf18077e kernel32: Implement the memory resource notification functions. 2012-03-12 10:44:02 +01:00
Dmitry Timoshkov
495a0cba3d kernel32: Make CreateFile called with creation == 0 work when opening a vxd in win9x mode. 2012-03-12 10:14:13 +01:00
Dmitry Timoshkov
7a9fce25ec kernel32: Add some CreateFile disposition and access tests. 2012-03-09 11:30:39 +01:00
Dmitry Timoshkov
75209ffdaf kernel32: Fix file test compilation with PSDK headers. 2012-03-09 11:30:21 +01:00
Akihiro Sagawa
e4692b3f66 kernel32/tests: Add more tests for WriteConsole. 2012-03-09 11:27:30 +01:00
André Hentschel
00efe754f5 kernel32: Make Sleep hotpatchable. 2012-03-08 18:55:22 +01:00
André Hentschel
6d66de583f kernel32: Make GetModuleHandleA hotpatchable. 2012-03-08 18:55:18 +01:00
Dmitry Timoshkov
0e7314a298 kernel32: Add a test for LoadLibrary called on a not DLL image. 2012-02-24 09:56:25 +01:00
Dmitry Timoshkov
20093556f9 kernel32: Add a test to show that NtMapViewOfSection should not perform an image relocation. 2012-02-20 11:39:06 +01:00
Eric Pouech
945e16c281 kernel32: Enhance bare fd check by checking that the handle is a real console handle. 2012-02-20 11:38:24 +01:00
William Panlener
b21baaeb6e kernel32: Add missing function entry. 2012-02-16 11:56:51 +01:00
Francois Gouget
82612e8394 kernel32: Add a trailing full stop to the error messages. 2012-02-11 16:12:12 +01:00
Eric Pouech
d967484ecc kernel32: Added a couple of tests about console creation through CreateFile, and fix some corner cases. 2012-02-08 10:47:57 -06:00
Alexandre Julliard
e31dd6dba1 kernel32: Only change the Unix current after exec_process to make sure it's inherited properly. 2012-01-31 13:44:40 +01:00
Austin English
9a2c2ed5c2 kernel32: Add a stub for AddConsoleAliasA/W. 2012-01-25 13:53:59 +01:00
Dmitry Timoshkov
3a5ee02735 ntdll: Add an access check for file mappings. 2012-01-24 18:10:31 +01:00
Austin English
15bce22683 kernel32: Add stubs for ExpungeConsoleCommandHistoryA/W. 2012-01-23 17:05:10 +01:00
Austin English
eff816b55c kernel32: Add stubs for GetConsoleAliasesLengthA/W. 2012-01-23 17:05:07 +01:00
Austin English
4110068dc2 kernel32: Add stubs for GetConsoleCommandHistoryLengthA/W. 2012-01-23 16:07:42 +01:00
Francois Gouget
f445325999 Assorted spelling fixes. 2012-01-23 16:07:32 +01:00
Francois Gouget
ba4d4fe1e4 kernel32: Remove a full stop from an error message for consistency. 2012-01-23 16:07:13 +01:00
Austin English
2bc08d7f35 kernel32: Add stubs for GetConsoleCommandHistoryLengthA/W. 2012-01-19 21:08:54 +01:00
Dmitry Timoshkov
d50814846e kernel32: Remove a no longer needed todo_wine. 2012-01-18 12:37:39 +01:00
Dmitry Timoshkov
1d01a7ba1e kernel32: Fix access flags to page protection mapping in MapViewOfFileEx. 2012-01-17 11:54:43 +01:00
Dmitry Timoshkov
9bd55bc2f5 kernel32: Test MapViewOfFile and NtMapViewOfSection side by side. 2012-01-16 19:32:48 +01:00
André Hentschel
3a82d3b23a kernel32: No need for WINE_ prefixed debug output macros. 2012-01-11 17:47:23 +01:00
Daniel Lehman
b1f04e23bf kernel32: If string arg to FormatMessage is NULL, use "(null)" instead of crashing. 2012-01-09 15:32:50 +01:00
Pablo Saratxaga
7c34c4d239 kernel32: Corrections to Walloon locale. 2012-01-09 12:52:15 +01:00
Pierre Schweitzer
8ed701b3c6 kernel32: Fix handle leak. 2012-01-03 12:37:56 +01:00
Dmitry Timoshkov
1026bddf53 kernel32: Add a test for MapViewOfFile called on a not accessible mapping. 2011-12-20 10:15:42 +01:00
Francois Gouget
632ac0b227 kernel32: Avoid hardcoding the Unicode string literal lengths. 2011-12-16 17:40:40 +01:00
Dmitry Timoshkov
332eee4053 ntdll: Replace WRITE by WRITECOPY protection on an image section as Windows does. 2011-12-16 16:38:29 +01:00
Dmitry Timoshkov
bb8d47bd30 kernel32: Add a bunch of VirtualProtect tests on an image section. 2011-12-16 16:38:29 +01:00
Dmitry Timoshkov
eed406e028 ntdll: Setting WRITECOPY protection on a memory-mapped file is allowed. 2011-12-16 16:38:29 +01:00
Dmitry Timoshkov
5379a75baf kernel32: Add the tests for various combinations of CreateFileMapping/MapViewOfFile protections. 2011-12-15 14:46:53 +01:00
Alexandre Julliard
fe7652d0af kernel32: Don't run a nonexistent builtin from CreateProcess when filename is not specified. 2011-12-14 19:35:10 +01:00
Pierre Schweitzer
d5642a47ed kernel32: Fix memory leak. 2011-12-07 17:49:58 +01:00
Dmitry Timoshkov
d7e428a40a kernel32: Add a bunch of VirtualProtect tests on a memory-mapped file. 2011-12-01 16:01:30 +01:00
Ken Thomases
5bac5ee26e kernel32: Use double-fork to avoid leaving zombie processes. 2011-12-01 10:27:38 +01:00
Ken Thomases
f658feb70f kernel32: No need to reset SIGCHLD because we're not changing it anymore. 2011-12-01 10:11:06 +01:00
Dmitry Timoshkov
f9bb1b7afd kernel32: Add a test for protections accepted by CreateFileMapping, make it pass under Wine. 2011-11-30 14:56:43 +01:00
Francois Gouget
51a256e65f Assorted spelling fixes and wording tweaks. 2011-11-28 16:40:50 +01:00
Dmitry Timoshkov
517d0800df ntdll: Revert 33b0f0edff.
The tests clearly show that this commit is wrong.
2011-11-23 14:14:25 +01:00
Alexandre Julliard
1998c22d1b kernel32/tests: Avoid size_t in traces. 2011-11-22 18:19:06 +01:00
Dmitry Timoshkov
ed95814ed8 kernel32: Add a test for main module image section protections. 2011-11-22 11:10:03 +01:00
Dmitry Timoshkov
bed1e5c8f5 kernel32: Add a test to show that Windows changes the WRITECOPY to WRITE protection on an image section write. 2011-11-22 11:10:02 +01:00
Dmitry Timoshkov
30882eb08e kernel32: Add a test to see how a page protection changes after write. 2011-11-22 11:10:02 +01:00
Andrew Talbot
d1136d4aca kernel32: Remove unused file-static variables. 2011-11-16 09:44:48 +01:00
André Hentschel
62d719419c kernel32/tests: Fix two typos. 2011-11-15 11:48:58 +01:00
Thomas Faber
5d5fd2fa9b kernel32/tests: Add tests for GetDllDirectory. 2011-11-09 11:33:58 +01:00
Dmitry Timoshkov
a93f86716f kernel32: Add a bunch of tests for protections accepted by VirtualAlloc, make it pass under Wine. 2011-11-08 10:19:51 +01:00
Andrew Talbot
d5ad5ca91c kernel32: Remove extraneous braces from switch statement. 2011-11-07 11:53:52 +01:00
Dmitry Timoshkov
33255ee6ec ntdll: Make the VirtualProtect tests pass under Wine. 2011-11-03 13:51:56 +01:00
Dmitry Timoshkov
3daa153b29 kernel32: Use PAGE_READWRITE access when enabling write access to resource data. 2011-11-02 17:58:51 +01:00
Marcus Meissner
df69fa186f kernel32: Make sure we reference stack data still in scope (Coverity). 2011-11-02 16:07:00 +01:00
Ken Sharp
3f74c581b8 kernel32: Update English resource. 2011-11-01 16:57:25 +01:00
André Hentschel
8f369c9edb kernel32/tests: Use ARMv7 for PE images. 2011-11-01 16:45:33 +01:00
Michael Stefaniuc
68f90d9697 kernel32/ntdll: Mark a variable as unused. 2011-10-28 19:10:30 +02:00
Alex Henrie
3aff781f63 kernel32: Output message to stderr in current Unix codepage.
Fixes a bug in which the command "wine /." outputs a garbled error message in languages other than English.
Supersedes "kernel32: Output message to stderr in UTF-8"
2011-10-26 12:41:34 +02:00
Dan Kegel
6ca1a943eb kernel32/tests: fni->FileName is not nul terminated in test_readdirectorychanges_cr. 2011-10-25 16:57:28 +02:00
Marcus Meissner
db7ba0b230 kernel32: Avoid shadowing parameter "len". 2011-10-24 12:35:51 +02:00
Marcus Meissner
bba0180e56 kernel32: Avoid shadowing "buffer" variable. 2011-10-24 12:35:37 +02:00
Marcus Meissner
615e9572f1 kernel32: Avoid shadowing variables "a", "nt" and "fd". 2011-10-24 12:34:52 +02:00
Marcus Meissner
69b713618b kernel32: Avoid shadowing "ret" variable. 2011-10-24 12:33:46 +02:00
Austin English
d4ec0a19c0 kernel32: Add a stub for GetProcessDEPPolicy. 2011-10-20 11:06:22 +02:00
Bernhard Loos
c368df4865 server: PIPE_TYPE_BYTE | PIPE_READMODE_MESSAGE is invalid for named pipes. 2011-10-13 19:57:19 +02:00
Louis Lenders
3f1b41ebb2 kernel32: Add stubs for several SRW lock functions. 2011-10-13 19:57:19 +02:00
Alexander Morozov
d0451f6b3f server: Fix overlapping shared and exclusive locks support. 2011-10-12 17:10:54 +02:00
Louis Lenders
e24438c1d1 kernel32: Add stub for GetThreadPreferredUILanguages. 2011-10-12 17:07:32 +02:00
Alexander Morozov
b2a302b667 kernel32/tests: Shared lock can overlap exclusive if handles are equal. 2011-10-11 20:01:56 +02:00
Marcus Meissner
79115f4179 kernel32: Fixed QueryDosDeviceNameW size (chars not bytes). 2011-10-10 13:30:37 +02:00
Thomas Faber
fc2dcd04ab kernel32/tests: Fix MSVC build in console.c. 2011-10-04 17:31:45 -05:00
Thomas Faber
bcbaefe8b5 kernel32/tests: Fix MSVC build in file.c and pipe.c. 2011-10-04 17:31:08 -05:00
Francois Gouget
a2af890483 kernel32: Fix the NT path returned by QueryFullProcessImageName(). 2011-10-04 15:23:03 -05:00
Francois Gouget
1d1ebefff1 kernel32/tests: Better check the NT path returned by QueryFullProcessImageName(). 2011-10-04 15:21:44 -05:00
Francois Gouget
80ba9f3597 kernel32/tests: Test K32GetProcessImageFileNameA() and improve the QueryFullProcessImageNameA() tests. 2011-10-04 15:21:36 -05:00
Nikolay Sivov
17af6e394a kernel32/tests: Move CompareStringA data to a table. 2011-10-04 15:19:42 -05:00
Francois Gouget
db882bfb5d kernel32/tests: Check what happens if QueryDosDeviceA() is given an insufficient buffer. 2011-10-03 16:56:30 -05:00
Francois Gouget
8e67930bd7 kernel32: Reset LastError if GetModuleFileName() succeeds. 2011-10-03 16:56:27 -05:00
Dmitry Timoshkov
25ae02b4ed kernel32: Fix a typo in the LoadLibrary return value testing. 2011-09-30 10:32:01 -05:00
Bernhard Loos
5098b13177 server: Only the sharing parameter of two instances of the same pipe have to match. 2011-09-27 16:54:00 +02:00
Bernhard Loos
039bacb0c9 server: Store sharing state for named pipes. 2011-09-27 16:54:00 +02:00
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