xfs: Changes to 'master'
Alan Coopersmith
alanc at kemper.freedesktop.org
Fri Jan 25 14:00:57 PST 2013
Makefile.am | 3
difs/atom.c | 4
difs/cache.c | 382 -----------------------------------------------------
difs/dispatch.c | 122 +++++++++-------
difs/events.c | 26 +--
difs/extensions.c | 27 +--
difs/fontinfo.c | 86 ++++-------
difs/fonts.c | 96 ++++++-------
difs/main.c | 7
doc/xfs-design.xml | 137 -------------------
include/cache.h | 71 ---------
include/cachestr.h | 74 ----------
include/difs.h | 7
13 files changed, 174 insertions(+), 868 deletions(-)
New commits:
commit b736a278a574a0f5f24c207478974351573427bc
Author: Alan Coopersmith <alan.coopersmith at oracle.com>
Date: Sat Jan 19 22:50:11 2013 -0800
Remove unused server cache functionality
We initialized the cache & reset the cache, but never put anything in it.
(Unlike the FontPatternCache provided by libXfont.)
Signed-off-by: Alan Coopersmith <alan.coopersmith at oracle.com>
commit 21e479609b3529ce24e6139d1208dfe4f9040891
Author: Alan Coopersmith <alan.coopersmith at oracle.com>
Date: Sat Jan 19 22:30:49 2013 -0800
Convert Reply initialization to use C99 struct initializers
Much like we did for the X server, lets the compiler handle filling
in the entire struct, including zeroing out padding bytes.
Signed-off-by: Alan Coopersmith <alan.coopersmith at oracle.com>
commit e77aa8b02f3f95a312a755bead400e1dd6e7fc45
Author: Alan Coopersmith <alan.coopersmith at oracle.com>
Date: Sat Jan 19 22:27:02 2013 -0800
Delete unused/empty FreeFonts() function
Had no body and no callers
Signed-off-by: Alan Coopersmith <alan.coopersmith at oracle.com>
commit 43dd1a904a17d6cbcef6d6728b192eae858b642f
Author: Alan Coopersmith <alan.coopersmith at oracle.com>
Date: Sat Jan 19 22:22:09 2013 -0800
Make FontWakeup functions be static to fonts.c
Only called from other functions in fonts.c
Signed-off-by: Alan Coopersmith <alan.coopersmith at oracle.com>
commit b6404f5855b7a38ad567c51b916646c3a085b419
Author: Alan Coopersmith <alan.coopersmith at oracle.com>
Date: Sat Jan 19 21:52:38 2013 -0800
Convert UseFPE & FreeFPE into static inline functions
Comment suggests making them a macro, but since they're only used in this
file, might as well let the compiler choose how best to optimize them.
Signed-off-by: Alan Coopersmith <alan.coopersmith at oracle.com>
commit d7558028f93ba8d068ca9f0c5638268f2063c944
Author: Alan Coopersmith <alan.coopersmith at oracle.com>
Date: Sat Jan 19 21:38:40 2013 -0800
Delete unused function CopyCharInfo
Can find no record of this being used in current git repo (back to X11R6.6)
Signed-off-by: Alan Coopersmith <alan.coopersmith at oracle.com>
commit e46193d3bb4b7bd52f4dfbccaf5efd4525d97103
Author: Alan Coopersmith <alan.coopersmith at oracle.com>
Date: Sat Jan 19 19:28:06 2013 -0800
MakeAtom: get rid of unnecessary casts
strncmp & strncpy expect an unsigned (size_t) argument, so don't take our
unsigned len and cast it back to a signed int, because that makes clang sad:
difs/atom.c:92:44: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
comp = strncmp(string, (*np)->string, (int) len);
~~~~~~~ ^~~~~~~~~
difs/atom.c:118:34: warning: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Wsign-conversion]
strncpy(nd->string, string, (int) len);
~~~~~~~ ^~~~~~~~~
Signed-off-by: Alan Coopersmith <alan.coopersmith at oracle.com>
More information about the xorg-commit
mailing list