Commit Graph

220 Commits

Author SHA1 Message Date
Daniel Stone
ecb7d43a76 add sym.h to sources 2006-07-30 11:52:41 +03:00
Daniel Stone
87fe85f38b Merge branch 'master' of git+ssh://git.freedesktop.org/git/xorg/xserver into input-hotplug 2006-07-30 10:51:34 +03:00
Luc Verhaegen
79016d4036 Bug #5386 (partial): Move CVT mode generator from cvt(1) to server core, and
export it from the X server to modules.
2006-07-28 16:02:02 -04:00
Adam Jackson
2a4ceb09ed Remove dead function prototypes. 2006-07-26 19:39:17 -04:00
Ian Romanick
380b51d605 Merge branch 'master' of git+ssh://git.freedesktop.org/git/xorg/xserver into pci-rework
Conflicts:

	hw/xfree86/common/xf86Init.c
	hw/xfree86/int10/pci.c
	hw/xfree86/scanpci/xf86PciData.h
	hw/xfree86/scanpci/xf86PciStdIds.h
	hw/xfree86/scanpci/xf86PciStr.h
	hw/xfree86/scanpci/xf86ScanPci.h
	hw/xfree86/utils/pcitweak/pcitweak.c
	hw/xfree86/utils/scanpci/scanpci.c

Re-removed most of the conflicting files.
2006-07-25 11:30:04 -07:00
Ian Romanick
2fd6b995ff Global s/xf86MapDomainIO/xf86MapLegacyIO/. Let's call a duck a duck,
okay?  Since xf86MapLegacyIO is called from only one place, cut the
parameter list down to the one parameter that actually conveys some
information:  the one that gives a PCI device.  Change from using a
PCITAG to a pci_device.
2006-07-24 13:33:34 -07:00
Daniel Stone
a73cef1f00 Merge branch 'master' of git+ssh://git.freedesktop.org/git/xorg/xserver into input-hotplug 2006-07-22 12:07:22 -04:00
Adam Jackson
70869fc677 Yet more dead code. 2006-07-21 23:39:37 -04:00
Adam Jackson
1c4f90b1d0 Open-coded path checks make baby Jesus cry. 2006-07-21 23:03:21 -04:00
Adam Jackson
114264584c Remove a useless open() of the module we're about to load. 2006-07-21 22:55:41 -04:00
Daniel Stone
672ca156bf Merge branch 'master' of git+ssh://git.freedesktop.org/git/xorg/xserver into input-hotplug 2006-07-21 19:58:42 -04:00
Daniel Stone
6cf844ab69 loader: walk directory paths with readdir(), don't stat() everything
Walk the directories with readdir, and don't stat everything we can
find.  Thanks to davej for the public humiliation reminding me to go back
and re-fix this one.
2006-07-21 19:58:15 -04:00
Daniel Stone
d14d91f094 loader: walk directory paths with readdir(), don't stat() everything
Walk the directories with readdir, and don't stat everything we can
find.  Thanks to davej for the public humiliation reminding me to go back
and re-fix this one.
2006-07-21 19:57:28 -04:00
Adam Jackson
bca9364f3f Remove the loader's required and referenced symbol lists, dead code. 2006-07-21 18:41:46 -04:00
Ian Romanick
07ad92d2c4 Merge branch 'master' of git+ssh://git.freedesktop.org/git/xorg/xserver into pci-rework
Conflicts:

	hw/xfree86/common/xf86DoScanPci.c
	hw/xfree86/common/xf86Init.c
	hw/xfree86/common/xf86pciBus.c
2006-07-21 15:25:35 -07:00
Kristian Høgsberg
3eeb62e8f5 bug #890: completely remove deprecated keyboard driver
Remove all remnants of the old built-in keyboard driver.
2006-07-21 16:33:28 -04:00
Daniel Stone
60ea7b51fe xorg ddx: move to new input API, remove old keyboard driver
Remove most of the rest of the old keyboard driver.
Move to the new Get{Keyboard,Pointer}Events API, which is mostly
complete at this stage: just missing the proximity events.
2006-07-21 15:23:37 -04:00
Daniel Stone
84683f19b4 get rid of XFree86LOADER, XFree86Server, XFree86Module, and IN_MODULE
Get rid of almost all uses of these definitions.  They're still defined for
delinquent out-of-tree drivers, and also for the Mesa build.  As well as
for miinitext.c.  But largely gone.
2006-07-18 18:17:38 -04:00
Ian Romanick
37838de62e Merge branch 'master' of git+ssh://git.freedesktop.org/git/xorg/xserver into pci-rework
Conflicts:

	hw/xfree86/os-support/bus/linuxPci.c
