platform/upstream/libHarfBuzzSharp.git
8 years ago[fuzzing] Run fuzzing tests using hb-fuzzer as well
Behdad Esfahbod [Thu, 19 Nov 2015 20:03:04 +0000 (12:03 -0800)]
[fuzzing] Run fuzzing tests using hb-fuzzer as well

8 years agoRevert "Fix hang in OOM situations"
Behdad Esfahbod [Thu, 19 Nov 2015 19:59:03 +0000 (11:59 -0800)]
Revert "Fix hang in OOM situations"

This reverts commit f0599db761d7fc2d585d86e757a797f75ebc7499.

Commit abadc1717d997b69f987fdf1be9e12156d2d13d6 provides a better
fix for this.

8 years agoRevert "Make sure we make progress in OOM situations"
Behdad Esfahbod [Thu, 19 Nov 2015 19:50:58 +0000 (11:50 -0800)]
Revert "Make sure we make progress in OOM situations"

This reverts commit 68b507a3c3c62c28c38e13fee733702bb703b6ca.

Commit abadc1717d997b69f987fdf1be9e12156d2d13d6 provides a better
fix for this.

8 years ago1.1.0
Behdad Esfahbod [Thu, 19 Nov 2015 07:40:47 +0000 (23:40 -0800)]
1.1.0

8 years agoFix make distcheck
Behdad Esfahbod [Thu, 19 Nov 2015 07:52:34 +0000 (23:52 -0800)]
Fix make distcheck

8 years ago[travis] Only coverity-scan the coverity_scan branch
Behdad Esfahbod [Thu, 19 Nov 2015 07:23:35 +0000 (23:23 -0800)]
[travis] Only coverity-scan the coverity_scan branch

This essentially disables coverity-scan right now, until we find
a pattern to continuously submit branches there.

For background reasoning, see:
Fixes https://github.com/behdad/harfbuzz/issues/171

8 years agoAdd tests for previous two commits
Behdad Esfahbod [Thu, 19 Nov 2015 07:09:13 +0000 (23:09 -0800)]
Add tests for previous two commits

To fully test what these are supposed to test, they should be run
against libharfbuzz-fuzzing.la instead of libharfbuzz.la, but for
now just record the files.

8 years agoFix another move_to assertion failure
Behdad Esfahbod [Thu, 19 Nov 2015 07:04:45 +0000 (23:04 -0800)]
Fix another move_to assertion failure

If buf->idx is at end, don't set end past it...

Fixes https://github.com/behdad/harfbuzz/issues/173

8 years agoTry to better handle OOM situations
Behdad Esfahbod [Thu, 19 Nov 2015 01:52:08 +0000 (17:52 -0800)]
Try to better handle OOM situations

Fixes assert fail in https://github.com/behdad/harfbuzz/issues/161
with libharfbuzz-fuzzing.

8 years agoTry to fix gnome-continuous build fail
Behdad Esfahbod [Thu, 19 Nov 2015 00:37:59 +0000 (16:37 -0800)]
Try to fix gnome-continuous build fail

8 years agoEnable building a bounded version of the library for fuzzing
Behdad Esfahbod [Thu, 19 Nov 2015 00:27:32 +0000 (16:27 -0800)]
Enable building a bounded version of the library for fuzzing

test/fuzzing/hb-fuzzer links against libharfbuzz-fuzzing.so now.

8 years agoMove things around
Behdad Esfahbod [Wed, 18 Nov 2015 02:42:13 +0000 (18:42 -0800)]
Move things around

8 years agoMerge pull request #163 from fanc999/msvc.src
Behdad Esfahbod [Wed, 18 Nov 2015 02:40:10 +0000 (18:40 -0800)]
Merge pull request #163 from fanc999/msvc.src

Update the sources so they will compile under Visual Studio

8 years agoFix build on MSVC >= 2012
Chun-wei Fan [Mon, 9 Nov 2015 09:17:56 +0000 (17:17 +0800)]
Fix build on MSVC >= 2012

