Commit Graph

4441 Commits

Author SHA1 Message Date
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
Jeremy Huddleston
628cae86b4 XQuartz: More progress towards fullscreen... 2008-10-19 13:54:32 -07:00
Jeremy Huddleston
2c4b0f9615 XQuartz: Fixed missing key-equiv for Hide-Others. 2008-10-17 09:25:26 -07:00
Jeremy Huddleston
ed235e3406 XQuartz: Require applewmproto-1.1.1 2008-10-16 22:36:00 -07:00
George Peter Staplin
165cbbb90c XQuartz: pbproxy: Fix 2 bugs with the preferences.
Add dump_prefs() for instrospection.

Make prefs_get_bool a little more clear.

In get_property don't assume that the Mac realloc(NULL, 0); returns
non-NULL.  We shouldn't depend on implementation-defined behavior too
much.

Add more commentary in various spots.

Add TARGETS in the TARGETS response.  I don't know why some X11 apps
do this, but it could be something that some weird toolkit/app tests
for.

In reload_preferences add preferences synchronization, so that xpbproxy
reloads the preferences, and picks up any changes.

Fix a typo/misspelling of the sync_clipboard_to_pasteboard preference.
2008-10-16 13:09:21 -06:00
Jeremy Huddleston
ef4d37c73f XQuartz: Fixed window levels. 2008-10-15 21:26:58 -07:00
Jeremy Huddleston
37fc7b5819 Depend on xtrans >= 1.2.2 for TRANS_NOXAUTH
(cherry picked from commit 6dbfca571f)
2008-10-15 17:30:16 -07:00
Jeremy Huddleston
bcb83eea72 XQuartz: implemented primary-on-grab and fixed clipboard-to-pasteboard 2008-10-15 14:11:18 -07:00
Jeremy Huddleston
99be3d68b6 XQuartz: Some motion made towards supporting fullscreen. 2008-10-08 18:39:41 -07:00
Jeremy Huddleston
da73a34b12 1.4.2-apple19 2008-10-07 11:52:48 -07:00
Jeremy Huddleston
a11c905203 XQuartz: Fixed EXTRA_DIST for new GL files. 2008-10-07 11:39:08 -07:00
George Staplin
1056700971 XQuartz: GL: setVisualConfigs() copied the behavior of indirect.c which is wrong, with regard to the handling of xcalloc failure.
Use ErrorF for an error message after an xcalloc failure, and return instead of falling through to GlxSetVisualConfigs, or abort()ing at the test branch.
2008-10-07 12:12:38 -06:00
George Staplin
97173d4eda XQuartz: Call setVisualConfigs in InitOutput, and only when GLXEXT is defined. 2008-10-07 11:39:44 -06:00
George Staplin
190a3d5e5d XQuartz: GL: Add the proper license information to the new files, and add more commentary to setVisualConfigs(). 2008-10-07 11:31:48 -06:00