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