Use the DEFINE_ENUM_FLAG_OPERATORS macro in winnt.h on Visual Studio,
which defines the bitwise operators for the enumerations that we want to
mark as hb_mark_as_flags_t, which will take care of the situation on newer
Visual Studio (>= 2012), where the build breaks with C2057 errors as the
underlying types of the enumerations is not clear to the compiler when we
do a bitwise op within the declaration of the enumerations themselves.

Also disable the C4200 (nonstandard extension used : zero-sized array in
struct/union) and C4800 ('type' : forcing value to bool 'true' or 'false'
(performance warning)) warnings as the C4200 is the intended scenario and
C4800 is harmless but is so far an unavoidable side effect of using
DEFINE_ENUM_FLAG_OPERATORS.

8 years agohb-ot-shape-complex-arabic.cc: Fix build on Visual Studio
Chun-wei Fan [Fri, 6 Nov 2015 06:28:30 +0000 (14:28 +0800)]
hb-ot-shape-complex-arabic.cc: Fix build on Visual Studio

Visual Studio does not like declaring a enum variable within a for
statement, so fix the build by declaring the enum before doing the for
loop.

8 years agoMSVC builds: Add fallback implementation for pre-2013 MSVC
Chun-wei Fan [Tue, 3 Nov 2015 10:49:34 +0000 (18:49 +0800)]
MSVC builds: Add fallback implementation for pre-2013 MSVC

Pre-2013 MSVC does not have scalbn() and scalbnf(), which are used in the
utility programs.  Add  fallback implementations for these, which can be
used when necessary.

8 years agoutil: Fix build on Visual Studio
Chun-wei Fan [Mon, 2 Nov 2015 08:55:29 +0000 (16:55 +0800)]
util: Fix build on Visual Studio

Use the fallback implementation for lround() only on pre-2013 Visual
Studio, and ensure we are clear about the types of the parameters for
lround() and scalbnf(), since Visual Studio can be quite picky on
ambiguous parameter types.  Also, use g_ascii_strcasecmp() rather than
strcasecmp() as we are already using GLib for this code and we are
assured that g_ascii_strcasemp() is available.

For scalbnf() on pre-2013 Visaul Studio, a fallback implementation is
needed, but use another forced-included header for those compilers, which
will be added later.

Also use (char)27 on Visual Studio builds as '\e' is not a recognized
escape sequence, which will do the same thing.

8 years ago[util] Fix crash when --output-file is specified but not --output-format
Behdad Esfahbod [Tue, 10 Nov 2015 19:37:01 +0000 (11:37 -0800)]
[util] Fix crash when --output-file is specified but not --output-format

8 years agoMerge pull request #167 from KonstantinRitt/unicode_cp_opt
Behdad Esfahbod [Sat, 7 Nov 2015 15:50:58 +0000 (07:50 -0800)]
Merge pull request #167 from KonstantinRitt/unicode_cp_opt

Micro optimizations to UTF-16 and UTF-32 codecs

8 years ago[arabic] Improve stretch length calculation
Behdad Esfahbod [Sat, 7 Nov 2015 00:29:44 +0000 (16:29 -0800)]
[arabic] Improve stretch length calculation

Err on the side of being too short, than too wide.  Reduces chance
of overlaps with neighboring glyphs.

8 years ago[arabic] Don't stretch over cased letters
Behdad Esfahbod [Sat, 7 Nov 2015 00:27:44 +0000 (16:27 -0800)]
[arabic] Don't stretch over cased letters

Addresses
https://github.com/behdad/harfbuzz/commit/6e6f82b6f3dde0fc6c3c7d991d9ec6cfff57823d#commitcomment-14248516

8 years agoRevert "Don't process lookups if buffer is in error"
Behdad Esfahbod [Sat, 7 Nov 2015 00:18:09 +0000 (16:18 -0800)]
Revert "Don't process lookups if buffer is in error"

This reverts commit f92bd86cc8c11d262d1830c631cb7c63fc9d4bc8.

We don't want to be like cairo, where as soon as there's an error,
nothing works anymore.  So, lets process lookups as long as there's
no new memory needed.  That's also a model that hides fewer bugs.

