Commit Graph

1658 Commits

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