texlive[43457] Build/source/libs: harfbuzz 1.4.5

commits+kakuto at tug.org commits+kakuto at tug.org
Sat Mar 11 22:30:40 CET 2017


Revision: 43457
          http://tug.org/svn/texlive?view=revision&revision=43457
Author:   kakuto
Date:     2017-03-11 22:30:40 +0100 (Sat, 11 Mar 2017)
Log Message:
-----------
harfbuzz 1.4.5

Modified Paths:
--------------
    trunk/Build/source/libs/README
    trunk/Build/source/libs/harfbuzz/ChangeLog
    trunk/Build/source/libs/harfbuzz/TLpatches/ChangeLog
    trunk/Build/source/libs/harfbuzz/TLpatches/TL-Changes
    trunk/Build/source/libs/harfbuzz/configure
    trunk/Build/source/libs/harfbuzz/harfbuzz-src/ChangeLog
    trunk/Build/source/libs/harfbuzz/harfbuzz-src/NEWS
    trunk/Build/source/libs/harfbuzz/harfbuzz-src/configure.ac
    trunk/Build/source/libs/harfbuzz/harfbuzz-src/src/hb-buffer-serialize.cc
    trunk/Build/source/libs/harfbuzz/harfbuzz-src/src/hb-ot-layout-gsubgpos-private.hh
    trunk/Build/source/libs/harfbuzz/version.ac

Modified: trunk/Build/source/libs/README
===================================================================
--- trunk/Build/source/libs/README	2017-03-11 06:43:46 UTC (rev 43456)
+++ trunk/Build/source/libs/README	2017-03-11 21:30:40 UTC (rev 43457)
@@ -24,7 +24,7 @@
 graphite2 1.3.9 - checked 13nov16
   http://sourceforge.net/projects/silgraphite/files/graphite2/
 
-harfbuzz 1.4.4 - checked 06mar17
+harfbuzz 1.4.5 - checked 11mar17
   http://www.freedesktop.org/software/harfbuzz/release/
 
 icu 57.1 (release) - checked 27mar16

Modified: trunk/Build/source/libs/harfbuzz/ChangeLog
===================================================================
--- trunk/Build/source/libs/harfbuzz/ChangeLog	2017-03-11 06:43:46 UTC (rev 43456)
+++ trunk/Build/source/libs/harfbuzz/ChangeLog	2017-03-11 21:30:40 UTC (rev 43457)
@@ -1,3 +1,8 @@
+2017-03-11  Akira Kakuto  <kakuto at fuk.kindai.ac.jp>
+
+	Import harfbuzz-1.4.5.
+	* version.ac: Adjusted.
+
 2017-03-06  Akira Kakuto  <kakuto at fuk.kindai.ac.jp>
 
 	Import harfbuzz-1.4.4.

Modified: trunk/Build/source/libs/harfbuzz/TLpatches/ChangeLog
===================================================================
--- trunk/Build/source/libs/harfbuzz/TLpatches/ChangeLog	2017-03-11 06:43:46 UTC (rev 43456)
+++ trunk/Build/source/libs/harfbuzz/TLpatches/ChangeLog	2017-03-11 21:30:40 UTC (rev 43457)
@@ -1,3 +1,8 @@
+2017-03-11  Akira Kakuto  <kakuto at fuk.kindai.ac.jp>
+
+	Imported harfbuzz-1.4.5 source tree from:
+	  http://www.freedesktop.org/software/harfbuzz/release/
+
 2017-03-06  Akira Kakuto  <kakuto at fuk.kindai.ac.jp>
 
 	Imported harfbuzz-1.4.4 source tree from:

Modified: trunk/Build/source/libs/harfbuzz/TLpatches/TL-Changes
===================================================================
--- trunk/Build/source/libs/harfbuzz/TLpatches/TL-Changes	2017-03-11 06:43:46 UTC (rev 43456)
+++ trunk/Build/source/libs/harfbuzz/TLpatches/TL-Changes	2017-03-11 21:30:40 UTC (rev 43457)
@@ -1,4 +1,4 @@
-Changes applied to the harfbuzz-1.4.4/ tree as obtained from:
+Changes applied to the harfbuzz-1.4.5/ tree as obtained from:
 	http://www.freedesktop.org/software/harfbuzz/release/
 
 Removed:

Modified: trunk/Build/source/libs/harfbuzz/configure
===================================================================
--- trunk/Build/source/libs/harfbuzz/configure	2017-03-11 06:43:46 UTC (rev 43456)
+++ trunk/Build/source/libs/harfbuzz/configure	2017-03-11 21:30:40 UTC (rev 43457)
@@ -1,6 +1,6 @@
 #! /bin/sh
 # Guess values for system-dependent variables and create Makefiles.
-# Generated by GNU Autoconf 2.69 for harfbuzz (TeX Live) 1.4.4.
+# Generated by GNU Autoconf 2.69 for harfbuzz (TeX Live) 1.4.5.
 #
 # Report bugs to <tex-k at tug.org>.
 #
@@ -580,8 +580,8 @@
 # Identity of this package.
 PACKAGE_NAME='harfbuzz (TeX Live)'
 PACKAGE_TARNAME='harfbuzz--tex-live-'
