Commit Graph

410 Commits

Author SHA1 Message Date
EA Durbin 4a0833c2d0 kernel32: Add stub implementation of GetConsoleInputExeNameA. 2007-11-13 15:07:54 +01:00
Rob Shearman 8296548bb5 kernel32: Implement GetThreadId. 2007-11-13 13:29:27 +01:00
Hans Leidekker addf895c87 kernel32: Loosen requirements on what QueryDosDevice returns. 2007-11-12 12:56:28 +01:00
Francois Gouget 81a5701ca9 Assorted spelling fixes. 2007-11-09 13:07:12 +01:00
Alexandre Julliard 964d83501a kernel32: Add spec entries for LocaleNameToLCID and LCIDToLocaleName. 2007-11-06 20:37:54 +01:00
Rob Shearman 92db6d2c2f server: Don't do access checks on the security descriptors of newly created objects. 2007-11-06 14:52:21 +01:00
Francois Gouget 94799c3cc7 kernel32: Fix the image size in a test to avoid a BSOD on Windows XP SP1. 2007-11-05 15:06:40 +01:00
Vitaliy Margolen eb31959ab9 kernel32: Implement GetProcessHandleCount. 2007-11-01 12:41:48 +01:00
Chris Wulff 8cf7cb32c5 kernel32: Added a stub for FindVolumeMountPointClose. 2007-10-31 12:39:55 +01:00
Detlef Riekenberg f2e7c43d3c kernel32: Fix description for SetDefaultCommConfig. 2007-10-29 12:02:44 +01:00
Aric Stewart 6a8219a6b1 kernel32: Set last error to ERROR_INSUFFICIENT_BUFFER in LCMapString when the sort key buffer is too small. 2007-10-26 14:03:46 +02:00
Rob Shearman 512239d515 kernel32: Add tests for creating events with different initial security descriptors. 2007-10-25 12:47:28 +02:00
Lionel Debroux 938f748b20 kernel32/tests: Fix memory leaks (found by Smatch). 2007-10-22 15:58:29 +02:00
Mikolaj Zalewski 25e15ddb51 kernel32: FindExSearchLimitToDirectories has no effect on FindFirstFileEx. 2007-10-19 12:26:49 +02:00
EA Durbin 9984ac8a12 kernel32: Partially implement GetUserGeoID(). 2007-10-18 14:18:35 +02:00
Mikolaj Zalewski 5bfd7044ea ntdll: Support for UTF-16 manifests with reverse endianness. 2007-10-18 12:20:52 +02:00
Mikolaj Zalewski 9f4001f7e0 ntdll: Manifests should be parsed as UTF-16 only if there is a BOM (with testcase). 2007-10-18 12:11:06 +02:00
Mikolaj Zalewski e361c0d284 kernel32/tests: Make the actctx test pass when the application is run from a different directory. 2007-10-18 12:10:51 +02:00
Mikolaj Zalewski ba24af0c34 kernel32/tests: Support for spaces in actctx test executable path. 2007-10-18 12:10:44 +02:00
Mikolaj Zalewski 47e59d994f kernel32/tests: Don't close an invalid handle if the process is being debugged as this will raise an exception. 2007-10-18 12:10:37 +02:00
Alexandre Julliard 00193610f0 kernel32/tests: Replace a couple of macros by a function to avoid compiler warnings. 2007-10-17 14:15:40 +02:00
Alexandre Julliard b22183703f kernel32: Fix GlobalMemoryStatus to take into account the IMAGE_FILE_LARGE_ADDRESS_AWARE flag.
Also the page file size must not be truncated to 2Gb no matter what
the flag is set to.
2007-10-15 22:32:36 +02:00
Gerald Pfeifer 1a0f1bc6ce kernel32: Use FIELD_OFFSET instead of pointer cast. 2007-10-15 17:50:07 +02:00
Alexandre Julliard 60c562446c kernel32: Get rid of the NLS_RegOpenSubKey function, its behavior is broken. 2007-10-12 11:47:34 +02:00
Alexandre Julliard 3eea9a6193 kernel32: Use FIELD_OFFSET instead of pointer cast. 2007-10-10 12:38:58 +02:00
EA Durbin 64dda7f317 kernel32: Implement SetUserGeoID. 2007-10-10 11:18:21 +02:00
Alexandre Julliard 4a5ba4c732 kernel32: Improve tracing in GlobalAlloc. 2007-10-02 13:31:59 +02:00
Marcus Meissner 524caf26c6 kernel32: Test IsBadReadPtr/ IsBadCodePtr / IsBadWritePtr. 2007-10-02 13:31:31 +02:00
Gerald Pfeifer 9498ada7a2 kernel32: Fix types for the FreeBSD implementation of GlobalMemoryStatusEx(). 2007-10-02 11:45:14 +02:00
Gerald Pfeifer d328c07bd3 kernel32: Fix signedess for FreeBSD-specific implementation of GetSystemInfo(). 2007-10-02 11:44:31 +02:00
Stefan Leichter f81f82f3ed kernel32: Define WINE_FILEVERSION in version resource of krnl386.exe. 2007-10-01 14:17:41 +02:00
Andrey Turkin 308f73c06d kernel32: Pass completion value to ntdll layer. 2007-09-28 13:20:36 +02:00
Andrew Talbot 344e8acb8e kernel32: Fix a memory leak. 2007-09-27 19:25:06 +02:00
Hans Leidekker 2c061dbae6 kernel32: Check for NULL output buffer in FormatMessage{A, W}. 2007-09-27 12:47:07 +02:00
Dmitry Timoshkov 5be5b9c5c7 kernel32: Add a test for read-only mapping of a write-only section, test actual page access rights of the mapping. 2007-09-25 11:58:11 +02:00
Michael Stefaniuc ebd1ba807e kernel32: Fix a memory leak. Found by cross referencing Andrew Talbot's list of potential memory leaks with Smatch's view of the same problem. 2007-09-21 12:05:35 +02:00
Dmitry Timoshkov 808d38fdb6 kernel32: Print last error in failure messages of the MapViewOfFile test. 2007-09-20 15:52:05 +02:00
James Hawkins 8e90c6099e kernel32: Don't crash accessing an invalid handle in GlobalSize. 2007-09-20 14:27:13 +02:00
Dmitry Timoshkov c6b7f7ccbe kernel32: Add a test for rw mapping of a read-only section. 2007-09-19 14:57:19 +02:00
James Hawkins 72a3f18338 kernel32: Return TRUE for all pointer params in GlobalUnlock. 2007-09-17 13:41:53 +02:00
James Hawkins 40dff81b5a kernel32: Fix the case where memory is freed twice in GlobalFree. 2007-09-17 13:41:49 +02:00
Rob Shearman 3f431a0646 server: Add get_token_statistics server call and use it to implement the TokenStatistics and TokenType levels for NtQueryInformationToken. 2007-09-14 14:43:46 +02:00
Rob Shearman 247b0c9b8e ntdll: Add a stub implementation of FSCTL_PIPE_IMPERSONATE that just impersonates the token of the current process. 2007-09-14 14:23:38 +02:00
Alexandre Julliard 0a134e9e3f kernel32: GetTempPath should try the USERPROFILE and the Windows directory too. 2007-09-12 16:52:59 +02:00
Dmitry Timoshkov dbd9c8db51 kernel32: Skip the comm test if the found com port doesn't respond. 2007-09-12 11:33:11 +02:00
Damjan Jovanovic f3c9a9b1b6 kernel32: Use sysconf instead of the obsolete CLK_TCK. 2007-09-11 11:49:14 +02:00
Rob Shearman 11d75beeed kernel32: Remove an unused #define in time.c. 2007-09-10 16:13:57 +02:00
Dmitry Timoshkov 0aec2623c5 kernel32: Fix some compiler warnings. 2007-09-10 15:29:46 +02:00
Francois Gouget 015dc79cd4 version: Fix some Ver*() prototypes (especially wrt constness).
Better match the PSDK types and fix the winapi_check warnings.
2007-09-10 12:13:41 +02:00
Francois Gouget 9dc6f6cf54 kernel32/tests: Add tests for DebugActiveProcessStop() and DebugSetProcessKillOnExit(). 2007-08-31 12:08:58 +02:00
Francois Gouget b6aa247093 server: Fix the crashed process exit code when the debugger exits without detaching. Add a conformance test. 2007-08-31 12:08:58 +02:00
Francois Gouget 9271fcc86d winedbg: 'winedbg --auto' and 'winedbg --minidump' should detach when done so as to not mess up the crashed process exit code. 2007-08-31 12:08:58 +02:00
Lionel Debroux 79326157f9 kernel32: Fix memory leak in CopyFileW. 2007-08-30 17:02:48 +02:00
Francois Gouget 1f0fb354f5 kernel32/tests: Don't call ok() in child processes. 2007-08-30 12:25:55 +02:00
Francois Gouget a86c035d7f kernel32/tests: If the registry happens to be set up right, check that winedbg does not mess up the crashed process exit code (unfortunately it does). 2007-08-30 12:25:52 +02:00
Francois Gouget 2993785f3a Assorted non-ANSI function declaration fixes (missing void). 2007-08-30 11:57:18 +02:00
Dmitry Timoshkov afc85e91ab kernel32: Fix a compiler warning. 2007-08-30 11:49:02 +02:00
Dmitry Timoshkov a76ef05c90 ntdll: Do not leave not initialized cached timezone information if a timezone doesn't have daylight saving rules. 2007-08-29 14:08:20 +02:00
Alexandre Julliard 2e55b3d6ab kernel32: Store a few more locale values in the registry. 2007-08-28 11:36:45 +02:00
Kirill K. Smirnov f3e13174c7 wineconsole: Implement GetConsoleWindow. 2007-08-24 12:03:22 +02:00
Dmitry Timoshkov 18060ed7d4 kernel32: Restore check for StandardDate.wMonth being 0. 2007-08-21 21:39:06 +02:00
Paul Vriens 7626e5ec77 kernel32/tests: Skip some not implemented functions and add a few skip's. 2007-08-21 21:38:35 +02:00
Dmitry Timoshkov 87f119cfe0 kernel32: Fix test case failures for time zones with absolute transition dates. 2007-08-21 12:40:46 +02:00
Dmitry Timoshkov d666143f88 ntdll: Detect current time zone settings. 2007-08-21 12:40:37 +02:00
Louis Lenders 7475599b40 kernel32: Set USERNAME environment variable. 2007-08-17 12:21:45 +02:00
Marcus Meissner f2ccdecd4b kernel32: Initialize variable to a known bad value. 2007-08-16 12:01:50 +02:00
Francois Gouget d18cf0c4f1 kernel32/tests: Remove a redundant RegSetValueExA() call. 2007-08-16 11:09:31 +02:00
Mikołaj Zalewski 7e79b5656e kernel32: Return error code if WOWCallback16Ex of a real-mode function failed. 2007-08-15 11:10:54 +02:00
Mikołaj Zalewski 216c3b0d0a kernel: Allocate global memory with execute permission. 2007-08-14 13:24:47 +02:00
Francois Gouget 6493c30c90 kernel32/tests: Test the debugger startup and crashed processes exit code. 2007-08-10 12:58:17 +02:00
Francois Gouget 2bdf6c75ec kernel32: Don't get stuck if the debugger exits without signaling the event. 2007-08-09 14:12:13 +02:00
Luis C. Busquets Pérez a02ccd9a15 kernel32: Export RestoreLastError. 2007-08-08 15:32:04 +02:00
Kirill K. Smirnov 5217ea7a1b kernel32: Do not append empty lines to the console history. 2007-08-08 15:32:04 +02:00
Paul Vriens 5cb50202a0 kernel32/tests: Create paths after checking availability of functions. 2007-08-08 15:32:00 +02:00
Paul Vriens e90f1e3568 kernel32/tests: Changed skip message. 2007-08-08 15:32:00 +02:00
Francois Gouget f74d2a8fbf kernel32/tests: Re-balance the curly parentheses so winapi_check can parse the file. 2007-08-06 12:29:50 +02:00
Marcus Meissner 1ad6abfbbc kernel32/tests: Fixed size to MultiByteToWideChar. 2007-08-01 12:13:44 +02:00
Francois Gouget 5266e57975 Assorted spelling fixes. 2007-07-31 21:37:50 +02:00
Dmitry Timoshkov 9472e04447 kernel32: Skip remainder of the time zone test if SystemTimeToTzSpecificLocalTime not present. 2007-07-31 12:35:00 +02:00
Dmitry Timoshkov ae271f275c kernel32: Fix TIME_CompTimeZoneID return type. 2007-07-30 13:39:18 +02:00
Dmitry Timoshkov a68059f4b7 kernel32: Add more tests for time zone info. 2007-07-30 13:39:10 +02:00
Jacek Caban 43adec3e81 kernel32: Added a number of activation context tests. 2007-07-26 19:42:06 +02:00
Jacek Caban dcbbd30064 kernel32: Added FindActCtxSectionStringA implementation. 2007-07-26 11:05:32 +02:00
Eric Pouech 6792a9a92e ntdll: Implemented RtlFindActivationContextSectionString. 2007-07-26 11:05:32 +02:00
Alexandre Julliard 3a71513d99 ntdll: Initial implementation of RtlQueryInformationActivationContext.
Partially based on a patch by Eric Pouech.
2007-07-26 11:05:32 +02:00
Matt Jones 6763742090 server: Only commit SetThreadPriority if new priority is correct. 2007-07-25 13:59:17 +02:00
Matt Jones f204ed1d19 kernel32: Added test for bad arguments to SetThreadPriority, test for correct error value. 2007-07-25 13:56:29 +02:00
Andrew Talbot 6c0ccbc23a kernel32: Cast-qual warning fix. 2007-07-23 11:53:41 +02:00
Anatoly Lyutin 857ff080eb kernel32/tests: Add test for GetShortPathNameW. 2007-07-20 11:45:02 +02:00
Alexandre Julliard 797dd942ec ntdll: Implemented handling of the per-thread activation context stack. 2007-07-19 17:07:48 +02:00
Alexandre Julliard 64f6fdc57e kernel32: Move activation context creation to ntdll (based on a patch by Eric Pouech). 2007-07-19 17:01:04 +02:00
Alexandre Julliard cd33692fa1 kernel32: Always clear the I/O status block count before calling ntdll functions. 2007-07-16 16:20:29 +02:00
Alexandre Julliard fec5117e91 server: Merge APC processing into the select request.
This is needed to return the correct value when one of the handles
being waited on is set to signaled state by the APC.
2007-07-16 16:14:45 +02:00
Alexandre Julliard acb43cfef2 kernel32: Wait in overlapped Read/WriteFile even when no overlapped structure is passed. 2007-07-16 15:27:53 +02:00
Huw Davies e59a947c88 kernel32: Overlapped pipe tests. 2007-07-16 14:53:42 +02:00
Huw Davies 154389ce8e kernel32: SetNamedPipeHandleState() is a stub, so for now don't check its return value. 2007-07-12 14:40:52 +02:00
Huw Davies f2894533d5 kernel32: Swap incorrect use of buffers. 2007-07-12 14:40:47 +02:00
Alexandre Julliard 40fb7ca168 kernel32: Implemented GetTickCount64. 2007-07-11 14:04:54 +02:00
Paul Vriens 7a6fbf2b09 kernel32/tests: Add a forgotten if statement. 2007-07-09 11:46:22 +02:00
Paul Vriens 35edd40f33 kernel32/tests 2/2: Use skip for not implemented function. 2007-07-05 19:54:26 +02:00