2006-07-06 13:01:57 -07:00
Adam Jackson
704e645207 Remind dlloader that it needs to search the global scope as well as the
loaded modules.  Fixes LoaderSymbol() on symbols provided by the server.
Spotted by Aaron Plattner.
2006-07-06 14:22:33 -04:00
Ian Romanick
7c4e540253 Merge branch 'master' of git+ssh://git.freedesktop.org/git/xorg/xserver into pci-rework 2006-06-26 14:39:44 -07:00
Eric Anholt
bc6cfde198 Use correct OSNAME setting so we can find os-specific modules like libdrm. 2006-06-23 20:07:34 -07:00
Ian Romanick
9d0a15dca5 Merge branch 'master' of git+ssh://git.freedesktop.org/git/xorg/xserver
Conflicts:

	hw/xfree86/loader/xf86sym.c
2006-06-22 16:21:10 -07:00
Alan Coopersmith
c0cb8d1fb8 Use XACE, not XCSECURITY to decide if SecurityLookup* are exported 2006-06-21 18:12:41 -07:00
Adam Jackson
d8135eb9e4 Unbreak unbreaking the loader. Re-add the symbol reference lists so that the
linker will include everything it's supposed to.  This is a terrible solution,
but ld semantics don't let you do anything better.
2006-06-21 20:49:21 -04:00
Ian Romanick
75398cff82 Merge branch 'master' of git+ssh://git.freedesktop.org/git/xorg/xserver
Conflicts:

	hw/xfree86/loader/Makefile.am
	hw/xfree86/loader/xf86sym.c
2006-06-20 15:49:47 -07:00
Adam Jackson
a28652f9c3 Another round of loader sense-beating. Remove the (unused) server export
lists, a really bad hash table, the last vestiges of the other backends,
and some miscellaneous cleanups.  Good for dropping 300k from the size of
the built server on x86.
2006-06-19 00:57:18 -04:00
Ian Romanick
7810d87cd6 Merge branch 'master' of git+ssh://git.freedesktop.org/git/xorg/xserver 2006-06-09 15:16:50 -07:00
Greg Kroah-Hartman
9f31ef83be fix compiler warning in hw/xfree86/loader/loaderProcs.h 2006-06-09 10:44:46 -07:00
Greg Kroah-Hartman
490ffc205a fix compiler warning in hw/xfree86/loader/loadmod.c 2006-06-09 10:44:25 -07:00
Ian Romanick
bc05158a5a Merge branch 'master' of git+ssh://git.freedesktop.org/git/xorg/xserver 2006-06-07 14:09:12 -07:00
Ian Romanick
46f55f5dea Initial batch of changes for PCI rework. All future changes will be
tracked individually.
2006-06-07 14:09:02 -07:00
Adam Jackson
21ebcfd702 Demolish now-unused loader functions. 2006-06-07 14:17:31 -04:00
Adam Jackson
d22582dc5a Remove a stray LBX reference. 2006-06-04 16:13:26 +00:00
Daniel Stone
cd384af305 Completely remove relocation pointer table. 2006-06-03 10:50:23 +00:00
Daniel Stone
97203f1cf6 Clean up a warning, and remove excess multiple-suffix code. 2006-06-01 20:41:21 +00:00
Daniel Stone
6d594ebc66 Ditch more alternate-loader braindamage. 2006-06-01 20:22:39 +00:00
Daniel Stone
c946817748 Kill a.out, COFF and ELF loaders with FIRE. 2006-06-01 20:18:30 +00:00
Daniel Stone
2892dd6d2e Make Xv symbols conditional. (Enrico Wiegelt) 2006-05-17 16:20:03 +00:00
Matthieu Herrb
a715634d23 Don't access free memory after unloading a module. Bugzilla #4168. 2006-04-23 13:14:50 +00:00
Aaron Plattner
bd283c2464 Add a new export, LoaderGetABIVersion. This function allows modules to
query the versions directly instead of having to guess. Bug #6416: Add
    LoaderGetABIVersion.
2006-03-28 07:21:50 +00:00
Adam Jackson
a68c11bb1d Mark everything in xf86sym.c as _X_EXPORT. 2006-03-25 19:52:05 +00:00
Fredrik Höglund
ae935832fa Refactored the screensaver and DPMS timer code to use the screensaver timer
for both screensaver and DPMS. Removed the SetDPMSTimers() and
    FreeDPMSTimers() functions.
