kc3-lang/harfbuzz/test

Branch :


Log

Author Commit Date CI Message
05be05eb 2020-04-22 13:34:51 [kern] Test format 3.
b22f61d8 2020-04-21 11:49:05 Fix bug
750bb73e 2020-04-21 01:13:13 [meson] Add an experimental-api option
0181f030 2020-04-20 17:07:09 [test] Workaround Windows pipe issue by storing ttx in a file
ac26f19c 2020-04-19 22:25:14 Refactor test/api/meson.build and always run test-unicode test
c6b3f73b 2020-04-19 00:54:24 [meson] Make harfbuzz-icu separate module optout-able
8ae06c94 2020-04-18 20:22:45 meson: build a separate library for harfbuzz-icu This adds a seperate library like with autotools. This also fixes the ico feature option which was just set to required:false when disabled instead of really disabling it. Disabling is still broken with msvc because it then tries to find the library another way, but that's broken for all other deps as well so I left it as is. For tests only test-unicode.c is using icu specific functions so split it out into its own category which depends on harfbuzz-icu. Fixes #2338
2354a900 2020-04-18 20:28:25 tests: fix subset/run-tests.py under Windows It assumed that stdout of a subprocess in binary mode was using utf-8 which isn't the case. Instead open stdout of the subprocess in text mode and let Python handle the decoding.
22f7c61a 2020-04-17 23:49:51 implement SID to glyph ID mapping with predefined Charset Also fixes oss-fuzz 21769
fefaa8c8 2020-04-17 22:28:09 [test] define G_APPROX_VALUE and EPSILON only when used resolves -Weverything bot complain
29c90322 2020-04-17 22:11:40 Move hb_ot_layout_closure_{features,lookups} behind EXPERIMENTAL flag
9b7fb5c2 2020-04-17 20:12:24 Move hb_font_get_var_coords_design behind HB_EXPERIMENTAL_API
a5e5a790 2020-04-16 01:38:43 [tests] Enable the just added macOS test for older version The test is added in 7035c9cd but the same font is available in older versions of macOS so let's run it in older versions also. It doesn't matter much, more for consistency reasons.
7035c9cd 2020-04-03 19:00:42 Add test for #2290. This tests that we can set two separate Type=Ligature selectors at the same time, common=off + discretionary=on.
0d569598 2020-04-05 18:44:26 [subset] fixes dangling object_t issue in FeatureVariationRecord Fixes https://crbug.com/oss-fuzz/21560 revert () does not clean up useless object_t. Adjust the order of subsetting substitutions and conditions to avoid dangling object_t.
57b7de03 2020-04-05 17:07:48 [subset] Fail ClassDefFormat1 serialization if no space available Fixes https://crbug.com/oss-fuzz/21580
c8cc1e37 2020-04-02 16:57:01 fix issues in ClassDefFormat1 serialize: glyph ids in Iterator may be non-consecutive, so the number in classValue might be larger than length of the Iterator
4a49b36a 2020-04-03 19:36:48 [tests/macos] Adopt added Apple Chancery tests with older macos versions
548a2525 2020-04-03 16:18:20 Add a test for #2307.
120d86fa 2020-04-03 15:10:14 Add tests for #2305.
89fa70f5 2020-04-03 00:05:40 [aat] minor over previous feat related changes
58b4d18b 2020-04-02 17:54:09 Add a couple testcases for issue 2285. A few simple testcases to confirm that setting liga=0 does not break shaping with the Tibetan AAT font Kokonor, but does still disable common ligatures in Times.
014e038b 2020-03-31 16:29:29 [subset] Bail out of context lookup expansion once the lookup limit is encountered.
5d345d0c 2020-03-31 17:46:19 [subset] Limit the number of lookup indices processed subsetting Feature. > Also, remove two unnessecary full iterations of the lookup index iterator during serialization of the index array. Fixes fuzzer found timeout.
96d792ae 2020-03-24 14:05:47 [avar] Prevent mul overflow Fixes https://crbug.com/oss-fuzz/21350
4ad686b9 2020-03-25 23:32:28 [subset] fix fuzzer timeout in layout closure Bail out of chain context lookup expansion once the lookup limit is encountered.
7054b122 2020-03-24 22:35:41 [meson] Mark rest of non-install executables explicitly
68df3f7d 2020-03-24 20:58:38 [meson] test/api, separate subset tests
600bf21f 2020-03-24 20:08:40 [meson] Add draw-fuzzer runner
28deb6b7 2020-03-24 19:41:53 [meson] test/fuzzing simplify
78622231 2020-03-24 19:39:42 [meson] More comment on tests are causing timeout failure
9bc792f4 2020-03-24 19:37:56 [meson] Don't set MALLOC_PERTURB_ as it is already set by meson
e8808c1c 2020-03-24 19:15:09 [meson] Minor, replace tabs with spaces
4dfda9fe 2020-03-24 19:33:31 [meson] Update and simplify test/shaping
f22e92bb 2020-03-24 19:32:55 [meson] Update test/api from autotools
e248a4e4 2020-03-24 18:56:49 [make] Minor reordering on test/api/Makefile.am
d57fc627 2020-03-24 16:03:04 [meson] raise timeout value of subset fuzzer
76169526 2020-03-19 11:43:37 [tests] Remove py2 workaround for lack of timeout in subprocess
b5526a09 2020-03-18 23:58:20 [tools] Remove in-house 'which' now that we have py3
a0c58be3 2020-03-18 23:40:59 [tools] Remove py2 remains
03564fd2 2020-03-14 20:09:00 [test] fix misspell
1b8a37f7 2020-03-14 20:06:41 [test] minor fix oops...
0423da33 2020-03-14 20:05:23 [test] minor fix macos tests are using absolute path which aren't relevant in Windows
74fdd34f 2020-03-14 20:03:14 [test] make run-tests.py work on Windows
a3892be7 2020-03-14 01:08:15 [meson] fix spurious warning when building test/api C sources Fixes compiler warning test-unicode.c:589:1: warning: ‘test_unicode_properties_lenient’ defined but not used which didn't happen with autotools. Reason it does with meson is that the setup for C was slightly wrong. We would only add -DHAVE_CONFIG_H to cpp_args which is only valid when compiling C++ code, but not plain C code, and many of these tests were plain C. Instead pass -DHAVE_CONFIG_H via add_project_arguments() and make sure to set both c_args and cpp_args when building test executables. Fixes https://github.com/harfbuzz/harfbuzz/issues/2257
430bf696 2020-03-13 11:20:34 Add potentially crashing font as a fuzzer seed.
da95a8c2 2020-03-13 15:49:08 Shaping tests: Skip FreeType tests if support not present HarfBuzz could have been built without FreeType, so we skip the test when hb-shape reports that the font function `ft' is unknown
755a77d6 2020-01-29 22:26:04 Move outline draw API behind HB_EXPERIMENTAL_API directive
834a224a 2020-03-12 03:02:36 [subset] Put a limit on the number of lookup indices that can be visited during closures Fixes https://crbug.com/oss-fuzz/21025
12df69e5 2020-03-11 21:52:43 Minor, delete not needed cmake testing file
943bfeda 2020-03-11 20:30:41 [meson] Enable more of the subset tests
c494d7ab 2020-03-11 19:44:13 Remove cmake testing and add meson build bot CMake tests are broken anyway as py3 changes so let's get rid of them
1c3f80ba 2020-03-11 19:29:47 [meson] Minor updates
f1e5f4a7 2018-12-02 00:33:43 meson: tests: shaping: add aots tests
84725fb0 2018-12-02 00:32:57 meson: tests: shaping: add missing in-house tests
8fc66dbf 2018-12-01 21:15:33 meson: tests: subset: no need to check for 'which' command any more Test runner script now handles that.
04438554 2018-11-15 00:25:41 meson: Update build files after rebase
618584e9 2018-11-14 20:19:36 meson: rename incbase to incconfig Makes it clearer what it's for: config.h. See #4.
d4a72373 2018-05-17 16:25:22 meson: all tests passing on Windows / MSVC
7ee650b1 2018-05-17 23:52:36 meson: refactor fuzzing test
920efc0e 2018-05-17 01:28:53 Add Meson build definitions Fixes #490 http://mesonbuild.com
78eabf24 2020-03-10 13:34:42 [test] Enable OT funcs on tests that are working
0d729b4b 2020-03-07 11:53:12 [avar] Fix out-of-bound read when input is bigger than all the coords 'i' shouldn't become equal to array's length which as the increament is happened at end of the loop, if the input is bigger than all the table coords, it will be equal to array's length. Fixes https://crbug.com/oss-fuzz/21092
6924e29f 2020-03-03 13:11:11 [var] Fix hb_ot_var_get_axis_infos's offset semantic The API was adding offset to input's infos buffer index also which is unusual between our APIs and wrong.
c05458ec 2020-03-02 16:51:19 update cff & cff2 subsetters
446d1e3b 2020-03-04 23:32:50 [fuzz] Add more of fixed cases
99b5b3f1 2020-03-04 11:15:46 [gvar] Make sure TupleVarHeader has the needed size Fixes https://crbug.com/oss-fuzz/21026
558f9227 2020-03-03 20:27:19 [fuzz] Avoid empty memcpy and ubsan complain by length checking before memcpy
6543d166 2020-03-03 20:26:46 [fuzz] Remove the not yet fixed timeout, going to investigate
2bbf1c86 2020-03-03 19:42:38 [fuzz] Add more of supposed to already be fixed cases from Chromium bug tracker
f253f06c 2020-03-03 18:57:13 [fuzz] Add another fixed case https://crbug.com/oss-fuzz/14626 another numerous subtables count which is fixed by d38360397
d3836039 2020-03-02 22:41:08 Limit OT::Lookup subtables (#2219) Fixes https://crbug.com/oss-fuzz/13943
29efd964 2020-03-02 14:22:29 [fuzz] Add cases that marked as wontfix Let's see if they were really false alarms, if so, let's just have them.
cb65150f 2020-02-29 16:12:54 [draw] minor
44169f33 2020-02-29 16:04:03 [draw] Fix invalid rendering of some glyph on Estedad-VF Basically reverts 11f3fca so I can do the same tested and better later Fixes #2215
86c40b3a 2020-02-29 14:11:46 [fuzz/draw] Call _get_glyph_extents Other render related APIs also may be added also later such as ot-color and future rendering things.
5ab50eeb 2020-02-29 01:32:29 collect_unicodes() with clamp, calling add_range() Use add_range instead an inner loop, clamp its input number by number of glyphs a face has. Even the face cmap12 and 13 have 32-bit hb_codepoint_t, which is here used to make timeout, face's maxp has 16-bit gid limitation at least for now, using that makes sure we both fix and the timeout and don't need to change much things here also in order to support 32-bit gids also someday. Fixes #2204
410b4881 2020-02-28 10:38:27 [subset] Add fuzzer timeout testcase.
e57ced5f 2020-02-28 23:29:05 [gvar] Add other possibly fixed fuzzer case Speculatively should've been fixed by 61208401 https://crbug.com/oss-fuzz/20924 related
758fda72 2020-02-28 23:19:06 [glyf] Don't accept gids higher than maxp's glyphs number This specially becomes concerning on sub-components where a gvar table that is sanitized using maxp's glyphs number overflows when a high gid accepted here goes to it, maybe an additional check can be put there also, this however feels to be enough. Fixes https://crbug.com/oss-fuzz/20944
e9021386 2020-02-28 21:24:27 Revert "collect_unicodes() to check gid < num_glyphs with cmap 12" Didn't fix the case actually, making bots to fail. This reverts commit 15b43a410400c74a32d40f4b89dbea02fa7cd6e1.
61208401 2020-02-28 21:09:07 [gvar] Use hb_bytes_t.check_range instead having in house one And use TupleVarHeader calculated size for validity check. Fixes https://crbug.com/oss-fuzz/20919 and possibly other gvar related issues
15b43a41 2020-02-28 08:45:39 collect_unicodes() to check gid < num_glyphs with cmap 12 fixes #2204
868ecf7b 2020-02-28 19:50:30 [draw] Add fuzzer runner
8eba66c1 2020-02-27 15:58:58 [gvar] Fix invalid memory access by refactoring GlyphVarData fetch logic Fixes https://crbug.com/oss-fuzz/20906
5ad761b9 2020-02-11 13:05:40 [subset] GDEF MarkGlyphSets subsetting support
fcd7f33b 2020-02-10 10:36:50 [subset] GDEF glyphClassDef subsetting support glyphClassDef uses the same ClassDef format. However, glyphClassDef table uses predefined class values so we do not remap class values.
a99134c5 2020-02-26 09:58:03 add oss-fuzz 20886 test file
1b8b8638 2020-02-26 16:36:48 minor
132fcfbc 2020-02-26 16:15:17 [fuzz] minor don't abort main.cc when the file was empty or not found
84163c83 2020-02-26 15:58:11 [draw] Skip commands and paths not contributing anything They aren't contributing to rendering and making issue for stroking, let's skip them ourselves as Skia does also https://skia-review.googlesource.com/c/skia/+/268166 They are useful for extracting extents and so which that functionality won't be effected by this change.
c400cb88 2020-02-25 16:06:03 Re-implement hb_set_t::del_range (#2194) * optimize hb_set_del_range() fix issue #2193 * fixed bug & added tests * coding & comment tweaks
4081439d 2020-02-25 15:03:12 tweak reflecting review & add test cases
152000d9 2020-02-25 20:07:25 [fuzz] Practice variations on font object
036d8689 2020-02-24 10:34:51 [draw] Add a fuzzer Specially checks correctness of the API semantics: * no move happens when a path is already opened with move-to. * no path will be left open and close-path will happen at the end of opened paths. * no path opens with a move-to and will be closed with no length. * paths start and ending points matches. * no line/quadratic/cubic command will be issued when no path is started.
173b745d 2020-02-24 22:56:57 fixed bug & added tests
a5012e97 2020-02-24 17:09:48 optimize hb_set_del_range() fix issue #2193
96b71e80 2020-02-24 23:00:58 [fuzz] make the custom loader to handle multiple files Actually this was the way it used to work :)
1f5a54c7 2020-02-24 13:18:24 [gvar] fix infinite loop introduced by 11f3fca The attempt on removing end_points had made the code unreadable and has intrdouced infinite, fixed by making the code clear what it tries to achieve.
e17fd0d9 2020-02-23 23:58:39 [tools] More on py3 compatibility