src/hb-buffer-verify.cc


Log

Author Commit Date CI Message
Behdad Esfahbod 75187186 2025-02-12T11:39:14 [buffer] Add HB_BUFFER_CLUSTER_LEVEL_GRAPHEMES https://github.com/harfbuzz/harfbuzz/discussions/5026#discussioncomment-12168668
Behdad Esfahbod cdbd966e 2024-08-18T10:42:52 [buffer-verify] Fix a compiler warning
Bruce Mitchener 1bddeb97 2024-02-16T23:20:54 Use literal bools when possible rather than ints.
Behdad Esfahbod c85ca75e 2023-06-08T15:57:49 [buffer-verify] Simplify a couple ifs
Behdad Esfahbod e527c17e 2023-06-08T15:56:12 [buffer-verify] Don't consider shaping failure as error
Behdad Esfahbod cb516075 2023-06-08T15:50:53 [buffer-verify] Error handling
Behdad Esfahbod ed023f66 2023-01-12T17:04:24 Enable -Wformat-signedness And fix the codebase.
Behdad Esfahbod 404cb99d 2022-11-23T15:35:14 [buffer-diff] Fix check for glyph flag equality I'm not sure if the old behavior was intentional, but it was checking that the glyph flags were a subset of the reference buffer's glyph flags. I don't see why that is useful. Fix that. Then make the buffer-verify code ignore flag differences when verifying buffers, since our unsafe-to-concat flag at least, is conservative and not guaranteed to be produced the same in fragments. See: https://github.com/harfbuzz/harfbuzz/issues/3888
Behdad Esfahbod cb961eac 2022-06-05T00:44:07 [configs] Fix builds with HB_NO_BUFFER_SERIALIZE but not HB_NO_BUFFER_VERIFY https://github.com/harfbuzz/harfbuzz/commit/e986c12075a69300a5e114fe139ae5acd762ef1b#commitcomment-75339317
Behdad Esfahbod 0384f80e 2022-05-31T08:23:48 [buffer-verify] If shaping buffers failed during verification, pass the test
Behdad Esfahbod 45a22526 2022-05-31T06:23:47 [flags] Fix undefined-behavior SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior ../src/hb-buffer.hh:60:1 in failure on clusterfuzz-testcase-minimized-hb-subset-get-codepoints-fuzzer-5736539338833920
Behdad Esfahbod 56f11ec9 2022-02-18T14:08:43 [buffer] Add HB_BUFFER_FLAG_PRODUCE_UNSAFE_TO_CONCAT Fixes https://github.com/harfbuzz/harfbuzz/issues/3454
Behdad Esfahbod e986c120 2022-01-29T09:08:48 [verify] Show buffer input text when verification fails
Behdad Esfahbod 61823838 2022-01-28T13:45:25 [buffer] Add HB_BUFFER_FLAG_VERIFY Move buffer verification code inside the library, from util/. Part of https://github.com/harfbuzz/harfbuzz/issues/3010