Commit Graph

493 Commits

Author SHA1 Message Date
Noel Borthwick ee7199549a Fixed a problem with managed mode, where popup windows with a WS_DLGFRAME
style were appearing with a title bar. According to the docs for
WS_DLGFRAME a window with this style cannot have a title bar.
1999-04-25 09:19:21 +00:00
Eric Pouech 96c142b940 Fixed some bogus infinite expiration time. 1999-04-25 09:12:27 +00:00
David Luyer a4dd6a6af1 - consolidate both cases of !pending in WaitNetEvent
- select() returns -1 not 0 on error in WaitNetEvent
1999-04-25 09:11:05 +00:00
Guy Albertelli 2fa281f90f Fix locking with proper calls to WIN_ReleaseWndPtr. 1999-04-24 11:54:40 +00:00
Patrik Stridvall 0f8bc5b5c7 Fixed ANSI compabillity. 1999-04-22 16:27:50 +00:00
Michael Veksler ff5ae3dd65 Removed some includes of 16 bit API. 1999-04-22 15:26:11 +00:00
Gerard Patel b7a4f46509 Fixed syscolors for win 3.1. 1999-04-22 09:58:13 +00:00
Paul Millar 0e8d8cc92b Code added to re-evaluate stale DC information in DCE cache. 1999-04-19 16:37:11 +00:00
Patrik Stridvall b4b9fae671 New debug scheme with explicit debug channels declaration. 1999-04-19 14:56:29 +00:00
Juergen Schmied 7851394159 - use fonts/fontsizes given by SystemParametersInfo
- drawing/alignment fixes, win98 style for menubar
- ownerdrawn menus are working now for the first time
- complete constants magic items
- use right owner for popupmenus
- new: Get/SetMenuInfo
- implemented: Get/SetMenuContextHelpId
- more flags for Get/SetMenuItemInfo
1999-04-18 14:40:32 +00:00
Eric Pouech 3be8e3b7ff Properly handling cases like calling SetWindowPos while processing
WM_NCCREATE.
1999-04-18 13:13:40 +00:00
Juergen Schmied 4ab79f9619 Loading color values from the registry fixed. 1999-04-18 09:32:38 +00:00
Michael Veksler c48f04f09f Add "win.h" to fix implicit function declaration warnings. 1999-04-18 09:26:29 +00:00
Noel Borthwick a0d03ef1fc While handling the WM_DELETEWINDOW client message check if a window
has been disabled and if so prevent an SC_CLOSE message from being
sent.
1999-04-18 09:21:01 +00:00
Noel Borthwick b0ebeeb0d1 Make access to the DCE list thread safe by ensuring we have acquired
the Windows lock before using it.
1999-04-18 09:19:55 +00:00
Michael Veksler 58abac376f Fixed warnings. 1999-04-16 09:41:22 +00:00
Pablo Saratxaga 002106ac22 Added walon language support (I also moved Cz -> Cs, Sw -> Sv, and Po
-> Pt; to conform to standard names for those languages).
1999-04-16 09:06:58 +00:00
Zygo Blaxell 007f1335c1 ReleaseCapture() is supposed to return a BOOL value. 1999-04-15 16:40:16 +00:00
Huw D M Davies 746706b309 index == 3 corresponds to Alt-Gr + Shift. 1999-04-15 16:37:16 +00:00
Pavel Roskin 6f01462b8b Fixed ugly disabled controls and black background in Write and Lotus
Notes.
1999-04-15 15:52:59 +00:00
Francois Boisvert e5811f0eb1 Solved a deadlock between global lock and wnd lock in event.c. 1999-04-15 15:22:23 +00:00
Guy Albertelli 76d8abe38f Fix scancodes for NumLock and Num-/.
Fix MapVirtualKey() (maptype=2) to return proper ascii code.
Reworked GetKeyNameText() again.
1999-04-15 15:14:44 +00:00
Marcus Meissner f203ab6604 Missing WINAPI for RegisterSystemThread. 1999-04-15 15:12:40 +00:00
Francois Boisvert 0ed478d1d7 Enabled thread safeness for wnd structure code. 1999-04-11 17:16:19 +00:00
Ove Kaaven 0df0f1fd28 Teached TIMER_GetNextExpiration that a timer that has already expired
(but not processed yet) HAS already expired...
1999-04-11 17:10:05 +00:00
Guy Albertelli 2031d6c430 Partial implementation for GetKeyNameText for new keyboard structure. 1999-04-11 14:47:41 +00:00
Bertho Stultiens af50474298 Added RegisterSystemThread stub. 1999-04-11 12:04:33 +00:00
Francois Boisvert 71bdc7c851 Check if pTempActiveWindow in WINPOS_SetWindowPos is valid after the
QUEUE_Lock.
1999-04-11 11:59:25 +00:00
Juergen Schmied d0d1f1505e Loading the color schema for registry. 1999-04-11 11:39:17 +00:00
Eric Pouech bd1a0a6e4d Better error handling ; a few bug fixes ; now OpenDriver16 can load 32
bit drivers.
Added stub for GetDriverFlags.
1999-04-10 16:50:24 +00:00
Sergey Turchanov 2f5a152e9e Stubs for CloseDesktop and CloseWindowStation. 1999-04-10 16:48:46 +00:00
Brian Gerst 2f9a31c2dc Fixed X11DRV_MOUSE_WarpPointer initial value. 1999-04-10 16:37:03 +00:00
Gerard Patel e38b0e10d5 Fixed window locking bug in CalcChildScroll. 1999-04-10 16:28:12 +00:00
José Marcos López 05eb8b5125 Added Spanish keyboard layout. 1999-04-04 12:44:42 +00:00
Francois Boisvert 7d7fe7c121 Suspend the window locks before DefKeybEventProc and
DefMouseEventProc.
1999-04-03 16:27:53 +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
Eric Pouech 24f5ffc620 Updated French keyboard. 1999-04-03 13:50:58 +00:00
Ove Kaaven 787cf10922 'Realigned' the layout table a bit. Applied the non-latin-1 stuff and
the dead key mapping stuff to the actual mapping code too.  Prettied
up the fixme message. Added a check where if the keys of two layouts
match exactly, the one with the best-matching keycode order is chosen,
so that the QWERTY and Dvorak layouts can be distinguished.
1999-04-03 11:18:58 +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
Francis Beaudet 373db5cea2 Wrote a basic implementation of the WM_PRINT message. 1999-04-02 10:36:21 +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
Marcus Meissner 2199f6e078 Split off keysym/deadchar -> char mapping, use it in DetectLayout. 1999-04-01 12:05:44 +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
Ulrich Weigand e392a0c975 Added USER32.UserSignalProc to Callout table.
Implemented built-in UserSignalProc().
Don't announce Win3.1-style USER handler any more.
1999-04-01 11:44:52 +00:00
Luc Tourangeau 5591bc6323 Implemented WM_NOTIFYFORMAT. 1999-04-01 10:10:24 +00:00
Eric Pouech 7f14c085bd In UserYield16, when current thread is a 32 bit one which hold the
Win16Lock, must take care of a LockCount > 1.
1999-04-01 09:58:53 +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
Dimitrie O. Paun 05c0c8ef13 Changed some debug messages from one channel to another, to clean up a
bit the debug channel usage.
1999-03-28 15:07:41 +00:00
Pavel Roskin dbfdca8b4c Added Russian keyboard support. 1999-03-28 13:44:56 +00:00
Lionel Ulmer 5f5b576a45 Added stub for SetSystemCursor. 1999-03-28 13:42:12 +00:00
Pavel Roskin f15d180669 Changes in X11DRV_KEYBOARD_DetectLayout in order to implement Russian
keyboard support.
1999-03-28 13:39:55 +00:00
Alexandre Julliard f80b2ab669 Authors: Paul Quinn <paulq@corel.ca>, Aaron Barnes <aaronb@corel.ca>, Adrian Thurston <adriant@corel.ca>
Bundle of new stubs.
1999-03-28 13:15:40 +00:00
Ulrich Weigand 831560cd97 Call EVENT_Pending() to flush X11 output queue before blocking in
MsgWaitForMultipleObjects().
Don't call EVENT_WaitNetEvent in MSG_PeekHardwareMsg.
Protect system queue access in hardware_event().
1999-03-28 13:10:54 +00:00
Francois Boisvert 3a3cd9fab1 Fixed some bugs in thread safeness for wnd struct. 1999-03-28 12:42:52 +00:00
Jonathan Naylor a5a02279a6 Added Swiss German keyboard layout. 1999-03-28 12:36:27 +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
Alex Korobka 073e3bc9e5 Fixed occasional loss of SendMessage() return value. 1999-03-28 09:19:31 +00:00
Ulrich Weigand da5779e5bd Allow UserYield16 to be called from 32-bit thread. 1999-03-27 16:10:52 +00:00
Randy Weems 0bc73c7818 Fixed off-by-one error if bitblt width or height is negative. 1999-03-25 15:49:11 +00:00
Stephane Lussier 35ffc5d8c0 Made the timer code thread safe. 1999-03-25 13:23:26 +00:00
Francis Beaudet f91e6d037e Fixed possible endless loop. 1999-03-25 13:22:42 +00:00
Ulrich Weigand 85d52b35c3 Add IsWindow() checks after SendMessage() returns. 1999-03-24 15:01:29 +00:00
Eric Pouech 9f2ad566ff Fixed return codes for default driver proc. 1999-03-22 14:47:36 +00:00
Kalevi J Hautaniemi cc5d924b63 Added Finnish keyboard layout. 1999-03-22 14:46:08 +00:00
Veksler Michael e94e35431e Removed winuser16.h from x11drv.h. 1999-03-22 12:41:26 +00:00
Veksler Michael 3130fcec86 Fixed "reached end of non void..." warnings. 1999-03-22 12:37:09 +00:00
Robert Pouliot 4f278bdac1 One small error corrected and the 102th key... 1999-03-21 15:46:34 +00:00
Francis Beaudet 7c2f0fe45d Clear update region before WM_NCDESTROY. 1999-03-21 08:50:41 +00:00
Alexandre Julliard 34bf815822 Got rid of SYSTEM_LOCK macros. 1999-03-21 08:36:55 +00:00
Pavel Roskin c501207956 Fixed WIN_SendDestroyMsg. 1999-03-19 16:59:18 +00:00
Eric Pouech c9ed21f718 Fixes some return values for DefDriverProc. 1999-03-19 16:57:29 +00:00
Andreas Mohr 01f8426f4a Hide dialog windows created by CreateDialog* in EndDialog just as
Windows does.
1999-03-19 16:49:30 +00:00
Bertho Stultiens ff2b369739 Fixed Danish keyboard layout. 1999-03-19 16:42:52 +00:00
Marcus Meissner 6b9dd2e098 Lots of warning fixed, one missing WINAPI in ddraw.c added. 1999-03-18 17:39:57 +00:00
Bruno Afonso e70b1838df Added Portuguese keytable. 1999-03-17 15:54:44 +00:00
Robert Pouliot 5574c99bca Added Canadian French keyboard layout. 1999-03-17 15:39:36 +00:00
Huw D M Davies 12eb5fd1e8 Added UK keyboard layout. 1999-03-17 15:29:35 +00:00
Francis Beaudet eb6a9f0804 Implemented a more defensive version of WIN_SendDestroyMsg. 1999-03-17 15:17:48 +00:00
Ulrich Weigand c68c4b15f0 Inter-thread SendMessage() bugfixes:
- Insert new message to be received at the *end* of the SM_PENDING_LIST.
- Do *not* process received messages in ReplyMessage().
- Clear the QS_SMRESULT flag only immediatedly before waiting.
1999-03-17 15:14:31 +00:00
Ulrich Weigand 6d45e7a9ef Avoid unnecessary error messages. 1999-03-16 10:37:30 +00:00
Ulrich Weigand 5b803350e9 Ignore HIWORD of boolean return values of 16-bit hook procedures, to
match buggy Windows behaviour.
1999-03-16 10:29:55 +00:00
Pavel Roskin 598993f41f Fixed bug introduced in WIN_FindWindow. 1999-03-16 09:53:10 +00:00
Ove Kaaven 44b717825d Better comments, and added ANSI codepages in table.
US keyboard contributed by Uwe Bonnes.
French keyboard contributed by Eric Pouech.
German keyboard contributed by Ulrich Weigand.
Danish keyboard contributed by Bertho Stultiens.
1999-03-15 15:24:32 +00:00
Eric Pouech 3fb2f4289f Better 16/32 bit driver messages mapping and handling.
Better protection against bad handles.
1999-03-15 15:14:06 +00:00
Francois Boisvert 6b1b41cf85 Made access to the wnd struct thread-safe. 1999-03-14 17:25:32 +00:00
Jim Aston 2e1cafa288 Renamed wintypes.h to windef.h. 1999-03-14 16:35:05 +00:00
Patrik Stridvall 110b4c193c Reimplemented some code without using X11. 1999-03-14 15:20:53 +00:00
Ove Kaaven 7173e1c26e First attempt at supporting different keyboard layouts with their
correct scancode mapping.
1999-03-14 14:00:57 +00:00
Pavel Roskin a0fd289aef Prevent X11 errors when XCreateWindow is called with zero width or
height.
1999-03-14 13:41:07 +00:00
Marcus Meissner 88e651dac3 Fixed newly introduced and some leftover warnings. 1999-03-13 18:20:26 +00:00
Guy Albertelli 4a6af35bc4 Handle null wndPtr for mdi window. 1999-03-13 17:03:41 +00:00
Juergen Schmied d3258fc75e Message translation for WM_WININICHANGE. 1999-03-12 17:13:54 +00:00
Pavel Roskin d8e58eb40d obm_closed_95 should not be drawn inverted. 1999-03-12 17:09:43 +00:00
Stephane Lussier 0d5fe58361 Create a new DC in GetDCEx when none are available. 1999-03-12 17:04:28 +00:00
Stephane Lussier bae5552a14 Implemented SendMessageTimeout() functions. 1999-03-10 16:21:12 +00:00
Ulrich Weigand 1b938b1817 Adapted to cursor/icon handling changes. 1999-03-10 14:03:06 +00:00
Ulrich Weigand 175989dbd4 Bugfix: ToAscii should not generate ASCII code when key-up flag is set. 1999-03-10 13:28:30 +00:00
Ulrich Weigand 9cfeb5b88c Avoid unnecessary GraphicsExpose events. 1999-03-10 13:26:09 +00:00
Ulrich Weigand c08b9c5b90 Bugfix: DirectedYield() only to 16-bit tasks in ReplyMessage(). 1999-03-09 17:38:26 +00:00
Marcus Meissner de43ef45ec Fixed a lot of warnings using WINE_UNUSED, casts, commenting out and
additional {}. Rewrote GetCreationModeFromSTGM so we don't get
"possible use of uninitialized variable".
1999-02-28 19:56:59 +00:00