Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package fcft for openSUSE:Factory checked in at 2021-07-08 22:49:13 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/fcft (Old) and /work/SRC/openSUSE:Factory/.fcft.new.2625 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "fcft" Thu Jul 8 22:49:13 2021 rev:3 rq:904655 version:2.4.2 Changes: -------- --- /work/SRC/openSUSE:Factory/fcft/fcft.changes 2021-07-02 13:28:58.540058286 +0200 +++ /work/SRC/openSUSE:Factory/.fcft.new.2625/fcft.changes 2021-07-08 22:49:24.952007486 +0200 @@ -1,0 +2,7 @@ +Thu Jul 8 02:17:09 UTC 2021 - Arnav Singh <[email protected]> + +- Update to 2.4.2: + * Fixed rare crash when one thread was doing a glyph cache lookup, + while another was resizing the cache. + +------------------------------------------------------------------- Old: ---- fcft-2.4.1.tar.gz New: ---- fcft-2.4.2.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ fcft.spec ++++++ --- /var/tmp/diff_new_pack.79w2to/_old 2021-07-08 22:49:25.452003628 +0200 +++ /var/tmp/diff_new_pack.79w2to/_new 2021-07-08 22:49:25.456003597 +0200 @@ -18,7 +18,7 @@ %define libname libfcft3 Name: fcft -Version: 2.4.1 +Version: 2.4.2 Release: 0 Summary: A library for font loading and glyph rasterization using FreeType/pixman License: MIT ++++++ fcft-2.4.1.tar.gz -> fcft-2.4.2.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/fcft/CHANGELOG.md new/fcft/CHANGELOG.md --- old/fcft/CHANGELOG.md 2021-06-23 12:01:06.000000000 +0200 +++ new/fcft/CHANGELOG.md 2021-07-07 19:39:44.000000000 +0200 @@ -1,5 +1,6 @@ # Changelog +* [2.4.2](#2-4-2) * [2.4.1](#2-4-1) * [2.4.0](#2-4-0) * [2.3.3](#2-3-3) @@ -22,6 +23,14 @@ * [1.1.7](#1-1-7) +## 2.4.2 + +### Fixed + +* Rare crash when one thread was doing a glyph cache lookup, while + another was resizing the cache. + + ## 2.4.1 ### Changed diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/fcft/PKGBUILD new/fcft/PKGBUILD --- old/fcft/PKGBUILD 2021-06-23 12:01:06.000000000 +0200 +++ new/fcft/PKGBUILD 2021-07-07 19:39:44.000000000 +0200 @@ -1,5 +1,5 @@ pkgname=fcft -pkgver=2.4.1 +pkgver=2.4.2 pkgrel=1 pkgdesc="Simple font loading and glyph rasterization library" changelog=CHANGELOG.md diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/fcft/doc/fcft_capabilities.3.scd new/fcft/doc/fcft_capabilities.3.scd --- old/fcft/doc/fcft_capabilities.3.scd 2021-06-23 12:01:06.000000000 +0200 +++ new/fcft/doc/fcft_capabilities.3.scd 2021-07-07 19:39:44.000000000 +0200 @@ -18,7 +18,7 @@ ``` enum fcft_capabilities { FCFT_CAPABILITY_GRAPHEME_SHAPING = 0x1, /* Since 2.3.0 */ - FCFT_CAPABILITY_TEXT_RUN_SHAPING = 0x2, /* Since 2.4.0 */ + FCFT_CAPABILITY_TEXT_RUN_SHAPING = 0x2, /* Since 2.4.2 */ }; ``` diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/fcft/doc/fcft_clone.3.scd new/fcft/doc/fcft_clone.3.scd --- old/fcft/doc/fcft_clone.3.scd 2021-06-23 12:01:06.000000000 +0200 +++ new/fcft/doc/fcft_clone.3.scd 2021-07-07 19:39:44.000000000 +0200 @@ -1,4 +1,4 @@ -fcft_clone(3) "2.4.0" "fcft" +fcft_clone(3) "2.4.2" "fcft" # NAME diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/fcft/doc/fcft_destroy.3.scd new/fcft/doc/fcft_destroy.3.scd --- old/fcft/doc/fcft_destroy.3.scd 2021-06-23 12:01:06.000000000 +0200 +++ new/fcft/doc/fcft_destroy.3.scd 2021-07-07 19:39:44.000000000 +0200 @@ -1,4 +1,4 @@ -fcft_destroy(3) "2.4.0" "fcft" +fcft_destroy(3) "2.4.2" "fcft" # NAME diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/fcft/doc/fcft_from_name.3.scd new/fcft/doc/fcft_from_name.3.scd --- old/fcft/doc/fcft_from_name.3.scd 2021-06-23 12:01:06.000000000 +0200 +++ new/fcft/doc/fcft_from_name.3.scd 2021-07-07 19:39:44.000000000 +0200 @@ -1,4 +1,4 @@ -fcft_from_name(3) "2.4.0" "fcft" +fcft_from_name(3) "2.4.2" "fcft" # NAME diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/fcft/doc/fcft_glyph_rasterize.3.scd new/fcft/doc/fcft_glyph_rasterize.3.scd --- old/fcft/doc/fcft_glyph_rasterize.3.scd 2021-06-23 12:01:06.000000000 +0200 +++ new/fcft/doc/fcft_glyph_rasterize.3.scd 2021-07-07 19:39:44.000000000 +0200 @@ -1,4 +1,4 @@ -fcft_glyph_rasterize(3) "2.4.0" "fcft" +fcft_glyph_rasterize(3) "2.4.2" "fcft" # NAME diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/fcft/doc/fcft_grapheme_rasterize.3.scd new/fcft/doc/fcft_grapheme_rasterize.3.scd --- old/fcft/doc/fcft_grapheme_rasterize.3.scd 2021-06-23 12:01:06.000000000 +0200 +++ new/fcft/doc/fcft_grapheme_rasterize.3.scd 2021-07-07 19:39:44.000000000 +0200 @@ -1,4 +1,4 @@ -fcft_grapheme_rasterize(3) "2.4.0" "fcft" +fcft_grapheme_rasterize(3) "2.4.2" "fcft" # NAME diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/fcft/doc/fcft_kerning.3.scd new/fcft/doc/fcft_kerning.3.scd --- old/fcft/doc/fcft_kerning.3.scd 2021-06-23 12:01:06.000000000 +0200 +++ new/fcft/doc/fcft_kerning.3.scd 2021-07-07 19:39:44.000000000 +0200 @@ -1,4 +1,4 @@ -fcft_kerning(3) "2.4.0" "fcft" +fcft_kerning(3) "2.4.2" "fcft" # NAME diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/fcft/doc/fcft_log_init.3.scd new/fcft/doc/fcft_log_init.3.scd --- old/fcft/doc/fcft_log_init.3.scd 2021-06-23 12:01:06.000000000 +0200 +++ new/fcft/doc/fcft_log_init.3.scd 2021-07-07 19:39:44.000000000 +0200 @@ -1,4 +1,4 @@ -fcft_log_init(3) "2.4.0" "fcft" +fcft_log_init(3) "2.4.2" "fcft" # NAME diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/fcft/doc/fcft_precompose.3.scd new/fcft/doc/fcft_precompose.3.scd --- old/fcft/doc/fcft_precompose.3.scd 2021-06-23 12:01:06.000000000 +0200 +++ new/fcft/doc/fcft_precompose.3.scd 2021-07-07 19:39:44.000000000 +0200 @@ -1,4 +1,4 @@ -fcft_precompose(3) "2.4.0" "fcft" +fcft_precompose(3) "2.4.2" "fcft" # NAME diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/fcft/doc/fcft_set_scaling_filter.3.scd new/fcft/doc/fcft_set_scaling_filter.3.scd --- old/fcft/doc/fcft_set_scaling_filter.3.scd 2021-06-23 12:01:06.000000000 +0200 +++ new/fcft/doc/fcft_set_scaling_filter.3.scd 2021-07-07 19:39:44.000000000 +0200 @@ -1,4 +1,4 @@ -fcft_set_scaling_filter(3) "2.4.0" "fcft" +fcft_set_scaling_filter(3) "2.4.2" "fcft" # NAME diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/fcft/doc/fcft_size_adjust.3.scd new/fcft/doc/fcft_size_adjust.3.scd --- old/fcft/doc/fcft_size_adjust.3.scd 2021-06-23 12:01:06.000000000 +0200 +++ new/fcft/doc/fcft_size_adjust.3.scd 2021-07-07 19:39:44.000000000 +0200 @@ -1,4 +1,4 @@ -fcft_size_adjust(3) "2.4.0" "fcft" +fcft_size_adjust(3) "2.4.2" "fcft" # NAME diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/fcft/doc/fcft_text_run_destroy.3.scd new/fcft/doc/fcft_text_run_destroy.3.scd --- old/fcft/doc/fcft_text_run_destroy.3.scd 2021-06-23 12:01:06.000000000 +0200 +++ new/fcft/doc/fcft_text_run_destroy.3.scd 2021-07-07 19:39:44.000000000 +0200 @@ -1,4 +1,4 @@ -fcft_text_run_destroy(3) "2.4.0" "fcft" +fcft_text_run_destroy(3) "2.4.2" "fcft" # NAME diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/fcft/doc/fcft_text_run_rasterize.3.scd new/fcft/doc/fcft_text_run_rasterize.3.scd --- old/fcft/doc/fcft_text_run_rasterize.3.scd 2021-06-23 12:01:06.000000000 +0200 +++ new/fcft/doc/fcft_text_run_rasterize.3.scd 2021-07-07 19:39:44.000000000 +0200 @@ -1,4 +1,4 @@ -fcft_text_run_rasterize(3) "2.4.0" "fcft" +fcft_text_run_rasterize(3) "2.4.2" "fcft" # NAME @@ -14,9 +14,9 @@ # DESCRIPTION -*fcft_text_run_rasterize*() rasterizes the string _text_ into a series -of glyphs using the primary font, and possibly one or more fallback -fonts, in _font_. +*fcft_text_run_rasterize*() shapes and rasterizes the string _text_ +into a series of glyphs using the primary font, and possibly one or +more fallback fonts, in _font_. _subpixel_ allows you to specify which subpixel mode to use. See *fcft_glyph_rasterize*() for details. @@ -30,15 +30,15 @@ has been shaped. There is limited support for right-to-left -scripts. *hb_buffer_guess_segment_properties*() is used guess whether -to use left-to-right, or right-to-left logic, and this is done each -time we try to shape a part of the string. +scripts. *hb_buffer_guess_segment_properties*() is used to guess +whether to use left-to-right, or right-to-left, logic, and this is +done each time we try to shape a part of the string. As a consequence, the result of mixed LTR and RTL strings depends on the font; if the font has glyphs for all characters in the string, *hb_buffer_guess_segment_properties*() is only called once, on the -entire string. Meaning the entire string is either subject to either -LTR, or RTL logic, but not both. +entire string. Meaning the entire string is subject to either LTR, or +RTL logic, but not both. If the (primary) font does not have glyphs for all characters, then *hb_buffer_guess_segment_properties*() will be called for each segment diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/fcft/fcft.c new/fcft/fcft.c --- old/fcft/fcft.c 2021-06-23 12:01:06.000000000 +0200 +++ new/fcft/fcft.c 2021-07-07 19:39:44.000000000 +0200 @@ -1620,7 +1620,6 @@ assert(table[idx] == NULL); table[idx] = entry; - font->glyph_cache.table[i] = NULL; } pthread_rwlock_wrlock(&font->glyph_cache_lock); @@ -1803,7 +1802,6 @@ assert(table[idx] == NULL); table[idx] = entry; - font->grapheme_cache.table[i] = NULL; } pthread_rwlock_wrlock(&font->grapheme_cache_lock); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/fcft/meson.build new/fcft/meson.build --- old/fcft/meson.build 2021-06-23 12:01:06.000000000 +0200 +++ new/fcft/meson.build 2021-07-07 19:39:44.000000000 +0200 @@ -1,5 +1,5 @@ project('fcft', 'c', - version: '2.4.1', # Don't forget to update version in man pages + version: '2.4.2', # Don't forget to update version in man pages license: 'MIT', meson_version: '>=0.54.0', default_options: [ @@ -20,7 +20,7 @@ so_version = [ '3', # MAJOR: increment on non-backward compatible ABI changes '4', # MINOR: increment with backward compatible ABI changes - '1', # PATCH: increment with non-ABI affecting changes + '2', # PATCH: increment with non-ABI affecting changes ] is_debug_build = get_option('buildtype').startswith('debug')
