Commit Graph

89 Commits

Author SHA1 Message Date
Dimitrie O. Paun 297f3d898d Define NONAMELESS{STRUCT,UNION} explicitly in the files that need them. 2003-01-07 20:36:20 +00:00
Mike Hearn 9ea673a4d8 Make WM_MOUSEHOVER coordinates client relative. 2002-12-10 19:05:12 +00:00
Alexandre Julliard 18d029722f Removed input.h, queue.h, spy.h and sysmetrics.h and moved their
contents to user.h.
Moved message.h and winproc.h to dlls/user.
2002-12-03 23:34:52 +00:00
Mike Hearn 43a0a51540 Altered WM_MOUSEHOVER so the lParam and wParam fields are set
correctly to virtual key states and cursor position.
2002-11-23 01:12:17 +00:00
Alexandre Julliard aff7ddaeeb Made user compile with -DSTRICT. 2002-11-22 21:22:14 +00:00
Stefan Leichter 5d0b987151 Moved implementation of LoadKeyboardLayout from ASCII to Unicode. 2002-11-18 19:47:20 +00:00
Dmitry Timoshkov 601a3abec1 Fix some types and function prototypes according to Platform SDK
definitions.
2002-10-31 01:04:39 +00:00
Alexandre Julliard 0286135de3 Rewrote hook support to store the hook chain in the server.
Split off 16-bit hook functions and re-implemented them on top of the
32-bit ones; system-wide 16-bit hooks are no longer supported at this
point.
2002-10-29 00:41:42 +00:00
Alexandre Julliard a9e8f59c95 Moved mouse capture handling into the server. 2002-10-12 01:24:37 +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
Alexandre Julliard 3fa613cf61 Moved internal context macros out of winnt.h.
Added SET_AX etc. macros to avoid non-portable pointer manipulations.
2002-08-31 18:47:00 +00:00
Per Nystrom 4f03101d8b Set the flag in GetCursorInfo. 2002-08-29 23:59:17 +00:00
Per Nystrom e765bc1a41 Implemented GetCursorInfo. 2002-08-28 23:38:10 +00:00
Michael Stefaniuc c018ef6b6b Convert HKL to a void*. 2002-08-16 01:34:19 +00:00
Vincent Béron 9a62491660 Removed trailing whitespace. 2002-05-31 23:06:46 +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
Peter Hunnisett f11de4fc3d Fix return type of GetAsyncKeyState. 2002-02-22 21:24:25 +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
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 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
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
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
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 185ba234ec Fixed typo in previous change. 2001-10-02 21:39:48 +00:00
Alexandre Julliard a21672ebbc Merged mouse buttons states into the key state array.
Fixed confusion between queue state and async state.
2001-10-02 18:53:59 +00:00
Dmitry Timoshkov ef54643490 Remove a hack for keyboard group switching.
Always save/restore correct keyboard group index.
Explicitly ignore the keyboard group switching events.
2001-10-02 17:17:31 +00:00
Brad Campbell 6b8cedfd62 Fixed mouse position processing for use with a touchscreen. 2001-09-19 22:41:22 +00:00
Alexandre Julliard d23a82bc86 Made all 16<->32 HWND conversions use explicit functions instead of
implicit type casts.
Moved a lot of 16-bit functions to the new wnd16.c file.
Changed DIALOGINFO structure handling to support 32-bit handles.
2001-09-19 20:37:04 +00:00
Alexandre Julliard 37a4639ee1 Make sure that functions returning an HWND always return a full 32-bit
handle.
2001-09-12 17:19:13 +00:00
Alexandre Julliard d253c58b1b Rewrote most of SendMessage/PeekMessage.
Implemented inter-process messaging.
Moved most message routines to dlls/user, and split off 16-bit
routines to a separate file.
2001-08-07 19:19:08 +00:00
Alexandre Julliard 8afe6628f8 Avoid using GetFastQueue16 from USER. 2001-07-26 20:12:22 +00:00
Alexandre Julliard 1922c72b8a Removed unnecessary inclusion of heap.h. 2001-07-25 00:43:29 +00:00
Alexandre Julliard 37e9503ae8 Moved server.h to include/wine. 2001-07-19 00:39:09 +00:00
Patrik Stridvall e9782fa1fc Documentation fixes. 2001-07-12 22:33:51 +00:00
Patrik Stridvall 044855c6ec Documentation fixes. 2001-07-11 18:56:41 +00:00
Patrik Stridvall 01d5e5b071 Documentation fixes. 2001-07-02 19:59:40 +00:00
Alexandre Julliard 9f55ae6f62 - Remove cooked hardware messages when they are dropped (reported by
Gerard Patel).
- Convert all posted 32-bit messages to Unicode before storing them in
  the queue.
- Faster implementation of MSG_IsPointerMessage.
- Moved a couple of functions from queue.c to message.c.
2001-06-28 04:37:22 +00:00
Alexandre Julliard f9037de2ae Implemented SendInput(). 2001-06-25 20:01:03 +00:00
Ove Kaaven 624f14e776 Make GetCursorPos call XQueryPointer. 2001-06-21 00:44:09 +00:00
Alexandre Julliard ee8ab7af8a Avoid returning an unlocked window pointer from WINPOS_WindowFromPoint.
Removed a few no longer used routines.
2001-06-20 23:16:34 +00:00
Alexandre Julliard 838d65aebe Moved hardware message queue handling to the server. 2001-06-19 19:16:41 +00:00
Jukka Heinonen 7263720dfb Keyboard events did not update AsyncKeyStateTable, now they do. 2001-05-18 20:56:59 +00:00
Jukka Heinonen ac9a200515 GetAsyncKeyState now clears "has been pressed" information of only the
requested key instead of all keys.
2001-04-18 18:05:57 +00:00
Alexandre Julliard 7d5bc5c3f9 Removed some direct accesses to the 16-bit task structure. 2001-01-15 20:09:09 +00:00
Dmitry Timoshkov 97d5abcd04 "Implement" GetKBCodePage and GetKBCodePage16. 2000-12-29 19:47:53 +00:00
Patrik Stridvall 2ece70e77b Various documentation fixes. 2000-12-22 01:38:01 +00:00
François Gouget 44a182229b winuser.h now requires that we include winbase.h first. 2000-12-19 04:53:20 +00:00
Alexandre Julliard ce1398e384 Avoid a couple of dependencies on input.c internal variables. 2000-12-16 20:37:16 +00:00
Ken Coleman 2743c81e77 Added a first-cut version of MapVirtualKeyExW() that has the same
functionality (and limitations) as the ANSI version.
2000-12-05 03:56:56 +00:00