Commit Graph

48 Commits

Author SHA1 Message Date
Michael Stefaniuc f6217640be wineconsole: Use the explicit W types/functions in user.c. 2010-04-28 07:33:29 -05:00
Dylan Smith 3fbe40e2f9 wineconsole: Handle mouse wheel scrolling for user backend.
The mouse wheel will scroll if the buffer height is greater than the
console window's height in lines, otherwise console mouse input events
are generated.
2010-02-26 13:02:24 +01:00
Erich Hoover 8a6e2c8eea wineconsole: Fix Alt+F10 sent when F10 pressed. 2009-11-13 11:52:23 +01:00
Francois Gouget e7ec428c47 wineconsole: Make some functions static. 2009-01-20 12:33:59 +01:00
Dmitry Timoshkov b8b0b7fa41 wineconsole: Don't ignore extended keys. 2008-10-28 12:13:41 +01:00
Alexandre Julliard 01b7667a1a programs: Convert source files to utf-8. 2008-10-18 19:22:19 +02:00
Kirill K. Smirnov 359cd00982 wineconsole: Check return value of CreateWindow() for errors, do not rely upon callback function. 2008-08-04 13:04:05 +02:00
Austin English 6e59cd2c34 Spelling fixes. 2008-04-22 12:20:12 +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
Dmitry Timoshkov 3c9e7a7f33 wine: Switch to using 'long' for INT_PTR type for 64-bit compatibility. 2007-05-25 20:37:56 +02:00
Dmitry Timoshkov 9e357cd781 wineconsole: Make some data const. 2007-01-10 12:27:59 +01:00
Alexandre Julliard f51c400436 wineconsole: Properly handle negative coordinates for mouse events. 2006-10-25 17:43:02 +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 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
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
Eric Pouech 8ad685c5b3 Now filling external leading in font cells. 2005-11-03 09:51:00 +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
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
Eric Pouech 5c2a891c43 Made some functions and variables static. 2004-11-29 18:00:10 +00:00
Richard Cohen 6cbc861ebc Change variable name from l to k. 2004-09-22 19:12:38 +00:00
Francois Gouget ebf0eb3138 Make static Unicode strings const. 2004-04-20 00:34:52 +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
Eric Pouech abef9da1be Forbids selecting (for clipboard) areas larger than the actual
screen-buffer size.
2003-02-25 03:58:22 +00:00
Francois Gouget d2667a4ce3 Removed unnecessary HANDLE typecasts. 2002-12-02 18:10:57 +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
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
Eric Pouech 5e765fb36a Fixed some selection bugs. 2002-06-02 21:20:43 +00:00
Vincent Béron 9a62491660 Removed trailing whitespace. 2002-05-31 23:06:46 +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
Eric Pouech be9268a4ca Wineconsole is now able to handle non raster fonts (vector, true
type).
2002-03-23 20:14:04 +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
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
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
Eric Pouech 0b83d4cbc6 New console code based on Win32 windows. 2001-11-23 23:04:58 +00:00