xserver/hw/xfree86/common
Dan Nicholson efa5269f23 xfree86: Use xorg.conf.d directory for multiple config files
Currently there is a single file, xorg.conf, for configuring the server.
This works fine most of the time, but it becomes a problem when packages
or system services need to adjust the configuration. Instead, allow
multiple configuration files to live in a directory. Typically this will
be /etc/X11/xorg.conf.d.

Files with a suffix of .conf will be read and added to the server
configuration after xorg.conf. The server won't fall back to using the
auto configuration unless there is no config file and there are no files
in the config directory.

Right now this uses a simpler search template than the config file
search path by not using the command line or environment variable
parameters. The matching code was refactored a bit to make this more
coherent. Any DDX wanting to read the config files will need to call
xf86initConfigFiles before opening/reading them. This is to allow
xf86openConfigFile without xf86openConfigDirFiles and vice-versa.

Signed-off-by: Dan Nicholson <dbn.lists@gmail.com>
Reviewed-by: Peter Hutterer <peter.hutterer at who-t.net>
2009-12-22 23:20:45 -08:00
..
.gitignore .gitignore: use common defaults with custom section #24239 2009-11-11 21:40:20 -08:00
Makefile.am xf86 ddx: add vga arbiter support. 2009-08-28 11:39:42 +10:00
compiler.h Add platform compatibility defines for Sun Studio compilers 2009-12-18 10:31:53 -08:00
extramodes Remove some default modes that really shouldn't be in the default set. 2008-06-24 10:40:36 -04:00
fourcc.h Remove RCS tags. Fix Xprint makefile braindamage. 2006-07-21 17:56:00 -04:00
modeline2c.awk Remove some OS/2 leftovers. 2009-04-06 10:58:47 -04:00
scoasm.h Remove RCS tags. Fix Xprint makefile braindamage. 2006-07-21 17:56:00 -04:00
vesamodes Fix standard VESA modes. 2006-11-03 14:06:32 -08:00
vidmodeproc.h Rework symbol visibility for easier maintenance 2008-12-03 05:43:34 -02:00
xf86.h xfree86: removal of some dead code due VGA arbiter's inclusion 2009-08-31 19:25:48 +03:00
xf86AutoConfig.c xfree86: Use xorg.conf.d directory for multiple config files 2009-12-22 23:20:45 -08:00
xf86Build.h.in Print the build time as well as the date if we can. 2007-06-04 02:03:44 -04:00
xf86Bus.c xfree86: vgaarb: rework wrapping function 2009-09-16 11:04:24 +10:00
xf86Bus.h xfree86: remove bus state change notification callback 2009-08-20 13:57:45 +03:00
xf86Config.c xfree86: Use xorg.conf.d directory for multiple config files 2009-12-22 23:20:45 -08:00
xf86Config.h xfree86: "Staticize" functions in xf86AutoConfig.c 2009-07-24 13:25:42 +03:00
xf86Configure.c xfree86: remove unused variable in configureDDMonitorSection. 2009-12-11 11:37:37 +10:00
xf86Cursor.c xfree86: remove a superfluous assignment. 2009-03-16 13:29:07 +10:00
xf86DGA.c Re-fix DGA removal. 2009-10-01 11:02:25 +10:00
xf86DPMS.c xf86 ddx: add vga arbiter support. 2009-08-28 11:39:42 +10:00
xf86Events.c Move FD_CLR above pInfo->read_input 2009-11-10 18:33:05 -08:00
xf86Globals.c Convert checks for PC98 support from platform #ifdefs to configure flag 2009-12-18 10:30:53 -08:00
xf86Helper.c Convert checks for PC98 support from platform #ifdefs to configure flag 2009-12-18 10:30:53 -08:00
xf86InPriv.h xfree86: don't FatalError on "too many input devices". 2008-12-02 15:50:38 +10:00
xf86Init.c xfree86: fix -quiet option behaviour 2009-12-16 21:49:31 -08:00
xf86Mode.c modes: De-duplicate a clock range check. 2009-10-29 14:06:00 -04:00
xf86Module.h Add type name argument to CreateNewResourceType 2009-12-18 17:44:12 -08:00
xf86Opt.h Rework symbol visibility for easier maintenance 2008-12-03 05:43:34 -02:00
xf86Option.c Rework symbol visibility for easier maintenance 2008-12-03 05:43:34 -02:00
xf86PM.c xf86 ddx: add vga arbiter support. 2009-08-28 11:39:42 +10:00
xf86PciInfo.h No more "-scanpci" given that we already have it in libpciaccess. 2008-02-25 17:08:07 -03:00
xf86Priv.h xfree86: removal of some dead code due VGA arbiter's inclusion 2009-08-31 19:25:48 +03:00
xf86Privstr.h Convert checks for PC98 support from platform #ifdefs to configure flag 2009-12-18 10:30:53 -08:00
xf86RandR.c randr: Accept gamma set requests from XF86VidMode clients too 2009-04-17 17:47:54 -04:00
xf86ShowOpts.c xfree86: remove unused vbe header file 2009-07-10 16:34:09 +03:00
xf86VGAarbiter.c xfree86: vgaarb: missing wrapping macro 2009-09-18 12:53:45 +03:00
xf86VGAarbiter.h xfree86: vgaarb: rework wrapping function 2009-09-16 11:04:24 +10:00
xf86VGAarbiterPriv.h xf86 ddx: add vga arbiter support. 2009-08-28 11:39:42 +10:00
xf86VidMode.c xfree86: Remove superfluous ifdef DEBUG checks. 2009-05-16 12:20:57 +10:00
xf86Xinput.c Xinput: allow non-integer values again for Constant- and AdaptiveDeceleration 2009-10-27 23:34:11 -07:00
xf86Xinput.h xfree86: Remove xf86GetMotionEvents from public API. 2009-08-27 14:24:50 +10:00
xf86cmap.c Kill compilation warnings. 2009-10-23 09:48:01 +09:00
xf86cmap.h Rework symbol visibility for easier maintenance 2008-12-03 05:43:34 -02:00
xf86fbBus.c xserver: remove RAC/resource handling code. 2009-07-28 15:14:28 +10:00
xf86fbman.c xfree86: Remove superfluous ifdef DEBUG checks. 2009-05-16 12:20:57 +10:00
xf86fbman.h Rework symbol visibility for easier maintenance 2008-12-03 05:43:34 -02:00
xf86noBus.c xserver: remove RAC/resource handling code. 2009-07-28 15:14:28 +10:00
xf86pciBus.c Free libpciaccess iterator in xf86PciProbe 2009-09-20 20:45:25 +10:00
xf86pciBus.h xfree86: remove more RAC junky 2009-08-05 22:52:35 +03:00
xf86sbusBus.c xfree86: delete devices probe code (-probe and -probeonly options) 2009-07-28 18:20:22 +03:00
xf86sbusBus.h Correct wrong symbol reference on sparc. 2008-12-08 22:11:50 -02:00
xf86str.h Add video driver flag to indicate that console access is not needed. 2009-10-28 18:24:29 -07:00
xf86xv.c xf86xv: Fix off-by-one in viewport clipping 2009-12-16 21:53:18 -08:00
xf86xv.h XFree86: Xv: Add ClipNotify helper 2009-01-05 11:25:57 +02:00
xf86xvmc.c Rework symbol visibility for easier maintenance 2008-12-03 05:43:34 -02:00
xf86xvmc.h Rework symbol visibility for easier maintenance 2008-12-03 05:43:34 -02:00
xf86xvpriv.h XFree86: Xv: Add ClipNotify helper 2009-01-05 11:25:57 +02:00
xisb.c Rework symbol visibility for easier maintenance 2008-12-03 05:43:34 -02:00
xisb.h Rework symbol visibility for easier maintenance 2008-12-03 05:43:34 -02:00
xorgHelper.c xfree86: ANSI cleanups 2009-01-11 08:54:11 +01:00
xorgVersion.h Remove RCS tags. Fix Xprint makefile braindamage. 2006-07-21 17:56:00 -04:00