Commit Graph

980 Commits

Author SHA1 Message Date
Daniel Stone 6d34a2ac8a Add Xv symbol from Xext. 2005-08-26 06:35:00 +00:00
Daniel Stone b8f0d4c3eb Spit out an error when there is no valid FB device, instead of just failing
silently. (Debian #070)
2005-08-26 06:29:15 +00:00
Daniel Stone b48a24e796 Don't assume that all sun4m CPUs support muldiv; the Cypress CPU, which
implements the 4m MMU but only v7 instructions, does not. (Debian
    #100).
2005-08-26 06:23:41 +00:00
Daniel Stone fd158d3d52 Get prototype for ntohl from SuSv3-compliant location, fixing it for
systems which define ntohl as a macro only, not both macro and
    function. (Debian #076)
2005-08-26 05:49:44 +00:00
Daniel Stone 53e489c0e3 Work around ATI expansion ROM problem on IA64 caused by prototype HP
McKinley systems. (Bdale Garbee)
2005-08-26 05:47:36 +00:00
Daniel Stone 40374d1149 Accept 'Enabled' and 'Disabled' for Extensions section (Ubuntu #990) 2005-08-26 05:00:07 +00:00
Søren Sandmann Pedersen 54cc45b09b Thu Aug 25 17:15:01 2005 Søren Sandmann <sandmann@redhat.com>
Add all the drivers to the module_LTLIBRARIES instead of having separate
    variables for them. Pointed out by Kristian Høgsberg.
2005-08-25 21:22:41 +00:00
Kristian Høgsberg ff22adc097 Remove sun_inout.s so make dist works (discussed with Alan Coopersmith). 2005-08-25 14:19:43 +00:00
Alan Coopersmith 344a24b622 Use system curses library on Solaris for xorgcfg text mode. 2005-08-25 04:09:45 +00:00
Eric Anholt 0711502f18 Bugzilla #4226: Change the pixmap migration strategy for the CopyNtoN case.
Now, if either source or dest were in framebuffer, try to get both
    there, but prefer system memory for both otherwise. Required making
    exaasync.c go through the try-acceleration path. This significantly
    improves window resizing under composite, because previously the
    pattern of creating a new pixmap and copying default contents from the
    screen caused a fallback every time due to the new destination pixmap
    being in system memory.
2005-08-24 23:48:11 +00:00
Eric Anholt 2261710fe0 Fix a bug where NULL could be dereferenced during the pixmap kick-out
process by referencing the correct offscreen area. Also drive-by the
    comments related to these for clarity.
2005-08-24 23:38:25 +00:00
Eric Anholt 55c5c6953a Bugzilla #4090: Introduce getters for pixmap pitch and offset, to
simplify/clarify it for driver writers who probably don't want to know
    what pPixmap->devPrivate.ptr or pPixmap->devKind mean. Converts the sis
    driver to use them, and bumps the EXA module minor version.
2005-08-24 22:43:27 +00:00
Alan Coopersmith 079ad773e0 Fill in xf86DeallocateGARTMemory stub based on lnx_agp.c version. Add
include of xorg-config.h for modular builds
2005-08-24 22:37:15 +00:00
Eric Anholt 8fd250e5e4 Bugzilla #4089: Fix crashes in !EXA_OFFSCREEN_PIXMAPS case by not trying to
do migration when the EXA pixmap private is NULL.
2005-08-24 21:51:28 +00:00
Kristian Høgsberg 79dc5f3d5f Don't export non-standard symbols generated GCCs stack protection feature
(__guard, __stack_smash_handler).
2005-08-24 21:28:40 +00:00
Søren Sandmann Pedersen d2952de6e3 Wed Aug 24 15:39:07 2005 Søren Sandmann <sandmann@redhat.com>
Add GLX_{INC,LIBS} for xprint.
Add @DIX_FLAGS@ to AM_CFLAGS
2005-08-24 19:41:43 +00:00
Søren Sandmann Pedersen 81e708440c Wed Aug 24 15:29:50 2005 Søren Sandmann <sandmann@redhat.com>
Conditionally include dix-config.h
Conditionally include dix-config.h
2005-08-24 19:35:51 +00:00
Alan Coopersmith 9657e0e9de Don't try to build dmx/input/lnx-*.c if <linux/keyboard.h> isn't found
Don't try to build dmx/input/usb-*.c if <linux/input.h> isn't found
Replace -rdynamic with $(LD_EXPORT_SYMBOLS_FLAG) for compatibility with
    compilers other than gcc
2005-08-24 15:18:06 +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 9f498a37dd Display more friendly mouse protocol names. Enable mouse wheel mapping by
default.
2005-08-23 20:58:29 +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
Alan Coopersmith e848eb289c Rename app-defaults entries from xf86cfg to xorgcfg to match name passed to
XtAppInitialize. (Henry Zhao, Sun Microsystems) Also, display vendor
    version instead of 4.0 for server version.
2005-08-23 01:14:35 +00:00
Alan Coopersmith 6076fca825 User message cleanups/updates for modern configurations. 2005-08-23 00:32:27 +00:00
Kevin E Martin 4a19a33db6 bugzilla #2880 (https://bugs.freedesktop.org/show_bug.cgi?id=2880)
attachment #2987 (https://bugs.freedesktop.org/attachment.cgi?id=2987)
    Use system method to access PCI config space for inb and inw in
    addition to inl (Olivier Baudron and Kevin Martin).
2005-08-22 21:29:18 +00:00
Alan Hourihane 7693f668ef programs/Xserver/hw/xfree86/os-support/linux/lnx_acpi.c
programs/Xserver/hw/xfree86/os-support/linux/lnx_apm.c
programs/Xserver/hw/xfree86/os-support/linux/Imakefile Add basic ACPI Linux
    support so that events can be passed to the driver. (Alan Hourihane)
2005-08-22 12:05:18 +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
Daniel Stone 367f450739 Change xorg_bus_sbus to xorg_bus_sparc; build sparcPci.c on all SPARCs. 2005-08-21 08:43:46 +00:00
Daniel Stone 71b3fea94e Typo fix (SOURCE -> SOURCES). 2005-08-21 08:24:52 +00:00
Daniel Stone db2909ce76 Add test for SPARC. Build SparcMulDiv.S on all SPARCs.
Make the default font path configurable.
2005-08-21 06:56:19 +00:00
Adam Jackson d96e666686 Add sparcPci.c to EXTRA_DIST. 2005-08-20 18:52:07 +00:00
Daniel Stone a402c876a4 Make DRI/GLcore builds srcdir != builddir safe, and invoke symlink-mesa.sh
in our builddir, not our srcdir.
2005-08-20 18:11:17 +00:00
Daniel Stone abab3fd628 Make Xext linkage srcdir != builddir safe. 2005-08-20 18:09:21 +00:00
Daniel Stone bb1d99ee72 Build libxkbstubs.la to stub XKB DDX functions (e.g. VT switches), and
build libxorggxkb.la from within the Xorg DDX to replace the previous
    xf86VT.o, et al, hacks.
2005-08-20 18:07:59 +00:00
Alan Coopersmith a0366ddb8c Replace gnu-makeism with portable rules 2005-08-18 17:14:11 +00:00
Alan Coopersmith ea5c49cb17 //bugs.freedesktop.org/show_bug.cgi?id=2901> Patch #2331
<https://bugs.freedesktop.org/attachment.cgi?id=2331> Lines ending in
    <backslash><space> break with cpp from gcc >= 3.3 (Peter Breitenlohner)
2005-08-18 01:40:33 +00:00
Alan Coopersmith 22694500e0 Add xf86Sbus.h to EXTRA_DIST files (bugzilla #4128) 2005-08-17 23:20:27 +00:00
Søren Sandmann Pedersen ad7f2fc673 symlink.sh: Temporarily disable xkbdata, add type1mod.c
Tue Aug 16 12:09:09 2005 Søren Sandmann <sandmann@redhat.com>
Add ft and type1 modules.
2005-08-16 16:21:09 +00:00
Alan Coopersmith 24597a1ee2 2005-08-15 Alan Coopersmith <alan.coopersmith@sun.co>m
Convert sunPostKbdEvent to use xf86ProcessAction like xf86PostKbdEvent.
2005-08-16 00:40:25 +00:00
Alan Coopersmith b86282b764 Set ZAxisMapping default to "4 5 6 7". 2005-08-15 23:48:35 +00:00
Søren Sandmann Pedersen a6c8d0d71e Mon Aug 15 15:41:26 2005 Søren Sandmann <sandmann@redhat.com>
Link this module with libXext.la.
Mon Aug 15 14:56:57 2005 Søren Sandmann <sandmann@redhat.com>
Remove the xkb* files.
Add xkbVT.o and friends as the last things on the link line so they will
    override the symbols in libxkb.a. Add a comment on how this situation
    might not be considered ideal.
2005-08-15 19:42:48 +00:00
Søren Sandmann Pedersen 46aede552a Mon Aug 15 14:56:57 2005 Søren Sandmann <sandmann@redhat.com>
Remove the xkb* files.
Add xkbVT.o and friends as the last things on the link line so they will
    override the symbols in libxkb.a. Add a comment on how this situation
    might not be considered ideal.
2005-08-15 18:59:16 +00:00
Dave Airlie 809906a754 make mouse support work - note you need to change the evdev devices in the
source.. hacky...
2005-08-15 08:24:45 +00:00
Alan Hourihane fe5abff38e Egbert's 64bit fixes for mixed 32/64bit clients 2005-08-15 07:30:05 +00:00
Eric Anholt ebedc8bbb5 - Fix the exa pixmap offset/pitch alignment to deal with non-POT alignment
requirements. MGA, notably, uses a multiple of 3 in some cases.
- Rename the pixmap offset/pitch alignment fields to more clearly state
    their meaning.
2005-08-14 19:46:55 +00:00
Daniel Stone e3509c940f Don't link libXext, as it is linked in to the server also. 2005-08-14 16:24:30 +00:00
Daniel Stone 05071ae0fb Don't link in libx86emu.a as this a) fails badly on non-x86 systems, and b)
is done via x86emu.c including all the source files anyway.
2005-08-13 07:41:33 +00:00
Alan Coopersmith 1ffe9ceb2f Oops, forgot a file in earlier Solaris kbd commit 2005-08-13 06:15:35 +00:00
Alan Coopersmith c29051f9d1 Add LintTarget()
Bugzilla #1068 <https://bugs.freedesktop.org/show_bug.cgi?id=1068> Port
    Solaris keyboard code to work with kbd driver.
Also incorporated "audio bell" feature from Xsun keyboard DDX to play bell
    tones via /dev/audio (specified via Option "BellDevice" "/dev/audio" in
    keyboard device options).
2005-08-13 00:11:28 +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
Søren Sandmann Pedersen 13e16ee93a Thu Aug 11 11:43:32 2005 Søren Sandmann <sandmann@redhat.com>
Make sure we don't crash on glyphs with NULL bits. Bug 659.
2005-08-11 15:46:42 +00:00
Jon Smirl 73a335a926 Point xegl at the DRI driver 2005-08-09 16:51:05 +00:00
Jon Smirl 29d0ba9f06 Touchup xgl for modular tree 2005-08-09 15:58:20 +00:00
Alan Coopersmith 435e2a09de //bugs.freedesktop.org/show_bug.cgi?id=3950> Xorg prints version numbers in
wrong format for modules compiled for Xorg 6.99 & later (Adam Jackson &
    Alan Coopersmith)
2005-08-09 01:18:04 +00:00
Søren Sandmann Pedersen 5849c69db8 Mon Aug 8 13:39:45 2005 Søren Sandmann <sandmann@redhat.com>
Conditionally include xorg-config.h
2005-08-08 18:02:08 +00:00
Keith Packard a11ce76b06 Build with modular X.org libraries and headers.
composite/compwindow.c Don't damage unmoved windows. Let border clip reset
    leave damage alone, pending actual damage for painting.
2005-08-08 06:25:21 +00:00
Keith Packard 4dfc3357a7 Add autogenerated source files and other various non-CVS material to
.cvsignore files
Use XORG_CFLAGS. Ensure that all exa files are in SOURCES
remove _XOPEN_SOURCE as it's always in xtrans.pc these days and gcc whines
libdamage.la needs libcw.la when COMPOSITE is defined, but that
    libdamage.la must be after libcomposite.la, so add libcw.la to
    DAMAGE_LIB instead of EXTENSION_LIBS. Regularize library link order
    across all X servers
2005-08-08 00:38:41 +00:00
Chris Lee 3639fb2434 Enabling EXA by default in the modular build. 2005-08-06 23:56:18 +00:00
Chris Lee a16357ebc9 Last bits of changes to make exa build properly in the modular server. 2005-08-06 23:46:38 +00:00
Chris Lee cc67bd187f EXA support in the modular build. 2005-08-06 23:34:09 +00:00
Chris Lee 33326f4ee8 Adding exa support to the modular server. 2005-08-06 23:27:33 +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
Alan Coopersmith 9828a38ed6 Solaris build fixes needed for modular builds 2005-08-06 03:14:50 +00:00
Matthew Allum 4220a0c4cc Make Xephyr work without shadow fb 2005-08-05 09:08:32 +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 39a80312e0 - Bug #3960: Add remaining GLX and pci.ids stuff to DIST (Cha Young-Ho,
Olli Helenius)
- Fix some distcheck problems for non-solaris systems
- Change server version number from the Xorg rev to an independent one
- _POSIX_SOURCE and _XOPEN_SOURCE defined to the right values
2005-08-04 22:31:20 +00:00
Alan Coopersmith 13bec87f45 Fix inline assembly versions of in*/out* for Sun compilers Add check for
ancient USL console code on Solaris to allow building on old Solaris
    x86 versions
2005-08-04 02:39:56 +00:00
Alan Coopersmith d7c246f35b Only build ix86Pci.c on x86 & amd64 platforms Set DEFAULT_INT10 to x86emu
on everything but Linux/x86 Fix Sbus.c inclusion on sparc platforms
2005-08-02 23:57:52 +00:00
Keith Packard bb5258a21d Mark generated files as BUILT_SOURCES and CLEANFILES to ensure they are
regenerated after 'make clean' and to make parallel builds work right.
2005-08-02 17:57:36 +00:00
Keith Packard 0c608a690e Note yacc and lex generated files as BUILT_SOURCES so they are created
before anything is compiled; required for parallel builds
2005-08-02 06:48:20 +00:00
Adam Jackson d31de217e6 distcheck fixes 2005-08-02 03:36:09 +00:00
Alan Coopersmith 005a9cf1f5 Fix Solaris assembly source to work with libtool 2005-08-02 01:03:25 +00:00
Adam Jackson 2d7b1893be - Workaround for AS_HELP_STRING compatibility with older autoconf.
- New intermediate build target for Xorg server
- ia64 fixes
2005-08-02 00:41:07 +00:00
Adam Jackson b7a43fa0f1 Bug #3739: Fail soft on unknown extension string. 2005-08-01 19:00:21 +00:00
Alan Coopersmith fd84b3b562 Clear compiler warnings. (Stefan Dirsch) 2005-07-30 18:56:32 +00:00
Kevin E Martin 2654f88cee Fix code to handle printing 7.0 release candidates properly. 2005-07-29 18:40:54 +00:00
Kevin E Martin 86529c07d6 Fix distcheck for server 2005-07-28 23:28:34 +00:00
Alan Coopersmith 3e4bf8a8f4 Rework wrapping of common mouse driver to not require mousePriv.h, so that
modular tree xserver can be built on Solaris. Wrap more ioctls in
    SYSCALL() to restart on signals.
2005-07-28 02:38:23 +00:00
Kevin E Martin 7bd6b0640e Add #include <dmx-config.h> for building dmx/glxProxy in the modular tree. 2005-07-27 08:16:35 +00:00
Kevin E Martin b9ccd89918 Fix dmx/glxProxy build 2005-07-27 08:11:26 +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
Søren Sandmann Pedersen b25e6f82a1 fb/Makefile.am: add fbpseudocolor.h to sdk_HEADERS
hw/xfree86/xaa/Makefile.am: add xaaWrapper.h to sdk_HEADERS
2005-07-26 18:21:22 +00:00
Alan Coopersmith e7502158d6 Add xf86DeallocateGARTMemory stub so that Xorg can be built on Solaris
again.
2005-07-24 16:24:17 +00:00
Stuart R. Anderson a5532e456d Change the default depth back to 8 like it was originally. Disable the
addition of depth 12 & 30. It causes more than MAXFORMATS depths to be
    added to the screen which causes an array in the Screen structure to
    overflow and crash on server reset.
2005-07-23 18:16:06 +00:00
Alan Hourihane bf32f4739c programs/Xserver/hw/xfree86/os-support/shared/agp_noop.c
programs/Xserver/hw/xfree86/os-support/linux/lnx_agp.c
programs/Xserver/hw/xfree86/os-support/xf86_OSproc.h
//bugs.freedesktop.org/show_bug.cgi?id=3164> Add xf86DeallocateGARTMemory()
    function call (Austin Yuan)
2005-07-19 20:51:46 +00:00
Alan Coopersmith 931abdba84 Change #include "X.h" to <X11/X.h> 2005-07-19 02:50:00 +00:00
Daniel Stone 4f2e731aba objdir != srcdir fixes. 2005-07-17 07:34:31 +00:00
Adam Jackson d69e9872ae Typo fix, and re-add GLcore to the dixmods build 2005-07-16 16:29:30 +00:00
Alan Coopersmith 8bc883c48c Update build instructions. Add details about how the expat, fontconfig,
libpng, freetype, and xterm builds are now handled.
Update text docs from SGML masters.
2005-07-16 09:00:44 +00:00
Alan Coopersmith 8e600b8764 Only pass -rdynamic when using gcc 2005-07-16 07:39:48 +00:00
Kevin E Martin 5f81eb1d89 Fix the *-config.h includes so that it is possible to build modules without
having to use -include in the Makefile.
2005-07-16 03:49:59 +00:00
Kevin E Martin 0635acab08 Add record module building support Change module building to not use
-include Fix xnest, dmx and vfb builds to -DXFree86Server for fbcmap
    compilation
2005-07-16 03:46:01 +00:00
Alan Coopersmith 92b23ff426 Update to match recent changes to pci.ids & extrapci.ids for people
building on systems without perl.
2005-07-16 01:17:52 +00:00
Kevin E Martin 2f0487521d Fix the *-config.h includes for the files that have moved in the modular
tree.
2005-07-15 23:08:31 +00:00
Kevin E Martin a407fa373b Move drm up to os-support since the files are shared by multiple platforms.
Fix the dri and drm build. Fix server-side DMX extension build. Make
    xf4bpp use the correct version of mfbline.c for mfbseg.c. Add #ifndef
    _HEADERNAME_H_/#define _HEADERNAME_H_/.../#endif to the headers.
2005-07-15 22:51:05 +00:00
Adam Jackson 0e352a8b2b disable GLcore momentarily until a build system exists. --enable-glx should
work now.
2005-07-15 21:59:39 +00:00
Kevin E Martin defeb56fc9 Fix the build when DRI is enabled 2005-07-14 22:20:16 +00:00
Kevin E Martin 6b546d0ec0 Add #include <xnest-config.h> to the Xnest source files for modularization. 2005-07-14 03:36:44 +00:00
Kevin E Martin 7375f4d136 Add support for Xnest 2005-07-14 03:32:09 +00:00