Commit Graph

209 Commits

Author SHA1 Message Date
Zephaniah E. Hull c4767794ef Export xf86ActivateDevice, used by the evdev driver. 2006-02-16 01:03:09 +00:00
Adam Jackson f105b8da11 Mark everything in dixsym.c as _X_EXPORT. 2006-02-15 20:44:13 +00:00
Benjamin Herrenschmidt 2dc7b5e0d9 Move call to xf86WrapperInit() to OsVendorInit() in xf86Init.c and remove
stubs in other DDX.
2006-02-13 04:43:40 +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
Luc Verhaegen 8f3c69dcf1 Accept modes with less than 25% horizontal blanking again (you can push old
gtf timing to below 25%), only stop cvt reduced blanking. Users should
    be free to blow up their monitors if they so choose.
2006-01-31 13:04:02 +00:00
Luc Verhaegen 3664c3ebf3 Bug #5153: standalone CVT modeline generator.
- add hw/xfree86/utils/cvt/, cvt.c, cvt.man.pre and Makefile.am.
- Adjust configure.ac and hw/xfree86/utils/Makefile.am for cvt.
- Add MonPtr->reducedblanking and Option "ReducedBlanking" to the Monitor
    section.
- Check for reduced blanking in xf86CheckModeForMonitor and disallow modes
    with less than 25% blanking otherwise.
- Fix some warnings in hw/xfree86/common/xf86Config.c.
2005-12-28 15:22:21 +00:00
Adam Jackson 03d37eb038 Bug #5359: Fix a segfault (Mark Kettenis) 2005-12-20 21:34:21 +00:00
Adam Jackson f1ba3b4f33 Bug #4718: Command line flag to disable ACPI. 2005-12-14 20:11:16 +00:00
Adam Jackson de22d0c226 Fix a thinko so the code matches the comment 2005-12-09 15:30:05 +00:00
Adam Jackson 6fcb049cd0 Bug #1288: Additional refactor of the driver probe logic to keep ati loaded
before atimisc.
2005-12-09 06:49:39 +00:00
Adam Jackson 17ac5e9fec Push the fallback drivers to the end of the list so driver probe order
stays useful.
2005-12-09 05:36:41 +00:00
Adam Jackson 80ea67e379 Bug #4361: Change driver probe logic to read the driver list from disk
instead of using a compile-time array.
2005-12-09 03:59:41 +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
Kean Johnson fc81c13e4d Dont prevent SCO platforms for using the default ZAxisMapping now that the
OS layer correctly sends z-axis events when the wheel button is used.
2005-11-14 18:49:30 +00:00
Kean Johnson 5390c7ab05 See ChangeLog entry 2005-11-07 for details. 2005-11-08 06:33:30 +00:00
Alan Coopersmith f5814bf3ff Don't reference noXkbExtension when building without XKB. (Bob Terek - Sun
Microsystems)
2005-11-08 03:12:43 +00:00
Alan Coopersmith 70aedcf32a Bug #4948: <https://bugs.freedesktop.org/show_bug.cgi?id=4948> Incorrect
URL in log file for Xorg CVS. Also fixed wording of statement to not
    refer to monolithic CVS since modular uses the same code, so it was
    appearing in modular builds too.
2005-11-05 18:56:50 +00:00
Thomas Winischhofer 7993486e80 RandR: Add a driver func to let the driver determine the physical size of a
screen size (display mode). Useful for faked widescreen modes, modes
    which are scaled by the driver, etc. This really helps fixing RandR's
    sometimes dumb DPI assumptions.
2005-10-30 17:38:49 +00:00
Thomas Winischhofer fdbb3ea609 Add function for drivers to change RandR's idea of the virtual screen size.
(This allows drivers to reserve a larger virtual size at start and
    change it later)
