Commit Graph

3921 Commits

Author SHA1 Message Date
Jeremy Huddleston
d045981457 Rootless: Added missing includes.
(cherry picked from commit f6a4c10636)
2007-11-23 13:45:53 -08:00
Jeremy Huddleston
b436b1cfbb Rootless: Pulled in changes from fb{Blt,Fill} into rl{Blt,Fill}
(cherry picked from commit 4e18c62635)
2007-11-23 13:42:05 -08:00
Jeremy Huddleston
e261f829e4 DIX: Remove remaining alloca calls 2007-11-20 16:15:59 -08:00
Jeremy Huddleston
1b048cc5d1 Dix: Re-ebable ErrorF reporting of incorrect refcount in FreeFontPath 2007-11-20 16:05:19 -08:00
Jeremy Huddleston
738a229a71 Various cleanups to get Xquartz to compile. 2007-11-20 06:59:11 -08:00
Jeremy Huddleston
89c4aa9d4a Force --disable-Xorg when on darwin 2007-11-20 05:57:15 -08:00
Jeremy Huddleston
7f91d756ac Darwin: Formatting Cleanup
To better line up with xorg-server-1.2-apple branch
2007-11-20 04:49:34 -08:00
Jeremy Huddleston
8c533443f8 Darwin: Sync up darwinEvents.c to match what is in use in xorg-server-apple-1.2 2007-11-20 04:10:45 -08:00
Jeremy Huddleston
837fd3bb99 Darwin: Fixed make dist
Added/corrected missing EXTRA_DIST entries.
2007-11-20 04:07:44 -08:00
Jeremy Huddleston
0bd2b610c4 XDarwin dead code removal
Removed unused code from the tree
Moved some files to more appropriate locations
2007-11-20 04:07:42 -08:00
Ben Byer
260ea61540 Added some DEBUG_LOG sauce to the XP_EVENT handling code 2007-11-20 04:07:39 -08:00
Ben Byer
1ffd8ba7a2 Disabled ALT_IS_MODE_SWITCH
(just for joke, nothing more)
2007-11-20 04:07:37 -08:00
Jeremy Huddleston
db6404f9d0 Added --with-x11app-archs configure option
This configure option's value is passed to xcodebuild in ARCHS, so we can easily choose architecture targets for X11.app
2007-11-20 04:07:34 -08:00
Ben Byer
e220328bdf From Jeremy: In my previous patch, I "overfixed" hook.c. This patch
removes the changes I made to the searching for loop since those are
extraneous due to the remove function call in the delete for loop.
2007-11-20 04:07:32 -08:00
Ben Byer
c50a40263b More correctness fixes to fix compiler warnings. 2007-11-20 04:07:29 -08:00
Ben Byer
cee516e142 From Jeremy Huddleston:
1) Fixed a bug where XQUARTZ was #defined when auto but not when --enable-xquartz
2) Cleaned up missing #includes and function prototypes.
3) Fixed some invalid C syntax problems
4) Removed a bunch of dead code
5) Cleaned up code to prevent some warnings
6) Bugfix in xpr/x-hook.c - looks like someone just forgot to finish writing code for hook_remove()... I only noticed it because gcc -Wall complained about reaching the end of a non-void function... lucky for us gcc is smarter than we are.
2007-11-20 04:07:22 -08:00
Ben Byer
41eabe5d4c added a bunch of debugging code to help troubleshoot the stuck
modifier key issue; much of it may be taken out later.
Also, hopefully fixed a race condition that may have
prevented ReleaseModifiers from working in some cases.
2007-11-20 04:05:37 -08:00
Ben Byer
6577916c44 a first stab at DEBUG_LOG 2007-11-20 04:04:53 -08:00
Ben Byer
7696bcddd0 Added a lightweight debugging facility to support troubleshooting
(for example) the stuck modifier key issue
2007-11-20 04:02:28 -08:00
Ben Byer
cad8133cce More XDarwin cleanup / dead code removal from Jeremy 2007-11-20 04:02:15 -08:00
Ben Byer
5320f4fab0 Patch to avert (some) damage / rootless crashes, courtesy of Ken Thomases 2007-11-20 04:00:03 -08:00
Ben Byer
da6cfcb89b Build system patches to remove XDarwin from the build (since it doesn't
work anyway), courtesy of Jeremy Huddleston
2007-11-20 04:00:00 -08:00
Ben Byer
835de9ceae Trying to add launchd detection to tell Xtrans
to enable launchd support; fix me later.
2007-11-20 03:59:53 -08:00
Ben Byer
96416bd595 fix missing -DXFree86Server; this needs to be defined when building
fb/fbcmap.c or else you get the "sunglasses effect"
2007-11-20 03:58:59 -08:00
Ben Byer
cfa99fa687 null pointer check 2007-11-20 03:54:49 -08:00
Ben Byer
10ecb31cd1 More build system fixes from Jeremy 2007-11-20 03:54:47 -08:00
Ben Byer
1c8e5994c6 converted some debugging prints to TRACE() statements 2007-11-20 03:54:44 -08:00
Ben Byer
22bf25c1b4 Fix for stuck modifier keys, attempt 2! 2007-11-20 03:54:29 -08:00
Ben Byer
1bad9b87e5 And now we kill XDarwinApp -- credit, Jeremy Huddleston 2007-11-20 03:48:24 -08:00
Ben Byer
49b2fb0965 Patch to fix various issues with the launcher, courtesy of Jeremy Huddleston 2007-11-20 03:43:12 -08:00
Ben Byer
53ecf39fbf These changes are necessary, yet not sufficient, to get 8-bit indexed
color mode working in Xquartz.
2007-11-20 03:43:09 -08:00
Ben Byer
ec0d30011c Fixed the call to xp_init so that we now receive Motion notifications even
if X is not the active application.
fixes <rdar://problem/5167664> xeyes dead until window activation
2007-11-20 03:43:03 -08:00
Ben Byer
10a5178258 Fix {/usr/X11,/Applications/Utilities}/X11.app install targets to properly respect
$DESTDIR.  Credit to Jeremy Huddleston
2007-11-20 03:41:32 -08:00
Ben Byer
c213749b19 fixes to allow Xvfb and Xephyr to be built if you build with --disable-xdarwin 2007-11-20 03:41:29 -08:00
Ben Byer
906c3195c9 fix for spurious "Are you sure you want to quit?" message 2007-11-20 03:41:27 -08:00
Ben Byer
d54bb8fafa Adding "fake RandR" support from old X11.app 2007-11-20 03:41:24 -08:00
Ben Byer
654d1019f3 Patch to rootless code that should fix many crashes. Credit to Ken Thomases
at CodeWeavers for the patch.  From his description:

