src/hb-iter.hh


Log

Author Commit Date CI Message
Behdad Esfahbod 70a52d6b 2019-01-22T12:15:23 Convert all other enum class consts to static constexpr Fixes https://github.com/harfbuzz/harfbuzz/issues/1553
Behdad Esfahbod d25a2f14 2018-12-23T20:19:52 Fix a few warnings
Behdad Esfahbod 85003b59 2018-12-22T16:19:10 [iter] Fix warning
Behdad Esfahbod 954b9854 2018-12-21T19:55:02 [iter] Add hb_sorted_iter_t<>
Behdad Esfahbod b205105c 2018-12-21T19:48:21 [iter] Change operator[] operand to be signed To fix older compilers again (this was the case in hb_array_t). hb-ot-layout-common.hh:1353: note: candidate 2: operator[](T*, int) <built-in> hb-ot-layout-common.hh:1354: 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-iter.hh:63: note: candidate 1: Item& hb_iter_t<Iter, Item>::operator[](unsigned int) const [with Iter = hb_array_t<const OT::IntType<short unsigned int, 2u> >, Item = const OT::IntType<short unsigned int, 2u>] hb-ot-layout-common.hh:1354: note: candidate 2: operator[](T*, int) <built-in> hb-ot-layout-common.hh: In member function 'bool OT::ClassDef::serialize(hb_serialize_context_t*, hb_array_t<const OT::IntType<short unsigned int, 2u> >, hb_array_t<const OT::IntType<short unsigned int, 2u> >)': hb-ot-layout-common.hh:1490: 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-iter.hh:63: note: candidate 1: Item& hb_iter_t<Iter, Item>::operator[](unsigned int) const [with Iter = hb_array_t<const OT::IntType<short unsigned int, 2u> >, Item = const OT::IntType<short unsigned int, 2u>] hb-ot-layout-common.hh:1490: note: candidate 2: operator[](T*, int) <built-in>
Behdad Esfahbod 25786f49 2018-12-21T19:29:00 [array] Port to hb_iter_t<> hb_array_t is its own iterator...
Behdad Esfahbod 2a33ab05 2018-12-21T18:49:27 [iter] Change __more__ to fallback to __len__
Behdad Esfahbod 2fc1860a 2018-12-21T18:09:45 [iter] Split hb_iter_t<> into hb_iter_t<> and hb_iter_mixin_t<>
Behdad Esfahbod 865deeb3 2018-12-21T17:35:58 Adjust internal header dependencies
Behdad Esfahbod 7557e348 2018-12-21T17:21:19 [iter] Move hb_fill() and hb_copy() to hb-iter.hh
Behdad Esfahbod 5e1840e0 2018-12-21T16:39:57 [iter] Disallow copy-construction or assignment of hb_iter_t<> Should only be done by subclass.
Behdad Esfahbod 40d71211 2018-12-21T16:19:44 [iter] Add const_iter_t / const_iter()
Behdad Esfahbod 3dbe1e36 2018-12-21T15:53:09 [iter] Add .random_access()
Behdad Esfahbod 20f14b4a 2018-12-21T15:19:22 [iter] Fix __end__()
Behdad Esfahbod aeb696a9 2018-12-21T01:57:02 [iter] Rename
Behdad Esfahbod 8001e00a 2018-12-21T01:53:27 [iter] First sample use
Behdad Esfahbod 19d2b501 2018-12-21T01:17:35 [iter] Add bidirectionality
Behdad Esfahbod 314d8698 2018-12-21T00:54:55 [iter] Sketch new iterator design
Behdad Esfahbod b80b97b5 2018-12-21T00:08:05 Revert "Remove unused hb-iter.hh" This reverts commit 969ff3c7aadbe721cdd414488eb170433f10d00c.
Behdad Esfahbod 969ff3c7 2018-12-17T22:43:00 Remove unused hb-iter.hh The ideas there are all part of hb-array.hh now. To be determined how we want to use generic iterator patterns.
Ebrahim Byagowi e4120085 2018-12-17T21:31:01 Remove redundant void from C++ sources (#1486)
Behdad Esfahbod 68d4a5ee 2018-12-17T00:02:42 [array] Add constructor from fixed-size array
Behdad Esfahbod aa8f9471 2018-12-16T20:20:35 [array] Minor
Behdad Esfahbod 01d06e34 2018-12-16T14:27:43 Minor change to explicit_operator aesthetics
Ebrahim Byagowi b2ebaa9a 2018-12-16T22:38:10 Remove redundant 'inline' from methods (#1483)
Behdad Esfahbod c77ae408 2018-08-25T22:36:36 Rename hb-*private.hh to hb-*.hh Sorry for the noise, downstream custom builders. Please adjust.