Commit Graph

276 Commits

Author SHA1 Message Date
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
Americo Jose Melo c5ba90131e Update the Portuguese translation. 2007-09-13 13:28:26 +02:00
Kirill K. Smirnov f3e13174c7 wineconsole: Implement GetConsoleWindow. 2007-08-24 12:03:22 +02:00
Kirill K. Smirnov 945f4a7946 wineconsole: Move window handle to inner_data structure. 2007-08-24 12:01:06 +02:00
Kirill K. Smirnov b4779619c5 wineconsole: Rearrange control elements in Russian resources. 2007-08-09 14:40:43 +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
Dmitry Timoshkov 3c9e7a7f33 wine: Switch to using 'long' for INT_PTR type for 64-bit compatibility. 2007-05-25 20:37:56 +02:00
Stefan Huehner 51a7ca3440 Change some functions arguments from () -> (void). 2007-03-12 12:25:31 +01:00
Anatoly Lyutin 207608c73e wineconsole: Update Russian resources. 2007-03-09 13:56:06 +01:00
Anatoly Lyutin 777ba7da9a wineconsole: Use MAKELPARM instead of MAKELONG. 2007-02-22 11:25:26 +01:00
Anatoly Lyutin 3c981715ad wineconsole: Added range of value for an up-down control. 2007-02-20 12:23:55 +01:00
Anatoly Lyutin 06999c5044 wineconsole: Added range of value for all up-down controls on config dialog. 2007-02-13 17:16:14 +01:00
Hwang YunSong(황윤성) f9663f1828 wineconsole: Updated Korean resource . 2007-01-23 12:09:43 +01:00
Anatoly Lyutin 6ee85a61f2 wineconsole: Add support for non-latin symbols with curses. 2007-01-17 11:43:32 +01:00
Dmitry Timoshkov 31215ae85a wineconsole: Fix a typo in the help message about correct backend names. 2007-01-10 12:28:12 +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 367f91fb5c Assorted spelling fixes. 2006-12-14 20:25:05 +01:00
Francois Gouget c66628b73f Consistently use SUBLANG_NEUTRAL for Italian resources. 2006-12-05 11:28:38 +01:00
Francois Gouget 016a639f79 wineconsole: Add a Portuguese translation (contributed by Americo Jose Melo). 2006-11-28 12:13:38 +01:00
Francois Gouget b5f104d05b Replace SUBLANG_DEFAULT with the specific SUBLANG_XXX constant for languages that have multiple sublanguages. 2006-11-24 11:49:32 +01:00
Alexander Nicolaysen Sørnes 179b294138 wineconsole: Updated Norwegian Bokmål translation. 2006-11-21 12:14:24 +01:00
Francois Gouget 30e44c85c8 Assorted spelling fixes. 2006-11-07 15:25:24 +01:00
Alexandre Julliard f51c400436 wineconsole: Properly handle negative coordinates for mouse events. 2006-10-25 17:43:02 +02:00
Jonathan Ernst 4c0a20bdb5 wineconsole: Updated French translation. 2006-10-24 17:46:05 +02:00
Mikołaj Zalewski 58bd35c8c5 resources: Change Dutch sublanguage code to SUBLANG_NEUTRAL. 2006-10-24 17:45:51 +02:00
Mikołaj Zalewski e32aa55703 resources: Change German sublanguage code to SUBLANG_NEUTRAL. 2006-10-24 11:45:12 +02:00
Hwang YunSong(황윤성) 825e50d5c8 wineconsole: Updated Korean resource. 2006-10-23 12:39:20 +02:00
Mikołaj Zalewski dbc1becae7 wineconsole: Fix Polish translation. 2006-10-23 12:36:33 +02:00
Mikołaj Zalewski b518ed8d46 wineconsole: Check one of the radio buttons in the "Save settings" dialog. 2006-10-23 12:36:26 +02:00
Mikołaj Zalewski 643e1c8969 wineconsole: En.rc: Enlarge the "save console settings" dialog to avoid cropping of text. 2006-10-23 12:36:20 +02:00
Frank Richter c4c578d4e6 wineconsole: Update German translation. 2006-10-23 12:35:05 +02:00
Byeong-Sik Jeon e1fd734c97 Korean: Use SUBLANG_NEUTRAL in Korean resources. 2006-10-20 13:49:39 +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 9d6761bd0c wineconsole: Add usage message and more specific error messages. 2006-10-20 13:02:16 +02:00
Francois Gouget 82babbee0b Add missing '\n's to Wine traces. 2006-10-05 17:46:48 +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
Michael Stefaniuc 85ce5117c5 Add a WINE_NO_LONG_INT define to many makefiles to ease the transition of DWORD/LONG/ULONG from long to int. 2006-09-29 16:08:30 +02:00
Alexandre Julliard 32ab895e46 makefiles: Generate the dependencies line to avoid some code duplication. 2006-09-14 09:38:16 +02:00
Hwang YunSong(황윤성) 0b5a6cd11b wineconsole: Updated Korean resource. 2006-07-27 11:57:30 +02:00
Alexandre Julliard 77dc0d9be5 .gitignore: Added wildcards to ignore generated resource files. 2006-07-10 21:39:00 +02:00
Alexandre Julliard 028ab92bf7 make_progs: Generate the .gitignore file.
Ignore generated programs from the top-level .gitignore.
2006-07-10 20:59:06 +02:00
Alexandre Julliard cc2b3b48e6 Take advantage of the recursive nature of .gitignore for Makefile entries.
Prefix other entries with '/' to make them non-recursive.
2006-07-10 20:47:54 +02:00
Alexandre Julliard f5f37a8566 wineconsole: Portability fixes in the curses mouse support. 2006-06-27 20:14:10 +02:00
Mike McCormack fac494c822 server: open_console's from field should be a handle. 2006-06-07 14:30:28 +02:00
Mike McCormack ce238a4087 wineconsole: Use correct prototypes for dialog procs. 2006-06-06 11:29:26 +02:00
Mike McCormack 61a0799b88 wineconsole: Store the font as a DWORD_PTR. 2006-05-31 11:58:25 +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
Antonio Codazzi f31b4e0394 wineconsole: Esperanto language support. 2006-04-08 20:03:59 +02:00
Antonio Codazzi c77aa86c3e wineconsole: Italian language support. 2006-04-08 20:00:56 +02:00
Petr Tesarik bc5c5b52b1 wineconsole: Czech language resources encoding fix. 2006-02-13 13:29:44 +01:00
Fatih Aşıcı d2e2fb6a32 wineconsole: Turkish translation. 2006-02-06 13:09:16 +01:00
Alexandre Julliard d02c4a1b82 Make wine_server_fd_to_handle use attributes instead of inherit flag. 2005-12-09 12:22:35 +01: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
Alexandre Julliard ec34a66612 Ignore symlink files too (needed for git). 2005-11-26 13:12:57 +01:00
Alexandre Julliard 0ec7e1a591 Renamed all .cvsignore files to .gitignore. 2005-11-26 13:10:33 +01:00
YunSong Hwang 68baacc859 Update Korean translations. 2005-11-21 12:01:19 +00:00
YunSong Hwang 6e20af5dac Add Korean translations. 2005-11-14 11:27:36 +00:00
Eric Pouech a6f40be771 Fixed wineconsole startup when restoring registry settings. 2005-11-03 11:32:52 +00:00
Eric Pouech 8ad685c5b3 Now filling external leading in font cells. 2005-11-03 09:51:00 +00:00
Eric Pouech 60c1ae0bb8 Fixed crash in font browsing for raster fonts. 2005-11-02 20:51:16 +00:00
Eric Pouech 8e1fa187c0 Fixed changing console's windows. 2005-10-10 11:18:46 +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
Eric Pouech b580b8cf9c Function keys now work in curses mode. 2005-10-08 10:35:16 +00:00
Alexandre Julliard 7e22be4d84 We are no longer generating .dbg.c files. 2005-09-29 10:35:58 +00:00
Alexander N. Sørnes b25c266dfd Norwegian translation of wcmd and wineconsole. 2005-09-26 13:25:22 +00:00
Alexandre Julliard e4b2a0bbbc Use Get/SetWindowLongPtr instead of Get/SetWindowLong where
appropriate.
2005-09-09 15:20:04 +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
Mike McCormack d7b9a23afd gcc 4.0 -Wpointer-sign fixes (Reg* functions). 2005-07-06 19:08:05 +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
Alexandre Julliard d0ee9f9309 Avoid spaces before preprocessor directives, that's not portable. 2005-03-02 12:23:20 +00:00
Alex Villacís Lasso 18bfe6a095 Change SUBLANG_DEFAULT to SUBLANG_NEUTRAL for LANG_SPANISH in all
resources, so that Spanish locales other than Spain also use Spanish
resources.
2005-02-16 21:10:59 +00:00
Dmitry Timoshkov 39f960bdfa - Fix prototypes of GetClassLongA/W, GetClassLongPtrA/W and
SetClassLongA/W according to SDK definitions.
- Add prototypes for SetClassLongPtrA/W, protect some GWL_ and GCL_
  constants from using in Wine or in _WIN64 mode.
