Commit Graph

1374 Commits

Author SHA1 Message Date
François Gouget 392f6f8775 Replace some SendMessage with SendNotifyMessage in case the target
window belongs to another thread.
2002-04-06 00:40:41 +00:00
Huw D M Davies 79fdd847e0 The horizontal dialog base unit is calculated as the straight average
of a-z,A-Z (tmAveCharWidth is supposed to be a weighted average
according to character usage, so we shouldn't use this).
2002-04-03 20:06:04 +00:00
Dmitry Timoshkov 047ab4060a Fix sign extension in message mapping routines. 2002-04-02 02:53:08 +00:00
Alexandre Julliard fb23e10c1b We cannot ignore NotifyNonlinear focus events. 2002-03-22 01:03:36 +00:00
Duane Clark f9340ff94d On WM_GETTEXT, terminate the lparam buffer even if string is empty. 2002-03-20 01:31:03 +00:00
Matthias Fechner 94e9a6f901 Added German 105 keys keyboard. 2002-03-20 01:28:20 +00:00
Mehmet Yasar ffd4d33d12 Fixed Unicode conversion for CB/LB_FINDSTRING, CB/LB_FINDSTRINGEXACT
and CB/LB_SELECTSTRING.
2002-03-11 05:05:16 +00:00
Jason Phillips 7c18771736 Make wineclipsrv run as a daemon (close stdout/stderr, no controlling
terminal, session group leader).
2002-03-11 01:13:27 +00:00
Axel Schmidt 46a9db644f Added keyboard layout for Logitech Cordless Desktop Pro. 2002-03-11 01:12:07 +00:00
Andriy Palamarchuk 41024bcd86 Added FIXMEs for actions with id>=115. These actions were not
processed before.
2002-03-11 01:11:41 +00:00
Guy L. Albertelli ac2defb3e7 Trace undocumented toolbar messages. 2002-03-11 01:10: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
Dave Hawkes 60502143d2 Fixed winproc memory leak. 2002-02-28 21:43:06 +00:00
Guy L. Albertelli f1a624d59f Fix the strange case in WIN_FixCoordinates where x and cx are not
default but cy is CW_USEDEFAULT.
2002-02-27 01:20:54 +00:00
Guy L. Albertelli db728b0b72 Add additional CCM_ message names. 2002-02-26 00:38:59 +00:00
Peter Hunnisett 73ab649ced New file msvcrt/excpt.h. Move some stuff out of winnt.h into it. 2002-02-25 20:10:35 +00:00
Dave Hawkes d0a06ec7a5 Prevent lock-up with a focus loop between two top level unmanaged
windows.
2002-02-25 19:47:31 +00:00
Peter Hunnisett f11de4fc3d Fix return type of GetAsyncKeyState. 2002-02-22 21:24:25 +00:00
Jukka Heinonen 3fead8fa3b Convert some invalid offsets in GetWindowLong16 into valid offsets. 2002-02-15 18:22:23 +00:00
Dave Hawkes 95d8c95f11 Added a keyboard matched to VNC. 2002-02-15 18:21:16 +00:00
Alexandre Julliard 70437035e3 version.h is now in include/wine directory. 2002-02-14 19:48:16 +00:00
Dmitry Timoshkov f40fb64d6f Allow ToAscii/ToUnicode to work with scanCode = 0. 2002-02-12 18:42:50 +00:00
Alexandre Julliard d473d304bd Authors: Dmitry Timoshkov <dmitry@codeweavers.com>, Guy Albertelli <guy@codeweavers.com>
Use GetSystemMetrics() to for caption metrics in NONCLIENTMETRICS
struct. Initialize iScrollWidth and iScrollHeight entries for
SPI_GETNONCLIENTMETRICS.
2002-02-04 18:30:44 +00:00
Patrik Stridvall 57e5784c21 Move __stdcall/__cdecl to the right place. 2002-02-02 18:42:11 +00:00
Guy Albertelli 3687100cbf Added NULL checks on all rectangle pointers. 2002-01-31 20:34:01 +00:00
Dimitrie O. Paun 693cca5d4d Make FIXMEs more grep-able. 2002-01-29 03:12:19 +00:00
Dmitry Timoshkov 7180536524 Do not be too smart and add WS_CAPTION in AdjustWindowRectEx. 2002-01-29 02:56:05 +00:00
Alexandre Julliard 9f5922089a Removed no longer used average width calculation. 2002-01-22 20:09:44 +00:00
Tommy Schultz Lassen 440adc193a Make EnumWindows return TRUE if no windows exists. 2002-01-22 00:50:07 +00:00
Francois Gouget e6ebf42c2b Fix a couple of warnings and a typo. 2002-01-21 17:59:38 +00:00
Dimitrie O. Paun 9e99d2b763 - Make the ListView control Unicode ready.
- Support both ANSI & Unicode ListView notifications.
- Fixed a few bugs.
2002-01-18 19:05:35 +00:00
Andriy Palamarchuk 4163e08541 SystemParametersInfo: fixed return value for SPI_SETFASTTASKSWITCH. 2002-01-18 18:10:11 +00:00
Andriy Palamarchuk 5bba14dc9e Implemented processing of actions SPI_SETKEYBOARDPREF,
SPI_SETSCREENREADER.
Save to registry value of SPI_SETSCREENSAVEACTIVE action.
Changed processing of action SPI_SETFASTTASKSWITCH to conform to
Windows behaviour on and after WinNT 4.0, Windows 95.
2002-01-15 20:43:43 +00:00
Rein Klazes 49762a3a50 Move the implementation of comctl32._TrackMouseEvent to
user32.TrackMouseEvent and call this function in accordance with the
specs.
2002-01-15 20:41:41 +00:00
Rein Klazes f57112a9f8 Make DM_SETDEFID message work for owner drawn buttons as well. 2002-01-15 20:26:47 +00:00
Rein Klazes 0f2f2b34fa Move calling of CBT hooks from WIN_CreateWindowEx() to the driver. 2002-01-09 19:09:06 +00:00
Patrik Stridvall 19d66cc1f6 Fixed some issues found by winapi_check. 2002-01-07 21:16:46 +00:00
Dmitry Timoshkov b0582dc972 Add some new messages to the spy and winuser.h. 2002-01-04 18:28:38 +00:00
Alexandre Julliard cc2d3826f1 Use DrawFrameControl instead of bitmaps in certain cases.
Moved remaining OEM bitmaps to user32 resources.
2002-01-03 02:35:23 +00:00
Alexandre Julliard 2cc54c8c49 Moved the OEM bitmaps that don't depend on the Wine look into the
user32 resources.
2002-01-02 21:49:23 +00:00
Alexandre Julliard 193cf50a09 Removed some of the calls to HEAP_strdup* functions. 2002-01-01 00:24:30 +00:00
Andriy Palamarchuk 735a3292ca Implemented basic handling of assessibility actions. 2001-12-26 23:39:50 +00:00
Andreas Mohr 6924967539 Fixed, added or implemented stubs:
- DrawMenuBarTemp(): corrected parameter count.
- CallCPLEntry16(): stub.
- SetSysColorsTemp(): fully implemented (hopefully) this undocumented
  function.
2001-12-26 20:34:12 +00:00
Duane Clark 1a399a2bb9 Destroying cursor is not necessarily an error. 2001-12-26 20:30:20 +00:00
Alexandre Julliard 42f5eea0f5 Use MapLS/UnMapLS instead of SEGPTR_* macros. 2001-12-26 20:00:03 +00:00
Alexandre Julliard f76967d20c Restructured hook mapping functions to avoid most memory
allocations. Got rid of SEGPTR_* macros.
2001-12-26 19:55:35 +00:00
Andriy Palamarchuk d3212f9150 Implemented processing for actions SPI_SETMOUSEBUTTONSWAP,
SPI_SETFASTTASKSWITCH, SPI_SETDRAGFULLWINDOWS, SPI_SETWORKAREA.
2001-12-21 20:31:24 +00:00
Alexandre Julliard d7b76822ef Use MapLS/UnMapLS instead of SEGPTR_* macros. 2001-12-20 00:19:40 +00:00
Alexandre Julliard 9fcd89a5d8 Removed unnecessary includes. 2001-12-17 22:12:23 +00:00
Alexandre Julliard 8eeed94f5f Export DestroyIcon32 from user32 and use GetProcAddress to call it
from FreeResource16.
2001-12-17 21:40:56 +00:00
Alexandre Julliard 7e49205d5a Changed 16-bit USER Enum* functions to not use thunks, now that 16-bit
Winelib is no longer supported.
2001-12-17 21:37:53 +00:00
Alexandre Julliard 9ec81d1673 Got rid of dynamic thunk allocation in mouse/keyboard event procs and
window hooks.
2001-12-17 21:35:42 +00:00
Dave Hawkes 5d6aacc1d5 Altered the algorithm for selecting a new focus after a window is
destroyed that currently has the focus.
2001-12-17 21:19:54 +00:00
Alexandre Julliard 7d155d6706 Changed DC hook and abort proc handling to avoid having to allocate
thunks dynamically.
2001-12-17 20:58:06 +00:00
Alexandre Julliard 70b7619ad6 Changed 16->32 window procedure thunks to use winebuild-generated
entry code directly.
2001-12-14 23:15:44 +00:00
Alexandre Julliard 4964c0f185 Started rewrite of painting functions for multiple processes. Moved
BeginPaint to dlls/user. Fixed bug in paint count handling.
2001-12-13 01:03:30 +00:00
Alexandre Julliard 5797fbb87e Added WIN_GetRectangles function.
Fixed WindowFromPoint to work accross processes.
2001-12-06 22:33:58 +00:00
Andriy Palamarchuk 2489dc901d Implemented processing for actions: SPI_GET/SETGRIDGRANULARITY,
SPI_GET/SETICONTITLEWRAP, SPI_GET/SETMENUDROPALIGNMENT,
SPI_GET/SETDOUBLECLKWIDTH, SPI_GET/SETDOUBLECLKHEIGHT,
SPI_GET/SETDOUBLECLICKTIME.
2001-12-06 22:28:43 +00:00
Guy L. Albertelli cb013cb5e8 Change the message trace indentation to be consistent by thread. 2001-12-06 22:24:14 +00:00
Dave Hawkes 5446abe87a DIALOG_CreateIndirect can incorrectly kill the current input focus. 2001-12-06 22:21:36 +00:00
Alexandre Julliard afd75a1adc Removed calls to HEAP_GetSegptr. 2001-12-05 22:23:02 +00:00
Gerard Patel e9b4fd1851 Remove some possible interlocking problems with peb lock. 2001-11-30 23:13:22 +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
Andriy Palamarchuk 096bab67c0 Implemented processing for actions SPI_GET/SETSCREENSAVETIMEOUT,
SPI_GET/SETSCREENSAVEACTIVE, SPI_GET/SETSCREENSAVERRUNNING.
2001-11-20 20:27:26 +00:00
Patrik Stridvall ae1c12c4cd Documentation fixes. 2001-11-20 18:55:39 +00:00
Bill Medland 0ca07c972d It is legal to call UnregisterClass with an hInstance of zero. 2001-11-20 18:53:16 +00:00
Dmitry Timoshkov 80eff97527 Convert message spy to unicode. 2001-11-20 18:50:56 +00:00
Dave Hawkes e58557c634 Fix lock up in GetKeyNameText due to an increment wrap when KeyCode is
a char type and max_keycode is 255.
2001-11-20 18:49:38 +00:00
Gerard Patel e717b1bf6f Fix exchanged lines in WIN_GetWindowLong. 2001-11-19 02:07:11 +00:00
Alexandre Julliard 44cd974fff Truncate the window text if it is too large for the request buffer. 2001-11-16 18:14:17 +00:00
Joshua Thielen d9ed57ac99 Local classes registered with USER instance handle now are now found
in CLASS_FindClassByAtom.
2001-11-16 18:11:43 +00:00
Alexandre Julliard 47f9821817 Moved WIN_FindWinToRepaint functionality to the server. 2001-11-14 21:28:36 +00:00
Alexandre Julliard 805bdc53e8 Store the window caption text in the server.
Maintain a paint count separately for each window.
2001-11-13 22:23:48 +00:00
Andriy Palamarchuk 0bf1c2460d Implemented processing for SPI_GET/SETMOUSE, SPI_GET/SETKEYBOARDDELAY,
SPI_GET/SETKEYBOARDSPEED actions. Implemented use of mouse
acceleration/threshold for relative mouse movements.
2001-11-13 21:30:59 +00:00
Andriy Palamarchuk 67fab90d5b Implemented SPI_ICONHORIZONTALSPACING, SPI_ICONVERTICALSPACING system
parameters processing.
2001-11-09 20:02:41 +00:00
Dmitry Timoshkov 5d3e1f70bd Add dumping of window styles at the window creation time. 2001-11-07 21:52:24 +00:00
Andriy Palamarchuk c9228e1076 Created new infrastructure for SystemParametersInfo function. Used it
to implement processing for SPI_GET/SETBEEP, SPI_GET/SETBORDER,
SPI_GET/SETSHOWSOUNDS system parameters.
2001-11-07 20:24:29 +00:00
Alexandre Julliard 03e07b56e3 Window activation cleanups. 2001-11-06 22:28:18 +00:00
Francois Gouget 070e749cfb Don't prefix %p with 0x.
Various English fixes.
2001-11-06 21:01:32 +00:00
François Gouget 1425941e29 Fix the #include order for config.h.
Add #include "config.h" directives where needed.
2001-11-06 20:57:11 +00:00
Eric Pouech c5bc3ebc5d For drawing a caret, internally replaced the brush by a bitmap (this
allows caret of size > 8x8),
2001-11-06 00:52:12 +00:00
Guy Albertelli 8b0841ad38 Add support for Wine internal messages. 2001-11-05 23:54:40 +00:00
Joshua Thielen 40a35aa2fb For global classes, GetClassInfo now returns a handle to USER. 2001-11-05 23:49:54 +00:00
Joshua Thielen e0f0a2ebbf Switch focus to activated window even if no window previously had the
focus.
2001-10-24 02:43:24 +00:00
Alexandre Julliard 96ebfa983b Cosmetic fixes. 2001-10-23 20:35:44 +00:00
Alexandre Julliard 10a5ded457 Fixed window handle check in GetDCEx. 2001-10-23 00:29:25 +00:00
Alexandre Julliard 55557319a7 A couple of optimizations. 2001-10-23 00:26:10 +00:00
Alexandre Julliard ddc3317b7a Store in the server all the window information accessible with
Get/SetWindowLong.
2001-10-22 19:08:33 +00:00
Andreas Mohr e15badb478 Cosmetics. 2001-10-21 15:18:15 +00:00
Alexandre Julliard 32fb580515 Changed X11 mouse driver to use SendInput, and removed WINE_MOUSEEVENT
hack. Moved mouse.c to dlls/x11drv.
Added KeymapNotify event handler, and fixed handling with multiple
alt/shift/control keys.
Removed dinput functions from USER driver.
2001-10-18 21:38:59 +00:00
Mike McCormack cb97a3bf8d Use WIN_ReleasePtr not WIN_ReleaseWndPtr with WIN_GetPtr. 2001-10-18 21:33:03 +00:00
Andriy Palamarchuk b6afa6a970 Fixed mouse_event bug - cursor was moved before new position was
calculated.
2001-10-17 19:39:55 +00:00
Jukka Heinonen d7d564b227 Releasing a mouse button now clears an entry in table
InputKeyStateTable instead of AsyncKeyStateTable.
2001-10-17 19:36:31 +00:00
Bill Medland 3d4d0862bb Only modify the ancestor if you find it. 2001-10-17 19:35:36 +00:00
Alexandre Julliard 4b62618122 Added support for low-level mouse and keyboard hooks.
Misc keyboard handling cleanups.
2001-10-17 17:50:02 +00:00
Alexandre Julliard 516e40e154 Make sure that GetMessagePos and GetMessageTime return sane values
for all messages.
2001-10-17 17:48:49 +00:00
Alexandre Julliard fb0ff053c0 Added internal Wine messages to perform SetWindowPos, ShowWindow and
SetParent in the correct thread.
Replace QUEUE_IsExitingQueue by USER_IsExitingThread.
Store window rectangles in the server.
Prevent DestroyWindow on windows not belonging to the current thread.
2001-10-16 21:58:58 +00:00
Alexandre Julliard b662e11a00 Moved scrollbar tracking code to scroll.c.
Avoid unnecessary coordinates conversion in NC_HandleSysCommand.
2001-10-16 21:52:26 +00:00
Gerard Patel 1e8b025423 Fix the case where child=0 (last child) in MDI_ChildActivate. 2001-10-15 18:00:09 +00:00
Alexandre Julliard 8fd26b9134 Renamed WIN_GetWndPtr into WIN_GetPtr and added corresponding
WIN_ReleasePtr. Started using it instead of WIN_FindWndPtr where we
don't need to access windows of other processes.
2001-10-15 17:56:45 +00:00