summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2009-03-14GL: glx: Fix an issue with the glxint.h causing an ABI disagreement over the ↵George Staplin1-5/+18
number of properties sent. This is apparently resolved in newer branches of the X server. Add some assertions to prevent this from happening again in the 1.4 branch, and write out the total number of properties actually written, rather than the value from glxint.h.
2009-03-06XQuartz: GLX - dead code removalJeremy Huddleston1-58/+0
2009-03-061.4.2-apple36Jeremy Huddleston1-1/+1
2009-03-04XQuartz: Implement SendPSN for AppleWMJeremy Huddleston4-3/+29
2009-03-04XQuartz: Add diagnostic error checking to xp_destroy_surface.George Staplin1-1/+6
This occurred to me in hindsight after the last commit. If the original developer had done this, we would have noticed the problem sooner.
2009-03-04XQuartz: Fix a memory leak with surfaces that a new test found.George Staplin1-11/+45
xp_destroy_surface was called with a surface id of 0, due to some premature cleanup that set it to 0. This means the surfaces weren't being destroyed until the window was. The code that did that was: pDRIDrawablePriv->sid = 0; In long running applications this leak may or may not have been harmful. With the old libGL the surfaces weren't destroyed until the context was destroyed or a new context created. In the new libGL they are reference counted, and released much sooner, so we ran into a resource leak more noticeably with some tests. Make the Apple DRI code dispatch events to the client(s) for destroyed surfaces, when a resource is destroyed. This seems to work in my tests, however this clearly wasn't working for a while, so bugs may result in the future if it enables some new (unexpected) side effects. Also add a few helpful comments to aid in understanding the code in the future. Tested with the test suite, Pymol, and various Mesa demos.
2009-03-02XQuartz: GL: Fix a problem with uninitialized data in __glXAquaScreenProbe.George Staplin1-22/+50
I added a memset to fix the issue with an uninitialized function pointer, and potentially other GLX data in ->base. Also use xalloc and xfree, instead of malloc. Enable the alpha bits from the __GLcontextModes. The alphaBits are no longer always 0 as the previous comment eluded to. Add some commentary about how some of the data structures work. Cleanup some of the GLAQUA_DEBUG_MSG. This was tested with various Mesa demos in a variety of situations over indirect.
2009-02-26XQuartz: Don't erase the mode_switch+keysym if it's the same as shift+keysymJeremy Huddleston1-2/+2
2009-02-251.4.2-apple35Jeremy Huddleston1-1/+1
2009-02-25bundle version 2.3.3Jeremy Huddleston1-2/+2
2009-02-25XQuartz: Integrate DRI changes backported from the 1.6 branchJeremy Huddleston8-89/+1057
2009-02-24XQuartz: Re-enable support for capslockJeremy Huddleston1-1/+2
2009-02-24Build fixesAdam Jackson1-2/+0
(cherry picked from commit 95000e34df9ba066905430eb0eb39a616567183e)
2009-02-241.4.2-apple34Jeremy Huddleston1-1/+1
2009-02-24XQuartz: Comment out the background pointer interaction that seems to be ↵Jeremy Huddleston1-0/+6
causing CPU spinning on some configurations
2009-02-24XQuartz: Nuke an include that snuck in with the APPGROUP cherry-pickJeremy Huddleston1-1/+0
2009-02-24Death to APPGROUP.Jeremy Huddleston15-973/+2
(cherry picked from commit eafaf40fb3368ca7e4cf48336fdb7a6c9f536bfa)
2009-02-24More XPRINT nukeJeremy Huddleston1-12/+0
2009-02-24Default to use standard bitmap fonts, with builtins as fallbackJeremy Huddleston4-96/+91
The builtin-fonts configure option was removed, as it at best should have been a runtime option. Instead, now it always register all "font path element" backends, and adds built-ins fonts at the end of the default font path. This should be a more reasonable solution, to "correct" the most common Xorg FAQ (could not open default font 'fixed'), and also don't break by default applications that use only the standard/historical X Font rendering. (cherry picked from commit 49b93df8a3002db7196aa3fc1fd8dca1c12a55d6) Signed-off-by: Keith Packard <keithp@keithp.com> (cherry picked from commit 69a2728891e92da6a674d7313f3bb47c629b38dc)
2009-02-24Ansify declaration of FontToXError()Julien Cristau1-2/+1
(cherry picked from commit e85d5d707d51d6a1558dfcf0ebd50183b84be39d)
2009-02-24Remove duplicate load of freetype font renderer.Jie Luo1-1/+0
libXfont will do this for us in FontFileRegisterFpeFunctions. (cherry picked from commit e3ff8501749209ee2dd324d35ae16e37510e0574)
2009-02-24Remove loadable font renderer support.Jeremy Huddleston12-313/+16
(cherry picked from commit affec10635343668839994ea2bac16c1d4524200)
2009-02-24Remove the numVideoScreens xprintism.Adam Jackson3-16/+4
This was to account for cases where you had video and print screens in the same server. Lunacy. Leave the slot in ScreenInfo, but rename it, and stop looking at it. (cherry picked from commit a82e6efb7b9b2ab9a1597b002f375c5ee105e7f5)
2009-02-24Remove NOFONTSERVERACCESS macroTiago Vignatti3-6/+0
dix: this is semantically different but it goes through the same path in the code. (cherry picked from commit f3b29efc4d7bb346cdd3fd79e780f1022c8f46e8)
2009-02-24X n'est pas une print API.Jeremy Huddleston271-40126/+29
(cherry picked from commit 1c8bd318fbaf65890ef16fe26c76dd5e6f14dfde)
2009-02-24Return a valid X error when stuck in font alias loopAlan Coopersmith1-1/+7
Part of fix for Sun bug 4258475 <http://bugs.opensolaris.org/bugdatabase/view_bug.do?bug_id=4258475> (cherry picked from commit 1a01e96c6d15ef17a8b5ab1afa361fb12476a25e)
2009-02-24Silence the harmless FreeFontPath error message.Jeremy Huddleston1-3/+0
(cherry picked from commit 9113fa3de36e84bbae2727cace82b1cf0d709a86)
2009-02-24requestingClient is an xprintism, hide it for other servers.Adam Jackson5-1/+14
(cherry picked from commit 7c0709a736c0f3aa011de67dd2c2962585ab146e)
2009-02-22Revert "XQuartz: DefineInitialRootWindow is gone"Jeremy Huddleston1-3/+1
I pushed this to the wrong branch... This reverts commit 346b25f88f6ab74dbef0559c9634d72463e017f5.
2009-02-22XQuartz: DefineInitialRootWindow is goneJeremy Huddleston1-1/+3
2009-02-18X11/fonts/fontmod.h doesn't exist anymore.Keith Packard1-1/+0
libXfont 1.4.0 no longer includes this file, nor do we need it, so just stop attempting to reference it. Signed-off-by: Keith Packard <keithp@keithp.com> (cherry picked from commit 4557b3f6c4273cd83b701beaf7a150c806fed298)
2009-02-12XQuartz: Fix copyright info in Info.plist to be prettier when viewed in FinderJeremy Huddleston1-3/+3
(cherry picked from commit 8b607c9c507a68a6abda63831d227d0f8947028c)
2009-02-091.4.2-apple33Jeremy Huddleston1-1/+1
2009-02-05Revert "XQuartz: Re-enable rlAccel"Jeremy Huddleston2-2/+3
This reverts commit 8121f30bd29591fc74fbc680fbbf20210271fa58.
2009-02-03XQuartz: Accept bundle version 2.1.6 to work with our startup methodJeremy Huddleston1-2/+2
2009-02-02XQuartz: GLX: Fix accidental exclusion of glBlitFramebufferEXT on LeopardJeremy Huddleston1-1/+1
2009-02-01XQuartz: GLX: OpenGL.framework on Tiger doesn't have glBlitFramebufferEXTJeremy Huddleston1-0/+2
2009-02-01XQuartz: GL: indirect.c changes to fix the build with newer OpenGL frameworks.George Staplin1-0/+19
(cherry picked from commit 143224405ba74929c702a95de52b56df140b0d1b) (cherry picked from commit 92f00abc1f519f065d07699b9f150b1f93567be8)
2009-01-30XQuartz: Fix builddir != srcdir issues and undef _XSERVER64 where ↵Jeremy Huddleston5-12/+20
appropriate on fat binary compilation (cherry picked from commit f020900641b44a1142e5c2198e9678de2744454e) (cherry picked from commit 242e58f57b5070fafb0b66d0e9eaeb14c84f40b8)
2009-01-30Nuke dix-config-post-verbatim.hJeremy Huddleston2-11/+8
(cherry picked from commit d7a2d6a8021525ad09234ab54dd8be9a743b73c3)
2009-01-291.4.2-apple32Jeremy Huddleston1-1/+1
2009-01-16XQuartz: mieq: Wait for the server to finish initializing before letting ↵Jeremy Huddleston2-5/+34
other threads mieqEnqueue Avoid possible race condition whereby one thread might call mieqEnqueue before InitAndStartDevices finishes (cherry picked from commit 94e417ac87a98cd5c6bf2d7c495d702748398931)
2009-01-16Rootless: Fix a variable scope issue that causes crahses when sizeof(void *) ↵Jeremy Huddleston1-7/+7
!= sizeof(CARD8) (cherry picked from commit b1c2d711e7f5bc29a66d4d692431991a82e5d2af)
2009-01-11XQuartz: Only call DarwinUpdateModKeys when neededJeremy Huddleston3-4/+15
Previously, we were calling it on almost every itteration through sendX11Event (cherry picked from commit 6461729647ff4441d80811e73f0c0d2f108f2700)
2009-01-07XQuartz: Update padding in appledristr. This shouldn't change how the ↵Jeremy Huddleston1-1/+1
struct ends up in memory, but should make it more obvious for human eyes
2009-01-07XQuartz: Fat binary buildfixesJeremy Huddleston4-39/+12
Let Xarch.h set X_BYTE_ORDER for us. Determine _XSERVER64 at build time.
2009-01-02XQuartz: Copyright Update... happy new yearJeremy Huddleston1-2/+2
2009-01-021.4.2-apple31Jeremy Huddleston1-1/+1
2009-01-02XQuartz: pbproxy: Push dpy init and CFRunLoop hook setup into the pbproxy ↵Jeremy Huddleston3-24/+27
thread to avoid possible deadlock
2009-01-02Revert "XQuartz: Ignore mach IPC until the appkit thread is ready to avoid ↵Jeremy Huddleston1-14/+2
possible deadlock (this can be reversed once pbproxy uses server API)" Gonna try this a different way... This reverts commit 9eec2d3e3b4da2427a1c3a26538d36c4e8a7f1ed.