8 years agoMicro optimization to hb_utf16_t and hb_utf32_t ::prev()
Konstantin Ritt [Fri, 6 Nov 2015 22:00:04 +0000 (02:00 +0400)]
Micro optimization to hb_utf16_t and hb_utf32_t ::prev()

Implement reverse lookup instead of re-using next()

8 years agoNano optimization to hb_utf16_t and hb_utf32_t ::next()
Konstantin Ritt [Fri, 6 Nov 2015 21:58:38 +0000 (01:58 +0400)]
Nano optimization to hb_utf16_t and hb_utf32_t ::next()

8 years ago[fuzzing] Cap max buffer len at 128
Behdad Esfahbod [Fri, 6 Nov 2015 17:46:54 +0000 (09:46 -0800)]
[fuzzing] Cap max buffer len at 128

8 years agoFix typo
Behdad Esfahbod [Fri, 6 Nov 2015 17:46:05 +0000 (09:46 -0800)]
Fix typo

8 years agoMake sure we make progress in OOM situations
Behdad Esfahbod [Fri, 6 Nov 2015 08:09:26 +0000 (00:09 -0800)]
Make sure we make progress in OOM situations

8 years ago[fuzzing] Add test case for OOM
Behdad Esfahbod [Fri, 6 Nov 2015 08:01:24 +0000 (00:01 -0800)]
[fuzzing] Add test case for OOM

From https://github.com/behdad/harfbuzz/issues/161

8 years agoFix hang in OOM situations
Behdad Esfahbod [Fri, 6 Nov 2015 07:52:41 +0000 (23:52 -0800)]
Fix hang in OOM situations

Fixes https://github.com/behdad/harfbuzz/issues/161

8 years agoDon't process lookups if buffer is in error
Behdad Esfahbod [Fri, 6 Nov 2015 07:52:29 +0000 (23:52 -0800)]
Don't process lookups if buffer is in error

8 years agoLimit buffer max size growth
Behdad Esfahbod [Fri, 6 Nov 2015 07:44:59 +0000 (23:44 -0800)]
Limit buffer max size growth

https://github.com/behdad/harfbuzz/issues/161

8 years ago[fuzzing] Add build system
Behdad Esfahbod [Fri, 6 Nov 2015 07:08:50 +0000 (23:08 -0800)]
[fuzzing] Add build system

8 years ago[fuzzer] Add README
Behdad Esfahbod [Fri, 6 Nov 2015 06:50:52 +0000 (22:50 -0800)]
[fuzzer] Add README

https://github.com/behdad/harfbuzz/issues/139#issuecomment-154202645

8 years agoImplement SYRIAC ABBREVIATION MARK with 'stch' feature
Behdad Esfahbod [Fri, 6 Nov 2015 01:29:03 +0000 (17:29 -0800)]
Implement SYRIAC ABBREVIATION MARK with 'stch' feature

The feature is enabled for any character in the Arabic shaper.
We should experiment with using it for Arabic subtending marks.
Though, that has a directionality problem as well, since those
are used with digits...

Fixes https://github.com/behdad/harfbuzz/issues/141

8 years ago[ft] Fix extents with negative scales
Behdad Esfahbod [Fri, 6 Nov 2015 01:33:57 +0000 (17:33 -0800)]
[ft] Fix extents with negative scales

Fixes https://github.com/behdad/harfbuzz/issues/162

8 years agoReserve a few scratch-flags bits for complex shapers
Behdad Esfahbod [Thu, 5 Nov 2015 23:22:18 +0000 (15:22 -0800)]
Reserve a few scratch-flags bits for complex shapers

8 years agoAdd new shaper method postprocess_glyphs()
Behdad Esfahbod [Thu, 5 Nov 2015 21:24:15 +0000 (13:24 -0800)]
Add new shaper method postprocess_glyphs()

Unused currently.  To be used for Syriac stretch implementation.

https://github.com/behdad/harfbuzz/issues/141

8 years ago[util] If font has color, generate PNG with color
Behdad Esfahbod [Thu, 5 Nov 2015 19:37:48 +0000 (11:37 -0800)]
[util] If font has color, generate PNG with color

