Jeremy Huddleston
3ac158bcad
XQuartz: pbproxy: We explicitly need libX11 for pbproxy
...
(cherry picked from commit 32824120da
)
2008-12-28 22:17:33 -08:00
Jeremy Huddleston
a06470b2fe
XQuartz: Try harder to get the user's login environment
...
(cherry picked from commit 6bedaddd78
)
2008-12-28 22:17:20 -08:00
Jeremy Huddleston
6ca83863da
XQuartz: Reposition windows when we enter fullscreen to ensure our root window
...
(cherry picked from commit 7617d3659b
)
2008-12-28 22:17:07 -08:00
Jeremy Huddleston
c962559889
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:15:42 -08:00
Jeremy Huddleston
57705983d2
Updated .gitignore
...
(cherry picked from commit 06964c322e
)
2008-12-28 22:15:31 -08:00
Jeremy Huddleston
4541e444fb
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:52 -08:00
Jeremy Huddleston
c53455ceea
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:35:51 -08:00
Jeremy Huddleston
ea0d28bd0e
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:37 -08:00
Jeremy Huddleston
10203479d1
XQuartz: Run applications via '/bin/sh -c ...' to support users who expect shell parsing
...
(cherry picked from commit 67455e716e
)
2008-12-21 21:35:24 -08:00
Jeremy Huddleston
20e2d76dca
XQuartz: pbproxy: Release display notification lock when not needed to avoid deadlock
...
(cherry picked from commit 22f664ab95
)
2008-12-21 21:35:13 -08:00
Jeremy Huddleston
e9e2783e23
XQuartz: update quoting in case X11.app is moved to a directory with a space.
...
(cherry picked from commit cc805dc799
)
2008-12-21 21:34:58 -08:00
Jeremy Huddleston
dd48afc8e7
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:41 -08:00
Jeremy Huddleston
d3c22e660f
XQuartz: Get rid of white rectangle bug
...
(cherry picked from commit 3269959033
)
2008-12-21 21:34:29 -08:00
Jeremy Huddleston
e30fdf27bb
rootless: Make expose_1 static
...
(cherry picked from commit 60c8d26970
)
2008-12-21 21:34:16 -08:00
Jeremy Huddleston
a638a64469
XQuartz: Name the startup shell script X11 for better compatability
...
(cherry picked from commit f84613d6fc
)
2008-12-17 13:56:46 -08:00
Jeremy Huddleston
d5341e5e3b
Merge commit 'origin/server-1.5-branch' into xorg-server-1.5-apple
2008-12-17 13:56:30 -08:00
Peter Hutterer
4970d757a7
xkb: Extra sanity checks to prevent dev->key == NULL dereferencing.
...
(cherry picked from commit 95fc59a199
)
2008-12-16 14:19:00 -05:00
Dave Airlie
336df75f12
EXA: avoid copy operations if no boxes in use
...
Simple fix for now, I'm sure damage shouldn't be calling us with nbox = 0.
(cherry picked from commit 8f8a9c19ad
)
2008-12-16 14:06:25 -05:00
Alan Coopersmith
cd15136dc1
Non-Linux OS'es should default to kbd driver, not now-dead keyboard driver
...
(cherry picked from commit d63ea51013
)
2008-12-16 14:06:14 -05:00
Alan Coopersmith
1e3f8913c5
Use OsSignal in Popen/Pclose to avoid SysV signal() stupidity
...
(cherry picked from commit c9051b684b
)
2008-12-16 14:06:04 -05:00
Luc Verhaegen
244e960bb0
XAA PixmapOps: Sync before accessing unwrapped callbacks.
...
When using any XAAPixmapOps, we call into unknown but freshly
unwrapped callbacks (like fb ones). Unlike the XAA*Fallback calls,
we did so without syncing first, exposing us to all kinds of
synchronisation issues.
I believe that the rendering errors appeared now because *PaintWindow
vanished (e4d11e58
), and we just use miPaintWindow instead. This
takes a less direct route to the hw and ends up at
PolyFillRectPixmap, which very often left drawing artifacts.
We now sync accordingly, and no longer get the rendering artifacts i
was methodically reproducing on radeonhd, radeon, unichrome...
Also, in order to allow driver authors to remove extensive syncing
or flushing to hide this issue, create XAA_VERSION_ defines, put
them in xaa.h and bump the patchlevel.
(novell bug #435791 )
(cherry picked from commit 59f9fb4b8c
)
2008-12-16 14:05:54 -05:00
Julien Cristau
bfe5a13499
xfree86: xf86SetDepthBpp needs to respect the driver's depth24flags
...
When setting the depth to 24, leave bpp unset so the logic to pick
a supported value is used instead of ignoring the driver's preference
and forcing 32 bpp.
(cherry picked from commit 991c88b754
)
2008-12-16 14:05:43 -05:00
Julien Cristau
8e1ee573b3
mi: Fix infinite loop on regen when swrast_dri.so is missing
...
The swrast DRI provider gets pushed on the glx provider stack at every
server generation, so the stack turns into a circular list on regen.
X.Org bug#18388 <https://bugs.freedesktop.org/show_bug.cgi?id=18388 >
(cherry picked from commit d3d6be4948
)
2008-12-16 14:05:19 -05:00
Egbert Eich
38e0a542fc
int10: Do an mprotect(..,PROT_EXEC) on shmat()ed memory ranges.
...
When the linux kernel sets the NX bit vm86 segfaults when it tries to execute
code in memory that is not marked EXEC. Such code gets called whenever
we return from a VBIOS call to signal the calling program that the call
is actually finished and that we are not trapping for other reasons (like
IO accesses).
Use mprotect(2) to set these memory ranges PROT_EXEC.
(cherry picked from commit a9e20306fb
)
2008-12-16 14:04:30 -05:00
Jeremy Huddleston
db663223e1
XQuartz: Updated menu item ordering for better HIG compliance
...
(cherry picked from commit 4c9bb241ce
)
2008-12-15 03:21:57 -08:00
Jeremy Huddleston
a5f781c498
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:40 -08:00
Jeremy Huddleston
f8c10acd09
XQuartz: Fix path to executable
...
(cherry picked from commit 7e9d3698e0
)
2008-12-10 15:08:23 -08:00
Jeremy Huddleston
f0014240ed
XQuartz: fixed make dist
...
(cherry picked from commit 2d52367ab9
)
2008-12-10 15:08:11 -08:00
Jeremy Huddleston
635cac44ab
XQuartz: Make debugging output for invalid depths a bit more detailed
...
(cherry picked from commit 609fb166b7
)
2008-12-10 15:07:55 -08:00
Jeremy Huddleston
8774c7d112
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:40 -08:00
Jeremy Huddleston
271f04bdad
XQuartz: unset DISPLAY if we didn't get a launchd socket handoff
...
(cherry picked from commit b959727f38
)
2008-12-10 15:05:37 -08:00
Jeremy Huddleston
639b9cd2bd
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:29 -08:00
Jeremy Huddleston
6ad71d6bea
XQuartz: Removed some debug spew
...
(cherry picked from commit 370dcf11b3
)
2008-12-06 14:10:37 -08:00
Jeremy Huddleston
2c35a89cf9
XQuartz: darwinPointer reports the actual pixel position now rather than a relative position
...
(cherry picked from commit a41e7f75de
)
2008-12-06 14:10:22 -08:00
Jeremy Huddleston
d55f916f48
XQuartz: Corrected name/command labels in the customization widget
...
(cherry picked from commit a689c23f17
)
2008-12-06 14:10:06 -08:00
Jeremy Huddleston
a77250f15d
Removed unised option from configure.ac for launchd
...
(cherry picked from commit 87e4de0a9a
)
2008-12-03 21:58:53 -08:00
Jeremy Huddleston
6cc5c29adc
XQuartz: pbproxy: Simplify linking
...
(cherry picked from commit 909cc5c4dc
)
2008-12-03 21:58:50 -08:00
George Staplin
755f53eb40
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.
2008-11-28 14:03:21 -07:00
Jeremy Huddleston
635019ad18
XQuartz: Added option to enable/disable test extensions
...
defaults write org.x.X11 enable_test_extensions -boolean true
(cherry picked from commit fd4710aff3
)
2008-11-28 12:59:09 -08:00
Jeremy Huddleston
e8151e5346
XQuartz: Avoid some warning messages being spewed to system.log by AppKit
...
(cherry picked from commit 780eff230c
)
2008-11-28 12:58:25 -08:00
Jeremy Huddleston
a39d43bd01
XQuarz: Setup our PATH and PWD earlier, so our initial client benefits from it as well...
...
(cherry picked from commit cbae2b4473
)
2008-11-28 12:58:07 -08:00
Jeremy Huddleston
45fd0b681d
XQuartz: Fix dead-acute on Greek keyboards
...
(cherry picked from commit 807f2ec35c
)
2008-11-28 12:57:58 -08:00
Jeremy Huddleston
03fd0ba554
XQuartz: Fix Czech keyboard dead-acute
...
(cherry picked from commit 771df2786b
)
2008-11-28 12:57:50 -08:00
Jeremy Huddleston
4fa7d91710
XQuartz: Fix an uninitialized keyboard_type on Tiger
...
(cherry picked from commit 27b1a5eb34
)
2008-11-28 12:57:45 -08:00
Jeremy Huddleston
7c73f70bd6
XQuartz: Simplify the xquartz_resetenv_display path
...
(cherry picked from commit d2e0624dd3
)
2008-11-25 11:52:37 -08:00
Jeremy Huddleston
bbc490cf68
XQuartz: Force X11Controller to reset a broken DISPLAY envvar.
...
(cherry picked from commit f1a52b5b5a
)
2008-11-25 11:52:32 -08:00
Jeremy Huddleston
a132f94e5c
XQuartz: Removed hardcoded org.x.X11 from MachIPC as well
...
(cherry picked from commit b4add7826d
)
2008-11-25 11:52:28 -08:00
Jeremy Huddleston
f5150a6ac4
XQuartz: Add fallback for xpbproxy's display for Tiger or no-launchd-Leopard
...
(cherry picked from commit 7a8c666594
)
2008-11-25 00:53:49 -08:00
Jeremy Huddleston
8a53f33f11
XQuartz: Use the environment to pass the bundle's prefs domain on to xinit/quartz-wm for Tiger or no-launchd-LEOPARD
...
(cherry picked from commit fbf4b0d33f
)
2008-11-25 00:53:42 -08:00
Jeremy Huddleston
f2a80c34d3
XQuartz: Dead code removal
...
(cherry picked from commit eeb323612e
)
2008-11-25 00:53:36 -08:00