summaryrefslogtreecommitdiff
path: root/lib/libXfont2/ChangeLog
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libXfont2/ChangeLog')
-rw-r--r--lib/libXfont2/ChangeLog251
1 files changed, 221 insertions, 30 deletions
diff --git a/lib/libXfont2/ChangeLog b/lib/libXfont2/ChangeLog
index 7ae2980a5..2875dd411 100644
--- a/lib/libXfont2/ChangeLog
+++ b/lib/libXfont2/ChangeLog
@@ -1,3 +1,194 @@
+commit ed8b8e9fe544ec51ab1b1dfaea6fced35470ad6c
+Author: Alan Coopersmith <alan.coopersmith@oracle.com>
+Date: Sat Sep 14 11:34:03 2019 -0700
+
+ libXfont2 2.0.4
+
+ Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
+
+commit b46cd2fef2bfe192579930f29a830051670d4d00
+Author: Alan Coopersmith <alan.coopersmith@oracle.com>
+Date: Sat Sep 14 11:32:02 2019 -0700
+
+ Add src/util/replace.h to noinst_HEADERS so it gets included in tarballs
+
+ Found when "make distcheck" failed.
+
+ Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
+
+commit 5561a9dc835a249e58cfdb3c384547f6f401a15d
+Author: Alan Coopersmith <alan.coopersmith@oracle.com>
+Date: Sat Aug 17 14:31:24 2019 -0700
+
+ fs_read_glyphs: check if rep is null before dereferencing
+
+ Resolves coverity warning def16 from the list in
+ https://gitlab.freedesktop.org/xorg/lib/libxfont/issues/6
+
+ Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
+
+commit c84ce6be6a7e2e70c9ab20b60bc7198699690d50
+Author: Alan Coopersmith <alan.coopersmith@oracle.com>
+Date: Sat Aug 17 14:19:04 2019 -0700
+
+ CatalogueRescan: if opendir() fails, unref fpes, but don't free the cat
+
+ None of the callers of CatalogueRescan check for failure before accessing
+ the cat pointer so don't free it (especially without clearing the pointer
+ to it in fpe->private), just unref the contents.
+
+ Can only be triggered if somehow stat() succeeds on the directory, but
+ opendir fails anyway (removed between the calls? permission problem?).
+
+ Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
+
+commit c1c5c9aa4cacb9138d6a2e5d37619f7960b54536
+Author: Alan Coopersmith <alan.coopersmith@oracle.com>
+Date: Sat Aug 17 13:56:03 2019 -0700
+
+ ComputeScaledProperties: check for valid pointers before making atoms
+
+ Resolves coverity warning def23 from the list in
+ https://gitlab.freedesktop.org/xorg/lib/libxfont/issues/6
+
+ Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
+
+commit 78085e6b683b4e5a13b38508597a0c93ac2ed9ea
+Author: Alan Coopersmith <alan.coopersmith@oracle.com>
+Date: Sat Aug 17 13:41:02 2019 -0700
+
+ stubs/atom.c: check for ResizeHashTable failure
+
+ Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
+
+commit 3e0e36e4a9fee32105aa7c5cb6e089c495b92b10
+Author: Maya Rashish <maya@NetBSD.org>
+Date: Fri Aug 9 12:53:48 2019 +0300
+
+ Fix whitespace
+
+commit 194cb45ceb510c3e580460919cd7e5dd31a285c8
+Author: Alan Coopersmith <alan.coopersmith@oracle.com>
+Date: Sun Aug 4 11:14:39 2019 -0700
+
+ fontxlfd.c: tell gcc that switch fallthrough is intentional
+
+ Quiets:
+ src/util/fontxlfd.c: In function ‘FontParseXLFDName’:
+ src/util/fontxlfd.c:450:14: warning: this statement may fall through [-Wimplicit-fallthrough=]
+ replaceChar = '*';
+ ~~~~~~~~~~~~^~~~~
+ src/util/fontxlfd.c:451:5: note: here
+ case FONT_XLFD_REPLACE_ZERO:
+ ^~~~
+
+ Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
+
+commit ddbee30d3525cdd66b84056affc407601680cc29
+Author: Alan Coopersmith <alan.coopersmith@oracle.com>
+Date: Sat Aug 3 19:29:05 2019 -0700
+
+ Convert multiplying malloc calls to use mallocarray instead
+
+ Introduces mallocarray as a macro calling reallocarray with a NULL
+ pointer for the old allocation.
+
+ Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
+
+commit f54470dab5b392380df61a22b4b4bef685b6cee2
+Author: Alan Coopersmith <alan.coopersmith@oracle.com>
+Date: Sat Aug 3 19:09:19 2019 -0700
+
+ Convert multiplying realloc calls to use reallocarray instead
+
+ Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
+
+commit 27207d35d4b4bbd5d2b2c5f7e13a61ea43d04a4a
+Author: Alan Coopersmith <alan.coopersmith@oracle.com>
+Date: Sat Aug 3 16:13:21 2019 -0700
+
+ Add reallocarray fallback if not provided by libc nor libbsd
+
+ Implementation copied from the Xserver
+
+ Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
+
+commit 2178c7445a3464bd69637ad91a2dd0320a60e0df
+Author: Alan Coopersmith <alan.coopersmith@oracle.com>
+Date: Sat Aug 3 18:19:11 2019 -0700
+
+ Use bounds checking string functions everywhere
+
+ Replace strcpy, strcat, sprintf with strlcpy, strlcat, snprintf
+ everywhere, even where there were already bounds checks in place,
+ to reduce time spent checking static analysis results.
+
+ Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
+
+commit d4c941ea8b1dc07a14efce656bff58d31a14c985
+Author: Alan Coopersmith <alan.coopersmith@oracle.com>
+Date: Sat Aug 3 16:05:21 2019 -0700
+
+ Add strlcat & strlcpy fallbacks if not provided by libc nor libbsd
+
+ Implementations copied from the Xserver
+
+ Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
+
+commit c4ed2e069dc8aa5b8b7ef2fc926ae8584ff2a67b
+Author: Alan Coopersmith <alan.coopersmith@oracle.com>
+Date: Sat Aug 3 13:45:54 2019 -0700
+
+ Add some unit testing utilities
+
+ The test/utils directory contains some standalone test programs for testing
+ libXfont funtionality without needing a full X server session. They could
+ be used to generate automated unit testing in the future, but that work has
+ not yet been done.
+
+ [v2: updated original work from libXfont 1.5 to 2.0 API & makefiles]
+
+ Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
+
+commit 77ae4048564eff2e96b80cedfac013877e46d506
+Author: Adam Jackson <ajax@redhat.com>
+Date: Wed Jan 4 12:13:04 2017 -0500
+
+ fontfile: Remove unused 'bc' slot from _FontEntry
+
+ Whatever this is, we're not using it. On my machine we allocate about
+ 1100 of these structs, and this change reduces the struct from 152 to 48
+ bytes, so this saves about 100k of memory.
+
+ Signed-off-by: Adam Jackson <ajax@redhat.com>
+
+commit 6624b5e705da8333a3bc63d1ddeea6b11e831e24
+Author: Alan Coopersmith <alan.coopersmith@oracle.com>
+Date: Sat Mar 16 12:40:03 2019 -0700
+
+ Update configure.ac bug URL for gitlab migration
+
+ Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
+
+commit 66a26687b2b86b53c315544483b740deb6f01c1e
+Author: Alan Coopersmith <alan.coopersmith@oracle.com>
+Date: Mon Nov 19 22:05:10 2018 -0800
+
+ Update README for gitlab migration
+
+ Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
+
+commit 099ed6fa9f293d283163b138830d43bbd47c5df1
+Author: Rin Okuyama <rin@NetBSD.org>
+Date: Tue Feb 21 06:18:37 2017 +0000
+
+ avoid -Wformat errors from clang when building with -DDEBUG
+
+ https://bugs.freedesktop.org/show_bug.cgi?id=99882
+
+ Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>
+ Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
+
commit cdb2f990348c3bd1407022f7e0e5fcba552d539f
Author: Matthieu Herrb <matthieu@herrb.eu>
Date: Sat Nov 25 12:01:16 2017 +0100
@@ -118,9 +309,9 @@ Date: Wed May 18 11:52:27 2016 -0400
configure: Use -fvisibility=hidden if available
- text data bss dec hex filename
- 233732 8168 1616 243516 3b73c .libs/libXfont2.so.2.before
- 217113 6816 1616 225545 37109 .libs/libXfont2.so.2.after
+ text data bss dec hex filename
+ 233732 8168 1616 243516 3b73c .libs/libXfont2.so.2.before
+ 217113 6816 1616 225545 37109 .libs/libXfont2.so.2.after
Signed-off-by: Adam Jackson <ajax@redhat.com>
Reviewed-by: Emil Velikov <emil.l.velikov@gmail.com>
@@ -135,21 +326,21 @@ Date: Mon May 30 00:46:21 2016 -0700
Found by clang's Address Sanitizer
- crac.num_auths = set_font_authorizations(&authorizations, &authlen,
- client);
- /* Work around bug in xfs versions up through modular release 1.0.8
- which rejects CreateAC packets with num_auths = 0 & authlen < 4 */
- if (crac.num_auths == 0) {
- authorizations = padding;
- authlen = 4;
- } else {
- authlen = (authlen + 3) & ~0x3;
- }
- crac.length = (sizeof (fsCreateACReq) + authlen) >> 2;
- crac.acid = cur->acid;
- _fs_add_req_log(conn, FS_CreateAC);
- _fs_write(conn, (char *) &crac, sizeof (fsCreateACReq));
- _fs_write(conn, authorizations, authlen);
+ crac.num_auths = set_font_authorizations(&authorizations, &authlen,
+ client);
+ /* Work around bug in xfs versions up through modular release 1.0.8
+ which rejects CreateAC packets with num_auths = 0 & authlen < 4 */
+ if (crac.num_auths == 0) {
+ authorizations = padding;
+ authlen = 4;
+ } else {
+ authlen = (authlen + 3) & ~0x3;
+ }
+ crac.length = (sizeof (fsCreateACReq) + authlen) >> 2;
+ crac.acid = cur->acid;
+ _fs_add_req_log(conn, FS_CreateAC);
+ _fs_write(conn, (char *) &crac, sizeof (fsCreateACReq));
+ _fs_write(conn, authorizations, authlen);
In the case in the report, set_font_authorizations setup authorizations as a
34 byte buffer (and authlen set to 34 as one would expect). The following
@@ -1584,7 +1775,7 @@ Date: Wed Apr 14 05:58:28 2010 -0500
Conflicts:
- ChangeLog
+ ChangeLog
Signed-off-by: Yaakov Selkowitz <yselkowitz@users.sourceforge.net>
@@ -2397,7 +2588,7 @@ Date: Tue Jun 19 10:38:02 2007 -0400
This patch adds a new FPE type, which will match font path elements of the
form
- catalogue:<dir>
+ catalogue:<dir>
The dir specified after the catalogue: prefix will be scanned for symlinks
and each symlink destination will be added as a local fontfile FPE.
@@ -2407,22 +2598,22 @@ Date: Tue Jun 19 10:38:02 2007 -0400
An example configuration:
- 75dpi:unscaled:pri=20 -> /usr/share/X11/fonts/75dpi
- ghostscript:pri=60 -> /usr/share/fonts/default/ghostscript
- misc:unscaled:pri=10 -> /usr/share/X11/fonts/misc
- type1:pri=40 -> /usr/share/X11/fonts/Type1
- type1:pri=50 -> /usr/share/fonts/default/Type1
+ 75dpi:unscaled:pri=20 -> /usr/share/X11/fonts/75dpi
+ ghostscript:pri=60 -> /usr/share/fonts/default/ghostscript
+ misc:unscaled:pri=10 -> /usr/share/X11/fonts/misc
+ type1:pri=40 -> /usr/share/X11/fonts/Type1
+ type1:pri=50 -> /usr/share/fonts/default/Type1
will add /usr/share/X11/fonts/misc as the first FPE with the attribute
'unscaled', second FPE will be /usr/share/X11/fonts/75dpi, also with
the attribute unscaled etc. This is functionally equivalent to setting
the following font path:
- /usr/share/X11/fonts/misc:unscaled,
- /usr/share/X11/fonts/75dpi:unscaled,
- /usr/share/X11/fonts/Type1,
- /usr/share/fonts/default/Type1,
- /usr/share/fonts/default/ghostscript
+ /usr/share/X11/fonts/misc:unscaled,
+ /usr/share/X11/fonts/75dpi:unscaled,
+ /usr/share/X11/fonts/Type1,
+ /usr/share/fonts/default/Type1,
+ /usr/share/fonts/default/ghostscript
The motivation is to let font packages add a symlink to the new font
directory they provide instead of rewriting either the Xorg config file