Commit Graph

54 Commits

Author SHA1 Message Date
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
Sebastian Lackner 29b55a5cae wineconsole: Consistently return nonzero exitcode on error. 2015-07-30 23:48:39 +02:00
Sebastian Lackner 2100d3e1ec wineconsole: Allocate fake hwnds for curses backend.
Based on a patch by Qian Hong.
2015-05-20 18:21:18 +09:00
Austin English 70d4979437 wineconsole: Only use getmouse when HAVE_MOUSEMASK is defined. 2014-09-12 10:38:57 +02:00
Frédéric Delanoy 5ba7f79bad Assorted spelling fixes. 2013-12-03 19:41:53 +01:00
Michael Stefaniuc 15992994bd wineconsole: Avoid TRUE:FALSE conditional expressions. 2012-08-27 19:49:43 +02:00
Francois Gouget 6333fa753a Assorted spelling fixes. 2012-07-03 12:03:29 +02:00
Alexandre Julliard c9eee73450 makefiles: Define __WINESRC__ when building programs. 2012-01-23 16:07:37 +01:00
Francois Gouget fc2b645d29 wineconsole: Give a name to the curses backend critical section. 2011-10-27 14:20:57 +02: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
Martin Storsjo 59398d7ca7 wineconsole: Fallback to window based console if the curses library isn't found. 2010-12-21 15:51:26 +01:00
Eric Pouech ac256c7352 wineconsole: Move the curses critical section inside the private data. 2010-11-29 11:36:00 +01:00
Eric Pouech 4a1d9c3b55 wineconsole: In curses mode, map some box drawing attributes to ACS characters. 2010-11-16 12:00:50 +01:00
Eric Pouech e39a48faf1 wineconsole: Added support for curses window resizing. 2010-11-16 12:00:40 +01:00
Eric Pouech 544dbb518e wineconsole: Properly manage window position (in wineconsole) from within wineserver. 2010-11-16 12:00:04 +01:00
Michael Stefaniuc b3350899f2 wineconsole: Switch the rest to use the explicit W-forms.
And compile with -DWINE_NO_UNICODE_MACROS.
2010-04-28 07:34:29 -05:00
Alexandre Julliard 267d38e1bc wineconsole: Don't use a Win32 wait on a Unix file descriptor. 2008-05-07 17:30:00 +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
Alexandre Julliard d0783774e7 configure: Merge the libcurses existence check with the soname check. 2007-07-02 17:28:50 +02:00
Alexandre Julliard 446befbb4d configure: Don't use a default soname if a library is not found, leave it undefined. 2007-07-02 14:35:05 +02:00
Anatoly Lyutin 6ee85a61f2 wineconsole: Add support for non-latin symbols with curses. 2007-01-17 11:43:32 +01:00
Dmitry Timoshkov bdc52c4777 wineconsole: Use CP_UNIXCP to translate strings to the system encoding. 2007-01-10 12:28:04 +01:00
Dmitry Timoshkov 9e357cd781 wineconsole: Make some data const. 2007-01-10 12:27:59 +01:00
Francois Gouget 82babbee0b Add missing '\n's to Wine traces. 2006-10-05 17:46:48 +02:00
Alexandre Julliard f5f37a8566 wineconsole: Portability fixes in the curses mouse support. 2006-06-27 20:14:10 +02:00
Jonathan Ernst 360a3f9142 Update the address of the Free Software Foundation. 2006-05-23 14:11:13 +02:00
Alexandre Julliard d02c4a1b82 Make wine_server_fd_to_handle use attributes instead of inherit flag. 2005-12-09 12:22:35 +01:00
Eric Pouech b580b8cf9c Function keys now work in curses mode. 2005-10-08 10:35:16 +00:00
Alexandre Julliard 734821444e Merged some of the header checks to reduce the size of the generated
configure script a bit.
2005-08-03 19:21:04 +00:00
Alexandre Julliard d0ee9f9309 Avoid spaces before preprocessor directives, that's not portable. 2005-03-02 12:23:20 +00:00
Eric Pouech 5c2a891c43 Made some functions and variables static. 2004-11-29 18:00:10 +00:00
Hans Leidekker 719a789792 Fix signed/unsigned comparison warnings. 2004-09-22 02:46:38 +00:00
Marcus Meissner 7ae8645467 Fixed one lvalue casted assignment for the new compiler. 2004-07-15 22:08:05 +00:00
Oleg Prokhorov cf8b84c19f Another portion of HeapReAlloc fixes. 2003-10-15 21:01:05 +00:00
Peter Berg Larsen 7515680a7d Changed debug channel to "curses" to seperate it from wineconsole.c
and added some trace infomation.
2003-10-10 00:01:21 +00:00
Peter Berg Larsen 09f71d08ec The Tab key was considered a ctrl-key and Shift-Tab was ignored. 2003-10-09 04:26:29 +00:00
Jon Griffiths 09fefeed7a Not everyone has <unistd.h>, some files need <io.h> too (msvc). 2003-09-23 22:54:57 +00:00
Eric Pouech 71a71b301d - win32 console's window cannot be larger than curses' stdscr
- correctly manage backspace
- various cleanup
2003-09-22 19:31:32 +00:00
Alexandre Julliard 62986a0107 Added a few missing stdarg.h includes. 2003-09-07 05:08:14 +00:00
Alexandre Julliard e37c6e18d0 Fixed header dependencies to be fully compatible with the Windows
headers (with help from Dimitrie O. Paun).
2003-09-05 23:08:26 +00:00
Alexandre Julliard 864ca06832 winnls.h must not include winbase.h. 2003-08-20 18:22:31 +00:00
Mike McCormack 9557d1bfae Dlopen libncurses.so in wineconsole. 2003-08-20 04:19:01 +00:00
Alexandre Julliard 6dbf42cd17 Fixed WCCURSES_InitBackend prototype in the no curses case. 2003-06-14 01:34:53 +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
Jukka Heinonen 944dd6e2cd Wineconsole curses backend now works even if terminal is smaller than
console size. Cursor is no longer left into wrong location after
screen updates.
2003-06-04 20:14:47 +00:00
Alexandre Julliard edcddb8a7c Avoid warning on redefinition of KEY_EVENT. 2003-04-03 23:57:39 +00:00
Eric Pouech c7b5d0aa58 In curses backend, apply the quick-edit directive from registry. 2003-03-04 02:13:05 +00:00
Eric Pouech 00d73d0d36 - fixed mouse event generation
- better management of some keys
- now generating several wincon-events for a given curses-event
- added basic support for V-scrolling (disabled by default)
- fixed printing of some unsupported characters
2003-02-14 19:23:36 +00:00