Commit graph

428 commits

Author SHA1 Message Date
Jeremy Huddleston
b57cb05c69 XQuartz: SnowLeopard: Help system book name changed in 10.6 2009-01-16 19:26:07 -08:00
Jeremy Huddleston
f020900641 XQuartz: Fix builddir != srcdir issues and undef _XSERVER64 where appropriate on fat binary compilation 2009-01-15 20:57:42 -08:00
George Staplin
9cf264e677 XQuartz: xpr: Cleanup some of the code and possibly fix part of the GLX Pixmap problem.
Split DRICreateSurface into 3 functions.

Make CreateSurfaceForPixmap use xp_configure_surface.  I suspect this is partly why
GLXPixmaps never worked.

It will require some more work and thoughts for pbuffers, unless we fake those with
pixmaps and surfaces.
2009-01-12 19:30:43 -07:00
George Staplin
d514152195 XQuartz: GL: Make indirect.c build and work in the 1.6 branch.
Reorder some header files and provide some types earlier on.

Remove the static __GLXextensionInfo __glDDXExtensionInfo; that isn't
used in 1.4 or 1.5, and seems to have been removed from 1.6.  Remove
the data structures associated with that too.

Remove __glXAquaDrawableResize.  The GLX structure doesn't use
it anymore, and the Apple version did nothing useful before.

__glXAquaDrawableSwapBuffers(): base no longer contains a drawGlxc
member.  Now provide the the Apple/Aqua context in the __GLXAquaDrawable
struct.  Add the context member to the __GLXAquaDrawable struct.

Remove the fallback configs.  They aren't used in 1.4 or 1.5 either.

Remove init_visuals().  It's not used in 1.4 or 1.5 either.

In the drawable constructor initialize the state properly, including
the new context member.

Remove glAquaResetExtension() -- it's not used anymore.

This has been tested remotely and proven to work with glxgears,
fire, various texture programs I wrote, and various Mesa demos.
2009-01-12 14:14:44 -07:00
Jeremy Huddleston
b1d2978441 XQuartz: Don't need explicit Activate/EnableDevice in InitInput 2009-01-11 16:34:36 -08:00
Jeremy Huddleston
6461729647 XQuartz: Only call DarwinUpdateModKeys when needed
Previously, we were calling it on almost every itteration through sendX11Event
2009-01-11 14:49:39 -08:00
Jeremy Huddleston
267960c671 XQuartz: Comment explaining the 0x10 flag for [e data2]
(cherry picked from commit 3c69528064)
2009-01-11 13:56:33 -08:00
Jeremy Huddleston
7a8d226686 XQuartz: Add locking to make mieq thread safe on OSX 2009-01-11 01:52:42 -08:00
Jeremy Huddleston
c137f68168 XQuartz: misc 1.6 updates (still --disable-glx)
rlAccel is not longer compatable, and it's not worth fixing
  Don't override DeviceCursorInitialize with a noop
  Don't do a SwitchCoreKeyboard (which wasn't even needed in the first place)
2009-01-11 01:42:24 -08:00
Jeremy Huddleston
f5f3803835 XQuartz: Bundle version 2.4.0
(cherry picked from commit 3a3ccf5354)
2009-01-10 01:01:01 -08:00
George Staplin
a665ed16f7 XQuartz: GL: Set the __GLXconfig renderType to GLX_RGBA_BIT.
(cherry picked from commit 3c14546f58)
2009-01-10 01:00:17 -08:00
George Staplin
15bb6abd59 XQuartz: GL: Make many more fbconfigs and visuals available for the 1.5 branch.
Use a __GLXconfig linked list struct to store the configurations for the
fbconfigs and visuals in a pGlxScreen.

