Commit Graph

447 Commits

Author SHA1 Message Date
Alexandre Julliard
6ec42c0c3b Moved a bunch of definitions from gdi.h into a new gdi_private.h to
make sure we don't use them outside of gdi32.
2004-01-15 00:35:38 +00:00
Alexandre Julliard
85dcf1e1a0 Moved SetDrawable, StartGraphicsExposures and EndGraphicsExposures
functionality to x11drv escapes so that we don't have to access the DC
structure directly.
2004-01-14 04:53:11 +00:00
Alexandre Julliard
53145d96f6 Moved some code around to avoid exporting DIB functions from gdi32. 2004-01-13 23:31:46 +00:00
Alexandre Julliard
c0faca0755 Avoid direct access to the palette structure. 2004-01-13 05:25:30 +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
19dfc3ce74 Removed XInitThreads call, the X libraries still have too many bugs to
make this viable.
2004-01-09 01:10:59 +00:00
Aric Stewart
2eebf3c78e Enable Tablet support with both Tilt and Pressure. 2004-01-09 00:03:00 +00:00
Ulrich Czekalla
6af0df45d6 Add option to use the primary selection in addition to the clipboard
selection.
2004-01-08 00:43:46 +00:00
Francois Gouget
640cc3f3e1 Assorted spelling fixes. 2004-01-06 22:08:33 +00:00
Alexandre Julliard
446d8321a7 Store window icons in the window structure so that WM_SETICON can do
the right thing (based on a patch by Aric Stewart).
2003-12-31 23:51:52 +00:00
Zimler Attila
14f7446f70 Fixed Hungarian keyboard layout. 2003-12-30 19:14:59 +00:00
Sami Aario
bee1f7c8df Fixed a typo. 2003-12-30 19:14:35 +00:00
Jerry Jenkins
4e6fab5349 Fix managed state of some windows. 2003-12-13 00:05:53 +00:00
Dimitrie O. Paun
2eaefbd1a4 Move content of global.h into the appropriate private headers. 2003-12-08 21:58:55 +00:00
Alexandre Julliard
5329fc8902 Get rid of clipboard.h. 2003-12-05 04:45:50 +00:00
Alexandre Julliard
4715f13209 Moved all the files in graphics/x11drv to dlls/x11drv. 2003-12-05 00:20:27 +00:00
Alexandre Julliard
a4330f9363 Removed X11 display parameter from the config file, this is more
confusing than useful.
2003-12-05 00:11:48 +00:00
Alexandre Julliard
e6d7d5ab2c Initialize Xlib threading support to see what it breaks... 2003-12-04 21:59:51 +00:00
Mike Hearn
27d972f22a Map (WS_EX_TOOLWINDOW & WS_CAPTION) to _NET_WM_WINDOW_TYPE_UTILITY. 2003-12-04 21:54:13 +00:00
Alexandre Julliard
1bacc584e3 Portability fixes. 2003-12-04 05:11:56 +00:00
Alexandre Julliard
402b79a1e8 Porting fixes. 2003-11-27 00:59:36 +00:00
Rein Klazes
a97c7d2fb3 In clip_children() don't clip the visible region by children that have
a WS_EX_TRANSPARENT style.
2003-11-27 00:56:05 +00:00
Dmitry Timoshkov
985ae970fb Fix .spec file parameters for CreateDC driver API. 2003-11-26 22:03:34 +00:00
Huw Davies
c2d3477556 Add support for display of dibs on MSB XServers. 2003-11-25 03:27:37 +00:00
Alexandre Julliard
15c64e704b Removed the ts_xlib files. 2003-11-21 21:50:59 +00:00
Alexandre Julliard
64c0e2ac96 Removed the remaining TSX calls. 2003-11-21 21:48:36 +00:00
Alexandre Julliard
8a7fbf542d Removed more TSX functions. 2003-11-21 05:41:56 +00:00
Alexandre Julliard
720af28ea4 Always ignore BadMatch errors resulting from XSetInputFocus so that we
don't need to wait for the reply.
2003-11-21 05:30:34 +00:00
Alexandre Julliard
3f6cb0cc3f Delay the creation of the X atoms until we really need them, to allow
getting more of them in one call.
Use XGetAtomNames to retrieve all the selection atoms at once.
2003-11-21 05:23:17 +00:00
Alexandre Julliard
2496c08b76 Get rid of a bunch of TSX functions. 2003-11-21 00:17:33 +00:00
Alexandre Julliard
b539a571e3 There's no need to initialize XKB on the GDI display, this saves a
couple of server round trips.
2003-11-20 23:46:24 +00:00
Ulrich Czekalla
032bdc9f1d Initial implementation to support XDND protocol. 2003-11-20 22:09:51 +00:00
Alexandre Julliard
d09c3289a2 Intern all the atoms we'll need in one step to avoid multiple server
round trips.
2003-11-20 04:24:18 +00:00
Grant Williamson
2a825b9e3b Dutch keyboard support. 2003-11-20 04:14:30 +00:00
Dmitry Timoshkov
b0c2e54a03 Add preliminary support for keyboard layout APIs. 2003-11-14 03:32:43 +00:00
Dmitry Timoshkov
4f21b3cd64 Fix a bug in VkKeyScan. 2003-11-11 21:57:52 +00:00
Huw Davies
b330df5665 Rewrite ScrollDC. 2003-11-11 00:43:16 +00:00
Huw Davies
9959aca826 GetTextExtentPoint should include an inter character spacing set by
SetTextCharacterExtra.
2003-11-11 00:28:19 +00:00
Alexandre Julliard
9f514fe239 Avoid the XSync call in X11DRV_expect_error by storing the current
request number and checking that on errors.
Moved the XSync call from X11DRV_check_error into the callers so that
it can be avoided for requests that already wait for a reply.
2003-11-09 00:34:43 +00:00
Ulrich Czekalla
16ff6689df Implemented SetDCPenColor and SetDCBrushColor. 2003-11-05 01:43:57 +00:00
Dmitry Timoshkov
9ac3bdd85f WM_WINDOWPOSCHANGING should receive original, not fixed values. 2003-11-04 04:21:42 +00:00
Alexandre Julliard
7fcc737faa Fixed type and protection values returned by NtQueryVirtualMemory to
be closer to what Windows does.
Allow using MEM_SYSTEM without MEM_RESERVE to avoid 64k alignment.
Use pread instead of lseek+read when faking mmap.
2003-11-03 22:21:55 +00:00
Dmitry Timoshkov
262b93caa3 Add support for QWERTZ virtual keys mapping, fix many keyboard layouts
to conform to the XFree86 ones, add support for Russian cp1251 and
phonetic keyboard layouts, Israelian phonetic and Saharon keyboard
layouts.
2003-11-03 22:13:48 +00:00
Gerald Pfeifer
6e17989681 Move event_names[] into EVENT_ProcessEvent(). 2003-10-28 21:09:47 +00:00
Dmitry Timoshkov
c99317a8c9 Windows always sets cbtc.hwndInsertAfter to HWND_TOP. 2003-10-24 04:21:46 +00:00
Oleg Prokhorov
b6ee614a81 Another portion of HeapReAlloc fixes. 2003-10-24 00:29:43 +00:00
Gerald Pfeifer
219b19f780 Remove unused variable depths[]. 2003-10-21 23:49:25 +00:00
Alex Pasadyn
bab639e78a - Added support for XRandR extension.
- Added new debugging channels for resolution changing.
- Streamlined resolution changing and removed duplicated code.
2003-10-16 00:21:42 +00:00
Dmitry Timoshkov
b27c09b25f Fix Finnish keyboard layout to better match the XFree86 one. 2003-10-14 20:07:03 +00:00
Dmitry Timoshkov
9bd1dbd0b4 Fix some cases when 'keysym' might be left uninitialized. 2003-10-14 01:17:37 +00:00
Dave Belanger
9973af57e9 Implementation of underline and strikeout text in xrender. 2003-10-11 05:24:22 +00:00
Dimitrie O. Paun
fbdfd910c1 Remove SYMBOLFILE and LDDLLFLAGS from Makefiles. 2003-10-11 01:09:15 +00:00
Alexandre Julliard
e0c082b339 We only need to check for same process siblings in desktop mode for
top-level windows.
2003-10-03 03:38:05 +00:00
Alexandre Julliard
33fee69bf4 In desktop mode, only move the window in Z-order relative to siblings
belonging to the same process.
2003-10-02 04:47:35 +00:00
Salmela
2d7cc858d7 Updated Finnish keyboard layout. 2003-10-02 04:28:57 +00:00
Alex Pasadyn
bd554e63fc - Add more logging to resolution changes and queries.
- Always enumerate and allow 8, 16, and 32-bit modes.
- Add more default choices to Wine desktop sizes.
- Renamed some variables to make things easier to follow.
2003-09-30 00:31:42 +00:00
Alexandre Julliard
90dc6580f5 Make sure all 16-bit system drivers are loaded for 16-bit apps. 2003-09-27 02:34:07 +00:00
Michael Stefaniuc
340177c3e3 Fixed missing wine_tsx11_unlock() on error path. 2003-09-26 04:29:57 +00:00
Mike McCormack
9360660259 Only ignore certain keyboard events if a XLookupString returned a
value (detected by Valgrind).
2003-09-22 19:30:51 +00:00
Alexandre Julliard
9d61596624 SLOWORD and SHIWORD do not exist on Win32 (reported by Filip Navara). 2003-09-17 04:28:28 +00:00
Alex Pasadyn
a19b6aaeb2 - Allow applications to resize the Wine desktop window.
- Some cleanup of ChangeDisplaySettings and friends.
2003-09-16 20:24:29 +00:00
Alexandre Julliard
cf52644a1c Removed the A/W constants for builtin cursors, icons and resource
types since they don't exist on Windows, and added typecasts
everywhere instead.
2003-09-10 03:56:47 +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
Nerijus Baliunas
f89f3df1a2 Updated LT keyboard. 2003-08-20 03:40:47 +00:00
Raul
11e844db58 Small Estonian keyboard fix. 2003-08-18 19:51:13 +00:00
Alexandre Julliard
19b6a49845 Allocate DebugInfo field for all critical sections (based on a patch
by Alex Pasadyn).
Get rid of the Wine-specific CRITICAL_SECTION_INIT macro.
2003-08-12 23:50:54 +00:00
Dmitry Timoshkov
6f84b68776 Print X display and locale of X Input Method in the debug log. 2003-08-12 20:33:43 +00:00
Dmitry Timoshkov
b5bd66e86f Ignore some keyboard events. In any case we don't know how to handle
them.
2003-08-12 18:54:50 +00:00
Patrik Stridvall
ba78aac406 Fixed some issues found by winapi_check. 2003-08-08 21:07:23 +00:00
Supphachoke Suntiwichaya
e7fe5bc1d3 Added Thai keyboard layout. 2003-08-07 20:11:02 +00:00
Dmitry Timoshkov
28f8cf29fb Remove remnants of the old code. 2003-08-05 18:25:47 +00:00
Francois Gouget
3ca761220a Spelling fixes (s/occured/occurred/ and variants). 2003-07-15 20:53:39 +00:00
Huw D M Davies
a9bb2a550e Make the return buffer larger (for example EuroSign in uft8 is 3+1
bytes long).
2003-07-15 20:47:39 +00:00
Lionel Ulmer
cc0b7efead Desktop mode should only disable mode switching, not gamma ramp
support.
2003-07-15 20:44:24 +00:00
Dmitry Timoshkov
8a8d1b93ca Added support for CP_UNIXCP. 2003-07-09 04:22:57 +00:00
Ulrich Czekalla
18873e77d0 Fixed handling of synthesized data.
Don't report errors when there is no selection owner.
Reintegrate the COMPOUND_TEXT patch by Kusanagi Kouichi.
2003-07-08 21:02:51 +00:00
Alexandre Julliard
453b324315 Map top-level windows when WS_VISIBLE is set, but don't unmap them
when it's cleared.
2003-06-24 19:31:47 +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
Dmitry Timoshkov
965cbd2a96 Along with AltGr state save also all possible modifier states. 2003-06-23 19:57:59 +00:00
Kusanagi Kouichi
44dcf6ad16 Store WM_NAME and WM_ICON_NAME in COMPOUND_TEXT format. 2003-06-20 23:29:06 +00:00
9d5295f5bd Correct mode nr passed to X11DRV_XF86VM_SetCurrentMode. 2003-06-16 01:21:31 +00:00
Alexandre Julliard
15566391e2 Proper support for CPPFLAGS and LDFLAGS (suggested by Todd Vierling). 2003-06-13 23:26:01 +00:00
Sylvain Petreolle
656dc7a8f2 Added Euro and antiquote to the French keyboard layout. 2003-06-13 18:54:00 +00:00
Carlos Lozano
c11d4d9ac3 Avoid printing an uninitialized buffer. 2003-05-20 19:18:37 +00:00
Alexandre Julliard
c177c6e695 Make sure drawable_org is set correctly when using one of the parents
as drawable (found by Dmitry Timoshkov).
2003-05-19 19:09:40 +00:00
Alexandre Julliard
08eac70d3e Avoid the 'Below' stacking mode when changing Z order since many
window managers don't get it right.
Fix Z order synchronization for child windows (found by Dmitry
Timoshkov and Ulrich Czekalla).
2003-05-19 19:08:57 +00:00
Dmitry Timoshkov
42c4d27842 Mask out MWMO_WAITALL if only server queue handle was passed in. 2003-05-19 19:07:32 +00:00
Ulrich Czekalla
4d837749d8 We should pass the callers client-area rect and clip rect to x11drv
otherwise we'll fail to scroll all children.
2003-05-11 03:01:42 +00:00
Mike Hearn
34dd455f44 Support _NET_WM_PING protocol so the WM can detect freezes. 2003-05-04 02:27:20 +00:00
Alexandre Julliard
69361e08b9 Moved x11drv.h to dlls/x11drv. 2003-04-22 04:05:08 +00:00
Alex Pasadyn
330179f956 Implemented EnumDisplaySettings* and ChangeDisplaySettings*. 2003-04-22 00:15:48 +00:00
Alexandre Julliard
b650372b86 Don't bother sending WM_NCCREATE to the desktop window, this doesn't
work anyway (spotted by Uwe Bonnes).
2003-04-19 21:27:19 +00:00
Rein Klazes
82b0a13cab Fix the path of keyboard.c inside a FIXME log statement. 2003-04-16 23:10:21 +00:00
Alexandre Julliard
8d361bd41c Properly initialize keyboard auto-repeat for all X connections. 2003-03-23 20:07:55 +00:00
Alexandre Julliard
114a31a2a8 Take advantage of new winebuild syntax to remove redundant function
names in spec files.
2003-03-20 03:53:12 +00:00
Tony Lambregts
2e24a148bf Replace DPRINTF with TRACE. 2003-03-15 00:12:42 +00:00
Duane Clark
5d35bc7428 Correctly encode wParam for WM_SYSCOMMAND,SC_SIZE messages. 2003-02-18 23:24:57 +00:00
Alexandre Julliard
27441a91e0 XCloseIM sometimes crashes in Xlib, don't call it. 2003-01-30 01:08:53 +00:00
Liu Spider
bda34eaa52 Added XNFocusWindow attribute when creating a IC. 2003-01-30 01:07:43 +00:00
Alexandre Julliard
49a013cdd3 When using desktop mode attach all thread inputs together, so that
keyboard focus works properly.
2003-01-28 00:34:07 +00:00
Leonardo Quijano Vincenzi
0207855e1d Fixed Latin American keyboard (key "?!" was reversed). 2003-01-24 00:47:08 +00:00
Alexandre Julliard
a52b2777b2 Keysym check should use 0x8000 instead of 0x800 (spotted by Dmitry
Timoshkov).
2003-01-23 21:35:14 +00:00
Alexandre Julliard
f8aa3b506c Added -Wpointer-arith gcc flag, and fixed the resulting warnings. 2003-01-23 21:32:35 +00:00
Alexandre Julliard
e5fb975a6e Added dead keys support using X input methods (based on a patch by
Dmitry Timoshkov).
2003-01-23 01:29:58 +00:00
Alexandre Julliard
8b6a21950d Create an X input context for each top-level window. 2003-01-23 01:28:12 +00:00
Alexandre Julliard
a29960e702 Make sure to always set X focus on the top-level window, not on
child windows.
2003-01-21 20:16:20 +00:00
Dan Kegel
0fd521fee3 Change RECT to use LONG to match win32 standard headers and fix format
strings to use %ld for RECT elements.
2003-01-08 21:09:25 +00:00
Dimitrie O. Paun
297f3d898d Define NONAMELESS{STRUCT,UNION} explicitly in the files that need them. 2003-01-07 20:36:20 +00:00
Dimitrie O. Paun
cef5961d2b Eliminate lots of __WINE__ conditionals from the headers. 2003-01-03 19:12:55 +00:00
Mauro Carvalho Chehab
9a1c52e6f6 Included a specific ABNT-2 scan and vkey tables, and an ABNT-2
keyboard with <ALT><GR> key codes.
2002-12-19 21:14:47 +00:00
Alexandre Julliard
dbf8b78acd Added .spec.def files. 2002-12-12 22:04:04 +00:00
Alexandre Julliard
435e2e63f4 winnt.h should not be self-contained, it must depend on windef.h so
that STRICT works correctly; moved some definitions back to windef.h
where they belong, and removed a couple of definitions that don't
exist on Windows.
2002-12-10 22:56:43 +00:00
Peter Mladek
5dc7f13380 Added 2 more Czech keyboard layouts compatible with XFree86 4.1. 2002-12-05 19:55:04 +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
9169729b0b Merged font.h and path.h into gdi.h. Moved x11font.h to
dlls/x11drv. Removed a number of unnecessary #includes.
2002-12-03 19:18:41 +00:00
Francois Gouget
d2667a4ce3 Removed unnecessary HANDLE typecasts. 2002-12-02 18:10:57 +00:00
Lionel Ulmer
bc8cc53163 Add DDCAPS2_CANRENDERWINDOWED capabilities to our DDraw driver. 2002-11-30 01:53:13 +00:00
Vincent Béron
ca7bce5960 Fix for deprecated use of label at the end of compound statement. 2002-11-27 20:14:32 +00:00
Lionel Ulmer
56ab2b3e91 Load OpenGL library dynamically from x11drv. 2002-11-15 04:16:38 +00:00
Huw Davies
94705862d6 Client side render fonts for XServers without the Render extension
using X11 core requests.
2002-11-14 22:31:34 +00:00
Alexandre Julliard
3f61afbbc8 Added ReleaseDC function to the USER driver interface. 2002-11-14 22:30:20 +00:00
Huw Davies
80ffa243d8 Use iso8859-15 on European keyboards. 2002-11-13 19:46:08 +00:00
Alexandre Julliard
1e1313d54c Made the dll entry point default to DllMain and removed most of the
'init' spec file declarations.
2002-11-04 23:53:41 +00:00
Alexandre Julliard
cf2e57d0c7 Split out some more 16-bit code. 2002-10-31 22:06:53 +00:00
Alexandre Julliard
e0315e4433 Converted x11drv to -DSTRICT. 2002-10-31 02:38:20 +00:00
Alexandre Julliard
9376fb30c5 Fixed a number of -DSTRICT warnings. 2002-10-31 02:12:18 +00:00
Jeff Smith
6f31013f7b Corrections to the Spanish keyboard layout. 2002-10-29 21:28:12 +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
Greg Turner
0159c07011 Avoid X11 error during DGA detection. 2002-10-25 21:04:35 +00:00
Andreas Mohr
6e256c72fe - fix some pselling
- enhance some TRACEs
2002-10-25 19:09:02 +00:00
Alexandre Julliard
d8bbcb2f23 Implemented GetWindowTask16 on top of GetWindowThreadProcessId.
Removed no longer used hmemTaskQ field in WND structure.
2002-10-23 18:56:02 +00:00
Alexandre Julliard
23bb3715f7 Added support for building certain dlls with -DSTRICT.
Added -DWINE_NO_STRICT flag to dlls that don't support STRICT yet.
2002-10-18 23:46:28 +00:00
Alexandre Julliard
11e3523949 Rewrote caret implementation to store the information in the server. 2002-10-17 01:24:33 +00:00
Alexandre Julliard
a9e8f59c95 Moved mouse capture handling into the server. 2002-10-12 01:24:37 +00:00
Alexandre Julliard
5030bda77c Reimplemented Get/SetActiveWindow, Get/SetFocus and
Get/SetForegroundWindow by storing the information in the
server. Implemented correct inter-process window activation.
2002-10-11 23:41:06 +00:00
Nerijus Baliunas
9f47e97818 Better Lithuanian keyboard layout. 2002-10-10 23:30:13 +00:00
Michael Stefaniuc
bc54d78532 - change the internal functions in windows/cursoricon.c to use 32bit
handles
- move the implementation of ExtractAssociatedIcon16 to
  ExtractAssociatedIconA
