Commit Graph

78 Commits

Author SHA1 Message Date
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
Alexandre Julliard
1ed73fae13 Call the user signal proc for exe modules too, to avoid duplicating
the module cleanup code.
2003-05-16 20:16:56 +00:00
Alex Pasadyn
330179f956 Implemented EnumDisplaySettings* and ChangeDisplaySettings*. 2003-04-22 00:15:48 +00:00
Alexandre Julliard
18d029722f Removed input.h, queue.h, spy.h and sysmetrics.h and moved their
contents to user.h.
Moved message.h and winproc.h to dlls/user.
2002-12-03 23:34:52 +00:00
Alexandre Julliard
3f61afbbc8 Added ReleaseDC function to the USER driver interface. 2002-11-14 22:30:20 +00:00
Alexandre Julliard
0b1a367b78 Removed a couple of no longer used queue functions. 2002-10-29 21:32:37 +00:00
Alexandre Julliard
0286135de3 Rewrote hook support to store the hook chain in the server.
Split off 16-bit hook functions and re-implemented them on top of the
32-bit ones; system-wide 16-bit hooks are no longer supported at this
point.
2002-10-29 00:41:42 +00:00
Alexandre Julliard
f871f2d528 Store thread id instead of queue handle in timer structure. 2002-10-23 18:56:34 +00:00
Alexandre Julliard
0ccb9feadc Store the original GDI palette functions in pfnSelectPalette and
pfnRealizePalette so that USER doesn't have to import them.
2002-10-18 04:05:49 +00:00
Alexandre Julliard
9842b19931 Make sure things still work if 16-bit dlls cannot be loaded. 2002-10-02 02:36:20 +00:00
Alexandre Julliard
aface53759 Fixed a number of dll separation issues. 2002-08-28 22:35:23 +00:00
Ulrich Czekalla
651c5988aa - Add a max wait time for selection notifies.
- Add new function to the x11drv to get clipboard format names of
  externally registered formats.
- When a clipboard format is registered we should pass the global atom
  value as the format identifier.
- Clipboard format name should be treated as case insensitive.
- Serialize metafile bits when requested via a clipboard selection.
- Return format ids for native formats when mapping from properties.
2002-08-27 19:19:49 +00:00
Andreas Mohr
012478c9d3 Spelling stuff. 2002-05-20 18:01:44 +00:00
Alexandre Julliard
0799c1a780 Added LGPL standard comment, and copyright notices where necessary.
Global replacement of debugtools.h by wine/debug.h.
2002-03-09 23:29:33 +00:00
Alexandre Julliard
80a3bb4fc0 Removed LoadOEMResource from USER driver. 2002-01-04 18:27:41 +00:00
Andriy Palamarchuk
2489dc901d Implemented processing for actions: SPI_GET/SETGRIDGRANULARITY,
SPI_GET/SETICONTITLEWRAP, SPI_GET/SETMENUDROPALIGNMENT,
SPI_GET/SETDOUBLECLKWIDTH, SPI_GET/SETDOUBLECLKHEIGHT,
SPI_GET/SETDOUBLECLICKTIME.
2001-12-06 22:28:43 +00:00
Andriy Palamarchuk
c7de3401ac Removed Get/SetScreenSaveTimeout user driver functions because they
are not used.
2001-11-30 23:15:32 +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
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
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
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
90d4b11b3a Renamed USER_Init into UserClientDllInitialize. 2001-10-08 20:42:14 +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
Eric Pouech
78a4134e51 - implemented correctly the HSZ as local atoms and added the needed
conversions to global atoms
- enhanced internal handle <=> pointer conversions, as well as
  validity of such objects (life time, destruction, mutual access...)
- fixed a few ANSI/Unicode issues, stores most of the data as Unicode
- started having both Ansi/Unicode DDE window procs for message A/W
  transformation
- fixed a few segmented pointer issues (mainly in DdeInitialize &
  DdeGetData)
- added most of the CBF_ flags handling
- implemented the conversation announcement (XTYP_CONNECT_CONFIRM) on
  server side
- enhanced DdeQueryConfig and implemented DdeReconnect
- implemented conversation termination (including XTYP_UNREGISTER)
- several others code clean up
- added transaction support on server side too
2001-08-09 22:07:22 +00:00
Alexandre Julliard
5edf4e1cef Removed a few unnecessary Callouts. 2001-07-26 20:12:54 +00:00