Also, remove the __GLXvisualConfig/GlxSetVisualConfigs code that isn't used
anymore.  There is more code we can remove later, but I want to do that in
separate commits.
(cherry picked from commit 94162b0f8a)
2009-01-10 01:00:03 -08:00
Jeremy Huddleston
6850846b78 XQuartz: Update padding in appledristr. This shouldn't change how the struct ends up in memory, but should make it more obvious for human eyes
(cherry picked from commit f7b6c1907c)
2009-01-07 18:29:08 -08:00
Jeremy Huddleston
65ab2f44ea XQuartz: Use AvailabilityMacros.h instead of availability.h for Tiger
(cherry picked from commit 91f3c34357)
2009-01-07 01:47:52 -08:00
Jeremy Huddleston
df6ca888b0 XQuartz: Copyright Update... happy new year
(cherry picked from commit 9f1c26ae8d)
2009-01-02 11:07:24 -08:00
Jeremy Huddleston
adbfd49da2 XQuartz: pbproxy: Push dpy init and CFRunLoop hook setup into the pbproxy thread to avoid possible deadlock
(cherry picked from commit 49e59d32b8)
2009-01-02 11:02:36 -08:00
Jeremy Huddleston
0676a580fc XQuartz: Don't use NX_SECONDARYFNMASK, NX_NUMERICPADMASK, NX_HELPMASK
We don't have keycodes for them, so don't try to use them
(cherry picked from commit cb912aca3a)
2008-12-31 12:45:31 -08:00
Jeremy Huddleston
0d2621b6d4 XQuartz: Make sure to reset the saved key state when deactivating X11.app
(cherry picked from commit 3eef78eb32)
2008-12-31 12:45:08 -08:00
Jeremy Huddleston
9faf3de7e5 XQuartz: Honor system key repeat rate
(cherry picked from commit 4303c9be39)
2008-12-31 12:44:50 -08:00
Jeremy Huddleston
4be8d7346b XQuartz: Better avoid stuck keys on context switches
(cherry picked from commit e9963f1a4f)
2008-12-31 12:43:13 -08:00
Jeremy Huddleston
c67a3e2972 XQuartz: Workaround OSX VNC server bug for modifier key state
A better approach which ensures we have a L modifier key down if we are told neither are down and atleast one is down... =/
(cherry picked from commit bc13dda345)
2008-12-31 12:42:57 -08:00
Jeremy Huddleston
d790c9dd04 XQuartz: Updated man page fullscreen_hotkeys fullscreen_menu
(cherry picked from commit 00f3a2e33c)
2008-12-31 12:42:46 -08:00
Jeremy Huddleston
338f096861 XQuartz: Try harder to get the user's login environment
(cherry picked from commit 6bedaddd78)
2008-12-28 22:17:26 -08:00
Jeremy Huddleston
61ae56f973 XQuartz: Reposition windows when we enter fullscreen to ensure our root window
(cherry picked from commit 7617d3659b)
2008-12-28 22:17:12 -08:00
Jeremy Huddleston
85347902d9 XQuartz: Re-enable rlAccel
It was incorrectly blamed for some crashes a few months ago, and it should be
safe to use until we get an EXA driver to replace it.
(cherry picked from commit 8121f30bd2)
2008-12-28 22:16:32 -08:00
Jeremy Huddleston
932ed6e949 XQuartz: Use depth=24 instead of FatalError if we can't figure out our depth
(cherry picked from commit 80b65c5b78)
2008-12-23 12:45:55 -08:00
Jeremy Huddleston
84f0c03418 XQuartz: Don't use keycode 0 to determine !swallow since our most common key to swallow is actual keycode 0 (a)
(cherry picked from commit 33f43a7f03)
2008-12-21 21:36:00 -08:00
Jeremy Huddleston
7e7758e178 XQuartz: Update our "screens" when we toggle rootless rather than when we toggle fullscreen
This old behavior was used as a workaround for the menubar behavior in the older server,
but we handle it better now and need to update our screens when we toggle the rootless
state instead.
(cherry picked from commit 508aa95bc2)
2008-12-21 21:35:43 -08:00
Jeremy Huddleston
7dc0dafef1 XQuartz: Run applications via '/bin/sh -c ...' to support users who expect shell parsing
(cherry picked from commit 67455e716e)
2008-12-21 21:35:31 -08:00
Jeremy Huddleston
4c256c0e9c XQuartz: pbproxy: Release display notification lock when not needed to avoid deadlock
(cherry picked from commit 22f664ab95)
2008-12-21 21:35:20 -08:00
Jeremy Huddleston
ecc3a7b609 XQuartz: update quoting in case X11.app is moved to a directory with a space.
(cherry picked from commit cc805dc799)
2008-12-21 21:35:02 -08:00
Jeremy Huddleston
c3812aec97 XQuartz: Changed X11.sh to allow use of a ~/.x11run as requested by users of alternate shells
(cherry picked from commit b62ed1f8ea)
2008-12-21 21:34:48 -08:00
Jeremy Huddleston
102abeda37 XQuartz: Name the startup shell script X11 for better compatability
(cherry picked from commit f84613d6fc)
2008-12-17 13:56:55 -08:00
Jeremy Huddleston
73987010b2 XQuartz: Updated menu item ordering for better HIG compliance
(cherry picked from commit 4c9bb241ce)
2008-12-15 03:22:09 -08:00
Jeremy Huddleston
fd31984e0c XQuartz: Tiger fix, don't call Xplugin code in the Appkit thread if Xplugin isn't threadsafe.
(cherry picked from commit 748d9e5bd7)
2008-12-15 03:21:58 -08:00
Jeremy Huddleston
5926b213b3 XQuartz: Fix path to executable
(cherry picked from commit 7e9d3698e0)
2008-12-10 15:08:30 -08:00
Jeremy Huddleston
13eff12902 XQuartz: fixed make dist
(cherry picked from commit 2d52367ab9)
2008-12-10 15:08:18 -08:00
Jeremy Huddleston
1962af7ee3 XQuartz: Make debugging output for invalid depths a bit more detailed
(cherry picked from commit 609fb166b7)
2008-12-10 15:08:03 -08:00
Jeremy Huddleston
fdf6425612 XQuartz: Avoid using login /bin/sh blech. Just use a bash script to start the app, so it will inherit the right environment
(cherry picked from commit f4b7ad9cc6)
2008-12-10 15:07:49 -08:00
Jeremy Huddleston
9cbed0a325 XQuartz: unset DISPLAY if we didn't get a launchd socket handoff
(cherry picked from commit b959727f38)
2008-12-10 15:05:44 -08:00
Jeremy Huddleston
99b2cbf061 XQuartz: unsetenv(DISPLAY) if we're not org.x.X11
Also some prefix related fixes.
(cherry picked from commit fd459e9658)
2008-12-10 15:05:34 -08:00
Jeremy Huddleston
8065953ea8 XQuartz: Removed some debug spew
(cherry picked from commit 370dcf11b3)
2008-12-06 14:11:36 -08:00
Jeremy Huddleston
70930f6d31 XQuartz: darwinPointer reports the actual pixel position now rather than a relative position
(cherry picked from commit a41e7f75de)
2008-12-06 14:11:25 -08:00
Jeremy Huddleston
9ac2e68d86 XQuartz: Corrected name/command labels in the customization widget
(cherry picked from commit a689c23f17)
2008-12-06 14:10:19 -08:00
Jeremy Huddleston
cbb9ee57f8 XQuartz: pbproxy: Simplify linking
(cherry picked from commit 909cc5c4dc)
2008-12-03 22:06:27 -08:00
George Staplin
db115e7870 XQuartz: GL: Make various changes to makeFormat, so that it works better. Now glxgears looks normal with the old libGL.
Add various GLX extensions to the list of supported extensions.

Reformat the oddly formatted code in some areas.

Use xalloc and xfree instead of malloc and free.
(cherry picked from commit 755f53eb40)
2008-11-28 13:18:15 -08:00
Jeremy Huddleston
d4fb734c63 XQuartz: Added option to enable/disable test extensions
defaults write org.x.X11 enable_test_extensions -boolean true
(cherry picked from commit fd4710aff3)
(cherry picked from commit 635019ad18)
2008-11-28 13:01:07 -08:00
Jeremy Huddleston
e9ee5d4f61 XQuartz: Avoid some warning messages being spewed to system.log by AppKit
(cherry picked from commit 780eff230c)
2008-11-28 13:01:04 -08:00
Jeremy Huddleston
2ca2742aa5 XQuarz: Setup our PATH and PWD earlier, so our initial client benefits from it as well...
(cherry picked from commit cbae2b4473)
2008-11-28 13:00:49 -08:00
Jeremy Huddleston
added4cff7 XQuartz: Fix dead-acute on Greek keyboards
(cherry picked from commit 807f2ec35c)
2008-11-28 13:00:37 -08:00