Commit Graph

1105 Commits

Author SHA1 Message Date
Eric Anholt
dfb5da93bc Turn on DRI by default on Linux, NetBSD, FreeBSD, and fix the build of the
module for FreeBSD by setting some missing defines (XFree86Module,
    IN_MODULE) in the dri directory. Note that those missing defines should
    be somewhere generic, since there are other consumers of them, but I
    haven't figured out where.
2005-09-13 20:59:05 +00:00
Eric Anholt
12fbcfefe6 Add some initial BSD support for the xorg server. Incomplete on NetBSD,
OpenBSD, and non-i386/amd64 FreeBSD for sure. Plus I haven't actually
    run it yet.
2005-09-13 18:37:35 +00:00
Eric Anholt
133edff1b4 Don't define POSIX_SOURCE on any BSDs, since it breaks things.
Define NO_SYS_HEADERS, as the monolithic build does. Helps FreeBSD.
Don't include validate.c in the library, since it seems to be a userland
    test program.
2005-09-13 05:44:47 +00:00
Daniel Stone
c3d6799cee Bug #594: CAN-2005-2495: Fix exploitable integer overflow in pixmap
creation, where we could create a far smaller pixmap than we thought,
    allowing changes to arbitrary chunks of memory. (Søren Sandmann
    Pedersen)
2005-09-13 01:33:19 +00:00
Adam Jackson
b290884719 Bug #3284: Make the DRI lock reference count per-screen. 2005-09-13 00:44:52 +00:00
Eric Anholt
b0f6fe1f38 Add some optional (disabled) fallback debugging code to the async code, for
better tracking of when we're hitting software.
2005-09-11 21:38:41 +00:00
Eric Anholt
1c003ccf5d Add a pair of hooks, PrepareAccess() and FinishAccess(), which get called
around CPU access to the framebuffer. This allows the hardware to set
    up swappers to deal with endianness, or to tell EXA to move the pixmap
    out to framebuffer if insufficient swappers are available (note: must
    not fail on front buffer!).
Submitted by: benh
2005-09-11 19:08:10 +00:00
Adam Jackson
ca210830bd Simplify life for EXA drivers by reducing some {Con,Dis}joint ops. 2005-09-11 18:43:55 +00:00
Eric Anholt
2f9d01c968 Remove some references to mfb/cfb support that is no longer there. 2005-09-08 01:15:47 +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
Jesse Barnes
733a6d7a26 Add EXA driver writer documentation for the benefit of future generations
of X hackers.
2005-09-03 02:21:36 +00:00
Daniel Stone
94fbdb5c6d Make RGB_PATH configurable.
Move I2C modules back to $(moduledir)/multimedia.
2005-09-01 14:56:35 +00:00
Alan Coopersmith
9d3b5e89d6 Save keyboard LED state on startup and restore on exit so text console mode
LEDs match text console mode state. Move push of streams module earlier
    so it's loaded before we start using kbd ioctls provided by the streams
    module.
2005-08-30 22:34:14 +00:00
Kristian Høgsberg
fa6fbd018d Use the $(moduledir) makefile variable instead of @moduledir@ so it can be
overridden at make install time.
Remove driverdir and inputdir from pkg-config file. The directory layout of
    moduledir is fixed and well known by drivers.
2005-08-30 22:31:52 +00:00
Alan Hourihane
b4f4bf028a programs/Xserver/hw/xwin/winmultiwindowshape.c Fix off by one error (Colin
Harrison)
2005-08-30 19:51:59 +00:00
Adam Jackson
0e50af8b7f typo fix 2005-08-30 19:35:06 +00:00
Eric Anholt
0c74799af4 Remove existing broken maxX/maxY code for composite (results in infinite
loops, doesn't deal with failure, doesn't present the interface to
    drivers that I expected) and instead replace it with a simple fallback
    to software when coordinate limits could be violated. Act similarly in
    other acceleration cases as well.
The solution I want to see (and intend to do soon) is to (when necessary)
    create temporary pictures/pixmaps pointing towards the real ones' bits,
    with the offsets adjusted, then render from/to those using adjusted
    coordinates.
