path: root/src/util
AgeCommit message (Collapse)AuthorFilesLines
2013-11-22Make serverGeneration unsignedJulien Cristau1-1/+1
Makes the definition match other declarations, and xserver's definition. Debian bug#689439 Reported-by: Michael Tautschnig <> Signed-off-by: Julien Cristau <> Reviewed-by: Alan Coopersmith <> Signed-off-by: Alan Coopersmith <>
2013-01-16Replace deprecated Automake INCLUDES variable with AM_CPPFLAGSAlan Coopersmith1-1/+1
Excerpt - Support for the long-deprecated INCLUDES variable will be removed altogether in Automake 1.14. The AM_CPPFLAGS variable should be used instead. This variable was deprecated in Automake releases prior to 1.10, which is the current minimum level required to build X. Signed-off-by: Alan Coopersmith <> Reviewed-by: Peter Hutterer <>
2011-11-11Use * precision notation instead of computing sprintf format stringsAlan Coopersmith1-11/+5
Allows gcc to check format strings instead of just warning about them Signed-off-by: Alan Coopersmith <> Reviewed-by: Jeremy Huddleston <>
2011-11-11Add const attributes to fix gcc -Wwrite-strings warningsAlan Coopersmith2-3/+3
Signed-off-by: Alan Coopersmith <> Reviewed-by: Jeremy Huddleston <>
2011-09-16Strip trailing whitespaceAlan Coopersmith7-49/+49
Performed with: find * -type f | xargs perl -i -p -e 's{[ \t]+$}{}' git diff -w & git diff -b show no diffs from this change Signed-off-by: Alan Coopersmith <>
2010-10-06Purge cvs tags.Jesse Adkins10-28/+0
Signed-off-by: Jesse Adkins <> Signed-off-by: Alan Coopersmith <>
2010-07-08Build fix for platforms which don't have weak linkageJon TURNEY1-0/+2
Since we fix this by removing the serverGeneration symbol, assuming an external definition will be provided, this means on Windows libXfont can only be built as a static library (since PE shared libraries cannot contain undefined symbols). This produces a libXfont which might only be useful to the xserver, but the only other users we might care about are xfs, which is obsolete, and bdftopcf, which fortunately doesn't pull in any objects which reference serverGeneration from libXfont. Signed-off-by: Jon TURNEY <> Reviewed-by: Colin Harrison <>
2010-06-21Use one single function to register fpe functionsTiago Vignatti1-0/+7
X server doesn't need to understand fpe internals, so let it transparent turning all registration functions in a single one. For that, fill the already existent register_fpe_functions(). Some X servers don't want font server support, so this patch also sets font server support to be configured in build time. In my machine, I see 20kB of RSS being saved in libXfont mapped in Xorg process when I disabled font server support and other kind of fonts in the library (--disable-pcfformat --disable-bdfformat --disable-snfformat --disable-freetype --disable-fc). The default library built was taking: text data bss dec hex filename 261847 4484 1536 267867 4165b ./lib/ and with these flags, it jumps to: text data bss dec hex filename 157764 2428 1188 161380 27664 ./lib/ Signed-off-by: Tiago Vignatti <> Reviewed-by: Mikhail Gusarov <> Reviewed-by: Alex Deucher <> Reviewed-by: Daniel Stone <>
2009-01-29Janitor: make distcheck and .gitignorePaulo Cesar Pereira de Andrade1-6/+0
Distribute ChangeLog but not Use a single toplevel .gitignore file, instead of one per subdirectory.
2009-01-20Remove some strcasecmp sillinessAdam Jackson1-28/+0
2009-01-20Move the copy of CopyISOLatin1Lowered near its user, and un-weak it.Adam Jackson1-22/+0
2009-01-20Drop OS/2 supportAdam Jackson1-2/+0
2009-01-20xalloc -> malloc, etc.Adam Jackson6-72/+38
2009-01-20const cleanupAdam Jackson1-4/+2
2008-12-19miscutil.c:108: warning: old-style parameter declarationAlan Coopersmith1-1/+1
2008-11-04Don't clobber CFLAGS in configureJulien Cristau1-0/+2
This lets the user set CFLAGS when running make.
2007-04-02Add #pragma weak for Sun cc where neededAlan Coopersmith2-1/+23
2006-07-13renamed: .cvsignore -> .gitignoreAlan Coopersmith1-0/+0
2006-06-01For the 20-odd symbols defined both in libXfont and the X server, emit themAdam Jackson3-12/+14
as weak symbols so that the linker will prefer the server's definition when present.
2005-07-09Include config.h in every source file to make sure necessary options areKeith Packard10-0/+30
found when building in the modular tree
2005-07-09Add .cvsignore files Switch _la_CFLAGS for AM_CFLAGS to clean up directoryKeith Packard1-2/+2
2005-07-03Change include dir now that public headers are referenced byKevin E Martin1-1/+1
2005-07-03Add Xtrans definitions (FONT_t, TRANS_CLIENT) to clean up warnings.Daniel Stone10-14/+14
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-02Add suitable .cvsignore filesKeith Packard1-0/+6
2005-05-27Reference X11/fonts header files using X11/fonts/ prefix.XORG-6_8_99_9XORG-6_8_99_10Josh Triplett7-10/+10
2005-05-27Add Xfont.Josh Triplett1-0/+16
2004-11-10xc/lib/font/util/ImakefileRoland Mainz1-3/+0
// Fix build failure (caused by missing symbols such as |TwoByteSwap|) when linking the FreeType module and the FreeType library both statically info the Xserver.
2004-04-23Merging XORG-CURRENT into trunkEgbert Eich10-11/+16
2004-03-14Importing vendor version xf86-4_4_99_1 on Sun Mar 14 00:26:39 PST 2004xf86-4_4_99_1Egbert Eich10-10/+10
2004-03-03Importing vendor version xf86-4_4_0 on Wed Mar 3 04:09:24 PST 2004xf86-4_4_0Egbert Eich10-10/+10
2004-02-26readding XFree86's cvs IDsxf86-4_3_99_903Egbert Eich10-10/+10
2004-02-26Importing vendor version xf86-4_3_99_903 on Wed Feb 26 01:21:00 PST 2004Egbert Eich10-10/+10
2003-11-25XFree86 Bring the tree up to date for the Cygwin folksxf86-4_3_99_16Kaleb Keithley2-22/+24
2003-11-14XFree86 Keithley10-187/+283
2003-11-14R6.6 is the Xorg base-lineXORG-MAINKaleb Keithley10-0/+2154