- Fix all places in Wine affected by the above changes.
2005-02-15 21:51:06 +00:00
Henning Gerhardt 038c5cbcbf Update German resources. 2005-01-17 13:43:16 +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
Eric Pouech 5c2a891c43 Made some functions and variables static. 2004-11-29 18:00:10 +00:00
David Kredba 60865df566 New Czech resources. 2004-10-25 21:54:56 +00:00
Piotr Caban 5590928336 Added Polish translation. 2004-09-22 19:18:15 +00:00
Richard Cohen 6cbc861ebc Change variable name from l to k. 2004-09-22 19:12:38 +00:00
Hans Leidekker 719a789792 Fix signed/unsigned comparison warnings. 2004-09-22 02:46:38 +00:00
Huw Davies 174e6a5d28 Change dialogs to use MS Shell Dlg rather than Helv or MS Sans Serif. 2004-08-24 18:33:01 +00:00
Marcus Meissner 7ae8645467 Fixed one lvalue casted assignment for the new compiler. 2004-07-15 22:08:05 +00:00
José Manuel Ferrer Ortiz 27a7a7a69a Added some Spanish translations. 2004-06-28 23:51:05 +00:00
Francois Gouget ebf0eb3138 Make static Unicode strings const. 2004-04-20 00:34:52 +00:00
Richard Cohen 200675f9e4 Fix cursor position optimization. 2004-03-17 20:48:30 +00:00
Alexandre Julliard 6be39b60f5 Take advantage of the new winegcc -B support. 2004-03-09 04:54:07 +00:00
Alexandre Julliard 589e115233 We no longer use the .exe.spec.c files. 2004-03-02 21:16:37 +00:00
Alexandre Julliard 6621b2d213 Build all the programs with winegcc. 2004-03-02 21:00:00 +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
Hans Leidekker 5474ad83b1 - Dutch translations of Wine programs.
- Correct grammar error in winefile.
2003-10-27 22:03:28 +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 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