libXfont: Changes to 'master'
Keith Packard
keithp at kemper.freedesktop.org
Tue Dec 8 20:45:51 PST 2015
Makefile.am | 7 +
configure.ac | 30 ++++-
include/X11/fonts/bufio.h | 2
include/X11/fonts/fontmisc.h | 2
include/X11/fonts/fontutil.h | 2
include/X11/fonts/libxfont2.h | 163 +++++++++++++++++++++++++++
include/libxfontint.h | 130 +++++++++++++++++++++
src/FreeType/ft.h | 2
src/FreeType/ftenc.c | 1
src/FreeType/ftfuncs.c | 13 +-
src/FreeType/fttools.c | 1
src/FreeType/xttcap.c | 1
src/Makefile.am | 8 -
src/bitmap/bdfread.c | 5
src/bitmap/bdfutils.c | 1
src/bitmap/bitmap.c | 1
src/bitmap/bitmapfunc.c | 1
src/bitmap/bitmaputil.c | 1
src/bitmap/bitscale.c | 4
src/bitmap/fontink.c | 1
src/bitmap/pcfread.c | 2
src/bitmap/pcfwrite.c | 7 -
src/bitmap/snfread.c | 1
src/builtins/dir.c | 1
src/builtins/file.c | 1
src/builtins/fonts.c | 1
src/builtins/fpe.c | 36 +++---
src/builtins/render.c | 1
src/fc/fsconvert.c | 1
src/fc/fserve.c | 138 ++++++++++++-----------
src/fc/fserve.h | 9 -
src/fc/fsio.c | 2
src/fc/fsio.h | 2
src/fc/fstrans.c | 4
src/fontfile/bitsource.c | 1
src/fontfile/bufio.c | 3
src/fontfile/bunzip2.c | 1
src/fontfile/catalogue.c | 36 +++---
src/fontfile/decompress.c | 1
src/fontfile/defaults.c | 1
src/fontfile/dirfile.c | 1
src/fontfile/fileio.c | 1
src/fontfile/filewr.c | 1
src/fontfile/fontdir.c | 7 -
src/fontfile/fontencc.c | 3
src/fontfile/fontfile.c | 64 +++++-----
src/fontfile/fontscale.c | 1
src/fontfile/gunzip.c | 1
src/fontfile/register.c | 1
src/fontfile/renderers.c | 3
src/stubs/Makefile.am | 19 ---
src/stubs/atom.c | 224 +++++++++++++++++++++++++++++++++++++
src/stubs/cauthgen.c | 15 --
src/stubs/csignal.c | 15 --
src/stubs/delfntcid.c | 14 --
src/stubs/errorf.c | 14 --
src/stubs/findoldfnt.c | 15 --
src/stubs/getcres.c | 15 --
src/stubs/getdefptsize.c | 15 --
src/stubs/getnewfntcid.c | 15 --
src/stubs/gettime.c | 15 --
src/stubs/initfshdl.c | 16 --
src/stubs/libxfontstubs.c | 198 +++++++++++++++++++++++++++++++++
src/stubs/regfpefunc.c | 32 -----
src/stubs/rmfshdl.c | 16 --
src/stubs/servclient.c | 19 ---
src/stubs/setfntauth.c | 15 --
src/stubs/stfntcfnt.c | 15 --
src/stubs/stubs.h | 79 -------------
src/stubs/stubsinit.c | 82 -------------
src/util/Makefile.am | 1
src/util/atom.c | 250 ------------------------------------------
src/util/fontaccel.c | 1
src/util/fontnames.c | 9 +
src/util/fontutil.c | 38 ++----
src/util/fontxlfd.c | 1
src/util/format.c | 1
src/util/miscutil.c | 23 ---
src/util/patcache.c | 35 +++--
src/util/private.c | 5
src/util/utilbitmap.c | 1
xfont.pc.in | 13 --
xfont2.pc.in | 13 ++
83 files changed, 1025 insertions(+), 922 deletions(-)
New commits:
commit 135fb032e940ce226c9feb13e6e903f3ecbc5eb0
Author: Keith Packard <keithp at keithp.com>
Date: Wed Sep 2 00:04:32 2015 -0700
Eliminate calls back to X server or font server functions by name (v4)
This eliminates the weak symbol adventures and makes all of the calls
back to the X server or Font server go through a table of functions
instead, clarifying the required API.
As this is a rather major change to the API for the library, it now
installs itself as libXfont2 instead of libXfont, and the package
config file is now xfont2.pc.
All of the installed headers remain the same as the original library;
there's now a new include file, libxfont2.h, which defines the X
server and Font server interfaces.
This moves util/atom.c to stubs/atom.c and reformats that file, hence
the diff being larger than it would otherwise be.
v2: Rename to libXfont2 instead of libXfont_2 as suggested by Emil Velikov
Fix whitespace in stubs/atom.c, which was moved from util/
v3: Remove select masks from API. Expose single 'font_init' function
for all library initialization.
v4: Change name of distributed tarballs to libXfont2 as well
Signed-off-by: Keith Packard <keithp at keithp.com>
commit eb67d10ae82b364a4324e96ce53baaa4e5e75f97
Author: Keith Packard <keithp at keithp.com>
Date: Mon Dec 7 15:46:13 2015 -0800
Add compiler warning flags and fix warnings
Mostly signed vs unsigned comparisons
Signed-off-by: Keith Packard <keithp at keithp.com>
More information about the xorg-commit
mailing list