Commit Graph

31 Commits

Author SHA1 Message Date
Alexandre Julliard 2ec3396122 kernel32: Avoid using wctype functions.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-04-01 10:30:17 +02:00
Alexandre Julliard 68587234bf kernel32: Avoid using tolowerW/toupperW().
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-04-01 10:28:01 +02:00
Michael Stefaniuc c7411a6390 kernel32: Remove redundant attributes check.
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-09-20 16:23:34 +02:00
Hugh McMaster 8cacba5ff9 kernel32: Check for a valid pointer before yanking the line.
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-12-13 13:16:02 +01:00
Hugh McMaster 6a3ffc4f3f kernel32: Use Emacs keymap mode immediately after wineconsole configuration change.
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-12-13 13:15:59 +01:00
Alex Henrie d44ec680da kernel32: Fix memory leak in WCEL_FindPrevInHist.
Signed-off-by: Alex Henrie <alexhenrie24@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-07-05 23:22:05 +09:00
Alex Henrie 16c51fbe17 kernel32: Fix memory leak in WCEL_MoveToHist.
Signed-off-by: Alex Henrie <alexhenrie24@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-07-05 23:22:05 +09:00
Hugh McMaster 0311c6adb2 kernel32: Apply the new background colour to the active line.
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-01-26 23:28:38 +09:00
Hugh McMaster 7223330ffc kernel32: Replace NULL argument with pointer to DWORD.
On Windows, passing in NULL can cause a memory access violation.

Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-11-30 23:47:28 +09:00
Hugh McMaster b1b05e62e9 kernel32: Remove un-needed VK_DEL entries from the console keymap.
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-11-23 23:35:19 +09:00
Hugh McMaster bbe3c9cfbd kernel32: Interpret Shift-Backspace as Backspace when using the Win32 keymap in wineconsole.
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-11-23 23:35:18 +09:00
Hugh McMaster 7dcfc00dc3 kernel32: Use virtual-key codes in the console StdKeyMap.
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-11-23 23:35:17 +09:00
Hugh McMaster ac3a684d3b kernel32: Reset insert key toggle when Insert Mode changes. 2015-08-17 16:36:02 +09:00
Francois Gouget f8a7d6ed74 Assorted spelling fixes. 2015-08-07 23:50:48 +09:00
Hugh McMaster 0adad1f573 kernel32: Restore the original console cursor size on Enter press, if the Insert key toggle is active. 2015-08-03 10:59:27 +02:00
Hugh McMaster 68fb8c5525 kernel32: Restore the original console edit mode on Enter press, if the Insert key toggle is active. 2015-08-03 10:59:23 +02:00
Hugh McMaster c8069af616 kernel32: Enabling/disabling Insert Mode via the user dialog should take effect immediately. 2015-07-21 16:33:22 +02:00
André Hentschel fc38254fed kernel32: Remove a useless error message. 2011-02-16 14:26:26 +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
Eric Pouech 5f2370b0aa kernel32: In edit line, fix the insert key management. 2011-01-25 14:46:00 +01:00
Eric Pouech 2a219b948c kernel32: Added support for insert/overwrite modes while editing a line. 2011-01-19 12:57:46 +01:00
Andrew Nguyen ee84a9df12 kernel32: Pass an output parameter when calling WriteConsoleOutputCharacterW and FillConsoleOutputAttribute. 2011-01-11 16:05:48 +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 9c577630d1 kernel32: Control characters should be returned while reading a line from console. 2010-11-29 11:35:28 +01: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 883d32dd70 kernel32: Completely get rid of ENHANCED_KEY entry in the keymap.
This fixes the ctrl-arrow support which has been broken by 67be353040.
2009-04-29 15:50:25 +02:00
Eric Pouech 88bdc0c110 kernel32: In editline's keys table, use constants instead of numeric constants. 2009-04-28 11:58:41 +02:00
Dmitry Timoshkov 67be353040 kernel32: Don't ignore extended keys. 2008-10-28 12:13:46 +01:00
Michael Stefaniuc 8c38b88068 kernel32: Win64 printf format warning fixes. 2006-10-13 12:08:25 +02:00
Alexandre Julliard 489d87d1e5 kernel32: Renamed the kernel directory to kernel32.
Also get rid of the kernel/messages subdirectory.
2006-09-12 13:34:06 +02:00