8 years agoDon't try zeroing marks by GDEF if there are no non-ASCII
Behdad Esfahbod [Thu, 5 Nov 2015 06:55:11 +0000 (22:55 -0800)]
Don't try zeroing marks by GDEF if there are no non-ASCII

This one is a hack, but should be ok.

8 years agoDon't try zeroing mark attachments by Unicode if there's no non-ASCII
Behdad Esfahbod [Thu, 5 Nov 2015 06:54:49 +0000 (22:54 -0800)]
Don't try zeroing mark attachments by Unicode if there's no non-ASCII

8 years agoActually commit changes for previous commit
Behdad Esfahbod [Thu, 5 Nov 2015 06:58:58 +0000 (22:58 -0800)]
Actually commit changes for previous commit

8 years agoSkip GPOS cursive / attachment adjustmnent if none happened
Behdad Esfahbod [Thu, 5 Nov 2015 06:42:41 +0000 (22:42 -0800)]
Skip GPOS cursive / attachment adjustmnent if none happened

I'm starting to really like how free these new scratch_flags are.

8 years agoMinor
Behdad Esfahbod [Thu, 5 Nov 2015 06:28:44 +0000 (22:28 -0800)]
Minor

8 years agoSkip forming clusters if text is all ASCII
Behdad Esfahbod [Thu, 5 Nov 2015 06:24:19 +0000 (22:24 -0800)]
Skip forming clusters if text is all ASCII

8 years agoMove variable-sized struct member to end
Behdad Esfahbod [Thu, 5 Nov 2015 06:00:25 +0000 (22:00 -0800)]
Move variable-sized struct member to end

Hopefully makes clang build happy

8 years agoOptimize positioning for when h_origin is nil
Behdad Esfahbod [Thu, 5 Nov 2015 05:53:16 +0000 (21:53 -0800)]
Optimize positioning for when h_origin is nil

8 years agoAdd font->has_...() to check for individual nil font funcs
Behdad Esfahbod [Thu, 5 Nov 2015 05:42:55 +0000 (21:42 -0800)]
Add font->has_...() to check for individual nil font funcs

Hopefully this wouldn't break any compiler.  There was some magic
moments to getting this to compile...

8 years agoMinor reshaping of hb_font_funcs_t implementation
Behdad Esfahbod [Thu, 5 Nov 2015 05:16:26 +0000 (21:16 -0800)]
Minor reshaping of hb_font_funcs_t implementation

In anticipation of further changes.  No functional changes.

8 years agoComments
Behdad Esfahbod [Thu, 5 Nov 2015 04:51:21 +0000 (20:51 -0800)]
Comments

8 years ago[ot] Remove font funcs that do nothing
Behdad Esfahbod [Thu, 5 Nov 2015 04:47:42 +0000 (20:47 -0800)]
[ot] Remove font funcs that do nothing

8 years ago[ot] Port ot font funcs to allocated object
Behdad Esfahbod [Thu, 5 Nov 2015 04:43:59 +0000 (20:43 -0800)]
[ot] Port ot font funcs to allocated object

8 years ago[ft] Remove font funcs that do nothing
Behdad Esfahbod [Thu, 5 Nov 2015 04:40:05 +0000 (20:40 -0800)]
[ft] Remove font funcs that do nothing

8 years ago[ft] Port ft font funcs to allocated object
Behdad Esfahbod [Thu, 5 Nov 2015 04:37:49 +0000 (20:37 -0800)]
[ft] Port ft font funcs to allocated object

8 years agoSeparate nil font-funcs from parent-peeking font-funcs
Behdad Esfahbod [Thu, 5 Nov 2015 04:22:44 +0000 (20:22 -0800)]
Separate nil font-funcs from parent-peeking font-funcs

API change: all fonts created with hb_font_create() now inherit from
(ie have parent) hb_font_get_empty().

8 years agoOptimize positioning direction calculations
Behdad Esfahbod [Thu, 5 Nov 2015 03:28:17 +0000 (19:28 -0800)]
Optimize positioning direction calculations

It makes the binary smaller AND faster.  Yumm!

