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
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
Adam Jackson
bca9364f3f
Remove the loader's required and referenced symbol lists, dead code.
2006-07-21 18:41:46 -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
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
Eric Anholt
bc6cfde198
Use correct OSNAME setting so we can find os-specific modules like libdrm.
2006-06-23 20:07:34 -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
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
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
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