Commit Graph

1305 Commits

Author SHA1 Message Date
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
Francois Gouget 386cf6e342 When including 'wine/port.h', include it first.
Remove redundant 'config.h' includes.
2001-10-14 16:25:47 +00:00
Francois Gouget e5ddd26dd7 When including config.h, include it first. 2001-10-14 16:18:52 +00:00
Francois Gouget b60c4ce0f0 Don't print NULL strings (crashes on Solaris).
Small code maintainability tweak in ShellExecuteExA.
Two typo fixes in winmm.
2001-10-14 16:15:05 +00:00
Alexandre Julliard 7a2017dd65 Store window properties in the server. Moved property.c to dlls/user. 2001-10-12 19:10:26 +00:00
Marcus Meissner bc799e402d Handle bad pointer arguments to LoadImageA() (and functions
callingLoadImageA) with an exception handler.
2001-10-12 18:42:17 +00:00
Dominik Strasser 9d777f90c6 Workaround X11 BadWindow error if no parent window is found. 2001-10-12 18:41:50 +00:00
Alexandre Julliard 003f02b733 Removed the cleanup_window_queue request. 2001-10-11 20:50:10 +00:00
Alexandre Julliard 80593bf842 Removed next and child fields in the window structure and use
WIN_ListChildren instead.
2001-10-11 20:49:40 +00:00
Alexandre Julliard 556607a147 Store window parent as an HWND instead of a pointer. 2001-10-10 20:28:17 +00:00
Alexandre Julliard e6d90ea98f Fixed locking of class list.
Print ERR when accessing classes of other processes.
2001-10-09 23:27:17 +00:00
Alexandre Julliard 844ceb98ba Store window class atom in the server.
Keep unlinked windows on a separate list.
Implemented inter-process FindWindow().
2001-10-09 23:26:40 +00:00
Alexandre Julliard 3949386d76 Moved MsgWaitForMultipleObjects call on RDW_UPDATENOW out of the
RDW_Paint recursion.
2001-10-08 22:32:05 +00:00
Francois Gouget ba7f6c541f Fix infinite loop problem in wineclipsrv startup.
LaunchServer: Don't give up on the first message.
Added GetSelectionEvent: Limit CPU use and introduce timeout.
2001-10-08 20:28:36 +00:00
Francois Gouget 671a2ee8b7 Better handling of the timeout in WaitForInputIdle.
Use WAIT_FAILED rather than the corresponding literal.
2001-10-08 20:28:12 +00:00
Alexandre Julliard 62fb0825bf Process pending events before sending WM_PAINT on RDW_UPDATENOW. 2001-10-05 19:47:42 +00:00
Johan Gill 3dc764038d The LR_ defines do not reside in windows.h anymore. 2001-10-05 19:38:14 +00:00
Dmitry Timoshkov 2c7cc63179 Add XK_Mode_switch to the list of ignored keysyms. 2001-10-05 19:37:19 +00:00
Gerard Patel 94ce2a3303 Map a window if it is shown by a direct style change. 2001-10-03 18:44:02 +00:00
Alexandre Julliard e566195eaf Free cache DCEs if the DC gets deleted. 2001-10-02 21:40:11 +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
Andriy Palamarchuk 676eb230e1 Added SYSMETRICS_Set.
Implemented SPI_SETSHOWSOUNDS action.
2001-10-02 18:35:32 +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
Alexandre Julliard 7695d69046 A couple of optimizations to avoid some server calls in WIN_FindWndPtr
and related functions.
2001-09-24 01:19:59 +00:00
Alexandre Julliard a09da0cbbd Added proper support for storing window parents in the server.
Added a few requests to query the window hierarchy.
2001-09-21 21:08:40 +00:00
Andriy Palamarchuk 914a1dca85 Implemented SPI_GETSHOWSOUNDS. 2001-09-21 21:02:02 +00:00
Brad Campbell 6b8cedfd62 Fixed mouse position processing for use with a touchscreen. 2001-09-19 22:41:22 +00:00
Joshua Thielen 26c4d6b3a4 Changed MDICreateChild to support CW_USEDEFAULT for 16-bit MDI
windows.
2001-09-19 22:33:01 +00:00
Alexandre Julliard 536957eb31 Fixed a couple of bugs in WIN_SetWindowLong caused by previous
change.
2001-09-19 22:31:15 +00:00
Andriy Palamarchuk 2bdbf30bb9 Added russian layout with phantom key. 2001-09-19 22:26:15 +00:00
Francois Gouget 7beb574b20 Remove macros that should not be there (cause conflicts in WineLib).
Add corresponding comments in spy.c.
2001-09-19 22:25:52 +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 629aab1768 Fixed a couple of HWND type mismatches. 2001-09-19 20:34:17 +00:00
Andriy Palamarchuk 4ee65164dc Fixed references to old documentation location. 2001-09-17 19:07:56 +00:00
Alexandre Julliard 021dd9908f Fixed HWND compare in NC_HandleSetCursor. 2001-09-14 21:29:19 +00:00
Alexandre Julliard f44bbb8d10 Make sure that HWND comparisons are always done with full 32-bit
handles.
2001-09-14 00:24:39 +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 0d92fe20cd Make sure that returned window belongs to correct thread when checking
siblings of transparent windows in WIN_FindWinToRepaint.
2001-09-10 23:26:42 +00:00
Andy Rysin 872784fc2f Added Ukrainian keyboard layout. 2001-09-10 23:15:26 +00:00
Patrik Stridvall 3c9ab8f62d The message handler of WM_STYLECHANGING is supposed to be able to
modify the proposed style if it wishes.
2001-09-10 23:09:46 +00:00
Guy L. Albertelli db9b54925d Enhance SPY_GetMsgName to translate common control messages. 2001-09-07 18:38:57 +00:00
Alexandre Julliard 6bf2abfab1 Make window handles 32-bit before calling window procedure.
Don't clear window parent field when unlinking it.
2001-08-29 00:16:00 +00:00
Alexandre Julliard 1a66d226eb Added global management of user handles in the server.
Very preliminary support for shared window handles.
2001-08-28 18:44:52 +00:00
Guy L. Albertelli f96d4e69c0 Added WM_MOUSEHOVER and WM_MOUSELEAVE to formatting. 2001-08-28 18:38:25 +00:00
Alexandre Julliard 9d9dac0947 Added WIN_ListParents function and renamed WIN_BuildWinArray into
WIN_ListChildren. Made owner field in WND structure an HWND.
2001-08-24 19:28:21 +00:00
Alexandre Julliard 0801ffc5a3 Implemented GetAncestor and removed WIN_GetTopParent.
Removed a few more accesses to the WND structure.
2001-08-24 00:26:59 +00:00
Alexandre Julliard fa42aa81e4 Removed WIN_GetDesktop(). 2001-08-21 17:13:55 +00:00
Francois Gouget 588ff3743a Documentation updates (mainly thru vs. through). 2001-08-21 17:07:17 +00:00
Alexandre Julliard d44e495aa4 Fixed GetClassLong to return full 32 bits for all items.
Removed GCW_* definitions that don't exist in Win32.
2001-08-20 18:09:39 +00:00
Alexandre Julliard b3ec03092f Added proper support for 32-bit WM_NEXTMENU. 2001-08-18 18:10:04 +00:00
Alexandre Julliard 4ff32c8aef Removed a number of direct accesses to the window structure. 2001-08-18 18:08:26 +00:00
Alexandre Julliard 4d7041a6ce Explicitly check for CS_PARENTDC in WM_ERASEBKGND handling. 2001-08-18 16:10:52 +00:00
Alexandre Julliard 78f9fae706 Create GDI stock objects as normal objects instead of using magic
handle values.
2001-08-17 00:07:13 +00:00
Alexandre Julliard 6837b9c119 Moved user lock to user.c. Added USER_CheckNotLock function. 2001-08-16 18:14:22 +00:00
Alexandre Julliard 301df6b5cd Added names to standard critical sections (suggested by Andreas
Mohr).
2001-08-16 18:12:56 +00:00
Alexandre Julliard 20bc491dc7 Added mappings for a few messages.
Added unicode messages bit set to shortcut message mapping when
possible.
2001-08-13 20:33:21 +00:00
Alexandre Julliard 1293531ad9 Fixed some message names. 2001-08-13 20:30:31 +00:00
Alexandre Julliard de42428f23 Removed a number of direct accesses to the WND structure, replacing
them by API calls.
2001-08-10 22:51:42 +00:00
Alexandre Julliard cb25e2506f Replace SendMessage16 by SendMessageW where possible. 2001-08-08 23:28:42 +00:00
Alexandre Julliard e6533a6b71 Fixed DrawState16 callback support. 2001-08-08 23:26:32 +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 bfb4a23aa9 Replaced MSG_InternalGetMessage calls by equivalent exported APIs. 2001-08-06 18:05:47 +00:00
Alexandre Julliard 4de0df77cf Fixed return value for WM_NOTIFY and WM_ACTIVATEAPP mappings. 2001-08-06 17:57:55 +00:00
Marco Bizzarri 5095779999 GetControlBrush16: avoid potentially releasing the same pointer
twice.
2001-08-03 18:17:14 +00:00
Guy L. Albertelli b70c22d4a9 - Add support to dump memory at lParam location on common control
messages.
- Fixed remaining Toolbar and Pager notify dump amounts.
- Separate memory dump code for easy use.
2001-08-03 18:08:38 +00:00
Alexandre Julliard 502d83b1d2 Fixed a few problems with DCX_* flags handling. 2001-07-31 00:14:06 +00:00
Alexandre Julliard 11dd274cb0 Erase only client area on WM_ERASEBKGND. 2001-07-31 00:05:50 +00:00
Alexandre Julliard 5905ba954a Implement EnumProps on top of EnumPropsEx to avoid function pointer
type mismatches.
2001-07-30 19:05:38 +00:00
Alexandre Julliard 8afe6628f8 Avoid using GetFastQueue16 from USER. 2001-07-26 20:12:22 +00:00