Dmitry Timoshkov
e67a00b466
ntdll: Separate image relocation from NtMapViewOfSection.
2015-08-18 19:56:48 +09:00
André Hentschel
4b8df74447
kernel32/tests: Add more ARM and ARM64 arch strings.
2015-08-12 22:52:26 +09:00
Francois Gouget
f8a7d6ed74
Assorted spelling fixes.
2015-08-07 23:50:48 +09:00
Sebastian Lackner
1d2331344f
kernel32/tests: Add tests for JobObjectLimitInformation info classes.
2015-07-31 12:08:16 +02:00
Andrew Cook
453458f294
server: Implement JOB_OBJECT_LIMIT_KILL_ON_JOB_CLOSE.
2015-07-17 14:28:59 +09:00
Sebastian Lackner
4ccdc0c036
kernel32/tests: Repeat test for SignalObjectAndWait multiple times to test wineserver wakeup cookie management.
2015-07-15 16:29:25 +09:00
Dmitry Timoshkov
38649f2060
kernel32/tests: Add a loader test using minimal PE image that Windows7 is able to load.
2015-07-13 22:08:30 +09:00
Dmitry Timoshkov
edc0fa74a3
kernel32: Fix compilation of loader tests with PSDK.
2015-07-13 22:08:26 +09:00
Sebastian Lackner
d2a3c9c20e
kernel32/tests: Fix leak of threadpool object.
2015-07-03 13:08:28 +09:00
Sebastian Lackner
eadd27a38a
kernel32: Forward remaining threadpool functions to ntdll.
2015-07-03 13:08:20 +09:00
Michael Stefaniuc
c50f6a304c
kernel32/tests: The result of a comparison is already a BOOL.
2015-06-30 17:40:27 +09:00
Michael Müller
d0ae2b0d3d
kernel32: Implement GetNumaProcessorNode.
2015-06-29 19:07:51 +09:00
Michael Müller
81142c9985
kernel32/tests: Add tests for GetNumaProcessorNode.
2015-06-29 19:07:51 +09:00
Sebastian Lackner
d082ea3eab
ntdll: Implement support for AT_ROUND_TO_PAGE flag in NtMapViewOfSection.
2015-06-26 20:35:05 +09:00
Sebastian Lackner
7a8470ea94
ntdll: NtMapViewOfSection should fail if both addr_ptr and zero_bits is set.
2015-06-26 20:35:05 +09:00
Sebastian Lackner
b80bbd5986
kernel32/tests: Add GetVolumePathNameW tests.
2015-06-23 20:46:09 +09:00
Sebastian Lackner
d01c135aed
kernel32/tests: Add a lot of picky GetVolumePathName tests.
2015-06-23 20:46:08 +09:00
Erich E. Hoover
ed151a5efc
kernel32: Handle device paths in GetVolumePathName.
...
NT-style paths that have a device prefix (\??\) also return the drive
of the current working directory (even if they're valid devices).
2015-06-23 20:46:08 +09:00
Erich E. Hoover
5a84969f39
kernel32: Handle bogus DOS paths in GetVolumePathName.
...
Paths that are not NT and not even close to DOS don't actually fail
catastrophically. Even though MSDN suggests that it returns the boot
drive in this case, tests indicate that it returns the drive of the
current working directory.
2015-06-23 20:46:07 +09:00
Erich E. Hoover
e8e13308ea
kernel32: Handle semi-DOS paths in GetVolumePathName.
...
Add support for "semi-DOS" paths, these paths revert to the drive
letter specified in the first character.
2015-06-23 20:46:03 +09:00
Erich E. Hoover
62279b7f4d
kernel32/tests: Add a bunch more GetVolumePathName tests.
2015-06-23 20:44:25 +09:00
Erich E. Hoover
b29b0d2cff
kernel32/tests: Convert GetVolumePathName tests into a list.
2015-06-23 20:44:25 +09:00
Erich E. Hoover
f6c7e247ad
kernel32: Implement GetVolumePathName.
...
The purpose of this function is to return the most fundamental path
without leaving a filesystem. Steam uses this so that it can use inode
searches, without this functionality some installations/validations will
fail if the Steam Library is not on the same drive as Steam
itself (symlink'd to another location).
2015-06-23 20:44:21 +09:00
Erich E. Hoover
5e817e93de
kernel32: Implement GetSystemTimes.
2015-06-11 15:58:34 +09:00
Louis Lenders
305a73bcb5
kernel32/tests: Add tests for GetSystemTimes.
2015-06-11 15:58:15 +09:00
Michael Müller
7fe0b56e15
kernel32: Forward SetFileInformationByHandle FileDispositionInfo class to ntdll.
2015-06-11 15:34:42 +09:00
Michael Müller
fd8fae105b
kernel32: Improve stub for SetFileInformationByHandle.
2015-06-11 15:32:26 +09:00
Jacek Caban
09176c3aa0
kernel32: Treat empty locale name as LOCALE_INVARIANT.
2015-06-10 15:00:15 +09:00
Nikolay Sivov
5742497a35
kernel32/tests: Some tests for invalid classes in SetFileInformationByHandle().
2015-06-09 18:05:48 +09:00
Sebastian Lackner
8ddab2c2f4
ntdll: Fix status code when NtMapViewOfSection parameter check fails.
2015-06-08 15:34:04 +09:00
Sebastian Lackner
5204d89dc9
kernel32/tests: Add tests for virtual memory alignment behaviour.
...
AT_ROUND_TO_PAGE is only available on 32-bit non-wow64 systems.
2015-06-08 15:33:59 +09:00
Nikolay Sivov
b17e4376d5
kernel32: Fail properly for unsupported classes in GetFileInformationByHandleEx.
2015-06-08 15:29:44 +09:00
Jacek Caban
12a134fdc4
kernel32: Fixed buffer overflow in GetShortPathNameW.
2015-05-25 21:43:17 +09:00
Francois Gouget
8efa0fb0c4
kernel32/tests: Fix compilation on systems that don't support nameless unions.
2015-05-25 14:34:07 +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
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
Andrew Eikum
d9a27e9ca0
kernel32: Implement CheckNameLegalDOS8Dot3.
2015-05-13 22:05:42 +09:00
Nikolay Sivov
2c98d5b90c
kernel32: Implement GetDynamicTimeZoneInformation().
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
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
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
Michael Müller
8f0d5a37a3
kernel32/tests: Add tests for GetFinalPathNameByHandleA/W.
2015-03-27 00:11:36 +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
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
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
Nikolay Sivov
d1243bcc85
kernel32/tests: Remove a couple of duplicated constants.
2015-02-03 20:52:51 +09: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
André Hentschel
ae1251596e
kernel32/tests: Don't test function directly when reporting GetLastError().
2015-01-21 21:35:57 +01:00
Qian Hong
bfd088dbc6
kernel32: Fixed buffer size on 64bit in IsWow64Process.
2015-01-16 20:15:32 +01:00
Seán de Búrca
6cd0eb2027
kernel32: Implement Get{Time,Date}FormatEx.
2015-01-06 12:59:07 +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
Francois Gouget
ea932fbcc1
Assorted spelling fixes.
2014-12-05 20:47:45 +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
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
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