commit 0df2e9592be488dcb3f3edfdfae64086e924eb92 Author: Matthias Clasen Date: Thu Jan 10 06:30:23 2013 -0500 1.35.6 NEWS | 7 +++++++ configure.ac | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) commit 48423ef827f5fcedac92e1e73c29f0bb94eeadda Author: Matthias Clasen Date: Thu Jan 10 06:24:15 2013 -0500 Bump fontconfig dep to 2.10.91 This is the first version of fontconfig that is thread-safe. configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 95d13cec4da1571ea8b649fa3b972eea3f4b40db Author: Behdad Esfahbod Date: Tue Jan 8 12:50:01 2013 -0600 Put g_type_init() back in tests/test-pangocairo-threads.c | 4 ++++ 1 file changed, 4 insertions(+) commit 112cd3cfdd03854aefc3c88107aa1084879b251c Author: Behdad Esfahbod Date: Tue Jan 8 11:43:55 2013 -0600 Remove unused macros tests/testboundaries.c | 24 ------------------------ 1 file changed, 24 deletions(-) commit 3d18d7c1e75100fbe640b954ff2ae3b6dc03fe99 Author: Behdad Esfahbod Date: Tue Jan 8 11:42:37 2013 -0600 Minor tests/Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 88e0d1599cb0307fe93cf31b36f654303422b411 Author: Matthias Clasen Date: Mon Jan 7 21:05:41 2013 -0500 Avoid compiler warnings in testiter.c Drop an unused variable, and don't call the deprecated pango_cairo_font_map_create_context(). tests/testiter.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) commit ea9d405f1c5bd964ca52f2f07d49c0a49177e478 Author: Matthias Clasen Date: Mon Jan 7 21:05:07 2013 -0500 Avoid a compiler warning ifdef out a function whose only use is already ifdef'ed out. tests/testboundaries.c | 2 ++ 1 file changed, 2 insertions(+) commit c89e5e952fe1a3349af43e5e608ac9eef87811cf Author: Matthias Clasen Date: Mon Jan 7 21:04:26 2013 -0500 Ignore deprecations in test-ot-tags This entire test is about the deprecated OpenType API. Not much we can do except ignoring deprecations. tests/test-ot-tags.c | 6 ++++++ 1 file changed, 6 insertions(+) commit 18dd09645a2dc27a79264dbefaddac4689a9ab87 Author: Matthias Clasen Date: Mon Jan 7 21:03:29 2013 -0500 Don't use deprecated pango_fc_font_get_unknown_glyph Replace it with PANGO_GET_UNKNOWN_GLYPH. pango/pangoxft-font.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 2dc0c3dbb1c389c3a3ba12a5c5c85f21dca46e84 Author: Matthias Clasen Date: Mon Jan 7 21:01:45 2013 -0500 Don't use the deprecated pango_ft2_font_get_face Replace it with pango_fc_font_lock/unlock_face calls. pango/pangoft2-render.c | 6 +++++- pango/pangoft2.c | 17 ++++++++++++----- 2 files changed, 17 insertions(+), 6 deletions(-) commit b9bdbfdbb454bd172820344244b881cb4dc7826e Author: Matthias Clasen Date: Mon Jan 7 21:01:07 2013 -0500 Avoid deprecation warnings pango/pangoft2-fontmap.c | 2 ++ 1 file changed, 2 insertions(+) commit 3b075896608f252a9cfba76a1d7d40f9fe5b24c4 Author: Matthias Clasen Date: Mon Jan 7 20:28:30 2013 -0500 Fix another compiler warning gcc doesn't like #ifndef LANGUAGE(x, y, z). pango/pango-language-sample-table.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit cc1661bac933a078913ad0bb6ff9d727b585afb0 Author: Matthias Clasen Date: Mon Jan 7 20:26:53 2013 -0500 Fix a compiler warning Add the new paragraph_text/length parameters to the script_shape implementation in the fallback engine. pango/pango-engine.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) commit 922c0d4ea0516419422b1d77b5b25176cc72f691 Author: Matthias Clasen Date: Mon Jan 7 20:19:49 2013 -0500 Don't call g_type_init if GLib is new enough g_type_init has been deprecated in GLib 2.35.x. Use a version check here to avoid depending on unstable GLib. pango-view/viewer-main.c | 2 ++ pango/modules.c | 2 ++ pango/pangoft2-fontmap.c | 2 ++ pango/pangowin32-fontmap.c | 2 ++ pango/pangoxft-fontmap.c | 2 ++ pango/querymodules.c | 2 ++ 6 files changed, 12 insertions(+) commit 4dd5a5e18d4d3184ce4c97e0bcd9e97ebb267831 Author: Behdad Esfahbod Date: Mon Jan 7 15:29:15 2013 -0600 Fix last leak in test-pangocairo-threads tests/test-pangocairo-threads.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) commit 96f6c065deae8093f3c27e040ac1586de6113309 Author: Behdad Esfahbod Date: Mon Jan 7 02:13:11 2013 -0600 Fix test leaks Valgrinding.... Apparently somewhere some memory corruption happens. Argh... tests/test-pangocairo-threads.c | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) commit 87ed96661e6217727f59fe372b47ff66ccbf578b Author: Behdad Esfahbod Date: Mon Jan 7 02:10:03 2013 -0600 Fix warning in g_object_ref (NULL) pango/pangocairo-fontmap.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) commit 50c692acd35b2c0cfe6125f820e5480f4b59ef19 Author: Behdad Esfahbod Date: Mon Jan 7 01:19:49 2013 -0600 Make test-pangocairo-threads stress fontconfig more tests/test-pangocairo-threads.c | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) commit f45cdd9a4fef1096b071e6bad4cc40e06f48ba46 Author: Behdad Esfahbod Date: Sun Jan 6 23:15:44 2013 -0600 Bug 691263 - Build with automake-1.13 broken Replace long obsolete AM_CONFIG_HEADER with proper AC_CONFIG_HEADERS. automake-1.13 errors out upon seeing former. Signed-off-by: Marko Lindqvist configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit eeebdac3e8b2bfdeba1069f61b3a8ee6382be1b1 Author: Behdad Esfahbod Date: Fri Jan 4 00:43:58 2013 -0600 Enable test-pangocairo-threads by default Using 100 threads and 100 iterations per thread. Only passes with fontconfig master. We will get a release made and required soon... tests/Makefile.am | 2 +- tests/test-pangocairo-threads.c | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) commit 080c1eaf78e0d4eff2c81720a750845bad47c709 Author: Behdad Esfahbod Date: Fri Jan 4 00:38:17 2013 -0600 Improve test-pangocairo-threads Can be run standalone now, compares the output of all threads and fails if they mismatch. tests/test-pangocairo-threads.c | 62 ++++++++++++++++++++++++++++++++--------- 1 file changed, 49 insertions(+), 13 deletions(-) commit 4ab0d57a7f7bfcd8a4b893d23f7a4923806a9113 Author: Behdad Esfahbod Date: Fri Jan 4 00:23:42 2013 -0600 Refactor test-pangocairo-threads.c tests/test-pangocairo-threads.c | 44 ++++++++++++++++++++++++----------------- 1 file changed, 26 insertions(+), 18 deletions(-) commit 6978bb5c26147bea96af083c282dc95c67cfb257 Author: Behdad Esfahbod Date: Fri Jan 4 00:19:23 2013 -0600 Improve test-pangocairo-threads tests/test-pangocairo-threads.c | 28 +++++++++++++++++++--------- 1 file changed, 19 insertions(+), 9 deletions(-) commit d64005ea687a7263dc070c1314a4f211a2994fc9 Author: Behdad Esfahbod Date: Thu Jan 3 23:40:02 2013 -0600 Update test-pangocairo-threads to new threads API tests/test-pangocairo-threads.c | 32 +++++++++++++------------------- 1 file changed, 13 insertions(+), 19 deletions(-) commit 1037c5dcb51cd0865360533da7e97638dda35f7f Author: Behdad Esfahbod Date: Thu Jan 3 20:06:23 2013 -0600 Update docs to reflect per-thread default fontmap pango/pangocairo-fontmap.c | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) commit dd90b07699fe5bf0ea5dfee7e907662e8ca8280b Author: Behdad Esfahbod Date: Thu Jan 3 03:52:09 2013 -0600 Make pango threadsafe! By way of declaring fontmaps NOT threadsafe, and making pango_cairo_font_map_get_default() return a thread-private fontmap. test-pangocairo-threads doesn't crash anymore, if used with fontconfig master. pango/pangocairo-fontmap.c | 33 ++++++++++----------------------- 1 file changed, 10 insertions(+), 23 deletions(-) commit 00997204f7df5f4e2f75f8c1c2f72130f302e7c6 Author: Behdad Esfahbod Date: Thu Jan 3 03:51:10 2013 -0600 Add test-pangocairo-threads.c Currently is not run automatically. But run it with args "10 100" and see it crash... tests/Makefile.am | 3 +- tests/test-pangocairo-threads.c | 74 +++++++++++++++++++++++++++++++++++++++++ 2 files changed, 76 insertions(+), 1 deletion(-) commit 97b14f5ca62d37311798ecdd39ea4368785a2fa8 Author: Behdad Esfahbod Date: Wed Nov 7 10:58:40 2012 -0800 Link to gthread-2.0 configure.ac | 7 +------ pango/Makefile.am | 2 +- 2 files changed, 2 insertions(+), 7 deletions(-) commit 5e020e7ac951add45ff47dda38b6f5ed873bfbca Author: Behdad Esfahbod Date: Thu Jan 3 03:19:15 2013 -0600 Revert "Bug 689342 - Lifetime of patterns in pattern_hash may use too much memory" This reverts commit 7ed3cb89923c376d8b30ae3f977ab9e1a231e430, after resolving conflicts. The patch introduced some lifecycle management issues that could easily cause crashing. Reverting till the issues are resolved. pango/pangofc-fontmap.c | 229 +++++++++++++----------------------------------- 1 file changed, 61 insertions(+), 168 deletions(-) commit 3c4520764353d358e395431fdbefb60480f08a6f Author: Behdad Esfahbod Date: Sun Dec 30 21:44:56 2012 -0600 Whitespace pango/pangofc-fontmap.c | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) commit a4f56b5d8b3c3009fea7dafc3804fe573045bb32 Author: Behdad Esfahbod Date: Sun Dec 30 20:52:10 2012 -0600 Fix most of "failed to choose font" warnings If we are in fallback mode, with a font that has to space glyph, then looking up engine/font for any character not in the font was failing badly. In that case, if there's only one engine (which is the case these days), just choose it. pango/pango-context.c | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) commit f0cd936cf62c552bc6b17f6ecb70c2de783a9e80 Author: Behdad Esfahbod Date: Sun Dec 30 18:50:42 2012 -0600 Don't RenderPrepare the FcFontMatch result After commit 7c1d6208a4b42ef3a3cce0d8dffb214c7a321e5e, the first matched font was being prepared twice, causing misconfiguration. pango/pangofc-fontmap.c | 25 ++++++++++++++++++------- 1 file changed, 18 insertions(+), 7 deletions(-) commit 8c1a6ef147edceb05921bb892d620bdced277662 Author: John Ralls Date: Sat Dec 29 13:36:33 2012 -0800 Revert "Make PANGO_GLYPH flags an enum to make gobject-introspection happy." This reverts commit 7274bd56db3ce2f02594687a307d22aa99c787c4. Whatever the problem was with g-ir-scanner, it's resolved. pango/pango-font.h | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) commit 7ed3cb89923c376d8b30ae3f977ab9e1a231e430 Author: Behdad Esfahbod Date: Thu Dec 20 00:51:55 2012 -0500 Bug 689342 - Lifetime of patterns in pattern_hash may use too much memory Refcount cached patterns. pango/pangofc-fontmap.c | 207 +++++++++++++++++++++++++++++++++++++----------- 1 file changed, 161 insertions(+), 46 deletions(-) commit 6ee53b4e4567b4d7f2b8799d00ecea223ab4b28f Author: Behdad Esfahbod Date: Wed Dec 19 12:51:32 2012 -0500 Link basicfc module to HarfBuzz FDO Bug 58496 - Basic module doesn't link against HarfBuzz modules/basic/Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) commit 2df1807564ba146a207b8e4087f18161e7beaa0a Author: Behdad Esfahbod Date: Tue Dec 18 13:59:33 2012 -0500 Bug 690279 - broken relocation of modules Fix OS X relocation. pango/modules.c | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) commit 28cbfde6a0829283c22ab586907096ae2ad72dc0 Author: Behdad Esfahbod Date: Tue Dec 18 13:30:04 2012 -0500 [hb] Pass down BOT/EOT flags to HarfBuzz modules/basic/basic-fc.c | 3 +++ 1 file changed, 3 insertions(+) commit 97c470ebebb34ce3e5720a3a1003cf1c07e49308 Author: Behdad Esfahbod Date: Mon Dec 17 23:51:46 2012 -0500 Hint advances correctly modules/basic/basic-fc.c | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-)