xserver/hw/xfree86
Alan Coopersmith c95c1d338f Add asprintf() implementation for platforms without it
Provides a portable implementation of this common allocating sprintf()
API found in many, but not yet all, of the platforms we support.
If the platform provides vasprintf() we simply wrap it, otherwise we
implement it - either way callers can use it regardless of platform.

Since not all platforms guarantee to NULL out the return pointer on
failure, we don't either, and require callers to check the return
value for -1.

The old Xprintf() API is deprecated, but left for compatibility for now.

The new API is added in a new header so that it can be used in parts of
the server such as hw/xfree86/parser that don't include all the server
headers.

Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Reviewed-by: Mikhail Gusarov <dottedmag@dottedmag.net>
2010-12-07 11:10:35 -08:00
..
common Bump extension ABI to 5 2010-12-06 20:43:15 -08:00
ddc ddc: Don't probe for DDC/CI or EEPROM 2010-10-18 15:42:54 -04:00
dixmods DGA: fix screen number check 2010-12-01 10:33:52 -08:00
doc xfree86: add option "Floating", deprecate SendCoreEvents and friends. 2010-12-07 08:08:15 +10:00
dri xserver: delete pervasively use of DISPATCH_PROC 2010-09-28 16:45:05 +03:00
dri2 DRI2: Avoid call to NULL pointer 2010-11-10 14:38:09 -08:00
exa Change the devPrivates API to require dixRegisterPrivateKey 2010-06-05 19:23:03 -07:00
fbdevhw xfree86: Remove useless module setup functions where appropriate 2010-09-22 10:57:22 -04:00
i2c xfree86: Remove useless module setup functions where appropriate 2010-09-22 10:57:22 -04:00
int10 Merge remote branch 'ajax/less-loader' 2010-09-28 08:15:07 -07:00
loader Add asprintf() implementation for platforms without it 2010-12-07 11:10:35 -08:00
modes Separate out screen size and screen pixmap sizes in RRScreenSizeSet 2010-12-06 20:09:04 -08:00
os-support Sun's copyrights now belong to Oracle 2010-12-07 11:10:35 -08:00
parser xfree86: parser: Remove 'CUSTOM' flag option in Monitor section. 2010-11-10 21:35:58 -08:00
ramdac Add API to update setting of waitForUpdate screen private in miPointer 2010-07-02 14:27:49 +10:00
shadowfb xfree86: Kill pixmapPrivate with a vengeance (v2) 2010-09-28 08:07:21 -07:00
utils Sun's copyrights now belong to Oracle 2010-12-07 11:10:35 -08:00
vbe vbe: Refuse to believe tiny (or negative) panel sizes from PanelID 2010-11-30 13:50:42 -05:00
vgahw xfree86: nds32: add nds32 definition for vgaHW support. 2010-09-23 15:36:19 -07:00
x86emu x86emu: fix jump_near_IMM to handle DATA: flag correctly. 2010-11-10 14:56:57 -08:00
xaa dix: Remove the backing store leftovers 2010-11-30 13:46:08 -05:00
.gitignore .gitignore: use common defaults with custom section #24239 2009-11-11 21:40:20 -08:00
Makefile.am xfree86: Remove the xf8_16bpp overlay module 2010-11-30 14:26:58 -05:00
xorgconf.cpp Update xorg.conf man page & sample for changes in Xorg 1.7 2009-09-14 16:03:18 +10:00