Commit graph

3238 commits

Author SHA1 Message Date
Jeremy Huddleston
459ae6273a XQuartz: Fix a bunch of compilation warnings about style
(cherry picked from commit 54000bdcbc)
2009-09-27 23:29:37 -07:00
Jeremy Huddleston
f7d5ab6cd2 XQuartz: Nuke TSM
It's deprecated in SnowLeopard.  Ben and I both have no idea what it is for.  It says something about unicode input, but urxvt seems fine taking in unicode, so /shrug... bye.
(cherry picked from commit 29cb904e4d)
2009-09-27 23:26:01 -07:00
Jeremy Huddleston
547a056ac3 XQuartz: Fix inverse map from mode_switch to alt
(cherry picked from commit de6cee11e1)
2009-09-27 23:25:42 -07:00
Jeremy Huddleston
3fdb60fa24 XQuartz: Force a keymap resync on the first keypress to workaround XKB mucking with our keymap.
We need to find a better way to work with XKB on this.
(cherry picked from commit ceaa5c779c)
2009-09-27 23:25:26 -07:00
Jeremy Huddleston
1cc332052b XQuartz: Stop checking version numbers of the bundle because CFBundleGetVersionNumber is gimpish
(cherry picked from commit 9f5bdd8960)
2009-09-26 23:44:23 -07:00
Jeremy Huddleston
e0086630d1 XQuartz: GLX capabilities: Allow 16bit accumulation buffers
http://xquartz.macosforge.org/trac/ticket/308
(cherry picked from commit e9e63a2118)
2009-09-23 18:20:39 -07:00
Jeremy Huddleston
1fd7c1fd47 XQuartz: pbproxy: Remove debugging XBell() 2009-09-14 13:52:53 -07:00
Jeremy Huddleston
647c871dc9 XQuartz: launchd: Fallback on :0 if prefix:0 gives an error for the socket name 2009-09-06 14:02:53 -07:00
Jeremy Huddleston
9a77905a97 XQuartz: Fix "warning: function declaration isn’t a prototype" noise 2009-09-05 14:04:53 -07:00
Jeremy Huddleston
1b659cda1a XQuartz: pbproxy: 64bit fixes: Properly process an array of Atoms 2009-09-05 14:04:10 -07:00
Jeremy Huddleston
701c24da3e XQuartz: Fix a strcpy/strcmp typo 2009-09-05 02:51:09 -07:00
Jeremy Huddleston
3d5e10cce3 XQuartz: Check the DISPLAY environment variable to see if the socket at startup is ours. If not, ignore it and fork/exec startx. 2009-09-04 00:38:58 -07:00
Jeremy Huddleston
990038ab00 XQuartz: Use --with-launchd-id-prefix for consistency with xinit
Also actually honor LAUNCHD_ID_PREFIX and APPLE_APPLICATION_NAME
2009-09-03 19:40:11 -07:00
Jeremy Huddleston
0f3a89d306 XQuartz: GL: Unset GL_EXT_gpu_program_parameters for Tiger/ppc
See http://trac.macports.org/ticket/20638
2009-08-27 16:21:11 -07:00
Jeremy Huddleston
7fe37137d8 XQuartz: GL: Explicitly set GL_EXT symbols to 0 if they are not in OpenGL.framework to prevent X11's glext.h from setting them to 1. 2009-08-27 11:04:00 -07:00
Jeremy Huddleston
203df06c0e XQuartz: Use applewmproto 1.4 updated headers. 2009-08-25 20:11:38 -07:00
Jeremy Huddleston
1755239330 XQuartz: Use internal xshm header for new xextproto 2009-08-24 12:36:24 -07:00
Jeremy Huddleston
0a9f57c499 Update to xextproto 7.0.99.1.
xextproto had Xlib client headers moved into libXext.
Protocol header files are named fooproto.h, header files with constants
foo.h or fooconst.h where foo.h was already in use for client-side headers.
(cherry picked from commit d3f6b43a24)
2009-08-24 12:36:23 -07:00
Jeremy Huddleston
0570adfe05 Sync is built-in and mandatory.
(cherry picked from commit f3ff238601)
2009-08-24 12:36:23 -07:00
Jeremy Huddleston
79ae3d47ed XC-MISC is built-in and mandatory.
(cherry picked from commit 3fcf4d3eb8)
2009-08-24 12:36:23 -07:00
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
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
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
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
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
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