1. 16 5月, 2019 5 次提交
    • B
      Fix clang build · d214b078
      Behdad Esfahbod 提交于
      Ugh.
      
      In file included from hb-ot-face.cc:41:
      ./hb-ot-layout-gsub-table.hh:293:7: error: template parameter redefines default argument
               hb_requires (hb_is_sorted_source_of (Iterator,
               ^
      ./hb-meta.hh:59:27: note: expanded from macro 'hb_requires'
       define hb_requires(Cond) hb_enable_if((Cond))
                                ^
      ./hb-meta.hh:57:67: note: expanded from macro 'hb_enable_if'
       define hb_enable_if(Cond) typename hb_enable_if<(Cond)>::type* = nullptr
                                                                        ^
      ./hb-ot-layout-gsub-table.hh:40:5: note: previous default template argument defined here
          hb_requires (hb_is_sorted_source_of (Iterator,
          ^
      ./hb-meta.hh:59:27: note: expanded from macro 'hb_requires'
       define hb_requires(Cond) hb_enable_if((Cond))
                                ^
      ./hb-meta.hh:57:67: note: expanded from macro 'hb_enable_if'
       define hb_enable_if(Cond) typename hb_enable_if<(Cond)>::type* = nullptr
                                                                        ^
      d214b078
    • B
      Fix clang build · 371b55c7
      Behdad Esfahbod 提交于
      In file included from hb-ot-face.cc:41:
      ./hb-ot-layout-gsub-table.hh:293:7: error: template parameter redefines default argument
               hb_requires (hb_is_sorted_source_of (Iterator,
               ^
      ./hb-meta.hh:59:27: note: expanded from macro 'hb_requires'
       define hb_requires(Cond) hb_enable_if((Cond))
                                ^
      ./hb-meta.hh:57:67: note: expanded from macro 'hb_enable_if'
       define hb_enable_if(Cond) typename hb_enable_if<(Cond)>::type* = nullptr
                                                                        ^
      ./hb-ot-layout-gsub-table.hh:40:5: note: previous default template argument defined here
          hb_requires (hb_is_sorted_source_of (Iterator,
          ^
      ./hb-meta.hh:59:27: note: expanded from macro 'hb_requires'
       define hb_requires(Cond) hb_enable_if((Cond))
                                ^
      ./hb-meta.hh:57:67: note: expanded from macro 'hb_enable_if'
       define hb_enable_if(Cond) typename hb_enable_if<(Cond)>::type* = nullptr
                                                                        ^
      1 error generated.
      371b55c7
    • B
      Whitespace · f92d188d
      Behdad Esfahbod 提交于
      f92d188d
    • G
      962f95cf
    • B
      Reduce captures of lambdas · 78d35f0e
      Behdad Esfahbod 提交于
      78d35f0e
  2. 15 5月, 2019 1 次提交
  3. 11 5月, 2019 1 次提交
  4. 08 5月, 2019 2 次提交
  5. 06 5月, 2019 2 次提交
  6. 03 5月, 2019 1 次提交
  7. 01 5月, 2019 1 次提交
  8. 24 4月, 2019 3 次提交
  9. 13 4月, 2019 1 次提交
    • B
      Hide a few static methods · 95df00ae
      Behdad Esfahbod 提交于
      Looks like static methods that do not get inlined end up exported.
      We have a lot more.  Need to protect all at some point.  Wish there
      was an easier way, like the visibility flag we pass that automatically
      hides all inline methods.
      
      Was exposed by check-symbols.sh when compiling on OS X 10.14 with:
      
      $ make CPPFLAGS=-Oz CXXFLAGS=-flto=thin LDFLAGS=-lc++
      95df00ae
  10. 30 3月, 2019 10 次提交
  11. 15 2月, 2019 5 次提交
  12. 31 1月, 2019 1 次提交
    • B
      [iter] Fix mystery crash · 2d940946
      Behdad Esfahbod 提交于
      Fuzzer caught it:
      
      ==14==ERROR: AddressSanitizer: stack-use-after-return on address 0x7fca2ed7a3e0 at pc 0x0000006057aa bp 0x7ffc3290f1d0 sp 0x7ffc3290f1c8
      READ of size 4 at 0x7fca2ed7a3e0 thread T0
      SCARINESS: 55 (4-byte-read-stack-use-after-return)
          #0 0x6057a9 in OT::SingleSubstFormat2::subset(hb_subset_context_t*) const /src/harfbuzz/src/./hb-ot-layout-gsub-table.hh:194:40
          #1 0x5ff921 in hb_subset_context_t::return_t OT::SingleSubst::dispatch<hb_subset_context_t>(hb_subset_context_t*) const /src/harfbuzz/src/./hb-ot-layout-gsub-table.hh:256:13
      
      I can't reproduce locally, but many of the bots are failing because of this
      as well.
      
      It's a pity that operator-> must return pointer.  Ugh.  Why?!
      2d940946
  13. 30 1月, 2019 1 次提交
  14. 22 1月, 2019 1 次提交
  15. 21 1月, 2019 5 次提交