Commit Graph

229 Commits

Author SHA1 Message Date
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
Eric Pouech 5e765fb36a Fixed some selection bugs. 2002-06-02 21:20:43 +00:00
Alexandre Julliard 7cae558bdc Removed some more trailing whitespace. 2002-06-01 02:55:48 +00:00
Vincent Béron 9a62491660 Removed trailing whitespace. 2002-05-31 23:06:46 +00:00
Alexandre Julliard 5188574984 Renamed handle_t to obj_handle_t to avoid conflict with rpcdce.h. 2002-05-30 20:12:58 +00:00
Alexandre Julliard cc2ee7636d Renamed Winelib apps to .exe.so to follow the dll naming convention. 2002-05-21 19:42:29 +00:00
Eric Pouech 0587a47235 Allow ANSI charset in font enumeration.
Added ability not to close the wineconsole on console object
destruction.
2002-05-21 18:05:16 +00:00
Eric Pouech e53cd36e63 Removed Trace macro and replaced it by Wine debug channel facility.
Made the font lookup at startup more robust and now save registry at
startup time if a new font is chosen (as spotted by Sylvain Petreolle).
Fixed an update bug spotted by Jason Edmeades.
2002-05-14 21:45:13 +00:00
Alexandre Julliard ad53383f9b Added winebuild support for generating a .dbg.c file containing the
debug channels definitions.
Made win32 the default type for spec files.
Ignore C compiler in winebuild so we can simply pass it $(DEFS).
Removed type win32 and debug_channels from spec files.
Fixed winebuild to always generate correct C identifiers (reported by
Vincent Béron).
2002-05-14 20:54:58 +00:00
Alexandre Julliard 67371bcc8d Added -res option to specify resources on winebuild command-line.
Added -exe mode to generate a .spec.c for an exe without having to
provide a .spec.
Removed some no longer needed spec files.
Removed .dll extension in makefiles import specifications.
2002-05-11 23:06:32 +00:00
Alexandre Julliard 32459912dc Moved imports specification from the .spec into the Makefile so that
it can be used on platforms that don't build a .spec.c file.
2002-05-09 00:05:48 +00:00
Alexandre Julliard 5769d1de00 Better support for configure detection of missing types, added check
for ssize_t.
Removed a couple of no longer used portability functions.
Various portability fixes in port.h.
2002-04-26 19:05:15 +00:00
Eric Pouech be9268a4ca Wineconsole is now able to handle non raster fonts (vector, true
type).
2002-03-23 20:14:04 +00:00
Eric Pouech ead221211f Started implementing event reduction. 2002-03-23 18:45:57 +00:00
Eric Pouech 7e00f87470 Fixed some issues in resources definition. 2002-03-23 18:45:40 +00:00
Alexandre Julliard 0799c1a780 Added LGPL standard comment, and copyright notices where necessary.
Global replacement of debugtools.h by wine/debug.h.
2002-03-09 23:29:33 +00:00
Eric Pouech 5ef8871c62 - wineconsole now exits if the started program inside it terminates
before the console actually starts up.
- Removed the last Ansi imported APIs since now Propsheet has a decent
  Unicode interface.
- Fixed a couple of menu related bugs (states were wrong).
- Finished input selection code (mark and key for selection moving are
  operational, generating mouse events to programs attached to the
  console).
2002-02-04 18:41:32 +00:00
Patrik Stridvall 74e4d21ebe Avoid wildcards in .cvsignore. 2002-01-29 03:05:12 +00:00
Eric Pouech a90875686f Fixed color definition (bg and fg were swapped).
Fixed some initialisation issues.
Fixed exit condition when nothing was allocated.
2002-01-02 21:45:47 +00:00
James Juran 424a080c30 Include <stdlib.h> to get prototype for abs() function. 2002-01-01 00:14:02 +00:00
Marcus Meissner 09534f32da Swap fg/bg color to be correct. 2001-12-31 22:20:56 +00:00
Michael Stefaniuc 1b3c04d2c1 Check the return value of *snprintf for C99 style overflow reporting. 2001-12-26 19:48:15 +00:00
Eric Pouech 94719d43d1 - allow to save/restore some properties into the registry (like font,
cursor size...)
- implement the two sets of properties (default & current)
- fixed some bugs mainly in dialog
- enhanced font selection mechanisms,
- added and protected sub-menu for all operations (sysmenu is not
  avail in managed mode)
- better data separation for the backend(s)
2001-12-04 20:46:54 +00:00
Alexandre Julliard 9caa71eef4 Redesign of the server communication protocol to allow arbitrary sized
data to be exchanged.
Split request and reply structures to make backwards compatibility
easier.
Moved many console functions to dlls/kernel, added code page support,
changed a few requests to behave properly with the new protocol.
2001-11-30 18:46:42 +00:00
Eric Pouech 1ac2b1e3c7 Now passing event with --use-event to let programs starting with
digits being run.
2001-11-25 00:49:36 +00:00
Alexandre Julliard bef8e16fdf Compile all programs with -DSTRICT -DNONAMELESSUNION -DNONAMELESSSTRUCT. 2001-11-24 17:07:08 +00:00
Eric Pouech 0b83d4cbc6 New console code based on Win32 windows. 2001-11-23 23:04:58 +00:00