2005-10-29 21:31:23 +00:00
Alan Hourihane f842c229d4 build fix on alpha 2005-10-28 16:01:17 +00:00
Alan Coopersmith 7416fd61a1 Improved stack trace dump code for Solaris - try fork & exec of pstack
first so we can see the names of non-exported symbols that aren't
    visible to walkcontext/dladdr1 code.
2005-10-27 21:03:27 +00:00
Adam Jackson 59279da498 Bug #1429: Report input device type correctly. (Stéphane VOLTZ) 2005-10-21 19:06:13 +00:00
Eric Anholt a16dabd05e Remove an RM line that appears unnecessary and was breaking the build at
xf86DefModeSet.c with FreeBSD make, where RM was undefined. While here,
    make the build of xf86DefModeSet.c depend on its sources, so it'll
    rebuild properly, and make it a normal CLEANFILE rather than a
    DISTCLEANFILE, since the intention seems to be to build it at the
    user's build time.
2005-10-12 11:15:44 +00:00
Alan Hourihane b819c8378f remove unneeded line of code 2005-10-12 08:22:31 +00:00
Alan Hourihane 8444a1f391 missed commit 2005-10-11 21:01:04 +00:00
Thomas Winischhofer d91d18e1d6 Add DGAReInitModes in order to allow the driver to change the list of
supported DGA modes. (Part 1)
2005-10-11 19:02:18 +00:00
Alan Hourihane c1a2abadfb fix a typo 2005-10-11 14:50:47 +00:00
Alan Hourihane 697f64a22a check randrp has been initialized 2005-10-11 14:50:03 +00:00
Alan Hourihane 2828d92c6c programs/Xserver/hw/xfree86/common/xf86RandR.c
programs/Xserver/hw/xfree86/loader/xf86sym.c Add a new function
    xf86GetRotation to allow third party modules to obtain the current
    rotation.
2005-10-11 14:45:01 +00:00
Alan Hourihane cad18ec979 don't move x or y depending on the screen size change 2005-10-10 10:07:47 +00:00
Alan Hourihane 7f72f94aa4 rework that again 2005-10-10 09:31:49 +00:00
Alan Hourihane 7c1d9a31a3 a furthur tweak to the randr cursor position fix 2005-10-10 09:24:28 +00:00
Alan Coopersmith d82aeb55ca Bug #3254 <https://bugs.freedesktop.org/show_bug.cgi?id=3254> Make sure
screensaver & DPMS timeouts don't overflow when multiplied by
    MILLI_PER_MIN. (Reported by Zachary J. Slater)
2005-10-09 23:47:52 +00:00
Alan Hourihane 526d1502df another update to the RandR fix (thanks Aaron) 2005-10-07 21:29:39 +00:00
Alan Hourihane 470213753b update the last RandR fix 2005-10-07 18:15:08 +00:00
Alan Hourihane 348242f35a programs/Xserver/hw/xfree86/common/xf86RandR.c Use PointerMoved instead of
SetCursorPosition, as PointerMoved will call AdjustFrame to reposition
    the window if necessary and avoid the cursor ending up offscreen.
2005-10-07 15:39:52 +00:00
Kristian Høgsberg dc6ac8e46f Add DGA configure option and add various files that we should be dist'ing.
Simplify xf86DefModeSet.c rule a bit.
2005-10-05 21:38:40 +00:00
Alan Coopersmith a6cbe0776f Fix the rest of the XFree86 DDX options that require an argument to say so
instead of reporting "unrecognized option" when the argument is
    missing. Also give correct error instead of "unrecognized option" for
    options only available to root.
2005-10-05 16:39:09 +00:00
Alan Coopersmith 9e8b5f3d47 Make Xorg -config stop lying to people and claiming it doesn't exist when
you fail to specify a file name. Also, include it in the list of
    available options for non-root users when listing all available flags.
