commit 7cf32a065e7c3d8721ae5f4eccf6695152fe14b7 Author: Bryce Harrington AuthorDate: Wed Dec 6 14:45:56 2017 -0800 Commit: Bryce Harrington CommitDate: Wed Dec 6 14:50:19 2017 -0800 Release 1.14.12 NEWS | 43 +++++++++++++++++++++++++++++++++++++++++++ cairo-version.h | 2 +- 2 files changed, 44 insertions(+), 1 deletion(-) commit 5d5c5ee9c5479677de30aa8faff7ccd51b944b91 Author: Behdad Esfahbod AuthorDate: Mon Sep 11 22:00:00 2017 -0700 Commit: Bryce Harrington CommitDate: Mon Dec 4 16:21:33 2017 -0800 Fix undefined-behavior with integer math As reported to me: "A calculation on signed integers has undefined behaviour if the result is not representable in the type. In this case, it's trying to negate int_min, aka -2^31 but the range of an int is [-2^31, 2^31-1] so it doesn't fit. Instead, cast to unsigned which has 2's complement wrap-around arithmetic which is what this particular function expects." src/cairo-fixed-private.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit ea42e027d9abb3ba13cf8c63949a166797991daf Author: Adrian Johnson AuthorDate: Sat Sep 2 19:09:49 2017 +0930 Commit: Bryce Harrington CommitDate: Mon Dec 4 16:21:04 2017 -0800 build: use _WIN32 instead of windows.h to check for windows build ifdef _WIN32 is the recommended way to check for a windows build [1] and avoids identifying cygwin as windows. based on the patch at [2] [1] https://lists.gnu.org/archive/html/autoconf/2012-02/msg00008.html [2] https://lists.gnu.org/archive/html/autoconf/2012-02/msg00009.html build/configure.ac.system | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) commit 36209baf7f372aee64b2c5a6eec81ec2d545f5ba Author: Adrian Johnson AuthorDate: Sat Sep 2 19:17:37 2017 +0930 Commit: Bryce Harrington CommitDate: Mon Dec 4 16:20:46 2017 -0800 replace _BSD_SOURCE with _DEFAULT_SOURCE fixes the warning: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" src/cairo-cff-subset.c | 2 +- src/cairo-ft-font.c | 2 +- src/cairo-output-stream.c | 2 +- src/cairo-path-stroke-boxes.c | 2 +- src/cairo-path-stroke-polygon.c | 2 +- src/cairo-path-stroke-tristrip.c | 2 +- src/cairo-path-stroke.c | 2 +- src/cairo-pdf-surface.c | 2 +- src/cairo-ps-surface.c | 2 +- src/cairo-scaled-font-subsets.c | 2 +- src/cairo-svg-surface.c | 2 +- src/cairo-toy-font-face.c | 2 +- src/cairo-truetype-subset.c | 2 +- src/cairo-type1-fallback.c | 2 +- src/cairo-type1-subset.c | 2 +- 15 files changed, 15 insertions(+), 15 deletions(-) commit 49d396efa91968237329071202dfb82bd7fc12d8 Author: Aleksander Morgado AuthorDate: Mon Aug 28 11:23:34 2017 +0200 Commit: Bryce Harrington CommitDate: Mon Dec 4 16:20:16 2017 -0800 build: fix minor typo in autogen.sh Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=102452 Reviewed-by: Bryce Harrington autogen.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 6491b686be37bab6c7f9f6e621baf2b298e75341 Author: Adrian Johnson AuthorDate: Fri Sep 22 20:10:10 2017 +0930 Commit: Bryce Harrington CommitDate: Mon Dec 4 16:19:58 2017 -0800 truetype: reserve space in subset arrays for .notdef Subset array sizes are allocated based on the number of glyphs in the font. In this bug the fonts did not contain the mandatory .notdef glyph, hence the subset arrays were not large enough. https://bugs.freedesktop.org/show_bug.cgi?id=102922 src/cairo-truetype-subset.c | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) commit 6b6926239d8fae6cd0393fd4c18c017e106704be Author: Adrian Johnson AuthorDate: Fri Oct 13 19:27:03 2017 +1030 Commit: Bryce Harrington CommitDate: Mon Dec 4 16:17:35 2017 -0800 output-stream: allow %s strings larger than 512 chars https://bugs.freedesktop.org/show_bug.cgi?id=103249 src/cairo-output-stream.c | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) commit 47b7392416584f17583649e14459decda2d69135 Author: Adrian Johnson AuthorDate: Fri Oct 13 19:44:45 2017 +1030 Commit: Bryce Harrington CommitDate: Mon Dec 4 16:16:40 2017 -0800 truetype: limit font name to 127 chars Some broken fonts have long strings of garbage in the font name https://bugs.freedesktop.org/show_bug.cgi?id=103249 src/cairo-truetype-subset.c | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) commit d53db01d01a48c48a1633a8d531f979a99d316bd Author: Adrian Johnson AuthorDate: Sat Oct 21 13:02:42 2017 +1030 Commit: Bryce Harrington CommitDate: Mon Dec 4 15:31:27 2017 -0800 fix warning: variable X might be clobbered by 'longjmp' Move calls to setjmp into separate function to avoid clobbering local variables. src/cairo-bentley-ottmann-rectangular.c | 8 +++++++- src/cairo-png.c | 17 +++++++++++------ 2 files changed, 18 insertions(+), 7 deletions(-) commit 0aa4628557a6dca5941e78848a6c710ff1417d84 Author: Adrian Johnson AuthorDate: Sat Oct 21 20:05:56 2017 +1030 Commit: Bryce Harrington CommitDate: Mon Dec 4 15:31:20 2017 -0800 util/font-view: fix build error util/font-view.c | 2 ++ 1 file changed, 2 insertions(+) commit 47b40ad2d5d4337349a93c3607e24115f3ec24bd Author: Adrian Johnson AuthorDate: Sat Oct 21 13:05:26 2017 +1030 Commit: Bryce Harrington CommitDate: Mon Dec 4 15:31:11 2017 -0800 fix warning: inlining failed in call to '_csi_stack_push' util/cairo-script/cairo-script-interpreter.c | 11 +++++++++++ util/cairo-script/cairo-script-private.h | 11 ++--------- 2 files changed, 13 insertions(+), 9 deletions(-) commit bc21c580c8eda1e04a3cd14edd0f22d0cc54ade9 Author: Carlos Garcia Campos AuthorDate: Wed Oct 18 11:33:25 2017 +0200 Commit: Bryce Harrington CommitDate: Mon Dec 4 15:30:43 2017 -0800 scaled-font: Fix assert when destroying glyph page This happens when _cairo_ft_scaled_glyph_init() returns CAIRO_INT_STATUS_UNSUPPORTED when called from _cairo_scaled_glyph_lookup(). In those cases _cairo_scaled_font_free_last_glyph() is called to release the glyph that has just been allocated. If there aren't more glyphs, _cairo_scaled_glyph_page_destroy() is called. The problem is that _cairo_scaled_glyph_lookup() should always be called with the cache frozen, and _cairo_scaled_glyph_page_destroy() without the cache frozen. We can simply thaw/freeze the font before calling _cairo_scaled_glyph_page_destroy(). https://bugs.freedesktop.org/show_bug.cgi?id=103335 src/cairo-scaled-font.c | 7 +++++++ 1 file changed, 7 insertions(+) commit 96b918c4458ce0546e107af69bb7efe832c097a3 Author: Bryce Harrington AuthorDate: Thu Jun 15 15:52:56 2017 -0700 Commit: Bryce Harrington CommitDate: Thu Jun 15 15:52:56 2017 -0700 Start 1.14.11 development cairo-version.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)