8 years agoDon't do fractions if buffer is ASCII-only
Behdad Esfahbod [Thu, 5 Nov 2015 02:58:02 +0000 (18:58 -0800)]
Don't do fractions if buffer is ASCII-only

8 years agoOptimize runs without Default_Ignorable's
Behdad Esfahbod [Thu, 5 Nov 2015 02:46:22 +0000 (18:46 -0800)]
Optimize runs without Default_Ignorable's

Now that we have a buffer-wide scratch flags facility, use it to
optimize away a few passes.

8 years agoLimit max edits during sanitize to 8
Behdad Esfahbod [Thu, 5 Nov 2015 02:00:57 +0000 (18:00 -0800)]
Limit max edits during sanitize to 8

Used to be 100.  If a tabe needs more than one or two edits, it's
probably completely bogus...

Might help with speeding up fuzzing for
https://github.com/behdad/harfbuzz/issues/157

8 years agoMinor
Behdad Esfahbod [Thu, 5 Nov 2015 02:00:53 +0000 (18:00 -0800)]
Minor

8 years agoIf font doesn't support U+2011, fall back to U+2010
Behdad Esfahbod [Thu, 5 Nov 2015 01:45:06 +0000 (17:45 -0800)]
If font doesn't support U+2011, fall back to U+2010

Test passes now.

8 years agoUntangle if/else waterfall
Behdad Esfahbod [Thu, 5 Nov 2015 01:43:36 +0000 (17:43 -0800)]
Untangle if/else waterfall

8 years agoAdd tests for hyphen fallback
Behdad Esfahbod [Thu, 5 Nov 2015 01:38:22 +0000 (17:38 -0800)]
Add tests for hyphen fallback

U+2011 is <noBreak> equivaent of U+2010, so we should do the fallback
for it.  Currently fails.

8 years ago[test] Drop hintings when subsetting fonts to record
Behdad Esfahbod [Thu, 5 Nov 2015 01:37:30 +0000 (17:37 -0800)]
[test] Drop hintings when subsetting fonts to record

8 years agoAdjust the width of various spaces if font does not cover them
Behdad Esfahbod [Thu, 5 Nov 2015 01:27:07 +0000 (17:27 -0800)]
Adjust the width of various spaces if font does not cover them

See discussion here:
https://github.com/behdad/harfbuzz/commit/81ef4f407d9c7bd98cf62cef951dc538b13442eb

There's no way to disable this fallback, but I don't think it would
be needed.  Let's hope for the best!

Fixes https://github.com/behdad/harfbuzz/issues/153

8 years agoGeneralize flags types
Behdad Esfahbod [Thu, 5 Nov 2015 00:25:57 +0000 (16:25 -0800)]
Generalize flags types

8 years agoNormalize various spaces to space if font doesn't support
Behdad Esfahbod [Wed, 4 Nov 2015 22:48:46 +0000 (14:48 -0800)]
Normalize various spaces to space if font doesn't support

This resurrects the space fallback feature, after I disabled
the compatibility decomposition.  Now I can release HarfBuzz
again without breaking Pango!

It also remembers which space character it was, such that later
on we can approximate the width of this particular space
character.  That part is not implemented yet.

We normalize all GC=Zs chars except for U+1680 OGHA SPACE MARK,
which is better left alone.

8 years ago[test] Support recording multiple lines of text in record-test.sh
Behdad Esfahbod [Wed, 4 Nov 2015 23:30:48 +0000 (15:30 -0800)]
[test] Support recording multiple lines of text in record-test.sh

8 years agoProtect against possible invalid-memory access after OOM
Behdad Esfahbod [Wed, 4 Nov 2015 22:46:52 +0000 (14:46 -0800)]
Protect against possible invalid-memory access after OOM

8 years agoFix typo!
Behdad Esfahbod [Wed, 4 Nov 2015 22:46:10 +0000 (14:46 -0800)]
Fix typo!

Ouch!  Fortunately that function was unused.

8 years agoAdd Unicode space category
Behdad Esfahbod [Wed, 4 Nov 2015 22:18:39 +0000 (14:18 -0800)]
Add Unicode space category