2005-10-05 01:38:50 +00:00
Aaron Plattner 43625a4706 Bump the video driver module ABI minor version to 8 so modules statically
linked against miDisableCompositeWrapper won't load on older servers.
#include "cw.h" instead of #include "cw/cw.h"
2005-10-04 07:31:53 +00:00
Alan Coopersmith 6d4b350dee Bug #3815 <https://bugs.freedesktop.org/show_bug.cgi?id=3815> Patch #3463
<https://bugs.freedesktop.org/attachment.cgi?id=3463> GNU/kFreeBSD
    Xserver support (Robert Millan)
2005-10-03 16:46:14 +00:00
Adam Jackson e3d2a7d57b Bug #4393: uClibc lies and defines __GLIBC__ even though it's not source
compatible with glibc, so the backtrace support check fails. Work
    around this by wrapping the code in a configure check for execinfo.h,
    and emulate detection for the monolith. (Yuri Vasilevski)
2005-10-03 06:29:14 +00:00
Matthieu Herrb 54b2a14f0f Bug #3411: fix handling of keyboard Autorepeat rate in xorg.conf. 2005-10-01 17:30:58 +00:00
Thomas Winischhofer b5ce065a5e RandR: Fix failure handling (Closes #4635; Thomas Winischhofer) 2005-09-30 08:54:44 +00:00
Kevin E Martin 1a4e30d508 Include xorg-config.h so the generated file will also include it. 2005-09-27 13:47:26 +00:00
Alan Coopersmith 8907195d78 Take care of more files from monolith's Xserver/hw/xfree86/etc dir:
hw/xfree86/utils/ioport/Makefile.am
Add ioport and pcitweak utils from monolith hw/xfree86/etc dir.
Generate xf86DefModeSet.c from vesamodes & extramodes
Add apSolaris.shar to EXTRA_DIST
2005-09-26 20:58:26 +00:00
Daniel Stone c8de8c23fb Fix tests for maximum number of colours when creating a colourmap, so a
32-bit visual (e.g. ARGB) doesn't overflow an int when attempting to do
1 << 32. (Benjamin Herrenschmidt)
2005-09-05 07:43:51 +00:00
Daniel Stone 3075df24e7 Subvert SIGUSR2 to reload all input devices. (Ubuntu #020) 2005-08-26 07:35:55 +00:00
Daniel Stone 40374d1149 Accept 'Enabled' and 'Disabled' for Extensions section (Ubuntu #990) 2005-08-26 05:00:07 +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
Alan Coopersmith cff4b1c216 Check for getconfig in GETCONFIG_DIR if it's not found in module dir. 2005-08-23 20:12:26 +00:00
Daniel Stone 02c834f198 Include Xv and XvMC headers in the SDK. 2005-08-22 09:15:31 +00:00
Daniel Stone 5881051738 Huge cleanup. Group into sections: hardware feature detection, extension
detection/configuration, DDX options. Make building of Xorg DDX fully
    optional. Clarify and correct some help texts. Change all comments to
    use dnl instead of #. Quote all tests correctly, and guard
    pure-variable tests with 'x' (e.g. test $DMX = yes -> test "x$DMX" =
    xyes). Since the DDXes seem to have pretty divergent extension support
    these days, get rid of EXTENSION_LIBS, DMX_EXTENSIONS and
    XPRINT_EXTENSIONS, and go back to building extension lists by hand in
    the DDX-specific sections. Use portable POSIX constructs everywhere
    (e.g. test foo && test bar, instead of test foo -a bar).
Clean up old cruft.
Set _XSERVER64 on 64-bit architectures, and use x86_64 for host_cpu instead
    of amd64 (Jürg Billeter).
2005-08-21 19:15:11 +00:00
Alan Coopersmith b86282b764 Set ZAxisMapping default to "4 5 6 7". 2005-08-15 23:48:35 +00:00
Alan Coopersmith 1ffe9ceb2f Oops, forgot a file in earlier Solaris kbd commit 2005-08-13 06:15:35 +00:00
Alan Coopersmith 5f5117729d Fix segfault when "kbd" fails to load and "keyboard" driver is not
configured.
2005-08-12 01:17:58 +00:00
Alan Coopersmith fc29d014aa Merge in patch release RC handling code from 6.8.2 (Kevin Martin) 2005-08-06 16:29:20 +00:00
Adam Jackson fedbce2186 EXTRA_DIST hacks to get all the OS support files into the tarball. 2005-08-05 00:13:31 +00:00
Adam Jackson b7a43fa0f1 Bug #3739: Fail soft on unknown extension string. 2005-08-01 19:00:21 +00:00
Kevin E Martin 2654f88cee Fix code to handle printing 7.0 release candidates properly. 2005-07-29 18:40:54 +00:00
Søren Sandmann Pedersen 8f6664fcff Add these files to the sdk:
cbf32.h cfb16.h cfbmap.h cfbunmap.h cfbunmap.h cfbmskbits.h xf86sbusBus.h
    mifillarch.h mispans.h
2005-07-26 23:40:45 +00:00
Søren Sandmann Pedersen 3cbb55f309 Install xorgVersion.h 2005-07-26 22:17:27 +00:00
Adam Jackson 64bf3a81a3 loadable extmod build system. 2005-07-14 02:53:31 +00:00
Alan Coopersmith 4f38526566 - Use fbdevhwstub.c if <linux/fb.h> is not found
- Use x86emu on Solaris instead of vm86
- Better per-OS control over which xf86Kbd*.c and *Pci.c files to build
- Set various #defines to be defined or not on Solaris as needed
2005-07-13 22:54:02 +00:00
Adam Jackson c5548086f3 Start filling in glx build. Add xf86Version.h and a few DRI headers to the
sdk (needed for modular driver builds).
2005-07-11 00:42:52 +00:00
Alan Coopersmith 0a28516a6e More compiler warning fixes for missing prototypes:
Add prototype for XkbSetExtension()
Add #include <ctype.h> for isspace() & isdigit()
Add #include <grp.h> (for initgroups()) and remove extra *
Add prototype for xorgGetVersion()
2005-07-07 19:07:28 +00:00
Adam Jackson 7586ac6ede Bug #2216: Multiseat support. From various Debian and Ubuntu patches by
Aivils Stoss, Andreas Schuldei, Branden Robinson, and Daniel Stone.
2005-07-04 18:41:04 +00:00
Alan Coopersmith 7dc547252a Fix builds on non-GLIBC systems (missing __GLIBC_PREREQ). Add Solaris stack
backtrace dumper.
2005-07-04 00:16:23 +00:00
Daniel Stone d010de6979 Abandon the nostdinc experiment. 2005-07-03 15:51:23 +00:00
Daniel Stone b0d80e76d2 Add missing include paths. 2005-07-03 12:17:04 +00:00
Daniel Stone 4e501d35e2 Remove needless usage of DECkeysym.h. 2005-07-03 10:51:16 +00:00
Daniel Stone a107f59951 Predicate usage of xf86OSPM functions on #ifdef XF86PM.
Remove needless include of ../input/mouse/mouse.h.
2005-07-03 09:39:54 +00:00
Daniel Stone 0bb669638f Change <X11/misc.h> and <X11/os.h> to "misc.h" and "os.h". 2005-07-03 08:53:54 +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
Kevin E Martin b8aef6c474 Fix build issues. 2005-07-03 03:28:27 +00:00
Daniel Stone 826a6f029f Continuing Makefile cleanup; add DIX_CFLAGS and XORG_CFLAGS everywhere. 2005-07-02 18:59:44 +00:00
Adam Jackson e58c09d31b Bug #3687: Print backtraces on fatal signal on glibc systems. 2005-07-02 18:06:05 +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
Daniel Stone 303c281f95 Add auto-generated header files. 2005-07-01 21:15:20 +00:00
Daniel Stone ded56b1a74 Adding initial build system. 2005-07-01 20:29:53 +00:00
Egbert Eich bbbb0a3a84 Avoid segfaults if the number of user supplied monitor ranges exceed the
number of preallocated slots. We should really make this dynamic - but
    I don't think this ever caused a problem so it's more or less academic.
A. Avoid that *SyncStart starts before *BlankStart. If *BlankStart >
*SyncStart it is made = *SyncStart and its width is made maximal but such
    that the blank does not exceed *Total. Since the Sync width has the
    same restrictions as the Blank width monitors should still be able to
    clamp after the sync pulse. B. Over time mode validation has become
    inconsistent when people started to add additional features to the mode
    validation. One such feature is that the mode->Crtc* values have been
    (ab)used to allow the driver ValidMode() function to pass driver
    normalized timing values back to the validation function. The
    introduction of these features made the code less readable and created
    numerous possibly unintended side effects in the validation semantics.
    I've attempted to consolidate these changes making the code more
    consistent and eliminating a number of side effects. This should not
    cause problems for the majority of drivers, still it should receive
    testing - especially with ATi Mach64 and Radeon code. (Bugzilla #3325).
2005-05-18 10:31:53 +00:00
Eric Anholt d5739efd2c Port X.Org to FreeBSD/powerpc. This makes a bit of math for sysmouse in
mouse.c explicitly signed, avoiding the need for -fsigned-chars. (Peter
    Grehan, grehan at FreeBSD dot org)
2005-05-04 04:14:58 +00:00
Adam Jackson 16c2499b8f Bug #2373: SGI Altix platform support. (Shrijeet Mukherjee, Jesse Barnes,
Bjorn Helgaas, Egbert Eich.)
2005-04-22 16:49:22 +00:00
Daniel Stone 8565b6c0e2 Change xf86bigfont.h include to X11/extensions/xf86bigfont.h. 2005-04-21 00:31:31 +00:00
Daniel Stone b241c703a2 Change keymap.h includes to X11/keymap.h 2005-04-21 00:31:13 +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
Egbert Eich 7eb6b69ebd Support for HP's IPF ZX1 systems (Alex Williamson). 2005-04-04 09:55:25 +00:00
Egbert Eich 231c00e8fb When not using dlopen ia64 needs an extra cache flush to ensure the icache
is coherent when modules are loaded (Alex Williamson).
2005-04-04 09:47:07 +00:00
Alex Deucher cbccac448a - Add new Radeon pci ids (ATI devrel), bug 2827 2005-03-31 23:18:10 +00:00
Michel Daenzer 64f1b3fe7e Add support for production version of ATI RN50/ES1000. (ATI Technologies
Inc.)
2005-03-18 22:36:47 +00:00
Egbert Eich 04ccba4d40 Don't fail calling function when DriverFunc() for RandR fails as
DriverFunc() also returns FALSE when the specific sub function isn't
    supported. In the case of xf86RandRGetInfo() we simply rely on what has
    been set before and return TRUE. In the case of xf86RandRSetConfig() we
    only bail with FALSE if we have to do a rotation and the call fails. We
    presently cannot do rotation on the fly without the help of a driver
    function (Bugzilla #2745).
2005-03-16 12:16:06 +00:00
Roland Mainz 602209990d //bugs.freedesktop.org/show_bug.cgi?id=2543) attachment #2019
(https://bugs.freedesktop.org/attachment.cgi?id=2019): Fix
    |xf86SignalHandler()| which resets the signal handler before setting
    the flag indicating a signal has been caught, theoretically allowing
    the possibility of infinite recursion. Patch by Andrew Church
    <xzilla@achurch.org>.
2005-03-05 20:47:12 +00:00
Michel Daenzer 535c178286 Bug #2576: Add support for ATI RN50/ES1000. (ATI Technologies Inc.) 2005-02-18 19:55:35 +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
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
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
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