Commit Graph

4441 Commits

Author SHA1 Message Date
Jeremy Huddleston
b876e0452e 1.4.2-apple25 2008-11-25 21:41:34 -08:00
Jeremy Huddleston
27b1a5eb34 XQuartz: Fix an uninitialized keyboard_type on Tiger 2008-11-25 20:14:37 -08:00
Jeremy Huddleston
d2e0624dd3 XQuartz: Simplify the xquartz_resetenv_display path 2008-11-25 11:25:58 -08:00
Jeremy Huddleston
f1a52b5b5a XQuartz: Force X11Controller to reset a broken DISPLAY envvar. 2008-11-25 01:30:03 -08:00
Jeremy Huddleston
b4add7826d XQuartz: Removed hardcoded org.x.X11 from MachIPC as well 2008-11-25 01:13:35 -08:00
Jeremy Huddleston
7a8c666594 XQuartz: Add fallback for xpbproxy's display for Tiger or no-launchd-Leopard 2008-11-25 00:51:01 -08:00
Jeremy Huddleston
fbf4b0d33f XQuartz: Use the environment to pass the bundle's prefs domain on to xinit/quartz-wm for Tiger or no-launchd-LEOPARD 2008-11-25 00:39:52 -08:00
Jeremy Huddleston
eeb323612e XQuartz: Dead code removal 2008-11-25 00:20:57 -08:00
Jeremy Huddleston
3a500d9247 XQuartz: Don't hardcode values of org.x.X11 for the preferences domain 2008-11-25 00:15:53 -08:00
Jeremy Huddleston
dcb0f6a2e6 XQuartz: More dead code removal 2008-11-24 23:33:54 -08:00
Jeremy Huddleston
73ec6d3dfe XQuartz: Disable some error spew on Tiger (where it wouldn't be an error) 2008-11-24 12:33:20 -08:00
Jeremy Huddleston
46c077d9b4 XQuartz: Dead code removal 2008-11-22 20:23:46 -08:00
Jeremy Huddleston
37f535aff3 XQuartz: More Tiger cleanup: bootstrap_strerror 2008-11-22 15:47:14 -08:00
Jeremy Huddleston
2df934fc73 XQuartz: Fixed --disable-glx 2008-11-22 14:06:07 -08:00
George Staplin
eb6f884d4f XQuartz: GL: Add a branch for a NULL DrawablePtr.
This may fix a bug where a NULL structure pointer was accessed resulting in:
KERN_PROTECTION_FAILURE at 0x0000000000000004

I studied the structures in use, and I believe it was the pDraw->id that resulted in
this fault in attach().

The layout of the _Drawable structure is 4 chars, and then the id, so the offset
seems correct for such a bug.

Also make it return an error for now, and ErrorF() to help us figure out where it's
going wrong elsewhere to cause a NULL DrawablePtr.

I also made various formatting changes, because the formatting was inconsistent.
Next time I will probably do the formatting in a separate commit, but hindsight is
20/20.

I will apply a fix to the 1.5 branch after this, in a similar manner.
2008-11-22 10:38:06 -07:00
Jeremy Huddleston
5b015850d2 1.4.2-apple24 2008-11-21 11:20:58 -08:00
Jeremy Huddleston
e62107e552 XQuartz: Don't use LS to find X11.app on Tiger. 2008-11-21 11:20:31 -08:00
Jeremy Huddleston
0ad91c59be XQuartz: Update applewm deps 2008-11-21 11:08:00 -08:00
Jeremy Huddleston
b6490aef49 XQuartz: honor --disable-glx 2008-11-21 11:03:11 -08:00
Jeremy Huddleston
56c469a68b XQuartz: spewCallStack is noop on Tiger now... 2008-11-21 10:57:31 -08:00
Jeremy Huddleston
0947aa7911 XQuartz: pbproxy: Added some typedefs for types not available on Tiger 2008-11-21 10:54:55 -08:00
Jeremy Huddleston
803509072f XQuartz: More Tiger ifdefs 2008-11-21 10:53:39 -08:00
Jeremy Huddleston
a61a8d9047 XQuartz: Resurrect the old audio path for Tiger 2008-11-21 10:44:11 -08:00
Jeremy Huddleston
799715b8f3 XQuartz: pbproxy: Push the pbproxy Xevent processing into its own thread
and just have the AppKit thread wake it up.
2008-11-19 11:42:59 -08:00
Jeremy Huddleston
17eebd7c10 mi: Don't hold the event mutex during SaveScreens() 2008-11-17 22:36:14 -08:00
Jeremy Huddleston
477c6968a8 XQuartz: pbproxy: nuke RCS Id, update header license/copyright 2008-11-16 17:57:46 -08:00
Jeremy Huddleston
aaa3d5ada9 XQuartz: 1.4.2-apple23 2008-11-16 15:35:45 -08:00
Jeremy Huddleston
91f3c34357 XQuartz: Use AvailabilityMacros.h instead of availability.h for Tiger 2008-11-16 15:35:17 -08:00
Jeremy Huddleston
cb6ffce68a XQuartz: pbproxy: Remove thread-main.m
it got accidently added and isn't used.
2008-11-16 10:42:03 -08:00
Jeremy Huddleston
be8ac84c15 XQuartz: Don't use TIS on Tiger... 2008-11-15 19:45:49 -08:00
Jeremy Huddleston
4294493632 XQuartz: Integrated xpbproxy into the server.
Added a configure option called --enable-standalone-xpbproxy which is useful for deveoping xpbproxy.
The 'active' switch in preferences just disables the in-server xpbproxy (not this standalone).
2008-11-15 11:16:42 -08:00
Jeremy Huddleston
7dff93ec1a Xquartz: Force sending mouse clicks to AppKit if we're over the menu bar 2008-11-13 12:45:35 -08:00
Jeremy Huddleston
aa0e9ab1c7 XQuartz: Fixed XBell() when not using system alert. 2008-11-13 11:32:40 -08:00
Jeremy Huddleston
acefa7e3c8 XQuartz: Added more debugging to handoff spew 2008-11-13 11:12:40 -08:00
George Staplin
ed181382dd XQuartz: GL: Handle the alpha differently when the alpha is equal to GLCAPS_COLOR_BUF_INVALID_VALUE.
This prevents visuals with odd sizes.  The machine I use didn't have
this problem, but it shows up on some others.
2008-11-12 17:17:25 -07:00
George Staplin
373b8a5f32 XQuartz: Disable 2 calls to miSetVisualTypesAndMasks that seem to be unnecessary, and possibly wrong (with regard to masks and bits per RGB).
Use the settings queried from the system in xprScreen.c, rather than those 2 calls.

The 2 calls increased the total number of visuals a great deal (when using GLXEXT),
and not all of the visuals were usable with GLX.  Some of the visuals aren't usable
with GLX still, such as DirectColor, but that seems to be acceptable based on my
understanding of the manual that states "a subset of visuals are made available
for OpenGL rendering."
2008-11-09 18:51:08 -07:00
Jeremy Huddleston
54d20f6d33 XQuartz: CFBundleShortVersionString needs to conform to X.Y.Z as well... sigh 2008-11-08 23:32:40 -08:00
Jeremy Huddleston
8f194e7d69 1.4.2-apple22 2008-11-08 16:51:40 -08:00
Jeremy Huddleston
980df1b4ff XQuartz: Make LS parse our version properly... it didn't like our CFBundleVersion 2008-11-06 14:41:55 -08:00
Jeremy Huddleston
69cc358026 mi: Re-added locking to mieqProcessInputEvents
because mieqEnqueue can thrash it still...
2008-11-05 19:45:20 -08:00
George Peter Staplin
5bc78b9f96 GL/glx: WRITE_PAIR the GLX_SAMPLE_BUFFERS_SGIS, and GLX_SAMPLES_SGIS mode data.
More recent versions of glxcmds.c already do this.

This enables glxinfo to correctly detect the multisampling with output like so
from glxinfo -v:
 multiSample=6  multiSampleBuffers=1
2008-11-04 15:46:58 -07:00
George Peter Staplin
f527381eea XQuartz: GL: Add capability detection for depth buffers, and multisampling.
GL/capabilities.c: Add handleDepthModes(), and extend
handleRendererDescription() for the various depth and multisampling flags.

Add initialization of the new config options to initConfig().

GL/capabilities.h: Add depth and multisample config members.

GL/visualConfigs.c: Add depth and multisampling support to the visual config
setup.
2008-11-04 12:53:12 -07:00
George Peter Staplin
1e5f63f15e XQuartz: GL: Work around problems with really deep visuals.
GL/capabilities.c: #if 0 (for now) any capabilities above 8 bits per channel,
because they introduce drawing problems.

GL/indirect.c: Comment out some visual setup code that shouldn't be running, and
actually seemed to cause some problems.  The current visualConfigs.c code seems
to do a reasonable job of setting up visuals for XQuartz.

GL/visualConfigs.c: Make use of the proper visual .class.   Eliminate depth 0.
It seems we really just want 24 for now, and 0 I think was a flaw in the original
code.
2008-11-03 19:59:11 -07:00
Jeremy Huddleston
71dd052412 XQuartz: Replace deprecated API usage thanks to Robery Murphy 2008-11-02 15:52:22 -08:00
Jeremy Huddleston
81bb412857 XQuartz: version string updated for 2.3.2_beta3 2008-10-31 20:18:27 -07:00
Jeremy Huddleston
637a9f4bd1 XQuartz: Add option to allow access to the menu in fullscreen mode 2008-10-31 20:03:34 -07:00
Jeremy Huddleston
ea71710aaa XQuartz: LP64 related casting fixes from Bob Murphy 2008-10-31 18:58:57 -07:00
Jeremy Huddleston
f34d8ec4d1 XFixes: LP64 related casting fixes from Bob Murphy 2008-10-31 18:58:40 -07:00
Jeremy Huddleston
40441c4e31 Rootless: LP64 related casting fixes from Bob Murphy 2008-10-31 18:58:25 -07:00
Jeremy Huddleston
0afd2ca49b GL: LP64 related casting fixes from Bob Murphy 2008-10-31 18:57:48 -07:00