Commit Graph

63 Commits

Author SHA1 Message Date
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
Rob Shearman
7ed33ae721 kernel32: Fix handle leak in start_console_renderer_helper. 2008-02-18 12:20:38 +01:00
Rob Shearman
a82f4dd9b7 Don't use GetExceptionCode and GetExceptionInformation in exception filter functions.
When using native compiler exceptions, it isn't valid to use 
GetExceptionCode and GetExceptionInformation anywhere other than in the 
filter or handler blocks since it would be very hard for the compiler to 
work out where to retrieve the exception information from on the stack.

Therefore, remove the WINE_EXCEPTION_FILTER and WINE_FINALLY_FUNC macros 
which enabled GetExceptionCode, GetExceptionInformation and 
AbnormalTermination to be used inside of the functions they declared and 
fix up all callers to access the information directly.
2008-02-16 14:57:44 +01:00
Kirill K. Smirnov
24f78d7366 kernel32: Convert newborn wineserver handle to kernel32 console handle. 2008-01-04 13:46:13 +01:00
Kirill K. Smirnov
b7f617c916 kernel32: Invalidate local copy of console input event handle while reallocating console. 2007-12-21 14:27:10 +01:00
Kirill K. Smirnov
c9700896fe kernel32: ReadConsoleW should wait for at least one character before returning. 2007-12-18 19:48:36 +01:00
Hans Leidekker
c6dd1f1599 kernel32: GetConsoleInputExeNameW returns TRUE even when it fails. 2007-12-10 12:27:04 +01:00