Commit Graph

68 Commits

Author SHA1 Message Date
Alexandre Julliard 3221338ca3 wineconsole: Fix a pointer cast warning. 2013-04-09 15:26:11 +02:00
Francois Gouget fac36c55e9 Assorted typo, spelling, wording and case fixes. 2012-05-15 16:26:43 +02:00
Alexandre Julliard 4a14811527 wineconsole: Avoid reentering WINECON_GrabChanges. 2011-09-08 22:27:41 +02:00
Alexandre Julliard a763c7dbc8 wineconsole: Make the traces in WINECON_GrabChanges more readable. 2011-09-08 22:27:11 +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 0f3ff8b4b1 wineconsole: Don't overwrite the backend selection when parsing --use-event. 2010-12-23 17:07:41 +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
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
Eric Pouech b39a8d9ea2 server: Enhanced the console input object so that it doesn't require a wineconsole to be running. 2010-09-01 14:01:02 +02: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
Francois Gouget 0a6665bfef wineconsole: WINECON_GetHistory{Mode,Size}() are unused so remove them. 2009-01-26 15:13:12 +01:00
Francois Gouget de58df0e8d wineconsole: Make WINECON_SetHistory{Mode,Size}() static. 2009-01-20 12:34:02 +01:00
Francois Gouget e7ec428c47 wineconsole: Make some functions static. 2009-01-20 12:33:59 +01:00
Alexandre Julliard 014e2db495 wineconsole: Replace a couple of handle casts by the appropriate server function. 2009-01-08 17:33:07 +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 888d157bda wineconsole: Fix Win64 warning. 2008-04-09 16:26:58 +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 f3e13174c7 wineconsole: Implement GetConsoleWindow. 2007-08-24 12:03:22 +02:00
Stefan Huehner 51a7ca3440 Change some functions arguments from () -> (void). 2007-03-12 12:25:31 +01:00
Francois Gouget 367f91fb5c Assorted spelling fixes. 2006-12-14 20:25:05 +01:00
Francois Gouget 30e44c85c8 Assorted spelling fixes. 2006-11-07 15:25:24 +01:00
Mikołaj Zalewski 9d6761bd0c wineconsole: Add usage message and more specific error messages. 2006-10-20 13:02:16 +02:00
Mike McCormack fac494c822 server: open_console's from field should be a handle. 2006-06-07 14:30:28 +02:00
Jonathan Ernst 360a3f9142 Update the address of the Free Software Foundation. 2006-05-23 14:11:13 +02:00
Alexandre Julliard 2c54b34467 wineconsole: Remove some unnecessary typecasts. 2005-12-09 12:22:01 +01:00
Alexandre Julliard 7a096601e3 server: Use attributes instead of inherit flag in console requests. 2005-12-09 12:05:20 +01:00
Pavel Roskin 2b1747ccda Fixed regression in wineconsole creation (curses backend). 2005-12-03 18:04:07 +01:00
Eric Pouech a6f40be771 Fixed wineconsole startup when restoring registry settings. 2005-11-03 11:32:52 +00:00
Eric Pouech 8e1fa187c0 Fixed changing console's windows. 2005-10-10 11:18:46 +00:00
Francois Gouget f5c9da6860 Assorted spelling fixes. 2005-05-06 15:44:31 +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
Michael Stefaniuc 5ad7d858e0 Do not check for non NULL pointer before HeapFree'ing it. It's
redundant.
2004-12-23 17:06:43 +00:00
Richard Cohen 200675f9e4 Fix cursor position optimization. 2004-03-17 20:48:30 +00:00
Peter Berg Larsen 4d6c59e153 - the last event was not looked at when compressing console events
- better compression for UPDATE_EVENTs as they are not influenced by
  CURSOR_POS or CURSOR_GEOM
- added debug traces
2003-12-02 03:52:35 +00:00
Oleg Prokhorov cf8b84c19f Another portion of HeapReAlloc fixes. 2003-10-15 21:01:05 +00:00
Peter Berg Larsen ae3b9bb66a Use CONSOLE_RENDERER_NONE_EVENT to compress an event instead of
deleting it with a memmove.
2003-10-09 04:27:08 +00:00
Alexandre Julliard c93c27f420 Removed useless WINE_TRACE_ON tests. 2003-10-08 19:20:11 +00:00
Peter Berg Larsen 5ca049a4ad Moved debug output up before calling the backend. 2003-10-08 19:18:33 +00:00
Eric Pouech a86a289420 In console input record queue, replace semaphore with a manual reset
event, so that we get correct behavior in synchronization handling.
2003-06-23 03:37:14 +00:00
Eric Pouech 412d37f6e6 - adapted kernel32 so that it no longer (directly) manages console
handles as wineserver handles
- console input handle object is no longer waitable (input record
  synchronisation is now implemented as a simple semaphore), and removed
  FD_TYPE_CONSOLE from fd types in wineserver
- console handles now always have their two lower bit set so one can
  distinguish a console handle from a kernel object handle
- implemented some undocumented kernel32 console related APIs
  (CloseConsoleHandle, GetConsoleInputWaitHandle, OpenConsoleW,
  VerifyConsoleIoHandle, DuplicateConsoleHandle)
- allowed a few kernel32 APIs to take console pseudo-handles
  (FlushFileBuffer, GetFileType, WaitFor*Object*)
- simplified the console inheritance at process creation
- in console tests, no longer create a console if one already exists
2003-06-21 02:07:10 +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
Tony Lambregts ec464127f6 Convert WINE_DPRINTF calls to WINE_TRACE. 2003-03-17 21:20:41 +00:00
Eric Pouech e9d937e3d4 - fixed another regression in sub-process creation (curses backend
must be default for AllocConsole() invocation)
- fixed endless loop when unknown argument was passed on commandline
2003-03-10 19:03:33 +00:00
Eric Pouech 636725f2f0 Fixed regression in sub-process creation. 2003-03-07 20:34:55 +00:00
Eric Pouech cdfcef2481 - added ability to use --backend=(curses|user) as wineconsole parameter
- rewrote wineconsole command line option parsing
2003-03-04 02:13:25 +00:00
Eric Pouech 8e04bab647 Fixed behavior when changing both sb and win size, as the order of
operation is important to keep sb always bigger than win.
2003-02-26 04:37:15 +00:00
Eric Pouech 5477453cc6 Added an edition mode flavor (win32/emacs...) to the console settings
in the registry.
2003-01-09 06:01:51 +00:00
Eric Pouech 6a88716104 Fixed several bugs:
- wrong drawing for chars outside the 20-7F range
 - console mouse event generation
 - console Alt-? char event generation
Prefix for curses functions is now WCCURSES_ instead of WCCURSE_.
2002-12-23 01:35:27 +00:00