Commit Graph

38 Commits

Author SHA1 Message Date
Jeremy Huddleston
2b2df4f517 Darwin,Rootless: Makefile cleanup
(cherry picked from commit 9c6d8a035b)
2007-11-26 14:11:01 -08:00
Jeremy Huddleston
f6a4c10636 Rootless: Added missing includes. 2007-11-22 13:55:03 -08:00
Ben Byer
70374a5893 pulled changes from fbfill.c into rlFill.c 2007-11-22 05:03:12 -08:00
Ben Byer
3f857e129d Pulling fixes from fbBlt to rlBlt 2007-11-22 04:54:21 -08:00
Ben Byer
213b51710c 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-19 02:38:24 -08:00
Ben Byer
148a87ff20 Patch to avert (some) damage / rootless crashes, courtesy of Ken Thomases 2007-11-19 02:38:23 -08:00
Ben Byer
2450788d32 Revert "Revert "These changes are necessary, yet not sufficient, to get 8-bit indexed""
This reverts commit 45f8601692.
bah, not needed
2007-11-19 02:38:23 -08:00
Ben Byer
983088ed28 Revert "These changes are necessary, yet not sufficient, to get 8-bit indexed"
This reverts commit 7baba3f6b8.
This should hopefully prevent the "sunglasses" problem aka
"why is my xterm black"?
2007-11-19 02:38:22 -08:00
Ben Byer
a415f62f52 These changes are necessary, yet not sufficient, to get 8-bit indexed
color mode working in Xquartz.
2007-11-19 02:38:22 -08:00
Ben Byer
8606c76a90 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-19 02:38:21 -08:00
Ben Byer
7f1780091b Fixed Spaces issue, correctly -- dragging an X window from one
Space to another in Expose mode now works.
2007-11-19 02:38:20 -08:00
Ben Byer
1f945fcabe Imported a fix from xserver/master which was part of a larger refactoring of fbComposite
code. This part fixes a logic error in SafeAlphaComposite where some return paths resulted
in the server changing the color depth of a Drawable out from under the client.
This caused random crashes in many cairo/pango/gtk apps. Props to Guy Harris for tracking
this down in WireShark, but it will probably solve problems in other apps (Inkscape, Gimp?)
2007-11-19 02:38:19 -08:00
Ben Byer
fd6a04e530 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-19 02:38:19 -08:00
Ben Byer
6ff9f43ae2 More patches from downstream 2007-11-19 02:38:18 -08:00
Adam Jackson
0aaac95b0d Remove RCS tags. Fix Xprint makefile braindamage. 2006-07-21 17:56:00 -04:00
Adam Jackson
291e89d4f2 Remove NEED_LINEHELPER BC cruft for pre-R6 DDXes. 2006-04-30 19:16:14 +00:00
Kevin E Martin
c2e461c7e9 Fix typo and add new Makefiles to AC_OUTPUT
Fix typos
Add xorg.conf.man to CLEANFILES
Add missing files to EXTRA_DIST
2005-10-15 20:44:44 +00:00
Daniel Stone
e03198972c Add Xtrans definitions (FONT_t, TRANS_CLIENT) to clean up warnings.
Add XSERV_t, TRANS_SERVER, TRANS_REOPEN to quash warnings.
Add #include <dix-config.h> or <xorg-config.h>, as appropriate, to all
    source files in the xserver/xorg tree, predicated on defines of
    HAVE_{DIX,XORG}_CONFIG_H. Change all Xfont includes to
    <X11/fonts/foo.h>.
2005-07-03 07:02:09 +00:00
Daniel Stone
9b1debcdb6 Change all misc.h and os.h references to <X11/foo.h>. 2005-07-01 22:43:43 +00:00
Zack Rusin
f28d644d9f rewrite the rootless compositing code (1) compiles which is already a huge
improvement ;) , 2) matches the new render composition semantics)
2005-05-18 14:24:14 +00:00
Daniel Stone
292c4cff26 Fix includes right throughout the Xserver tree:
change "foo.h" to <X11/foo.h> for core headers, e.g. X.h, Xpoll.h;
change "foo.h", "extensions/foo.h" and "X11/foo.h" to
    <X11/extensions/foo.h> for extension headers, e.g. Xv.h;
change "foo.[ch]" to <X11/Xtrans/foo.[ch]> for Xtrans files.
2005-04-20 12:25:48 +00:00
Torrey Lyons
8266a2581d Fix crash with more than one screen reported by John Davidorff Pell. 2004-12-09 22:40:35 +00:00
Markus Kuhn
44f4713a05 Encoding of numerous files changed to UTF-8 2004-12-04 00:43:13 +00:00
Alexander Gottwald
b09f2a0495 Windows does not have ffs() implementation. added one
Enable RootlessSafeAlpha and RootlessAcceleration for the Windows port too
2004-11-22 16:04:04 +00:00
Torrey Lyons
db65fce04d Fix rootless Cygwin crash due to acceleration code illegally modifying a
const structure (Reported by Kensuke Matsuzaki).
2004-10-25 19:09:11 +00:00
Torrey Lyons
fa9847aeb9 Allow rootless implementations to override frame reordering. This is used
on Mac OS X when genie-restoring from the Dock to ensure that the
    animation completes before drawing the frame.
2004-10-08 00:35:08 +00:00
Torrey Lyons
6344bb51e2 Bugzilla #1032: Make rootless acceleration functions compatible with
Damage.
2004-09-18 00:38:30 +00:00
Torrey Lyons
29012adb37 Add generic rootless layer documentation missed from last commit. 2004-07-30 19:28:03 +00:00
Torrey Lyons
784e4d1cc0 Merge many XDarwin improvements:
- Fix launch of X clients by double clicking in the Finder when there is a
    space in the path (Torrey T. Lyons).
- Interpret scroll wheel mouse events correctly when shift is held down
    (Benjamin Burke).
- Add option to always use Mac command key equivalents (John Harper and
    Torrey T. Lyons).
- Add support for dynamic screen configuration changes in rootless mode
    (John Harper and Torrey T. Lyons).
- Add documentation on generic rootless layer (Torrey T. Lyons).
2004-07-30 19:12:18 +00:00
Alexander Gottwald
c66cc2a219 Bug 783: rootless patches for cygwin 2004-06-21 13:51:57 +00:00
Egbert Eich
2fb5886200 Merging XORG-CURRENT into trunk 2004-04-23 19:54:30 +00:00
Egbert Eich
dae90c3af9 Importing vendor version xf86-4_4_99_1 on Sun Mar 14 00:26:39 PST 2004 2004-03-14 08:34:49 +00:00
Egbert Eich
867451f1ab Importing vendor version xf86-4_4_0 on Wed Mar 3 04:09:24 PST 2004 2004-03-03 12:12:50 +00:00
Egbert Eich
df0313d35b readding XFree86's cvs IDs 2004-02-26 13:36:15 +00:00
Egbert Eich
147aae87fd Importing vendor version xf86-4_3_99_903 on Wed Feb 26 01:21:00 PST 2004 2004-02-26 09:23:53 +00:00
Egbert Eich
3c64b65d80 Importing vendor version xf86-012804-2330 on Thu Jan 29 00:06:33 PST 2004 2004-01-29 08:08:57 +00:00
Kaleb Keithley
a84f16a9ad XFree86 4.3.99.901 (RC 1) 2003-12-04 22:03:38 +00:00
Kaleb Keithley
90f1536dd3 Initial revision 2003-11-25 19:29:01 +00:00