Commit Graph

87 Commits

Author SHA1 Message Date
Phil Krylov a8f4b16bd0 Translate the whole wparam to/from Unicode. 2005-07-26 15:55:42 +00:00
Alexandre Julliard 98c315c7c0 Save the scope window for mouse events before overwriting it. 2005-07-19 19:14:32 +00:00
Alexandre Julliard 15ec968724 Load the USER driver on demand instead of at user32 load time.
Provide a fallback implementation for all the functions to avoid
having to check for NULL functions everywhere.
2005-07-18 15:14:56 +00:00
Mike McCormack c787b146e1 -Wpointer-sign fixes for gcc 4.0. 2005-07-06 10:36:28 +00:00
Dmitry Timoshkov d3847e01b7 Update internal state only if the message is being removed. 2005-06-02 10:38:12 +00:00
Alexandre Julliard 63342353bc Store a bitmap of active hooks on the client side to try to avoid
server calls for hooks that are not set.
2005-05-11 13:03:15 +00:00
Mike McCormack abe70f7648 Implemented GetLastInputInfo. 2005-04-28 12:04:14 +00:00
Alexandre Julliard 6b4c02e57f Moved remaining messaging definitions to user_private.h and removed
message.h.
2005-04-27 10:23:24 +00:00
Alexandre Julliard 86be9f20da Removed the MESSAGEQUEUE structure, and store the corresponding
information directly in the TEB, in the Win32ClientInfo field.
2005-04-27 08:18:20 +00:00
Alexandre Julliard b6f4eccdbd Moved some messaging and input functions to message.c and input.c
respectively.
2005-04-26 08:18:47 +00:00
Alexandre Julliard fc2bd2324e Handle posted internal messages directly in PeekMessageW to avoid
having to return them to the application.
Call NtYieldExecution for nicer behavior when PM_NOYIELD is not
specified.
2005-04-20 18:53:53 +00:00
Alexandre Julliard 3e2f2a5265 Allow nested hardware message processing by storing a unique id in
every message and using it to manage the current queue position.
Better filtering of hardware messages to avoid returning messages that
have no chance to match the filter.
2005-04-20 13:03:59 +00:00
Kevin Koltzau f4767f1424 Added full support for xbuttons (side mouse buttons). 2005-03-24 19:15:41 +00:00
Alexandre Julliard 039603c77d Don't maintain a client-side WND structure for the desktop window.
Made WIN_GetPtr return WND_DESKTOP in that case.
2005-03-24 15:18:50 +00:00
Alexandre Julliard 04881fae7a Get rid of the window lock suspend mechanism. 2005-03-23 13:18:51 +00:00
Alexandre Julliard 0bc8377bc2 Create a new server request for accepting hardware messages instead of
abusing reply_message.
Allow passing the determined window for a hardware message back to the
server to have it redispatch the message to the correct thread.
2005-03-23 10:33:17 +00:00
Alexandre Julliard 564915eadc Simplify hardware message processing by merging the "raw" and "cooked"
processing into a single function.
2005-03-22 21:48:40 +00:00
Peter Berg Larsen 25a6663243 Assorted memleak fixes. Found on Michael Stefaniuc smatch list. 2005-03-14 17:13:44 +00:00
Alexandre Julliard b9a9de6eb9 Clear the internal paint flag in the server before returning a
WM_PAINT message to avoid an extra server round-trip.
2005-03-10 17:19:33 +00:00
Alexandre Julliard 85c81bf419 Merge the rest of the messaging code into dlls/user/message.c and get
rid of windows/message.c.
2005-03-10 15:47:53 +00:00
Alexandre Julliard 99615021fb Properly cope with get_message being called recursively while
processing a hardware message.
2005-03-10 11:52:25 +00:00
Alexandre Julliard 7b738b7f8c Make sure to always pass valid QS_* flags to
MsgWaitForMultipleObjects.
2005-03-08 17:00:38 +00:00
Alexandre Julliard 97d6e7fd3d Moved TranslateMessage and DispatchMessage to dlls/user/message.c.
Added support for posting internal messages.
Added support for driver-specific internal messages.
2005-03-07 17:19:24 +00:00
Ulrich Czekalla 687679cd90 Print out error message if we fail to remove message from queue. 2005-03-07 10:58:00 +00:00
Alexandre Julliard 85d14279a5 Support sending WM_PAINT across processes when it doesn't contain an
HDC.
2005-03-04 10:50:22 +00:00
Dmitry Timoshkov 6dba0a7718 Add support for winevent hooks. 2005-02-03 16:40:20 +00:00
Vitaly Lipatov 386cf457c9 Added handling of SBM_GETSCROLLBARINFO message. 2005-01-09 16:35:41 +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
Mike McCormack 42d55786b9 Stub implementation for GetLastInputInfo. 2004-12-08 19:41:36 +00:00
Alexandre Julliard 6a78c16aac Moved private USER definitions to a new user_private.h header, and
removed the global user.h.
2004-12-08 18:06:14 +00:00
Alexandre Julliard e0db46c4aa Get rid of the client-side window timer structures. 2004-11-29 18:18:02 +00:00
Alexandre Julliard c329cc4f9c Fixed handling of NULL pointer in PeekMessageW, with test (reported by
Eric Frias).
2004-11-23 17:39:13 +00:00
Dmitry Timoshkov 5736111c83 Protect USER32 against early graphics driver unloading. 2004-10-18 21:25:26 +00:00
Alexandre Julliard 998863bf63 Only send WM_PAINTICON and WM_ICONERASEBKGND to 16-bit windows (found
by Jeremy White).
2004-10-07 03:09:37 +00:00
Dmitry Timoshkov 11d550dfa8 Add more message conversion tests, make the tests pass under Wine. 2004-10-04 20:39:00 +00:00
Robert Shearman bbdac5e475 GetWindowLong -> GetWindowLongPtr. 2004-09-22 19:14:08 +00:00
Dimitrie O. Paun 630dc0f5a9 Use the W version of the function were we can. 2004-09-15 18:04:07 +00:00
Alexandre Julliard 80bba3bd61 Moved keyboard.c to dlls/user/kbd16.c.
Keyboard, mouse and display drivers are 16-bit only.
2004-09-01 22:47:48 +00:00
Andrey Panov f4a535d61e In get_buffer_space() function, HeapReAlloc() will not allocate memory
if passed *buffer value is NULL.
2004-05-06 23:41:15 +00:00
Yoshiro Takeno c91d9f0c90 In Windows, the leading byte for multibyte characters are set to upper
byte. If single byte character is used, the upper byte is set to 0.
2004-01-26 20:20:07 +00:00
Oleg Prokhorov de12a97041 Another portion of HeapReAlloc fixes. 2003-10-14 05:24:20 +00:00
Mike McCormack e76cf04ae9 Always initialize send_message_info.flags. 2003-09-22 19:31:13 +00:00
Eric Pouech 9b81b83882 - Implemented IsHungAppWindow.
- Added rejection of interprocess messages related to icons.
2003-09-15 19:58:05 +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 19b6a49845 Allocate DebugInfo field for all critical sections (based on a patch
by Alex Pasadyn).
Get rid of the Wine-specific CRITICAL_SECTION_INIT macro.
2003-08-12 23:50:54 +00:00
Alexandre Julliard 039e13118e Implemented inter-thread SendMessageCallback. 2003-07-26 20:36:43 +00:00
Alexandre Julliard ca3ac8f155 Run WH_KEYBOARD_LL and WH_MOUSE_LL hooks in the context of the thread
that set the hook.
2003-07-11 21:55:58 +00:00
Alexandre Julliard 09029b2878 Implemented the SMTO_ABORTIFHUNG flag of SendMessageTimeout. 2003-07-11 04:09:42 +00:00
Dmitry Timoshkov 37d3996355 Expect multiple DNS_ flags.
Partially implemented DdeEnableCallback.
Call a callback with XTYP_CONNECT_CONFIRM after an accepted
XTYP_CONNECT.
Added traces, clarify data types, other cosmetics.
2003-05-19 23:27:16 +00:00
Alexandre Julliard d0af123a41 Catch broadcast window handles in functions that are implemented using
SendMessage.
2003-05-19 19:00:02 +00:00