Commit Graph

5740 Commits

Author SHA1 Message Date
Jeremy Huddleston
2b145ba81d Bigreqs are built-in and mandatory.
(cherry picked from commit f65c50c4e9)
2009-08-24 12:36:23 -07:00
Jeremy Huddleston
2fe86459cf Drop the FONTCACHE extension.
This appears to have been dead code since X-TT was merged.
(cherry picked from commit 0b45ba488d)
2009-08-24 12:36:23 -07:00
Jeremy Huddleston
725c24f046 XFree86: Remove XFree86-Misc extension
Its last remaining purpose in life has been destroyed by input
properties.  Au revoir: it's been fun, by which I mean awful.
(cherry picked from commit 22e64108ec)
2009-08-24 12:36:23 -07:00
Eamon Walsh
7e4572a571 Fix "warning: no previous prototype for ‘XevieExtensionInit’".
(cherry picked from commit 720e44f973)
2009-08-24 12:36:23 -07:00
Jeremy Huddleston
6b37231bc5 Death to TOG-CUP.
If you still care about 8bpp visuals that much, fix Composite to provide
synthetic visuals.
(cherry picked from commit a7503615a6)
2009-08-24 12:36:22 -07:00
Eric Anholt
0769b0d400 Nuke the MIT-SUNDRY-NONSTANDARD extension.
This extension provided bug-compatibility with pre-X11R6, but has been
stubbed out in our server since 2006 to return BadRequest when you actually
asked for it.
(cherry picked from commit 25827fde68)
2009-08-24 12:36:21 -07:00
Adam Jackson
95cfb2ce88 Death to Extended Visual Information.
(cherry picked from commit f6617b4127)
2009-08-24 12:36:21 -07:00
Jeremy Huddleston
36e02a8649 XQuartz: Check NSINTEGER_DEFINED to make sure the NSInteger and NSUInteger types are defined. 2009-08-09 16:13:32 -07:00
Jeremy Huddleston
b64310e3a4 1.5.3-apple14 2009-08-05 20:27:43 -07:00
Jeremy Huddleston
b608c864cc CheckWindowOptionalNeed: Ensure w->optional is set to avoid SEGFAULT
If CheckWindowOptionalNeed is called consecutively (and the first removes optional), then
we will SEGFAULT.  This can happen in XQuartz because ReparentWindow will call
pScreen->ReparentWindow which can DeleteProperty which will CheckWindowOptionalNeed... then
ReparentWindow will call it again later indiscriminantly.
2009-08-05 17:43:29 -07:00
Jeremy Huddleston
60a1d2c276 XQuartz: AIGLX: Provide empty __glXAquaDrawableResize to avoid crashing in DoMakeCurrent 2009-08-04 02:53:17 -07:00
Jeremy Huddleston
552be074e5 XQuartz: Only save lastpt on mouse/tablet events 2009-08-01 22:53:45 -07:00
Jeremy Huddleston
65ae2d00e1 XQuartz: Use mouseLocation rather than locationInWindow when setting lastpt
I don't understand the *why* ... I just see that it works better this way for games like Quake2 through wine.  It *should* be better the other way, but somehow it's not.

I guess this will go in my list of puzzles to unravel.
2009-08-01 12:43:14 -07:00
Jeremy Huddleston
6c5bf756a7 XQuartz: Don't use location delta for tablets since NSEvent does not give a precise delta. 2009-08-01 02:32:52 -07:00
Jeremy Huddleston
518ad47dec 1.5.3-apple13 2009-08-01 01:09:31 -07:00
Jeremy Huddleston
de14a63d20 XQuartz: Purge redundant QuartzBell 2009-07-31 16:09:50 -07:00
Jeremy Huddleston
c230b52c27 XQuartz: Unify how we set our bitmasks for visuals 2009-07-31 15:32:07 -07:00
Jeremy Huddleston
6c9dd6c258 Revert "XQuartz: Let miSetVisualTypes set the mask, since we are using the default anyways."
This reverts commit c850b6109c.

I lied... we're nativelt ARGB, not ABGR
2009-07-31 15:04:25 -07:00
Jeremy Huddleston
e457a44e87 XQuartz: Dead code removal for StaticColor visual 2009-07-31 14:19:50 -07:00
Jeremy Huddleston
d32c3df258 XQuartz: Cleanup the bitmask setting for GLX visuals. 2009-07-31 14:14:21 -07:00
Jeremy Huddleston
c850b6109c XQuartz: Let miSetVisualTypes set the mask, since we are using the default anyways. 2009-07-31 13:40:21 -07:00
Jeremy Huddleston
df2fbc410f XQuartz: no DirectColor 2009-07-30 01:30:52 -07:00
Jeremy Huddleston
1133473812 XQuartz: Define DDXRingBell 2009-07-30 00:51:55 -07:00
Jeremy Huddleston
6edce6947b XQuartz: Avoid a possible spinlock in applicationWillTerminate
(cherry picked from commit f430cda0fd)
2009-07-28 22:53:14 -07:00
Jeremy Huddleston
3a42b274ad XQuartz: Avoid namespace collission for BOOL in Sparkle
(cherry picked from commit 227c6e01a6)
2009-07-28 22:53:07 -07:00
Keith Packard
c83e842d62 Build against DRI_TEX_BUFFER_VERSION 1
setTexBuffer2 isn't present in this version of the structure, so don't try
to call it.

