[HarfBuzz] harfbuzz-ng: Branch 'master' - 2 commits

Behdad Esfahbod behdad at kemper.freedesktop.org
Wed May 11 22:20:09 PDT 2011


 TODO                     |    6 ++++++
 src/hb-object-private.hh |    2 ++
 2 files changed, 8 insertions(+)

New commits:
commit df077fadd7828b609bdfe4dbcad52ef2448525c7
Author: Behdad Esfahbod <behdad at behdad.org>
Date:   Thu May 12 01:19:39 2011 -0400

    [object] Make object inert during destruction
    
    Such that user_data and other finalizers cannot resurrect object

diff --git a/src/hb-object-private.hh b/src/hb-object-private.hh
index 08f4bb1..90f227c 100644
--- a/src/hb-object-private.hh
+++ b/src/hb-object-private.hh
@@ -170,6 +170,8 @@ struct _hb_object_header_t {
     if (ref_count.dec () != 1)
       return false;
 
+    ref_count.init (HB_REFERENCE_COUNT_INVALID_VALUE);
+
     user_data.finish ();
 
     return true;
commit ee8dd83bb4e0b1c2ca5928391e35e8bd1fca6121
Author: Behdad Esfahbod <behdad at behdad.org>
Date:   Thu May 12 01:02:03 2011 -0400

    [TODO] Update

diff --git a/TODO b/TODO
index e0663ff..311151e 100644
--- a/TODO
+++ b/TODO
@@ -50,6 +50,12 @@ hb-view enhancements:
 - Add XML and JSON formats
 
 
+Tests to write:
+==============
+
+- ot-layout enumeration API (needs font)
+
+
 Optimizations:
 =============
 



More information about the HarfBuzz mailing list