Commit Graph

1146 Commits

Author SHA1 Message Date
Marcus Meissner a55399f5b6 kernel32: Check if buffer is NULL before derefencing it (Coverity). 2010-01-04 11:49:45 +01:00
Michael Stefaniuc 4f60b6bf91 kernel32: Add missing stdarg.h includes. 2009-12-31 12:12:17 +01:00
Alexandre Julliard a18bbec0f0 kernel: Add an import lib for krnl386, and stop importing 16-bit functions from kernel32. 2009-12-30 18:01:34 +01:00
Alexandre Julliard 475b7d226c kernel32: Make krnl386.exe into a stand-alone 16-bit module. 2009-12-30 17:36:14 +01:00
Alexandre Julliard 8268ed9783 kernel32: Do not include 16-bit headers in 32-bit files. 2009-12-30 16:21:56 +01:00
Alexandre Julliard e49c54d288 kernel32: Get rid of the support for 16-bit resources in 32-bit resource functions. 2009-12-29 11:44:41 +01:00
Alexandre Julliard 3a04f5abfc kernel32: Don't include kernel_private.h in 16-bit files. 2009-12-29 11:44:25 +01:00
Alexandre Julliard fc5c459d63 kernel32: Move the kernel thread data definitions to kernel16_private.h. 2009-12-29 11:44:13 +01:00
Alexandre Julliard 84e51e73b4 kernel32: Link directly to the thunk functions instead of looking up their entry point. 2009-12-29 11:44:02 +01:00
Alexandre Julliard 9ff8da5499 kernel32: Don't store the current codepage in the thread data. 2009-12-29 11:43:46 +01:00
Alexandre Julliard 40a264b0e7 winevdm: Move the loading of the system drivers into their specific 16-bit module. 2009-12-28 23:50:40 +01:00
Alexandre Julliard a3e80956d1 kernel32: Handle the case where the 16-bit module is already loaded also for separated dlls. 2009-12-28 23:50:36 +01:00
Alexandre Julliard eb4477120a kernel32: Make GMEM_DDESHARE blocks owned by the calling module. 2009-12-28 12:27:17 +01:00
Andrew Nguyen 9294882b94 kernel32: Ignore empty environment values from registry. 2009-12-24 17:00:08 +01:00
Andrew Nguyen 542feda6b8 ntdll: Use the HKCU\Volatile Environment key when generating the initial process environment. 2009-12-24 16:59:00 +01:00
André Hentschel b67820cea6 kernel32/nls: Fix German translation. 2009-12-24 12:15:40 +01:00
Alexandre Julliard 89c0b87fad kernel32/tests: Fix the SetThreadIdealProcessor for WoW64. 2009-12-23 14:27:31 +01:00
Alexandre Julliard 221925ddbf kernel32/tests: Get rid of API function typedefs. 2009-12-23 14:27:31 +01:00
Nikolay Sivov 14058ccf25 kernel32: Fix a leak in ReplaceFileW. 2009-12-22 13:48:26 +01:00
Nikolay Sivov 6d270a1d48 kernel32: Fix SearchPath parameter validation with tests. 2009-12-22 13:48:25 +01:00
Nikolay Sivov 08a778c568 kernel32/tests: Init pointers in common way, add some win_skip() while skipping. 2009-12-22 13:48:25 +01:00
Alexandre Julliard ff04a5e830 kernel32: Load the DestroyIcon32 function from 16-bit user.exe. 2009-12-22 13:48:03 +01:00
Nikolay Sivov 8b805e48fb kernel32/tests: Fix LocalAlloc() allocated leaks. 2009-12-21 15:36:52 +01:00
Nikolay Sivov f33db8a02d kernel32/tests: Fix some find handle leaks. 2009-12-21 15:36:52 +01:00
Nicolas Le Cam 7ae21483ec kernel32/tests: Simplify dumpmem function. 2009-12-21 15:01:25 +01:00
Nikolay Sivov a29bbda1a4 kernel32/tests: Print line numbers in tests. 2009-12-21 15:01:24 +01:00
Nikolay Sivov 1402e954ab kernel32: Fix typo in a comment. 2009-12-18 13:14:02 +01:00
Nikolay Sivov 0fe54088bc kernel32/tests: Fix few context leaks. 2009-12-18 11:43:48 +01:00
Paul Vriens 17eb00409c kernel32/tests: Add some tests for GetLongPathNameW. 2009-12-17 13:25:51 +01:00
Paul Vriens d58bd680b1 kernel32: Fix a crash with GetLongPathNameW and UNC path names. 2009-12-17 13:25:51 +01:00
James Hawkins 9b2af10f02 kernel32: Free the resource data if a matching resource exists and we choose not to overwrite the existing resource. 2009-12-17 12:53:39 +01:00
Paul Vriens 763694a646 kernel32/tests: Only set the size ourselves if we are on W2K. 2009-12-15 11:43:30 +01:00
Paul Vriens 4d6b74758f kernel32: Add a define for UNICODE_STRING_MAX_CHARS. 2009-12-14 16:14:37 +01:00
Ken Thomases 18d9632914 kernel32: Consolidate some related code closer together. 2009-12-10 12:21:42 +01:00
Ken Thomases b58cd975ba kernel32: Mac lang. pref. overrides LANG, but not LC_ALL or LC_MESSAGES. 2009-12-10 12:21:25 +01:00
Ken Thomases 21acb71e42 kernel32: On Mac, construct locale string from language and country codes.
Don't rely on CFLocaleGetIdentifier(), whose result may not be sensible to
the C library.
2009-12-10 12:21:10 +01:00
Nikolay Sivov 59d250c4a4 kernel32/tests: Fix test failures on NT4. 2009-12-07 14:18:25 +01:00
Paul Vriens c2f5442f2a kernel32/tests: Skip some tests if needed (WinXP Home). 2009-12-04 14:44:11 +01:00
Paul Vriens 0c67d1bddb kernel32/tests: Skip some tests on Win98/WinMe. 2009-12-04 14:44:03 +01:00
Paul Vriens 3b43c4e585 kernel32/tests: Correct some ok() statements. 2009-12-04 14:43:48 +01:00
Dmitry Timoshkov 2536bfd1d8 kernel32: Explicitly treat the current working directory name as a unix one. 2009-12-04 14:42:05 +01:00
Nikolay Sivov 8ea4102a6c kernel32/lcformat: Add support for genitive month names in GetDateFormat(). 2009-12-04 14:34:57 +01:00
Nikolay Sivov 8e4f283e2d kernel32/lcformat: Don't use uneeded string conversion. 2009-12-04 14:34:56 +01:00
Nikolay Sivov 1a2609189f kernel32/lcformat: Avoid back jumps on failure. 2009-12-04 14:34:56 +01:00
Alexandre Julliard 866db819b8 ntdll: Add stubs for RtlAddFunctionTable and RtlDeleteFunctionTable. 2009-12-04 14:34:45 +01:00
Paul Vriens be3c97437f kernel32/tests: Add some GetLongPathNameA tests. 2009-12-02 16:08:52 +01:00
Dan Kegel 1cd395153d kernel32: Fix write buffer overrun in format_insertW. 2009-12-02 13:06:07 +01:00
Paul Chitescu 590cc1ad55 kernel32: Reduce registry access to KEY_READ wherever possible. 2009-11-30 16:33:54 +01:00
Alexandre Julliard a045122754 kernel32: Pass the exe name as argument to FormatMessage. 2009-11-29 16:42:50 +01:00
Rob Shearman 47acaeaea8 kernel32: Fix uninitialised memory read in GetPrivateProfileStringA if GetPrivateProfileStringW returns 0.
The buffer that was passed into the function will remain
uninitialised. Fix reading from this by only reading retW characters
from bufferW and manually nul-terminating the string.
2009-11-29 16:42:10 +01:00