Commit Graph

102 Commits

Author SHA1 Message Date
Alexandre Julliard 8653598a66 user: Defer all ExitWindowsEx processing to wineboot. 2006-08-17 20:54:21 +02:00
Robert Shearman b550f34f2e user: Make ExitWindowsEx asynchronous by deferring the real work to the explorer process. 2006-08-08 19:35:15 +02:00
Jonathan Ernst 360a3f9142 Update the address of the Free Software Foundation. 2006-05-23 14:11:13 +02:00
Alexandre Julliard 90af5a0d17 server: Connect to the window station and desktop specified by startup info.
If window station and desktop aren't inherited from the parent, don't
connect to them from the server, but from the USER init code where we
can get the proper values from the startup info structure.
2006-03-27 12:57:17 +02:00
Francois Gouget 6edd77228d user: Fix ExitWindows().
- Use 0 to get an infinite timeout with SendMessageTimeoutW().
- Use SendMessageTimeoutW() to send the WM_ENDSESSION messages too so
we don't get stuck if a process is hung.
- Only send WM_ENDSESSION to windows that received a
WM_QUERYENDSESSION message. Also better mimick the Windows behavior.
2006-02-24 21:06:23 +01:00
Robert Shearman 4db3769e70 GetDesktopWindow can now potentially create a thread, so we shouldn't
call this function from DllMain otherwise it is possible to cause a
deadlock.
2005-09-17 14:28:44 +00:00
Alexandre Julliard 5a49e40149 SendMessageTimeout takes a DWORD_PTR not a DWORD. 2005-09-12 20:43:32 +00:00
Francois Gouget 6415654f5f If given the EWX_FORCE flag, ExitWindowsEx() should not send the
WM_{QUERY}ENDSESSION messages.
Add support for EWX_FORCEIFHUNG.
ExitWindowsEx() should return true if it succeeds, even if the user
cancels the shutdown.
2005-09-09 10:35:47 +00:00
Alexandre Julliard 20a1a203c6 Use a more portable scheme for storing the name of a critical
section.
2005-09-09 10:19:44 +00:00
Alexandre Julliard 1f90b5cff0 Make sure we don't call the graphics driver after process detach. 2005-08-10 09:56:23 +00:00
Alexandre Julliard bf575f1f8f Initialize the various menu global variables on demand instead of at
startup time.
2005-07-19 11:51:31 +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
Alexandre Julliard 2997fc51a4 Fixed a few prototypes in the USER driver. 2005-07-18 13:20:18 +00:00
Alexandre Julliard 8c518808b8 Put in place the basic infrastructure to allow supporting multiple
desktop windows.
2005-07-08 11:37:40 +00:00
Alexandre Julliard e419cb8869 Moved initialization of the desktop window in the graphics driver to a
separate CreateDesktopWindow entry point instead of overloading
CreateWindow.
2005-07-07 20:33:29 +00:00
Mike McCormack c787b146e1 -Wpointer-sign fixes for gcc 4.0. 2005-07-06 10:36:28 +00:00
Alexandre Julliard ab88743c25 Moved a few registry keys from HKLM\Software\Wine to
HKCU\Software\Wine for consistency.
2005-06-20 16:04:32 +00:00
Alexandre Julliard 2e4bca9db5 Added magic comments to all Wine-specific registry accesses to make
them easier to grep.
2005-06-13 18:56:00 +00:00
Alexandre Julliard 0260e2b543 Moved functions from windows/user.c to more appropriate places, and
get rid of that file.
2005-05-25 18:42:37 +00:00
Alexandre Julliard c3116c5e61 Renamed ttydrv and x11drv to winetty.drv and winex11.drv respectively
to follow the namespace conventions and make it clear that they are
drivers and not dlls.
Moved the graphics driver configuration to HKLM\Software\Wine\Drivers.
2005-05-06 19:38:50 +00:00
Alexandre Julliard d3a195a66d Moved the USER syslevel to dlls/user/user_main.c.
Moved a bunch of stubs to dlls/user/misc.c.
2005-04-27 11:09:55 +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 2fb7c8754a Moved DCE support to the X11 driver. 2005-03-25 16:47:04 +00:00
Alexandre Julliard aef19abc82 Moved SendInput and related functions to the USER driver to avoid a
number of dll separation hacks.
2005-03-09 16:45:23 +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
Alexandre Julliard d820437b19 Removed unused ForceWindowRaise function. 2005-01-17 13:46:57 +00:00
Jon Griffiths 32454a81a5 Remove unneeded headers to reduce unneeded rebuilds. 2004-12-20 19:00:11 +00:00
Alexandre Julliard 4a9b22b2c3 Merged system metrics support into sysparams.c, and moved that file to
the dlls/user directory.
2004-12-09 13:48:56 +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 56ef1fec30 Moved palette functions to user_main.c and removed
windows/painting.c.
2004-12-08 14:12:09 +00:00
Alexandre Julliard e0db46c4aa Get rid of the client-side window timer structures. 2004-11-29 18:18:02 +00:00
Dmitry Timoshkov 5736111c83 Protect USER32 against early graphics driver unloading. 2004-10-18 21:25:26 +00:00
Alexandre Julliard 503ffff9a5 Allow specifying multiple graphics drivers and use the first one that
loads successfully.
2004-07-13 03:53:55 +00:00
Ulrich Czekalla 06a60621ab ScrollDC should take into account overlapped windows. With this change
ScrollWindowEx can be moved out of X11drv.
2004-06-15 17:04:02 +00:00
Alexandre Julliard f1e755db4b Preload keyboard.drv when Windows version is Win9x. 2004-04-21 22:30:08 +00:00
Dimitrie O. Paun abe9c975a8 Remove the rest of the Tweak look hack. 2004-04-01 21:06:14 +00:00
Dimitrie O. Paun 126227a55a Remove the support for the Win 3.1 Look. 2004-04-01 04:57:12 +00:00
Alexandre Julliard a2e2e18586 Avoid a few more GetModuleHandle calls. 2004-02-12 00:35:01 +00:00
Alexandre Julliard a51bb8151d ScrollDC doesn't need to be in the graphics driver. 2004-01-12 21:15:16 +00:00
Alexandre Julliard bfce151ae5 Added window classes in the server, and support for inter-process
GetClassWord/Long (based on a patch by Mike McCormack).
Various fixes to the class instance handling.
2003-12-10 04:08:06 +00:00
Dimitrie O. Paun 2eaefbd1a4 Move content of global.h into the appropriate private headers. 2003-12-08 21:58:55 +00:00
Dmitry Timoshkov b0c2e54a03 Add preliminary support for keyboard layout APIs. 2003-11-14 03:32:43 +00:00
Alexandre Julliard 1c73771f30 Use the standard DllMain entry point. 2003-10-10 04:30:54 +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 7df1b9e03a Start using the exported TEB structure from winternl.h where
possible.
2003-08-28 19:57:35 +00:00
Alexandre Julliard 07f1198eea Store window procedures in a static array instead of creating a heap.
Only allocate the winproc selector when actually needed.
2003-07-09 22:31:34 +00:00
Alexandre Julliard 04c1f9f88c Only compute dialog base units once we need them. 2003-07-09 19:53:17 +00:00
Alexandre Julliard 7535424254 Lookup COM/LPT devices in the registry when they are used, instead of
loading everything at startup.
2003-07-08 21:14:07 +00:00
Ulrich Czekalla b2df5f9f19 - use global atoms for the format ids
- add timeout when calling XCheckTypedWindowEvent
- fix broken IsClipboardFormatAvailable; it tried to do a trick with
  EnumClipboardFormats by making incorrect assumptions
- in X11DRV_IsClipboardFormatAvailable do a quick exit if no one owns
  the selection
- add 1 second *minimum* time lapse between XSelectionOwner calls
- sync clipboard ownership between different wine processes
- prevents apps from getting into wierd state where they thought they
  didn't own the selection but they did and as a result queried
  themselves for available selection data
2003-06-23 23:02:02 +00:00