Commit Graph

69 Commits

Author SHA1 Message Date
Alexandre Julliard b4516a2f1f wineconsole: Set the correct font height even when no registry data is present.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-10-18 21:42:52 +02:00
Alexandre Julliard cf3e22ed6b wineconsole: Try harder to get a scalable font.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-10-10 20:43:02 +02:00
Michael Stefaniuc 8969cf98cf wineconsole: Use the ARRAY_SIZE() macro.
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-07-13 19:10:01 +02:00
Alexandre Julliard 03e438dbf5 wineconsole: Remove duplicate line feeds.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-05-17 22:21:12 +02:00
Alexandre Julliard 9032849d06 wineconsole: Avoid some fatal errors.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-05-17 22:21:12 +02:00
Alexandre Julliard 29533e4844 wineconsole: Leave room for wide characters only when using a DBCS codepage.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-12-22 15:08:00 +01:00
Hugh McMaster b1e6d4c175 wineconsole: Replace hard-coded WCUSER_ColorMap with registry color_map.
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-08-09 11:55:36 +09:00
Alexandre Julliard e1fc8dcdee wineconsole: If necessary, fallback to a font without the right properties instead of failing.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-03-28 18:40:58 +09:00
Alexandre Julliard 8e77d6a24d wineconsole: Accept a too large font if we can't find one that fits the screen. 2015-10-21 00:25:33 +09:00
Alexandre Julliard 15f8b01223 wineconsole: Deal with fonts that don't have a uniform character width.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-10-21 00:25:33 +09:00
Sebastian Lackner 29b55a5cae wineconsole: Consistently return nonzero exitcode on error. 2015-07-30 23:48:39 +02:00
Alexandre Julliard ed853f93d4 wineconsole: Don't offer vertical fonts in the font dialog. 2013-06-25 18:12:10 +02:00
Michael Stefaniuc 15992994bd wineconsole: Avoid TRUE:FALSE conditional expressions. 2012-08-27 19:49:43 +02:00
Francois Gouget fac36c55e9 Assorted typo, spelling, wording and case fixes. 2012-05-15 16:26:43 +02:00
Gabriele Moabiti 70cdcba836 wineconsole: Light and dark gray colors are exchanged in the user backend. 2011-12-21 14:48:27 +01:00
Frédéric Delanoy 1b6eed8a99 programs: Assorted spelling fixes. 2011-07-27 17:48:10 +02:00
Eric Pouech 51f06239ff wineconsole: Ensure that the EXIT message is always properly propagated to the first caller of GrabChanges. 2011-03-28 17:08:53 +02:00
Andrew Nguyen 2e5c0a3acb wineconsole: Pass an output parameter when calling ReadConsoleOutputCharacterW. 2011-01-11 16:05:48 +01:00
Eric Pouech 70f24d6cc1 wineconsole: Properly handle (user)-window resizing wrt the console. 2010-11-16 12:00:18 +01:00
Eric Pouech 544dbb518e wineconsole: Properly manage window position (in wineconsole) from within wineserver. 2010-11-16 12:00:04 +01:00
Peter Oberndorfer 6191e42a0f wineconsole: Allow to select popup menu entries with the right mouse button. 2010-09-22 19:57:28 +02:00
Michael Stefaniuc f6217640be wineconsole: Use the explicit W types/functions in user.c. 2010-04-28 07:33:29 -05:00
Dylan Smith 3fbe40e2f9 wineconsole: Handle mouse wheel scrolling for user backend.
The mouse wheel will scroll if the buffer height is greater than the
console window's height in lines, otherwise console mouse input events
are generated.
2010-02-26 13:02:24 +01:00
Erich Hoover 8a6e2c8eea wineconsole: Fix Alt+F10 sent when F10 pressed. 2009-11-13 11:52:23 +01:00
Francois Gouget e7ec428c47 wineconsole: Make some functions static. 2009-01-20 12:33:59 +01:00
Dmitry Timoshkov b8b0b7fa41 wineconsole: Don't ignore extended keys. 2008-10-28 12:13:41 +01:00
Alexandre Julliard 01b7667a1a programs: Convert source files to utf-8. 2008-10-18 19:22:19 +02:00
Kirill K. Smirnov 359cd00982 wineconsole: Check return value of CreateWindow() for errors, do not rely upon callback function. 2008-08-04 13:04:05 +02:00
Austin English 6e59cd2c34 Spelling fixes. 2008-04-22 12:20:12 +02:00
Alexandre Julliard d082517c33 wineconsole: Default to the user backend, falling back to curses if we can't create a window. 2007-09-26 14:21:46 +02:00
Kirill K. Smirnov 945f4a7946 wineconsole: Move window handle to inner_data structure. 2007-08-24 12:01:06 +02:00
Dmitry Timoshkov 3c9e7a7f33 wine: Switch to using 'long' for INT_PTR type for 64-bit compatibility. 2007-05-25 20:37:56 +02:00
Dmitry Timoshkov 9e357cd781 wineconsole: Make some data const. 2007-01-10 12:27:59 +01:00
Alexandre Julliard f51c400436 wineconsole: Properly handle negative coordinates for mouse events. 2006-10-25 17:43:02 +02:00
Mikołaj Zalewski a5e92410da wineconsole: WM_RBUTTONDOWN lParam is in client coordinates not window coordinates. 2006-10-20 13:04:07 +02:00
Mikołaj Zalewski bf42a34142 wineconsole: Make most keys cancel the selection. 2006-10-20 13:03:18 +02:00
Mikołaj Zalewski 4a94d09a3e wineconsole: Allow making selections with a mouse also when not in the QuickEdit mode. 2006-10-20 13:03:04 +02:00
Mikołaj Zalewski c52238d69b wineconsole: Remove spaces from the ends of lines while copying to the clipboard. 2006-10-20 13:02:41 +02:00
Mikołaj Zalewski 2750a74f18 wineconsole: Change selection on WM_KEYDOWN not WM_KEYUP. 2006-10-20 13:02:24 +02:00
Mikołaj Zalewski 2fb8ea4d55 wineconsole: Make the user backend work on non-latin1 locales. 2006-10-04 10:06:16 +02:00
Michael Stefaniuc ae48a51947 wineconsole: Win64 printf format warning fixes. 2006-10-03 11:16:04 +02:00
Mike McCormack 899840c964 wineconsole: Use a Get/SetWindowLongPtr to store a pointer. 2006-05-31 11:58:15 +02:00
Jonathan Ernst 360a3f9142 Update the address of the Free Software Foundation. 2006-05-23 14:11:13 +02:00
Eric Pouech 8ad685c5b3 Now filling external leading in font cells. 2005-11-03 09:51:00 +00:00
Eric Pouech 05ce225383 - fixed mouse double click and wheeling
- also handling third mouse button (if any)
- full support for control/shift modifier
2005-10-10 10:26:46 +00:00
Rein Klazes b05cceb6f5 In AllocConsole() pass the wShowWindow value and STARTF_USESHOWWINDOW
flag from the calling process to the console process. Make wineconsole
use the CmdShow parameter in the ShowWindow call.
2005-04-14 11:30:09 +00:00
Eric Pouech 5c2a891c43 Made some functions and variables static. 2004-11-29 18:00:10 +00:00
Richard Cohen 6cbc861ebc Change variable name from l to k. 2004-09-22 19:12:38 +00:00
Francois Gouget ebf0eb3138 Make static Unicode strings const. 2004-04-20 00:34:52 +00:00
Eric Pouech 99bc640442 If (n)curses wasn't available at compile time:
- print sensible information
- fall back to user backend
2003-06-13 16:32:52 +00:00