Fix a display bug with the X server.  The Generic Rootless extension
installs overrides for certain GC (graphics context) operations.  Within
these overrides, they temporarily uninstall themselves, perform their work,
and then reinstall themselves.  Except sometimes they would return early
and wouldn't reinstall themselves when they should.  Now they do in all cases.

Fix a bug in RootlessCopyWindow where early returns could leave the screen's
dispatch table entry for CopyWindow unwrapped.  We think that this is
another case (hopefully the last) of the rootless drawing bug.
2007-11-20 03:41:22 -08:00
Ben Byer
7768c63675 formatting fixes 2007-11-20 03:41:19 -08:00
Ben Byer
6efdc6ca7b Fix for off-by-one error in menu bar height calculation -- props to Nicholas Riley! 2007-11-20 03:41:17 -08:00
Ben Byer
5d0c594e1d Undo some last-minute breakage in xpr.h 2007-11-20 03:41:14 -08:00
Ben Byer
cd7ab53241 removed debugging output 2007-11-20 03:41:12 -08:00
Ben Byer
c536ddf6ae Fixed focus problem (clicking on an X11 window that sits behind
an Aqua window would not always bring it to the top of the stack.
2007-11-20 03:41:09 -08:00
Ben Byer
36fca3bc35 formatting changes. 2007-11-20 03:41:07 -08:00
Ben Byer
9a0ee8b746 Fixed Spaces issue, correctly -- dragging an X window from one
Space to another in Expose mode now works.
2007-11-20 03:41:04 -08:00
Ben Byer
ed161d013c Fixed glx/DarwinGlx symbol problems; other servers (such as xvfb and xnest)
should now be buildable from this code if you pass e.g. --enable-xvfb
to configure.
2007-11-20 03:40:56 -08:00
Ben Byer
d24c85e507 formatting cleanup 2007-11-20 03:39:00 -08:00
Ben Byer
e8af07211f Fixed logic error that prevent JIS (Japanese) keyboard layouts from
being detected.
2007-11-20 03:38:57 -08:00
Ben Byer
83ef367458 Disable deferred updates in xp_init to fix performance problems
-- thanks to Eric Gouriou for pointing out the issue
2007-11-20 03:38:50 -08:00
Ben Byer
907129f62b Initial support for Spaces -- if you use Expose to drag an X11
window to another Space, it will work correctly (as opposed
to just leaving a ghost window).  We accomplish this by listening
for the notification from Xplugin that our window has been moved,
and then we ask X11 to move the window to the new location.
2007-11-20 03:36:16 -08:00
Ben Byer
0ed01da098 Fix for focus issue:
<rdar://problem/5289578> X11 menu bar uncoupled from X11 application's windows
Credit to William Mortensen for submitting the first community patch!
2007-11-20 03:30:44 -08:00