Behdad Esfahbod [Sat, 7 Apr 2012 18:49:13 +0000 (14:49 -0400)]
Flip logic around
Behdad Esfahbod [Thu, 5 Apr 2012 21:27:23 +0000 (17:27 -0400)]
Add Hangul test case
Composed, and decomposed, of the same text.
Behdad Esfahbod [Thu, 5 Apr 2012 21:25:19 +0000 (17:25 -0400)]
Add normalize mode
In preparation for Hangul shaper.
Behdad Esfahbod [Thu, 5 Apr 2012 20:46:46 +0000 (16:46 -0400)]
More moving code around
Behdad Esfahbod [Thu, 5 Apr 2012 20:40:37 +0000 (16:40 -0400)]
Move code around
Behdad Esfahbod [Wed, 7 Mar 2012 22:13:25 +0000 (17:13 -0500)]
More sorting by Unicode version
This is the most convenient way to browse scripts.
Behdad Esfahbod [Wed, 7 Mar 2012 21:51:29 +0000 (16:51 -0500)]
Minor
Behdad Esfahbod [Wed, 7 Mar 2012 20:52:02 +0000 (15:52 -0500)]
More Unicode script age annotation, and a couple more RTL scripts
Cross-checked with Mark Davis's spreadsheet at http://goo.gl/x9ilM
Behdad Esfahbod [Wed, 7 Mar 2012 20:33:14 +0000 (15:33 -0500)]
Make src tests pass again
Behdad Esfahbod [Wed, 7 Mar 2012 20:20:20 +0000 (15:20 -0500)]
Separate Unicode 3.1 and Unicode 3.2 additions
Behdad Esfahbod [Wed, 7 Mar 2012 17:56:22 +0000 (12:56 -0500)]
Route three Unicode 6.1 scripts through Indic shaper
Behdad Esfahbod [Wed, 7 Mar 2012 17:53:34 +0000 (12:53 -0500)]
Add Unicode 6.1.0 scripts
Behdad Esfahbod [Wed, 7 Mar 2012 17:49:08 +0000 (12:49 -0500)]
Lydian and Kharoshthi are right-to-left
Behdad Esfahbod [Wed, 7 Mar 2012 17:38:39 +0000 (12:38 -0500)]
Whitespace
Behdad Esfahbod [Wed, 7 Mar 2012 17:21:28 +0000 (12:21 -0500)]
Use generic shaper for Buhid
As requested by Jonathan Kew.
We need to devise a better mechanism to choose which scripts to
pass through the Indic shaper. Moreover, currently we are storing
data for some scripts in the Indic shaper that are not even going
through that shaper. Need to find a better way...
Behdad Esfahbod [Wed, 7 Mar 2012 17:08:33 +0000 (12:08 -0500)]
Update Indic table to Unicode 6.1 data
Behdad Esfahbod [Wed, 7 Mar 2012 15:21:24 +0000 (10:21 -0500)]
Typo
Behdad Esfahbod [Wed, 7 Mar 2012 01:47:50 +0000 (20:47 -0500)]
Minor doc fixes
Behdad Esfahbod [Wed, 7 Mar 2012 01:24:31 +0000 (20:24 -0500)]
Add Hebrew diacritics test cases
From:
https://bugzilla.mozilla.org/show_bug.cgi?id=662055
Behdad Esfahbod [Fri, 2 Mar 2012 02:11:19 +0000 (18:11 -0800)]
Fix cluster formation in Indic
Makes number of failures against Uniscribe with hi_IN dictionary from
OO.o to go down from 6334 to 4290. Not bad for a one-line change!
Mozilla Bug 729626 - ASAN: heap-buffer-overflow HTML
Behdad Esfahbod [Fri, 2 Mar 2012 01:30:29 +0000 (17:30 -0800)]
Fix atomic-int op on Apple
The OSAtomicAdd32Barrier operator returns the new value, we want the
old value.
Behdad Esfahbod [Fri, 24 Feb 2012 18:51:09 +0000 (13:51 -0500)]
Add support for atomic int and mutex on Apple systems
So, apparently there's no atomic int 'get' method on Apple. You have to
add(0) to get. And that's not const-friendly. So switch inert-object
checking to a non-atomic get. This, however, is safe, and a negligible
performance boost too.
Behdad Esfahbod [Thu, 23 Feb 2012 23:47:17 +0000 (18:47 -0500)]
Remove unused hb_atomic_int_set()
Apparently it can't be implemented on OS X. We weren't using it anyway.
Behdad Esfahbod [Fri, 24 Feb 2012 00:47:43 +0000 (19:47 -0500)]
Add hb-warning.cc. Oops!
Behdad Esfahbod [Thu, 23 Feb 2012 20:06:16 +0000 (15:06 -0500)]
Allow disabling multi-threaded support
By defining HB_NO_MT.
Also, only warn once per missing MT feature support.
Mozilla Bug 666661 - gfx/harfbuzz/src/hb-prive.h - compiler warnings on mac
Behdad Esfahbod [Wed, 22 Feb 2012 21:43:21 +0000 (16:43 -0500)]
Minor
Behdad Esfahbod [Wed, 22 Feb 2012 21:34:37 +0000 (16:34 -0500)]
Followup: Reorder Hebrew combining classes for better rendering
Patch from Jonathan Kew.
Bug 662055 - advanced Hebrew diacritics are shown correctly only in
particular order.
Behdad Esfahbod [Wed, 22 Feb 2012 21:31:15 +0000 (16:31 -0500)]
Reorder Hebrew combining classes for better rendering
Patch from Jonathan Kew.
Bug 662055 - advanced Hebrew diacritics are shown correctly only in particular order
Behdad Esfahbod [Tue, 21 Feb 2012 16:31:47 +0000 (11:31 -0500)]
Add test case from https://bugzilla.mozilla.org/show_bug.cgi?id=714067
Behdad Esfahbod [Mon, 30 Jan 2012 14:48:33 +0000 (09:48 -0500)]
Minor error handling
Behdad Esfahbod [Fri, 27 Jan 2012 07:14:08 +0000 (02:14 -0500)]
Update git.mk to new upstream
Behdad Esfahbod [Fri, 27 Jan 2012 07:09:40 +0000 (02:09 -0500)]
Make checks more OS X friendly
Behdad Esfahbod [Fri, 27 Jan 2012 06:57:59 +0000 (01:57 -0500)]
Fix check-header-guards on OS X
Behdad Esfahbod [Fri, 27 Jan 2012 07:20:58 +0000 (02:20 -0500)]
Minor
Behdad Esfahbod [Mon, 23 Jan 2012 00:57:00 +0000 (19:57 -0500)]
Add a few more tests
Behdad Esfahbod [Mon, 23 Jan 2012 00:29:45 +0000 (19:29 -0500)]
Add a couple Thai test cases from Thep
Behdad Esfahbod [Mon, 23 Jan 2012 00:10:55 +0000 (19:10 -0500)]
Add Devanagari test from Tom Hacohen
Behdad Esfahbod [Sun, 22 Jan 2012 21:26:49 +0000 (16:26 -0500)]
Also ignore "ChangeLog" in manifests
Behdad Esfahbod [Sun, 22 Jan 2012 21:21:19 +0000 (16:21 -0500)]
Remove newline
Behdad Esfahbod [Sun, 22 Jan 2012 21:07:32 +0000 (16:07 -0500)]
Allow --color=html in hb-diff
Not that useful right now as we don't escape < and >. Perhaps
another tool can be added to convert the ANSI output to HTML.
Behdad Esfahbod [Sun, 22 Jan 2012 20:31:44 +0000 (15:31 -0500)]
Fallback to Latin script if the font has no other usable scripts
Patch and description from Jonathan Kew:
It turns out that some legacy Thai fonts provide OpenType substitution
features to implement mark positioning, but (incorrectly) put those
features/lookups under the 'latn' script tag instead of using 'thai' (or
possibly 'DFLT'). See
https://bugzilla.mozilla.org/show_bug.cgi?id=719366 for an example and
more detailed description.
Although this is really a font bug, I suggest that we could improve the
rendering of such fonts by looking for the 'latn' as a fallback if
neither the requested script nor "default" is found in
hb_ot_layout_table_choose_script. Suggested patch against harfbuzz
master is attached.
This does _not_ affect the other kind of legacy Thai font, where custom
code to support vendor-specific PUA codepoints would be needed. I'm not
keen to go down that path; IMO, such fonts should be ruthlessly stamped
out in favour of standards-based solutions. :)
JK
Behdad Esfahbod [Sun, 22 Jan 2012 01:03:25 +0000 (20:03 -0500)]
More shoveling around
Behdad Esfahbod [Sun, 22 Jan 2012 00:55:16 +0000 (19:55 -0500)]
Cleanup
Behdad Esfahbod [Sun, 22 Jan 2012 00:43:58 +0000 (19:43 -0500)]
Distribute testing tools
Behdad Esfahbod [Sun, 22 Jan 2012 00:40:30 +0000 (19:40 -0500)]
Speed up colorless diff
Behdad Esfahbod [Sun, 22 Jan 2012 00:37:31 +0000 (19:37 -0500)]
Cleanup manifest code
Behdad Esfahbod [Sun, 22 Jan 2012 00:31:51 +0000 (19:31 -0500)]
Port hb-manifest-update to Python
Behdad Esfahbod [Sun, 22 Jan 2012 00:15:41 +0000 (19:15 -0500)]
Ignore Broken Pipe errors
Behdad Esfahbod [Sun, 22 Jan 2012 00:07:22 +0000 (19:07 -0500)]
[util] Make clusters work with char offset instead of UTF-8 offset
This means the --features indices also refer to char position
instead of byte position now. Same for cluster values reported
by hb-shape.
Will add an option for byte indices later.
Behdad Esfahbod [Sat, 21 Jan 2012 23:59:48 +0000 (18:59 -0500)]
Correctly print out Unicode strings
Behdad Esfahbod [Sat, 21 Jan 2012 02:21:47 +0000 (21:21 -0500)]
Misc fixes
Behdad Esfahbod [Sat, 21 Jan 2012 02:16:34 +0000 (21:16 -0500)]
Port hb-manifest-read to Python
Behdad Esfahbod [Sat, 21 Jan 2012 01:56:32 +0000 (20:56 -0500)]
Add final residues from test-shape-complex
Behdad Esfahbod [Sat, 21 Jan 2012 01:51:52 +0000 (20:51 -0500)]
Add Punjabi tests from test-shape-complex also
Behdad Esfahbod [Sat, 21 Jan 2012 01:50:09 +0000 (20:50 -0500)]
Add Tamil test data from Muguntharaj Subramanian
Behdad Esfahbod [Sat, 21 Jan 2012 01:48:14 +0000 (20:48 -0500)]
Import test data from late test-shape-complex
Behdad Esfahbod [Sat, 21 Jan 2012 00:32:17 +0000 (19:32 -0500)]
Fix Unicode encoding issue
Behdad Esfahbod [Fri, 20 Jan 2012 23:39:27 +0000 (18:39 -0500)]
Make test tools interactive
By bypassing readlines() buffering.
Behdad Esfahbod [Fri, 20 Jan 2012 23:27:52 +0000 (18:27 -0500)]
Move most testing logic into hb_test_tools.py
The actual utils are one-liners now.
Behdad Esfahbod [Fri, 20 Jan 2012 22:36:10 +0000 (17:36 -0500)]
Remove test-shape-complex
New shaping testsuite and framework coming.
Behdad Esfahbod [Fri, 20 Jan 2012 22:24:05 +0000 (17:24 -0500)]
Add hb-unicode-encode
Behdad Esfahbod [Fri, 20 Jan 2012 22:18:59 +0000 (17:18 -0500)]
[hb-shape] Add parantheses around --show-text output
Behdad Esfahbod [Fri, 20 Jan 2012 22:17:44 +0000 (17:17 -0500)]
Add hb-diff-filter-failures
Behdad Esfahbod [Fri, 20 Jan 2012 22:16:35 +0000 (17:16 -0500)]
Move
Behdad Esfahbod [Fri, 20 Jan 2012 19:24:21 +0000 (14:24 -0500)]
Minor
Behdad Esfahbod [Fri, 20 Jan 2012 19:21:53 +0000 (14:21 -0500)]
Minor
Behdad Esfahbod [Fri, 20 Jan 2012 18:57:57 +0000 (13:57 -0500)]
[test/shaping] Add some Indic test data for the new test suite
Imported from UTRRS.
Behdad Esfahbod [Fri, 20 Jan 2012 18:57:14 +0000 (13:57 -0500)]
Fix
Behdad Esfahbod [Fri, 20 Jan 2012 18:50:55 +0000 (13:50 -0500)]
Move hb-diff to test/shaping/
Behdad Esfahbod [Fri, 20 Jan 2012 18:50:05 +0000 (13:50 -0500)]
Add hb-unicode-decode
Behdad Esfahbod [Fri, 20 Jan 2012 18:49:56 +0000 (13:49 -0500)]
Minor
Behdad Esfahbod [Fri, 20 Jan 2012 18:39:27 +0000 (13:39 -0500)]
Recognize more characters
Behdad Esfahbod [Fri, 20 Jan 2012 18:31:59 +0000 (13:31 -0500)]
[test] Make hb-unicode-prettyname take a --stdin option
Behdad Esfahbod [Fri, 20 Jan 2012 01:28:31 +0000 (20:28 -0500)]
[test/shaping] Add hb-unicode-prettyname
Behdad Esfahbod [Fri, 20 Jan 2012 01:28:15 +0000 (20:28 -0500)]
[test/shaping] Add hb-read-manifest
Behdad Esfahbod [Fri, 20 Jan 2012 01:27:53 +0000 (20:27 -0500)]
Ignore AUTHORS also
Behdad Esfahbod [Thu, 19 Jan 2012 22:51:57 +0000 (17:51 -0500)]
[hb-shape] Change glyphstring brackets from </> to [/]
Sorry for the disruption but I need this to differentiate from the
Unicode string.
Behdad Esfahbod [Thu, 19 Jan 2012 21:55:26 +0000 (16:55 -0500)]
More Indic tests from Pravin
Behdad Esfahbod [Thu, 19 Jan 2012 20:43:48 +0000 (15:43 -0500)]
[test/shaping] Add hb-update-manifests
Behdad Esfahbod [Thu, 19 Jan 2012 20:21:04 +0000 (15:21 -0500)]
Start adding new shaping test suite together
Behdad Esfahbod [Thu, 19 Jan 2012 20:15:21 +0000 (15:15 -0500)]
Minor
Behdad Esfahbod [Thu, 19 Jan 2012 19:52:02 +0000 (14:52 -0500)]
Rename test/ to test/api/
Behdad Esfahbod [Thu, 19 Jan 2012 19:28:11 +0000 (14:28 -0500)]
Remove src/test.cc
Not really useful.
Behdad Esfahbod [Thu, 19 Jan 2012 18:54:52 +0000 (13:54 -0500)]
[hb-diff] Clean up
Behdad Esfahbod [Thu, 19 Jan 2012 17:46:18 +0000 (12:46 -0500)]
[hb-shape] Add --show-line-num
Ok, much more useful as a test suite driver now.
Behdad Esfahbod [Thu, 19 Jan 2012 17:32:20 +0000 (12:32 -0500)]
[hb-shape] Add --show-text and --show-unicode options
Behdad Esfahbod [Thu, 19 Jan 2012 17:30:43 +0000 (12:30 -0500)]
Fix OOB in hb-shape
Behdad Esfahbod [Thu, 19 Jan 2012 16:36:39 +0000 (11:36 -0500)]
[test] Add two Indic test cases from Bernard Massot
Behdad Esfahbod [Thu, 19 Jan 2012 03:47:44 +0000 (22:47 -0500)]
[util] Add --help-features
Patch from Khaled Hosny.
Behdad Esfahbod [Thu, 19 Jan 2012 03:32:52 +0000 (22:32 -0500)]
[icu] Use U_FAILURE
Behdad Esfahbod [Thu, 19 Jan 2012 03:16:49 +0000 (22:16 -0500)]
Replace u_strlen() with u_countChar32()
The latter is what I meant.
Behdad Esfahbod [Thu, 19 Jan 2012 02:58:34 +0000 (21:58 -0500)]
Add test for bug in ICU decompose
As reported by Kenichi Ishibashi on 2011-10-28.
Behdad Esfahbod [Thu, 19 Jan 2012 02:51:05 +0000 (21:51 -0500)]
Fix OOB in replace_glyph()
Patch from Kenichi Ishibashi.
Behdad Esfahbod [Thu, 19 Jan 2012 02:28:34 +0000 (21:28 -0500)]
Fix more possible buffer overruns
I have this function, but can't clean up it to my satisfaction.
Behdad Esfahbod [Thu, 19 Jan 2012 02:19:32 +0000 (21:19 -0500)]
Refactor the two remaining uses of _hb_ot_layout_skip_mark()
Behdad Esfahbod [Wed, 18 Jan 2012 21:07:53 +0000 (16:07 -0500)]
Further mark skippy fixes from Jonathan Kew
We should be in good shape now.
Behdad Esfahbod [Tue, 17 Jan 2012 23:08:41 +0000 (18:08 -0500)]
Fix mark skipping regression
Ouch!
Behdad Esfahbod [Tue, 17 Jan 2012 03:05:08 +0000 (22:05 -0500)]
Refactor mark skipping
Behdad Esfahbod [Mon, 16 Jan 2012 22:03:55 +0000 (17:03 -0500)]
Minor
Behdad Esfahbod [Mon, 16 Jan 2012 21:43:26 +0000 (16:43 -0500)]
[GSUB/GPOS] Fix mark skip indexing issues
Mozilla bug 701637 and 714067 combined.
Patch from Jonathan Kew.