Alex Korobka
98447497b7
Rearranged PAINT_RedrawWindow() so that it first recursively updates
...
invalid regions and only then starts sending out messages. This should
help with reentrancy during message processing and now it needs just
one (or none) scratch region for all there is to do. Also, small fixes
for SetWindowPos().
1999-05-08 17:57:09 +00:00
Michael Veksler
9d14a001f7
Removed #include "wine/winuser16.h" and use "struct tag????" instead.
1999-05-08 12:40:24 +00:00
Ulrich Weigand
ef61c0b632
Initialize WIN_CritSection earlier.
1999-05-08 09:45:50 +00:00
Alexandre Julliard
06c275a643
Converted to the new debugging interface (done with the help of the
...
script written by Patrik Stridvall).
1999-05-02 14:32:27 +00:00
Patrik Stridvall
b4b9fae671
New debug scheme with explicit debug channels declaration.
1999-04-19 14:56:29 +00:00
Eric Pouech
3be8e3b7ff
Properly handling cases like calling SetWindowPos while processing
...
WM_NCCREATE.
1999-04-18 13:13:40 +00:00
Francois Boisvert
0ed478d1d7
Enabled thread safeness for wnd structure code.
1999-04-11 17:16:19 +00:00
Eric Pouech
c049e81683
No longer sending atoms in ((CREATESTRUCT*)lParam)->lpszName of
...
WM_CREATE messages.
1999-04-03 16:24:47 +00:00
Francois Boisvert
86e2e11137
Transfered the window struct memory release from WIN_DestroyWindow to
...
WIN_ReleaseWndPtr.
1999-04-03 11:13:33 +00:00
Francois Boisvert
d96bc15580
Suspend all windows locks before the control is passed to the
...
application.
Also fixed some bugs in dce.c
1999-04-02 10:34:43 +00:00
Alex Korobka
44a1b59cec
Fixes for ignored WVR_[VH]REDRAW flags, made minimization in managed
...
mode go through window manager, small bugfixes for menu and window
code, extended clipboard driver model to handle formats other than
text.
1999-04-01 12:03:52 +00:00
Patrik Stridvall
b87fe2e9bf
More code moved to the X11 driver (bitmap and palette and misc).
1999-04-01 08:16:08 +00:00
Francois Boisvert
3a3cd9fab1
Fixed some bugs in thread safeness for wnd struct.
1999-03-28 12:42:52 +00:00
Alex Korobka
4f1ac05dea
Moved hrgnUpdate from client to window coordinates, made nonclient
...
painting depend on the update region, reworked SetWindowPos() and
RedrawWindow() to speed up update region calculation, made -desktop
work properly, added WM_CANCELMODE here and there, fixed several
window activation bugs that crept in since the last time.
1999-03-28 09:37:57 +00:00
Francis Beaudet
7c2f0fe45d
Clear update region before WM_NCDESTROY.
1999-03-21 08:50:41 +00:00
Pavel Roskin
c501207956
Fixed WIN_SendDestroyMsg.
1999-03-19 16:59:18 +00:00
Francis Beaudet
eb6a9f0804
Implemented a more defensive version of WIN_SendDestroyMsg.
1999-03-17 15:17:48 +00:00
Pavel Roskin
598993f41f
Fixed bug introduced in WIN_FindWindow.
1999-03-16 09:53:10 +00:00
Francois Boisvert
6b1b41cf85
Made access to the wnd struct thread-safe.
1999-03-14 17:25:32 +00:00
Alexandre Julliard
8feb3bc177
Process and thread id now use the server-side id instead of an
...
obfuscated pointer.
1999-02-28 12:25:03 +00:00
Juergen Schmied
1e0bc841f3
FIND_WndPtr should not set ERROR_INVALID_WINDOW_HANDLE when hWnd=0.
1999-02-28 11:08:13 +00:00
Alexandre Julliard
a396029270
Large-scale renaming of all Win32 functions and types to use the
...
standard Windows names.
1999-02-26 11:11:13 +00:00
Alexandre Julliard
566e8547f3
Make GetWindowLong(GWL_HWNDPARENT) return the same thing as
...
GetParent32; suggested by Dave Pickles <davep@nugate.demon.co.uk>.
1999-02-25 18:05:48 +00:00
Francois Boisvert
93e3f905c8
Adding of new functions to make the wnd struct thread safe. Adding of
...
irefCount in wnd struct.
1999-02-25 17:32:31 +00:00
Michael Veksler
3fbb8dc829
- Fix headers to include less or smaller header files.
...
- Fix header and source files to include missing header files to avoid
warnings and errors.
1999-02-21 18:23:26 +00:00
Marcus Meissner
317af320cf
Optimized include/*.h: (recursively) include all headers needed by
...
this .h file, but only those. Necessary fixes to a lot of .c files,
started optimizing "windows.h" away from some of them. Moved
GetCurrentTask prototype to wine/winbase16.h.
1999-02-17 13:51:06 +00:00
Eric Pouech
b9544f159d
Changed some functions prototypes (were returning void).
1999-02-14 14:09:42 +00:00
Ove Kaaven
72d8dbe38a
Changed SetParent32 to adhere to Windows behaviour (mostly),
...
which should also keep it from leaving garbage around.
1999-02-13 09:02:17 +00:00
Juergen Schmied
0aa7fdbd30
FindWindow failed for 32 bit windows with style != WS_CHILD.
1999-02-11 10:19:10 +00:00
Noel Borthwick
b427856b45
Added management and allocation of the PERQUEUEDATA structure.
1999-02-05 10:37:53 +00:00
Patrik Stridvall
8d8703cb48
Moved some more code to the X11 driver.
1999-02-04 14:05:38 +00:00
Stephane Lussier
1c4786fedf
- Made the message queue access to be thread safe. (Using two new
...
functions to access the message queue, QUEUE_Lock(), QUEUE_Unlock()
instead of GlobalLock16()).
- Fixed QUEUE_DumpQueue (used by "info queue <handle>" with the
wine-debugger).
1999-01-28 10:54:11 +00:00
Marcus Meissner
03479f8adb
Fixed a lot of warnings for possible problems.
1999-01-28 10:06:38 +00:00
Stephane Lussier
a4c8445ba3
- Changing MESSAGEQUEUE structure according to Ulrich proposition.
...
- One message queue for every thread needing it.
- Messages in the message queue are now stored in a linked list
- Messages are allocated in the system heap.
- Messages in the message queue are 32 bits (MSG32).
- All read/write operations regarding messages in the message queue are
thread safe.
1999-01-26 09:30:05 +00:00
Noel Borthwick
463eb29419
Reparenting a window with SetParent in Windows should cause the child
...
window being re-parented to be moved up to the topmost in the z-order,
and WM_WINDOWPOSCHANGING and WM_WINDOWPOSCHANGED messages to be sent.
1999-01-20 13:50:13 +00:00
Alexandre Julliard
638f169b1e
Recovery of release 990110 after disk crash.
...
See Changelog for changes between 990103 and 990110.
1999-01-17 16:32:32 +00:00
Patrik Stridvall
151170c437
Moved more things to the X11 driver.
1998-12-26 12:00:43 +00:00
Ulrich Weigand
a844189d1a
Desktop window queue handling adapted.
1998-12-24 15:17:02 +00:00
Paul Quinn
1beaae5f9e
Lots of new defines and stubs.
1998-12-15 15:38:36 +00:00
NF Stevens
181fa7c54d
Fix the Z-order of maximized/minimized child windows.
1998-12-14 14:37:06 +00:00
Ulrich Weigand
2f09818fcd
Removed deferred Expose events handling.
1998-12-10 08:59:53 +00:00
Ulrich Weigand
7af95ae105
Bugfix: WIN_ResetQueueWindows would skip some windows.
1998-12-07 10:24:42 +00:00
Patrik Stridvall
e35d6366ef
Moved more code to the X11 driver.
1998-12-07 09:13:40 +00:00
Huw D M Davies
cd448946e3
Remove included color.h.
1998-11-26 16:32:00 +00:00
Marcus Meissner
de12d2abe4
Check wndPtr for NULL.
1998-11-22 13:29:29 +00:00
Per Ångström
a47bc3abb9
EnumTaskWindows16: Basing the selection on a window's task is not only
...
more straightforward than comparing message queues, it also works
better for Win32 applications.
1998-11-14 17:00:37 +00:00
Ove Kaaven
0fbe1de1f7
Made sure ConfigureNotify is processed before Expose, deferring the
...
Expose event if necessary, thus working around a WM flaw with virtual
desktop scrolling in -managed mode.
1998-11-06 10:56:09 +00:00
Ulrich Weigand
7df1fbb3df
Run Winelib applications as 32-bit processes in the initial task.
...
Simplified/removed several special 'if (__winelib)' cases in
Wine main code obsoleted by that change.
1998-11-01 18:01:53 +00:00
Patrik Stridvall
ea5847247e
Started moving some X11 window management code to windows/x11drv.
1998-11-01 16:22:07 +00:00
Rein Klazes
5c6fc1bb91
CreateWindowEx32[AW] now creates an MDI chils when the WM_EX_MDICHILD
...
extended style is specified. Also implemented CreateMDIWindow32A()
call - single thread only -.
1998-11-01 14:50:06 +00:00