Commit Graph

929 Commits

Author SHA1 Message Date
Egbert Eich
1074992c28 Fixed sig11 which occured when calling a CloseDisplay() after
XScreenSaverSetAttributes() followed by XScreenSaverUnsetAttributes().
    Caused by missing FreeResource() in XScreenSaverUnsetAttributes().
Removing unused DDC sections that caused misinterpretation of DDC data due
    to a missing break statement in a switch.
Fixed typo: #if <-> #ifdef.
2004-11-01 16:05:27 +00:00
Alan Coopersmith
7e588ba9ab Add -d flag for compilers like the Sun C compilers that produce dependency
lists themselves. To use with the Sun compilers, add to host.def: #
    define UseCCMakeDepend YES # define DependFlags -cc $(CC) -d -xM (Sun
    bug id #4245688 - fix by Alan Coopersmith)
Add Solaris to the platforms on which mprotect is run to set execute
    permissions when necessary. (Sun bug id #6175128 - fix by Alan
    Coopersmith)
Internationalize digital output (Sun bug id #4119396 - fix by Steve
    Swales), add -bgpixmap option to set XPM file as background (originally
    from STSF project version of xclock by Alan Coopersmith)
xc/programs/xmodmap/handle.c,pf.c xmodmap was printing line numbers which
    are one too low in error messages (Xorg bugzilla #1739, Sun bug id
    4637857 - fix by Sam Lau)
2004-10-30 20:33:43 +00:00
Thomas Winischhofer
612bd1c273 Add facility for catching signal 4 from driver. This can be used to check
for OS SSE support. (Part 2)
2004-10-29 02:07:15 +00:00
Thomas Winischhofer
09fdfaa28d Add facility to catch sig 4 from driver. This can be used to check for OS
SSE support. (Part 1)
2004-10-29 02:06:17 +00:00
Thomas Winischhofer
b0185a4bf7 Add xf86[GetGammaRamp|ChangeGammaRamp|GetGammaRampSize] to symlist in order
to allow drivers to use them
2004-10-28 22:12:23 +00:00
Alexander Gottwald
9d4823adc8 Import recent changes from CYGWIN branch 2004-10-28 14:23:08 +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
Roland Mainz
a57e85b523 Fix for https://freedesktop.org/bugzilla/show_bug.cgi?id=1664 - 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-10-25 07:12:21 +00:00
Phil Blundell
e0cc487149 Add epson.
Build Makefile in hw/kdrive/epson.
2004-10-20 18:06:58 +00:00
Phil Blundell
258c9016a0 Block SIGIO before disabling input fds. (KdEnableInput): Unblock it after
enabling them again.
2004-10-20 18:02:32 +00:00
Phil Blundell
cbd5fbcb7e Import Epson 13806 driver from Costas Stylianou:
New files.
2004-10-20 08:20:51 +00:00
Egbert Eich
0584d92b36 Made handling of DevelDrivers for x86-64 more conformant to other
platforms.
Compress all font encodings (Stefan Dirsch).
Fixed warnings.
Turn on forwarding XNSpotLocation event to XIM server in OffTheSpot and
    Root mode (bugzilla #1580, James Su).
Added another compose key combination for the Euro symbol (Stefan Dirsch).
Added support for UTF-8 in ja_JP, ko_KR and zh_TW locales (Mike Fabian).
Changed default encoding for ru from KOI8-R to ISO8859-5 (Mike Fabian).
    This is the encoding that is also used by glibc. We may break other
    libcs - lets see who complains.
Added explanation for DESTDIR to install to a different directory than /.
Added some early bailouts to atiprobe if PCI structure pointer is NULL to
    prevent sig11.
XV support doesn't depend on 2D acceleration any more. This patch removes
    this limitation from the NSC driver. This is a patch that I have
    committed to XFree86 a while ago but never ported over to X.Org.
    Matthieu Herrb contributed some build fixes.
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().
Use /dev/xconsole (named pipe) or devpts for system logger (Werner Fink).
Create missing links for backward compatibility to XFree86 (Stefan Dirsch).
Changed comment to mention xorg.
Changed cursor for the 'kill' action from XC_draped_box to XC_Pirate. If
    you don't like it we can change it back (original author unkown).
Added 'pic' to the man page rendering command pipeline (Werner Fink).
Added missing return value (Stefan Dirsch, Roland Mainz)
2004-10-18 14:21:46 +00:00
Alex Deucher
77dab25440 - Add interlaced support to S3 driver (bug 332, Leo Savernik)
- EmulateWheelTimeout (bug 323, Mathias Fröhlich)
- single button double-click (bug 322, Rob Brown)
2004-10-17 20:29:35 +00:00
Matthieu Herrb
9a0cf1eb43 Remove some remaining AMOEBA specific code. 2004-10-17 10:46:14 +00:00
Roland Mainz
5505555c15 Fix for https://freedesktop.org/bugzilla/show_bug.cgi?id=1647 - Fix the
problem that |XpSubmitJob()| returns a random value (patch by Stefan
    Dirsch/SuSE).
2004-10-15 22:29:40 +00:00
Roland Mainz
60caca718d Fix for https://freedesktop.org/bugzilla/show_bug.cgi?id=1646 - Fix the
problem that |PsCreateColormap()| returns a random value (patch by
    Stefan Dirsch/SuSE).
2004-10-15 22:08:38 +00:00
Roland Mainz
4782b2f7c1 Fix for https://freedesktop.org/bugzilla/show_bug.cgi?id=1637 - Fix
problems in oid code which may cause the usage of an invalid string
    pointer (original patch by Egbert Eich).
2004-10-15 21:43:31 +00:00
Adam Jackson
881b5756dc Bug #1628: Convert xf86{BusToMem,MemToBus} to PIC code, eliminating a text
relocation and enabling the server to be built as a
    position-independent executable. (PaX Team)
2004-10-14 23:10:30 +00:00
Roland Mainz
a0251ee285 Fix for https://freedesktop.org/bugzilla/show_bug.cgi?id=1629 - 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-10-14 02:20:52 +00:00
Vladimir Dergachev
3a055ea35b Modified:
xc/programs/Xserver/hw/xfree86/drivers/ati/radeon_video.c
xc/programs/Xserver/hw/xfree86/drivers/i2c/fi1236.h Squash annoying warning
    about fi1236_dump_status
2004-10-13 23:02:42 +00:00
Egbert Eich
3364e7fbd4 Set fbdev mode as the default mode on PPC (Olaf Hering).
Added support for IBM space saver keyboard (Stefan Dirsch). Added support
    for Cherry CyMotion Master XPress (Marcus Schaefer).
Change order of SetDisplayDevice(), HWRestore(), UnbindGART() and
    RestoreBIOSMemSize() to be exactly opposite to the Save procedure in
    EnterVT() (Matthias Hopf, Alan Hourihane).
Fix text mode restauration by removing the assumption that the register
    which determines which head is programmed is set. to the active head by
    the BIOS (Mark Vojkovich).
When I wrote the resource code 5 years ago I made some assumptions which
    turned out to be false: I've assumed that the bus number of the PCI
    hostbridge would be the PCI bus the bridge links to. This is not
    correct. Fixing this assumption is not easy. However I hope that the
    attached patch will make the system work regardless as it 'ignores'
    host bridges from which the target bus is not known. This should not
    matter at all as we really don't care about host bridges (unless we
    have bridge specific code which retrieves information about the
    bridge).