Unused so far.

8 years agoMake top-byte of unicode_props available to be used differently per-GC
Behdad Esfahbod [Wed, 4 Nov 2015 21:26:17 +0000 (13:26 -0800)]
Make top-byte of unicode_props available to be used differently per-GC

8 years agoTowards using top-byte of unicode-props for more things
Behdad Esfahbod [Wed, 4 Nov 2015 21:21:25 +0000 (13:21 -0800)]
Towards using top-byte of unicode-props for more things

8 years agoAdd _hb_glyph_info_is_unicode_mark()
Behdad Esfahbod [Wed, 4 Nov 2015 21:17:33 +0000 (13:17 -0800)]
Add _hb_glyph_info_is_unicode_mark()

Unused right now.

8 years agoTighten ccc-setting a bit and document it
Behdad Esfahbod [Tue, 3 Nov 2015 20:58:12 +0000 (12:58 -0800)]
Tighten ccc-setting a bit and document it

8 years agoFix test expectation
Behdad Esfahbod [Tue, 3 Nov 2015 20:28:34 +0000 (12:28 -0800)]
Fix test expectation

8 years ago[ot-font] Fix hmtx table length checking, *again*
Behdad Esfahbod [Tue, 3 Nov 2015 20:15:12 +0000 (12:15 -0800)]
[ot-font] Fix hmtx table length checking, *again*

Exactly the same problem that I fixed in
63ef0b41dc48d6112d1918c1b1de9de8ea90adb5

