xserver/hw/xfree86/common
Peter Hutterer 8764782f6d xfree86: add xf86IDrvMsg and friends for input driver logging.
Input driver messages are only standardised by convention, with the drivers
prefixing the device name to most messages. This makes it rather hard to
grep on "evdev" for example when looking for the evdev ouput.

This patch adds three new logging functions, modeled after xf86DrvMsg(), the
logging function for output drivers. New functions are
   xf86IDrvMsg()        - input driver log message in default verbosity.
   xf86IDrvMsgVerb()    - input driver log message in specified verbosity.
   xf86VIDrvMsgVerb()   - same as xf86IDrvMsgVerb() but takes a varargs
                          argument.

Default log format is <driver name>: <device name>: <message>.

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Reviewed-by: Adam Jackson <ajax@redhat.com>
Reviewed-by: Daniel Stone <daniel@fooishbar.org>
2010-09-01 15:26:50 +10:00
..
.gitignore .gitignore: use common defaults with custom section #24239 2009-11-11 21:40:20 -08:00
Makefile.am Only link Xorg with libconfig.la 2010-05-17 09:41:16 -07: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 Change the devPrivates API to require dixRegisterPrivateKey 2010-06-05 19:23:03 -07:00
xf86AutoConfig.c Remove unnecessary parentheses around return values in functions 2010-06-10 06:42:42 -07: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 Remove unnecessary parentheses around return values in functions 2010-06-10 06:42:42 -07:00
xf86Bus.h xfree86: bus: remove useless field from EntityRec 2010-05-24 19:17:04 +03:00
xf86Config.c Remove unnecessary parentheses around return values in functions 2010-06-10 06:42:42 -07:00
xf86Config.h xfree86: "Staticize" functions in xf86AutoConfig.c 2009-07-24 13:25:42 +03:00
xf86Configure.c xfree86: configure: remove vendor and card name matching rules 2010-07-01 08:04:15 -04:00
xf86Cursor.c Remove more superfluous if(p) checks around free(p) 2010-06-06 20:27:18 +07:00
xf86DGA.c Change the devPrivates API to require dixRegisterPrivateKey 2010-06-05 19:23:03 -07:00
xf86DPMS.c Change the devPrivates API to require dixRegisterPrivateKey 2010-06-05 19:23:03 -07:00
xf86Events.c dix: purge leftover manual key down bit setting. 2010-07-07 13:29:46 +10:00
xf86Globals.c Change the devPrivates API to require dixRegisterPrivateKey 2010-06-05 19:23:03 -07:00
xf86Helper.c xfree86: add xf86IDrvMsg and friends for input driver logging. 2010-09-01 15:26:50 +10:00
xf86InPriv.h xfree86: make xf86ActivateDevice static. 2010-09-01 15:26:47 +10:00
xf86Init.c Remove unnecessary parentheses around return values in functions 2010-06-10 06:42:42 -07:00
xf86Mode.c Replace X-allocation functions with their C89 counterparts 2010-05-13 00:22:37 +07:00
xf86Module.h xfree86: rework driver PreInit API - XInput ABI 12 2010-09-01 15:26:46 +10:00
xf86Opt.h xfree86: Add option parsing for percent options. 2010-05-18 15:43:51 -07:00
xf86Option.c xfree86: Get rid of xstrdup when argument is definitely non-NULL 2010-06-11 19:05:46 +07: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: bus: delete useless xf86FindPrimaryDevice 2010-05-24 19:16:02 +03:00
xf86Privstr.h Remove ResNoAvoid definition, missed in the RAC removal 2010-05-13 04:20:34 -07:00
xf86RandR.c Change the devPrivates API to require dixRegisterPrivateKey 2010-06-05 19:23:03 -07:00
xf86ShowOpts.c xfree86: Add option parsing for percent options. 2010-05-18 15:43:51 -07:00
xf86VGAarbiter.c Unwrap/rewrap EnterVT/LeaveVT completely, Fixes 28998 2010-07-13 09:58:04 -07:00
xf86VGAarbiter.h xfree86: vgaarb: rework wrapping function 2009-09-16 11:04:24 +10:00
xf86VGAarbiterPriv.h unifdef -B -DRENDER to always include RENDER code 2010-04-19 09:26:10 -07:00
xf86VidMode.c Change the devPrivates API to require dixRegisterPrivateKey 2010-06-05 19:23:03 -07:00
xf86Xinput.c xfree86: move xf86AllocateInput and xf86DeleteInput to xf86Xinput.c 2010-09-01 15:26:49 +10:00
xf86Xinput.h xfree86: add xf86IDrvMsg and friends for input driver logging. 2010-09-01 15:26:50 +10:00
xf86cmap.c Unwrap/rewrap EnterVT/LeaveVT completely, Fixes 28998 2010-07-13 09:58:04 -07:00
xf86cmap.h Change the devPrivates API to require dixRegisterPrivateKey 2010-06-05 19:23:03 -07:00
xf86fbBus.c xserver: remove RAC/resource handling code. 2009-07-28 15:14:28 +10:00
xf86fbman.c Change the devPrivates API to require dixRegisterPrivateKey 2010-06-05 19:23:03 -07: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 xfree86: pci: remove superfluous vendor and card name logging 2010-07-01 08:03:26 -04:00
xf86pciBus.h xfree86: Unbreak autoconfig following 0abf065e38 2010-06-02 21:09:44 -07:00
xf86sbusBus.c Remove unnecessary parentheses around return values in functions 2010-06-10 06:42:42 -07:00
xf86sbusBus.h Correct wrong symbol reference on sparc. 2008-12-08 22:11:50 -02:00
xf86str.h xfree86: store the InputAttributes in the input device. 2010-05-25 10:06:50 -07:00
xf86xv.c Unwrap/rewrap EnterVT/LeaveVT completely, Fixes 28998 2010-07-13 09:58:04 -07:00
xf86xv.h XFree86: Xv: Add ClipNotify helper 2009-01-05 11:25:57 +02:00
xf86xvmc.c Change the devPrivates API to require dixRegisterPrivateKey 2010-06-05 19:23:03 -07: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 Remove unnecessary parentheses around return values in functions 2010-06-10 06:42:42 -07: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