Commit Graph

99 Commits

Author SHA1 Message Date
Hugh McMaster 2bda84a410 kernel32: Implement GetConsoleScreenBufferInfoEx.
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-08-17 13:40:37 +09:00
Austin English 77733651ad kernel32: Add GetConsoleFontInfo stub.
Signed-off-by: Austin English <austinenglish@gmail.com>
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-04-25 18:53:27 +09:00
Austin English 43637ce9f7 kernel32: Add GetConsoleAliasExesLengthA/W stubs.
Signed-off-by: Austin English <austinenglish@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-04-05 00:06:40 +09:00
Hugh McMaster 408205cb04 kernel32: Add a stub for SetCurrentConsoleFontEx.
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-03-22 00:36:28 +09:00
Hugh McMaster 2c5756347b kernel32: Implement the TRUE pathway of GetCurrentConsoleFont.
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-01-28 01:22:33 +09:00
Austin English 57d1171208 kernel32: Add GetConsoleScreenBufferInfoEx/SetConsoleScreenBufferInfoEx stubs.
Signed-off-by: Austin English <austinenglish@gmail.com>
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-01-08 00:50:48 +09:00
Hugh McMaster 66974e5502 kernel32: Remove incorrect comment from !i386 version of GetLargestConsoleWindowSize.
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-01-06 18:08:32 +01:00
Sebastian Lackner dfe42ca506 kernel32: Clamp maximum console window size to screen buffer size.
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-01-06 18:08:31 +01:00
Hugh McMaster c9364659aa kernel32: Add a stub for SetConsoleFont.
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-01-05 17:07:42 +01:00
Hugh McMaster dd6477966b kernel32: Implement GetLargestConsoleWindowSize.
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-01-05 17:07:37 +01:00
Andrew Eikum df718b8ab8 kernel32: Always uninitialize the terminal for the console shell process.
The terminal raw IO check and the console shell process check are used
separately to initialize the terminal in different ways. However, if
either check fails during uninitialization, then no uninitialization
will occur at all and modified terminfo settings will remain instead of
being restored. We should check each condition individually and
uninitialize each part as required.

Signed-off-by: Andrew Eikum <aeikum@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-11-18 13:07:02 +09:00
Austin English 7c92862071 kernel32: Add SetConsoleKeyShortcuts stub.
Signed-off-by: Austin English <austinenglish@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-11-03 23:12:03 +09:00
Hugh McMaster 4925f75869 kernel32: Implement GetConsoleFontSize.
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-11-03 00:33:25 +09:00
Hugh McMaster f0ee54a776 kernel32: Implement GetNumberOfConsoleFonts.
We only ever have one entry in the console font table.

Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-11-03 00:33:24 +09:00
Hugh McMaster a9277a9c34 kernel32: Implement the FALSE pathway of GetCurrentConsoleFont.
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-10-26 23:03:34 +09:00
Erich E. Hoover 4b559f02dd kernel32: Invalid console handles for new processes are 0, not INVALID_HANDLE_VALUE. 2015-04-23 15:06:36 +09:00
Dmitry Timoshkov e03a3fe509 kernel32: Add a workaround for broken apps that pass negative values to ReadConsole. 2014-04-16 10:54:15 +02:00
Dmitry Timoshkov 2451d263de kernel32: Handle memory allocation failure in ReadConsoleA. 2014-04-15 09:46:29 +02:00
André Hentschel 5a6d38c2bd kernel32: Adapt input checking in OpenConsoleW to match win8 behaviour. 2013-12-26 13:42:55 +01:00
Frédéric Delanoy 7ab78b4e03 kernel32: Use BOOL type where appropriate. 2013-10-24 10:49:11 +02:00
Michael Stefaniuc 2a39cb377a dlls: Replace the remaining CONSTs. 2013-09-25 11:49:20 +02:00
André Hentschel e1c884256e kernel32: Silence a noisy FIXME in GetConsoleKeyboardLayoutNameW. 2013-04-15 15:15:25 +02:00
Alistair Leslie-Hughes 53d7355949 kernel32: Add GetConsoleFontSize stub. 2012-08-22 12:10:25 +02:00
Alistair Leslie-Hughes 71d3d4f1ba kernel32: Add GetCurrentConsoleFont stub. 2012-08-22 12:09:37 +02:00
Austin English e8c283c009 kernel32: Add a stub for SetConsoleIcon. 2012-06-05 11:50:45 +02:00
Eric Pouech 945e16c281 kernel32: Enhance bare fd check by checking that the handle is a real console handle. 2012-02-20 11:38:24 +01:00
Austin English 9a2c2ed5c2 kernel32: Add a stub for AddConsoleAliasA/W. 2012-01-25 13:53:59 +01:00
Austin English 15bce22683 kernel32: Add stubs for ExpungeConsoleCommandHistoryA/W. 2012-01-23 17:05:10 +01:00
Austin English eff816b55c kernel32: Add stubs for GetConsoleAliasesLengthA/W. 2012-01-23 17:05:07 +01:00
Austin English 4110068dc2 kernel32: Add stubs for GetConsoleCommandHistoryLengthA/W. 2012-01-23 16:07:42 +01:00
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