Fixed server crash on reset when a structure allocated in PreInit() was
    freed on CloseScreen().
Fixed ring buffer lock ups that happened because the structure that
    contained ringbuffer data was not zeroed after allocation.
Fixed numerous warnings due to signed unsigned comparisons.
    programs/Xserver/hw/xfree86/drivers/nv/nv_driver.c:
    (NVBacklightEnable): Changed the order in which the sequencer registers
    and the backlight control registers are written. The sequencer control
    register need to be written first otherwise DPMS screen blanking
    produces vertical bars on a mobile device. lib/Xau/Imakefile: Build
    libXau static library PIC so it can be linked into toolkits that would
    like to wrap its functionality.
2004-10-12 19:13:43 +00:00
Egbert Eich
4ab7d316ec Improving DPMS handling on VT swich and server termination/abort: previous
version called the driver directly and too late.
Unblank secondary screen explicitely. Don't rely on the value read during
    register save as the BIOS have blanked the secondary head.
Checking if server isn't switched away before calling sync. Sanity check
    for possible bugs in aother areas of the code.
Fixing default amount of of allocated video memory from AGP for i810: Use
    16MB if less than 192MB are installed else use 24MB (Matthias Hopf).
2004-10-11 09:58:04 +00:00
Matthieu Herrb
ca1fda2a3f programs/Xserver/Xext/saver.c Fix for XFree86 bugzilla #1224. 2004-10-10 17:48:43 +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
Alan Coopersmith
d737bc3300 Make xorgconfig ask again instead of giving up and throwing away all your
answers when you give a bad file name or bad amount of video RAM. (Sun
    bug id 5070654 - Derek Wang)
