Commit Graph

700 Commits

Author SHA1 Message Date
Francois Boisvert d753a999b1 Fixed a wrong usage of WIN_FindWndPtr/WIN_ReleaseWndPtr in
TranslateMDISysAccel16.
1999-05-01 10:19:35 +00:00
Patrik Stridvall a9a671d7ca Fixed ANSI compabillity. 1999-04-25 19:01:52 +00:00
Bertho Stultiens d1895a776c Built-in dlls now have resources attached via the PE-header like
normal dlls. This enables the use of the resource API.
1999-04-25 18:31:35 +00:00
Patrik Stridvall c7a8dde118 #pragma pack(?) changed to #include "*pack*.h" 1999-04-25 12:36:53 +00:00
Eric Pouech 62b856338f Fixed a bug in msg conversion. 1999-04-25 11:00:36 +00:00
Eric Pouech 8dde5a4fe4 Added missing WIN_ReleaseWndPtr. 1999-04-25 10:58:04 +00:00
Peter Bortas 1e24a087ed Added Swedish keyboard layout. 1999-04-25 10:53:22 +00:00
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
Marcus Meissner 064f170f76 More include optimisations and fixes. 1999-02-28 19:14:33 +00:00
David Luyer ee517e863e - fixed missing stdlib.h and string.h includes everywhere
- removed a couple of unneeded stdlib.h and stdio.h includes
1999-02-28 12:27:56 +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
Guy Albertelli 38d9ce811d - Code to return default language code as keyboard layout.
- Implemented other stubs associated with keyboard layout:
  GetKeyboardLayoutNameA, ActivateKeyboardLayout,
  LoadKeyboardLayout[AW], GetKeyboardLayoutList.