2005-08-30 04:41:04 +00:00
Adam Jackson
0926cf79c0 Add diagnostic messages for exaDriverInit failure cases. 2005-08-26 20:21:57 +00:00
Adam Jackson
5ffff7cb86 Bug #4160: Fix Altix kernel version check. 2005-08-26 20:08:09 +00:00
Daniel Stone
6b0cdc5dd9 Change use of dix-config.h to xorg-config.h. 2005-08-26 16:46:41 +00:00
Daniel Stone
9d1b349b37 Back out previous change until I figure out something smarter. 2005-08-26 16:34:55 +00:00
Daniel Stone
3075df24e7 Subvert SIGUSR2 to reload all input devices. (Ubuntu #020) 2005-08-26 07:35:55 +00:00
Daniel Stone
89c84575ea Undo rate/period change after function body, so the damage doesn't leak
into other functions. (Debian #050)
2005-08-26 07:24:21 +00:00
Daniel Stone
bb5e934df7 Only open /proc/bus/pci/devices once. (Ubuntu #029) 2005-08-26 07:15:04 +00:00
Daniel Stone
c937faadd0 Better error message on failure to set iopl. (Debian #021) 2005-08-26 06:48:24 +00:00
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
Alan Coopersmith
c582560c62 Add partial in*/out* assembly support for Sun compilers on x86 2005-07-14 02:59:34 +00:00
Adam Jackson
64bf3a81a3 loadable extmod build system. 2005-07-14 02:53:31 +00:00
Adam Jackson
6c96e0c9e4 loader support for extmod 2005-07-14 01:36:58 +00:00
Alan Coopersmith
8ea4a1b759 First pass at Solaris os-support 2005-07-14 01:00:39 +00:00
Søren Sandmann Pedersen
f07e905553 - Add build system for xf86-video-ati
- Add build system for xserver/xorg/hw/xfree86/dri
- Add glcore.h to symlink.sh
- Symlink.sh: add some more DRI files, symlink glcore.h from
    extras/Mesa/include/GL/internal to proto/GL
- proto/GL/Makefile.am: install glcore.h
- xf86-video-ark: s/module-dir/xorg-module-dir/
2005-07-14 00:28:47 +00:00
Alan Coopersmith
939b7720f1 Merge SVR4/pre-Solaris 8 and Solaris 8+ sections for greater consistency,
easier maintenance, and to fix some missing headers when building the
    modular Xorg on Solaris.
2005-07-14 00:02:05 +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
db8aa17f15 updated comment for libbitmap 2005-07-13 22:19:36 +00:00
Adam Jackson
4f9e76ed6a Dear libtool: Loadable modules do not need version numbers. kthnxbye. 2005-07-13 22:09:52 +00:00
Adam Jackson
40ad7321f5 Generate useful loadable modules by actually linking in the blobs from the
DIX
2005-07-13 21:52:51 +00:00
Kevin E Martin
c2ec9fbb15 Only build Xi/stubs.c on DDXs that don't support the Xinput extension 2005-07-13 21:17:53 +00:00
Søren Sandmann Pedersen
74a534f63c xc/programs/Xserver/hw/xfree86/drivers/i2c/*.c: include xorg-config.h
instead of config.h xserver/xorg/hw/xfree86/i2c/Makefile.am: Add i2c
    drivers
2005-07-13 20:19:38 +00:00
Daniel Stone
66bc36473c Use builddir, not srcdir, for built files. 2005-07-12 23:36:27 +00:00
Alan Coopersmith
d6808a48d2 Fix scanpci -v core dump when subsys vendor/device id's are NOVENDOR &
NODEVICE. Bug #3763 <https://bugs.freedesktop.org/show_bug.cgi?id=3763>
    Patch #3074 <https://bugs.freedesktop.org/attachment.cgi?id=3074>
2005-07-12 18:16:03 +00:00
Lars Knoll
cda9c7b267 add x86emu. 2005-07-12 14:50:10 +00:00
Kevin E Martin
02427d4d04 Add support for building Xdmx and Xvfb 2005-07-12 01:20:36 +00:00
Kevin E Martin
e348ac4b4d Prepare Xdmx and Xvfb for modularization by adding appropriate #include
<{dix,dmx}-config.h> to the source files.
2005-07-12 00:52:48 +00:00
Kevin E Martin
b7a9a6a035 Remove unneeded xf86drm.h includes to fix modular build. 2005-07-11 17:52:00 +00:00
Adam Jackson
cf4dfd650d Prep for modular builds by adding guarded #include "config.h" everywhere. 2005-07-11 02:29:50 +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
78fab90230 Bug #3740 <https://bugs.freedesktop.org/show_bug.cgi?id=3740> Patch #3058
<https://bugs.freedesktop.org/attachment.cgi?id=3058>
08-Jul-2005 nv driver updates from Mark Vojkovich:
Change some console restore code for NV11. Hopefully, we can more reliably
    restore the console for desktop systems using DVI. This may correct a
    recent regression on NV11.
Also, new PCI IDs.
Add new nVidia PCI ids to match nv_driver.c changes.
2005-07-09 16:51:58 +00:00
Zack Rusin
3c92389185 Patch from Thomas Winischhofer to kick out all pixmaps to system ram upon a
VT switch and vice versa when returning.
2005-07-09 14:15:35 +00:00
Adam Jackson
327741486e Don't try to link fb, shadow, or vgahw into the loadable Xorg server, as
they're only supposed to be loadable modules.
2005-07-09 02:22:29 +00:00
Adam Jackson
2b8e4db9ac -lXfont isn't enough for libbitmap, you need to get the -L from pkg-config 2005-07-08 20:27:30 +00:00
Zack Rusin
e84648df7d mark drawable as dirty on copying/painting windows 2005-07-08 17:07:52 +00:00
Zack Rusin
4ab73a73f4 heh, oops (thanks Thomas) 2005-07-08 07:43:00 +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
Zack Rusin
d0dc574adb Check vtSema before accelerating primitives and sync in fallbacks only if
we got vtSema
2005-07-07 15:05:02 +00:00
Alan Coopersmith
7da3f4a786 Bug #2901 <https://bugs.freedesktop.org/show_bug.cgi?id=2901> Fix warnings
about redefined macros (Peter Breitenlohner)
2005-07-07 03:12:40 +00:00
Damien Ciabrini
4047191124 Added hardware support for transformation matrix (zoom, rotation, etc...).
Fixed the composition function for RGB and A8 format. Avoid syncing
    hardware after HW fills or copies.
2005-07-06 15:34:22 +00:00
Alan Hourihane
4073f24c90 add missing PictureTransformPoint3d call 2005-07-06 15:14:30 +00:00
Damien Ciabrini
c48f631cdb Fix offset alignment code in the offscreen memory allocator to prevent
textures from being allocated in the next free memory area.
2005-07-06 13:57:41 +00:00
Alexander Gottwald
71ed3ae0c6 wrap fInternalWM with XWIN_MULTIWINDOWEXTWM 2005-07-05 22:58:29 +00:00
Alan Coopersmith
456844a613 Remove Speedo font module documentation.
Remove Speedo from list of font directories
Update default font path to remove Speedo, add TTF.
2005-07-05 18:42:32 +00:00
Alexander Gottwald
20c15003f9 Fix crash on server shutdown 2005-07-05 18:25:44 +00:00
Alexander Gottwald
d72fef26d4 Fix simultanious presses of Left and Right Control and Shift keys.
https://bugs.freedesktop.org/show_bug.cgi?id=3677
2005-07-05 17:52:35 +00:00
Alexander Gottwald
0f2c8221c9 Fix typo which broke window titles 2005-07-05 16:35:42 +00:00
Alexander Gottwald
0bb2eb8eaa Fix problem with fake Control press on Alt-Gr
https://bugs.freedesktop.org/show_bug.cgi?id=3680
    https://bugs.freedesktop.org/show_bug.cgi?id=3497
Fix static declaration of winGetBaseDir
2005-07-05 15:43:20 +00:00
Alexander Gottwald
3af77ad3e7 External windowmanagers could connect in multiwindow mode which lead to
strange results with the internal windowmanager.
2005-07-05 14:09:48 +00:00
Alexander Gottwald
426282268b Build miinitext.c and fbcmap.c as DDX specific files
Do not define _POSIX_SOURCE on cygwin.
2005-07-04 23:40:09 +00:00
Alexander Gottwald
048045a9e7 Add XWin DDX, make Xorg DDX conditional Make XF86VidMode and XF86Misc
conditional
Add XWin DDX
Added DDXTIME, DDXOSFATALERROR, DDXOSVERRORF and DDXBEFORERESET
Added fbcmap.c
Added miinitext.c
Added -I$(top_srcdir)/Xext/extmod to INCLUDES
2005-07-04 22:18:40 +00:00
Alexander Gottwald
508cdb5cb0 Include xwin-config.h if HAVE_XWIN_CONFIG is defined Cleanup X11 includes
handling Warning fixes
2005-07-04 22:10:43 +00:00
Zack Rusin
5e50ae22bf remove the temporary debugging output 2005-07-04 18:55:53 +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
Zack Rusin
e34f31762e This fixes the close screen mess (crash reported by Thomas). Also hide the
private Exa screen definition. Properly cleanup on screen close and do
    not delete the private screen in the DriverFini call.
2005-07-04 14:15:57 +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
c1e69798ad Add explicit PSZ defines, remove unnecessary dix-config.h include.
Add -DXF86PM, forgotten from last commit.
2005-07-03 12:15:16 +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
Adam Jackson
e6602b041f Bug #3546: Use MAP_LENGTH instead of a magic number. (Mark McLoughlin) Bug
#3664: Further fixes to Xnest modifier state handling. (Mark
    McLoughlin)
2005-07-02 17:02:23 +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
7ecc2d526c Remove fbcmap.c hacks from the DIX. 2005-07-01 21:12:24 +00:00
Daniel Stone
6251f9c00a Minor build system tweaks. 2005-07-01 21:11:16 +00:00
Daniel Stone
ded56b1a74 Adding initial build system. 2005-07-01 20:29:53 +00:00
Zack Rusin
aabb868920 removing all debugging output from the default build :) 2005-07-01 13:30:29 +00:00
Zack Rusin
0fa9d1fb48 Leave debugging output for only the interested parties. 2005-07-01 12:24:30 +00:00
Zack Rusin
0df446ab88 Missed this. Spotted by Thomas. 2005-07-01 10:39:21 +00:00
Lars Knoll
b5b2a0522e Add support for gradients and solid fills to Render.
Changed the semantics of the Convolution filter a bit. It now doesn't try
    to normalize the filter values but leaves this to the client. This
    gives more reasonable behaviour in the limit where the filter
    parameters sum up to 0.
2005-07-01 10:05:43 +00:00
Zack Rusin
30c019e847 Adding the new acceleration architecture: Exa. It's meant to replace XAA in
the coming months.
2005-07-01 08:56:12 +00:00
David Reveman
276821605e Fix return values in Xgl render texture implementation 2005-07-01 03:14:54 +00:00
Alex Deucher
5e381441ff - Fix Support for Philips FM1236/F tuner on ATI AIW 9600 XT (Jeff Smith)
Bug 3401
2005-07-01 02:56:04 +00:00
Alexander Gottwald
1230c55ac3 Pass serverClient instead of NULL to ConfigureWindow. This should fix a
crash reported by Øyvind Harboe
2005-06-30 18:50:20 +00:00
Matthew Allum
0929f79c1b Another Xephyr focus/modifier fix 2005-06-30 13:39:00 +00:00
Lars Knoll
b6c7afe0b9 compile 2005-06-29 15:19:14 +00:00
Lars Knoll
d8a98454e3 Add support for gradients and solid fills to Render.
Changed the semantics of the Convolution filter a bit. It now doesn't try
    to normalize the filter values but leaves this to the client. This
    gives more reasonable behaviour in the limit where the filter
    parameters sum up to 0.
2005-06-29 11:57:16 +00:00
Adam Jackson
ce0e11aeac Bug #2447: Fix argument order to xf86DrvMsgVerb. (Luc Verhaegen) 2005-06-28 21:05:31 +00:00
Alan Coopersmith
5ef5aec9bb Update to latest snapshot (27-May-2005) from http://pciids.sf.net/ 2005-06-28 02:04:54 +00:00