Commit Graph

1510 Commits

Author SHA1 Message Date
Marcus Meissner b42c593f67 kernel32: Fixed mismatched bracket (Coverity). 2011-02-23 15:01:17 +01:00
Alexandre Julliard 0fd822f465 kernel32: Use debugstr_a to avoid overflow with user-specified string. 2011-02-19 13:06:40 +01:00
Austin English 194e43f6e3 kernel32/tests: Make sure to use return values (LLVM/Clang). 2011-02-17 18:33:42 +01:00
André Hentschel 21332ccb85 kernel32: Forward RtlCompareMemory to ntdll on x86_64. 2011-02-17 17:27:00 +01:00
Alexandre Julliard b0cebda36b kernel32: Don't try to initialize curses if the TERM variable is not set. 2011-02-16 23:30:32 +01:00
André Hentschel fc38254fed kernel32: Remove a useless error message. 2011-02-16 14:26:26 +01:00
Igor Egorov b970462825 kernel32: Add stderr redirection for native Unix programs started from Windows program. 2011-02-15 17:24:26 +01:00
Austin English 39d5a90806 kernel32/tests: Make sure to use return values (LLVM/Clang). 2011-02-11 14:49:23 +01:00
Austin English e330380a6b kernel32/tests: Don't check return values inside of if(0) (LLVM/Clang). 2011-02-11 14:48:46 +01:00
Austin English 8b7904d78d kernel32/tests: Don't check return values inside of if(0) (LLVM/Clang). 2011-02-11 14:48:29 +01:00
Austin English ab4dba3e75 kernel32/tests: Don't check return values inside of if(0) (LLVM/Clang). 2011-02-10 09:57:19 -06:00
Austin English 4e3c3ad593 kernel32/tests: Make sure to use return values (LLVM/Clang). 2011-02-09 09:28:21 -06:00
Austin English a96b23cc1b kernel32/tests: Remove unused assignment (LLVM/Clang). 2011-02-07 10:10:10 -06:00
Joris Huizer fb296d1201 kernel32/tests: Don't test function directly when reporting GetLastError(). 2011-02-07 10:04:12 -06:00
André Hentschel 008cf3c18c kernel32: Use define instead of hardcoded value. 2011-02-01 18:14:09 +01:00
Eric Pouech 1f0e9499e5 kernel32: Use binary search for key lookup in terminfo generated data. 2011-01-31 13:01:12 +01:00
Eric Pouech 6d75a47b6d kernel32: Added shift & ctrl modifiers for function keys. 2011-01-31 13:01:11 +01:00
Eric Pouech be69efa51d kernel32: Added support for extended capacities in terminfo for xterm-like terminals. 2011-01-31 13:01:11 +01:00
Eric Pouech 00767952e7 kernel32: Store key len in dbkey_pair structure for efficiency reasons. 2011-01-31 13:01:11 +01:00
Hans Leidekker 541c116368 kernel32/tests: Add a test for ioctl 0x560000. 2011-01-31 13:01:10 +01:00
Eric Pouech 08f13cbd39 kernel32: Added support for ctrl-home (aka clear from beginning of line) in line edition in win32 mode. 2011-01-31 12:31:35 +01:00
Alexandre Julliard c469b77624 kernel32: Add proper English messages for all error codes. 2011-01-27 15:23:56 +01:00
Eric Pouech aee674c9b8 kernel32: Properly manage UTF-8 (and any wcs) input strings. 2011-01-25 14:46:59 +01:00
Eric Pouech ff057db675 kernel32: No longer init the terminfo database nor application key mode when 0 or 1 are not bound to a tty. 2011-01-25 14:46:17 +01:00
Eric Pouech 5f2370b0aa kernel32: In edit line, fix the insert key management. 2011-01-25 14:46:00 +01:00
Alexandre Julliard efa55fd2bf kernel32: Convert message translations to po files. 2011-01-24 21:35:14 +01:00
Detlef Riekenberg 27d31c7652 kernel32: Don't mask when printing unsupported flags in load_library. 2011-01-24 12:35:02 +01:00
Kusanagi Kouichi 8e1755aa49 kernel32: Include term.h conditionally. 2011-01-24 12:35:02 +01:00
Eric Pouech 33389354a5 kernel32: Added missing include to term.c. 2011-01-24 12:35:02 +01:00
Andrew Nguyen 70d67becac kernel32/tests: Free environment strings buffer at the conclusion of the environment tests. 2011-01-21 13:46:22 +01:00
Eric Pouech f3fe497b4f kernel32: Fix prototype when no curses dev package is present. 2011-01-20 12:20:39 +01:00
Piotr Caban 9dbdd8c83c kernel32/tests: Added file move/rename ReadDirectoryChangesW tests. 2011-01-19 14:13:58 +01:00
Eric Pouech 2a219b948c kernel32: Added support for insert/overwrite modes while editing a line. 2011-01-19 12:57:46 +01:00
Eric Pouech a392e9a102 kernel32: Correctly parse the input strings for advanced keys. 2011-01-19 12:55:06 +01:00
Eric Pouech 46cd299458 kernel32: Move the input character to INPUT_RECORD translation functions to term.c. 2011-01-19 12:54:49 +01:00
Eric Pouech ef3c46a9bf kernel32: Added support for terminfo/termcap in console code. 2011-01-19 12:54:08 +01:00
Andrew Nguyen ba7f7046ee kernel32/tests: Free environment block in the child process when it is unused. 2011-01-17 14:29:24 +01:00
André Hentschel dd07baa824 kernel32/tests: Use the right return type and a better failed test message. 2011-01-13 15:22:00 +01:00
André Hentschel 85386c2c6e kernel32/tests: Don't test function directly when reporting GetLastError(). 2011-01-12 14:59:43 +01:00
Andrew Nguyen ee84a9df12 kernel32: Pass an output parameter when calling WriteConsoleOutputCharacterW and FillConsoleOutputAttribute. 2011-01-11 16:05:48 +01:00
Andrew Nguyen df18e3fdd4 kernel32/tests: Demonstrate an input event handling peculiarity with WriteConsoleInputA. 2011-01-11 16:05:47 +01:00
Andrew Nguyen e2e9141918 kernel32/tests: Demonstrate an input event handling peculiarity with WriteConsoleInputW. 2011-01-11 16:05:47 +01:00
Andrew Nguyen b158d23c88 kernel32: Improve parameter validation for ReadConsoleOutputAttribute. 2011-01-11 16:05:47 +01:00
Andrew Nguyen 66b42c86d1 kernel32: Improve parameter validation for ReadConsoleOutputCharacterA. 2011-01-11 16:05:47 +01:00
Andrew Nguyen c905b7e705 kernel32: Improve parameter validation for ReadConsoleOutputCharacterW. 2011-01-11 16:05:47 +01:00
Greg Geldorp 6b8812add1 kernel32/tests: Set TrueType console font before running tests.
ReadConsoleOutputW doesn't retrieve characters from the output buffer
correctly for characters that don't have a glyph in the console font.
2011-01-10 15:02:24 +01:00
Hans Leidekker 06562d16b3 kernel32: Add a stub implementation of GetThreadIOPendingFlag. 2011-01-10 10:42:23 +01:00
Alexandre Julliard e7749967b8 kernel32: Update the country code for Serbia. 2011-01-07 12:11:53 +01:00
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