Jeremy Huddleston
1beff89810
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)
(cherry picked from commit c137f68168
)
2009-01-11 01:55:26 -08:00
Jeremy Huddleston
7a8abb9c85
XQuartz: Bundle version 2.4.0
...
(cherry picked from commit 3a3ccf5354
)
2009-01-11 01:54:28 -08:00
George Staplin
0d8184de59
XQuartz: GL: Set the __GLXconfig renderType to GLX_RGBA_BIT.
...
(cherry picked from commit 3c14546f58
)
2009-01-10 01:00:24 -08:00
George Staplin
9c3975d63e
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:09 -08:00
Jeremy Huddleston
a68373994f
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-10 00:59:16 -08:00
Jeremy Huddleston
fc14d52297
XQuartz: Use AvailabilityMacros.h instead of availability.h for Tiger
...
(cherry picked from commit 91f3c34357
)
2009-01-07 01:48:23 -08:00
Jeremy Huddleston
af820259a0
XQuartz: Copyright Update... happy new year
...
(cherry picked from commit 9f1c26ae8d
)
2009-01-02 11:07:29 -08:00
Jeremy Huddleston
d8c9ba37ab
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:42 -08:00
Jeremy Huddleston
2f361186f9
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:34 -08:00
Jeremy Huddleston
a2abaa9fd3
XQuartz: Make sure to reset the saved key state when deactivating X11.app
...
(cherry picked from commit 3eef78eb32
)
2008-12-31 12:45:13 -08:00
Jeremy Huddleston
3986b683ad
XQuartz: Honor system key repeat rate
...
(cherry picked from commit 4303c9be39
)
2008-12-31 12:44:43 -08:00
Jeremy Huddleston
1a69d56afd
XQuartz: Better avoid stuck keys on context switches
...
(cherry picked from commit e9963f1a4f
)
2008-12-31 12:43:17 -08:00
Jeremy Huddleston
f464b5a916
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:43:02 -08:00
Jeremy Huddleston
3ead9aa260
XQuartz: Updated man page fullscreen_hotkeys fullscreen_menu
...
(cherry picked from commit 00f3a2e33c
)
2008-12-31 12:42:48 -08:00
Jeremy Huddleston
997e8c321b
XQuartz: Try harder to get the user's login environment
...
(cherry picked from commit 6bedaddd78
)
2008-12-28 22:17:31 -08:00
Jeremy Huddleston
ae8dc47fd9
XQuartz: Reposition windows when we enter fullscreen to ensure our root window
...
(cherry picked from commit 7617d3659b
)
2008-12-28 22:17:16 -08:00
Jeremy Huddleston
895186e026
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:17:03 -08:00
Jeremy Huddleston
a1b201bcb0
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:57 -08:00
Jeremy Huddleston
ba9dc353a6
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:02 -08:00
Jeremy Huddleston
f0cdccd1e2
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:46 -08:00
Jeremy Huddleston
8f04a52373
XQuartz: Run applications via '/bin/sh -c ...' to support users who expect shell parsing
...
(cherry picked from commit 67455e716e
)
2008-12-21 21:35:33 -08:00
Jeremy Huddleston
029d255a65
XQuartz: pbproxy: Release display notification lock when not needed to avoid deadlock
...
(cherry picked from commit 22f664ab95
)
2008-12-21 21:35:22 -08:00
Jeremy Huddleston
b1f166f298
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:04 -08:00
Jeremy Huddleston
2f47bda645
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:50 -08:00
Jeremy Huddleston
22b2811e6a
XQuartz: Name the startup shell script X11 for better compatability
...
(cherry picked from commit f84613d6fc
)
2008-12-21 21:33:17 -08:00
Jeremy Huddleston
450739efa9
XQuartz: Updated menu item ordering for better HIG compliance
...
(cherry picked from commit 4c9bb241ce
)
2008-12-15 03:22:17 -08:00
Jeremy Huddleston
aee27be278
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:22:01 -08:00
Peter Hutterer
cb95642dc8
Remove #define NEED_EVENTS and NEED_REPLIES
...
A grep on xorg/* revealed there's no consumer of this define.
Quote Alan Coopersmith:
"The consumer was in past versions of the headers now located
in proto/x11proto - for instance, in X11R6.0's xc/include/Xproto.h,
all the event definitions were only available if NEED_EVENTS were
defined, and all the reply definitions required NEED_REPLIES.
Looks like Xproto.h dropped them by X11R6.3, which didn't have
the #ifdef's anymore, so these are truly ancient now."
Signed-off-by: Peter Hutterer <peter.hutterer@redhat.com>
Signed-off-by: Adam Jackson <ajax@redhat.com>
2008-12-12 11:43:32 +10:00
Jeremy Huddleston
119d9c46e8
XQuartz: Fix path to executable
...
(cherry picked from commit 7e9d3698e0
)
2008-12-10 15:08:33 -08:00
Jeremy Huddleston
c46b564c47
XQuartz: fixed make dist
...
(cherry picked from commit 2d52367ab9
)
2008-12-10 15:08:20 -08:00
Jeremy Huddleston
23156a21d8
XQuartz: Make debugging output for invalid depths a bit more detailed
...
(cherry picked from commit 609fb166b7
)
2008-12-10 15:08:05 -08:00
Jeremy Huddleston
76351d2faf
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:52 -08:00
Jeremy Huddleston
e5ce6e198f
XQuartz: unset DISPLAY if we didn't get a launchd socket handoff
...
(cherry picked from commit b959727f38
)
2008-12-10 15:07:35 -08:00
Jeremy Huddleston
ecaaf0462d
XQuartz: unsetenv(DISPLAY) if we're not org.x.X11
...
Also some prefix related fixes.
(cherry picked from commit fd459e9658
)
2008-12-10 15:07:26 -08:00
Jeremy Huddleston
ea94995982
XQuartz: Removed some debug spew
...
(cherry picked from commit 370dcf11b3
)
2008-12-10 15:07:15 -08:00
Jeremy Huddleston
ccd2c668c1
XQuartz: darwinPointer reports the actual pixel position now rather than a relative position
...
(cherry picked from commit a41e7f75de
)
2008-12-06 14:12:27 -08:00
Jeremy Huddleston
7ebd0c7e8d
XQuartz: Corrected name/command labels in the customization widget
...
(cherry picked from commit a689c23f17
)
2008-12-06 14:12:27 -08:00
Jeremy Huddleston
fa4f2527a5
XQuartz: pbproxy: Simplify linking
...
(cherry picked from commit 909cc5c4dc
)
2008-12-03 21:59:23 -08:00
George Staplin
01eaebdc98
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:27 -08:00
Jeremy Huddleston
3d527b91b4
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:02:54 -08:00
Jeremy Huddleston
71d3df7cc3
XQuartz: Avoid some warning messages being spewed to system.log by AppKit
...
(cherry picked from commit 780eff230c
)
2008-11-28 13:02:52 -08:00
Jeremy Huddleston
a9796c7bc4
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:02:41 -08:00
Jeremy Huddleston
ef4179f43a
XQuartz: Fix dead-acute on Greek keyboards
...
(cherry picked from commit 807f2ec35c
)
2008-11-28 13:02:25 -08:00
Jeremy Huddleston
800f5c681b
XQuartz: Fix Czech keyboard dead-acute
...
(cherry picked from commit 771df2786b
)
2008-11-28 13:02:12 -08:00
Jeremy Huddleston
ac57bb36d5
XQuartz: Fix an uninitialized keyboard_type on Tiger
...
(cherry picked from commit 27b1a5eb34
)
2008-11-28 13:01:59 -08:00
Jeremy Huddleston
eb474adf98
XQuartz: Simplify the xquartz_resetenv_display path
...
(cherry picked from commit d2e0624dd3
)
2008-11-25 11:53:12 -08:00
Jeremy Huddleston
94df1ab7f0
XQuartz: Force X11Controller to reset a broken DISPLAY envvar.
...
(cherry picked from commit f1a52b5b5a
)
2008-11-25 11:53:06 -08:00
Jeremy Huddleston
0b314c50a2
XQuartz: Removed hardcoded org.x.X11 from MachIPC as well
...
(cherry picked from commit b4add7826d
)
2008-11-25 11:52:59 -08:00
Jeremy Huddleston
065d2afb0c
XQuartz: Add fallback for xpbproxy's display for Tiger or no-launchd-Leopard
...
(cherry picked from commit 7a8c666594
)
2008-11-25 00:54:52 -08:00
Jeremy Huddleston
13df49dca2
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:54:47 -08:00
Jeremy Huddleston
40187f782b
XQuartz: Dead code removal
...
(cherry picked from commit eeb323612e
)
2008-11-25 00:54:42 -08:00
Jeremy Huddleston
b55cad4569
XQuartz: Don't hardcode values of org.x.X11 for the preferences domain
...
(cherry picked from commit 3a500d9247
)
2008-11-25 00:54:37 -08:00
Jeremy Huddleston
d508a3dcca
XQuartz: More dead code removal
...
(cherry picked from commit dcb0f6a2e6
)
2008-11-25 00:54:32 -08:00
Jeremy Huddleston
41fbdf72f2
XQuartz: Disable some error spew on Tiger (where it wouldn't be an error)
...
(cherry picked from commit 73ec6d3dfe
)
2008-11-25 00:54:27 -08:00
Jeremy Huddleston
09c3f6e04c
XQuartz: Dead code removal
...
(cherry picked from commit 46c077d9b4
)
2008-11-25 00:54:22 -08:00
Jeremy Huddleston
ab12c75162
XQuartz: More Tiger cleanup: bootstrap_strerror
...
(cherry picked from commit 37f535aff3
)
2008-11-25 00:54:17 -08:00
Jeremy Huddleston
8964b8d0ec
XQuartz: More 1.6 server API updates
2008-11-22 14:23:23 -08:00
Jeremy Huddleston
ad0f232165
XQuartz: Fixed --disable-glx
2008-11-22 14:04:28 -08:00
Jeremy Huddleston
8e2287c220
XQuartz: Updated some code to use newer server API
2008-11-22 13:57:45 -08:00
George Staplin
6eb33bc0cb
XQuartz: GL: Remove the inclusion of glcontextmodes.h.
...
Add some commentary about future directions needed for the GLX drawable
creation and destruction code.
Match xalloc with xfree.
I made some minor formatting improvements.
(cherry picked from commit b772d64fce
)
2008-11-22 11:13:51 -08:00
George Staplin
429b4b20d5
XQuartz: GL: Add a branch to prevent a NULL DrawablePtr structure access.
...
In attach() check for pDraw being NULL, and also print an ErrorF message,
because we eventually want to track down why this is occuring.
It's unclear how this occurs, but as I noted in the 1.4 branch, I believe that
the DrawablePtr/struct _Drawable -> id is the member being accessed that causes
KERN_PROTECTION_FAILURE at 0x0000000000000004
This passes my tests using: env LIBGL_ALWAYS_INDIRECT=1 ./sometest.
I fixed a warning: caused by initializing the screen->base.visuals with the
configs. It is a ** not a *. It seems that some other part of GLX will
initialize this for us.
(cherry picked from commit 17f6a261fc
)
2008-11-22 11:13:46 -08:00
Jeremy Huddleston
76fcfc4801
XQuartz: GLX: sync up indirect.c to match George's updates in the xorg-server-1.5-apple branch
2008-11-21 20:25:55 -08:00
George Staplin
1a717779b6
XQuartz: GL: remove glcontextmodes.* from the Makefile.am. It has been replaced.
...
The new replacement is __GLXconfig.
(cherry picked from commit 3bed9b65c8
)
2008-11-21 20:10:57 -08:00
Jeremy Huddleston
ca64b5949d
XQuartz: Don't use LS to find X11.app on Tiger.
...
(cherry picked from commit e62107e552
)
2008-11-21 11:55:49 -08:00
Jeremy Huddleston
393325f908
XQuartz: spewCallStack is noop on Tiger now...
...
(cherry picked from commit 56c469a68b
)
2008-11-21 10:59:41 -08:00
Jeremy Huddleston
5d47a5d652
XQuartz: pbproxy: Added some typedefs for types not available on Tiger
...
(cherry picked from commit 0947aa7911
)
2008-11-21 10:59:34 -08:00
Jeremy Huddleston
b262788401
XQuartz: More Tiger ifdefs
...
(cherry picked from commit 803509072f
)
2008-11-21 10:59:26 -08:00
Jeremy Huddleston
5107444443
XQuartz: Resurrect the old audio path for Tiger
...
(cherry picked from commit a61a8d9047
)
2008-11-21 10:59:17 -08:00
Jeremy Huddleston
d7ee76f9dd
XQuartz: pbproxy: Push the pbproxy Xevent processing into its own thread
...
and just have the AppKit thread wake it up.
(cherry picked from commit 799715b8f3
)
2008-11-21 10:59:10 -08:00
Jeremy Huddleston
c4ec71b405
XQuartz: pbproxy: nuke RCS Id, update header license/copyright
...
(cherry picked from commit 477c6968a8
)
2008-11-19 10:58:15 -08:00
Jeremy Huddleston
42f330cf9e
XQuartz: pbproxy: Remove thread-main.m
...
it got accidently added and isn't used.
(cherry picked from commit cb6ffce68a
)
2008-11-19 10:58:06 -08:00
Jeremy Huddleston
03f7a66a1a
XQuartz: Don't use TIS on Tiger...
...
(cherry picked from commit be8ac84c15
)
2008-11-15 19:52:52 -08:00
Jeremy Huddleston
e8112784e8
XQuartz: Integrated xpbproxy into the server.
...
Added a configure option called --enable-standalone-xpbproxy which is useful for deveoping xpbproxy.
The 'active' switch in preferences just disables the in-server xpbproxy (not this standalone).
(cherry picked from commit 4294493632
)
2008-11-15 19:52:34 -08:00
Jeremy Huddleston
bc4f804cd8
XQuartz: Actually add glcontextmodes.[hc]
...
(cherry picked from commit 763195d338
)
2008-11-14 15:13:59 -08:00
Ben Byer
aedafbea0e
fix compilation on systems that don't have
...
XP_EVENT_SPACE_CHANGED defined
(cherry picked from commit 6e833e41e2
)
2008-11-14 15:11:42 -08:00
Jeremy Huddleston
b078936571
XQuartz: Initial work on readding GLX to the 1.5 server
...
(cherry picked from commit a186cab6ae
)
2008-11-14 15:10:32 -08:00
Jeremy Huddleston
1d7049f8fd
Xquartz: Force sending mouse clicks to AppKit if we're over the menu bar
...
(cherry picked from commit 7dff93ec1a
)
2008-11-14 11:10:24 -08:00
Jeremy Huddleston
3c12483264
XQuartz: Made X11Application.m a little more tidy.
...
(cherry picked from commit 3520386261
)
2008-11-14 11:10:15 -08:00
Jeremy Huddleston
5bad5d2abe
XQuartz: Fixed XBell() when not using system alert.
...
(cherry picked from commit aa0e9ab1c7
)
2008-11-13 11:34:32 -08:00
Jeremy Huddleston
0fca8588a2
XQuartz: Added more debugging to handoff spew
...
(cherry picked from commit acefa7e3c8
)
2008-11-13 11:34:27 -08:00
George Staplin
47d3821870
XQuartz: GL: Handle the alpha differently when the alpha is equal to GLCAPS_COLOR_BUF_INVALID_VALUE.
...
This prevents visuals with odd sizes. The machine I use didn't have
this problem, but it shows up on some others.
(cherry picked from commit ed181382dd
)
2008-11-13 11:34:21 -08:00
George Staplin
33edd32702
XQuartz: Disable 2 calls to miSetVisualTypesAndMasks that seem to be unnecessary, and possibly wrong (with regard to masks and bits per RGB).
...
Use the settings queried from the system in xprScreen.c, rather than those 2 calls.
The 2 calls increased the total number of visuals a great deal (when using GLXEXT),
and not all of the visuals were usable with GLX. Some of the visuals aren't usable
with GLX still, such as DirectColor, but that seems to be acceptable based on my
understanding of the manual that states "a subset of visuals are made available
for OpenGL rendering."
(cherry picked from commit 373b8a5f32
)
2008-11-13 01:19:43 -08:00
Jeremy Huddleston
1523476afa
XQuartz: CFBundleShortVersionString needs to conform to X.Y.Z as well... sigh
...
(cherry picked from commit 54d20f6d33
)
2008-11-13 01:19:35 -08:00
George Staplin
1f301a0051
XQuartz: Restore the logic of AppleWMDoReorderWindow to the same as the 1.4 branch.
...
It was returning inverted values in comparison to the 1.4 branch. This resulted in
the windows not drawing due to a deep path of: RootlessReorderWindow ->
SCREENREC(pScreen)->imp->DoReorderWindow(winRec) - > xprDoReorderWindow ->
AppleWMDoReorderWindow.
(cherry picked from commit d1d398db76
)
2008-11-13 01:18:49 -08:00
Jeremy Huddleston
f59352881f
XQuartz: Make LS parse our version properly... it didn't like our CFBundleVersion
...
(cherry picked from commit 980df1b4ff
)
2008-11-06 14:49:54 -08:00
George Peter Staplin
13d06f5aaf
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.
(cherry picked from commit f527381eea
)
2008-11-05 19:23:48 -08:00
George Peter Staplin
34bb06b292
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.
(cherry picked from commit 1e5f63f15e
)
2008-11-05 19:23:41 -08:00
Jeremy Huddleston
39e82a9b12
XQuartz: Replace deprecated API usage thanks to Robery Murphy
...
(cherry picked from commit 71dd052412
)
2008-11-05 19:23:36 -08:00
Jeremy Huddleston
b4db46320a
XQuartz: version string updated for 2.3.2_beta3
...
(cherry picked from commit 81bb412857
)
2008-11-05 19:23:30 -08:00
Daniel Stone
8c3753a0b7
A bit of whitespace cleanup in include directives.
...
It's #include <foo>, not # include <foo>
Signed-off-by: Peter Hutterer <peter.hutterer@redhat.com>
2008-11-04 16:01:07 +10:30
Jeremy Huddleston
f8af66ddb2
XQuartz: Add option to allow access to the menu in fullscreen mode
...
(cherry picked from commit 637a9f4bd1
)
2008-10-31 20:05:39 -07:00
Jeremy Huddleston
c5086badf0
XQuartz: LP64 related casting fixes from Bob Murphy
...
(cherry picked from commit ea71710aaa
)
2008-10-31 19:03:38 -07:00
Jeremy Huddleston
ecd55bc859
XQuartz: displayScreenBounds uses quartzEnableRootless rather than !quartzHasRoot
...
(cherry picked from commit c883a78ef0
)
2008-10-31 15:50:06 -07:00
Jeremy Huddleston
9f49f5172d
XQuartz: Silence pointer debug spam
...
(cherry picked from commit 9ca099e928
)
2008-10-31 15:49:52 -07:00
Jeremy Huddleston
93298c7f8f
XQuartz: Don't map the menu bar to the screen area.
...
(cherry picked from commit 1115917ada
)
2008-10-31 15:49:44 -07:00
Jeremy Huddleston
31907986a6
XQuartz: Fixed Xplugin thread safety issues, so rea-enable background window check
...
(cherry picked from commit 5fc73b1141
)
2008-10-31 15:49:32 -07:00
George Peter Staplin
227d782a1b
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.
(cherry picked from commit d5c17f585a
)
2008-10-31 15:49:25 -07:00
Jeremy Huddleston
5287602a41
XQuartz: if 0 out a block to avoid thread-unsafe lockups
...
(cherry picked from commit 60d7359a67
)
2008-10-31 15:48:24 -07:00
Jeremy Huddleston
93d7cd31c5
XQuartz: Purge the old XQUARTZ_EXPORTS_LAUNCHD_FD option
...
(cherry picked from commit 490756c7fb
)
2008-10-31 15:48:15 -07:00
Jeremy Huddleston
f12d7ad164
XQuartz: Pass along SIGINT and SIGTERM from the stub to X11.app
...
(cherry picked from commit 183ca5d68b
)
2008-10-28 22:01:40 -07:00
George Peter Staplin
273df54685
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:.
(cherry picked from commit 5797d5b662
)
2008-10-28 22:01:34 -07:00
George Peter Staplin
313d87341a
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.
(cherry picked from commit 9be5998ede
)
2008-10-28 22:01:29 -07:00
George Peter Staplin
9007d3beea
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.
(cherry picked from commit 8d048cfa95
)
2008-10-28 22:01:22 -07:00
Jeremy Huddleston
b742da0b71
XQuartz: pbproxy: fixed blocking
...
(cherry picked from commit bb330a1b1c
)
2008-10-28 22:00:52 -07:00
Jeremy Huddleston
c885110aed
Xquartz: pbproxy: Some debugging about unhandled mime types... this will spam up quick, but will be useful for a while...
...
(cherry picked from commit 3647215310
)
2008-10-28 22:00:42 -07:00
George Peter Staplin
e7c26964ee
XQuartz: GL: Fix several error handling mistakes in handleRenderDescriptions, that were leftover before the final code evolved.
...
(cherry picked from commit fe35a36390
)
2008-10-28 22:00:36 -07:00
George Peter Staplin
21ea9d82aa
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.
(cherry picked from commit 98a084ce9c
)
2008-10-28 22:00:29 -07:00
Jeremy Huddleston
80b6768536
XQuartz: Do check_xinitrc() later to avoid possible deadlock.
...
(cherry picked from commit af95174a08
)
2008-10-23 19:22:36 -07:00
George Peter Staplin
d837d4e2af
XQuartz: pbproxy: pbproxy.h had invalid macro usage with 2 #else statements, so it wasn't building. Fix the build.
...
(cherry picked from commit 6bcbb9ba85
)
2008-10-23 19:22:28 -07:00
George Peter Staplin
6a2693b2f9
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...
(cherry picked from commit 49b7a7c6f2
)
2008-10-23 19:22:16 -07:00
Jeremy Huddleston
28d4f71193
XQuartz: pbproxy: Fix compilation on case-sensitive file systems...
...
(cherry picked from commit 6622efca21
)
2008-10-23 16:30:53 -07:00
Jeremy Huddleston
3e999d35c2
XQuartz: Honor the Spaces preference for "When switching to an application, switch to a space with open windows for the application"
...
(cherry picked from commit bf561a06b2
)
2008-10-23 14:17:19 -07:00
Jeremy Huddleston
75067d12e4
XQuartz: Added missing semicolons to Localizable.strings
...
(cherry picked from commit e9fe3f36d9
)
2008-10-23 14:17:10 -07:00
Jeremy Huddleston
a003932dcc
XQuartz: Default dpi to 96 instead of 75
...
(cherry picked from commit 08a5a333d7
)
2008-10-23 14:17:04 -07:00
Jeremy Huddleston
2d764e21f2
XQuartz: pbproxy: SIGHUP reloads preferences.
...
(cherry picked from commit cbc0935ef7
)
2008-10-23 14:16:57 -07:00
Jeremy Huddleston
c837d182c4
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.
(cherry picked from commit 10090a132a
)
2008-10-21 09:34:56 -07:00
Jeremy Huddleston
2a9613980f
XQuartz: More fullscreen fixes
...
Start in rooted mode when enabled
Make the hotkey cmd-alt-a behave
(cherry picked from commit 22a54e4617
)
2008-10-21 09:34:49 -07:00
Jeremy Huddleston
e4ea1494de
XQuartz: Cleaned up keyboard init and map reload.
...
(cherry picked from commit f78c9fc06c
)
2008-10-21 09:34:40 -07:00
Jeremy Huddleston
ebb2e1449c
XQuartz: Fixed follow-keyboard-layout
...
≈
(cherry picked from commit a9f9fbf512
)
2008-10-21 09:34:28 -07:00
Jeremy Huddleston
f67cd31d2c
XQuartz: More progress towards fullscreen...
...
(cherry picked from commit 628cae86b4
)
(cherry picked from commit b47b7ab6d6
)
2008-10-21 09:34:17 -07:00
Jeremy Huddleston
d434ed4009
XQuartz: Fixed missing key-equiv for Hide-Others.
...
(cherry picked from commit 2c4b0f9615
)
2008-10-21 09:32:20 -07:00
George Peter Staplin
f935c11398
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.
(cherry picked from commit 165cbbb90c
)
2008-10-21 09:32:03 -07:00
Jeremy Huddleston
4d978af5c7
XQuartz: Fixed window levels.
...
(cherry picked from commit ef4d37c73f
)
2008-10-21 09:31:56 -07:00
Jeremy Huddleston
84ef8ed6fb
XQuartz: implemented primary-on-grab and fixed clipboard-to-pasteboard
...
(cherry picked from commit bcb83eea72
)
2008-10-15 17:31:54 -07:00
Jeremy Huddleston
d13c3cbd43
XQuartz: Some motion made towards supporting fullscreen.
...
(cherry picked from commit 99be3d68b6
)
2008-10-08 18:45:17 -07:00
Jeremy Huddleston
dc166bf642
XQuartz: Fixed EXTRA_DIST for new GL files.
...
(cherry picked from commit a11c905203
)
2008-10-08 18:45:13 -07:00
George Staplin
8033279294
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.
(cherry picked from commit 1056700971
)
2008-10-08 18:45:09 -07:00
Jeremy Huddleston
f1fec6f323
XQuartz: Call setVisualConfigs in InitOutput, and only when GLXEXT is defined.
...
(cherry picked from commit 97173d4eda
)
2008-10-08 18:45:04 -07:00
George Staplin
52accec7db
XQuartz: GL: Add the proper license information to the new files, and add more commentary to setVisualConfigs().
...
(cherry picked from commit 190a3d5e5d
)
2008-10-08 18:44:28 -07:00
George Staplin
63abdf6115
XQuartz: GL: Add the new C code to the Makefile.am.
...
Commit the darwin.c changes I missed in the last commit, for calling
setVisualConfigs().
(cherry picked from commit eb3c014e17
)
2008-10-08 18:44:24 -07:00
George Staplin
a8f5d422c9
XQuartz: GL: Provide code for getting the capabilities of the underlying system's CGL.
...
Add a setVisualConfigs that is called before the fbScreenInit, to setup the __GLXvisualConfigs.
(cherry picked from commit fc86f9e448
)
2008-10-08 18:44:21 -07:00
Jeremy Huddleston
2998e48be3
Xquartz: Fix parallel builds
...
(cherry picked from commit 1fe7298a3b
)
2008-10-08 18:44:17 -07:00
Adam Jackson
8a5b89e8e1
xalloc+memset(0) -> xcalloc
2008-10-06 15:36:51 -04:00
Jeremy Huddleston
aacac3edac
XQuartz: Bumped bundle version to 2.3.2 for beta1
...
(cherry picked from commit 2021c4c4e7
)
2008-10-04 21:17:14 -07:00
Jeremy Huddleston
ed3134918d
XQuartz: pbcopy: Re-enabled some code I commented out for testing
...
(cherry picked from commit 9b5d114092
)
2008-10-04 21:17:09 -07:00
Jeremy Huddleston
b3a971d8b5
XQuartz: xpbproxy: Support some of the preference toggles from X11.app, cleaned up CLIPBOARD_MANAGER atom management.
...
(cherry picked from commit f7673bb4de
)
2008-10-04 21:17:02 -07:00
Jeremy Huddleston
fc35c7a2e2
XQuartz: GLX - enable_stereo defaults option should work now
...
(cherry picked from commit 3a6898f487
)
2008-10-04 21:16:54 -07:00
Adam Jackson
e6b1c1fada
const cleanup
2008-10-03 17:51:19 -04:00
George Peter Staplin
7bb73a9513
XQuartz: pbproxy: Possibly fix a memory leak by using an [NSApp run] loop,
...
instead of calling CFRunLoopRun() directly. The leak wasn't reproducible on
this machine, but someone was able to produce a leak trace with Instruments
that indicates it was leaking in the CFRunLoopRun() path.
x-input.m: dequeue and ignore events when pbproxy_active is false.
x-selection.h: add an is_active method that is used by x-input.m to ignore
events.
x-selection.m: Handle nearly every preference, except for primary_on_grab,
which I don't really understand yet.
(cherry picked from commit 4d51ad851e
)
2008-10-03 11:14:49 -07:00
Jeremy Huddleston
2a5ce41f03
XQuartz: Use "pointer" and "pen" for device names to please GDK.
...
(cherry picked from commit 00ca0f4d83
)
2008-10-03 11:14:43 -07:00
Jeremy Huddleston
d3f597a986
XQuartz: Workaround for initial pressure/tilt being sent as 0 with motion during the proximity event
...
(cherry picked from commit 9a91d770a6
)
2008-10-03 11:14:40 -07:00
Jeremy Huddleston
1657dfb843
XQuartz: Using absolute ranges for pointer location to increase resolution and better support tablets.
...
(cherry picked from commit d79ccb45f6
)
2008-10-03 11:14:38 -07:00
Jeremy Huddleston
88bb8c6f48
XQuartz: Removed resolved comment about localization.
...
(cherry picked from commit 8ed5faf058
)
2008-10-03 11:14:34 -07:00
George Peter Staplin
b1d0b19661
XQuartz: pbproxy: Make the signal handler safer by using _exit, and only exit.
...
Remove some unnecesssary headers.
Remove some dead code that was never called or used in pbproxy.
Make use of an NSAutoreleasePool in x_init. It could potentially cause a leak
on a startup without this.
Start adding reload_preferences to the x_selection class, as well as event
handling for that.
(cherry picked from commit 602e8ba8f7
)
2008-10-03 11:14:30 -07:00
Jeremy Huddleston
ecd260143c
XQuartz: Added some localizable strings that were missing.
...
(cherry picked from commit 2c8205ea8b
)
2008-10-03 11:14:28 -07:00
Jeremy Huddleston
aae878b890
XQuartz: Actually send the pointer event from the pen even if it happes to actually have 0 pressure and 0 tilt.
...
(cherry picked from commit f415837619
)
2008-10-03 11:13:03 -07:00
Jeremy Huddleston
b7ad86ff8a
Xquartz: xpbproxy: Split out app-specific stuff to app-main.m in prep for making this into a thread.
...
(cherry picked from commit c2012138a5
)
2008-10-03 11:12:57 -07:00
Jeremy Huddleston
5446adebfb
XQuartz: Send AppleWMReloadPreferences where appropriate.
...
(cherry picked from commit 490cbe9888
)
2008-10-03 11:12:49 -07:00
Jeremy Huddleston
6020c3fbfe
XQuartz: Added a --enable-integrated-xpbproxy configure option for building xpbproxy as an app or as a thread.
...
(cherry picked from commit 8edc5fb38c
)
(cherry picked from commit 88033a66a5
)
2008-10-03 11:11:47 -07:00
George Peter Staplin
eb8be3e90a
XQuartz: pbproxy: Fix another STRING bug.
...
Fix the usage of the NSString cStringUsingEncoding: - it doesn't NUL
terminate the string, which lead to a bus error. So, we use
lengthOfBytesUsingEncoding: to get the length in bytes instead of
strlen().
(cherry picked from commit 6333d619e7
)
2008-09-26 12:31:33 -07:00
George Peter Staplin
edfa3f8233
XQuartz: pbproxy: Fix a bug that rxvt brought out in STRING copying. Now I can copy and paste to/from rxvt correctly.
...
(cherry picked from commit 82a4dc5f0f
)
2008-09-26 12:31:29 -07:00
Jeremy Huddleston
12a59c44cb
XQuartz: Fixed threading issue with TSM.
...
(cherry picked from commit 93ab4e0071
)
2008-09-26 12:31:21 -07:00
Jeremy Huddleston
ee87c9b024
XQuartz: pbproxy: Removed stray SPI include.
...
(cherry picked from commit 2fb2bc77b8
)
2008-09-26 12:31:18 -07:00
George Peter Staplin
591cc57627
XQuartz: pbproxy: Fix 3 paths that could leak memory.
...
2 of the paths leaked, when INCR transfers were done. Now we
are leak free according to the leaks program for all transfers
I have tried so far.
(cherry picked from commit aa98db576b
)
2008-09-26 12:31:12 -07:00
George Peter Staplin
586fbc91df
XQuartz: pbproxy: Fix NSObject memory leaks by properly using the
...
NSAutoreleasePool. Now the usage is consistent. In x_input_run()
we create a pool, and release it after processing the XEvents.
Add some getpid() output to main for debugging. It needs a bit more
testing before the next release.
Don't retain the NSPasteboard as the old code did. That may have
contributed to the leak, and it made it so that we needed the
NSAutoreleasePool created in main().
Remove the _known_types, and _pasteboard instance variables from
the x_selection class. They aren't needed anymore.
The leaks program now indicates 0 leaks after some usage. I want
to test further, but this seems much better, and my memory usage
graph indicates it's not growing.
(cherry picked from commit b245d84a72
)
2008-09-26 12:31:06 -07:00
George Peter Staplin
238999cfc9
XQuartz: pbproxy: Add a comment to pbproxy.h about how the DB()
...
macro causes a leak (according to the leaks program).
Attempt to fix several other leaks with release method calls.
For some reason the process still grows more than it should...
I will need to use some better methods than leaks, and malloc_history
I suspect. Whatever is leaking, it's hard to find. I need to isolate
the cases more.
Add a missing image/jpeg branch.
Remove read_prop_32 - it's not used.
(cherry picked from commit 63a680354d
)
2008-09-26 12:31:01 -07:00
Jeremy Huddleston
af0d5e2ef7
XQuartz: 64bit crash fix ... don't pass pointers through xe.
...
(cherry picked from commit 5f1265b82e
)
2008-09-21 17:40:42 -07:00
George Peter Staplin
852a0b0dde
XQuartz: pbproxy: Add an X error handler that returns 0.
...
Move the struct atom_list into the x-selection class, so that it's
no longer a global variable named atoms. This may ease pthread
integration and reduce the chances of symbols conflicting.
(cherry picked from commit c1403c713c
)
2008-09-21 17:40:42 -07:00
George Peter Staplin
7fa6fc5ad0
XQuartz: pbproxy: Fix a bug that occured when a PICT format was available.
...
We may need another branch to convert a PICT to a PNG or JPEG. For now
TIFF works well in all of the test image copying apps when converted to
PNG or JPEG with an NSBitmapImageRep class.
(cherry picked from commit adf339d8f9
)
2008-09-21 17:40:41 -07:00
George Peter Staplin
f67490ceb5
XQuartz: pbproxy: Make the proxy handle copy request races, and PRIMARY
...
INCR transfers mixed with a CLIPBOARD change.
Fix a bug with some UTF-8 transfers. I can only guess that my UTF-8
tests before were inadequate. I can now copy/paste any characters between
uxterm and Textedit.app.
(cherry picked from commit 7ca1532e8e
)
2008-09-21 17:40:41 -07:00
Jeremy Huddleston
b666ffd781
XQuartz: "Disable" the text when syncing is disabled.
...
(cherry picked from commit 7713d7ab66
)
2008-09-21 17:40:41 -07:00
Jeremy Huddleston
dba290ec23
XQuartz: Added a preferences UI for pbproxy options.
...
(cherry picked from commit d76cca5e1e
)
2008-09-21 17:40:35 -07:00
George Peter Staplin
a928cae57b
XQuartz: pbproxy: Add a missing include of Xutil.h. Another header
...
seems to have done this before, but correctness matters.
(cherry picked from commit 1b4987e779
)
2008-09-21 17:40:16 -07:00
George Peter Staplin
749bdf19b2
XQuartz: pbproxy: Add COMPOUND_TEXT handling. Do misc. cleanups with testing
...
to verify that the behavior didn't change.
main.m: XInternAtom compound_text, and atom_pair.
pbproxy.h: Add compound_text and atom_pair to the struct atom_list.
x-selection.m: Add an #include of Xutil.h. Refactor the reply struct
initialization to be done in a common place. Add send_reply: to simplify
the code a bit more. Add send_compound_text: which handles the
COMPOUND_TEXT type. Add the beginnings of a send_multiple:. Change
handle_image:extension: to handle_image:. The extension: message isn't
needed anymore.
(cherry picked from commit 1e9460abdf
)
2008-09-21 17:40:16 -07:00
George Peter Staplin
00bfbee59f
XQuartz: pbproxy: pbproxy now responds to selection request events.
...
We can now copy and paste images to and from X11. Text copying and
pasting works as well.
The NSPasteboard can contain TIFF or PICT images, and pbproxy will
translate to an image/png or image/jpeg request, and list those in the
TARGETS.
I added a description of the basic design at the top of x-selection.m.
I removed the request_data x_selection class struct. It's not needed.
(cherry picked from commit 4a8daf8846
)
2008-09-21 17:40:16 -07:00
George Peter Staplin
811e9f5e9e
XQuartz: pbproxy: Use an NSBitmapImageRep to convert an "image/png" selection
...
to a TIFFRepresentation for use with NSPasteboard.
This has been tested with the Gimp and works with some minor quartz-wm changes.
The Finder clipboard shows the image updates after an Edit -> Copy.
(cherry picked from commit 12912adaee
)
2008-09-21 17:40:16 -07:00
Jeremy Huddleston
d8d555bac7
XQuartz: Don't enable 8bit visuals in the TrueColor server, since it's not working yet
...
(cherry picked from commit 1317c8ff94
)
2008-09-21 17:40:15 -07:00
George Peter Staplin
23ec8261b6
XQuartz: pbproxy: The greedy CLIPBOARD handling now works for text.
...
This change adds some [self own_clipboard] calls in the necessary places to get the proper greedy behavior.
UTF8_STRING and STRING properties seem to work well now with the test cases (PRIMARY, and CLIPBOARD). I can copy from several different X apps, and have the behavior be correct when pasting. I also verified that quartz-wm isn't doing the copying, by disabling the quartz-wm paths.
(cherry picked from commit 934669f732
)
2008-09-21 17:40:15 -07:00
George Peter Staplin
7c2eb3d41a
XQuartz: pbproxy: return the TARGETS list as a 32-bit list to fix a bug that was in the original.
...
Add TRACE() calls where appropriate to try to figure out why we are losing CLIPBOARD at times, after transferring PRIMARY to the NSPasteboard.
Use the new pbproxy_clipboard_to_pasteboard where appropriate.
(cherry picked from commit 40190675a6
)
2008-09-21 17:40:15 -07:00
George Peter Staplin
81c836902d
Rename reclaim_clipboard to claim_clipboard.
...
Convert the puts usage to use DB().
Add the initial handle_image method.
Check for nil in the NSString instantiation in various places.
Add some commentary to enhance the clarity of why I did some things.
(cherry picked from commit 37361567b6
)
2008-09-21 17:40:15 -07:00
George Peter Staplin
85e23affea
Add an image_jpeg Atom.
...
(cherry picked from commit ea9dc27977
)
2008-09-21 17:40:15 -07:00
George Peter Staplin
6b42f40ff9
Rename reclaim_clipboard to claim_clipboard.
...
(cherry picked from commit d333a8e2b5
)
2008-09-21 17:40:15 -07:00
George Peter Staplin
2ab56981b1
Add image/jpeg type, and rename reclaim_clipboard to claim_clipboard.
...
(cherry picked from commit 32b175ef62
)
2008-09-21 17:40:14 -07:00
Jeremy Huddleston
cbd32645f7
XQuartz: pbproxy: Added global variables to customize how pbproxy behaves
...
(cherry picked from commit 21a2d0b8d0
)
2008-09-21 17:40:14 -07:00
Jeremy Huddleston
5b397642cd
XQuartz: pbproxy: First round of updates to pbproxy from George.
...
(cherry picked from commit 5c8b956f8f
)
2008-09-21 17:40:14 -07:00
Jeremy Huddleston
999f3362d5
XQuartz: Dead code removal
...
(cherry picked from commit 43184cd379
)
2008-09-12 15:26:18 -07:00
Jeremy Huddleston
6548a55ebd
XQuartz: 256 color support
...
(cherry picked from commit 8dd6d5c825
)
2008-09-12 15:26:13 -07:00
Jeremy Huddleston
bad7cd14c2
XQuartz: Dead code removal
...
(cherry picked from commit bf10fb0b1f
)
2008-09-12 15:26:07 -07:00
Jeremy Huddleston
1119fe136f
XQuartz: Changed around fd handoff model to be more robust
...
(cherry picked from commit 4fe605c2bc
)
2008-09-12 15:26:01 -07:00
Jeremy Huddleston
183233b27b
XQuartz: Don't warp the pointer on server start for XQuartz
...
(cherry picked from commit c0da576d49
)
2008-09-12 15:25:44 -07:00
Jeremy Huddleston
7a46dd30d3
XQuartz: Dead code removal
...
(cherry picked from commit 2e45344870
)
2008-09-12 15:22:46 -07:00
Jeremy Huddleston
1c70e53f25
XQuartz: Fixed proximity logic errors for tablets.
...
(cherry picked from commit d942849f24
)
2008-09-12 15:22:39 -07:00
Jeremy Huddleston
1669308be6
XQuartz: Added pasteboard proxy code stripped out of quartz-wm.
...
(cherry picked from commit 1f842c71c3
)
(cherry picked from commit 144746223d
)
2008-09-03 09:33:58 -07:00
Jeremy Huddleston
46168b3b40
XQuartz: Updated Tablet code to include ranges for valuators and added cursor and erasor
...
(cherry picked from commit 6bca787609
)
(cherry picked from commit fafcafd6de
)
2008-09-03 09:33:53 -07:00
Jeremy Huddleston
7f5318131d
XQuartz: Removed "Done" button from Applications Customization. Now properly save on exit.
...
(cherry picked from commit 2f1e163d5d
)
(cherry picked from commit 7542c00b96
)
2008-09-03 09:33:45 -07:00
Jeremy Huddleston
700e8bf33f
XQuartz: Updated man page
...
(cherry picked from commit 6932d0d19e
)
(cherry picked from commit 8e3da36b6b
)
2008-09-03 09:25:13 -07:00
Jeremy Huddleston
7430bb9093
XQuartz: Removed dead code (unused option definitions)
...
(cherry picked from commit 3d74f77490
)
(cherry picked from commit c1e5ea9ba0
)
2008-09-03 09:25:07 -07:00
Jeremy Huddleston
b3836e5bdd
XQuartz: Cleaned up our sleeping before adding the launchd socket.
...
(cherry picked from commit ebfe49dfca
)
(cherry picked from commit 2cf74a76d5
)
2008-09-03 09:24:59 -07:00
Jeremy Huddleston
0cd6709db5
XQuartz: Fixed editing of Applications menu
...
(cherry picked from commit da647f1add
)
2008-08-30 16:25:06 -07:00
Jeremy Huddleston
c4d290fc54
XQuartz: Fixed missing symbol in quartzKeyboard debugging
...
(cherry picked from commit 8ad55e484f
)
2008-08-30 14:21:17 -07:00
Jeremy Huddleston
1885582444
XQuartz: Placate automake which doesn't like escaped newlines even in comments...
...
(cherry picked from commit 73db117012
)
2008-08-29 21:18:26 -07:00
Jeremy Huddleston
8abcc12fdd
XQuartz: Added debugging output to the crash log to help track down two crashes, since people don't often report their system.log spew.
...
(cherry picked from commit aaf0f71db1
)
2008-08-29 20:55:25 -07:00
Jeremy Huddleston
aee19c7b55
XQuartz: xp_is_symbolic_hotkey_event catches the input menu, but not our mainMenu, so we still need to do that the old way.
...
(cherry picked from commit 25eccf12c8
)
2008-08-29 20:53:10 -07:00
Tomas Carnecky
ebea78cdba
Prepare for array-index based devPrivates.
...
TODO: static indices can be made just an int; some indices
can be combined.
2008-08-28 18:05:40 -04:00
Jeremy Huddleston
2db1afbf2e
XQuartz: Always use TIS for the keyboard layout seed since KB* aren't thread safe.
...
(cherry picked from commit c8244177b0
)
2008-08-26 23:10:18 -07:00
Jeremy Huddleston
319405fa4a
XQuartz: Fixed needed xplugin version. ><
...
(cherry picked from commit 01b3a99dff
)
2008-08-26 23:10:17 -07:00
Jeremy Huddleston
3350770bd6
XQuartz: Use new Xplugin API to determine if a keypress event corresponds to an OS-X hotkey that we should dispatch to Appkit.
...
(cherry picked from commit e7658e745f
)
2008-08-26 20:19:47 -07:00
Jeremy Huddleston
7930ea9116
XQuartz: Made a note to come back to the xinitrc race condition in the 1.5 branch when we move up to it.
...
(cherry picked from commit 54a882dcbd
)
2008-08-26 20:19:44 -07:00
Jeremy Huddleston
dc1171df5b
XQuartz: Fixed bogus args to debug ErrorF
...
(cherry picked from commit f0351c2b80
)
2008-08-26 20:19:41 -07:00
Jeremy Huddleston
ac936525af
XQuartz: Cleaned up mouse event translation a bit more.
...
(cherry picked from commit c286f2a718
)
2008-08-26 20:19:38 -07:00
Jeremy Huddleston
1b42f55000
Xquartz: Added missing ev_type for NSTabletPoint event.
...
(cherry picked from commit 07548f1394
)
2008-08-26 20:19:35 -07:00
Jeremy Huddleston
13a89f1920
XQuartz: Added more explanation to debug keylayout spew to cut down on report-spam.
...
(cherry picked from commit fcdc9f8b5a
)
2008-08-26 20:19:33 -07:00
Adam Jackson
64ef7ed072
Centralize declaration of ConnectionInfo.
2008-08-20 13:14:34 -04:00
Jeremy Huddleston
f1f44940f1
XQuartz: Support windowItemModMask=0 or -1 to disable window shortcuts.
...
(cherry picked from commit 81187364e5
)
(cherry picked from commit f2ec79e4a1
)
2008-08-20 10:00:43 -07:00
Jeremy Huddleston
6c5612c2e1
XQuartz: Added window_item_modifiers defaults item (and option to localization) to change the modifier keys used for the windows menu.
...
(cherry picked from commit e4110861d3
)
(cherry picked from commit fcfc05482a
)
2008-08-20 10:00:37 -07:00
Jeremy Huddleston
bdc277c9b3
XQuartz: Just cleaned up formatting of event processing code... no "meat" changed...
...
(cherry picked from commit 745bc8ab38
)
(cherry picked from commit a28a2be524
)
2008-08-20 10:00:32 -07:00
Jeremy Huddleston
ed42108920
XQuartz: Added appkit_modifiers defaults option which users can set to 'rcommand' to get access to the input menu with right command
...
(cherry picked from commit 02af74d7a5
)
(cherry picked from commit 2da32894df
)
2008-08-20 10:00:27 -07:00
Jeremy Huddleston
be06961312
XQuartz: More input fixes
...
stuck-modifier fixes (capslock)
3button-emulation now doesn't send the modifier key with the click
Added other options to fake_button2 and fake_button3 defaults options:
({l,r}{control,alt,command,shift})
(cherry picked from commit 8fb6a1cf44
)
(cherry picked from commit ae9c1b3cfb
)
2008-08-20 10:00:20 -07:00
Jeremy Huddleston
436b659091
XQuartz: Updated bundle version to 2.3.1
...
(cherry picked from commit eedecba0b8
)
(cherry picked from commit 7d9d864461
)
2008-08-20 10:00:13 -07:00
Jeremy Huddleston
8b9ed7dec2
XQuartz: Fixed a stuck modifier key bug.
...
(cherry picked from commit eeb6e5a9e9
)
2008-08-14 09:13:37 -07:00
Jeremy Huddleston
1770c85374
XQuartz: Made 3-button mouse simulation a little more consistent.
...
(cherry picked from commit d207b037d2
)
2008-08-14 09:13:35 -07:00
Jeremy Huddleston
f51f77d25e
XQuartz: Reverted "Control" text to be accurately "Command" in the input prefs.
...
(cherry picked from commit b287c481e1
)
2008-08-14 09:13:34 -07:00
Adam Jackson
0ce687634f
Eviscerate save-under support.
...
Use a compositing manager already. Plus I really wanted to use 'eviscerate'
in a commit message.
2008-08-13 17:28:08 -04:00
Michel Dänzer
073116cc44
Remove commented out lines that make automake 1.9 puke.
2008-08-08 12:15:27 +02:00
Jeremy Huddleston
666781cd9b
Removed rogue #include
...
(cherry picked from commit af238e99da
)
2008-08-08 02:57:00 -07:00
Jeremy Huddleston
4a0947bf06
XQuartz: Disable the Xquartz AIGLX for now since it doesn't even compile any more...
...
(cherry picked from commit 4545ba91e9
)
2008-08-08 01:53:36 -07:00
Jeremy Huddleston
5accc9b3ce
XQuartz: Re-added deprecated code fallback failsafe for keyboard layout on Leopard with some debugging spew.
...
(cherry picked from commit 5854e712e9
)
2008-08-08 01:21:08 -07:00
Jeremy Huddleston
e72b1d21e4
XQuartz: Now properly disable xauth checking on launchd socket and mostly fix the xinitrc / launchd race condition
2008-08-06 13:37:21 -07:00
Jeremy Huddleston
26d31ad1c7
XQuartz: Added code and made comments more helpful for debugging first-client-auth bug.
...
(cherry picked from commit a8f0d32216
)
2008-08-05 18:47:35 -07:00
Jeremy Huddleston
0ef3243fb5
XQuartz: More fd handoff cleanup.
...
(cherry picked from commit 199d2dcb70
)
2008-08-05 18:47:35 -07:00
Jeremy Huddleston
e7dd3dd8f3
XQuartz: Fixed some errors / typos in the preferences pane.
...
(cherry picked from commit e1e0c398bb
)
2008-08-05 18:47:34 -07:00
Jeremy Huddleston
6836f9aac8
XQUartz: UI Cleanup. Removed done/cancel buttons from Applications->Customize
...
(cherry picked from commit d3157ca45c
)
2008-08-05 18:47:34 -07:00
Jeremy Huddleston
de4936d748
XQuartz: Fixed proper processing of tablet button presses
...
(cherry picked from commit ca0babafa4
)
2008-08-05 12:55:02 -07:00
Jeremy Huddleston
b70a8ba3dc
XQuartz: Nuke Sparkle.
...
(cherry picked from commit 4991f54a8d
)
2008-08-05 12:54:57 -07:00
Jeremy Huddleston
30851efdd4
XQuartz: Fixed first-client-can't-connect bug
...
Readded the old exec() server startup path for regression testing.
Don't use the dynamic fd addition code since it's not quite working correctly.
(cherry picked from commit 08f3fe153e
)
2008-08-05 12:54:51 -07:00
Adam Jackson
9757106bba
Remove all empty extension reset hooks, replace with NULL.
2008-07-24 15:46:08 -04:00
Jeremy Huddleston
c3267106fb
XQuartz: Use CFEqual to compare keyboards
...
(cherry picked from commit 5538e43b9a
)
2008-07-11 10:13:36 -07:00
Jeremy Huddleston
90dd2de845
XQuartz: Some fd handoff cleanup.
...
(cherry picked from commit 9c20a4804d
)
2008-07-11 10:13:32 -07:00
Jeremy Huddleston
26d8030c38
XQuartz: Remove deprecated keyboard code.
...
(cherry picked from commit 69cfc1a21e
)
2008-07-11 10:13:26 -07:00
Jeremy Huddleston
e69b9f9ca4
XQuartz: Set noPanoramixExtension earlier to avoid a possible race.
...
(cherry picked from commit 49668e8a88
)
2008-07-11 10:13:13 -07:00
Jeremy Huddleston
8d2e2e1d85
Xquartz: Removed include directive for removed header
...
(cherry picked from commit e65a36d57f
)
2008-07-11 10:13:06 -07:00
Jeremy Huddleston
f8431a62d5
XQuartz: Under the new startup model, we no longer need to do the foreground/background dance.
...
(cherry picked from commit 4505bae5d7
)
2008-06-10 10:52:04 -07:00
Jeremy Huddleston
c180a52332
XQuartz: Removed code path for old startup
...
(cherry picked from commit a9ee6b0d00
)
2008-06-10 10:51:58 -07:00
Jeremy Huddleston
5170c169db
XQuartz: Fixed the "laggy" startup under the new model. This was caused by xinit blocking expecting SIGUSR1 and our stub never sending it.
...
(cherry picked from commit ee92aced10
)
2008-06-10 01:46:01 -07:00
Jeremy Huddleston
01ace5f3fd
XQuartz: Updated icon with more rsolutions and made it more dark-background friendly
...
(cherry picked from commit d8cf5623fa
)
2008-06-10 01:46:00 -07:00
Jeremy Huddleston
40855d8000
XQuartz: Removed async debugging sleep
...
(cherry picked from commit 7812a8bdf9
)
2008-06-04 12:24:15 -07:00
Jeremy Huddleston
ee86b75119
XQuartz: use a condition variable to signal when darwinEvents is ready rather than polling
...
(cherry picked from commit ff1c443cad
)
2008-06-04 12:24:12 -07:00
Jeremy Huddleston
38da26cd36
XQuartz: Don't forget to destroy the mutex and cond after we're done with them
...
(cherry picked from commit c3558bb8cd
)
2008-06-04 12:24:10 -07:00
Jeremy Huddleston
ea40fcf434
XQuartz: Fork for trigger
...
(cherry picked from commit dd0f8a0f59
)
2008-06-04 12:24:06 -07:00
Jeremy Huddleston
2393dae6ff
XQuartz: Switched over to new startup path for testing. Cleaned it up a bit. Server still crashes when using the icon to launch =/
...
(cherry picked from commit 7f840e9dc1
)
2008-06-04 12:24:04 -07:00
Peter Hutterer
26c1958c32
Merge branch 'master' into mpx
2008-05-26 17:37:31 +09:30
Jeremy Huddleston
7082929ef7
XQuartz: A 2 second delay for launchd socket connections should be sufficient.
...
(cherry picked from commit 2bb4251b3c
)
2008-05-23 02:32:37 -07:00
Jeremy Huddleston
225dddbaed
XQuartz: Move the launchd display grabbing into mach_startup
...
(cherry picked from commit c3866c98d2
)
2008-05-23 02:31:41 -07:00
Jeremy Huddleston
3a22190061
XQuartz: Fixed a few issues with fd passing... still not working =(
...
(cherry picked from commit 7dd3512715
)
2008-05-23 02:31:38 -07:00
Dan Nicholson
c76fddeea2
Fix up paths for GL/glx -> glx renaming
2008-05-21 10:51:15 -07:00
Kristian Høgsberg
77ff8fd507
Drop glcore GLX provider.
...
Obsoleted by the DRI swrast driver.
2008-05-21 12:15:18 -04:00
George Sapountzis
255142b61e
drop xprint remnants: InitGlobals
2008-05-21 18:13:09 +03:00
Peter Hutterer
99d28c3ef3
Merge branch 'master' into mpx
...
Conflicts:
Xext/xprint.c (removed in master)
config/hal.c
dix/main.c
hw/kdrive/ati/ati_cursor.c (removed in master)
hw/kdrive/i810/i810_cursor.c (removed in master)
hw/xprint/ddxInit.c (removed in master)
xkb/ddxLoad.c
2008-05-20 10:20:14 +09:30
Jeremy Huddleston
bb687465d0
XQuartz: First stab at SCM_RIGHTS passing the $DISPLAY launchd fd from the stub to server
...
(cherry picked from commit cccee9cfc2
)
2008-05-19 02:47:18 -07:00
Jeremy Huddleston
4b69d22bcb
XQuartz: Fixed dropped code in the !XKB blocks, disable XKB support until we figure out a solution for xkeyboard-config
...
(cherry picked from commit 2a72309c06
)
2008-05-19 02:47:17 -07:00