Commit graph

705 commits

Author SHA1 Message Date
Roland Mainz
e81dcbbc7c //freedesktop.org/bugzilla/show_bug.cgi?id=1800) attachment #1474
(https://bugs.freedesktop.org/attachment.cgi?id=1474): Fix Postscript
    DDX's 1bit StaticGray visual to report only 1bit of significant bits in
    color specification (instead of 8bits). Patch by Julien Lafon
    <julien.lafon@gmail.com>
2004-12-13 06:29:43 +00:00
Roland Mainz
24c1ba42e2 xc/config/cf/xprint_site.def
xc/programs/Xserver/Xprint/ps/Ps.h
xc/programs/Xserver/Xprint/ps/PsPixmap.c
xc/programs/Xserver/Xprint/ps/PsPolygon.c
//freedesktop.org/bugzilla/show_bug.cgi?id=1664) attachment #1161
    (https://bugs.freedesktop.org/attachment.cgi?id=1161): RFE: Add support
    for the DOUBLE-BUFFER extension to the Xprint server and DDX.
    Additionally a "pixmap-scrubber" optimisation is added to the
    PostScript DDX to remove all content from a vector pixmap when a
    |PolyFillRect()| call covers the whole pixmap surface with a solid fill
    (this avoids that a backbuffer vector pixmap gets constantly filled
    even when the content is not visible anymore after |XdbeSwapBuffers()|
    has cleared the hidden buffer with the background color).
2004-12-13 05:48:41 +00:00
Roland Mainz
e2463040d8 //freedesktop.org/bugzilla/show_bug.cgi?id=1647) attachment #1117
(https://bugs.freedesktop.org/attachment.cgi?id=1117): Fix the problem
    that |XpSubmitJob()| returns a random value (patch by Stefan
    Dirsch/SuSE).
2004-12-13 05:40:17 +00:00
Roland Mainz
eab8baa925 //freedesktop.org/bugzilla/show_bug.cgi?id=1646) attachment #1116
(https://bugs.freedesktop.org/attachment.cgi?id=1116): Fix the problem
    that |PsCreateColormap()| returns a random value (patch by Stefan
    Dirsch/SuSE).
2004-12-13 05:34:20 +00:00
Roland Mainz
adfa61c481 //freedesktop.org/bugzilla/show_bug.cgi?id=1637) attachment #1114
(https://bugs.freedesktop.org/attachment.cgi?id=1114): Fix problems in
    oid code which may cause the usage of an invalid string pointer
    (original patch by Egbert Eich).
2004-12-13 05:30:48 +00:00
Roland Mainz
f3cd3eb502 xc/programs/Xserver/Xprint/pcl/PclInit.c
//freedesktop.org/bugzilla/show_bug.cgi?id=1629) attachment #1107
    (https://bugs.freedesktop.org/attachment.cgi?id=1107): Fix crash on
    AMD64, regression caused by bug
1496 ("Xorg Xprt does not support "*xp-listfonts-mode:
    xp-list-internal-printer-fonts" to toggle the usage of printer-builtin
    fonts").
2004-12-13 05:16:11 +00:00
Roland Mainz
534a492816 xc/programs/Xserver/Xprint/Init.c
xc/programs/Xserver/Xprint/pcl/PclInit.c
//freedesktop.org/bugzilla/show_bug.cgi?id=1496) attachment #998
    (https://bugs.freedesktop.org/attachment.cgi?id=998): Fixed Xprt font
    handling which did not support "*xp-listfonts-modes:
    xp-list-internal-printer-fonts" or "*xp-listfonts-modes:
    xp-list-glyph-fonts" to toggle the usage of printer-builtin and glyph
    fonts in XListFonts*(), XLoad*Font(), etc. Additionally the Xprint DDX
    now explicitly list "xp-listfonts-modes" in
    "document-attributes-supported" (for document-level) or
    "xp-page-attributes-supported" (for page-level) when the DDX implements
    this feature (as described in the CDE DtPrint and Xprint
    specifications).
2004-12-13 05:12:12 +00:00
Roland Mainz
c2f561e3a2 xc/programs/Xserver/Xprint/ps/PsGC.c
//freedesktop.org/bugzilla/show_bug.cgi?id=1416) attachment #994
    (https://bugs.freedesktop.org/attachment.cgi?id=994): Fix Xprt
    PostScript DDX crashes when copying offscreen pixmap content to the
    same pixmap (the crash can be reproduced with % x11perf -copypixpix500
    ... # or the reduced testcase in bug #1416 (attachment #993)).
2004-12-13 05:06:13 +00:00
Roland Mainz
f6f85e9b7c xc/programs/Xserver/Xprint/Init.c
xc/programs/Xserver/Xprint/ps/Ps.h
xc/programs/Xserver/Xprint/ps/PsArea.c
xc/programs/Xserver/Xprint/ps/PsColor.c
xc/programs/Xserver/Xprint/ps/PsInit.c
xc/programs/Xserver/Xprint/ps/psout.c
//freedesktop.org/bugzilla/show_bug.cgi?id=1299) attachment #1001
    (https://bugs.freedesktop.org/attachment.cgi?id=1001): Add more visuals
    to the Postscript DDX (8bit GrayScale/StaticGray,
1bit StaticGray and the basic infratructure for "deep" visuals with more
    than 8bits per RGB gun). Patch by Roland Mainz
    <roland.mainz@nrubsig.org>.
2004-12-13 05:01:15 +00:00
Roland Mainz
b58c32d542 //bugs.freedesktop.org/show_bug.cgi?id=1695) attachment #1230
(https://bugs.freedesktop.org/attachment.cgi?id=1230): Fix crash in
    Xscreensaver code which allowed any authentificated X client to crash
    the Xserver using |XScreenSaverUnsetAttributes()|. Patch by
    ajax@nwnk.net
2004-12-13 03:34:33 +00:00
Roland Mainz
828cdc528d //bugs.freedesktop.org/show_bug.cgi?id=1688) attachment #1530
(https://bugs.freedesktop.org/attachment.cgi?id=1530): Fix the current
    implementation to make it possible to slow down the mouse pointer or
    use arbitrary fractions (without running into rounding error issues).
    The change is using the same method of preserving rounding errors that
    the exponential method is already using. Patch by Jan Brunner
    <Jan_B@gmx.ch>.
2004-12-13 02:15:29 +00:00
Roland Mainz
fe18885917 //bugs.freedesktop.org/show_bug.cgi?id=1934) attachment #1393
(https://bugs.freedesktop.org/attachment.cgi?id=1393): Fixing
    |SetDPMSTimers()| so that DPMS*Time == 0 disables the appropriate
    timer. This takes advantage of the fact that |TimerSet()| with a
    timeout argument 0 behaves like |TimerCanel()|. Patch by Egbert Eich
    <eich@freedesktop.org>.
2004-12-13 01:45:15 +00:00
Roland Mainz
ef7712f058 //bugs.freedesktop.org/show_bug.cgi?id=1939) attachment #1398
(https://bugs.freedesktop.org/attachment.cgi?id=1398): Fixe size of a
    variable that gets assigned the value of SmartScheduleTime (|long|) to
    |long|. This should help to prevent smart scheduler lockup on 64 bit
    systems due to datatype overruns. Patch by Andreas Schwab and Egbert
    Eich <eich@freedesktop.org>.
2004-12-13 01:23:05 +00:00
Roland Mainz
8ab0584b34 //bugs.freedesktop.org/show_bug.cgi?id=1989) attachment #1399
(https://bugs.freedesktop.org/attachment.cgi?id=1399): Fixed sig11 in
    |ScreenSaverUnsetAttributes()| which occured when calling a
    |CloseDisplay()| after |XScreenSaverSetAttributes()| followed by
    |XScreenSaverUnsetAttributes()|. Caused by missing |FreeResource()| in
    |XScreenSaverUnsetAttributes()|. Patch by Egbert Eich
    <eich@freedesktop.org>.
2004-12-13 01:16:24 +00:00
Roland Mainz
bed7694438 //bugs.freedesktop.org/show_bug.cgi?id=1204) attachment #1360
(https://bugs.freedesktop.org/attachment.cgi?id=1360): Fix X11 test
    suite (caused by DAMAGE layer) failure with Xvfb when rendering text
    using |XDrawText*()| (XDrawText() tests 1, 3, 4, 27, 28,
29, 30, 34, 37, 39, 41, 43 and XDrawText16() tests 1, 3, 9, 10, 11, 12,
13, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 34,
37, 39, 41, 43). Patch by Hong Bo Peng <penghb@cn.ibm.com> and Stefan
    Dirsch <sndirsch@suse.de>.
2004-12-13 00:56:07 +00:00
Roland Mainz
afdc7044f7 //bugs.freedesktop.org/show_bug.cgi?id=557) attachment #1255
(https://bugs.freedesktop.org/attachment.cgi?id=1255): Do not use
    "bool" as a variable name in xf86cfg, to avoid compiler bugs. Patch by
    Donnie Berkholz <spyderous@gentoo.org>.
2004-12-08 07:02:46 +00:00
Roland Mainz
eb73d7f749 //bugs.freedesktop.org/show_bug.cgi?id=1402) attachment #948
(https://bugs.freedesktop.org/attachment.cgi?id=948): Fix BigFont
    extension if SHM is compiled in but not working. Does not access SHM
    and privates if the SHM syscall failed during extension initialization.
    Patch by Alexander Gottwald <ago@freedesktop.org>.
2004-12-08 06:41:00 +00:00
Roland Mainz
8982b3c084 //bugs.freedesktop.org/show_bug.cgi?id=1453) attachment #964
(https://bugs.freedesktop.org/attachment.cgi?id=964): Fix spaces in
    usage output for BIGREQUESTS extension (option "-maxbigreqsize").
2004-12-08 06:34:31 +00:00
Roland Mainz
1d906ac9cd //bugs.freedesktop.org/show_bug.cgi?id=1489) attachment #979
(https://bugs.freedesktop.org/attachment.cgi?id=979): Use |long|
    instead of |int| for BIGREQUESTS commandline option.
2004-12-08 06:29:59 +00:00
Roland Mainz
6482a7071c Bugzilla #1812 (https://bugs.freedesktop.org/show_bug.cgi?id=1812)
attachment #1263 (https://bugs.freedesktop.org/attachment.cgi?id=1263),
    Sun bug id #6175128: Add Solaris to the platforms on which mprotect()
    is run to set execute permissions when necessary. Patch by Alan
    Coopersmith <alan.coopersmith@sun.com>.
2004-12-08 06:25:07 +00:00
Roland Mainz
3f3633749d //bugs.freedesktop.org/show_bug.cgi?id=1835) attachment #1293
(https://bugs.freedesktop.org/attachment.cgi?id=1293): Fixing the
    problem that xf86pciInfo.c was using it's own broken MIN() macro. Patch
    by Kristian Hgsberg <krh@bitplanet.net>.
2004-12-08 06:07:57 +00:00
Roland Mainz
718c18d81a //bugs.freedesktop.org/show_bug.cgi?id=1404): Fixing random crashes (like
in DAMAGE code etc.) in Xnest due uninitalised GetWindowPixmap.
    Original patch by Alexander Gottwald <ago@freedesktop.org>
2004-12-08 06:02:34 +00:00
Roland Mainz
22bade2e73 //bugs.freedesktop.org/show_bug.cgi?id=1361) attachment #1287
(https://bugs.freedesktop.org/attachment.cgi?id=1287): Avoid DRI
    initalisation when the Xfree86-DRI extension was turned off. Patch by
    Kristian Hgsberg <krh@bitplanet.net>.
2004-12-08 05:44:42 +00:00
Roland Mainz
971a0f60e7 //bugs.freedesktop.org/show_bug.cgi?id=1361) attachment #938
(https://bugs.freedesktop.org/attachment.cgi?id=938): Allow more
    extensions to be enabled/disabled.
2004-12-08 05:38:02 +00:00
Roland Mainz
c47036e9c0 xc/programs/Xserver/hw/xfree86/loader/dixsym.c
//bugs.freedesktop.org/show_bug.cgi?id=1361) attachment #899
    (https://bugs.freedesktop.org/attachment.cgi?id=899): Fix module loader
    bustage due duplicate symbols caused by the first patch in Bugzilla
    #1361
2004-12-08 05:32:54 +00:00
Roland Mainz
b48a2a340f xc/programs/Xserver/hw/xfree86/loader/dixsym.c
xc/programs/Xserver/include/globals.h
xc/programs/Xserver/mi/miinitext.c
//bugs.freedesktop.org/show_bug.cgi?id=1361) attachment #894
    (https://bugs.freedesktop.org/attachment.cgi?id=894): Allow turning
    on/off most of the Xserver extensions (=all except server-specific
    extensions (e.g. DMX, XpExtension, etc.) via +extension/-extension
2004-12-08 05:28:12 +00:00
Kevin E Martin
0e3171a83a Update the XORG_DATE for the release.
Update cygwin release version.
Update documentation for release.
2004-09-17 15:38:19 +00:00
Egbert Eich
516f452e78 Adding support for OS dependent probing of IA64 chipsets. Not all IA64
chipsets can be probed without OS support as probing them is only
    possible using ACPI. One example of this are the HP ZX1/2 chipsets:
    previously the code assumed that these chips were present when no other
    of the known chipsets could be probed. This assumption brought SGI
    Altrix machines with 64 CPUs to a grinding halt.
2004-09-15 09:23:59 +00:00
Egbert Eich
a3aa6a2d86 Unregistering events in XSelectInput() when unregistering IM filter
callbacks may be a bad idea as others may be interested in this event.
    Removed the call to XSelectInput() altogether as we are in root window
    anyway (Lubos Lunak).
Fix size of a variable that gets assigned the value of SmartScheduleTime
    (long) to long. This should help to prevent smart scheduler lockup on
    64 bit systems due to overruns (Andreas Schwab).
2004-09-15 09:05:22 +00:00
Roland Mainz
f642fc729b Refix for http://freedesktop.org/bugzilla/show_bug.cgi?id=1361 - RFE: Allow
enabling/disabling of more extensions (fixing duplicate symbols caused
    by previous checkin; attachment #899)
2004-09-14 23:21:22 +00:00
Phil Blundell
0d95bdfbab Only set screen parameters if resolution has changed from current values.
Patch from scoony@noos.fr.
2004-09-14 23:08:10 +00:00
Eric Anholt
ba3b6fd23b Add proper PCI/AGP detection, based on Mike Harris's code for Radeon, but
using the MMIO mirror of the bits instead of config space.
2004-09-14 06:26:54 +00:00
Roland Mainz
d9df39ee2b Fix for http://freedesktop.org/bugzilla/show_bug.cgi?id=1361 - RFE: Allow
enabling/disabling of more extensions
2004-09-14 00:51:25 +00:00
Eric Anholt
80dc84d067 - Fix a segfault on VT switch with DRI. Still dies due to cursor allocation
troubles.
- Move the RemoveBlockAndWakeupHandlers to match
    RegisterBlockAndWakeupHandlers.
- Enable R100 trapezoid "acceleration" when DRI is working, so that it can
    be exposed and worked on.
2004-09-12 23:22:31 +00:00
Eric Anholt
ab50679aab Fix a bad argument missed in the previous commit for ATIDRIDMA* functions. 2004-09-12 23:01:24 +00:00
Eric Anholt
2d069b1d19 Move the RegisterBlockAndWakeupHandlers to before DRI initialization. The
change to use that instead of manual wrapping made the DMA dispatch
    come after the lock had been dropped, causing lots of pain.
2004-09-12 22:21:12 +00:00
Eric Anholt
27b5a65f05 Reset the CCE/CP on engine reset, and make the ATIDRIDMA functions take a
more useful argument.
2004-09-12 20:31:39 +00:00
Eric Anholt
fcd52d276f Add missing kaa.h include for kaaInitTrapOffsets. 2004-09-12 20:19:15 +00:00
Eric Anholt
b5d406e8c8 Fix handling of is_agp. is_agp is whether the card is actually AGP, while
using_agp should say whether AGP is being used as part of DMA/DRI.
2004-09-12 20:02:10 +00:00
Eric Anholt
7cab70d1cb Improve error handling, especially in the DRI case. Do some FatalErrors
instead of ErrorFs for things that are really bad, and put limits on
    some loops. Now, sometimes instead of hanging the entire system, we
    (mostly-) cleanly drop to console when the card has hung.
2004-09-12 19:52:51 +00:00
Eric Anholt
0cd662ea80 - Add disabled WIP trapezoid code for R128 and R100. The R128 rendering is
not doing an add of 1 per triangle like I hoped, and instead seems to
    be saturating all the pixels or something. The R100 acceleration
    renders pretty well, with some gaps. Note that both are slower than
    software due to lack of DMA to submit vertices.
- Mostly fix R128 and Radeon transform support, including supporting
    bilinear filtering on R128. Subpixel offsets are still probably an
    issue (reported by rendercheck), but I want to make 100% sure about my
    understanding of the protocol before changing everybody, including fb.
- Add support for dst formats without alpha to R128 Composite.
- Remove the R128 Blend code, which has long outlived its usefulness. (I
    kept it around for one reason: It could be useful for the w/h > 1024
    case with no mask and a non-src op. That seems pretty infrequent and
    not worth the trouble).
2004-09-11 09:28:19 +00:00
Eric Anholt
396100dd23 - Don't require Imrecise mode for Trapezoid acceleration. It looks like we
might be able to do Precise in hardware, so leave it up to the driver.
- Add a helper function for computing a set of offsets for smooth trapezoid
    rasterizing using many sharp trapezoids.
2004-09-11 09:23:12 +00:00
Matthew Allum
501dcf37aa cursor fixes 2004-09-08 11:31:49 +00:00
Matthew Allum
20918ab480 avoid ephyr breakage when tslib enabled 2004-09-07 19:00:04 +00:00
Matthew Allum
8bf6ea903b fixes to Xephyr debug mode 2004-09-07 12:44:19 +00:00
Kevin E Martin
b332225781 Update formatted docs. 2004-09-03 23:41:21 +00:00
Kevin E Martin
b2135e589b First set of documentation updates.
Include more correct fix for rootless interaction with damage (Bug #1168,
    Keith Packard).
2004-09-03 16:18:23 +00:00
Kevin E Martin
d7fef52254 Workaround for servers using rootless layer with damage (Bug #1168, Torrey
T. Lyons).
2004-09-02 04:04:47 +00:00
Kevin E Martin
0e56515aa3 Fix AGL display problems (Bug #1210, Torrey T. Lyons). 2004-09-02 01:38:17 +00:00
Matthew Allum
2753c8e2c8 see changelog 2004-09-01 15:30:58 +00:00