Commit Graph

109 Commits

Author SHA1 Message Date
Ben Byer
d12b650362 Just a couple of small uninitialized pointer fixes 2007-12-07 22:26:43 -08:00
Jeremy Huddleston
54654815fa Darwin: Use __APPLE__ instead of __DARWIN__ 2007-12-07 18:53:08 -08:00
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
Eric Anholt
9fbb845e8b Provide option to report damage after operation is complete.
(cherry picked from commit 6060b612de)
2007-02-12 16:02:29 -08:00
Adam Jackson
0aaac95b0d Remove RCS tags. Fix Xprint makefile braindamage. 2006-07-21 17:56:00 -04:00
Daniel Stone
84683f19b4 get rid of XFree86LOADER, XFree86Server, XFree86Module, and IN_MODULE
Get rid of almost all uses of these definitions.  They're still defined for
delinquent out-of-tree drivers, and also for the Mesa build.  As well as
for miinitext.c.  But largely gone.
2006-07-18 18:17:38 -04:00
Eric Anholt
53f74b6aa9 Bugzilla #5120, #7246: In CW's GC ops, validate the backing GC against the
backing drawable if the serial numbers differ.  Fixes crash in XAA which
occurred when the DDX bumped the serial number on the backing drawable and
expected it to get re-validated, and we didn't because the wrapped drawable
hadn't been bumped.
2006-06-16 10:14:30 -07:00
Adam Jackson
291e89d4f2 Remove NEED_LINEHELPER BC cruft for pre-R6 DDXes. 2006-04-30 19:16:14 +00:00
Adam Jackson
7deaaa797c Big old pile of warning fixes. 2006-03-28 01:21:00 +00:00
Adam Jackson
6bb2dc02a7 Coverity #337: Remove useless NULL check. 2006-03-15 16:01:47 +00:00
Lars Knoll
0693083335 render/picture.c Correctly initialize devPrivates variable in source only
pictures to 0
miext/cw/cw.h Don't try to access devPrivates of source only pictures
2006-03-06 21:00:09 +00:00
Keith Packard
60d4839a2d Forgot to include this file in previous patch 2006-02-16 19:03:07 +00:00
Keith Packard
8987b2c1ef Make more extensions optional in build (for kdrive). Fix kdrive build for
actual hardware. Fix kdrive pointer signed/unsigned types. Add
    kdrive-required YX rotation functions. Replace rgb text file loading
    with static rgb color table.
2006-02-16 07:17:31 +00:00
Adam Jackson
3fe482c77e Mark everything in misym.c as _X_EXPORT. 2006-02-15 19:05:55 +00:00
Eric Anholt
c3d1403672 Remove libcwrapper usage from xorg server modules. The libcwrapper is only
of (marginal) use in the drivers, and that usage remains.
2006-02-10 22:00:30 +00:00
Alan Hourihane
9148d8700b Commit slight variation of bug #5460 which is the merge of the new shadow
code from kdrive.
2006-01-23 13:59:14 +00:00
Alan Hourihane
cfd3988ed9 wrap with if XORG / endif 2006-01-23 13:58:19 +00:00
Alan Hourihane
f51ecc66e9 #include "gcstruct.h" 2006-01-23 13:54:59 +00:00
Alan Hourihane
80f45fa4df add damage.h & damagestr.h to SDK headers 2006-01-23 13:54:34 +00:00
Dave Airlie
506eca5f57 Wrap sdk_HEADERS in if XORG as otherwise installing non-xorg servers
breaks.
2006-01-18 06:56:52 +00:00
Adam Jackson
b1efb3810c Missed one 2005-12-29 20:42:54 +00:00
Adam Jackson
7e3cb9a09a Remove unused layer module. 2005-12-25 22:25:15 +00:00
Adam Jackson
b99dea9dcf Bug #4935: Fix includes. (Eric Anholt) 2005-12-09 18:32:46 +00:00
Kevin E Martin
7c00afd0ec Define XFree86Server only where it is required. 2005-12-02 06:02:45 +00:00
Kevin E Martin
da5d66f2ff Fix usage of XFree86LOADER/XFree86Module/IN_MODULE and update loadable
module builds to reflect this change.
2005-11-29 16:39:33 +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
Eric Anholt
1614a31a9d Bug #4699: Correct some memory leaks in EXA and damage related to region
handling.
2005-10-06 21:55:41 +00:00
Eric Anholt
ecaa46380e Bugzilla #4616:
- Merge various fb/ bits of COMPOSITE support from xserver, which weren't
    necessary before due to cw hiding the issues. Fixes offset calculations
    for a number of operations, and may pull some fixes that cairo has
    wanted for XAA as well.
- Add a new call, miDisableCompositeWrapper(), which a DDX can call to keep
    cw from getting initialized from the damage code. While it would be
    cleaner to have each DDX initialize it if it needs it, we don't have
    control over all of them (e.g. nvidia).
- Use the miDisableCompositeWrapper() to keep cw from getting set up for
    screens using EXA, because EXA is already aware of composite. Avoiding
    cw improved performance 0-35% on operations tested by ajax in x11perf.
2005-10-02 08:28:27 +00:00
Søren Sandmann Pedersen
51eb6c83a3 Tue Sep 13 11:27:05 2005 S%Gï¿¿%@ren Sandmann <sandmann@redhat.com>
* programs/Xserver/miext/shadow/shadow.c (shadowDamageBox): Add
missing REGION_UNINIT.
2005-09-13 15:28:29 +00:00
Daniel Stone
825a95a1fa Remove use of dix-config and xorg-config.h from public headers. 2005-08-24 11:18:35 +00:00
Adam Jackson
fcaa6f30c4 Bug #3989: Fix Composite builds, enable Composite build by default. (Olli
Helenius)
2005-08-07 19:02:32 +00:00
Adam Jackson
9802106864 dist fixes for cw and GL (Donnie Berkholz, me) 2005-08-03 01:41:34 +00:00
Kevin E Martin
86529c07d6 Fix distcheck for server 2005-07-28 23:28:34 +00:00
Kevin E Martin
02427d4d04 Add support for building Xdmx and Xvfb 2005-07-12 01:20:36 +00:00
Daniel Stone
46b64bd5c6 Fix more include paths; add dix-config.h to XKB code. 2005-07-03 07:37:35 +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
826a6f029f Continuing Makefile cleanup; add DIX_CFLAGS and XORG_CFLAGS everywhere. 2005-07-02 18:59:44 +00:00