-PACKAGE_VERSION='1.4.4'
-PACKAGE_STRING='harfbuzz (TeX Live) 1.4.4'
+PACKAGE_VERSION='1.4.5'
+PACKAGE_STRING='harfbuzz (TeX Live) 1.4.5'
 PACKAGE_BUGREPORT='tex-k at tug.org'
 PACKAGE_URL=''
 
@@ -1312,7 +1312,7 @@
   # Omit some internal or obsolete options to make the list less imposing.
   # This message is too long to be a string in the A/UX 3.1 sh.
   cat <<_ACEOF
-\`configure' configures harfbuzz (TeX Live) 1.4.4 to adapt to many kinds of systems.
+\`configure' configures harfbuzz (TeX Live) 1.4.5 to adapt to many kinds of systems.
 
 Usage: $0 [OPTION]... [VAR=VALUE]...
 
@@ -1383,7 +1383,7 @@
 
 if test -n "$ac_init_help"; then
   case $ac_init_help in
-     short | recursive ) echo "Configuration of harfbuzz (TeX Live) 1.4.4:";;
+     short | recursive ) echo "Configuration of harfbuzz (TeX Live) 1.4.5:";;
    esac
   cat <<\_ACEOF
 
@@ -1490,7 +1490,7 @@
 test -n "$ac_init_help" && exit $ac_status
 if $ac_init_version; then
   cat <<\_ACEOF
-harfbuzz (TeX Live) configure 1.4.4
+harfbuzz (TeX Live) configure 1.4.5
 generated by GNU Autoconf 2.69
 
 Copyright (C) 2012 Free Software Foundation, Inc.
@@ -2080,7 +2080,7 @@
 This file contains any messages produced by compilers while
 running configure, to aid debugging if configure makes a mistake.
 
-It was created by harfbuzz (TeX Live) $as_me 1.4.4, which was
+It was created by harfbuzz (TeX Live) $as_me 1.4.5, which was
 generated by GNU Autoconf 2.69.  Invocation command line was
 
   $ $0 $@
@@ -4003,7 +4003,7 @@
 
 # Define the identity of the package.
  PACKAGE='harfbuzz--tex-live-'
- VERSION='1.4.4'
+ VERSION='1.4.5'
 
 
 cat >>confdefs.h <<_ACEOF
@@ -4206,8 +4206,8 @@
 
 HB_VERSION_MAJOR=1
 HB_VERSION_MINOR=4
-HB_VERSION_MICRO=4
-HB_VERSION=1.4.4
+HB_VERSION_MICRO=5
+HB_VERSION=1.4.5
 
 ac_ext=c
 ac_cpp='$CPP $CPPFLAGS'
@@ -6866,7 +6866,7 @@
 # report actual input values of CONFIG_FILES etc. instead of their
 # values after options handling.
 ac_log="
-This file was extended by harfbuzz (TeX Live) $as_me 1.4.4, which was
+This file was extended by harfbuzz (TeX Live) $as_me 1.4.5, which was
 generated by GNU Autoconf 2.69.  Invocation command line was
 
   CONFIG_FILES    = $CONFIG_FILES
@@ -6932,7 +6932,7 @@
 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
 ac_cs_version="\\
-harfbuzz (TeX Live) config.status 1.4.4
+harfbuzz (TeX Live) config.status 1.4.5
 configured by $0, generated by GNU Autoconf 2.69,
   with options \\"\$ac_cs_config\\"
 

Modified: trunk/Build/source/libs/harfbuzz/harfbuzz-src/ChangeLog
===================================================================
--- trunk/Build/source/libs/harfbuzz/harfbuzz-src/ChangeLog	2017-03-11 06:43:46 UTC (rev 43456)
+++ trunk/Build/source/libs/harfbuzz/harfbuzz-src/ChangeLog	2017-03-11 21:30:40 UTC (rev 43457)
@@ -1,3 +1,41 @@
+commit 47e7a1800fba9b8bf042a1f4976a15ab012ebfc7
+Author: Behdad Esfahbod <behdad at behdad.org>
+Date:   Fri Mar 10 13:23:02 2017 -0800
+
+    Revert "Fix Context lookup application when moving back after a
+    glyph delete"
+
+    This reverts commit b9b005f3a44ccf78a45b212b126287b69b9f4b40.
+
+    This introduced invalid access cases. Revert until I fix correctly.
+
+ src/hb-ot-layout-gsubgpos-private.hh                     |   7 ++++---
+ .../sha1sum/5bbf3712e6f79775c66a4407837a90e591efbef2.ttf | Bin 6400 ->
+ 0 bytes
+ test/shaping/tests/context-matching.tests                |   1 -
+ 3 files changed, 4 insertions(+), 4 deletions(-)
+
+commit 3c080a7a0aefec1e9620e3fb399ad280ea4ee5a2
+Author: Behdad Esfahbod <behdad at behdad.org>
+Date:   Tue Mar 7 18:13:28 2017 -0800
+
+    Fix buffer serialize of empty buffer
+
+    Ouch!
+
+ src/hb-buffer-serialize.cc | 2 ++
+ 1 file changed, 2 insertions(+)
+
+commit 8e42c3cb2bb81351d0a28f213cb4f6d35f4b5e46
+Author: Behdad Esfahbod <behdad at behdad.org>
+Date:   Sun Mar 5 13:54:56 2017 -0800
+
+    1.4.4
+
+ NEWS         | 8 ++++++++
+ configure.ac | 2 +-
+ 2 files changed, 9 insertions(+), 1 deletion(-)
+
 commit 9ac9af725c781f4597e8db46cf330d595c072739
 Author: Behdad Esfahbod <behdad at behdad.org>
 Date:   Sun Mar 5 13:51:01 2017 -0800

Modified: trunk/Build/source/libs/harfbuzz/harfbuzz-src/NEWS
===================================================================
--- trunk/Build/source/libs/harfbuzz/harfbuzz-src/NEWS	2017-03-11 06:43:46 UTC (rev 43456)
+++ trunk/Build/source/libs/harfbuzz/harfbuzz-src/NEWS	2017-03-11 21:30:40 UTC (rev 43457)
@@ -1,3 +1,11 @@
+Overview of changes leading to 1.4.5
+Friday, March 10, 2017
+====================================
+
+- Revert "Fix Context lookup application when moving back after a glyph..."
+  This introduced memory access problems.  To be fixed properly soon.
+
+
 Overview of changes leading to 1.4.4
 Sunday, March 5, 2017
 ====================================

Modified: trunk/Build/source/libs/harfbuzz/harfbuzz-src/configure.ac
===================================================================
--- trunk/Build/source/libs/harfbuzz/harfbuzz-src/configure.ac	2017-03-11 06:43:46 UTC (rev 43456)
+++ trunk/Build/source/libs/harfbuzz/harfbuzz-src/configure.ac	2017-03-11 21:30:40 UTC (rev 43457)
@@ -1,6 +1,6 @@
 AC_PREREQ([2.64])
 AC_INIT([HarfBuzz],
-        [1.4.4],
+        [1.4.5],
         [https://github.com/behdad/harfbuzz/issues/new],
         [harfbuzz],
         [http://harfbuzz.org/])

Modified: trunk/Build/source/libs/harfbuzz/harfbuzz-src/src/hb-buffer-serialize.cc
===================================================================
--- trunk/Build/source/libs/harfbuzz/harfbuzz-src/src/hb-buffer-serialize.cc	2017-03-11 06:43:46 UTC (rev 43456)
+++ trunk/Build/source/libs/harfbuzz/harfbuzz-src/src/hb-buffer-serialize.cc	2017-03-11 21:30:40 UTC (rev 43457)
@@ -311,6 +311,8 @@
   if (!buf_consumed)
     buf_consumed = &sconsumed;
   *buf_consumed = 0;
+  if (buf_size)
+    *buf = '\0';
 
   assert ((!buffer->len && buffer->content_type == HB_BUFFER_CONTENT_TYPE_INVALID) ||
 	  buffer->content_type == HB_BUFFER_CONTENT_TYPE_GLYPHS);

Modified: trunk/Build/source/libs/harfbuzz/harfbuzz-src/src/hb-ot-layout-gsubgpos-private.hh
===================================================================
--- trunk/Build/source/libs/harfbuzz/harfbuzz-src/src/hb-ot-layout-gsubgpos-private.hh	2017-03-11 06:43:46 UTC (rev 43456)
+++ trunk/Build/source/libs/harfbuzz/harfbuzz-src/src/hb-ot-layout-gsubgpos-private.hh	2017-03-11 21:30:40 UTC (rev 43457)
@@ -1021,13 +1021,14 @@
      */
 
     end += delta;
-    if (end < int (match_positions[idx]))
+    if (end <= int (match_positions[idx]))
     {
       /* End might end up being smaller than match_positions[idx] if the recursed
-       * lookup ended up removing too many items.
+       * lookup ended up removing many items, more than we have had matched.
        * Just never rewind end back and get out of here.
        * https://bugs.chromium.org/p/chromium/issues/detail?id=659496 */
       end = match_positions[idx];
+      /* There can't be any further changes. */
       break;
     }
 
@@ -1040,7 +1041,7 @@
     }
     else
     {
-      /* NOTE: delta is non-positive. */
+      /* NOTE: delta is negative. */
       delta = MAX (delta, (int) next - (int) count);
       next -= delta;
     }

Modified: trunk/Build/source/libs/harfbuzz/version.ac
===================================================================
--- trunk/Build/source/libs/harfbuzz/version.ac	2017-03-11 06:43:46 UTC (rev 43456)
+++ trunk/Build/source/libs/harfbuzz/version.ac	2017-03-11 21:30:40 UTC (rev 43457)
@@ -8,4 +8,4 @@
 dnl --------------------------------------------------------
 dnl
 dnl  m4-include this file to define the current harfbuzz version
-m4_define([harfbuzz_version], [1.4.4])
+m4_define([harfbuzz_version], [1.4.5])



More information about the tex-live-commits mailing list