2006-03-24 20:50:13 +00:00
Adam Jackson
460f2ea4a5 Coverity #794: Fix a highly unlikely memory leak. 2006-03-15 16:21:04 +00:00
Adam Jackson
116d158e85 Coverity #269: Compare the requested ABI class against the ABI class of the
module, not the module class.
2006-03-15 16:16:24 +00:00
Adam Jackson
d8221a9b70 Coverity #484: Fix an off-by-one in module refcounting. 2006-03-15 16:11:34 +00:00
Adam Jackson
1e5c0842af Coverity #1053: Nuke a dead variable. 2006-03-15 15:34:57 +00:00
Kristian Høgsberg
c3342c8000 Merge accel_indirect branch to HEAD. 2006-03-12 00:11:34 +00:00
Ian Romanick
2e6f801fe1 Numerous amounts refactoring and comment adding (see ChangeLog for file by
file details). The primary intention for these changes is to pave the
    way for the new device probing and PCI configuration code that I'm
    working on.
2006-03-07 23:58:22 +00:00
Zephaniah E. Hull
c4767794ef Export xf86ActivateDevice, used by the evdev driver. 2006-02-16 01:03:09 +00:00
Adam Jackson
53dbd00a75 Remove remaining #ifdef DPSEXT stanzas. 2006-01-08 23:43:54 +00:00
Adam Jackson
39ce5f1544 Remove unused X11R4 DDX compatibility function miClipNotify. 2006-01-06 17:05:26 +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
5390c7ab05 See ChangeLog entry 2005-11-07 for details. 2005-11-08 06:33:30 +00:00
Thomas Winischhofer
c818d3a1a5 Add xf86RandRSetNewVirtualAndDimensions to loader symlist 2005-10-30 09:27:06 +00:00
Adam Jackson
4ebd26f04b Bug #3196: Fix Load foo.so syntax. 2005-10-19 22:36:22 +00:00
Aaron Plattner
fb282ef43a Add miext/damage so misym.c can export DamageDamageRegion. 2005-10-18 04:03:01 +00:00
Aaron Plattner
959db6028d Export DamageDamageRegion. Not bumping the ABI version since we did that
already for this release.
2005-10-18 04:02:31 +00:00
Thomas Winischhofer
b4450f3242 Add DGAReInitModes, Part 2 2005-10-11 19:03:02 +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
Aaron Plattner
89a1a91b88 Add miext/cw to the module loader include path so that misym.c can export
miDisableCompositeWrapper.
2005-10-04 07:42:21 +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
Aaron Plattner
ca57db6fc1 Export miDisableCompositeWrapper. 2005-10-04 04:30:33 +00:00
Matthieu Herrb
54b2a14f0f Bug #3411: fix handling of keyboard Autorepeat rate in xorg.conf. 2005-10-01 17:30:58 +00:00
Eric Anholt
0888ad3874 Build xf8_32bpp, which is wanted by the mga driver, and export elf.h, which
is wanted by the rendition driver.
2005-09-14 07:49:22 +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
6d34a2ac8a Add Xv symbol from Xext. 2005-08-26 06:35:00 +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
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
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
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
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
Adam Jackson
64bf3a81a3 loadable extmod build system. 2005-07-14 02:53:31 +00:00
Alan Hourihane
4073f24c90 add missing PictureTransformPoint3d call 2005-07-06 15:14:30 +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
Daniel Stone
826a6f029f Continuing Makefile cleanup; add DIX_CFLAGS and XORG_CFLAGS everywhere. 2005-07-02 18:59:44 +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
ded56b1a74 Adding initial build system. 2005-07-01 20:29:53 +00:00
Adam Jackson
b262a18aad Cosmetic correctness fixes: miEmptyBox and miEmptyData are variables, and
miGlyphExtents is a function.
2005-06-26 02:48:36 +00:00
Adam Jackson
8537146e36 Bug #3368: Cosmetic cleanup to DIX export list. 2005-05-30 18:44:55 +00:00
Alan Coopersmith
62343f5162 Bugzilla #2800 <https://bugs.freedesktop.org/show_bug.cgi?id=2800> Xevie
extension crash with signal 11 on keyboard Bugzilla #1205
    <https://bugs.freedesktop.org/show_bug.cgi?id=1205> Xevie client
    receives two KeyPress events on consumed keys when XKB is enabled
Patch #2223 <https://bugs.freedesktop.org/attachment.cgi?id=2223> Fixes for
    both of these and some other Xevie bugs (Derek Wang - Sun Microsystems)
2005-05-22 01:12:49 +00:00
Adam Jackson
ef4401ff8a Bug #3334: Clean up remnants from the PEX, XIE, and BEZIER extensions. 2005-05-19 18:53:51 +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
07cc29cf69 Bug #2138: When the server is built with MakeDllModules YES, prefer
dlloader modules to elfloader modules, and vice versa when
    MakeDllModules is NO. Based on 028_loader_speed_hack.diff from Ubuntu
    (Daniel Stone).
