[HarfBuzz] harfbuzz: Branch 'master' - 4 commits

Behdad Esfahbod behdad at kemper.freedesktop.org
Thu Aug 16 04:33:41 PDT 2012


 NEWS                     |    2 +-
 src/hb-coretext.cc       |    8 ++++----
 src/hb-fallback-shape.cc |    8 ++++----
 src/hb-graphite2.cc      |    8 ++++----
 src/hb-icu.cc            |    6 ------
 src/hb-old/Makefile.am   |    4 ++--
 src/hb-uniscribe.cc      |    8 ++++----
 7 files changed, 19 insertions(+), 25 deletions(-)

New commits:
commit daf0731865f91da960446928667d4095bde471ea
Author: Behdad Esfahbod <behdad at behdad.org>
Date:   Thu Aug 16 07:32:59 2012 -0400

    [ICU] Fix includes
    
    As reported by Steven Loomis, including uversion.h works everywhere.

diff --git a/src/hb-icu.cc b/src/hb-icu.cc
index e9b8abc..c177be2 100644
--- a/src/hb-icu.cc
+++ b/src/hb-icu.cc
@@ -36,13 +36,7 @@
 #include <unicode/uchar.h>
 #include <unicode/unorm.h>
 #include <unicode/ustring.h>
-
 #include <unicode/uversion.h>
-#ifndef U_ICU_VERSION_MAJOR_NUM
-/* I wish ICU had stronger stability guarantees.  Oh well... */
-#include <unicode/uvernum.h>
-#endif
-
 
 
 hb_script_t
commit a67ba9c0fe6798a3500af9f4acee8d678f5144ee
Author: Behdad Esfahbod <behdad at behdad.org>
Date:   Wed Aug 15 18:52:17 2012 -0400

    Whitespace

diff --git a/src/hb-old/Makefile.am b/src/hb-old/Makefile.am
index a979af8..39830a6 100644
--- a/src/hb-old/Makefile.am
+++ b/src/hb-old/Makefile.am
@@ -11,8 +11,8 @@ MAINSOURCES =  \
 	harfbuzz-impl.c \
 	harfbuzz-open.c \
 	harfbuzz-shaper.cpp \
-        harfbuzz-greek.c \
-        harfbuzz-tibetan.c \
+	harfbuzz-greek.c \
+	harfbuzz-tibetan.c \
 	harfbuzz-khmer.c \
 	harfbuzz-indic.cpp \
 	harfbuzz-hebrew.c \
commit 9fe76051f7003d6b6a10486c5595bf1a4dbf5fe6
Author: Behdad Esfahbod <behdad at behdad.org>
Date:   Wed Aug 15 17:24:28 2012 -0400

    [NEWS] Fix date
    
    Oops!

diff --git a/NEWS b/NEWS
index 5b0232c..04c3a02 100644
--- a/NEWS
+++ b/NEWS
@@ -1,5 +1,5 @@
 Overview of changes leading to 0.9.2
-Friday, Aug 10, 2011
+Friday, Aug 10, 2012
 ====================================
 
 - Over a thousand commits!  This is the first major release of HarfBuzz.
commit 45c1383cc7315f89c23c0ed388b99e87224884e7
Author: Behdad Esfahbod <behdad at behdad.org>
Date:   Tue Aug 14 09:33:18 2012 -0400

    Minor

diff --git a/src/hb-coretext.cc b/src/hb-coretext.cc
index 5e1be9c..4152a39 100644
--- a/src/hb-coretext.cc
+++ b/src/hb-coretext.cc
@@ -141,15 +141,15 @@ _hb_coretext_shaper_font_data_destroy (hb_coretext_shaper_font_data_t *data)
 struct hb_coretext_shaper_shape_plan_data_t {};
 
 hb_coretext_shaper_shape_plan_data_t *
-_hb_coretext_shaper_shape_plan_data_create (hb_shape_plan_t    *shape_plan,
-					     const hb_feature_t *user_features,
-					     unsigned int        num_user_features)
+_hb_coretext_shaper_shape_plan_data_create (hb_shape_plan_t    *shape_plan HB_UNUSED,
+					     const hb_feature_t *user_features HB_UNUSED,
+					     unsigned int        num_user_features HB_UNUSED)
 {
   return (hb_coretext_shaper_shape_plan_data_t *) HB_SHAPER_DATA_SUCCEEDED;
 }
 
 void
