Commit Graph

1155 Commits

Author SHA1 Message Date
Dan Kegel 4696a53679 kernel32: Fix two little leaks in heap test.
Found by valgrind.
2009-10-21 17:40:19 +02:00
Aurimas Fišeras 65fc5aa57e kernel32/nls: Add genitive forms for Lithuanian locale. 2009-10-21 16:05:58 +02:00
Nikolay Sivov 2b7a3657f7 kernel32/locale: Add support for LOCALE_RETURN_GENITIVE_NAMES for LOCALE_SMONTHNAME* locale data, update Russian nls resource accordingly. 2009-10-21 16:05:57 +02:00
Nikolay Sivov 15c0f0a42d kernel32/tests: Add tests for LOCALE_RETURN_GENITIVE_NAMES flag for GetLocaleInfoW. 2009-10-21 16:05:57 +02:00
Alexandre Julliard 87894c5f7b kernel32: Use the PWD variable to set the initial current directory. 2009-10-15 12:06:23 +02:00
Paul Vriens d11df5126d kernel32/tests: Fix some test failures on Win9x/WinMe. 2009-10-14 14:24:29 +02:00
Ray Hinchliffe 2c725de6de kernel32: Correct ullTotalVirtual for GlobalMemoryStatusEx(). 2009-10-14 13:03:33 +02:00
Stefan Dösinger 282cc71aed kernel32: Make some functions hookable. 2009-10-14 12:21:05 +02:00
Dmitry Timoshkov 27ebfdb879 kernel32: Implement HeapQueryInformation, add some basic tests for it. 2009-10-12 12:48:03 +02:00
Alexandre Julliard 42c5215133 kernel32: Moved the DeviceIoControl function to file.c. 2009-10-08 20:30:16 +02:00
Alexandre Julliard 69a1fba4c3 kernel32: Move some 16-bit definitions to kernel16_private.h. 2009-10-08 20:29:57 +02:00
Alexandre Julliard e5288bf42f kernel32: Move the DOS file handle functions to file16.c. 2009-10-08 19:22:17 +02:00
Alexandre Julliard 86c6021c71 kernel32: Reimplement GetPrivateProfileString16 on top of 32-bit functions and move it to file16.c. 2009-10-08 19:12:37 +02:00
Alexandre Julliard 362ecd06f6 kernel32: Fix handling of overflows in GetPrivateProfileSectionA. 2009-10-08 16:28:17 +02:00
Ge van Geldorp 55423d8df2 kernel32/tests: Check last error before calling lstrcmpA() since it may reset GLE. 2009-10-08 12:03:02 +02:00
Alexandre Julliard 21df49c8b5 kernel32: Don't export the large integer functions on 64-bit. 2009-10-08 11:12:21 +02:00
Alexandre Julliard 65bc15998d kernel32: Move the k32 kernel32->user32 helpers to thunk.c. 2009-10-08 11:12:21 +02:00
Alexandre Julliard e0ce6dc32e kernel32: Move Get/SetProcessDword to kernel16.c. 2009-10-08 11:12:21 +02:00
Alexandre Julliard 806deab0b7 kernel32: Fix a couple of compiler warnings on 64-bit. 2009-10-08 11:12:21 +02:00
Alexandre Julliard 2f3e8d3c6e kernel32: Move the 16-bit version functions to kernel16.c. 2009-10-08 11:12:20 +02:00
Alexandre Julliard 4496f281d8 kernel32: Move the 16-bit PE module functions to kernel16.c. 2009-10-08 11:12:20 +02:00
Alexandre Julliard 6404817de4 kernel32: Move the 16-bit handle functions to kernel16.c. 2009-10-08 11:12:14 +02:00
Alexandre Julliard b6e0b3428d kernel32: Move the 16-bit thread and process functions to kernel16.c. 2009-10-08 11:11:45 +02:00
Alexandre Julliard 79cb7798f9 kernel32: Move the 16-bit debugger functions to kernel16.c. 2009-10-08 11:11:12 +02:00
Alexandre Julliard c57fd07d27 kernel32: Move the 16-bit synchronization functions to kernel16.c. 2009-10-08 11:10:59 +02:00
Alexandre Julliard fe2c157fe9 kernel32: Move the 16-bit error functions to error16.c. 2009-10-08 11:10:08 +02:00
Alexandre Julliard 3b1186de5a kernel32: Move the 16-bit string functions to kernel16.c. 2009-10-07 17:54:30 +02:00
Ge van Geldorp 63d77d07dc kernel32/tests: Skip some resource tests on Win7. 2009-10-07 15:20:57 +02:00
Paul Vriens 6d416e6934 kernel32/tests: Don't crash on WinMe. 2009-10-07 12:55:16 +02:00
Alexandre Julliard fe1374cc4c kernel32: Fix empty function prototypes. 2009-10-06 16:12:39 +02:00
Alexandre Julliard 26aea12cce kernel32: Use call_entry_point to call functions with variable number of arguments. 2009-10-06 13:41:38 +02:00
Andrey Turkin 02ce96f425 kernel32: Send debug strings to system-wide monitor. 2009-10-06 13:41:06 +02:00
Andrey Turkin 3eaecf0476 kernel32: Always use ANSI version of OutputDebugString. 2009-10-06 12:03:35 +02:00
Ge van Geldorp 6571d1e4a8 kernel32/tests: Add acceptable error codes for Win7 process test. 2009-10-06 12:00:13 +02:00
Ge van Geldorp 4d5059060a kernel32/tests: Fix atom tests on Win7. 2009-10-06 11:59:35 +02:00
Michael Stefaniuc 73d38b047b kernel32/tests: Use better types than long. 2009-10-06 11:57:53 +02:00
Andrey Turkin 95eb435a33 kernel32: Catch invalid memory accesses in resource enumeration handlers. 2009-10-05 15:55:24 +02:00
Dmitry Kislyuk c81d1e78f7 kernel32/tests: Pass test on error code returned by Windows 7. 2009-10-05 13:46:01 +02:00
Juan Lang 6614323807 kernel32: Set time between interrupts in GetSystemTimeAdjustment. 2009-10-01 11:33:27 +02:00
Paul Vriens a04e265486 kernel32/tests: Fix some test failures on WinMe. 2009-09-29 14:22:33 +02:00
Alexandre Julliard c1dbeade52 kernel32: Make toolhelp.dll into a stand-alone 16-bit module. 2009-09-28 20:00:15 +02:00
Alexandre Julliard 72b0389bc6 kernel32: Moved private function prototypes out of toolhelp.h. 2009-09-28 19:59:09 +02:00
Alexandre Julliard b088cc5781 kernel32: Moved GetThreadSelectorEntry to thread.c. 2009-09-28 19:58:45 +02:00
Alexandre Julliard 2c491feb4b kernel32: Moved ToolHelpHook16 to kernel16.c, it's not a toolhelp function. 2009-09-28 19:57:56 +02:00
Alexandre Julliard 9bf4de22f4 kernel32: Moved MemManInfo16 to toolhelp16.c. 2009-09-28 19:57:28 +02:00
Alexandre Julliard 2e1b87d547 kernel32: Allocate the global arena array only once and store a pointer to it in THHOOK. 2009-09-28 19:56:44 +02:00
Alexandre Julliard 55b5e3a727 kernel32: Make system.drv into a stand-alone 16-bit module. 2009-09-28 19:56:10 +02:00
Alexandre Julliard 68dd560860 winedos: Always run the BIOS tick timer. 2009-09-28 19:55:39 +02:00
Stefan Leichter 2c576e88b4 kernel32: Check parameter of CheckRemoteDebuggerPresent with tests. 2009-09-28 12:37:28 +02:00
Alexandre Julliard b9251bcdbf kernel32/tests: Fix a couple of failures in the comm tests. 2009-09-24 13:10:54 +02:00
Alexandre Julliard 9f28d9a171 kernel32: Cope with an empty resource section in UpdateResource. 2009-09-24 13:10:39 +02:00
Michael Stefaniuc a8c19696f1 kernel32: Add missing stdarg.h include.
This fixes a compile breakage with older gcc versions.
2009-09-23 12:33:25 +02:00
Eric Pouech e1e9f5993f kernel32: Rewrite GetSystemInfo() purely on ntdll calls. 2009-09-22 16:54:59 +02:00
Eric Pouech 004fdc7a97 ntdll: Moved CPU related registry key creation from kernel32 to ntdll. 2009-09-22 16:54:14 +02:00
Eric Pouech 0bf33d6ac2 kernel32: Store the process features flag in the KUSER_SHARED_DATA structure. 2009-09-22 16:51:11 +02:00
Eric Pouech f6ceedf6dd ntdll: In SYSTEM_BASIC_INFORMATION, the active processors field refers to the affinity mask. 2009-09-22 16:47:25 +02:00
Ge van Geldorp 160d7dfb91 kernel32/tests: Fix actctx tests on Vista+. 2009-09-15 17:33:50 -05:00
Akihiro Sagawa c9be290e79 kernel32: Add Japanese system error messages. 2009-09-15 16:41:25 -05:00
Alexandre Julliard 72241b5d47 ntdll: Make sure that serial ioctl calls fail on non-serial handles. 2009-09-10 11:06:01 +02:00
Alexandre Julliard 858f08789e kernel32: Use explicit prototypes for function pointers. 2009-09-09 13:12:28 +02:00
Alexandre Julliard d916ce2fc9 kernel32/tests: Avoid size_t in traces. 2009-09-02 11:53:06 +02:00
Ge van Geldorp 277585fd11 kernel32/tests: Fix locale tests on Vista and higher. 2009-09-02 10:23:46 +02:00
Eric Pouech e0319b82c9 kernel32: Handle the case where wineconsole isn't properly started. 2009-08-29 17:11:39 +02:00
Alexandre Julliard cb0607ced2 kernel32: Fix the GetThreadPriorityBoost return value. 2009-08-29 16:48:54 +02:00
Alexandre Julliard c9d85dd576 ntdll: Route the process startup through the platform-specific thread startup code. 2009-08-29 11:24:44 +02:00
Alexandre Julliard 2be006e497 ntdll: Fix a couple of system information structures for 64-bit. 2009-08-27 19:47:49 +02:00
Ge van Geldorp 40d8c87df2 kernel32/tests: Remove test that crashes on Win7. 2009-08-26 16:33:38 +02:00
Jeff Zaroyko 8274786fa8 kernel32: sLanguage is LOCALE_SABBREVLANGNAME. 2009-08-25 15:08:23 +02:00
Alexandre Julliard 4964374570 ntdll: The large integer functions are 32-bit only. 2009-08-24 15:17:33 +02:00
Alexandre Julliard da8acbc47d server: Define an architecture-independent structure for process startup info. 2009-08-21 20:00:12 +02:00
Stefan Leichter 88a019956e kernel32: Test GetPrivateProfileString with empty string as key and section. 2009-08-21 13:49:45 +02:00
Alexandre Julliard f3d87838ff kernel32/tests: Use the global wine_dbgstr_w instead of a local variant. 2009-08-19 13:36:36 +02:00
Alexandre Julliard ee868cce5b tests: Make wine_dbgstr_w available in test.h for all tests. 2009-08-19 13:19:31 +02:00
Mike Kaplinskiy a5c03fbc72 kernel32: Implement CancelIoEx. 2009-08-18 12:29:33 +02:00
Alexandre Julliard e49918b5a2 kernel32: Use a longer wineboot timeout for the initial prefix creation. 2009-08-18 12:17:04 +02:00
Alexandre Julliard d492389d23 kernel32: Don't wait for wineboot once the process is no longer running. 2009-08-18 12:14:12 +02:00
Michael Karcher a0eb2ed413 server: Don't report LOAD_DLL debug event for exe module. 2009-08-17 16:44:14 +02:00
Alexandre Julliard a9feb3d271 kernel32: Check the 64-bit flag when starting a process. 2009-08-12 17:25:59 +02:00
Alexandre Julliard 8c11d71f0f kernel32: Add a 64-bit flag to the MODULE_GetBinaryType return value. 2009-08-12 17:04:38 +02:00
Alexandre Julliard 4a59ac76f1 kernel32: Check for a 32-bit NT header before getting module address range in MODULE_GetBinaryType. 2009-08-12 17:04:38 +02:00
Alexandre Julliard 5e4f0cf5ca kernel32: Return the dll flag in MODULE_GetBinaryType for 16-bit modules too. 2009-08-12 17:04:38 +02:00
Alexandre Julliard f274d1d03f kernel32: Change MODULE_GetBinaryType return value to make dll a flag instead of a type. 2009-08-12 17:04:38 +02:00
Alexandre Julliard b46cf438f8 ntdll: Add a ret to DEFINE_REGS_ENTRYPOINT to make copy protections happy. 2009-08-12 17:04:20 +02:00
Andrew Nguyen 20276d0b38 kernel32: Revise SetThreadIdealProcessor to return success. 2009-08-07 14:57:31 +02:00
Vladimir Pankratov d1de34a58b kernel32: Convert the Russian resources to UTF-8. 2009-08-06 17:26:34 +02:00
Alexandre Julliard 8c700d2b3b kernel32/tests: Add one more possible error code. 2009-08-05 13:52:42 +02:00
Nicolas Le Cam 5e58b29cfe kernel32/tests: Skip GetVolumeInformation test on current directory when running on a root directory. 2009-08-03 15:04:21 +02:00
Nicolas Le Cam 1975ba276f kernel32/tests: Test GetVolumeInformation when current directory is a root directory. 2009-08-03 15:04:17 +02:00
Ricardo Filipe bb68894313 kernel32: Add Portuguese translation. 2009-08-03 14:56:04 +02:00
Alexandre Julliard f18276fe0b kernel32: Fetch more information from the DosDevices directory for QueryDosDevice. 2009-07-24 11:01:41 +02:00
Alexandre Julliard a9c33bbc4a kernel32: Try to load a 32-bit builtin in WinExec16 if the file doesn't exist. 2009-07-21 12:22:01 +02:00
Frédéric Delanoy 010cbc028c kernel32: Update French translation of error messages. 2009-07-20 12:18:53 +02:00
Frédéric Delanoy ba74403918 kernel32: Update French translation of error messages. 2009-07-17 15:40:41 +02:00
Andrew Nguyen f63f4026cf kernel32: Implement WTSGetActiveConsoleSessionId as a stub. 2009-07-16 11:21:21 +02:00
Frédéric Delanoy c692edb7e7 kernel32: Fix typos in English errors messages. 2009-07-13 10:48:06 +02:00
Frédéric Delanoy 06a1aebdb3 kernel32: Convert German error msgs resources to UTF-8. 2009-07-13 10:48:06 +02:00
Frédéric Delanoy 83d537f3f0 kernel32: Convert French resources to UTF-8. 2009-07-13 10:48:06 +02:00
Aurimas Fišeras 73d9ffbdb4 kernel32/nls: Add Lithuanian winerr translation. 2009-07-10 13:07:33 +02:00
Alexandre Julliard d69b6d89a5 kernel32: Explicitly specify the codepage in message files. 2009-07-09 20:39:23 +02:00
Alexandre Julliard df6c65623a ntdll: Add support for the MEM_RESET flag in VirtualAlloc, with tests. 2009-07-09 19:31:36 +02:00
Alexandre Julliard 97db90290b kernel32/tests: Avoid using non-ASCII characters in strings. 2009-07-07 13:57:17 +02:00
Alexandre Julliard 03d6da0894 kernel32: Add implementation of GetSystemWow64DirectoryA/W. 2009-07-07 11:42:03 +02:00
Alexandre Julliard 26caf2fdda kernel32: Forward the Wow64 redirection functions to ntdll. 2009-07-06 15:09:29 +02:00
Alexandre Julliard d6cc6ca2c1 kernel32: Compile .mc files to resources as independent files. 2009-07-03 15:47:43 +02:00
Alexandre Julliard 887af61219 kernel32: Avoid the close-on-exec race with pipe() on kernels that support pipe2(). 2009-07-01 12:13:46 +02:00
Jörg Höhle c3b8026789 kernel32: Avoid unprotected sprintf on registry/user-supplied format string. 2009-07-01 11:43:03 +02:00
Paul Vriens 75529e6672 kernel32: Update Dutch translations. 2009-06-29 12:30:11 +02:00
Hwang YunSong 5922318af0 kernel32: Updated winerr_kor.mc. 2009-06-29 12:30:07 +02:00
Louis Lenders 2478b86ef6 kernel32/nls: Add system message 2221 to winerr_enu.mc. 2009-06-26 12:00:01 +02:00
Alexandre Julliard 69bb29ced9 kernel32: Add call frame annotations in x86 assembly code. 2009-06-25 12:05:09 +02:00
Francois Gouget 03584b4ff6 Assorted spelling fixes. 2009-06-22 13:32:01 +02:00
Alexandre Julliard c6dffb6df8 kernel32: Fix the HGLOBAL header size for 64-bit. 2009-06-18 15:17:26 +02:00
Austin English 056131f67e kernel32: GetConsoleAliasW is a stub, make sure it acts like one. 2009-06-15 13:42:28 +02:00
Alexandre Julliard d303d9dc29 kernel32: Add appropriate stdcall decorations to assembly functions. 2009-06-15 13:42:26 +02:00
Stefan Leichter 57f9236741 kernel32: Implement QueryFullProcessImageNameA. 2009-06-11 13:23:25 +02:00
Guy Albertelli 7c4939cbaa kernel32/tests: Fix tests to pass on Win9x and WinME. 2009-06-11 12:35:17 +02:00
Alexandre Julliard 31b96c6f3b kernel32: Forward RtlUnwindEx to ntdll for x86_64. 2009-06-10 13:21:10 +02:00
Vincent Povirk b210eeb1ad kernel32/tests: Test waiting on a disconnected client pipe. 2009-06-09 17:01:14 +02:00
Alexandre Julliard b4a9c99abc kernel32: Fix handling of %ws format for Unicode. 2009-06-08 18:13:13 +02:00
Guy Albertelli 5632d2344e kernel32/tests: Fix tests when GetVolumeNameForVolumeMountPoint fails. 2009-06-08 15:27:20 +02:00
Paul Vriens 06ebe936ac kernel32/tests: Only report unimplemented functions once. 2009-06-08 12:44:03 +02:00
Aurimas Fišeras d8a85425ec kernel32/nls: Switch to UTF-8 encoding for lth.nls. 2009-06-05 15:19:56 +02:00
Paul Vriens b3e4155a41 kernel32/tests: Fix a test failure on Win9x/WinMe. 2009-06-05 14:43:24 +02:00
Paul Vriens eca3d74877 kernel32/tests: Skip WritePrivateProfileString tests on Win9x/WinME. 2009-06-04 12:11:56 +02:00
Guy Albertelli 25506ca64e kernel32/tests: Add tests for CreateFile errors and opening volumes. 2009-06-03 15:22:52 +02:00
Michael Stefaniuc 7faa2cb70e kernel32: Update the Romanian(Romania) NLS file. 2009-06-03 11:35:02 +02:00
Michael Stefaniuc 7f28666e88 kernel32: Switch to UTF-8 encoding for rom.nls. 2009-06-03 11:34:58 +02:00
Detlef Riekenberg 8588748bc8 kernel32/tests: Fix failures on localized Windows versions. 2009-06-03 11:27:24 +02:00
Stefan Leichter a37b8f79af kernel32: Added missing newline to win_skip. 2009-06-02 13:10:16 +02:00
Detlef Riekenberg fd0d17ec1c kernel32/tests: Add tests for GetLocaleInfo with SUBLANG_NEUTRAL. 2009-06-02 11:57:21 +02:00
Stefan Leichter d56839f64e kernel32: Fix spec of QueryFullProcessImageNameW. 2009-06-01 16:16:04 +02:00
Aurimas Fišeras 9ada7fb966 kernel32/nls: Add missing translations for lth.nls. 2009-06-01 16:16:00 +02:00
Detlef Riekenberg 1fc61f0838 kernel32/nls: Add missing translations for dec.nls. 2009-05-29 15:34:21 +02:00
Detlef Riekenberg 587d6c4e95 kernel32/nls: Add missing translations for del.nls. 2009-05-29 15:34:18 +02:00
Detlef Riekenberg a59c55a568 kernel32/nls: Add missing translations for dea.nls. 2009-05-29 15:34:15 +02:00
Detlef Riekenberg a224ad076e kernel32/nls: Add missing translations for des.nls. 2009-05-29 15:34:12 +02:00
Detlef Riekenberg 508c95f343 kernel32/nls: Translation-fix for deu.nls. 2009-05-29 15:34:08 +02:00
Hans Leidekker 7797bc0714 kernel32: Improve the GetSystemPowerStatus stub. 2009-05-28 15:28:24 +02:00
Peter Hedlund 7d47feaebe kernel32: Mask out obsolete flags in GlobalAlloc. 2009-05-28 14:11:32 +02:00
Alexandre Julliard 9ccc9bd6a9 kernel32/tests: Run file tests in the temp directory if we don't have access to the drive root. 2009-05-27 12:47:33 +02:00
Paul Vriens 7750e36be5 kernel32/tests: Fix some test failures on Vista. 2009-05-27 11:10:25 +02:00
Guy Albertelli c1f161a678 kernel32: Fix GetVolumeNameForVolumeMountPointW to match Mountmgr. 2009-05-26 15:36:53 +02:00
Alexandre Julliard 2cd36b6b60 kernel32: Remove the file parameter check again in LoadLibraryExW since some broken apps pass garbage here. 2009-05-26 14:26:42 +02:00
Paul Vriens bb4168ab73 kernel32/tests: Fix comment. 2009-05-25 11:24:03 +02:00
Paul Vriens a15282371b kernel32: Use Polish translations. 2009-05-25 11:23:59 +02:00
Paul Vriens 43ccb8abd8 kernel32/tests: Fix test failure on older W2K boxes. 2009-05-22 15:22:54 +02:00
Alexandre Julliard 8e6e015eb5 kernel32: Add missing terminator on %wc format conversion. 2009-05-21 16:17:52 +02:00
Lionel Debroux e85a037516 kernel32: Fix doc header for SetThreadIdealProcessor. 2009-05-21 16:17:50 +02:00
Alexandre Julliard d5d0738fb9 ntdll: Tweak the file mapping permission checks some more, with tests. 2009-05-19 21:36:05 +02:00
Hans Leidekker 0eb5893ea6 kernel32: Add tests for FormatMessageA/W. 2009-05-19 11:58:53 +02:00