Log

Author Commit Date CI Message
Behdad Esfahbod 356708e3 2022-11-18T18:17:34 [test-set] Test length of iterator
Behdad Esfahbod 2892fc71 2022-11-18T18:03:59 [vector] Add std::move to pop() This was removed in 76fc27713f52cc338f0325650c2c7798f5cfa2ce, but I believe that was faultly. It was because of a bad move implementation in the set.
Behdad Esfahbod 921f45f4 2022-11-18T17:26:58 [array] Rewrite hash() as dagger
Behdad Esfahbod 21311731 2022-11-18T17:24:23 [array] Remove hash specializations for bytes Not needed.
Behdad Esfahbod bef5a1c8 2022-11-18T17:22:17 [vector] Comment
Behdad Esfahbod 69b41f92 2022-11-18T17:04:34 [vector] Simplify shift_down_vector() Compiler is smarter than I am.
Behdad Esfahbod 1dd9396c 2022-11-18T17:01:14 [vector] Optimize grow_vector() for size Again, compiler is smarter than I am.
Behdad Esfahbod d36f6881 2022-11-18T17:00:07 [vector] Optimize shrink_vector for size Compiler is smarter than I am.
Behdad Esfahbod bc8eded2 2022-11-18T16:51:24 [vector] Remove a for loop
Behdad Esfahbod afd9a58b 2022-11-18T16:46:01 [vector] Save a couple hb_iter() invocations
Behdad Esfahbod 3ead9863 2022-11-18T16:43:47 [map] Add size()
Behdad Esfahbod 42db8be1 2022-11-18T16:41:50 [map] Minor remove if condition
Behdad Esfahbod 4ec70698 2022-11-18T16:39:30 [map] Rewrite hash() as dagger Somehow our daggers instead of for loop save size. I cannot pinpoint why, other than maybe not inlining.
Behdad Esfahbod 025a68cb 2022-11-18T16:33:04 [map] Optimize copy resizing logic
Behdad Esfahbod f1d71687 2022-11-18T16:31:27 [map] Change bucket_for_hash() to item_for_hash()
Behdad Esfahbod d012f9a9 2022-11-18T16:29:06 [map] Change bucket_for() to item_for()
Behdad Esfahbod 68a29020 2022-11-18T16:02:45 [bit-page] Write hash() as dagger
Behdad Esfahbod 87271e1b 2022-11-18T16:01:23 [bit-page] Write get_population as dagger
Behdad Esfahbod 744eb6ba 2022-11-18T15:56:06 [bit-page] Write is_empty() as dagger
Behdad Esfahbod 43a4028f 2022-11-18T15:54:34 [algs] Move hb_vector_size_t to bit-page as only user
Behdad Esfahbod 01f961ac 2022-11-18T15:47:17 [gsubgpos] Minor call hb_iter() instead of ->iter() directly
Behdad Esfahbod bba57655 2022-11-18T14:52:17 [gsubgpos] Remove a few unnecessary namespace invocations
Behdad Esfahbod b4d0d160 2022-11-18T14:47:33 [gsubgpos] Rewrite a couple apply() functions as daggers
Behdad Esfahbod 76c8214e 2022-11-18T12:30:46 [gsubgpos] Move member around
Behdad Esfahbod 81a57300 2022-11-17T16:59:36 [map] Optimize storage
Behdad Esfahbod ae080bf2 2022-11-17T16:34:58 [map] Initialize key and value explicitly If they are of int time they won't be initialized otherwise.
Behdad Esfahbod 1d41b9cb 2022-11-17T16:26:48 [user-data] std::move item
Behdad Esfahbod ff0bb748 2022-11-17T16:17:37 [map] Call item_t constructor/destructor directly
Behdad Esfahbod 5c887159 2022-11-17T16:14:16 [map] Add item_t.destruct()
Behdad Esfahbod 7f830408 2022-11-17T16:10:37 [map] Simplify (de)construction of item_t
Behdad Esfahbod 99103bd9 2022-11-17T15:57:06 [map] Destruct objects when clearing
Behdad Esfahbod 4caad572 2022-11-17T15:51:39 [test-map] Add test for reset I expect this to leak now, since we don't destruct items.
Behdad Esfahbod e93c01c3 2022-11-17T15:50:00 [map] Rename item clear() to construct()
Behdad Esfahbod fc22d706 2022-11-17T15:46:48 [test-map] Don't insert null smart-pointers in map Dereferencing them is not supported anymore after 3aad7c2ddffc3f882bf33504dbac31be491c4d72 We don't support that for regular pointers, so don't supporting them for smart-pointers sounds right to me.
Behdad Esfahbod 89637746 2022-11-17T15:25:45 [map] Don't resize map if not necessary
Behdad Esfahbod 7595fa2d 2022-11-17T15:19:29 [map] Fix copy-assignment operator Ouch!
Behdad Esfahbod 41f4bdac 2022-11-17T15:16:00 [map] Fix resize during copy-construction/assignment
Behdad Esfahbod 3aad7c2d 2022-11-17T15:10:47 [algs] Remove smart-pointers from hb_hash() hb_deref() handles them. I think this code predated that.
Behdad Esfahbod 7bd10172 2022-11-17T15:01:55 [map] Minor use hb_iter instead of hb_array
Behdad Esfahbod 238fc147 2022-11-17T14:58:50 [map] Simplify iterators
Behdad Esfahbod 410c14bf 2022-11-17T14:53:00 [map] Fix equality Ouch!
Behdad Esfahbod 6dfd4a16 2022-11-16T22:44:22 [ot-font] Remove stale TODO
Behdad Esfahbod a0bde1e1 2022-11-16T21:27:12 [open-type] Remove (Sorted)ArrayOf.sub_array()
Behdad Esfahbod f2b5db70 2022-11-16T21:22:43 [vector] Remove .sub_array ()
Behdad Esfahbod c7d57dcf 2022-11-16T21:21:31 [vector/array] Simplify qsort()
Behdad Esfahbod 1610008e 2022-11-16T20:02:36 [gsubgpos] Minor remove call to hb_iter
Behdad Esfahbod 19ec01d2 2022-11-16T19:14:42 [gsubgpos] Sprinkle const around
Behdad Esfahbod 561946c7 2022-11-16T17:58:59 [layout] Comment
Behdad Esfahbod 2268207c 2022-11-16T17:51:22 [layout] Update comment
Behdad Esfahbod 658f8f43 2022-11-16T17:50:35 [layout] Comment
Behdad Esfahbod 27a8fe7d 2022-11-16T17:49:44 [layout] Only update buffer digest if buffer changed by a pause
Behdad Esfahbod 8b2a2111 2022-11-16T16:57:44 [layout] Keep digest updated in the context Don't recompute digest after every (applied) GSUB lookup.
Behdad Esfahbod a5964a2d 2022-11-16T16:45:23 [layout] Minor simplify
Behdad Esfahbod 44396197 2022-11-16T16:35:00 [perf] Add fa-words.txt and use in shape benchmark
Behdad Esfahbod 80b87588 2022-11-16T16:26:41 [layout] Add a buffer message for digest-skipped lookups
Behdad Esfahbod afa71ee8 2022-11-16T16:22:45 Fix alignment error
Behdad Esfahbod dff1b809 2022-11-16T16:19:05 [buffer] Add .digest() and use
Behdad Esfahbod 654a2eaf 2022-11-16T16:09:04 [layout] Use buffer-digest for GSUB as well Combined with previous commit, this shows up to 12% speed up with Roboto and the en-words (ie. short strings) benchmark, about 5% for longer English tests, and no adverse effect on heavier fonts.
Behdad Esfahbod 15b6c325 2022-11-16T15:59:13 [layout] Use a buffer digest for GPOS to skip whole lookups
Behdad Esfahbod a053b84c 2022-11-16T14:39:25 [gsubgpos] Optimize set-digest initialization Previously we were once collecting set-digest for each subtable, and another time for each lookup. Now we compute the one for each lookup simply from the ones for its subtables.
Behdad Esfahbod 20654cd8 2022-11-16T14:15:58 [set-digest] Minor no logic change
Behdad Esfahbod 95b9763d 2022-11-16T14:15:01 [set-digest] Minor simplify
Behdad Esfahbod 9855b678 2022-11-16T13:37:34 [cache] Minor rewrite assertion
Behdad Esfahbod a10ff205 2022-11-16T13:34:37 [ft] Comment
Behdad Esfahbod 557be950 2022-11-16T12:47:05 [test-vector] Fix test
Behdad Esfahbod 9027d154 2022-11-16T12:39:30 [test-iter] Fix leak
Behdad Esfahbod afd716d4 2022-11-16T12:28:56 [serialize] Don't free object-pool in reset()
Behdad Esfahbod 02949cf6 2022-11-16T12:06:44 [priority-queue] More assert adjustment
Behdad Esfahbod 620ddd76 2022-11-16T12:04:35 [priority-queue] Fix asserts
Behdad Esfahbod 57de568a 2022-11-16T11:50:05 [indic-table] Minor adjust empty lines
Behdad Esfahbod 281a2602 2022-11-16T11:36:33 Update generated file
Behdad Esfahbod f734c26c 2022-11-15T16:27:56 [test-vector] Test inserting set and map
Behdad Esfahbod 0a97d27c 2022-11-15T16:23:48 [test-iter] Add another test
Behdad Esfahbod e9e98568 2022-11-15T16:11:57 [fallback-shape] Remove TODO
Behdad Esfahbod 6df8498d 2022-11-15T15:52:04 [sample.py] Fix warning
Behdad Esfahbod 49fe5c1e 2022-11-15T15:37:23 [glib] Remove old cruft from pre-2011
Behdad Esfahbod 1bd1a378 2022-11-15T15:18:36 [test] Minor
Behdad Esfahbod 35aa492e 2022-11-15T15:05:15 [main] sprintf -> snprintf
Behdad Esfahbod 72c69620 2022-11-14T21:34:16 [buffer-deserialize-text] Fix glyph name for glyph flags Skip "#" in glyph names.
Behdad Esfahbod dee26de7 2022-11-14T16:24:25 [test-buffer-serialize] Allow no font
Behdad Esfahbod f6076890 2022-11-14T16:06:39 Hide all mentions of name_table_overrides behind EXPERIMENTAL_API Fixes https://github.com/harfbuzz/harfbuzz/issues/3872
Behdad Esfahbod ebc382a8 2022-11-14T15:59:46 Revert "Avoid use values () in hb-hashmap if value_t has an overriden operator &" This reverts commit b92e4cc0091e093f6941019e1a53cc04a137017a.
Behdad Esfahbod ff0d0d02 2022-11-14T14:34:20 [meta] Use std::decay
Behdad Esfahbod 9650f34a 2022-11-14T14:16:11 [CI] Remove coverage testing from macos-ci
Behdad Esfahbod 3a9ca6aa 2022-11-14T13:57:02 [CI] Try fixing macos-ci
Behdad Esfahbod 24cf86b0 2022-11-14T13:33:06 [array] Fix MSVC fail
Behdad Esfahbod a87843be 2022-11-14T13:43:58 [array] Another try at sizeof sorted_array
Behdad Esfahbod 72ba0b2a 2022-11-14T13:33:06 [array] Fix MSVC fail
Qunxin Liu b92e4cc0 2022-11-14T08:54:24 Avoid use values () in hb-hashmap if value_t has an overriden operator &
Behdad Esfahbod ea63e95e 2022-11-11T12:45:12 [GPOS.PairPos] Adjust unsafe-to-break for non-zero ValueFormat2 Fixes https://github.com/harfbuzz/harfbuzz/issues/3824
Behdad Esfahbod 85e0be13 2022-11-13T17:28:09 [vector/array] Add simple test for sorted size
Behdad Esfahbod 4e618557 2022-11-13T17:23:25 [vector] Don't subclass sorted vector from unsorted Was doubling the size unnecessarily.
Behdad Esfahbod 8f15fb12 2022-11-13T17:06:58 [util] Move variable closer to use
Behdad Esfahbod 630f09c8 2022-11-09T11:32:30 Another hb_memcpy instead of strncpy use
Behdad Esfahbod cd011cea 2022-11-09T11:30:44 Use hb_memcpy instead of strncpy Nul-termination is not intended.
Eli Schwartz 604fe807 2022-11-08T16:24:08 meson: fix regression in detecting freetype2/icu-uc when explicitly disabled In #3811 / commit 53a194aa3f5f7de0b40e879e41fcbe0de6e9fefe a broken and half-implemented approach to kind of sort of handling the detection of both pkg-config and cmake names for dependencies, was implemented. It just checked for both versions with required: false, but when the build was configured with *disabled* options, it was still found because it was treated as auto. Really, the problem here is trying to outsmart Meson, which handles a lot of edge cases correctly. But it's possible, albeit very wordy, to manually implement Meson's internal logic via if/else fallbacks. Do so here.
Behdad Esfahbod c158b626 2022-11-08T14:15:56 [name] Simplify buffer-length calculation
Behdad Esfahbod 55edf59d 2022-11-08T14:53:27 [name] Typo
Behdad Esfahbod 27c8bbcb 2022-11-08T14:48:38 Revert "[name] Simplify buffer-length calculation" This reverts commit d70595657e8d56b52d5714d082092d8eb104093e.
Behdad Esfahbod d7059565 2022-11-08T14:15:56 [name] Simplify buffer-length calculation