I rewrote the table checking yesterday in
67f8821fb25d9bd55719f5e29a582ae1af4b02b3
and introduced the exact same issue again. :(
Good thing we have ongoing fuzzing going now.  Was discovered
immediately by libFuzzer.  Thanks kcc!

https://github.com/behdad/harfbuzz/issues/139#issuecomment-153449473
Fixes https://github.com/behdad/harfbuzz/issues/156

8 years ago[util] Fix option-parsing leaks
Behdad Esfahbod [Tue, 3 Nov 2015 19:34:47 +0000 (11:34 -0800)]
[util] Fix option-parsing leaks

8 years ago[util] In --debug mode, duplicate font data
Behdad Esfahbod [Tue, 3 Nov 2015 19:26:34 +0000 (11:26 -0800)]
[util] In --debug mode, duplicate font data

This has the effect that the font data will end up in a memory
section malloc()ed exactly to its size.  This gives us better
valgrind detection of out-of-bounds access.

Previously, the font data was placed in a mmap()ed section or
GString-allocated area, which didn't have proper protections
at the end when running under valgrind.

8 years ago[perf] Micro-optimize
Behdad Esfahbod [Tue, 3 Nov 2015 01:58:12 +0000 (17:58 -0800)]
[perf] Micro-optimize

8 years agoRemove irrelevant comment
Behdad Esfahbod [Tue, 3 Nov 2015 01:52:45 +0000 (17:52 -0800)]
Remove irrelevant comment

I tried moving the is_default_ignorable() function to an INTERNAL
function.  That made the binary size grow by 5k AND things got a
tad bit slower!

8 years agoMinor
Behdad Esfahbod [Tue, 3 Nov 2015 01:44:05 +0000 (17:44 -0800)]
Minor

8 years agoCombine unicode_props0/1 into a uint16
Behdad Esfahbod [Tue, 3 Nov 2015 01:36:51 +0000 (17:36 -0800)]
Combine unicode_props0/1 into a uint16

Slightly faster.  In prep for more changes.

8 years ago[perf] Only call combining_class() for marks
Behdad Esfahbod [Tue, 3 Nov 2015 01:27:48 +0000 (17:27 -0800)]
[perf] Only call combining_class() for marks

Saves some time.  Also preparing for reusing the ccc byte for other stuff.

8 years agoMake max context-length and max nesting level configurable
Behdad Esfahbod [Mon, 2 Nov 2015 23:43:08 +0000 (15:43 -0800)]
Make max context-length and max nesting level configurable

...at compile time.

8 years ago[ot] Make bad-hmtx handling match FreeType
Behdad Esfahbod [Mon, 2 Nov 2015 23:37:29 +0000 (15:37 -0800)]
[ot] Make bad-hmtx handling match FreeType

Also route fuzzing-related tests through hb-ot-font, to reduce dependency
on FreeType behavior for badly-broken fonts.  Fixes failing test with
FreeType master.

8 years agoUse templates for making sure expression is constant
Behdad Esfahbod [Mon, 26 Oct 2015 21:05:05 +0000 (14:05 -0700)]
Use templates for making sure expression is constant

8 years agoUpdate comments for removal of compat decompositions
Behdad Esfahbod [Wed, 21 Oct 2015 20:51:40 +0000 (18:51 -0200)]
Update comments for removal of compat decompositions

8 years agoDisable compatibility decomposition usage during normalization
Behdad Esfahbod [Wed, 21 Oct 2015 19:20:55 +0000 (17:20 -0200)]
Disable compatibility decomposition usage during normalization

Fixes https://github.com/behdad/harfbuzz/issues/152

8 years agoFix two more -Wshadow warnings
Behdad Esfahbod [Wed, 21 Oct 2015 13:23:12 +0000 (11:23 -0200)]
Fix two more -Wshadow warnings

https://bugzilla.mozilla.org/show_bug.cgi?id=1215894

8 years agoFix one more -Wshadow warning
Behdad Esfahbod [Wed, 21 Oct 2015 13:20:55 +0000 (11:20 -0200)]
Fix one more -Wshadow warning

https://bugzilla.mozilla.org/show_bug.cgi?id=1215894

8 years agoFix a few more -Wshadow-local warnings
Behdad Esfahbod [Wed, 21 Oct 2015 13:16:49 +0000 (11:16 -0200)]
Fix a few more -Wshadow-local warnings

https://bugzilla.mozilla.org/show_bug.cgi?id=1215894

8 years agoFix one -Wshadow-compatible-local warning
Behdad Esfahbod [Wed, 21 Oct 2015 13:13:21 +0000 (11:13 -0200)]
Fix one -Wshadow-compatible-local warning

From https://bugzilla.mozilla.org/show_bug.cgi?id=1215894

8 years agoAvoid unnecessary cast to 64-bit
Behdad Esfahbod [Wed, 21 Oct 2015 13:10:10 +0000 (11:10 -0200)]
Avoid unnecessary cast to 64-bit

Fixes https://github.com/behdad/harfbuzz/issues/146

Or I think it should.

8 years agoAdd HB_FALLTHROUGH
Behdad Esfahbod [Wed, 21 Oct 2015 13:04:28 +0000 (11:04 -0200)]
Add HB_FALLTHROUGH

Borrowed from https://bugzilla.mozilla.org/show_bug.cgi?id=1215411

8 years agoFix typo
Behdad Esfahbod [Tue, 20 Oct 2015 18:39:41 +0000 (16:39 -0200)]
Fix typo

8 years agoAdd BUILD.md to dist
Behdad Esfahbod [Tue, 20 Oct 2015 17:21:18 +0000 (15:21 -0200)]
Add BUILD.md to dist

8 years agoMerge pull request #148 from ebraminio/inst
Behdad Esfahbod [Tue, 20 Oct 2015 17:19:41 +0000 (15:19 -0200)]
Merge pull request #148 from ebraminio/inst

Add BUILD.md based on harfbuzz.org docs

8 years agoMerge pull request #147 from ebraminio/dockerci
Behdad Esfahbod [Mon, 19 Oct 2015 18:59:43 +0000 (16:59 -0200)]
Merge pull request #147 from ebraminio/dockerci

[ci] change to docker infrastructure

8 years ago[ci] change to docker infrastructure
Ebrahim Byagowi [Mon, 19 Oct 2015 18:11:01 +0000 (21:41 +0330)]
[ci] change to docker infrastructure

8 years agoAdd BUILD.md based on harfbuzz.org docs
Ebrahim Byagowi [Mon, 19 Oct 2015 18:32:12 +0000 (22:02 +0330)]
Add BUILD.md based on harfbuzz.org docs