-_hb_coretext_shaper_shape_plan_data_destroy (hb_coretext_shaper_shape_plan_data_t *data)
+_hb_coretext_shaper_shape_plan_data_destroy (hb_coretext_shaper_shape_plan_data_t *data HB_UNUSED)
 {
 }
 
diff --git a/src/hb-fallback-shape.cc b/src/hb-fallback-shape.cc
index 529e5d3..d7bde09 100644
--- a/src/hb-fallback-shape.cc
+++ b/src/hb-fallback-shape.cc
@@ -71,15 +71,15 @@ _hb_fallback_shaper_font_data_destroy (hb_fallback_shaper_font_data_t *data)
 struct hb_fallback_shaper_shape_plan_data_t {};
 
 hb_fallback_shaper_shape_plan_data_t *
-_hb_fallback_shaper_shape_plan_data_create (hb_shape_plan_t    *shape_plan,
-					    const hb_feature_t *user_features,
-					    unsigned int        num_user_features)
+_hb_fallback_shaper_shape_plan_data_create (hb_shape_plan_t    *shape_plan HB_UNUSED,
+					    const hb_feature_t *user_features HB_UNUSED,
+					    unsigned int        num_user_features HB_UNUSED)
 {
   return (hb_fallback_shaper_shape_plan_data_t *) HB_SHAPER_DATA_SUCCEEDED;
 }
 
 void
-_hb_fallback_shaper_shape_plan_data_destroy (hb_fallback_shaper_shape_plan_data_t *data)
+_hb_fallback_shaper_shape_plan_data_destroy (hb_fallback_shaper_shape_plan_data_t *data HB_UNUSED)
 {
 }
 
diff --git a/src/hb-graphite2.cc b/src/hb-graphite2.cc
index 1b657a6..a30c42e 100644
--- a/src/hb-graphite2.cc
+++ b/src/hb-graphite2.cc
@@ -176,15 +176,15 @@ _hb_graphite2_shaper_font_data_destroy (hb_graphite2_shaper_font_data_t *data)
 struct hb_graphite2_shaper_shape_plan_data_t {};
 
 hb_graphite2_shaper_shape_plan_data_t *
-_hb_graphite2_shaper_shape_plan_data_create (hb_shape_plan_t    *shape_plan,
-					     const hb_feature_t *user_features,
-					     unsigned int        num_user_features)
+_hb_graphite2_shaper_shape_plan_data_create (hb_shape_plan_t    *shape_plan HB_UNUSED,
+					     const hb_feature_t *user_features HB_UNUSED,
+					     unsigned int        num_user_features HB_UNUSED)
 {
   return (hb_graphite2_shaper_shape_plan_data_t *) HB_SHAPER_DATA_SUCCEEDED;
 }
 
 void
-_hb_graphite2_shaper_shape_plan_data_destroy (hb_graphite2_shaper_shape_plan_data_t *data)
+_hb_graphite2_shaper_shape_plan_data_destroy (hb_graphite2_shaper_shape_plan_data_t *data HB_UNUSED)
 {
 }
 
diff --git a/src/hb-uniscribe.cc b/src/hb-uniscribe.cc
index 79e62a0..d732b57 100644
--- a/src/hb-uniscribe.cc
+++ b/src/hb-uniscribe.cc
@@ -198,15 +198,15 @@ _hb_uniscribe_shaper_font_data_destroy (hb_uniscribe_shaper_font_data_t *data)
 struct hb_uniscribe_shaper_shape_plan_data_t {};
 
 hb_uniscribe_shaper_shape_plan_data_t *
-_hb_uniscribe_shaper_shape_plan_data_create (hb_shape_plan_t    *shape_plan,
-					     const hb_feature_t *user_features,
-					     unsigned int        num_user_features)
+_hb_uniscribe_shaper_shape_plan_data_create (hb_shape_plan_t    *shape_plan HB_UNUSED,
+					     const hb_feature_t *user_features HB_UNUSED,
+					     unsigned int        num_user_features HB_UNUSED)
 {
   return (hb_uniscribe_shaper_shape_plan_data_t *) HB_SHAPER_DATA_SUCCEEDED;
 }
 
 void
-_hb_uniscribe_shaper_shape_plan_data_destroy (hb_uniscribe_shaper_shape_plan_data_t *data)
+_hb_uniscribe_shaper_shape_plan_data_destroy (hb_uniscribe_shaper_shape_plan_data_t *data HB_UNUSED)
 {
 }
 



More information about the HarfBuzz mailing list