Commit Graph

2341 Commits

Author SHA1 Message Date
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
Alexandre Julliard
3494fb7f72 kernel32: Avoid resolving imports against the advapi32 forwards. 2015-06-10 15:26:05 +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
Michael Müller
803e9cfb66 kernel32: Correctly check for an empty short filename in GetShortPathNameW (Coverity). 2015-06-01 14:46:34 +09:00
André Hentschel
a18f84c0b1 ntdll: Add stub for __chkstk on ARM. 2015-05-29 15:03:05 +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
Alexandre Julliard
c4fb1f617d kernel32: Get rid of the hardcoded NUL device in QueryDosDeviceW. 2015-05-21 17:37:42 +09:00
Alexandre Julliard
f32600d3c1 kernel32: Check NT symlink first for all devices in QueryDosDeviceW. 2015-05-21 17:37:14 +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
Michael Müller
f556d0e936 kernel32: Return correct device type for cd devices without medium. 2015-05-19 19:24:20 +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
Grazvydas Ignotas
2e21381177 kernel32: Don't leak an event handle on errors. 2015-05-18 14:07:21 +09:00
Andrew Eikum
d9a27e9ca0 kernel32: Implement CheckNameLegalDOS8Dot3. 2015-05-13 22:05:42 +09:00
Mark Harmstone
e468f15d20 kernel32: Add GetFileMUIInfo stub. 2015-05-12 15:30:47 +09:00
Nikolay Sivov
2c98d5b90c kernel32: Implement GetDynamicTimeZoneInformation(). 2015-05-11 15:39:24 +09:00
Nikolay Sivov
dde69d617b kernel32: Fixed couple of comments regarding atom calls. 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
1119da47ee kernel32: Do not omit mandatory argument for VirtualProtect. 2015-05-04 20:07:54 +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
Sebastian Lackner
4ae0ef44d2 kernel32: Add stub for PowerClearRequest. 2015-04-07 15:14:40 +09:00
Sebastian Lackner
25505995af kernel32: Add stub for PowerSetRequest. 2015-04-07 15:14:35 +09:00
Sebastian Lackner
966dd5074d kernel32: Add stub for PowerCreateRequest. 2015-04-07 15:14:29 +09:00
Mark Harmstone
ed0c6746dd kernel32: Stub out GetFileMUIPath. 2015-04-06 12:49:03 +09:00
Sebastian Lackner
51c21cca98 kernel32: Fix calculation of returned buffer in get_registry_locale_info.
Fixes a regression introduced by 8826ba1bc8.
2015-04-06 12:06:18 +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
Austin English
88362a0770 kernel32: Add a stub for QueryThreadCycleTime. 2015-03-30 19:49:11 +09:00
Frédéric Delanoy
f6a341c747 Assorted spelling/grammar fixes. 2015-03-27 22:29:48 +09:00
Michael Müller
8f0d5a37a3 kernel32/tests: Add tests for GetFinalPathNameByHandleA/W. 2015-03-27 00:11:36 +09:00
Nikolay Sivov
85a3d09329 kernel32: Implement GetProcessIdOfThread(). 2015-03-20 21:31:57 +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
Sebastian Lackner
5bab75166c kernel32: Fix leak of dynamic_buffer in QueryFullProcessImageNameW (Coverity). 2015-03-17 14:52:08 +09:00
Sebastian Lackner
d48e3a0bea kernel32: Fix file handle leak in exec_process (Coverity). 2015-03-17 14:52:08 +09:00
Francois Gouget
ecc04f6996 kernel32: Remove unneeded NONAMELESSXXX directives. 2015-03-13 00:28:19 +09:00
Michael Stefaniuc
a7daccb674 kernel32: Don't free a NULL / not yet allocated pointer (PVS-Studio). 2015-03-09 22:06:56 +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
Austin English
295f194804 kernel32: Add SetVolumeMountPointA/W stubs. 2015-02-12 22:12:22 +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
Austin English
b331c4f931 kernel32: Add CreateHardLinkTransactedA/W stubs. 2015-02-05 22:42:22 +09:00
Nikolay Sivov
d1243bcc85 kernel32/tests: Remove a couple of duplicated constants. 2015-02-03 20:52:51 +09:00
Nikolay Sivov
fdda480df5 kernel32: Fix writing resource section as a last section in UpdateResource(). 2015-01-28 21:30:01 +01: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
Austin English
ae98c9a42b kernel32: Sync spec file with windowss 7. 2015-01-28 11:08:21 +01:00
Daniel Scharrer
4d05cfe577 kernel32: Add stub implementation for EnumResourceLanguagesEx. 2015-01-27 22:03:17 +01:00
Austin English
fa80425242 kernel32: Add GetSystemFirmwareTable stub. 2015-01-26 12:06:04 +01:00
Charles Davis
193d15cc3c kernel32: Don't use %gs on 64-bit Mac OS. 2015-01-23 11:11:37 +01:00
Charles Davis
2ace215b9a kernel32: Recognize 64-bit Mach-O modules, too. 2015-01-23 11:10:57 +01:00
André Hentschel
ae1251596e kernel32/tests: Don't test function directly when reporting GetLastError(). 2015-01-21 21:35:57 +01:00
Hans Leidekker
b51476ad42 kernel32: Retrieve the system affinity mask from ntdll. 2015-01-21 15:30:37 +01:00
Qian Hong
bfd088dbc6 kernel32: Fixed buffer size on 64bit in IsWow64Process. 2015-01-16 20:15:32 +01:00
Qian Hong
caa0829d56 kernel32: Make SetUnhandledExceptionFilter hotpatchable. 2015-01-16 16:52:11 +01:00
Seán de Búrca
6cd0eb2027 kernel32: Implement Get{Time,Date}FormatEx. 2015-01-06 12:59:07 +01:00
Jon Doron
3c28c0a2eb kernel32: Fix write_raw_resources to support 32 and 64 PE formats. 2015-01-05 16:29:03 +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
Sergey Kalinichev
7eed378f5d ntdll: Add stub for RtlSetHeapInformation. 2014-12-19 22:36:17 +01:00
Sebastian Lackner
cacc9ae888 psapi: Implement semi-stub for K32EnumProcessModulesEx. 2014-12-16 17:25:36 +01:00
Sebastian Lackner
8826ba1bc8 kernel32: Return proper char count in get_registry_locale_info. 2014-12-16 13:32:53 +01:00