Commit Graph

69 Commits

Author SHA1 Message Date
Austin English 2bc08d7f35 kernel32: Add stubs for GetConsoleCommandHistoryLengthA/W. 2012-01-19 21:08:54 +01:00
Pierre Schweitzer 8ed701b3c6 kernel32: Fix handle leak. 2012-01-03 12:37:56 +01:00
Francois Gouget 632ac0b227 kernel32: Avoid hardcoding the Unicode string literal lengths. 2011-12-16 17:40:40 +01:00
Marcus Meissner 69b713618b kernel32: Avoid shadowing "ret" variable. 2011-10-24 12:33:46 +02:00
Francois Gouget 66395882f8 kernel32: Fix writing to a pipe in WriteConsoleW(). 2011-08-04 11:47:36 +02:00
Frédéric Delanoy b5a33dab88 dlls: Assorted spelling fixes. 2011-08-02 20:47:51 +02:00
Eric Pouech aee674c9b8 kernel32: Properly manage UTF-8 (and any wcs) input strings. 2011-01-25 14:46:59 +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 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
Andrew Nguyen 51d05e241a kernel32: Improve parameter validation for FillConsoleOutputAttribute. 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
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 7f043168c1 kernel32: Fixed regression with echoing input characters. 2010-11-12 15:48:10 +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
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 297b054e74 kernel32: VerifyConsoleIoHandle does not set last error value. 2010-09-23 12:00:29 +02:00
Luca Bennati 9941f846e8 kernel32: Remove dead assignments. 2010-09-20 13:02:11 +02: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
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
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
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 a95e070824 kernel32: Add a stubbed GetConsoleProcessList(). 2010-01-05 12:29:18 +01:00
Alexandre Julliard 8268ed9783 kernel32: Do not include 16-bit headers in 32-bit files. 2009-12-30 16:21:56 +01:00
Eric Pouech e0319b82c9 kernel32: Handle the case where wineconsole isn't properly started. 2009-08-29 17:11:39 +02:00
Austin English 056131f67e kernel32: GetConsoleAliasW is a stub, make sure it acts like one. 2009-06-15 13:42:28 +02:00
Michael Stefaniuc 9b2730eb88 kernel32: Remove superfluous pointer casts. 2009-03-11 13:03:31 +01:00
Andrew Nguyen 976d5cae8d kernel32: Ensure that WriteConsoleW succeeds with an empty input buffer. 2009-01-19 13:36:25 +01:00
Alexander Nicolaysen Sørnes 93488b19dc kernel32: Add stub for GetConsoleAliasW. 2008-12-15 13:27:03 +01:00
Alexandre Julliard 7fdadbb377 server: Add functions for conversions between server user handles and pointer-style handles. 2008-12-08 16:58:20 +01:00
Alexandre Julliard d1b3d484f7 server: Add functions for conversions between server object handles and pointer-style handles. 2008-12-08 16:05:17 +01:00
Dmitry Timoshkov 67be353040 kernel32: Don't ignore extended keys. 2008-10-28 12:13:46 +01:00
Kirill K. Smirnov a470c0b017 kernel32: Add stubs for [G|S]etConsoleDisplayMode. 2008-06-27 11:29:07 +02:00
Paul Vriens dd01d39f3b kernel32: Fix return values of GetConsoleCursorInfo. 2008-06-24 12:47:18 +02:00
Austin English c531e2abdb Spelling fixes. 2008-04-23 12:31:07 +02:00