- convert HICON to a void*
- fixed some handle conversions that happened to be in the way while
  doing the above
2002-10-10 21:22:09 +00:00
Alexandre Julliard
ceb25b5b34 Enable anti-aliasing for all font sizes. 2002-10-02 18:33:53 +00:00
Alexandre Julliard
137eed8d9b Moved X flags and libraries out of Make.rules into the makefiles that
need them.
2002-10-01 18:16:19 +00:00
Jukka Heinonen
6f5dd37b8a Use correct check to see if xserver supports xvidmode. 2002-09-29 18:02:40 +00:00
Alexandre Julliard
db057e70f5 Fixed X11 error code mismatch and removed debugging output. 2002-09-26 03:23:13 +00:00
Alexandre Julliard
4b9344eb15 Moved ts_xlib.c into x11drv and removed libwine_tsx11. 2002-09-25 03:29:55 +00:00
Alexandre Julliard
2c40e29987 Import wine_tsx11_lock/unlock directly from x11drv in opengl32 and
ddraw, so that they don't need to link with libwine_tsx11.
Removed header wine_gl.h.
2002-09-25 00:29:56 +00:00
Alexandre Julliard
e9119c198d Removed some more TSX11 functions and files. 2002-09-24 18:36:51 +00:00
Alexandre Julliard
8f1f4c2d5f Fixed #endif. 2002-09-24 03:59:08 +00:00
Alexandre Julliard
df8e6eeb0f Removed a bunch of no longer used TSX wrappers. 2002-09-24 03:17:31 +00:00
Dimitrie O. Paun
9dd1279a82 - Remove export of DRAG_QueryUpdate from USER.
- Get rid of associated 16 bit code from x11drv.
- Simplifications, cleanups, etc.
2002-09-23 20:56:37 +00:00
Dimitrie O. Paun
9ffa91ef12 Have USER deal with the caret when scrolling a window. 2002-09-20 19:35:54 +00:00
Alexandre Julliard
1a80921903 Added support for the take focus protocol. 2002-09-18 23:09:50 +00:00
Alexandre Julliard
cea2e825b2 Link all remaining dlls except kernel32 as separated dlls, by
temporarily exporting the few functions that are not properly
separated yet.
2002-09-06 18:51:31 +00:00