Alexandre Julliard
00ac7074df
kernel32: Move shared heap creation to krnl386 and load it by default on Win9x versions.
2010-03-01 11:34:34 +01:00
Nikolay Sivov
464ece6474
kernel32/lcformat: Get rid of back jumps on errors.
2010-03-01 11:34:09 +01:00
Alexandre Julliard
fbbac38e4e
kernel32/tests: Fix broken usage of the ok() macro return value.
...
Spotted by Yann Droneaud.
2010-02-24 16:47:48 +01:00
Andrey Turkin
2db497e89e
kernel32: Use TEB-based buffer in CreateMutexExA.
2010-02-24 12:16:33 +01:00
Alexandre Julliard
25718e1af3
kernel32/tests: Add a couple of last error codes for Win7.
2010-02-23 11:24:08 +01:00
Hans Leidekker
b7696db161
kernel32/tests: Fix a thread handle leak.
2010-02-22 13:15:43 +01:00
Erich Hoover
2902d8090a
kernel32/tests: Add test for 'all processors' flag on Vista and newer.
2010-02-22 11:57:12 +01:00
Ken Thomases
8c2b290d11
kernel32: Mac: If language is less specific variant of locale, keep locale.
...
For a Mac user in Australia, for example, the out-of-the-box configuration is
that the preferred language is generic English ("en"). Their formats locale
should be Australia ("en_AU"). Detect that case and don't override
LC_MESSAGES.
2010-02-22 11:41:38 +01:00
Alexandre Julliard
6164ce2d82
makefiles: Use the standard C_SRCS variable as the list of test files.
...
This enables it to be auto-updated by make_makefiles.
2010-02-22 10:47:11 +01:00
Alexandre Julliard
fb950a6da5
kernel32/tests: Fix a test failure on xp64.
2010-02-17 12:04:42 +01:00
Alexandre Julliard
2530304f1c
ntdll: Fix the return status of NtQueryValueKey for a too small buffer.
2010-02-16 14:28:41 +01:00
Michael Stefaniuc
3f37e33497
kernel32: Avoid using HIWORD on types that are 64bit on Win64.
2010-02-10 14:33:52 +01:00
Michael Stefaniuc
0f5d042ff2
kernel32: Don't use HIWORD to check for swapped args in GetCurrentDirectoryA.
2010-02-10 14:33:35 +01:00
Alexandre Julliard
a53ca1abdc
kernel32: Do not load 16-bit krnl386.exe by default.
2010-02-08 17:49:48 +01:00
Alexandre Julliard
abf29377ba
kernel32: Export InterlockedCompareExchange64.
2010-02-05 13:14:20 +01:00
Peter Rosin
678cb27b3a
kernel32: Document SetThreadErrorMode and GetThreadErrorMode.
2010-02-05 10:07:40 +01:00
Peter Rosin
805f7d79db
kernel32: Add SetThreadErrorMode and GetThreadErrorMode.
2010-02-04 13:39:27 +01:00
Peter Rosin
e8a32ec2b8
kernel32: Add tests for SetThreadErrorMode and GetThreadErrorMode.
2010-02-04 13:39:27 +01:00
Alexandre Julliard
5c9753e2b6
kernel32/tests: Remove leftover Sleep() call.
2010-02-01 16:19:21 +01:00
Alexandre Julliard
5f9f260e42
kernel32: Avoid truncating the output buffer length in GetCurrentDirectoryA.
2010-02-01 13:22:41 +01:00
Alexandre Julliard
a86adcca61
kernel32/tests: Fix heap flag tests for the page alloc case.
2010-02-01 12:35:43 +01:00
Maarten Lankhorst
3d7aabd887
kernel32: Work around safety check on siglongjmp.
2010-01-29 14:59:03 +01:00
Alexandre Julliard
221c115e98
kernel32/tests: Fix some of the heap tests for 64-bit.
2010-01-29 13:29:21 +01:00
Alexandre Julliard
0692bfda5f
ntdll: Don't require heap sizes to be 64K aligned.
2010-01-28 19:47:01 +01:00
Alexandre Julliard
6beb82e2d6
kernel32: Append the user PATH value to the system one.
2010-01-28 14:53:24 +01:00
Alexandre Julliard
17dea24f48
kernel32: Make sure the volatile environment is always loaded.
2010-01-28 13:35:03 +01:00
Alexandre Julliard
0daf0528da
kernel32: Load USERNAME and USERPROFILE from the volatile environment.
2010-01-28 13:34:05 +01:00
Alexandre Julliard
2c0e31cfdc
kernel32: Treat PWD as a special environment variable.
2010-01-28 13:29:53 +01:00
Alexandre Julliard
31aa3900e4
ntdll: Add 8 more bytes to the block tail when tail checking is enabled.
2010-01-27 18:46:07 +01:00
Alexandre Julliard
356b06faea
kernel32/tests: Add tests for tail checking on large heap blocks.
2010-01-26 16:08:49 +01:00
Alexandre Julliard
b1c9ce44dd
kernel32/tests: Add tests for heap tail and free block checking.
2010-01-26 15:58:50 +01:00
Michael Stefaniuc
02bddd1caf
kernel32: Use IS_INTRESOURCE instead of HIWORD to check a resource.
2010-01-26 12:13:48 +01:00
André Hentschel
c008984a01
kernel32: Implement IsThreadAFiber function.
2010-01-25 12:56:26 +01:00
André Hentschel
a9353a1caf
kernel32/tests: Test Fiber callback count.
2010-01-25 12:55:41 +01:00
André Hentschel
30deb6b896
kernel32/tests: Test Fiber Local Storage functions.
2010-01-25 12:55:34 +01:00
André Hentschel
e0475a3e11
kernel32/tests: Test IsThreadAFiber function.
2010-01-25 12:55:22 +01:00
André Hentschel
f57dbecda8
kernel32/tests: Test fiber Ex functions.
2010-01-25 12:55:12 +01:00
André Hentschel
ffae80a39c
kernel32/tests: Run fiber tests on more platforms.
2010-01-25 12:55:00 +01:00
André Hentschel
2d956be11d
kernel32/tests: Fix header comments.
2010-01-25 12:46:00 +01:00
Alexandre Julliard
dabda7e3ee
kernel32/tests: Add tests for the global flag and its influence on the heap flags.
2010-01-22 12:33:24 +01:00
André Hentschel
643625b9e0
kernel32/tests: Initial fiber tests.
2010-01-20 15:35:38 +01:00
Alexandre Julliard
3b67ad9bd4
ntdll: Fix the NtCreateEvent prototype.
...
It takes an event type, not a manual reset flag.
2010-01-18 20:34:54 +01:00
Paul Vriens
6fd641aa05
kernel32/tests: Skip a test on Win9x/WinMe.
2010-01-18 14:39:11 +01:00
Andrew Nguyen
11dce800c1
kernel32/tests: Add tests for IsBadCodePtr.
2010-01-18 14:38:53 +01:00
Andrew Nguyen
5b9730c494
kernel32/tests: Add more tests for IsBadWritePtr.
2010-01-18 14:38:48 +01:00
Andrew Nguyen
4108fd0f35
kernel32/tests: Add tests for IsBadReadPtr.
2010-01-18 14:38:41 +01:00
Jason Edmeades
99a0376a4f
kernel32: Return error on second attempt to free a module.
2010-01-18 14:26:16 +01:00
André Hentschel
b45d4aa161
kernel32/tests: Simplify string generation.
2010-01-11 11:29:38 -06:00
Paul Vriens
a95e070824
kernel32: Add a stubbed GetConsoleProcessList().
2010-01-05 12:29:18 +01:00
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
Paul Vriens
868d492cf7
kernel32/tests: Fix some intermittent crashes/failures on Vista+.
2009-11-29 16:37:59 +01:00
Alexandre Julliard
ac572be030
kernel32/tests: Specify the correct machine for the fake dll file.
2009-11-24 15:53:37 +01:00
Alexandre Julliard
181b3cf07f
server: Implement the file sharing check for delete on close with an existing image mapping.
2009-11-23 17:29:22 +01:00
Alexandre Julliard
923d582f07
server: Implement the file sharing check when truncating a file that has an existing mapping.
2009-11-23 17:24:45 +01:00
Alexandre Julliard
fd504b6289
server: Implement the special file sharing rules for memory mappings.
2009-11-23 17:10:28 +01:00
Alexandre Julliard
647491418b
kernel32/tests: Add more tests for file sharing with mappings, including SEC_IMAGE mappings.
2009-11-20 14:21:31 +01:00
Alexandre Julliard
c073ee54c9
kernel32/tests: Add some tests for file sharing against a memory mapping.
2009-11-19 16:16:52 +01:00
Henri Verbeet
d4fc2fd746
kernel32: Also accept STATUS_BUFFER_OVERFLOW as a valid return code in GetFileInformationByHandle().
...
FileAllInformation is supposed to also return the file name. If it did,
"all_info" would be too small for the returned data, but since it would still
return as much information as fits in the buffer, we don't need a larger
buffer either.
2009-11-19 12:22:51 +01:00
Austin Lund
f5271ce1e3
kernel32/tests: Fixed test for GetVolumeNameForVolumeMountPoint on directory.
2009-11-16 12:43:07 +01:00
Stefan Leichter
7f1fe90e7f
kernel32: Added stub for CreateMemoryResourceNotification.
2009-11-16 12:42:19 +01:00
Alexandre Julliard
935e06c5c3
kernel32: Null-terminate the buffer also on error in GetPrivateProfileString16.
2009-11-16 11:36:08 +01:00
Alexandre Julliard
18ddbc1c7d
kernel32: Use PeekMessageW instead of UserYield.
2009-11-12 23:09:21 +01:00
Viliam Lejcik
3dc8b28d84
kernel32: Fix GetCurrencyFormat grouping.
2009-11-11 11:24:09 +01:00
Paul Vriens
159506893b
kernel32/tests: Fix some test failures on Win9x/WinMe.
2009-11-10 15:18:05 +01:00
Francois Gouget
5fb3985fa5
Assorted spelling fixes.
2009-11-09 19:42:31 +01:00
Alexandre Julliard
1a3777e2dc
ntdll: Reject VirtualAlloc blocks in NtUnmapViewOfSection.
2009-11-04 19:53:00 +01:00
Michael Martin
39d8f13785
kernel32/tests: Additional tests for CopyFile/MoveFile used on mapped files.
2009-11-04 13:17:15 +01:00
Alexandre Julliard
cf8fa5459a
kernel32: Make sure the codepage registry keys are set correctly on wineprefix creation.
2009-10-30 15:14:49 +01:00
Alexandre Julliard
36e56ad1aa
kernel32/tests: Fix FormatMessage test failures on various Windows versions.
2009-10-30 11:03:39 +01:00
Alexandre Julliard
0e26e741f7
kernel32: Replicate the MS bug with va_list argument counting in FormatMessage.
2009-10-30 11:03:39 +01:00
Alexandre Julliard
24a8e33fb6
kernel32/tests: Use __ms_va_list in the FormatMessage test.
2009-10-30 11:03:39 +01:00
Alexandre Julliard
b353401513
kernel32: Fix handling of width and precision arguments and remove assumptions about va_list implementation in FormatMessage.
2009-10-30 11:03:39 +01:00
Alexandre Julliard
100131d4ca
kernel32: Propagate the error result from RtlFindMessage in FormatMessage.
2009-10-30 11:03:39 +01:00
Alexandre Julliard
b381958f78
kernel32: Reimplement the formatting of inserts in FormatMessageW.
2009-10-30 11:03:21 +01:00
Alexandre Julliard
3307563a6c
kernel32: Reimplement the formatting of inserts in FormatMessageA.
2009-10-30 11:01:51 +01:00
Louis Lenders
1be99033b1
kernel32/tests: Add more tests for FormatMessageA.
2009-10-29 17:07:53 +01:00
Alexandre Julliard
549116bd68
kernel32/tests: Add some tests for width and precision formatting in FormatMessage.
2009-10-29 13:06:12 +01:00
Alexandre Julliard
c9e25dbe35
kernel32: Set the 64-bit flag for builtin executables based on their load directory.
2009-10-28 11:09:20 +01:00
Alexandre Julliard
4313c95526
kernel32: Retrieve the executable information as soon as we open the file.
2009-10-28 11:03:05 +01:00
Alexandre Julliard
28f13f83a6
kernel32: Add a structure to store all the information about an executable.
2009-10-28 11:03:04 +01:00
Alexandre Julliard
072b737059
kernel32: Specify the full application path when starting wineboot.exe.
2009-10-28 10:55:35 +01:00
Alexandre Julliard
aadf703fc0
ntdll: The meaning of the flag is inverted between RtlWow64EnableFsRedirection and RtlWow64EnableFsRedirectionEx.
2009-10-28 10:55:19 +01:00
Alexandre Julliard
e487b560d9
kernel32: Make GetQueuedCompletionStatus return failure for I/O errors, as per MSDN.
2009-10-27 16:52:48 +01:00
Alexander Nicolaysen Sørnes
fca16bc519
kernel32: Implement GetProductInfo on top of ntdll stub.
2009-10-26 11:37:04 +01:00
Louis Lenders
3c92b6c5e4
kernel32: Add stub for GetVolumePathNamesForVolumeNameW.
2009-10-23 12:38:31 +02:00
Paul Vriens
cde8673339
kernel32/tests: Fix an intermittent test failure on Vista+.
2009-10-23 12:02:54 +02:00
Nikolay Sivov
e94587c98d
kernel32: Fix copied data length.
2009-10-23 12:02:17 +02:00
Alexandre Julliard
c9689897d9
kernel32: Create the syswow64 directory if necessary.
2009-10-22 19:52:12 +02:00
Alexandre Julliard
985dd53712
kernel32: Store the symlink target directly into the correct buffer in GetVolumeNameForVolumeMountPointW.
2009-10-22 14:57:24 +02:00
Alexandre Julliard
f86d10ffb6
kernel32: Make sure the 32/64-bit state of the wineprefix matches the binary we are running.
2009-10-21 19:45:17 +02:00
Alexandre Julliard
11b0b0658d
kernel32: Return the appropriate binary type for 64-bit PE files.
2009-10-21 18:02:30 +02:00
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
Hans Leidekker
0f1ecf2819
kernel32: Add support for %ws and %wc format specifiers to FormatMessageA/W.
2009-05-19 11:58:53 +02:00
Andrew Nguyen
786158796b
kernel32/tests: Correctly skip when the Unicode communications functions are not available.
2009-05-19 11:58:53 +02:00
Paul Vriens
37babfcece
kernel32/tests: Fix some test failures on Win9x/WinME.
2009-05-19 11:25:23 +02:00
Andrew Nguyen
94945af556
kernel32/tests: Use named constants for a drive test.
2009-05-18 14:31:07 +02:00
Andrew Nguyen
7c2c6a575c
kernel32: Correct the last error of CreateProcessW with an empty command line string.
2009-05-18 14:31:07 +02:00
Andrew Nguyen
645e59c490
kernel32: Correct the last error of CreateProcessW with an empty application name string.
2009-05-18 14:31:07 +02:00
Andrew Nguyen
6c27fa1038
kernel32: Don't validate the command line parameter of CreateProcessW.
2009-05-18 14:31:07 +02:00
Andrew Nguyen
b0abafe70f
kernel32/tests: Correctly skip when Unicode thread functions are not available.
2009-05-18 14:31:07 +02:00
Andrew Nguyen
fda79ef217
kernel32/tests: Correctly skip when GetTempPathW is not available.
2009-05-18 14:31:07 +02:00
Andrew Nguyen
1e74b21f18
kernel32/tests: Correctly skip when Unicode locale functions are not available.
2009-05-18 14:31:07 +02:00
Andrew Nguyen
38f7d54fe0
kernel32/tests: Correctly skip when the Unicode file functions are not available.
2009-05-18 14:31:07 +02:00
Andrew Nguyen
a85dc85960
kernel32/tests: Correctly skip tests when the Unicode drive functions are not available.
2009-05-18 14:31:07 +02:00
Andrew Nguyen
4f7f110c5e
kernel32/tests: Correctly skip tests when the Unicode directory functions are not available.
2009-05-18 14:31:06 +02:00
Guy Albertelli
7d4bbe9e79
kernel32/tests: Add more tests for GetVolumeNameForVolumeMountPointA.
2009-05-11 14:51:27 +02:00
Dmitry Kislyuk
8d9434eefe
kernel32/tests: Show that NULLs need to be preserved in data before first section.
2009-05-07 15:16:15 +02:00
Dmitry Timoshkov
545b40adf7
kernel32: Make SystemTimeToTzSpecificLocalTime and TzSpecificLocalTimeToSystemTime prototypes match PSDK.
2009-05-04 12:53:32 +02:00
Francois Gouget
fc7a85470c
kernel32/tests: Add a trailing '\n' to ok() calls.
2009-05-04 12:53:24 +02:00
Guy Albertelli
1016bd7ec4
kernel32/tests: Fix new problems with volume tests.
2009-04-30 12:47:14 +02:00
Eric Pouech
883d32dd70
kernel32: Completely get rid of ENHANCED_KEY entry in the keymap.
...
This fixes the ctrl-arrow support which has been broken by 67be353040
.
2009-04-29 15:50:25 +02:00
Guy Albertelli
fce0f9ab8a
kernel32/tests: Add tests to verify GetVolumeNameForVolumeMountPointA returns correct string.
2009-04-29 13:39:21 +02:00
Guy Albertelli
f7e6777e6e
kernel32: Fix GetVolumeInformation[AW] to require trailing \.
2009-04-29 13:38:56 +02:00
Guy Albertelli
6f1390646c
kernel32/tests: Add tests for GetVolumeInformationA and QueryDosDevice.
2009-04-29 13:38:51 +02:00
Eric Pouech
88bdc0c110
kernel32: In editline's keys table, use constants instead of numeric constants.
2009-04-28 11:58:41 +02:00
Alexandre Julliard
72f89d6bfc
Revert "kernel32: Report unixfs instead of ntfs for unknown filesystem type."
...
This reverts commit 8044c11ecf
.
2009-04-27 13:25:53 +02:00
Dan Kegel
3e6d0789d0
ntdll: Add missing RtlReAllocateHeap Valgrind hook, add tests.
2009-04-27 13:22:49 +02:00
Hans Leidekker
9b9d8dc3e8
kernel32: Improve GetVolumePathName stub.
2009-04-23 18:14:26 +02:00
Łukasz Wojniłowicz
1e0caf7dfd
kernel32: Added Polish translations.
2009-04-23 14:21:44 +02:00
Mikołaj Zalewski
1e256e426d
winedbg: Add a crash dialog for --auto mode.
2009-04-22 17:00:34 +02:00
Alexandre Julliard
c6083037a8
kernel32: Make sure the string is properly terminated in QueryFullProcessImageNameW.
2009-04-22 16:56:37 +02:00
Dmitry Kislyuk
182e75140e
kernel32: Added GetPrivateProfileSection and GetPrivateProfileString tests for empty section scenario.
2009-04-20 17:40:33 +02:00
Frans Kool
6a13a1f589
kernel32: Added Dutch translations.
2009-04-16 11:28:46 -05:00
Alexandre Julliard
4b9bba163e
kernel32/tests: Use the appropriate processor architecture in generated manifests.
2009-04-06 20:57:47 +02:00
Paul Vriens
9a10234ef2
kernel32: Fix creation of empty sections in ini files.
2009-04-02 16:28:30 +02:00
Alexandre Julliard
fc87182d19
kernel32: Set argv[0] to the full path of the binary when starting from Unix.
2009-04-02 12:59:32 +02:00
Alexandre Julliard
7b7f35aee5
kernel32: Use __wine_main_environ by default, environ is broken on FreeBSD too.
2009-04-02 12:03:35 +02:00
Alexandre Julliard
8edf353bd2
libwine: Export __wine_get_main_environment on Mac OS to make sure it's reevaluated when used.
2009-04-01 15:07:42 +02:00
Mikołaj Zalewski
9c9532265d
kernel32: Implement QueryFullProcessImageFileNameW.
2009-03-31 18:05:55 +02:00
Paul Vriens
a61e117781
kernel32/tests: Fix some test failures on Win9x and WinME.
2009-03-30 13:58:12 +02:00
Paul Vriens
7eca8022df
kernel32/tests: Fix some test failures on NT4 and below.
2009-03-27 15:51:25 +01:00
Christian Costa
de90eccd1a
kernel32: Add stub for GetSystemTimes.
2009-03-27 11:23:21 +01:00
Paul Vriens
9e82e50eb3
kernel32/tests: Fix crash on NT4 and higher.
2009-03-26 16:21:59 +01:00
Alexandre Julliard
79cd9183e8
kernel32: Revert incorrect part of commit 7c3529f1cc
.
2009-03-25 14:19:02 +01:00
James Hawkins
87847b47cd
kernel32: Don't try to load an empty initialization file.
2009-03-24 11:37:01 +01:00
James Hawkins
7c3529f1cc
kernel32: Handle writing empty sections and keys in WritePrivateProfileString.
2009-03-24 11:36:52 +01:00
James Hawkins
f1308f9b40
kernel32: Set last error to ERROR_FILE_NOT_FOUND if lpAppName is NULL.
2009-03-24 11:36:03 +01:00
James Hawkins
287b07fddc
kernel32: Add tests for WritePrivateProfileString.
2009-03-24 11:35:52 +01:00
Aric Stewart
8044c11ecf
kernel32: Report unixfs instead of ntfs for unknown filesystem type.
...
This avoids programs such as the .Net2.0 installer trying to do ntfs
specific functions on the disk.
2009-03-23 12:41:36 +01:00
Alexandre Julliard
009342a88c
kernel32: Make the load order for a 16-bit stand-alone dll match its 32-bit owner.
2009-03-11 16:51:08 +01:00
Michael Stefaniuc
9b2730eb88
kernel32: Remove superfluous pointer casts.
2009-03-11 13:03:31 +01:00
Alexandre Julliard
f4a19c8463
loader: Merge the first and second stage loaders into a single wine binary.
2009-03-10 18:22:38 +01:00
Alexandre Julliard
598e6f09c8
kernel32/tests: Stop testing integer atoms if the first one doesn't work.
2009-03-05 12:47:18 +01:00
Alexandre Julliard
3e84960c20
kernel32/tests: Improve some failure messages in the pipe tests.
2009-03-04 15:45:48 +01:00
Paul Vriens
54845cd40a
kernel32/tests: Correct an ok() statement.
2009-03-04 14:42:30 +01:00
Alexandre Julliard
6cebffcd70
kernel32: Make windebug.dll into a stand-alone 16-bit module.
2009-03-04 14:24:30 +01:00
Alexandre Julliard
41600a8226
kernel32: Make comm.drv into a stand-alone 16-bit module.
2009-03-04 14:22:24 +01:00
Alexandre Julliard
a9e81624b7
kernel32: Make win87em.dll into a stand-alone 16-bit module.
2009-03-04 14:19:49 +01:00
Alexandre Julliard
e4085d75df
kernel32: Make stress.dll into a stand-alone 16-bit module.
2009-03-04 14:16:18 +01:00
Vincent Povirk
392537bb33
kernel32/tests: Add named pipe test using i/o completion ports.
2009-03-03 11:59:48 +01:00
Alexandre Julliard
c47e32a7cc
kernel32: Fix the last error code for timeout in GetQueuedCompletionStatus.
2009-03-03 11:59:48 +01:00
Vincent Povirk
311d260ac1
kernel32/tests: Fix overlapped named pipe test.
...
The overlapped named pipe test calls GetOverlappedResult after all
operations in which it passes an overlapped structure, but it seems we
only get one when the functions fail with ERROR_IO_PENDING. I've
modified the test to account for that, and it seems to pass
consistently on Windows and Wine.
2009-02-27 13:16:11 +01:00
Vincent Povirk
545b6989f2
kernel32/tests: Remove a redundant check for ERROR_CALL_NOT_IMPLEMENTED.
2009-02-27 13:15:52 +01:00
Alexandre Julliard
3f0d9d12c3
kernel32: Make winhelp.exe into a stand-alone 16-bit executable.
2009-02-26 13:25:45 +01:00
Alexandre Julliard
a1cf6485df
kernel32: Make winoldap.mod into a stand-alone 16-bit executable.
2009-02-26 13:25:45 +01:00
Alexandre Julliard
825d7fda6c
kernel32: Make sure the process has an entry point before starting it.
2009-02-26 13:25:40 +01:00
Alexandre Julliard
cd6295d276
kernel32: Add support for loading stand-alone 16-bit modules.
2009-02-26 13:23:00 +01:00
Alexandre Julliard
af2e40ea26
winecrt0: Add entry point code for stand-alone 16-bit executables.
2009-02-26 13:23:00 +01:00
Francois Gouget
41360cc161
kernel32/tests: Change to a win_skip() because we don't want to skip the GetConsoleCursorInfo(,NULL) test in Wine.
2009-02-24 16:57:26 +01:00
Francois Gouget
5989534540
kernel32/tests: Use win_skip() to skip over unimplemented functionality.
2009-02-24 16:57:26 +01:00
Alexandre Julliard
3d0cf96f01
kernel32: Print a nicer error message when 16-bit/DOS apps cannot be launched.
2009-02-24 16:57:25 +01:00
Vitaliy Margolen
908eab4f1f
kernel32: Implement GetShortPathName16.
2009-02-23 12:19:29 +01:00
Austin English
68cc3ff120
kernel32: Add test for renaming file over itself.
2009-02-20 11:11:31 +01:00
Michael Karcher
abf9cd0993
kernel32: Free profile before reloading.
2009-02-18 14:58:27 +01:00
Francois Gouget
4a8e1feeb4
kernel32: Fix an off-by-one error in build_envp().
...
We need to take into account the trailing NULL in envp.
2009-02-18 12:17:41 +01:00
Alexandre Julliard
5720375fec
kernel32/tests: Add a few more error codes for GetDiskFreeSpace.
2009-02-16 12:02:46 +01:00
Alexandre Julliard
9849c99d1b
kernel32/tests: Fix the last remaining failure on NT4.
2009-02-16 12:02:25 +01:00
Juan Lang
d1dc7e5be4
kernel32: Fix test failures on NT4.
2009-02-13 13:34:28 +01:00
Juan Lang
705cdc88c4
kernel32: Fix some more failures on systems with reduced privilege.
2009-02-13 13:33:11 +01:00
Juan Lang
5dd87ec9b1
kernel32: Log more information in case of a test failure, and don't run tests that are guaranteed to fail.
2009-02-13 13:33:03 +01:00
Juan Lang
0edcef6d5e
kernel32: Fix some test failures on systems with reduced privilege.
2009-02-13 13:32:56 +01:00
Juan Lang
c82722b3dc
kernel32: Add more tests for getting/setting a named pipe's state.
2009-02-12 11:59:15 +01:00
Alexandre Julliard
fb04bcf638
Fix position of CDECL qualifier for functions that return pointers.
2009-02-06 14:54:01 +01:00
Christoph von Wittich
4192d34dd9
kernel32: DeviceIoControl: lpBytesReturned must not be NULL if lpOverlapped is NULL.
2009-02-06 13:03:06 +01:00
Alexandre Julliard
5d0f3aa33b
kernel32/tests: Add another error code in the CreateDirectory test.
2009-02-03 22:23:19 +01:00
Alexandre Julliard
3cd4150059
kernel32/tests: Don't hardcode C drive for CreateDirectory tests.
2009-02-03 15:21:47 +01:00
Alexandre Julliard
1a28fb6c16
kernel32/tests: Use a better invalid filename than "foo".
2009-02-03 15:15:49 +01:00
Alexandre Julliard
bdfa9c3a1b
kernel32/tests: Allow more error codes from GetDiskFreeSpace.
2009-02-03 15:04:24 +01:00
Alexandre Julliard
e8d36ff9a1
kernel32/tests: Print some more details on directory test failures.
2009-02-03 15:01:41 +01:00
Marcus Meissner
5493b77290
kernel32: Handle username conversion failure (Coverity).
2009-02-02 15:21:43 +01:00
Paul Vriens
047a43f084
kernel32/tests: Fix remaining failures on Win9x and WinME.
2009-02-02 12:12:24 +01:00
Paul Vriens
a8c24d343c
kernel32/tests: Fix some test failures on Win9x and WinME.
2009-02-02 12:12:16 +01:00
Paul Vriens
2bac661c2f
kernel32/tests: Fix some tests on Win9x and WinME (GetPrivateProfileSection).
2009-02-02 12:12:09 +01:00
Paul Vriens
b7b59236cf
kernel32/tests: Fill the buffer and check for double-NULL to show a bug in Wine.
2009-02-02 12:12:03 +01:00
Paul Vriens
8236f362ff
kernel32/tests: Fix some test failures on Win9x and WinME.
2009-01-30 11:43:21 +01:00
Paul Vriens
a21ea16f90
kernel32/tests: Skip some tests on Win9x and WinME.
2009-01-30 11:43:16 +01:00
Alexandre Julliard
3e88d45f7c
kernel32/tests: Don't test the implementation details of the SList structure.
2009-01-29 22:08:07 +01:00
Alexandre Julliard
b8712b7f8a
kernel32/tests: Support broken GetTempPath return value on WinME.
2009-01-29 22:07:50 +01:00
Paul Vriens
407f0d9f56
kernel32/tests: Fix some test failures on Win9x and WinME (GetPrivateProfileString).
2009-01-29 12:19:35 +01:00
Paul Vriens
48f035bd4c
kernel32/tests: Fix some test failures on Win9x and WinME (GetPrivateProfileSectionNames).
2009-01-29 12:19:29 +01:00
Paul Vriens
7099cdebd5
kernel32/tests: Fix some test failures on several platforms.
2009-01-29 12:19:19 +01:00
Hans Leidekker
2095ba19bb
kernel32: Add stub implementations of Wow64DisableWow64FsRedirection and Wow64RevertWow64FsRedirection.
2009-01-29 12:17:58 +01:00
Paul Vriens
cca75cc147
kernel32/tests: Don't crash when run as a normal user.
2009-01-28 12:32:22 +01:00
Paul Vriens
dda0fe451d
kernel32/tests: Fill the buffer to show a bug in Wine.
2009-01-28 12:32:05 +01:00
Austin English
eb877e4421
kernel32: Add a stub for OpenProfileUserMapping.
2009-01-28 12:11:22 +01:00
Alasdair Sinclair
116886cf0a
kernel32/tests: Fix missing void in empty parameter list.
2009-01-28 12:10:55 +01:00
Alexandre Julliard
a79868e09d
kernel32/tests: Don't hardcode C drive for SetCurrentDirectory tests.
...
Also handle the case where TMP and TEMP are not defined.
2009-01-27 14:55:30 +01:00
Marcus Meissner
e1d9a793be
kernel32: Initialize events correctly.
2009-01-27 11:09:24 +01:00
Ge van Geldorp
ee3a743e6c
kernel32/tests: "none" debugger test needs user interaction.
2009-01-26 16:08:30 +01:00
Nikolay Sivov
2ddcb295b6
kernel32: Added DeleteTimerQueue.
2009-01-23 13:12:31 +01:00
Nikolay Sivov
32cc4011ee
kernel32: Make GetOverlappedResult crash on NULL args as native does.
2009-01-22 15:28:24 +01:00
Alexandre Julliard
6d0a0fb182
kernel32/nls: Use a codepage 950 encoding that round trips correctly for Unicode char 0x5341.
2009-01-20 16:43:08 +01:00