1999-02-28 11:13:16 +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
Francis Beaudet bfaf063892 Order of send message processing was not respected and the message
stacked last finished after the message stacked first.
1999-02-28 10:02:57 +00:00
Francis Beaudet dae09c99a2 Added checks to guard against NULL active window. 1999-02-28 10:01:44 +00:00
Norman Stevens 460881ce82 Don't check children of disabled or invisible controls for dialog
keyboard accelerators. Fixes problems with dialogs with tab boxes.
1999-02-28 09:59:32 +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
Pascal Lessard 83f39cf776 ScrollDC32 modified to return rect in logical coordinate. 1999-02-25 16:35:22 +00:00
Marcus Meissner 219cfd8387 Optimized away more includes, readded some #includes for necessary
prototypes.
1999-02-24 13:05:13 +00:00
Lionel Ulmer 75e8a78efa Added stubs for two missing methods of DInput. 1999-02-24 10:53:30 +00:00
Stephane Lussier 110cdb1cd8 Fixed some SendMessage bugs. 1999-02-24 09:43:09 +00:00
Marcus Meissner 61afa33b03 Some more recursive include fixes/optimizations. 1999-02-22 10:16:00 +00:00
Francois Gouget b233fc310a Updated to use the latest COM macros, ICOM_VTABLE and ICOM_THIS.
Added the interface implementation structures.
I remembered from an email that even when asked for a
IDirectInputDeviceA what was returned was an IDirectInputDevice2A so I
considered that we would only implement the latter. The
IDirectInputDeviceA_xxx methods have been renamed to
IDirectInputDevice2A_xxx, and we always return our IDirectInputDevice2A
implementation as before.
Renamed the implementation structures to XxxImpl.
1999-02-22 09:52:54 +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
Stephane Lussier b50272bd75 Fix problem where you need mouse activity to unlock some 16 bits
thread with multi-threaded apps.
1999-02-21 18:15:26 +00:00
Martin Walker 4d1d359c2b Fixed message filtering check. 1999-02-19 16:50:24 +00:00
Alexandre Julliard f0a0e126f3 Reverted broken close button change. 1999-02-19 16:02:32 +00:00
Francis Beaudet 6a6f6e247c Temporary fix suggested by Ulrich to allow the
MsgWaitForMultipleObject method to be called from 16 bit threads.
1999-02-19 15:34:40 +00:00
Ove Kaaven 105afce7a5 Initialized return value of 16->32 conversion of WM_MDIGETACTIVE in
case it's sent to a window that doesn't handle it (i.e. not MDI
client).
1999-02-19 15:33:59 +00:00
Ove Kaaven 077c2732b8 Added extra child arguments to DCE_GetVisRgn() to be able to handle
PARENTDC class style combined with CLIPCHILDREN window style, to
prevent mis-redraws in Free Agent 16-bit.
1999-02-19 15:27:58 +00:00
Stephane Lussier 2c86dab53a - New implementation of SendMessage, ReceiveMessage, ReplyMessage functions
to support thread-safeness, and nested SendMessage.
- Addition of ReplyMessage32.
1999-02-18 17:34:09 +00:00
Ulrich Weigand 4aaf65e6b4 Bugfix: Cope with NULL pDriverData in X11DRV_WND_GetXWindow. 1999-02-18 17:30:40 +00:00
Francois Boisvert 308c6afe62 Implementation of the pushed close button. 1999-02-18 10:37:17 +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
Dave Pickles 34a4b91e78 GetUpdateRect should return client coordinates unless the window was
created with the CS_OWNDC style and the mapping mode is not MM_TEXT,
in which case the result should be in logical coordinates.
1999-02-17 12:36:26 +00:00
Ove Kaaven 6ec132b61a Resetting X focus should not be done with SetFocus32. Called
the windowing (X11) driver's SetFocus routine directly instead.
This apparently fixes a big heap of user interface problems.
1999-02-15 12:46:32 +00:00
Eric Pouech b9544f159d Changed some functions prototypes (were returning void). 1999-02-14 14:09:42 +00:00
Jerome Vouillon 1da6dbab67 Make a correct use of clipping rectangles. 1999-02-14 13:32:13 +00:00
Ove Kaaven 8cef89652d Since SetParent now hides/shows, explicitly invalidating DCs in the
parent change operation should no longer be necessary.
1999-02-14 11:23:01 +00:00
Gerard Patel 902f9c65a5 Fix if EndDialog called in WM_INITDIALOG (DIALOG_DoDialogBox). 1999-02-14 11:22:03 +00:00
Joseph Pranevich ebc0e5e0a4 Moved initialization until later. Also moved around code a bit to be
consistant.
1999-02-14 11:15:47 +00:00
Huw D M Davies bc1d1df097 WIN31 Look still needs a close button on the left of the menu bar. 1999-02-14 09:20:01 +00:00
Francois Boisvert ae806896cb Changed SetWindowPos32 to force the update of the non-client area. 1999-02-14 09:18:15 +00:00
Marcus Meissner 65e1f75f58 Some warnings fixed, one useless VERSION warning removed (winelib). 1999-02-13 17:38:16 +00:00
Stephane Lussier 7798307bdf Use global synchronization objects, to be able to use it in different
processes (not only the process which create the synchro object).
1999-02-13 12:24:04 +00:00
Norman Stevens ce14194050 Set hwndActiveChild when maximizing a mdi child window because it is
not set when maximizing a window other than the active child.
1999-02-13 12:22:48 +00:00
Francois Boisvert 197a8e163e Implemented the WIN31 Look mdi buttons and also some defines for the
magic menu items.
1999-02-13 09:10:17 +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
Ove Kaaven a4e29e5b1d Don't call EVENT_DummyMotionNotify for hidden windows. 1999-02-13 08:55:28 +00:00
Stephane Lussier 1242311e67 Fix some thread-safeness problem when accessing the system message
queue.
1999-02-13 08:54:21 +00:00
Marcus Meissner 592c910b7c Implemented MapVirtualKeyEx (ticket 21).
Ignore keyboard layout for now.
1999-02-13 08:53:22 +00:00
Juergen Schmied 1ed51af346 Small fixes to compile with the headers (mostly nt-security). 1999-02-12 17:47:07 +00:00
Ulrich Weigand c95df10ed6 Use MONITOR_... instead of DESKTOP_... routines to get screen
dimensions; these work also with native USER.
1999-02-12 12:46:49 +00:00
Ove Kaaven 1fd63057ad WM_ACTIVATE default processing should set window focus.
Should fix focus problems in non-managed mode.
1999-02-12 12:44:53 +00:00
Juergen Schmied 0aa7fdbd30 FindWindow failed for 32 bit windows with style != WS_CHILD. 1999-02-11 10:19:10 +00:00
Michael Veksler f935c59787 Added missing includes to avoid warnings/errors. 1999-02-09 15:49:39 +00:00
Stephane Lussier b3a99de50d -Fixed MESSAGE functions that were thunking down to 16 bits implementation.
So PeekMessage32, GetMessage32, PostMessage32, PostThreadMessage are fixed
with this patch. Unicode version of those functions is currently only
calling the ASCII version.
-Fixed queue signaling using a new EVENT object in the queue for 32 bits
thread. MsgWaitForMultipleObject has been fixed and is now blocking on the
right EVENT.
1999-02-09 15:35:12 +00:00
Marcus Meissner 69c0bbea1a Some small bugfixes, added more PE relocation types (for WinCE mostly),
some console prototypes, -dll is useful for winelib too, regtest
compile fixed.
1999-02-09 14:25:57 +00:00
Lionel Ulmer 629b9fa4a3 Added buffered device access for DInput's mouse driver. 1999-02-09 14:18:21 +00:00
Francois Boisvert 47e2b852c3 The systems buttons (minimize/restore/close) now appear on the menu
bar of mdi application.
1999-02-09 14:11:19 +00:00
Stephane Lussier 91bb1f974c - Cleaned up the message queue when a thread exit (but not the process).
- Modified QUEUE_DeleteMsgQueue to exit gracefully (without crashing Wine) if
  queue link list is corrupted.
