Commit Graph

1721 Commits

Author SHA1 Message Date
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