Andrew Nguyen
51d05e241a
kernel32: Improve parameter validation for FillConsoleOutputAttribute.
2011-01-04 11:58:34 +01:00
Andrew Nguyen
50ee017f34
kernel32/tests: Add tests for FillConsoleOutputCharacterA.
2011-01-04 11:58:34 +01:00
Andrew Nguyen
5a7c633fab
kernel32: Improve parameter validation for FillConsoleOutputCharacterW.
2011-01-04 11:58:33 +01:00
Andrew Nguyen
8ec12b5110
kernel32: Improve parameter validation for WriteConsoleOutputAttribute.
2011-01-04 11:58:33 +01:00
Andrew Nguyen
5f70cd6509
kernel32: Improve parameter validation for WriteConsoleOutputCharacterA.
2011-01-04 11:58:33 +01:00
Andrew Nguyen
2281c29b46
kernel32: Improve parameter validation for WriteConsoleOutputCharacterW.
2011-01-04 11:58:33 +01:00
Andrew Nguyen
9febdf3f58
kernel32: Improve parameter validation for WriteConsoleInputA.
2011-01-04 11:58:32 +01:00
Andrew Nguyen
0272da5afa
kernel32: Improve parameter validation for WriteConsoleInputW.
2011-01-04 11:58:13 +01:00
Andrew Nguyen
3501b0a580
kernel32: Fail with an invalid output parameter in GetNumberOfConsoleInputEvents.
2011-01-04 11:51:03 +01:00
Thomas Mullaly
1c7d32aa25
kernel32: Added stubs for IDN functions.
2011-01-04 11:49:45 +01:00
Andrew Nguyen
ab8b2cfaa1
kernel32/tests: Avoid an input buffer overrun in the empty console write test.
2011-01-03 14:58:55 +01:00
Greg Geldorp
e114f85345
kernel32/tests: Add error codes for XP/Win2003 Wow64.
2011-01-03 12:14:26 +01:00
Greg Geldorp
f284719c96
kernel32/tests: Skip some debugger tests on 64-bit.
2010-12-30 16:49:00 +01:00
Kirill Smelkov
d5cb11a45a
kernel32: Support deleting resources in UpdateResource.
2010-12-23 17:07:40 +01:00
Henri Verbeet
4c200a2050
kernel32: Fix some memory leaks in set_wow64_environment().
2010-12-22 12:48:47 +01:00
Greg Geldorp
a2d1c7df5e
kernel32/tests: Remove check of environment variables against registry.
2010-12-21 16:55:50 +01:00
Greg Geldorp
a4a73c20af
kernel32/tests: Quote command line arguments that might contain spaces.
2010-12-21 16:55:50 +01:00
Greg Geldorp
0650cb2456
kernel32/tests: Add tests to verify USERPROFILE and environment variables from registry are present and correct.
2010-12-20 12:47:38 +01:00
Piotr Caban
52e5087aec
kernel32: Added more ReadDirectoryChangesW tests.
2010-12-17 13:26:03 +01:00
Marcus Meissner
a601c75db3
kernel32: Fixed size to GetEnvironmentVariableW.
2010-12-17 13:26:01 +01:00
Piotr Caban
45b65d0fb6
kernel32: Add support for completion routine invocation in ReadDirectoryChangesW.
2010-12-16 11:50:09 +01:00
Alexandre Julliard
01af5452c5
kernel32: Update the environment variables that vary across 32-bit/64-bit/Wow64.
2010-12-14 22:48:44 +01:00
Eric Pouech
8aa3ec414d
kernel32: In readline, now print control characters with ^ escape.
2010-12-13 16:23:44 +01:00
Eric Pouech
8b4c2ce9c5
kernel32: Proper support for echo-input (enable/disable) when getting console input.
2010-12-13 16:23:28 +01:00
Eric Pouech
4149643fbe
kernel32: When reading chars out of a bare console, use the Unix API (instead of the Windows one).
2010-12-13 16:23:14 +01:00
Eric Pouech
ead4712606
kernel32: Properly manage ctrl-Z (and ctrl-D) in ReadFile when dealing with a console handle.
2010-11-29 11:35:46 +01:00
Eric Pouech
9c577630d1
kernel32: Control characters should be returned while reading a line from console.
2010-11-29 11:35:28 +01:00
Ken Thomases
47dea9b670
loader: On Mac, reserve the process's original thread for the frameworks.
...
The frameworks expect the original thread to run its run loop, so input
sources (like distributed notifications) get processed. For example,
Core Audio on Snow Leopard doesn't track changes in the default ouput
device, such as when headphones are plugged in, without this.
2010-11-16 11:47:58 +01:00
Detlef Riekenberg
41bd5d4efa
kernel32: Add a stub for SetProcessDEPPolicy.
2010-11-12 15:49:48 +01:00
Eric Pouech
7f043168c1
kernel32: Fixed regression with echoing input characters.
2010-11-12 15:48:10 +01:00
Michael Stefaniuc
bb442a2a57
kernel32/tests: '\' needs to be escaped in a C string (sparse).
2010-11-10 12:18:21 +01:00
Eric Pouech
91e3a40e41
server: Removed the no longer used bare parameter out of get_console_mode request.
2010-11-08 13:30:25 +01:00
Eric Pouech
f67b0377ab
kernel32: Use fd availability for testing whether a console handle refers to a bare console.
2010-11-08 13:30:25 +01:00
Alexandre Julliard
332361c1bb
kernel32: Fix a trace to print the correct error code.
2010-11-04 16:43:21 +01:00
André Hentschel
b466d2f1bc
kernel32: Remove dead code and old comment.
2010-11-04 11:47:16 +01:00
Francois Gouget
b990617a95
Assorted spelling fixes.
2010-11-02 13:16:57 +01:00
Alexandre Julliard
5559ac4a89
kernel32: Remove unnecessary use of wownt32.h.
2010-11-01 16:44:24 +01:00
Alexandre Julliard
6410ab1ce8
libwine: Update Unicode tables to the Unicode 6.0 standard.
2010-10-30 20:42:09 +02:00
Charles Davis
717fc6f3a8
kernel32/tests: Fix the mixed-case short path test to actually test something.
2010-10-29 14:21:59 +02:00
Charles Davis
2d18a012a8
kernel32/tests: Add a test for opening short paths of differing case.
2010-10-28 18:18:11 +02:00
André Hentschel
089d792498
kernel32: Update function docs for GetBinayType.
2010-10-28 11:38:01 +02:00
Austin Lund
86c39000a4
kernel32/tests: Increase timeouts to avoid test failures in CreateRemoteThread.
2010-10-25 13:52:51 +02:00
Alexandre Julliard
1379269587
kernel32: Fix a FAT format sanity check for floppies.
2010-10-25 13:52:51 +02:00
Anders Jonsson
7665d27b95
kernel32: Add Swedish translation.
2010-10-25 12:41:40 +02:00
Louis Lenders
8819ae1e66
kernel32: Fix GetTempFileName with invalid path.
...
Found by Oskar Eisemuth.
2010-10-22 17:19:12 +02:00
Alexandre Julliard
1455604704
kernel32: Fix last error code in GetVolumeInformationW when an explicit subdir is requested.
2010-10-20 12:29:45 +02:00
Alexandre Julliard
357b50600b
kernel32: Use the NT name to retrieve label and serial in GetVolumeInformationW.
2010-10-20 12:26:54 +02:00
Alexandre Julliard
5820f40862
kernel32: Use the NT name to open the root directory in GetVolumeInformationW.
2010-10-20 12:25:32 +02:00
Alexandre Julliard
732534f954
kernel32: Use the NT name to open the device in GetVolumeInformationW.
2010-10-20 12:23:00 +02:00
Alexandre Julliard
ee0f0da69b
kernel32: Use RtlDosPathNameToNtPathName_U to validate the path in GetVolumeInformationW.
2010-10-20 12:19:59 +02:00
Alexandre Julliard
e7c67c0cb1
ntdll: More complete implementation of NtAreMappedFilesTheSame.
2010-10-19 16:14:40 +02:00
Alexandre Julliard
971e9a2239
kernel32/tests: Add some tests for NtAreMappedFilesTheSame.
2010-10-18 19:47:50 +02:00
Louis Lenders
933bcb92b0
kernel32/tests: Add some more tests for GetTempFileName.
2010-10-18 11:51:21 +02:00
Yaron Shahrabani
73805ced31
kernel32: heb.nls: Made some corrections.
2010-10-14 10:01:52 +02:00
Andrew Nguyen
6d605e68f4
kernel32: Make the return type of LoadModule match the Windows SDK.
2010-10-11 17:11:28 +02:00
Andrew Nguyen
43e99d6e0c
kernel32: Implement GetSystemRegistryQuota as a semi-stub.
2010-10-11 17:11:27 +02:00
Dmitry Timoshkov
83bfa7636e
kernel32: Truncate the reported by GlobalMemoryStatus() memory limits for Win9x versions too.
2010-10-06 20:46:49 +02:00
Hwang YunSong
140f08bd42
kernel32: Update Korean resource.
2010-10-04 15:01:15 +02:00
Alexandre Julliard
7064e8838c
kernel32/tests: Make some variables static.
2010-10-01 13:36:35 +02:00
Alexandre Julliard
5db7d5957a
kernel32/tests: Use a real console handle in the VerifyConsoleIoHandle test.
2010-09-29 11:57:42 +02:00
Alexandre Julliard
5df625ff09
kernel32/nls: Define the neutral and reading layout locale values.
2010-09-27 15:00:46 +02:00
Alexandre Julliard
9f792ab3d5
kernel32: Implemented EnumSystemLocalesEx.
2010-09-27 14:13:17 +02:00
Eric Pouech
eabe3b34b2
kernel32: Only reset the console mode when it has been previously changed.
2010-09-27 12:09:33 +02:00
Peter Oberndorfer
9d74a70ad5
kernel32: Fix last error value of GetStdHandle/SetStdHandle when called with wrong std handle.
2010-09-23 12:00:44 +02:00
Peter Oberndorfer
297b054e74
kernel32: VerifyConsoleIoHandle does not set last error value.
2010-09-23 12:00:29 +02:00
Peter Oberndorfer
f30b708916
kernel32: Fix WaitForMultipleObjectsEx for handles with lower 2 bits set.
2010-09-23 12:00:20 +02:00
Peter Oberndorfer
4f2afdd0ac
kernel32: Add test for WaitForSingleObject with lower 2 bits of handles set.
2010-09-23 11:59:42 +02:00
Austin English
e99612c4c8
kernel32: Add a stub for GetSystemDEPPolicy.
2010-09-22 12:47:39 +02:00
Luca Bennati
9941f846e8
kernel32: Remove dead assignments.
2010-09-20 13:02:11 +02:00
André Hentschel
ee3a6770b8
kernel32: Add ARM support.
2010-09-20 12:55:29 +02:00
Alexandre Julliard
81b8ee863e
makefiles: Add a standard header for all makefiles to replace the common variable initializations.
2010-09-19 12:36:48 +02:00
Rudolf Mayerhofer
2637bb9de7
kernel32: Implement GetUserDefaultLocaleName using users default LCID.
2010-09-15 11:28:53 -05:00
Mariusz Pluciński
dfb88608e3
kernel32: New flags added to LoadLibraryEx.
2010-09-13 14:46:20 -05:00
Eric Pouech
a2322e3735
kernel32: Fixed a couple of cases where the console was not reset in cooked mode after a bare console has been created.
2010-09-13 14:45:18 -05:00
Luca Bennati
7b96a28611
kernel32: Update Italian translation.
2010-09-09 19:28:32 +02:00
Austin English
66e635adac
kernel32/tests: Typo fixes.
2010-09-09 19:28:32 +02:00
Austin English
4be494c081
kernel32: Add a stub for GetThreadUILanguage.
2010-09-08 13:23:05 +02:00
Austin English
7f30ae6349
kernel32/tests: Be sure to terminate array.
2010-09-06 20:30:25 +02:00
Louis Lenders
e793f9b072
kernel32: Change SetHandleCount to match behaviour on versions >WINNT.
2010-09-06 16:14:05 +02:00
Eric Pouech
a63e0fac75
kernel32: Remove old bare-console code.
2010-09-01 14:01:03 +02:00
Eric Pouech
efecd9c337
kernel32: Modify editline logic so that it also work with bare consoles.
2010-09-01 14:01:03 +02:00
Eric Pouech
e4d090277b
kernel32: Properly handle bare console on input.
2010-09-01 14:01:03 +02:00
Eric Pouech
45ade6c2f5
ntdll: Allocate a console (without renderer) when starting a program from unix console.
2010-09-01 14:01:03 +02:00
Eric Pouech
6f32644aa0
server: Allow a screen buffer to be attached to a given fd (for bare consoles).
2010-09-01 14:01:02 +02:00
Alexandre Goujon
2c08a3fbc7
msvcrt: Properly fix setlocale and clean up tests.
2010-08-31 17:48:06 +02:00
Alexandre Julliard
56bce685d5
kernel32: Use int64 in the spec file for 64-bit integers.
2010-08-31 14:23:48 +02:00
Francois Gouget
f3c092f738
kernel32/tests: Fix compilation on systems that don't support nameless unions or structs.
2010-08-31 14:23:47 +02:00
Louis Lenders
2274150759
kernel32: Add stub for WerRegisterFile.
2010-08-30 15:38:30 +02:00
Louis Lenders
afa53a37a4
kernel32: Add stub for GetUserDefaultLocaleName.
2010-08-30 15:36:28 +02:00
André Hentschel
0029e64e4e
kernel32: Better describe an error.
2010-08-30 11:26:29 +02:00
Dan Kegel
a5bdb7dbc1
kernel32: Add error text for WSAECONNREFUSED.
2010-08-30 11:26:28 +02:00
Austin English
90b5342fb8
kernel32/tests: Sparc fixes.
2010-08-24 12:22:39 +02:00
Alexandre Goujon
49c5bd0365
kernel32: Fix GetComputerName errors.
2010-08-23 11:58:42 +02:00
Jörg Höhle
fc872628d9
kernel32/tests: GetVolumeInformationA X: succeeds iff drive's default dir is root.
2010-08-18 17:45:02 +02:00
Austin English
7cd7851ca1
kernel32: Add stub for SetFileValidData.
2010-08-18 11:12:07 +02:00
Wolfram Sang
f999060f4d
kernel32: Change fixme to trace in comm.c.
2010-08-17 14:18:45 +02:00
Juan Lang
5e87ca772e
kernel32: Implement GetErrorMode/SetErrorMode on top of NTDLL.
2010-08-16 16:39:58 +02:00
Austin English
067168b67b
kernel32/tests: Add a test for CreateFileA.
2010-07-28 16:28:19 +02:00
André Hentschel
8d371d88d1
kernel32: Spelling fix in a comment.
2010-07-28 14:01:53 +02:00
Harry Jeffery
4faf80280c
Fixed various spelling mistakes.
2010-07-26 13:34:20 +02:00
Alexandre Julliard
f195c1eb5a
winegcc: Don't import winecrt0 by default when building with -nodefaultlibs.
2010-07-26 12:46:00 +02:00
Damjan Jovanovic
f56be472c6
kernel32: Deal with unix paths in wine_get_dos_file_name.
2010-07-23 13:05:32 +02:00
Aric Stewart
6c970e7e66
kernel32/tests: Add test for CT_TYPE1 of GetStringTypeW.
2010-07-22 13:09:24 +02:00
Andrey Turkin
a610fc17d8
kernel32: Enhance EndUpdateResource.
2010-07-22 11:41:41 +02:00
Alexandre Julliard
b86d515ed6
dlls: Remove explicit imports of kernel32 and ntdll.
2010-07-21 17:38:36 +02:00
Alexandre Julliard
f9253bbb45
makefiles: Specify -nodefaultlibs when building low-level dlls.
2010-07-21 17:38:18 +02:00
Paul Chitescu
2e97746340
kernel32: Declare and add stubs for GetLogicalProcessorInformation(Ex).
2010-07-20 12:56:26 +02:00
Alexandre Julliard
b14cfdeea4
tests: Run all tests with the default FPU control word.
2010-07-20 11:41:05 +02:00
Alexandre Julliard
e2c48c5952
tests: Try to avoid message boxes popping up in non-interactive testing.
2010-07-20 11:39:50 +02:00
Sven Baars
7fe8c72023
kernel32: Update the Dutch translation.
2010-07-19 11:09:48 +02:00
Igor Paliychuk
e350db6336
kernel32: Ukrainian translation update.
2010-07-15 11:29:24 +02:00
Igor Paliychuk
9dfeab2534
kernel32: Add Ukrainian translation.
2010-07-14 11:43:51 +02:00
Sven Baars
c7becd098e
kernel32: Partially update the Dutch translation.
2010-07-13 16:28:01 +02:00
Gustavo Henrique Milaré
750f0135c7
kernel32: Fixed typos in Portuguese translation and changed LanguageName.
2010-07-08 17:33:38 +02:00
Gustavo Henrique Milaré
34c4f6ef1b
kernel32: Added Brazilian Portuguese winerr file.
2010-07-08 17:33:38 +02:00
Jörg Höhle
cdc120d5e5
kernel32/tests: Skip fewer tests on Win9x.
2010-07-08 17:33:37 +02:00
Ken Sharp
ecf8ebac79
kernel32: Update Welsh resource.
2010-07-07 16:14:04 +02:00
Ken Sharp
0923e5e3a0
kernel32: Update Cornish resource.
2010-07-07 11:30:39 +02:00
Ken Sharp
a0a5061ad4
kernel32: Update Gaelic resource.
2010-07-05 12:59:47 +02:00
Vitaly Lipatov
43ed0c177c
kernel32: Add Russian translation.
2010-06-30 17:24:41 +02:00
Austin English
5dca2545f2
kernel32: Add stub for QueryMemoryResourceNotification.
2010-06-29 10:55:36 +02:00
Austin English
88d1a9bbff
kernel32: Add NERR_UserNotFound to Norwegian winerr.
2010-06-29 10:51:20 +02:00
André Hentschel
74532c5009
kernel32: Add NERR_UserNotFound to german winerr.
2010-06-28 11:44:15 +02:00
Łukasz Wojniłowicz
9edc384263
kernel32: Update the Polish translation.
2010-06-25 12:49:14 +02:00
André Hentschel
c85357a230
kernel32: Update a warning.
2010-06-25 10:25:02 +02:00
Alexandre Julliard
9f7bc109d2
kernel32: Avoid returning the same name when GetTempFileName is called twice in a short interval.
2010-06-24 11:01:56 +02:00
Francois Gouget
7bf45b4c35
kernel32: GetProcessDword() is unused so remove it.
...
We use krnl386.exe16's implementation instead.
2010-06-24 10:35:21 +02:00
Alexandre Julliard
79b6351c9c
kernel32: Add the TlsAlloc/FreeInternal entry points.
2010-06-22 16:58:13 +02:00
Alexandre Julliard
0db65fd36e
ntdll: Fix the initial FPU control word on 32-bit too.
2010-06-22 11:19:02 +02:00
Alexandre Julliard
8b54390686
ntdll: Fix the initial FPU control word on 64-bit.
2010-06-21 11:49:25 +02:00
Luca Bennati
8e55a610b6
kernel32: Update Italian translation.
2010-06-21 11:47:19 +02:00
Henri Verbeet
772a5c7c09
ntdll: The FPU control word for newly created threads is 0x27f.
...
This fixes a regression introduced by
e6611e22fb
.
2010-06-17 11:50:23 +02:00
Andrew Nguyen
1029167232
kernel32/tests: Add tests to examine output file part pointer behavior for GetFullPathNameW.
2010-06-17 11:48:42 +02:00
Andrew Nguyen
70099e8971
kernel32/tests: Add tests to examine output file part pointer behavior for GetFullPathNameA.
2010-06-17 11:48:39 +02:00
Damjan Jovanovic
06de0195d0
kernel32: Stop CopyFile from overwriting a file with itself.
2010-06-16 19:38:58 +02:00
Damjan Jovanovic
6e5a22c733
kernel32: Add a CopyFile test.
2010-06-15 18:29:07 +02:00
Damjan Jovanovic
44aa45036b
kernel32: Revert 3f1404bf29
and add better CopyFile tests.
2010-06-14 14:14:16 +02:00
Nikolay Sivov
43d9c9bb41
kernel32: Export RtlPcToFileHeader on x86-64 platform.
2010-06-14 14:14:15 +02:00
Igor Paliychuk
4801209c5c
kernel32: Update Ukrainian translations.
2010-06-11 11:36:49 +02:00
Damjan Jovanovic
3f1404bf29
kernel32: CopyFile cannot overwrite a file with itself.
2010-06-11 11:36:42 +02:00
André Hentschel
b8ff44e627
kernel32/tests: Add a test about unicode collation.
2010-06-08 12:58:55 +02:00
Alexandre Julliard
2b99e1c17d
kernel32: Make sure we always have a valid process title.
2010-06-08 11:53:58 +02:00
Alexandre Julliard
e091c12b66
kernel32/tests: Fix the process title tests to actually test something.
2010-06-08 11:50:20 +02:00
Paul Vriens
30d535cf74
kernel32: Add the Danish translation.
...
Translation by Thomas Larsen <sikker2004@yahoo.com>
2010-06-07 12:22:57 +02:00
Frédéric Delanoy
da05cbd8ce
kernel32: Fix a spelling error in French locale definitions.
2010-06-02 10:53:21 +02:00
Paul Vriens
dda58216ea
kernel32: Fix the Korean resources.
2010-06-02 10:52:24 +02:00
Alexandre Julliard
48cffa0323
kernel32/tests: Restore the stderr handle after the closing test.
2010-05-28 11:21:44 +02:00
Alexandre Julliard
a10e9ba092
kernel32: Unalign the stack on process startup to work around Doom3 bug.
2010-05-28 11:20:28 +02:00
Alexandre Julliard
775e5f7b3e
kernel32: Reset stdio handles when they are closed.
2010-05-26 23:16:34 +02:00
Austin English
3fd4f68827
kernel32/tests: Check return value of alarmThread in test_NamedPipe_2().
2010-05-24 12:56:19 +02:00
Austin English
e0c7fb66c4
kernel32/tests: Use ret in load_blackbox().
2010-05-24 12:53:09 +02:00
Andrey Turkin
85cc2c13f6
server: Connect named pipe synchronously when overlapped param is NULL.
2010-05-24 12:39:35 +02:00
Andrey Turkin
de79a63838
kernel32: Implement CreateHardLink.
2010-05-17 14:43:26 +02:00
Alexandre Julliard
f3831cf2cb
configure: Rename the 64-bit loader to wine64 and keep wine always for the 32-bit loader.
...
This provides better backwards compatibility when running with a
32-bit prefix.
2010-05-17 12:42:30 +02:00
Detlef Riekenberg
69326aa246
kernel32: Move a 16 bit related comment to krnl386.
2010-05-14 18:03:03 +02:00
Paul Vriens
f3b4bd2bbc
kernel32: Return the correct processor arch and type in wow64 mode.
2010-05-13 11:51:11 +02:00
Nikolay Sivov
0597e659bd
kernel32: Fix return code from LocalUnlock for pointer passed to it.
2010-05-10 10:04:54 +02:00
Alexandre Julliard
383879f686
kernel32: Add an x86_64 implementation for the TEB access functions.
2010-05-07 14:15:25 +02:00
Alexandre Julliard
18dbaadfc5
kernel32: Define GetProcessHeap as an assembler function on i386.
2010-05-07 14:07:45 +02:00
André Hentschel
56d28f7d5b
kernel32: Double the alarm timeout to prevent a failed test.
2010-05-07 13:30:44 +02:00
Gerald Pfeifer
978b4898e5
kernel32/tests: Remove variable len which is not really used from test_CommandLine.
2010-05-05 10:56:39 +02:00
Alexandre Julliard
ac69fcb14f
server: Check that the prefix type can support the client architecture.
2010-05-04 20:27:20 +02:00
Andrew Nguyen
f2c91f0d3c
kernel32: Reject a format string with insertions if no variadic arguments are passed to FormatMessageA/W.
2010-05-03 13:56:53 +02:00
Andrew Nguyen
cff134daf4
kernel32/tests: Document a few FormatMessage tests which are broken on older Windows.
2010-04-28 07:39:10 -05:00
Andrew Nguyen
57636255ef
kernel32: Merge the insertion and non-insertion codepaths in the format_message helper together to share common functionality.
2010-04-28 07:39:03 -05:00
Andrew Nguyen
722fd58446
kernel32: Process CRLF escape sequences in normal insert sequence processing path in FormatMessageA/W.
2010-04-28 07:38:53 -05:00
Andrew Nguyen
1d18b890a6
kernel32: Remove a superfluous function call in the format_insert helper.
2010-04-28 07:38:23 -05:00
Andrew Nguyen
e724f6aa28
kernel32/tests: Centralize the FormatMessageW skip detection.
2010-04-28 07:38:05 -05:00
Andrew Nguyen
5505ae978b
kernel32: Handle some escape sequences with FORMAT_MESSAGE_IGNORE_INSERTS in FormatMessageA/W.
2010-04-28 07:37:58 -05:00
Andrew Nguyen
2193b9e887
kernel32: Correct output buffer behavior with empty input strings for FormatMessageA/W.
2010-04-28 07:37:49 -05:00
Andrew Nguyen
f50198f662
kernel32: Improve flag error handling in FormatMessageA/W.
2010-04-28 07:37:39 -05:00
Andrew Nguyen
9df55f06a2
kernel32: Remove leftover preprocessor undef directives in the FormatMessage implementation.
2010-04-28 07:37:20 -05:00
Andrew Nguyen
3cb43a081b
kernel32: Fail if a format placeholder is present without a format specifier in FormatMessageA/W.
2010-04-28 07:36:35 -05:00
Hans Leidekker
9b33b479d6
kernel32/tests: Fix test failures on certain versions of Windows.
2010-04-27 14:38:38 -05:00
Michael Stefaniuc
6450b76a51
kernel32: The Isle of Man uses the Manx Pound.
2010-04-22 11:28:37 +02:00
Michael Stefaniuc
40ea1a08a5
kernel32: Add some missing LOCALE_SNATIVECURRNAME constants.
2010-04-22 11:28:30 +02:00
Michael Stefaniuc
c8d0f70a5c
kernel32: Update the Dutch (Suriname) NLS file.
2010-04-22 11:28:28 +02:00
Andrew Nguyen
12efa6135c
kernel32: Rename the load_message helper to reflect its sole handling of Unicode strings.
2010-04-19 15:46:13 +02:00
Andrew Nguyen
43436f64d8
kernel32: Unify the format_message ANSI and Unicode helpers.
2010-04-19 15:46:11 +02:00
Andrew Nguyen
4c657b870f
kernel32: Unify the format_insert ANSI and Unicode helpers.
2010-04-19 15:46:08 +02:00
Andrew Nguyen
053d4385c9
kernel32: Transition FormatMessageA to the internal use of Unicode strings.
2010-04-19 15:46:05 +02:00
Andrew Nguyen
f199a83d47
kernel32: Separate format string parsing in FormatMessageA into a new function.
2010-04-19 15:44:34 +02:00
Andrew Nguyen
df83469258
kernel32: Separate format string parsing in FormatMessageW into a new function.
2010-04-19 15:44:27 +02:00
Andrew Nguyen
fcdd0d3040
kernel32: Consistify allocation behavior with FormatMessageA/W.
2010-04-19 15:44:05 +02:00
Andrew Nguyen
8e20322578
kernel32/tests: Add tests for buffer allocation in FormatMessage.
2010-04-19 15:43:31 +02:00
Andrew Nguyen
ce61b254d0
kernel32: Only check the buffer pointer in FormatMessageA if buffer allocation is requested.
2010-04-19 15:43:25 +02:00
Andrew Nguyen
8b28efaed7
kernel32: Reject an insufficiently sized buffer in FormatMessageA/W.
2010-04-19 15:43:07 +02:00
Andrew Nguyen
c0e7931954
kernel32: Remove superfluous heap reallocation calls in FormatMessageA/W.
...
The buffer in question is temporary and will be freed on function
return, so resizing and leaving the enlarged space unused is pointless.
2010-04-19 15:42:42 +02:00
Andrew Nguyen
f35ca2a77c
kernel32/tests: Remove a superfluous comment in the FormatMessage tests.
2010-04-19 15:42:39 +02:00
Eric Pouech
409033cb6a
kernel32: Added proper support for GetSystemInfo on x86_64.
2010-04-16 16:54:30 +02:00
Alexandre Julliard
d0578c080a
kernel32: Map the new detailed direction information back to the Windows constants.
2010-04-14 18:00:45 +02:00
Alexandre Julliard
5189eef6bb
ntdll: Fix affinity mask check for 64-bit.
2010-04-08 23:57:08 +02:00
Alexandre Julliard
a8e86e35dd
winapi: Generate the 64-bit variant of structure size/alignment tests.
2010-04-07 18:03:00 +02:00
Andrew Nguyen
39208d4d60
kernel32: Don't set last error on success in OpenConsoleW.
2010-04-01 18:12:40 +02:00
Andrew Nguyen
b7bf2abdff
kernel32: Improve parameter validation in OpenConsoleW.
2010-04-01 18:12:40 +02:00
Marcus Meissner
35dfd34a9f
kernel32: Initialize env (Coverity).
2010-03-31 11:44:30 +02:00
Alexandre Julliard
02aef1c3b8
kernel32: Increase the wineboot timeout.
2010-03-30 16:55:11 +02:00
Alexandre Julliard
be0db98a23
kernel32: Fix processing of spaces in command line for builtin exes.
2010-03-29 19:37:35 +02:00
Alexandre Julliard
808c29b908
kernel32: Add support for starting binaries in 32/64-bit mode from the other mode.
2010-03-29 17:57:15 +02:00
Michael Stefaniuc
8f7372488b
kernel32/tests: Remove superfluous casts of integer constants.
2010-03-29 11:48:58 +02:00
André Hentschel
a9a7d963c2
kernel32: Make process traces aware of 64-bit.
2010-03-25 16:08:27 +01:00
André Hentschel
e9be1b4094
kernel32: Fix return value of FlsFree.
2010-03-22 15:53:42 +01:00
Francois Gouget
3428b94a8d
Assorted spelling and case fixes.
2010-03-22 10:49:13 +01:00
Francois Gouget
891b1ce3de
kernel32/tests: Remove a space after a '\n' in a skip().
2010-03-22 10:48:17 +01:00
Alexandre Julliard
c7bed19c0b
kernel32: Don't try to open builtin exe files during CreateProcess, only check the path syntax.
2010-03-18 13:46:22 +01:00
Paul Vriens
b120836bd2
kernel32/tests: Run tests again on Win95.
2010-03-16 17:03:23 +01:00
Alexandre Julliard
bef5645eb1
makefiles: Remove the no longer needed explicit separators for dependencies.
2010-03-16 13:28:19 +01:00
Henri Verbeet
ef058b3030
kernel32: Implement CheckRemoteDebuggerPresent().
2010-03-15 15:56:56 +01:00
Henri Verbeet
6c0ecd0955
server: Debugging our own process is disallowed.
2010-03-15 15:55:08 +01:00
Alexandre Julliard
2bb93d39be
kernel32: Abstract the key creation routine and move the key existence check to the top-level function.
2010-03-13 19:24:46 +01:00
Henri Verbeet
1970fb35d4
server: Allow the debugger to be debugged.
2010-03-05 13:21:22 +01:00
Alexandre Julliard
83c272a258
ntdll: Return STATUS_IMAGE_NOT_AT_BASE when an image mapping has to be relocated.
2010-03-03 20:05:40 +01:00
Reece Dunn
1b46c0660d
kernel32/tests: Add a test case for calling TlsFree on a freed index.
2010-03-03 11:49:35 +01:00
Alexandre Julliard
ea3f48ff11
kernel32: Create the Nls\CodePage key one element at a time.
2010-03-01 14:06:08 +01:00
Alexandre Julliard
f5248ef7c8
kernel32: Create the Control Panel\International key one element at a time.
2010-03-01 14:04:33 +01:00
Alexandre Julliard
6d4cf67a56
kernel32: Create the hardware registry keys one at a time, and bail out if the main key already exists.
2010-03-01 14:03:35 +01:00
Alexandre Julliard
61812d17f8
kernel32: Moved creation of the DynData registry keys to wineboot.
2010-03-01 14:03:35 +01:00
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