Commit Graph

776 Commits

Author SHA1 Message Date
Alexander Gottwald
676fdb03f3 print window handle in message outout 2005-02-12 14:43:07 +00:00
David Reveman
046bdb1716 Fixes a few problems in Xgl 2005-02-11 20:19:20 +00:00
Søren Sandmann Pedersen
35bd81dfec Fri Feb 11 14:28:22 2005 Søren Sandmann <sandmann@redhat.com>
When COMPOSITE is enabled, call CopyWindow even when the pixels "don't
    move" on screen.
Don't reject modes that are not supported by the unused monitor.
2005-02-11 19:38:04 +00:00
Adam Jackson
e5ccccfbd4 Bug #826: Make xorgconfig respect font installation outside $PROJECTROOT.
(Donnie Berkholz)
2005-02-11 06:37:38 +00:00
Egbert Eich
e7369daba5 Added PCI2Host bus translations for linux PPC and fixed fixed bugs in
macros that apply these functions (Bill Randle Bugzilla #325 and #327).
2005-02-09 11:12:54 +00:00
Keith Packard
aab9a8dd99 Add initial evdev framework 2005-02-09 03:56:35 +00:00
Keith Packard
a85c33b52c update Xgl to changes in damage API. Remove some flags to support software
mesa
2005-02-08 22:45:21 +00:00
Keith Packard
db2c83551c hw/kdrive/ati/radeon_composite.c Support linear filtering
Change how touch screens work -- make them just another 'mouse' device. Add
    unfinished (and unused) code to accelerate tiled fills.
2005-02-08 22:43:54 +00:00
Alexander Gottwald
70d3a9192f Updated fix for ABNT2 and HK_Toggle keys. 2005-02-08 15:20:01 +00:00
Alexander Gottwald
384099457e Backout ABNT2 and HK_Toggle fix since it broke keys F1 and F4. 2005-02-08 10:15:49 +00:00
Egbert Eich
ea5b09f95d Save gs register before calling the vm86_old syscall thru int 0x80. This is
required for linuxthreads as the TLS uses this register to keep track
    of local thread storage (Bugzilla #2431, J. Scott Berg).
2005-02-07 18:16:05 +00:00
Alexander Gottwald
4d55065b35 Moved keyboard layout table to external file. 2005-02-07 15:08:31 +00:00
Egbert Eich
c12ef1b34a Check the pixel clock choosen for a specific refresh rate against the
maximally allowed pixel clock when choosing mode lines for
    VBESetVBEMode() and VESA BIOS version >= 3.0 (Bugzilla #2486).
2005-02-07 11:56:31 +00:00
Felix Kuehling
859be7a52b Applied patch (id=1354) by Mike A. Harris from bug #1901: The attached
patch updates a couple of PCI IDs for the Savage driver --
    Debian/Ubuntu/Red Hat/Fedora.
2005-02-04 01:14:49 +00:00
Alexander Gottwald
3dda2fe0e2 Force ShowWindow if XWin was started via run.exe. Fixes mainwindow not
showing bug
2005-02-02 18:06:14 +00:00
Adam Jackson
b532bfb483 Bug #1294: Make sure RenderAccel hooks get wrapped in XAA init. 2005-02-02 04:07:04 +00:00
Roland Mainz
44e2d91679 xc/programs/Xserver/hw/xfree86/os-support/bus/xf86Sbus.h
xc/programs/Xserver/hw/xfree86/os-support/linux/lnx_io.c
//bugs.freedesktop.org/show_bug.cgi?id=825) attachment #956
    (https://bugs.freedesktop.org/attachment.cgi?id=956): Fix build
    problems on Linux/SPARC. Patch by Jeremy Huddleston
    <eradicator@gentoo.org>. Approved in the 2005-01-31 Xorg
    release-wranglers phone call.
2005-02-02 00:55:21 +00:00
David Reveman
15c555a25d Use negative stride for trapezoid masks in Xgl 2005-02-01 21:22:02 +00:00
Alexander Gottwald
d3ca132061 winmultiwindowwindow.c
Create windows with SWP_NOACTIVATE flag (updated) (Kensuke Matsuzaki)
Fixes for window ordering problem (updated) (Kensuke Matsuzaki)
2005-01-31 10:49:30 +00:00
Alexander Gottwald
374b9aa8ce Added hungarian keyboard layout. 2005-01-31 10:47:32 +00:00
Alexander Gottwald
8d277ceb22 winmessages.h
winmsg.h
winmsg.c
winmultiwindowwndproc.c
winwin32rootlesswndproc.c
Make logging of messages configurable with environment variables
2005-01-31 10:43:37 +00:00
Alexander Gottwald
2982d173ca resolve SHGetFolderPath dynamicly since it is not available on all Windows
systems.
2005-01-31 10:32:19 +00:00
Alan Coopersmith
8ac3be3f6c //bugs.freedesktop.org/show_bug.cgi?id=1692> Remove reference to
nonexistent Monitors file from xorgconfig (Report & patch from Dejan
    Lesjak <dejan.lesjak@ijs.si>)
2005-01-30 21:18:46 +00:00
Matthieu Herrb
206072c475 programs/Xserver/hw/xfree86/os-support/bsd/bsd_kbd.c Fix option
dontVTSwitch under *BSD, when XKB is disabled. Bugzilla #2252.
2005-01-30 20:12:07 +00:00
Alan Coopersmith
327922f006 Update to latest rev from http://pciids.sf.net/
Remove entries that now duplicate pci.ids Add entries for new Nvidia boards
    added in recent nv driver update
2005-01-29 01:01:03 +00:00
Egbert Eich
d23c46dd3e Modifying X.Org Xserver DDX to allow to run X with ordinary user
permissions when no access to HW registers is required. For API changes
    which mostly involve the modifications to make the RRFunc (introduced
    with 6.8) more flexible please check Bugzilla #2407. NOTE: This patch
    applies changes to OS specific files for other OSes which I cannot
    test.
2005-01-28 16:13:00 +00:00
Eric Anholt
5ca5fe7111 Add an OUT_RING_REG macro for use with DMA_PACKET0, which is like OUT_RING
but includes debugging to ensure that the reg being submitted is the
    one that follows in the packet. Convert most uses of OUT_RING to it,
    and convert a couple of OUT_REG sets to DMA_PACKET0/OUT_RING_REG. Also,
    add checking to see if more registers are submitted to a DMA_PACKET0
    than should be, to avoid hangs during stupid mistakes (checking for
    less isn't done).
2005-01-27 05:25:57 +00:00
Eric Anholt
0bd459488b Move the bailing out due to ATIUploadToScreen() being unfinished up
farther, so that the traces aren't as confusing.
2005-01-27 03:52:49 +00:00
Eric Anholt
a973af4a9a Remove an unused field. 2005-01-27 03:50:48 +00:00
Egbert Eich
59c7005bb1 When we tested if a PCI base address was unassigned we didn't take into
account that this bar could have been the upper part of a 64bit base
    address. This fix makes this code 64bit bar aware (Bugzilla #2382).
2005-01-26 15:50:17 +00:00
Egbert Eich
7c3dd0a5a7 Rewrite of RemoveOverlaps() to make the code more readable. It was
virtually impossible to determine if the old code did what it was
    supposed to do. Also changed paradigm: Trust the based address more
    than the (guessed) size. (Bugzilla #2383)
2005-01-26 15:45:49 +00:00
David Reveman
9817582328 Xgl improvements 2005-01-26 10:58:52 +00:00
Egbert Eich
13b5a93b70 Fix interpretation of 64bit PCI bases: read hi long word from the right bar
(Michael Yaroslavtsev, Bugzilla #2322).
2005-01-25 10:08:18 +00:00
Keith Packard
8813898ef6 Fix R100 text by forcing the 3d engine to idle before executing more 3d
commands. Add docs for the ISYNC_CNTL register, which doesn't quite do
    what we want.
2005-01-25 06:04:21 +00:00
Eric Anholt
33155b4fd3 Finish converting RB2D_DSTCACHE to RB3D_DSTCACHE. Remove an extra pixel
cache flush in the idle function. Init an extra reg for r200, and
    annotate the TCL_BYPASS better. Also, clean up some style nits from the
    last commit.
2005-01-25 03:37:05 +00:00
Keith Packard
3b1f1508b1 Add tracing. Hack Radeon cache registers to use 3D addresses. Works on M6 2005-01-25 02:39:48 +00:00
Eric Anholt
6eaca06dac Fix a leak of a region when the driver's CheckComposite fails. 2005-01-25 01:40:18 +00:00
Eric Anholt
8a1bee8ea9 Silence a warning about uninitialized variable (though it would be). 2005-01-25 01:38:26 +00:00
Adam Jackson
67eeede4e1 Bug #2004: Make DDC delay slightly longer. (Thomas J. Moore) 2005-01-24 20:44:49 +00:00
Egbert Eich
55736aa8c1 Alan Cox requested that we check the kernel version before we use kernel
VGA font save/restore as the required features have been added to Linux
    2.6.11 (Bugzilla #2277).
2005-01-21 14:25:26 +00:00
Keith Packard
d7263b11f0 Reinitialize offscreen memory before enabling cursor on VT switch-to 2005-01-20 20:51:27 +00:00
Eric Anholt
13c6b2f0b6 Add a set of macros for dealing with the repeated code to wait for a while
reading a register/attempting DMA. Now it'll wait for a certain number
    of seconds rather than a certain number of times through the loop
    before deciding that it's timed out and resetting the hardware. Also,
    add more timeout handling, and reset the draw state after resetting the
    engine.
2005-01-20 16:22:04 +00:00
Eric Anholt
dbe45c7159 Use RadeonSwitchTo3D() instead of doing the WAIT_UNTIL ourselves (RST3D()
also does DC_FLUSH, which may be important).
2005-01-20 07:28:02 +00:00
Eric Anholt
fc43c15494 Add R200 XV support, and make R100 (hopefully) use linear filtering instead
of nearest. Also, use RadeonSwitchTo3D instead of doing the WAIT_UNTIL
    ourselves.
2005-01-20 07:09:00 +00:00
Eric Anholt
7775506534 Make R200 PDMA work -- primary queue sizes are now 9 bits, not 8. 2005-01-20 01:09:48 +00:00
Alan Coopersmith
9bd876768b Fix debugging ErrorF() so it compiles when DEBUG is true. 2005-01-19 22:23:20 +00:00
Keith Packard
ff433adba3 Prefer 32bpp to 24bpp. Fix 16 color planar mode (!) 2005-01-19 06:35:28 +00:00
Egbert Eich
761f937fde - Don't suspend Xserver on APM standby request as this seems to cause
problems on may systems which don't support APM standby and might not
    be required as according to the APM specs the chips should receive
    enough power to retain its state.
- Print out power state change requests to log file in all verbosity
    levels.
- Don't change server state if no driver PM function is registered.
    (Bugzilla #2279)
2005-01-14 19:29:18 +00:00
Egbert Eich
16f9d2d72a Let the OS instead of X save/restore text console fonts on Linux. So far we
relied on the generic VGA layer to restore text console fonts for us
    when shutting down the server or VT switching back to the text console.
    This has worked rather well but it has some downsides on Linux: a. Many
    people use fbdev as console text mode. In this case it is not necessary
    to save/restore console fonts as the console is running in graphics
    mode anyway. b. Some architectures don't have a fbdev console but
    require a full POST of even the primary card (ie. IA64). This posting
    has to take place before we even have a chance to save anything.
    Therefore the fonts we save are the once written to the chip by POST,
    not what has been programmed by the user. c. Certain chipsets utilize
    the BIOS to perform mode setting. This may interfer with the vga
    save/restore font function in a strange way. It would therefore be
    preferrable to let the OS - which has been used to set up the font in
    the first place - take care of saving/restoring the data. I will attach
    a patch which will do so for Linux. To make this fully functional a
    small patch needs to be applied to the Linux kernel. To disable this
    feature add: #define DoOSFontRestore NO to your host.def. (Bugzilla
    #2277)
2005-01-14 18:42:26 +00:00
Adam Jackson
6c0b03a236 Build fixes for static server. 2005-01-14 17:14:08 +00:00
Roland Mainz
2137bc6eb9 xc/programs/Xserver/afb/afbbres.c
xc/programs/Xserver/afb/afbbresd.c
xc/programs/Xserver/afb/afbclip.c
xc/programs/Xserver/afb/afbhrzvert.c
xc/programs/Xserver/afb/afbline.c
xc/programs/Xserver/afb/afbmodule.c
xc/programs/Xserver/afb/afbpixmap.c
xc/programs/Xserver/afb/afbpolypnt.c
xc/programs/Xserver/afb/afbpushpxl.c
xc/programs/Xserver/afb/afbtegblt.c
xc/programs/Xserver/cfb/Imakefile.inc
xc/programs/Xserver/cfb/cfballpriv.c
xc/programs/Xserver/cfb/cfbbitblt.c
xc/programs/Xserver/cfb/cfbcppl.c
xc/programs/Xserver/cfb/cfbgc.c
xc/programs/Xserver/cfb/cfbglblt8.c
xc/programs/Xserver/cfb/cfbmap.h
xc/programs/Xserver/cfb/cfbpixmap.c
xc/programs/Xserver/cfb/cfbscrinit.c
xc/programs/Xserver/cfb/cfbtab.h
xc/programs/Xserver/cfb/cfbteblt8.c
xc/programs/Xserver/cfb/cfbunmap.h
xc/programs/Xserver/mfb/maskbits.c
xc/programs/Xserver/mfb/maskbits.h
xc/programs/Xserver/mfb/mergerop.h
xc/programs/Xserver/mfb/mfb.h
xc/programs/Xserver/mfb/mfbclip.c
xc/programs/Xserver/mfb/mfbfont.c
xc/programs/Xserver/mfb/mfbgc.c
xc/programs/Xserver/mfb/mfbmisc.c
xc/programs/Xserver/mfb/mfbpushpxl.c
//bugs.freedesktop.org/show_bug.cgi?id=1114) attachment #667
    (https://bugs.freedesktop.org/attachment.cgi?id=667): Convert afb and
    cfb{,16,24,32} to be dlloader-friendly. Patch by Adam Jackson
    <ajax@freedesktop.org>.
2005-01-14 08:37:30 +00:00
Adam Jackson
a303670107 Bug #2114: PPC64 Linux build fix: use system definition of eieio().
Originally Gentoo bug #66223. (Tim Yamin, Donnie Berkholz)
2005-01-13 01:22:53 +00:00
Alexander Gottwald
15895b4117 winmsg.c
Introduce function winTrace which prints log message with verbosity 10
Use winTrace for 3 heavily called functions
2005-01-12 16:10:00 +00:00
Alexander Gottwald
8aabc94596 Document the -silent-dup-error switch 2005-01-11 17:33:03 +00:00
Egbert Eich
b6301dc410 Minor format fix.
Added explanatory comment and debug code.
Added comment.
2005-01-11 14:59:02 +00:00
Alexander Gottwald
27fc6874b3 Do not grab ALT-TAB when window is in multiwindow mode 2005-01-11 12:03:34 +00:00
Alexander Gottwald
d365664c58 Fix crash with not matching definitions of PATH_MAX 2005-01-11 11:58:12 +00:00
Alexander Gottwald
eb701e9b44 winkeybd.h
Adjust keysyms for Hiragana_Katakana toggle and backslash/underscore on
    Japanese and ABNT2 keyboards
2005-01-10 17:54:31 +00:00
Alexander Gottwald
57387e115c winkeybd.h
winkeyhook.c
Make keyhook feature work in multiwindowmode too Hook windows keys
2005-01-10 13:13:08 +00:00
Egbert Eich
f417159e51 Make option 'DontVTSwitch' work again with kbd driver under Linux. The kbd
driver now calls the OS layer to handle special keys. Possibly other
    special keys and other OSes need to be looked at also. (Helmut
    Fahrion).
2005-01-10 12:20:33 +00:00
Alexander Gottwald
709a2343a8 Fix a possible null-pointer dereference (Keishi Suenaga) 2005-01-08 13:01:03 +00:00
Alexander Gottwald
d332a909f8 Imakefile
InitOutput.c
XWin.rc
winerror.c
wintrayicon.c
winvideo.c
winshaddd.c
Set PROJECT_NAME in Imakefile to create alternative window titles for
    Cygwin/X and Xming
2005-01-06 21:29:09 +00:00
Alexander Gottwald
d6a74f2c4a Imakefile
InitOutput.c
XWin.rc
winerror.c
wintrayicon.c
winvideo.c
Set PROJECT_NAME in Imakefile to create alternative window titles for
    Cygwin/X and Xming
2005-01-06 16:02:47 +00:00
Alexander Gottwald
3165236483 Fix crash with non-nullterminated strings (reported by Øyvind Harboe) 2005-01-06 13:24:57 +00:00
Alan Coopersmith
591ac9c811 Bugzilla #2211 (https://bugs.freedesktop.org/show_bug.cgi?id=2211)
attachment #1627 (https://bugs.freedesktop.org/attachment.cgi?id=1627):
    xorgconfig default keyboard model outdated (should be pc105, not
    pc101/pc102)
2005-01-04 00:16:20 +00:00
Egbert Eich
ae6d52092b Added missing return value (Bugzilla #2206) Problem found by Stefan Kulow. 2005-01-03 15:39:35 +00:00
Eric Anholt
106703edf6 Back out the previous day's broken R200 "fix" -- the same number of coords
are always emitted. Fix the real problem, which was not enough regs
    being initialized in ati_draw.c. Fix a typo that was resulting in alpha
    coming out as 0 * src or 0 * broken instead of src * 1 or src * mask.
    Assign the blending results to R0, as appears to be necessary. Unbreak
    the dst-alpha-blend-with-no-dst-alpha code. Yow. And set the right DMA
    count for the r200 traps code.
2004-12-22 18:39:41 +00:00
Alan Coopersmith
3035739e5b Bug #2123 <https://bugs.freedesktop.org/show_bug.cgi?id=2123> Attachment
#1587 <https://bugs.freedesktop.org/attachment.cgi?id=1587> Call to
    uname should not check for return == 0, but for >= 0 instead
2004-12-22 08:28:16 +00:00
Eric Anholt
fa0677ab43 Fix r200 render (for real this time?) by setting tex1_comp_cnt right for
non-mask rendering. Reenable it. Also, R200TexFormats was used instead
    of R100 in one place. Harmless so far, because the formats were in the
    same order.
2004-12-21 09:51:47 +00:00
Eric Anholt
4b0247b9e0 Whitespace nit. 2004-12-21 09:49:30 +00:00
Thomas Winischhofer
eea11301fd Another fix for MiscPassMessage(): Initialize returned "status". 2004-12-15 15:05:35 +00:00
Alexander Gottwald
264c3eefe6 latest changes from CYGWIN 2004-12-15 12:22:39 +00:00
Thomas Winischhofer
c7fec26b50 Make MISC extention's PassMessage() actually work and fix memory leaks 2004-12-15 00:32:56 +00:00
Egbert Eich
d0b17bda4d Removed #ifdef'ed out code together with the comment explaining why it was
#ifdef'ed out.
Fixed typo.
Added comment to a changed that's been committed with one of the previous
    commits.
2004-12-14 08:59:20 +00:00
Roland Mainz
159e443a22 //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:13:32 +00:00
Kristian Høgsberg
f1768677f7 Reduce vidmode logging. 2004-12-12 23:29:20 +00:00
Kristian Høgsberg
9286a5d032 Add fix for 460gx pci scan code. 2004-12-12 22:58:37 +00:00
Alexander Gottwald
081b33d73f import changes from CYGWIN branch 2004-12-08 15:48:15 +00:00
Roland Mainz
6c317c1c13 //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 Høgsberg <krh@bitplanet.net>.
2004-12-08 05:52:20 +00:00
Matthew Allum
47935dd7f0 Xephyr on Xorg fix 2004-12-06 22:29:31 +00:00
Matthieu Herrb
8091b301c9 xf86Config.c references USE_DEPRECATED_KEYBOARD_DRIVER so define it if
needed when building this file
- bug fix: pointerMsg -> keyboardMsg in auto-configuration code.
- make the 'kbd' driver the default for autoconfiguration everywhere.
2004-12-06 21:54:19 +00:00
Alexander Gottwald
cde3a17500 include windows.h 2004-12-06 18:28:12 +00:00
Egbert Eich
9c94971617 Use the same method of finding the screen pixmap of COMPOSITE extension is
compiled in or not.
Removed stale make variable.
Updated xaaWrapper.c: Under certain circumstances the accel path was not
    used when possible. Removed some debugging stuff and stale code that
    had been commented out.
Check if maps are really installed before attempting to list them.
2004-12-06 15:53:00 +00:00
Alexander Gottwald
4945034792 problem with max() macro. this one slipped though again 2004-12-06 12:26:50 +00:00
Alexander Gottwald
531776becf missed another wBOOL issue 2004-12-05 21:33:23 +00:00
Alexander Gottwald
9bd1328c49 redone ddraw.h to be able to mix it with w32api style COM header files.
obj_base.h is not needed anymore. Using <objbase.h> instead.
Use Xwindows.h instead of windows.h
do not include win_ms.h
remove extra definition of sleep()
Set HOME to Documents and Settings/username if not set
Use Xming basedir instead of ProjectRoot for system.XWinrc
Fix callback functions to use wBOOL instead of BOOL
Fix compiler warnings. Added debug output.
Fix warning about undefined macro max
2004-12-05 21:24:48 +00:00
Markus Kuhn
44f4713a05 Encoding of numerous files changed to UTF-8 2004-12-04 00:43:13 +00:00
Alexander Gottwald
f264a7ea74 Removed scprintf, aprintf and snprintf stuff and use newXprintf 2004-12-03 12:04:15 +00:00
Kristian Høgsberg
30a4202f3d Use __printf__ in gcc function attributes to avoid clash with libc wrapper
define, and remove the last bits of the old workaround.
2004-12-02 21:58:58 +00:00
Alexander Gottwald
2782b88711 Adjust the width of the rootless backbuffer to match 32 bit alignment
Make multiplemonitors default for -internalwm
2004-12-02 14:19:01 +00:00
Phil Blundell
2620676306 Patch from Florian Boor <florian.boor@kernelconcepts.de>:
Check return value from ts_config. (TslibInit): Likewise.
2004-12-01 19:43:29 +00:00
Alexander Gottwald
96545d0388 Remove code which sneaked in recently. It is not proven to be correct, just
a workaround and disabled by default
2004-12-01 14:57:45 +00:00
Alexander Gottwald
3f063fc49c Set XERRORDB environment variable to relocate the XErrorDB file 2004-12-01 14:16:07 +00:00
Egbert Eich
af717ae57d Make Xorg the default server to install.
Avoid PIO access on IA64. Some IA64 machine check if legacy ports outside
    the VGA range are accessed. The ATi driver however does this to probe
    for ISA Mach8/32/64. Since no IA64 has ISA slots this restriction
    should not be relevant to the user.
Avoid recursive calls of xf86scanpci(). This function normally detects that
    it has been called before by checking if the PCI structure is filled
    out. So far if this was not the case (because PCI probing has failed
    for some reason) the function is traversed again. With the chipset
    specific PCI bus probing this can lead to an endless recursive loop as
    the post-probing code calls xf86scanpci() from within this function.
The OS specific PCI code for Linux worked only if bus 0 was populated as it
    checked for the presence of /proc/bus/pci/00. Fixed to check for
    /proc/bus/pci/<bus_to_look_for> instead.
2004-11-30 08:38:44 +00:00
Alexander Gottwald
59ccc6465c Fixed windows.h include for cygwin.
Bugzilla #1945: Stop unnecessary reordering.
2004-11-29 12:34:55 +00:00
Phil Blundell
df2f2ff5a4 Re-read "fix" structure from kernel after mode selection, in case line
pitch has changed.
2004-11-28 23:20:17 +00:00
Matthew Allum
2b75c19ea2 minor Xephyr fix 2004-11-24 17:50:50 +00:00
Matthew Allum
a96254234f XEphyr -parent switch fixes 2004-11-24 17:08:06 +00:00
Alexander Gottwald
a7a07d0c71 Finally the multiwindow mode defines a default cursor 2004-11-24 16:56:03 +00:00
Kristian Høgsberg
da3df7522d Remove this file and all references to the binary expiry code.
Remove old obsolete include/extensions/damage.h.
Include srvrv_ctrl(xfree86) in macintosh US XKB symbol file so VT switching
    works again on mac (#1872).
Remove out of place #define's of printf to xf86printf. This definition
    should only be in xfree86/os-support/xf86_libc.h
2004-11-24 02:45:33 +00:00
Alexander Gottwald
bc7493801d Fixes for building multiwindow and internalwm on mingw
Changed some debugging output
2004-11-22 14:28:25 +00:00
Alexander Gottwald
255c3c0e8c Xming: Place logfile in users tempdir 2004-11-22 14:12:33 +00:00
Alexander Gottwald
6618567311 Remove override of HasSnprintf 2004-11-15 15:58:51 +00:00
Alexander Gottwald
9826b83826 Bufzilla #1802, http://freedesktop.org/bugzilla/show_bug.cgi?id=1802 Added
mingw (Win32) port
2004-11-15 15:06:51 +00:00
David Reveman
cecb668149 Add xglPixmapToRegion 2004-11-14 23:21:29 +00:00
Alan Coopersmith
343f965749 Fix typos in output file. (Bugzilla #1849, reported by Yi Ren-Chen) 2004-11-14 17:29:56 +00:00
Phil Blundell
636a9e7868 Don't leave stale pointers hanging around after ts_close(). (TslibFini):
Likewise.
2004-11-13 18:03:16 +00:00
Phil Blundell
36d9e01c0d New global variable. (KdProcessArgument): Set it to TRUE on -nozap switch.
(KdUseMsg): Add help for -nozap and -rgba switches.
Declare.
Honour dontZap flag.
2004-11-13 16:41:00 +00:00
Kristian Høgsberg
a97548b1c9 Cosmetic fix to make xf86pciBus.c use standard min() macro. 2004-11-11 20:10:28 +00:00
Matthieu Herrb
e5040e24f0 oops commited wrong version previously 2004-11-11 16:09:58 +00:00
Matthieu Herrb
e380fd548e update shared lib revisions on OpenBSD (Bug #1828).
update references to xf86site.def in comments (Bug #1827).
fix kbd driver for wskbd protocol and pure wscons console driver (Bug
    #1825).
don't add '-4' to generated default file name (bug #1826).
typo in resource name (XFree86 bug #1300, X.org bug #1825)
2004-11-11 15:44:31 +00:00
Matthew Allum
d7f46f71d8 Xephyr grab fix 2004-11-11 14:55:30 +00:00
Adam Jackson
2854fa438f Bug #557: Don't use "bool" as a variable name in xf86cfg, to avoid compiler
bugs. (Donnie Berkholz)
2004-11-09 17:06:15 +00:00
Adam Jackson
367b963b63 Bug #1765: Add support for R_ALPHA_SREL32 relocations in elfloader.
Originally Debian patch
    202_alpha_elfloader_support_R_ALPHA_SREL32.diff. (Falk Hueffner)
2004-11-09 15:58:41 +00:00
Matthew Allum
50cdff7ee2 Xephyr improvements 2004-11-09 11:36:49 +00:00
Matthew Allum
81a3b6fe27 Add support to Xephyr for lower depths than hosts 2004-11-08 22:39:47 +00:00
Alexander Gottwald
e494e24c50 Wrap all mwextwm and internalwm code with XWIN_MULTIWINDOWEXTWM 2004-11-06 11:56:57 +00:00
David Reveman
64c7f8e667 Use UTF-8 encoding in Xgl sources 2004-11-05 13:26:07 +00:00
David Reveman
1d994e1d14 Use negative strides in Xgl if pixel data have bottom-top scanline order 2004-11-05 12:46:29 +00:00
David Reveman
2dd76d646c Add working Xgl server code 2004-11-04 23:19:13 +00:00
Kensuke Matsuzaki
1aef106064 Add InternalWM mode. 2004-11-04 11:52:22 +00:00
Egbert Eich
522c878fca Removing unneeded private FreeType2 symbol.
Updating to EDID 1.3. (Bugzilla# 1490, Jay Cotton, Egbert Eich).
Removing unneeded code.
Fixed KGA handling for i810. KGA handling for chips derived from C&T chips
    is slightly different. The changes make the code consistent with the
    C&T (chips) and i740 drivers.
2004-11-02 08:54:53 +00:00
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
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
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
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
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
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
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
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
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
Eric Anholt
90ff3688cd Unbreak the AGP DRI case. That was quite a pile of broken code. 2004-09-19 10:57:31 +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
Alexander Gottwald
c4083511ac add support for mice with more than 3 buttons and one scroll wheel (Chris
B)
2004-09-15 17:58:50 +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
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
Matthew Allum
2753c8e2c8 see changelog 2004-09-01 15:30:58 +00:00
Matthew Allum
7c0aaa53bf '-dpi' fixes for Xephyr 2004-09-01 11:13:36 +00:00
Matthew Allum
16ff3a8727 Actuall select events for -parent option 2004-09-01 08:31:20 +00:00
Matthew Allum
2d065c4c33 Added ephyr server sources 2004-08-31 16:33:05 +00:00
Eric Anholt
6ec9ecd591 Add a set of three hooks for accelerating trapezoids, and use it for the
RasterizeTrapezoid screen function. These hooks will be called for
    imprecise, non-sharp trapezoids with A8 destinations.
Note that the current main consumer of trapezoids, cairo, is requesting
    precise, sharp trapezoids by not changing the default Picture
    attributes, but gets non-sharp effects in software because fb bases its
    choice of sharp/non-sharp on the mask format being A8 vs A1, and cairo
    asks for A8. Follow fb's (poor?) example by ignoring the sharp setting
    and basing the choice off of the mask being A8.
2004-08-30 22:16:46 +00:00
Eric Anholt
ccaf332ce3 Rather than initially place pixmaps in framebuffer based on a size
heuristic, delay the decision until the first
    kaaPixmapUse{Screen|Memory}, and put it in framebuffer if UseScreen was
    called. Provides a significant improvement in cairo speeds (100%
    speedup in cairogears here) and is likely to improve text performance
    as well.
2004-08-30 16:43:10 +00:00
Kevin E Martin
14b2db63e7 Fix make install when BuildServersOnly is YES (Bug #1213).
Fix build failures when UseDeprecatedKeyboardDriver is YES and
    DoLoadableServer is NO (Bug #1229, Kristian Høgsberg).
Fix failure when using DLL loader and LD_BIND_NOW is set (Bug #1212, Adam
    Jackson).
2004-08-29 21:06:00 +00:00
Alan Coopersmith
ac038e9cc6 Don't define _XOPEN_SOURCE before including math.h on Solaris - it's not
needed on older releases, and breaks builds on Solaris 10. (Same as
    bugzilla #189).
2004-08-29 00:48:17 +00:00
Egbert Eich
89d7027638 Fix for XV memory allocation: Also use tiled area for allocation even if it
hasn't been used before.
2004-08-27 21:44:54 +00:00
Kevin E Martin
1840a50bb7 Add missing reply for DMX (Rik Faith). 2004-08-27 20:39:17 +00:00
Egbert Eich
ecd889c6ff Added support for LynxOS 4.0 (Thomas Mueller).
Fix arm netwinder build (Donnie Berkholz).
2004-08-27 19:27:12 +00:00
Egbert Eich
7c08707869 - Make DDC code more VESA compliant: when MaxClock is set to 0xFF it means
'no value specified'. Therefore setting it to 0.
2004-08-27 12:32:14 +00:00
Kevin E Martin
c0bff215de Fix xtest failures in Xvfb from XMatchVisualInfo test. 2004-08-27 01:15:10 +00:00
Egbert Eich
c8672e7ac7 Fixed support for LynxOS 3.1 (LynxOS 4 will follow) (Thomas Mueller).
2
2004-08-26 11:58:08 +00:00
Torrey Lyons
198e62c44b Documentation only update: Update XDarwin application version for release. 2004-08-21 00:46:01 +00:00
Kevin E Martin
74d84d7b12 Fix keyboard driver failing to initialize if DoLoadableServer is NO (Bug
#1133, Kristian Høgsberg).
2004-08-20 05:22:39 +00:00
Kevin E Martin
bd3e6e4425 Add missing no.*Extension symbols (Bug #1131, Aaron Plattner). 2004-08-19 04:08:40 +00:00
Kevin E Martin
9223baf985 Fix AIX build problems (Bugs #1020, 1102, 1103, Dan McNichol).
Remove old config files (Bug #1123, Jim Gettys).
Remove old log message (Bug #1123, Jim Gettys).
2004-08-18 18:41:41 +00:00
Kevin E Martin
a45bc0df7a Fix DRI module loading (Bug #1057, Ronny Vindenes).
Fix Xvfb at 8bpp (Bug #1091).
Fix link order when building with Xprint in glxgears (Bug #1060, Alexander
    Gottwald).
2004-08-17 17:55:02 +00:00
Kevin E Martin
75de2fe82e Update release and date for first RC.
Fix kbd/keyboard driver for DoLoadableServer NO.
Revert change since it is better to set date in the config files.
2004-08-16 22:48:50 +00:00
Kevin E Martin
1798cac6fa Add kdb <-> keyboard aliasing when UseDeprecatedKeyboardDriver is NO (Bug
#1072, Kristian Høgsberg).
2004-08-16 20:17:51 +00:00
Alexander Gottwald
6cac342517 document broken composite in XWin 2004-08-16 15:48:53 +00:00
Kevin E Martin
9aa6beb6b7 Fix banner to print out proper version information. 2004-08-16 02:07:53 +00:00
Kristian Høgsberg
5db70ae257 Remove #error used for testing. 2004-08-15 15:40:19 +00:00
Keith Packard
1e728c3e88 Copy bits from parent window when allocating pixmaps so that Background ==
None works.
Copy filter to backing picture during validation.
Mark picture serialNumber when setting Filter or Transform so Validate
    occurs.
Initialize xf86Screens[i]->pScreen to NULL so that RADEON driver doesn't
    crash during server reset using old pScreen.
2004-08-15 03:34:18 +00:00
Kristian Høgsberg
597fdae93e More kbd fun: write out "kbd" from Xorg -configure (#1078). 2004-08-14 23:59:52 +00:00
Eric Anholt
ed425d1d88 Bug #1077: Fix source copy performance problem exposed by Composite. 2004-08-14 20:29:28 +00:00