2005-04-25 00:25:39 +00:00
Adam Jackson
39eb279718 Bug #3016: Don't complain as loudly about failing to load a module that's
already loaded.
2005-04-23 19:16:10 +00:00
Adam Jackson
139f900c56 Bug #3109: Handle R_ALPHA_BRSGP relocations in elfloader. (Sergey Tikhonov) 2005-04-23 19:01:13 +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
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
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
Matthieu Herrb
fe37cc7e7b programs/Xserver/hw/xfree86/loader/xf86sym.c
programs/Xserver/hw/xfree86/os-support/shared/libc_wrapper.c Fix setjump0
    declaration for DllLoader.
2005-04-01 21:28:50 +00:00
Adam Jackson
33ab2a2abc Bug #2835: Add symbol exports to support the ReadDisplay extension. 2005-04-01 20:05:11 +00:00
Egbert Eich
1011762254 Make message that gets printed when loader encounters a .o with no symbols
less conspicuous.
2005-03-16 11:54:54 +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
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
b0185a4bf7 Add xf86[GetGammaRamp|ChangeGammaRamp|GetGammaRampSize] to symlist in order
to allow drivers to use them
2004-10-28 22:12:23 +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
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
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
Egbert Eich
c8672e7ac7 Fixed support for LynxOS 3.1 (LynxOS 4 will follow) (Thomas Mueller).
2
2004-08-26 11:58:08 +00:00
Kevin E Martin
bd3e6e4425 Add missing no.*Extension symbols (Bug #1131, Aaron Plattner). 2004-08-19 04:08:40 +00:00
Adam Jackson
09d0056b8b Wrap the Propolice fix in #ifdef __SSP__; Propolice doesn't define this yet
but an RFE has been submitted upstream.
2004-08-12 01:30:57 +00:00
Adam Jackson
e30c22dbbf Back out the propolice fix for a second, it causes linktime errors. 2004-08-12 01:16:36 +00:00
Adam Jackson
eb607030e3 Teach the loader about the extra symbols needed for Propolice-protected
modules to work under elfloader. From Travis Tilley (Gentoo).
2004-08-11 23:10:02 +00:00
Kristian Høgsberg
26847ef926 Move the new render symbols to dixsym.c instead so they are grouped with
the other render symbols.
Initialize screen_x and screen_y to 0. This fixes a problem with the new
    Damage based sprite, where intersection test against the root pixmap
    would fail because the two fields were not initialized (damage.c,
    166-170).
2004-08-09 03:40:50 +00:00
Kevin E Martin
57eab4dc87 - Fix building without Xfixes extension
- Fix building without Xevie
- Fix building without DPMS
- Fix "Extensions" section config file support to accept general boolean
    options
2004-08-09 02:08:35 +00:00
Kristian Høgsberg
3431692bf4 Add new render symbols to list of exported extension symbols so
DoLoadableServer works again.
2004-08-08 17:02:19 +00:00
Egbert Eich
2fb5886200 Merging XORG-CURRENT into trunk 2004-04-23 19:54:30 +00:00
Egbert Eich
dae90c3af9 Importing vendor version xf86-4_4_99_1 on Sun Mar 14 00:26:39 PST 2004 2004-03-14 08:34:49 +00:00
Egbert Eich
867451f1ab Importing vendor version xf86-4_4_0 on Wed Mar 3 04:09:24 PST 2004 2004-03-03 12:12:50 +00:00
Egbert Eich
df0313d35b readding XFree86's cvs IDs 2004-02-26 13:36:15 +00:00
Egbert Eich
147aae87fd Importing vendor version xf86-4_3_99_903 on Wed Feb 26 01:21:00 PST 2004 2004-02-26 09:23:53 +00:00
Egbert Eich
3c64b65d80 Importing vendor version xf86-012804-2330 on Thu Jan 29 00:06:33 PST 2004 2004-01-29 08:08:57 +00:00
Kaleb Keithley
12e532010b XFree86 4.3.99.902 (RC 2) 2003-12-19 20:55:39 +00:00
Kaleb Keithley
a84f16a9ad XFree86 4.3.99.901 (RC 1) 2003-12-04 22:03:38 +00:00
Kaleb Keithley
adc7f9a4eb XFree86 4.3.99.16 Bring the tree up to date for the Cygwin folks 2003-11-25 19:29:01 +00:00
Kaleb Keithley
9508a382f8 Initial revision 2003-11-14 16:48:57 +00:00