Signed-off-by: Keith Packard <keithp@keithp.com>
(cherry picked from commit a7a93c12f9)
2009-07-26 12:33:14 -07:00
Kristian Høgsberg
e34a12b18f Support setTexBuffer2 in AIGLX.
Fixes broken GLX_tfp, specifically, lets compositors ignore un-defined
alpha channel for pixmaps.
(cherry picked from commit 91b697efde)
2009-07-26 12:32:48 -07:00
Ian Romanick
ee6ce7e4cc glx: Inialize best_score before calculating visual scores
This bug was pointed out by Peter Åstrand.

Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
(cherry picked from commit 4039603413)
2009-07-26 12:25:50 -07:00
Alan Hourihane
5cae7f5a60 glx: fix retval checks when failures occur for drawable creation.
(cherry picked from commit a26c77ff43)
2009-07-26 12:25:39 -07:00
Eric Anholt
0fd4d26240 glx: Replace broken GLX visual setup with a fixed "all" mode.
With trying to match depths so that you didn't end up with a depth 24
fbconfig for the 32-bit composite visual, I broke the alpha bits on the depth
24 X visual, which angered other applications.  But in fixing that, the
pickFBconfigs code for "minimal" also could end up breaking GLX visuals if
the same FBconfig was chosen for more than one X visual.
We have no reason to not expose as many visuals as possible, but the old
"all" mode didn't match any existing X visuals to GLX visuals, so normal
GL apps didn't work at all.

Instead, replace it with a simple combination of the two modes: Create GLX
visuals by picking unique FBconfigs with as many features as possible for
each X visual in order.  Then, for all remaining FBconfigs that are
appropriate for display, add a corresponding X and GLX visual.

This gets all applications (even ones that aren't smart enough to do FBconfigs)
get all the options to get the visual configuration they want.  The only
potential downside is that the composite ARGB visual is unique and gets a
nearly full-featured GLX visual (except that the root visual might have taken
the tastiest FBconfig), which means that a dumb compositing manager could
waste resources. Write compositing managers using FBconfigs instead, please.
(cherry picked from commit c40bad88475debf7a1774e22dce835577ad32154)

Signed-off-by: Keith Packard <keithp@keithp.com>
(cherry picked from commit 516f8e2cad)
2009-07-26 12:25:11 -07:00
Eric Anholt
7f9df0c932 glx: Don't match fbconfigs to visuals with mismatched channel masks.
This fixes at least one known bug, where the depth 32 visual would end up
with a depth 24 fbconfig attached, angering compiz.
(cherry picked from commit 5100d829a4)
2009-07-26 12:24:52 -07:00
Jeremy Huddleston
cf9675c41a XQuartz: Overhaul setting up visuals
The main change is cleanup of the visualConfigs and setting up alpha correctly there to match the visuals being added earlier (so the default visual has a corresponding GLX visual)
(cherry picked from commit 7351db5c87)
2009-07-26 02:35:22 -07:00
Jeremy Huddleston
c83f701aa7 XQuartz: Bump the reported version to X11R7.4 2009-07-25 15:21:12 -07:00
Jeremy Huddleston
75e1047308 XQuartz: xpr: Added missing include for RootlessHideAllWindows 2009-07-25 10:39:26 -07:00
Jeremy Huddleston
023cef31bb XQuartz: Rever the "Set can_quit to true during a Sparkle-initiated relaunch." change
This was in place to work around the issue that was correctly solved with the
previous commit (changing the Windows menu behavior).  Reverting this change
no longer causes crashing, so it's safe to show the dialog now.
2009-07-24 09:16:37 -07:00
Jeremy Huddleston
cd5ae2c7db 1.5.3-apple12 2009-07-23 20:05:17 -07:00
Jeremy Huddleston
27ac513526 XQuartz: Change handling of Windows menu to workaround a bug triggered by mixing Sparkle and X11 windows
<rdar://problem/7088335> NSApplication releases the separator in the Windows menu even though it's an IBOutlet
2009-07-23 20:03:29 -07:00
Jeremy Huddleston
b2e9a77111 XQuartz: Set can_quit to true during a Sparkle-initiated relaunch. 2009-07-21 00:22:12 -07:00
Jeremy Huddleston
305144bfa4 XQuartz: Added a "Check for X11 Updates..." menu item. 2009-07-20 22:38:25 -07:00
Jeremy Huddleston
f1aa4746e5 1.5.3-apple11 2009-07-18 15:52:31 -07:00
Jeremy Huddleston
c45f1be364 XQuartz: Initial support for automatic updates through Sparkle 2009-07-18 15:51:29 -07:00
Jeremy Huddleston
46bfacc69c XQuartz: Localization updates
(cherry picked from commit 4b797fc1ed)
2009-07-16 17:30:01 -07:00
Jeremy Huddleston
f2db41de0c XQuartz: Cleanup getGlCapabilities to avoid hardcoding the number of displays
(cherry picked from commit 12f7365f1f)
2009-07-16 17:29:56 -07:00
Jeremy Huddleston
1814fdf45a XQuartz: Allow more than 3 OSX displays
(cherry picked from commit 45045eb396)
2009-07-16 17:29:51 -07:00
Jeremy Huddleston
3638f99f03 XQuartz: SwitchCoreKeyboard() to copy the keymap to the virtual core keyboard. 2009-07-15 23:05:11 -07:00
Jeremy Huddleston
044bd7f605 XQuartz: Cleanup keymap locking, fix a possible synchro bug
(cherry picked from commit 33e7437a49)
2009-07-15 23:04:46 -07:00
Jeremy Huddleston
64016ccc46 1.5.3-apple10 2009-07-03 19:27:03 -07:00
Jeremy Huddleston
ddc0242d8f XQuartz: ProcAppleWMAttachTransient to play nice with the new Dock in SL 2009-07-03 19:25:33 -07:00
Jeremy Huddleston
f651d98db5 1.5.3-apple9 2009-06-27 21:32:33 -07:00
Jeremy Huddleston
40c1406830 XQuartz: Don't leave zombied processes at startup 2009-06-27 15:28:34 -07:00