Commit Graph

76 Commits

Author SHA1 Message Date
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 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
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
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
Jon Griffiths 09fefeed7a Not everyone has <unistd.h>, some files need <io.h> too (msvc). 2003-09-23 22:54:57 +00:00
Vincent Béron 221aa8d2a5 Another batch of French resources updates. 2003-09-22 19:48:29 +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
Marcelo Duarte 5bb472eae1 - localization to the Portuguese of Brazil of "programs/*"
- separation of some resources that only existed in English
- lesser adjustments in menus
2003-06-23 18:15:15 +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
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
Eric Pouech 4446b15c3f Quiet some valgrind reports. 2003-05-13 04:47:11 +00:00
Igor Stepin 97b7bc1984 Added a lot of Russian translations. 2003-05-04 02:33:08 +00:00
Alexandre Julliard edcddb8a7c Avoid warning on redefinition of KEY_EVENT. 2003-04-03 23:57:39 +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 c7b5d0aa58 In curses backend, apply the quick-edit directive from registry. 2003-03-04 02:13:05 +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 abef9da1be Forbids selecting (for clipboard) areas larger than the actual
screen-buffer size.
2003-02-25 03:58:22 +00:00
Eric Pouech f4d19e6b58 Added checks when editing window and sb size so that they are kept
consistent.
2003-02-24 20:41:08 +00:00
Eric Pouech 50edbc94e1 Set a default 50 lines in history for console apps. 2003-02-24 20:40:20 +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
Marcus Meissner f63e5b646a Remove errno.h from files that do not need it. 2003-01-23 22:51:04 +00:00
Eric Pouech 1880800603 Added the GUI part for setting the edition mode flavor. 2003-01-11 21:00:20 +00:00
Liu Spider cc67041279 Added Simplified Chinese resources. 2003-01-10 01:48:14 +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
Alexandre Julliard ae4311c71c Defined NONAMELESSUNION/STRUCT directly in the files that need it
instead of globally in the makefile.
2003-01-07 23:11:12 +00:00
Eric Pouech eac6727c8f - fixed some update problems (generic & while scrolling)
- now generating key event for Ctrl-[A-Z] that our editline understands
- implemented cursor visibility
2003-01-07 19:39:25 +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
Eric Pouech 09c9fedfae Added a (n)curses backend to the wineconsole. 2002-12-13 23:37:06 +00:00
Francois Gouget d2667a4ce3 Removed unnecessary HANDLE typecasts. 2002-12-02 18:10:57 +00:00
Zoly Nagy 9560ece6c4 Added/upgraded Hungarian resources. 2002-11-04 22:45:22 +00:00
Andreas Mohr 90ce2c896f - Make int09 update the BIOS data segment's keyboard status flags
bytes, implement pause key handling.
- Let int16/02 read the keyboard status flags bytes instead of calling
  GetAsyncKeyState().
- Make the keyboard state buffer used for Get*Key*() reflect
  VK_L/RMENU properly.
- Small fixes.
2002-10-28 23:51:27 +00:00
Andreas Mohr 6b1887e49b - correct German strings to what they're really supposed to be
- less confusion about stored settings
2002-10-25 03:49:43 +00:00
Alexandre Julliard 54f228733a Added process_id_t and thread_it_t types to the server interface
instead of using void*, and removed a number of type casts.
2002-10-03 19:54:57 +00:00
Eric Pouech 0589f7266d Added configuration on per application basis.
Added ability to override part of the configuration from console
creator.
Revisited a bit wineconsole startup.
Added dialog part for window closing at process termination.
2002-09-04 18:41:52 +00:00
Andreas Mohr 029b948300 - Fix some spelling problems.
- Move WCUSER_SetMenuDetails to other menu related functions.
2002-07-23 02:02:46 +00:00
Alexandre Julliard 01c1466c67 Removed redundant GetMessage call. 2002-07-02 02:14:08 +00:00
Andreas Mohr 17a2fe0f71 - Use PeekMessage loop around GetMessage.
- Added German resource file.
- Realign some dialog parts.
- "Property" -> "Properties"
- Add some traces.
2002-07-01 23:22:48 +00:00
Andreas Mohr e75096a0df Made initialization more verbose in case of errors. 2002-06-24 23:00:47 +00:00