Log

Author Commit Date CI Message
Behdad Esfahbod f1352f74 2018-12-06T10:21:06 Add sub_array to hb_vector_t
Behdad Esfahbod ca23b719 2018-12-06T10:19:03 Add default-value for second arg of sub_array()
Ebrahim Byagowi 6ad3fcdd 2018-12-06T10:21:00 Merge pull request #1458 from harfbuzz/cff-check-blends [CFF] oss-fuzz issue 11714: set_blends
Michiharu Ariza ae087d10 2018-12-05T21:47:34 add minimized test case for oss-fuzz issue 11714
Michiharu Ariza 1ccbdcf7 2018-12-05T21:37:38 Merge branch 'master' into cff-check-blends
Michiharu Ariza 14d29a10 2018-12-05T21:33:29 check number of blends against args on stack
Ebrahim Byagowi f95324a3 2018-12-06T08:33:44 Merge pull request #1457 from harfbuzz/cff-varstore-sanitize [CFF] oss-fuzz issue 11713 (CFF2VariationStore::serialize)
Behdad Esfahbod 6727c4b6 2018-12-05T17:37:21 Merge pull request #1456 from harfbuzz/cff-subr-sanitize [CFF] fix oss-fuzz issue 11691 (BlendArg::set_blends)
Michiharu Ariza 9d8f3b0d 2018-12-05T17:14:51 add minimized test case for oss-fuzz issue 11713
Michiharu Ariza c31092ab 2018-12-05T17:04:55 sanitize variationStore in CFF2 against its size
Michiharu Ariza 34e3ef8f 2018-12-05T15:50:05 Merge branch 'master' into cff-subr-sanitize
Michiharu Ariza 72d8f763 2018-12-05T15:49:11 add minimized test case for oss-fuzz issue 11691
Behdad Esfahbod d9dabc00 2018-12-05T15:39:34 Merge pull request #1454 from harfbuzz/cff-fixbcd [CFF] fix oss-fuzz issue 11674: parse_bcd
Behdad Esfahbod 81cfd3c7 2018-12-05T15:37:15 Merge pull request #1455 from harfbuzz/cff-strinc_assert [CFF] fix oss-fuzz issue 11675 (ASSERT: count <= str.len)
Michiharu Ariza 6dcfda92 2018-12-05T15:07:46 sanitize CFF1 & CFF2 global subrs
Michiharu Ariza 6708c559 2018-12-05T12:51:18 fix oss-fuzz issue 11675 (ASSERT: count <= str.len) Also added an additional error check to avail ()
Michiharu Ariza 010e2ddb 2018-12-05T12:23:58 minimized test case for oss-fuzz issue 11674
Michiharu Ariza 2cb9d4c1 2018-12-05T11:25:29 Merge branch 'master' into cff-fixbcd
Michiharu Ariza a5fa843c 2018-12-05T11:18:16 fixed a bug with fractional part in a negative value
Ebrahim Byagowi 8394a6cb 2018-12-05T15:23:41 [os2] Make newer table fields accessible (#1452)
Ebrahim Byagowi 5ab086eb 2018-12-05T14:17:37 [fdsc] Implement the table parsing Related to https://github.com/harfbuzz/harfbuzz/issues/1337 May used in addition to an API related to STAT. Lots of Apple fonts have it.
Ebrahim Byagowi 8f80e533 2018-12-05T13:51:14 [gasp] Implement the table parsing May or may not be used in https://github.com/harfbuzz/harfbuzz/pull/1432
Ebrahim Byagowi 79e7e344 2018-12-05T13:25:18 Merge pull request #1449 from harfbuzz/cff-fixcharset [CFF] fix for oss-fuzz 11657: Charset overrun
Ebrahim Byagowi cf4b7db6 2018-12-05T13:23:23 Merge pull request #1448 from harfbuzz/cff-leak [CFF] fix leak: oss-fuzz 11662
Michiharu Ariza 620d1ef5 2018-12-05T00:36:11 fix unsigned long const
Michiharu Ariza 28dfb4c1 2018-12-05T00:26:03 fix signed/unsigned comparison
Michiharu Ariza f9cee08e 2018-12-04T23:58:26 use sized int types in parse_bcd
Michiharu Ariza c01a5f32 2018-12-04T23:23:23 refix
Michiharu Ariza 755fefc9 2018-12-04T23:18:28 fix bug
Michiharu Ariza 0e81b153 2018-12-04T22:40:07 fix typo
Michiharu Ariza 85d4b15c 2018-12-04T22:30:33 include float.h
Michiharu Ariza 5a7c371e 2018-12-04T22:24:38 check overflow & clamp
Michiharu Ariza 32cc46c7 2018-12-04T21:32:34 [CFF] fix oss-fuzz issue 11670: NULL dereference (#1450) * guard against no subr access * code tweak * add minimized testcase for oss-fuzz 11670 (Null deference)
Michiharu Ariza 78f639b8 2018-12-04T14:17:03 added minimized testcase for oss-fuzz issue 11657
Michiharu Ariza d3d2f32c 2018-12-04T13:51:26 fix oss-fuzz 11657: buffer overrun Check overrun in Charset1_2::get_glyph
Ebrahim Byagowi d0a250a7 2018-12-04T23:42:13 Reuse hb_aat_layout_has_* logic in coretext-aat detection logic (#1442)
Michiharu Ariza 803d2f92 2018-12-04T11:01:26 Merge branch 'master' into cff-leak
Michiharu Ariza 6ce8d10b 2018-12-04T10:39:17 add unlikely to error handling
Michiharu Ariza b61f74f6 2018-12-04T10:30:35 added minimized test case for oss-fuzz issue 11662
Michiharu Ariza 0b952e60 2018-12-04T10:22:35 more leak fixes
Ebrahim Byagowi c775adc1 2018-12-04T21:30:07 Merge pull request #1444 from harfbuzz/cff-assert removed assert, fixes https://github.com/harfbuzz/harfbuzz/issues/1443
Michiharu Ariza 9473463f 2018-12-04T09:58:48 fix attempt for oss-fuzz 11662 leak
Michiharu Ariza 04f2ca94 2018-12-04T09:24:07 removed assert
Behdad Esfahbod c968869f 2018-12-04T04:14:13 Merge pull request #1441 from harfbuzz/cff-doublenum use double as CFF Number implementation
Michiharu Ariza c48f53d3 2018-12-03T16:59:41 more double changes
Michiharu Ariza 9424e805 2018-12-03T16:18:10 added minimized test cases
Michiharu Ariza 5fff6ab0 2018-12-03T16:06:58 additional precision made a difference in extents test
Michiharu Ariza 9e5180cd 2018-12-03T15:32:42 more double changes
Michiharu Ariza 9af33d7a 2018-12-03T14:48:46 Number to use double for all types
Behdad Esfahbod 8c05b955 2018-12-03T14:30:51 Merge pull request #1439 from ebraminio/tracking [aat] Expose hb_aat_layout_has_tracking API
Ebrahim Byagowi 01f628cf 2018-12-03T22:04:48 [aat] Expose hb_aat_layout_has_tracking API
Behdad Esfahbod d19b1680 2018-12-03T10:41:37 [aat] Expose a couple APIs New API: +hb_aat_layout_has_substitution() +hb_aat_layout_has_positioning()
Behdad Esfahbod 84efe043 2018-12-02T12:38:53 [aat] Fix division sign fallout Happened after 11d2f49af8f53340134c844173f4d8655b00dea3 since now nClasses is unsigned int...
Behdad Esfahbod 2087f5a2 2018-12-01T20:04:45 Add casts to hb_array_t<>
Behdad Esfahbod 58d4d199 2018-12-01T19:34:18 Simplify build source list
Behdad Esfahbod 967a204e 2018-12-01T19:28:17 Minor
Behdad Esfahbod 11d2f49a 2018-12-01T13:12:21 New approach to change BigEndian casts to be int-sized Fixes spurious warnings like: Fixes https://github.com/harfbuzz/harfbuzz/issues/1436
Behdad Esfahbod 50e0273a 2018-12-01T13:03:52 Change hb_assert_unsigned_t<> to hb_is_signed<>
Behdad Esfahbod c3a8b047 2018-12-01T00:14:48 Revert "Change BigEndian casts to be int-sized" This reverts commit eb5ddd32bf4e458ca0af8d5784f8fd46485ad225. Broke tests, badly. To be investigated and reenabled.
Behdad Esfahbod be45677a 2018-12-01T00:04:29 Minor
Behdad Esfahbod eb5ddd32 2018-12-01T00:03:01 Change BigEndian casts to be int-sized Fixes spurious warnings like: Fixes https://github.com/harfbuzz/harfbuzz/issues/1436
Behdad Esfahbod e8860fdc 2018-11-30T23:38:24 Fix more warning
Behdad Esfahbod af349ee3 2018-11-30T23:20:50 Fix warning
Behdad Esfahbod 825df6db 2018-11-30T23:04:59 [CFF] Change spaces to tabs
Behdad Esfahbod 592f39b3 2018-11-30T22:54:57 [CFF] Whitespace
Behdad Esfahbod a2e8d1d4 2018-11-30T22:54:20 Minor
Behdad Esfahbod e3dc47c6 2018-11-30T22:43:22 Remove generated files that were accidentally added by CFF2 branch
Behdad Esfahbod 5e64e0f5 2018-11-30T22:40:54 Merge pull request #1113 from harfbuzz/cff-subset CFF/CFF2 subsetter
Bruce Mitchener 09096aa8 2018-12-01T10:22:49 Use nullptr instead of 0/NULL. (#1435) * Use nullptr instead of 0/NULL. * Update test-name-table.cc
Michiharu Ariza d8c69137 2018-11-30T18:58:14 undo 0u
Michiharu Ariza 2c859b38 2018-11-30T18:47:34 Merge branch 'master' into cff-subset
Behdad Esfahbod bb72de66 2018-11-30T21:36:35 Merge pull request #1433 from harfbuzz/overload-overload Fix ambiguous overload errors with old compilers
Behdad Esfahbod fb059082 2018-11-30T20:45:40 Revert ugly fixes Now that we have 6daf45e0, revert cryptic hacks... This reverts commit abd81ed4f5cbc5a94171747909bc6b77551cb929. This reverts commit 9c6921c08c905a0cf45ba0182134e6ff910fac51. This reverts commit d39760cabfe4007cefdfc45231e85e93fababac2. This reverts commit fedd8e6c176dea85194693399e50243eb1c117c4. Fixes https://github.com/harfbuzz/harfbuzz/issues/1374
Behdad Esfahbod dfad19ad 2018-11-30T19:57:12 Make operator [] take signed int The built-in operator takes signed int. So, match it, such that the built-in is never a better or equally-good match to our operator. Fixes "ambiguous overload" errors from gcc 4.2 and VS 2008. See https://github.com/harfbuzz/harfbuzz/issues/1374
Michiharu Ariza 9483da14 2018-11-30T16:59:41 redo fixes
Michiharu Ariza 291da448 2018-11-30T16:50:46 yet another
Michiharu Ariza b1821b9d 2018-11-30T16:31:01 some more
Michiharu Ariza 9784cff5 2018-11-30T16:07:08 fix another pesky gcc error
Michiharu Ariza 23a797b4 2018-11-30T15:15:31 silence picky gcc errors
Michiharu Ariza 9ae954f4 2018-11-30T15:00:52 Merge branch 'master' into cff-subset
Behdad Esfahbod fedd8e6c 2018-11-30T16:50:30 One more......... I wonder if there's something better to do about these :(. In file included from hb-ot-color.cc:31: hb-ot-color-cpal-table.hh: In member function 'unsigned int OT::CPAL::get_size() const': hb-ot-color-cpal-table.hh:118: error: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second:
Behdad Esfahbod bc5db9b0 2018-11-30T16:04:52 One more.... hb-ot-vorg-table.hh:96: error: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: hb-vector.hh:87: note: candidate 1: const Type& hb_vector_t<Type, PreallocedCount>::operator[](unsigned int) const [with Type = OT::VertOriginMetric, unsigned int PreallocedCount = 8u] hb-ot-vorg-table.hh:96: note: candidate 2: operator[](const T*, int) <built-in>
Behdad Esfahbod d39760ca 2018-11-30T15:55:30 One more... Sigh. hb-ot-kern-table.hh: In member function 'int OT::KernSubTableFormat3<KernSubTableHeader>::get_kerning(hb_codepoint_t, hb_codepoint_t) const': hb-ot-kern-table.hh:59: error: ambiguous overload for 'operator[]' in 'kernValue[kernIndex[i]]' hb-ot-kern-table.hh:59: note: candidates are: operator[](T*, int) <built-in> hb-dsalgs.hh:574: note: Type& hb_array_t<Type>::operator[](unsigned int) const [with Type = const OT::IntType<short int, 2u>]
Behdad Esfahbod 9c6921c0 2018-11-30T15:16:57 More... hb-ot-layout-gsubgpos.hh:1707: error: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: ...
Behdad Esfahbod f998bb20 2018-11-30T12:52:21 More weird fixes In file included from hb-ot-name.cc:29: hb-ot-name-table.hh: In member function 'unsigned int OT::name::get_size() const': hb-ot-name-table.hh:157: error: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: hb-open-type.hh:354: note: candidate 1: const Type& OT::UnsizedArrayOf<Type>::operator[](unsigned int) const [with Type = OT::NameRecord] hb-ot-name-table.hh:157: note: candidate 2: operator[](const T*, int) <built-in> hb-ot-name-table.hh: In member function 'void OT::name::accelerator_t::init(hb_face_t*)': hb-ot-name-table.hh:196: error: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: hb-dsalgs.hh:574: note: candidate 1: Type& hb_array_t<Type>::operator[](unsigned int) const [with Type = const OT::NameRecord] hb-ot-name-table.hh:196: note: candidate 2: operator[](T*, int) <built-in> hb-ot-name-table.hh:197: error: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: hb-dsalgs.hh:574: note: candidate 1: Type& hb_array_t<Type>::operator[](unsigned int) const [with Type = const OT::NameRecord] hb-ot-name-table.hh:197: note: candidate 2: operator[](T*, int) <built-in> hb-ot-name-table.hh:198: error: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: hb-dsalgs.hh:574: note: candidate 1: Type& hb_array_t<Type>::operator[](unsigned int) const [with Type = const OT::NameRecord] hb-ot-name-table.hh:198: note: candidate 2: operator[](T*, int) <built-in> make[4]: *** [libharfbuzz_la-hb-ot-name.lo] Error 1 make[3]: *** [all-recursive] Error 1
Behdad Esfahbod 67fd94da 2018-11-30T11:53:30 Merge commit 'ae79fdaa7774d3f886a8f03926577c3bd2010b03'
Behdad Esfahbod abd81ed4 2018-11-30T11:51:26 Umm. Cryptic, yes In file included from hb-face.cc:35: hb-ot-cmap-table.hh: In member function 'void OT::CmapSubtableFormat4::_compiles_assertion_on_line_388() const': hb-ot-cmap-table.hh:388: error: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: hb-open-type.hh:354: note: candidate 1: const Type& OT::UnsizedArrayOf<Type>::operator[](unsigned int) const [with Type = OT::IntType<short unsigned int, 2u>] hb-ot-cmap-table.hh:388: note: candidate 2: operator[](const T*, int) <built-in> hb-ot-cmap-table.hh: In member function 'void OT::CmapSubtableFormat4::_instance_assertion_on_line_388() const': hb-ot-cmap-table.hh:388: error: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: hb-open-type.hh:354: note: candidate 1: const Type& OT::UnsizedArrayOf<Type>::operator[](unsigned int) const [with Type = OT::IntType<short unsigned int, 2u>] hb-ot-cmap-table.hh:388: note: candidate 2: operator[](const T*, int) <built-in> hb-face.cc: In function 'hb_blob_t* _hb_face_builder_data_reference_blob(hb_face_builder_data_t*)': hb-face.cc:650: error: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: hb-vector.hh:81: note: candidate 1: Type& hb_vector_t<Type, PreallocedCount>::operator[](unsigned int) [with Type = hb_face_builder_data_t::table_entry_t, unsigned int PreallocedCount = 32u] hb-face.cc:650: note: candidate 2: operator[](T*, int) <built-in> hb-face.cc:650: error: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: hb-vector.hh:81: note: candidate 1: Type& hb_vector_t<Type, PreallocedCount>::operator[](unsigned int) [with Type = hb_face_builder_data_t::table_entry_t, unsigned int PreallocedCount = 32u] hb-face.cc:650: note: candidate 2: operator[](const T*, int) <built-in> hb-face.cc:651: error: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: hb-vector.hh:81: note: candidate 1: Type& hb_vector_t<Type, PreallocedCount>::operator[](unsigned int) [with Type = hb_face_builder_data_t::table_entry_t, unsigned int PreallocedCount = 32u] hb-face.cc:651: note: candidate 2: operator[](T*, int) <built-in> hb-face.cc:651: error: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: hb-vector.hh:81: note: candidate 1: Type& hb_vector_t<Type, PreallocedCount>::operator[](unsigned int) [with Type = hb_face_builder_data_t::table_entry_t, unsigned int PreallocedCount = 32u] hb-face.cc:651: note: candidate 2: operator[](const T*, int) <built-in>
Behdad Esfahbod ae79fdaa 2018-11-30T11:51:26 Umm. Cryptic, yes hb-face.cc:650: error: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second: hb-vector.hh:81: note: candidate 1: Type& hb_vector_t<Type, PreallocedCount>::operator[](unsigned int) [with Type = hb_face_builder_data_t::table_entry_t, unsigned int PreallocedCount = 32u] hb-face.cc:650: note: candidate 2: operator[](T*, int) <built-in>
Behdad Esfahbod 0f32c95e 2018-11-30T11:31:39 Fix a few more sizeof(vector[0]) errors with weird compilers
Behdad Esfahbod 88630a45 2018-11-30T01:11:04 Fix build for realz
Behdad Esfahbod 346286d0 2018-11-30T00:44:40 Fix build
Behdad Esfahbod 31f39cb4 2018-11-30T00:38:08 [post] Rename v2 to v2X
Behdad Esfahbod e3dd47e6 2018-11-30T00:32:12 Move things
Behdad Esfahbod 27a6b0a2 2018-11-29T16:29:30 Fix build for realz
Behdad Esfahbod e2af4dd1 2018-11-29T16:03:15 [uniscribe] Fix build
Ebrahim Byagowi bf738ba3 2018-11-30T00:06:40 [test][aat] Remove extra --shaper ot As run-tests.py already adds it
Ebrahim Byagowi b65645bb 2018-11-29T23:57:50 [ci] Re-enable llvm-gcc-4.2 bots (#1429)
Ebrahim Byagowi e7bd29ea 2018-11-29T23:47:20 Limit __builtin_bswap16 to GCC >= 5 as it was implemented on 4.8
Behdad Esfahbod ac026471 2018-11-29T15:07:44 [coretext] Fix compile Fingers crossed.
Behdad Esfahbod 5c4fead7 2018-11-29T15:04:34 Convert "static const hb_tag_t" constants to enum