2004-10-05 17:28:15 +00:00
Roland Mainz
75217be88c Fix for http://freedesktop.org/bugzilla/show_bug.cgi?id=661 - Xprt
producing spurious characters in PS output when using the bitmap cache
    (Originally reported against Solaris Xprt as Sun bug id #4369307, and
    fixed in Solaris by Jay Hobson.
2004-10-04 05:34:32 +00:00
Roland Mainz
658b4ed81f Fix for http://freedesktop.org/bugzilla/show_bug.cgi?id=1299 - 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).
2004-10-04 05:04:14 +00:00
Roland Mainz
e622b34611 Fix for http://freedesktop.org/bugzilla/show_bug.cgi?id=1496 : 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 specification).
2004-10-03 23:29:21 +00:00
Roland Mainz
8b2f127ea0 Fix for http://freedesktop.org/bugzilla/show_bug.cgi?id=1416 - Fix Xprt
PostScript DDX crashes when copying offscreen pixmap content to the
    same pixmap.
2004-10-03 15:34:33 +00:00
Vladimir Dergachev
7b27bf869d Modified:
xc/programs/Xserver/hw/xfree86/drivers/i2c/fi1236.c Make sure formatting
    style is consistent within a single function. MT2032 functions are best
    be in separate file anyway.
2004-10-03 15:01:31 +00:00
Vladimir Dergachev
4046653cb6 Modified:
xc/programs/Xserver/hw/xfree86/drivers/i2c/fi1236.c Fix compilation with
    gcc 3.4.x Cleanup xf86DrvMsg noise.
2004-10-03 14:38:31 +00:00
Vladimir Dergachev
ebe7b3fe16 xc/programs/Xserver/hw/xfree86/drivers/i2c/*_module.c Change version
strings to XORG.
2004-10-02 01:35:33 +00:00
Vladimir Dergachev
0d474149f1 Initial code from GATOS. This needs to be cleaned up, for example the bt829
code is practically untouched since xatitv (which was a standalone test
    program). However, it all worked and was debugged over long period of
    time, so I prefer to to mess with these for now.
New drivers: fi12xx (including MT2032 - this would be be split off later).
    tdaXXX msp34xx bt8xx
2004-09-30 22:58:07 +00:00
Roland Mainz
1dfafe2aee Fix for http://freedesktop.org/bugzilla/show_bug.cgi?id=1489 - Use |long|
instead of |int| for BIGREQUESTS commandline option.
2004-09-29 04:17:44 +00:00
Roland Mainz
de89181444 Fix for http://freedesktop.org/bugzilla/show_bug.cgi?id=1453 - Fix spaces
in usage output for BIGREQUESTS extension (option "-maxbigreqsize").
2004-09-24 02:11:14 +00:00
Torrey Lyons
884cb060ee Update XDarwin project to Xcode 1.5 format and remove unused
QUARTZ_SAFETY_DELAY code.
2004-09-22 23:52:39 +00:00
Torrey Lyons
35a3bf13a8 Add option for XDarwin to track system keyboard layout changes as they
occur (John Harper and Torrey T. Lyons).
2004-09-22 23:38:33 +00:00
Torrey Lyons
1b3fa4d53b Warning fixes. 2004-09-22 22:52:03 +00:00
Alan Coopersmith
de68a3339b Allow overriding DPMS defaults (timeouts & default for on/off) from
#defines/-D options.
programs/Xserver/hw/xfree86/common/xf86DPMS.c Use defaultDPMSEnabled global
    for the default state of DPMS if not set in any config files.
programs/Xserver/hw/xfree86/os-support/sunos/solaris-sparcv8plus.S Add
    support for required assembly inline functions for Sun compilers on
    Solaris/sparc.
Add support for Solaris/sparc libraries.
2004-09-22 17:20:56 +00:00
Adam Jackson
d7514b9162 Bug #1252, #1253, #1255, #1256: Various typo fixes from Dave Jones. 2004-09-22 04:38:03 +00:00
Torrey Lyons
269012e601 Add offscreen GLX direct rendering with XDarwin's xpr backend (John
Harper).
2004-09-21 22:01:14 +00:00
Egbert Eich
0514f8b656 Merged over libXpm security fix provided by Chris Evans, Matthieu Herrb and
Alan Coopersmith from release 6.8.1.
Fail during initialization with error if font/fontset is not set for
    widget. This prevents a sig11 later when the non-existent font/fontset
    structs are referenced.
Check if xf86Info.kbdProc pointer is really set before calling it on abort
    as this pointer won't be set if the new modular keyboard driver is used
    (Matthias Hopf).
Added new libs to the bindist control files.
Removed inclusion of unnecessary kernel header on Linux. This may fail in
    an -ansi environment.
2004-09-21 17:57:36 +00:00
Alexander Gottwald
814b746621 Bugzilla #1402: The last patch was broken on linux. Take definition of
badSysCall out of the OS specific block.
2004-09-20 08:44:54 +00:00
Eric Anholt
b600fcda38 Fix the R200 Render code. Composite and Trapezoids are now supported just
as well as on R100.
2004-09-20 03:12:00 +00:00
Alexander Gottwald
908287adda Bugzilla #1402: 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.
2004-09-19 12:59:52 +00:00
Eric Anholt
90ff3688cd Unbreak the AGP DRI case. That was quite a pile of broken code. 2004-09-19 10:57:31 +00:00
Roland Mainz
9297c6149f Fix for http://freedesktop.org/bugzilla/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-09-18 23:18:35 +00:00
Torrey Lyons
6344bb51e2 Bugzilla #1032: Make rootless acceleration functions compatible with
Damage.
2004-09-18 00:38:30 +00:00
Torrey Lyons
cedb9a8d62 Update Apple's list and hash utility routines to latest versions (John
Harper).
2004-09-17 21:57:26 +00:00
Alexander Gottwald
b56f4532d1 Remove code which prevented the use from specifying the window size in
nodecoration mode.
2004-09-16 13:22:52 +00:00