1999-02-09 14:07:07 +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
Patrik Stridvall c6e6a9aff9 TTY driver changes. 1999-02-04 13:14:42 +00:00
Patrik Stridvall ab121e7838 X11 driver changes. 1999-02-04 11:11:01 +00:00
Patrik Stridvall e8c89484e8 Implementation of the new monitor abstraction. 1999-02-04 10:12:55 +00:00
Alexandre Julliard cb8ef7d2bb Dialog window should not be destroyed in DefDlgProc; this break
modeless dialogs.
1999-01-31 15:02:23 +00:00
NF Stevens e00bb9d3f7 Create X window for child windows reparented to be top level windows. 1999-01-31 10:01:41 +00:00
Juergen Schmied 535f32ffd5 Stub for GetUserObjectSecurity. 1999-01-31 09:20:36 +00:00
Juergen Schmied afd5580fcb Every EM_GETLINE send between a 32W to a 32A window returned
incomplete values before (the first 2 chars where cut away).
1999-01-31 09:18:58 +00:00
Huw D M Davies 1b450209ec Fix typo in SetWindowPos32. 1999-01-31 09:17:38 +00:00
Bernd Herd ec721121e0 SetParent should link the window at the start of the list. 1999-01-30 15:50:58 +00:00
NF Stevens 114899a9de In Window SetWindowPos with SWP_HIDEWINDOW does not remove
the focus from the focus window; ShowWindow with SW_HIDE does.
So move the code that does this from SetWindowPos to ShowWindow.
1999-01-30 15:49:51 +00:00
Francis Beaudet 84ee125fd9 Make sure that the keystate received by the WM_XBUTTONUP and
WM_XBUTTONDOWN matches the message. In X, the keystate is changed
after the message is processed.  In Windows, it is changed before.
1999-01-30 12:59:09 +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
Marcus Meissner 08e250ee69 Fixed loading of win32 drivers. 1999-01-28 08:59:26 +00:00
Eric Pouech 0248381a14 Added support for loading drivers in Wine. 1999-01-26 17:23:30 +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
Marcus Meissner bb7959b58a Free the private data pointer, THEN set it to NULL. 1999-01-24 18:55:48 +00:00
Marcus Meissner 1da0242f58 Missing WINAPI. 1999-01-24 18:54:56 +00:00
Andreas Mohr 94e4485bff Implemented WIN16_CallMsgFilter32, WIN16_DispatchMessage32,
DrawAnimatedRects16 (stub), FormatMessage16, WIN16_GetMessage32,
WIN16_PeekMessage32 and WIN16_TranslateMessage32.
1999-01-23 14:15:17 +00:00
Marcus Meissner 308477b6df Set private data struct to NULL to expose problems in other code
better. Fixes the XUnmapWindow problems reported by replacing them
with NULL ptr dereferences.
1999-01-23 14:03:11 +00:00
Marcus Meissner 688c565880 Fixed accelerator handling. ACCEL16 used internal, ACCEL32 for Win32
API, PE_ACCEL for PE Accelerators. See documentation/accelerators.
1999-01-22 17:09:46 +00:00
Noomen Hamza bfd0228180 Fixed the NC_DrawMaxButton95 and NC_DrawMinButton95 functions. Rewrote
these functions with the same logic as the NC_DrawCloseButton function.
1999-01-20 14:03:49 +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
Ulrich Weigand 0be24af74d Handle (console) applications that never created a queue correctly
in USER_AppExit(); call InitThreadInput() in InitApp().
1999-01-20 13:16:32 +00:00
Ulrich Weigand a897518673 - Fixed creation of message queue in hook API routines.
- Some preparations for thread-local message queues.
1999-01-20 13:11:45 +00:00
Ulrich Weigand 1afd5a25f0 Use Callout to call RedrawWindow32. 1999-01-20 12:52:10 +00:00
Alexandre Julliard 8da12c43a9 Group commit for recovery after disk crash.
See Changelog for changes WRT release 990110.
1999-01-17 16:55:11 +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
NF Stevens e365a23341 Fix the return type of DLGPROC type and mask out the unset highword of
the return when a 16 bit dialog proc is called.
1999-01-03 16:13:08 +00:00
Michael Veksler ca1bc866cf Moves more stuff from windows.h.
- include/winuser.h - interface relevant to user32.spec
- include/wine/winuser16.h - the old 16 bit interface (internal use)
- include/winbase.h - some minor updates to keep things coherent.
- Lot of other files made to include wine/winuser16.h, which is no
  longer included from windows.h
