Commit Graph

4304 Commits

Author SHA1 Message Date
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
Jeremy Huddleston
c883a78ef0 XQuartz: displayScreenBounds uses quartzEnableRootless rather than !quartzHasRoot 2008-10-31 15:10:34 -07:00
Jeremy Huddleston
cece293172 Rootless: Force initialization of static variable before use. 2008-10-31 14:39:54 -07:00
Jeremy Huddleston
9ca099e928 XQuartz: Silence pointer debug spam 2008-10-31 13:00:43 -07:00
Jeremy Huddleston
1115917ada XQuartz: Don't map the menu bar to the screen area. 2008-10-31 13:00:42 -07:00
Jeremy Huddleston
5fc73b1141 XQuartz: Fixed Xplugin thread safety issues, so rea-enable background window check 2008-10-31 13:00:42 -07:00
George Peter Staplin
d5c17f585a XQuartz: GL: Mark visuals that are slower than others, due to lack of acceleration.
This is used in libGL to determine a preferred visual.  glxinfo -v will also
report "visualCaveat=Slow" for such visuals.
2008-10-30 13:56:09 -06:00
Jeremy Huddleston
423f68cd52 Removed unused DARWIN_WITH_QUARTZ option from dix-config.h 2008-10-29 17:20:51 -07:00
Jeremy Huddleston
60d7359a67 XQuartz: if 0 out a block to avoid thread-unsafe lockups 2008-10-29 17:20:11 -07:00
Jeremy Huddleston
490756c7fb XQuartz: Purge the old XQUARTZ_EXPORTS_LAUNCHD_FD option 2008-10-29 17:18:05 -07:00
Jeremy Huddleston
183ca5d68b XQuartz: Pass along SIGINT and SIGTERM from the stub to X11.app 2008-10-28 12:38:05 -07:00
George Peter Staplin
5797d5b662 XQuartz: pbproxy: Fix a bug that prevented nedit CLIPBOARD from being proxied.
It seems that we were calling copy_completed: too soon.  Now we return instead
of falling through to the free_propdata, and copy_completed:.
2008-10-27 22:07:00 -06:00
George Peter Staplin
9be5998ede XQuartz: pbproxy: Work around bugs in some apps that aren't ICCCM compliant.
Eterm ends up setting the type of the property to TARGETS, instead of ATOM.
That's why it wasn't working.
2008-10-27 20:44:02 -06:00
George Peter Staplin
8d048cfa95 XQuartz: pbproxy: Add code to handle PICT conversion to PNG and JPEG.
This may work, unfortunately I don't have test apps that fail.

The way it works is by using an NSImage class initWithPasteboard:
method, which we then get the TIFFRepresentation of, and convert
to PNG or JPEG.

The TIFFRepresentation uses NSTIFFCompressionNone; which should be
lossless.
2008-10-27 16:34:24 -06:00
Jeremy Huddleston
bb330a1b1c XQuartz: pbproxy: fixed blocking 2008-10-26 13:17:49 -07:00
Jeremy Huddleston
d4e016a308 1.4.2-21 2008-10-26 11:22:14 -07:00
Jeremy Huddleston
3647215310 Xquartz: pbproxy: Some debugging about unhandled mime types... this will spam up quick, but will be useful for a while... 2008-10-26 10:22:12 -07:00
George Peter Staplin
fe35a36390 XQuartz: GL: Fix several error handling mistakes in handleRenderDescriptions, that were leftover before the final code evolved. 2008-10-24 19:12:05 -06:00
George Peter Staplin
98a084ce9c XQuartz: GL: Add feature detection of color sizes, and accum sizes.
This gives us a *lot* more visuals, and they should be more accurate.
Some of the visuals may have been wrong before.  This may enable more
OpenGL programs to behave correctly.

I also suspect libGL needs a little work to handle some of these correctly.
2008-10-24 18:18:58 -06:00
Jeremy Huddleston
af95174a08 XQuartz: Do check_xinitrc() later to avoid possible deadlock. 2008-10-23 17:35:28 -07:00
George Peter Staplin
6bcbb9ba85 XQuartz: pbproxy: pbproxy.h had invalid macro usage with 2 #else statements, so it wasn't building. Fix the build. 2008-10-23 17:56:46 -06:00
George Peter Staplin
508ebb7c45 XQuartz: Remove the enable_stereo default. We now use feature detection to enable stereo visuals.
We need to revisit the GL/indirect.c changes.  I think indirect.c should
be using the same feature detection and GLX visual config code.  The
indirect changes will require testing...

Same as the 1.5 branch changes.
2008-10-23 17:53:13 -06:00
George Peter Staplin
7162df3bb0 miext/rootless: Silence some warnings by using proper C prototypes.
(cherry picked from commit 050e46e09e)
2008-10-23 16:27:03 -07:00
Jeremy Huddleston
3b55803615 mi: Actually, we don't need to lock at all in mieqProcessInputEvents... 2008-10-23 16:25:31 -07:00
Jeremy Huddleston
6622efca21 XQuartz: pbproxy: Fix compilation on case-sensitive file systems... 2008-10-23 15:01:03 -07:00
Jeremy Huddleston
06655dac00 mi: Just some formatting consistency... 2008-10-23 14:28:50 -07:00
Jeremy Huddleston
d7d4cd3003 mi: Avoid possible deadlock in miEq
When the handler for an event requires sending a message to another thread that is waiting for the miEq mutex.
2008-10-23 14:08:30 -07:00
Jeremy Huddleston
3c69528064 XQuartz: Comment explaining the 0x10 flag for [e data2] 2008-10-23 11:41:22 -07:00
Jeremy Huddleston
78e874fe17 Rootless: Properly typed expose_1 2008-10-23 11:39:04 -07:00
Jeremy Huddleston
bf561a06b2 XQuartz: Honor the Spaces preference for "When switching to an application, switch to a space with open windows for the application" 2008-10-23 11:37:13 -07:00
Jeremy Huddleston
ec9f00b980 1.4.2-apple20 2008-10-22 15:44:02 -07:00
Jeremy Huddleston
e9fe3f36d9 XQuartz: Added missing semicolons to Localizable.strings 2008-10-21 19:36:48 -07:00
Jeremy Huddleston
08a5a333d7 XQuartz: Default dpi to 96 instead of 75 2008-10-21 11:23:42 -07:00
Jeremy Huddleston
cbc0935ef7 XQuartz: pbproxy: SIGHUP reloads preferences. 2008-10-21 11:19:06 -07:00
Jeremy Huddleston
10090a132a XQuartz: Only send mouse events while in the background if we're over a visible window.
This "breaks" xeyes but gets rid of annoying tooltips.
2008-10-21 09:11:59 -07:00
Jeremy Huddleston
22a54e4617 XQuartz: More fullscreen fixes
Start in rooted mode when enabled
  Make the hotkey cmd-alt-a behave
2008-10-21 09:07:08 -07:00
Jeremy Huddleston
f78c9fc06c XQuartz: Cleaned up keyboard init and map reload. 2008-10-20 12:23:04 -07:00
Jeremy Huddleston
a9f9fbf512 XQuartz: Fixed follow-keyboard-layout
2008-10-20 09:46:34 -07:00