1999-01-01 18:57:33 +00:00
Alexandre Julliard dbf2bf00bc Moved MsgWaitForMultipleObject implementation to USER routines, using
a normal Win32 event.
1999-01-01 17:05:53 +00:00
Alexandre Julliard 55443878fc Removed client-side wait functions; all waiting is now done through
the server.
1998-12-31 15:52:06 +00:00
Alexandre Julliard 6842064fd7 Fixed SetFocus that was broken when moved to x11drv. 1998-12-27 15:26:28 +00:00
Marcus Meissner 73458b03cd Changed // comments to /* */ so WINE compiles with non-gcc compilers
again.
1998-12-26 12:54:29 +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
Ulrich Weigand 1babe5b23c Queue handling adapted to new queue routines. 1998-12-24 15:16:08 +00:00
Ulrich Weigand 89b93bf26b Implemented stub for InitThreadInput.
Use GetThreadQueue/GetFastQueue instead of GetTaskQueue.
1998-12-24 15:15:00 +00:00
Ulrich Weigand be672fe587 Handle non-hardware X events correctly with native USER
(removed reference to MESSAGEQUEUE from KERNEL code).
Handle Expose events with native USER.
1998-12-24 14:59:53 +00:00
Rein Klazes 4caa2a1147 Lowest scan code seems to be 1, not zero. 1998-12-24 14:37:36 +00:00
Juergen Schmied bf6ee621d1 More messages [LB_*,EM_*] translated 32A from/to 32W. 1998-12-24 14:32:34 +00:00
Ulrich Weigand ae3fbab8e4 Bugfix: always clear QS_... from *both* changeBits and waitBits.
Bugfix: queue->hSendingTask is *queue* handle, not task handle.
1998-12-18 16:53:20 +00:00
Dirk Thierbach 9824ec404c Set the class hints for managed windows. 1998-12-15 17:33:04 +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
Marcus Meissner 8e7950a0ec (FOCUS_SwitchFocus) check for pFocusTo == NULL instead of hFocusTo==0. 1998-12-14 12:52:37 +00:00
Andreas Mohr 7a6228d1e1 Fixed a bunch of compiler warnings. 1998-12-11 09:16:48 +00:00
Alexandre Julliard 0c0e3bebb8 Authors: Francis Beaudet <francis@macadamian.com>, Sylvain St-Germain <sylvain@macadamian.com>, Thuy Nguyen <thuy@macadamian.com>
Lots of new stubs.
1998-12-10 15:49:22 +00:00
NF Stevens 40097ccfb5 - Handle WM_MDIRESTORE by calling WM_SYSCOMMAND for
the child window so that the system menu is set correctly.
- In MDICascade and MDITile use WM_MDIRESTORE message
to restore maximized window so that system menu is
handled correctly.
1998-12-10 10:41:23 +00:00
Robert Riggs 6cd359bc93 Stubs for IDirectInputEffect and IDirectInputDevice2A methods,
as well as AddRef(), GetCapabilites(), EnumObjects(),
GetProperty(), GetObjectInfo(), GetDeviceInfo(), Initialize(),
and RunControlPanel() for IDirectInputDevice.
1998-12-10 09:08:48 +00:00
Ulrich Weigand 2f09818fcd Removed deferred Expose events handling. 1998-12-10 08:59:53 +00:00
Ulrich Weigand ae85ebf1b1 Don't clip VisRgn against X desktop. 1998-12-10 08:57:31 +00:00
Marcus Meissner daf860e501 Superflous WINAPI removed. 1998-12-08 10:14:00 +00:00
Huw D M Davies baa5087ecd Fix includes. 1998-12-08 09:39:07 +00:00
Huw D M Davies 2d617be099 Replace GRAPH_ functions with Win SDK equivalents. 1998-12-08 09:14:09 +00:00
Brian Gerst 9784701f08 The scancode Windows send for extended keys is the scancode of the
unextended equivalent of the key, plus the extended flag.
1998-12-07 15:44:54 +00:00
NF Stevens be1566613c Added case for GCW_ATOM int GetClassLong32A. 1998-12-07 12:48:16 +00:00
Ulrich Weigand 7af95ae105 Bugfix: WIN_ResetQueueWindows would skip some windows. 1998-12-07 10:24:42 +00:00
Patrik Stridvall f638aef517 Added the new TTY driver. 1998-12-07 09:36:13 +00:00
Patrik Stridvall e35d6366ef Moved more code to the X11 driver. 1998-12-07 09:13:40 +00:00
Juergen Schmied a40e74255e Small change. 1998-12-01 12:52:56 +00:00
NF Stevens a406682cea The class name needs to be converted to a getptr. 1998-12-01 08:29:29 +00:00
Paul Quinn d8a541d1fc Fixed activation/Focus message order problem when creating a new HWND. 1998-11-30 13:37:54 +00:00
Paul Quinn eede6b044e Implementation of ChildWindowFromPointEx functions. 1998-11-30 13:15:36 +00:00
Huw D M Davies cd448946e3 Remove included color.h. 1998-11-26 16:32:00 +00:00
Huw D M Davies 9c68faadab Remove X_DC_INFO from DC and make it behave like any other PDEVICE. 1998-11-25 12:36:03 +00:00
Juergen Schmied 2e120f8893 Bugfix: SetDlgItemText32 returns BOOL not void. 1998-11-24 20:29:28 +00:00
Juergen Schmied 8090784a46 New stubs GetUserObjectInformationA|W. 1998-11-24 20:26:02 +00:00
Huw D M Davies 2bd3acf7c8 Moved DC_SetupGC functions to graphics/x11drv/graphics.c. 1998-11-22 17:45:06 +00:00
David Luyer 7401463528 Queuing of deferred Expose events. 1998-11-22 15:44:59 +00:00
Rein Klazes cb37dfda0f Fixed typo. 1998-11-22 14:13:47 +00:00
Marcus Meissner de12d2abe4 Check wndPtr for NULL. 1998-11-22 13:29:29 +00:00
David Faure 6c6e3e484a Micro patch for AltGr key on german keyboards. 1998-11-22 12:22:07 +00:00
John Richardson 04e57f97fc Allow SWP_HIDEWINDOW to be called on windows that are already hidden
without unmapping them again.
1998-11-15 18:07:04 +00:00
Pim Bollen a97db5e450 Fixed scroll bug in ScrollWindowEx32 which caused garbage on screen
outside desktop window with gtwin.exe (Dutch banking program).
1998-11-15 18:05:32 +00:00
Alexandre Julliard 737fa07db7 Small atom fixes. 1998-11-15 17:29:15 +00:00
Juergen Schmied 36636ed74c Small fixes. 1998-11-15 16:53:34 +00:00
Gavriel State c77c5928d2 Added code to manage Ascii and WideChar class names, and to return the
names in the GetClassInfo functions.
1998-11-15 09:21:17 +00:00
Juergen Schmied ebc2b778d5 Fixed warnings, some only visible with -Wstrict-prototypes or -pedantic. 1998-11-14 18:59:30 +00:00
Ulrich Weigand 431d1a0ce2 Moved X11 mouse cursor handling to the DISPLAY driver. 1998-11-14 18:57:47 +00:00
Ulrich Weigand 8bf078bfc8 Moved GetKeyboardLayoutName16 to windows/input.c. 1998-11-14 18:26:59 +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
David Faure f64b70e558 Special case handling of : Shift + arrow, shift + home, ...
X returns a char for it, but Windows doesn't. Ignore X char.
Also added some documentation.
1998-11-14 16:47:54 +00:00
Per Ångström d772adab0f Fixed SetMessageQueue32 to return FALSE, not TRUE, when called with
an invalid size parameter.
1998-11-14 11:29:02 +00:00
Lionel Ulmer 9f984ce78d Wine keyboard and mouse have now their own UIDs. 1998-11-14 11:22:25 +00:00
NF Stevens e1f67b99bb Fixed keystroke accelerators in dialogs which have controls containing
other controls as child windows.
1998-11-08 16:44:41 +00:00
Juergen Schmied fdf6aa4eed Fixes: LB_/CB_/EM_ messages for getting/setting text and a bug in
16->32 bit conversion.
1998-11-08 16:28:49 +00:00
Lionel Ulmer 12de3ea346 Added device type constants and used them in device enumeration
function.
1998-11-08 14:24:04 +00:00
Uwe Bonnes 9fdceb8a21 - adds GetExitCodeProcess
- corrects the return-type of GetKeyState
- corrects the winelib definition of IsDialogMessage
- adds winelib definitions for PrintDlg
1998-11-08 13:12:49 +00:00
Ulrich Weigand a11ce32ad4 Adapted to new input event handling. 1998-11-08 12:27:26 +00:00
Ulrich Weigand 2b067584e9 USER-side part of input event handling: contains implementation of
keybd_event and mouse_event, and USER-related code removed from
windows/event.c and windows/keyboard.c.
1998-11-08 12:26:36 +00:00
Ulrich Weigand a6663e8573 Stubs for DISPLAY.DRV removed from keyboard.c. 1998-11-08 12:24:02 +00:00
Ulrich Weigand bf844a4f38 Implementation of MOUSE.DRV (contains some code taken from
windows/event.c).
1998-11-08 12:21:35 +00:00
Ulrich Weigand d1b919c7e4 Implementation of KEYBOARD.DRV (code mostly taken from previous
windows/keyboard.c).
1998-11-08 12:19:23 +00:00
Rein Klazes cb505623c1 Added WM_GETDLGCODE handling in (Un)MapMsg32Ato16. 1998-11-07 12:24:21 +00:00
Lionel Ulmer 89f8ba2129 Changed mouse button mapping and check size of return buffer. 1998-11-06 17:28:22 +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
Marcus Meissner 4d7f5b6098 Two missing WINAPIs. 1998-11-06 10:15:00 +00:00
Jesper Skov 5c3e457b16 egcs 'ambiguous else' warnings fixes. 1998-11-01 19:27:22 +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
Ulrich Weigand 718cbaea16 Call mouse driver callback also if windows are not registered with X
(if using native USER.EXE).
1998-11-01 18:00:56 +00:00
Alexandre Julliard 463b713dfd Fixed crashes with WM_GETDLGCODE translation. 1998-11-01 16:23:54 +00:00
Patrik Stridvall ea5847247e Started moving some X11 window management code to windows/x11drv. 1998-11-01 16:22:07 +00:00
Ove Kaaven 748acbb0a5 Fixed IsDialogMessage16. 1998-11-01 15:27:12 +00:00
Huw D M Davies 84dd9feb05 A couple of small fixes to my bitmap patch. 1998-11-01 15:13:53 +00:00
Uwe Bonnes 3700777e9a Allow the user to put a mark in the debug log by adding a item in the
SYSMENU. The messages needs implementation in all other languages than
English and German.
1998-11-01 15:07:24 +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
Marcus Meissner 9cfe2d5384 Added stubs for user32,advapi32 functions. 1998-11-01 14:02:57 +00:00
Andreas Mohr b7db887be1 Added stub for CheckCursor(). 1998-11-01 13:30:18 +00:00
Tim Newsome e7cdbb0589 Fix for non-modal dialog closing. 1998-11-01 13:04:43 +00:00
David Faure 120e4576c4 Rewrote the two routines using the vkey->scancode array to use
keyc2vkey for each keycode, instead. Not tested.
Removed unused IDirectInputDeviceA_GetDeviceState.
Fixed warning in TRACE() call.
1998-11-01 13:03:43 +00:00
David Faure 6f75dc440f Deleted the vkey->sancode array, because QWERTY specific.
Back to using the X keycode instead as the scancode. Tested.
1998-11-01 13:02:59 +00:00
Marcus Meissner 1e319975d7 Small fixes. 1998-10-31 12:20:55 +00:00
Marcus Meissner 8143accee2 Lots of stubs to get winlogon.exe from nt3.51 and other NT3.51 applets
a bit further.
1998-10-31 12:19:56 +00:00
Rein Klazes 4f7abc05c2 MDIchild created when the MDI client has the MDIS_ALLCHILDSTYLES
style, should not be shown at creation nor activated unless the
WS_VISIBLE flag is set.
1998-10-31 12:18:17 +00:00
Rein Klazes bf1bc516cc Delay linking newly created window in linked list until after the
WM_NCCREATE message.
1998-10-31 12:09:32 +00:00
Juergen Schmied 982f139d19 A dest buffer was printed out as string. 1998-10-28 14:58:02 +00:00
Huw D M Davies 87f87bf61c Added pBitmapBits and pCreateBitmap to the GDI function table and
moved the X11 dependent stuff out of objects/bitmap.c into x11drv.
1998-10-28 09:53:53 +00:00
Marcus Meissner 66cd333461 EnumDisplayModes* returns a static list of modes with all depths
(helps hexen2demo), ChangeDisplaySettings returns true all the time.
1998-10-27 15:41:54 +00:00
NF Stevens 1410cdd0c4 A couple of TRACE messages are missing a newline at the end. 1998-10-26 11:04:12 +00:00
Pascal Cuoq 724f1900de 32-bit clipboard support. 1998-10-26 10:58:16 +00:00
Ulrich Weigand e948930ea8 Bugfix for QUEUE_Signal: Always use PostEvent if no thread is waiting
on the queue.
1998-10-26 10:45:13 +00:00
NF Stevens 9552483350 Fixed a minor problem with the menus for mdi child windows. 1998-10-26 10:44:17 +00:00
David Faure b745eaa466 Replaced 0x00 with 0x01 in the vkey->sancode array, so that no key is
ignored. 0x00 is used for generated key events only.
1998-10-25 09:24:29 +00:00
Douglas Ridgway efaa573501 API Documentation for SendMessage, GetTickCount, PostQuitMessage,
GetMessagePos, GetMessageTime.
1998-10-25 09:20:30 +00:00
Kai Morich 6a387e500e Added Drag&Drop from KDE app to 16/32 bit Windoze app. 1998-10-24 12:02:20 +00:00
Kai Morich 54ae47358c Added FIXME message in PostMessage32x if parameters are truncated
when calling PostMessage16.
1998-10-24 12:01:36 +00:00
Lionel Ulmer 27829e4337 Beginning of mouse support in DirectInput (only "standard" mouse
configuration supported for now).
1998-10-24 11:04:07 +00:00
Eric Kohl d0b79c0886 Fixed DrawCaption16() and DrawCaptionTemp16(). 1998-10-24 10:45:42 +00:00
David Faure 905d6226ef Fixed warning. 1998-10-24 10:45:01 +00:00
Juergen Schmied 8e26b5837d New stub RegisterTaskList.
New function EnumDisplaySettings32W().
1998-10-23 12:51:38 +00:00
Juergen Schmied 4a84dc2391 More message mapping 32A<-->32W for EM_, CB_, LB_ for Unicode. 1998-10-23 12:04:25 +00:00
NF Stevens 08aaa5d0a4 Fixed moving and sizing of child windows. 1998-10-22 11:35:04 +00:00
Marcus Meissner 96dad15fd8 XQueryKeymap -> TSXQueryKeymap (fixes the XIO errors reported). 1998-10-22 07:55:33 +00:00
Turchanov Sergey 656eb96577 Moved Multimonitor API declarations to windows.h. 1998-10-18 11:56:35 +00:00
Turchanov Sergey 86f5d82f2f Implemented DefDriverProc32 from winmm.dll. 1998-10-18 11:22:36 +00:00