kc3-lang/harfbuzz/src/hb-shape-plan.cc

Branch :


Log

Author Commit Date CI Message
2dda6dd7 2020-04-20 14:12:45 minor, tweak spacing turn 8 spaces to tab, add space before Null/Crap
a0b4ac4d 2019-08-24 17:57:14 Turn 8 spaces to tab across the project According to the current code style of the project
7aad5365 2019-06-26 13:21:03 [config] Add HB_NO_OT_SHAPE / HB_NO_OT Part of https://github.com/harfbuzz/harfbuzz/issues/1652
e4120085 2018-12-17 21:31:01 Remove redundant void from C++ sources (#1486)
ce5da0f3 2018-11-16 02:29:13 [shaper] Rewrite shaper data code to be more template-driven than macro-driven
3bf1ce74 2018-11-14 21:08:54 [shaper] Rename
6c22f3fd 2018-11-12 19:26:01 [shape-plan] Implement fine-grained caching plans with user-features Only tag, value, and global-ness of features are considered, not their start/end offsets.
cc842875 2018-11-12 18:48:10 [shape-plan] Cache shape plans with variations based on variation indices
8284cb9f 2018-11-12 18:18:20 [shape-plan] Refactor more
10823385 2018-11-12 18:05:02 [shape-plan] Only use shape-plan key to initialize hb_ot_shape_plan_t Such that we don't accidentally use info not in the cache key.
7ac03f88 2018-11-12 17:50:30 [shape-plan] Minor
c7be9334 2018-11-12 17:49:15 [shape-plan] Refactor some more
fc277778 2018-11-12 17:27:34 [shape-plan] Refactor more
56661229 2018-11-12 17:19:45 [shape-plan] Turn hb_shape_plan_proposal_t into hb_shape_plan_key_t And include it in hb_shape_plan_t itself.
65456bff 2018-11-12 16:15:26 [shape-plan] Minor
1db672a5 2018-11-12 16:05:09 [shaper] Rename
3e284e02 2018-11-11 22:51:34 [shape-plan] Minor
420c9de6 2018-11-11 22:38:05 [shape-plan] Minor rename
77bd0a64 2018-11-11 22:08:48 Add variation coords to shape_plan proposal This is the root cause of bug worked around in 19e77e01bc13f44138e1d50533327d314dd0a018. Still no shape plan caching for variations though.
9c767d07 2018-11-11 22:03:15 Minor
f521a28b 2018-11-11 21:32:01 Embed hb_ot_shape_plan_t into hb_shape_plan_t No other shaper will need shape_plan_data, by definition. So, remove abstraction layer and always create hb_ot_shape_plan_t as part of hb_shape_plan_t.
fabb0121 2018-11-11 17:10:23 Remove wrong comment
dcb63868 2018-11-11 00:16:17 [shape-plan] Remove use of custom null object
109891d4 2018-11-11 00:15:08 [shape-plan] Make null object all zeros To remove custom null object next..
f6fc5574 2018-11-05 13:23:54 Add pointer magic operators to hb_atomic_ptr_t
93ef20a8 2018-11-03 15:03:06 Replace most uses of is_inert with is_immutable
a4f4f5ba 2018-10-28 08:23:36 [docs] Fix titles here as well
5dd86aa3 2018-10-27 04:28:40 [docs] Rename section titles to object names More useful.
00cf4e5e 2018-10-27 04:07:33 [docs] Fill in some sections
39bd07ae 2018-10-26 21:01:11 Fix bunch of unused parameter warnings Show up with gcc -O0. There's a few more but those are functions that need to be filled in. Maybe this is a lost battle...
8d1e479d 2018-10-18 22:18:42 Use bool literals instead of 0/1.
c77ae408 2018-08-25 22:36:36 Rename hb-*private.hh to hb-*.hh Sorry for the noise, downstream custom builders. Please adjust.
1f738094 2018-08-09 00:22:37 [atomic] Add hb_atomic_ptr_t<> and port all uses Found and fixed a couple bugs. Found a couple multithreading issues. Marked them with "XXX-MT-bug".
3506672c 2018-08-06 06:17:48 Port _nil objects to Null() machinery Finally, unified!
be458eb0 2018-07-10 14:41:04 Include more basic internal headers from hb-private.hh
40ec3bbb 2017-11-03 16:57:30 Consolidate debug stuff into hb-debug.hh Part of fixing https://github.com/behdad/harfbuzz/pull/605
dbdbfe3d 2017-10-15 12:11:08 Use nullptr instead of NULL
19e77e01 2017-10-02 13:08:49 [shape-plan] Don't look for a cached plan if variation coords are specified. Fixes #549. (#550) This is a temporary hack just to avoid incorrect shaping results, pending proper support for caching shape-plans with variation coordinates.
68af14d5 2017-08-09 17:09:21 Protect against div-by-zero in CBDT extent code Fixes https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=1452#c5 CC https://github.com/behdad/harfbuzz/issues/139
aacca375 2017-04-17 23:25:24 Fix clang -Wcomma warnings (#471) (#472) clang's new -Wcomma compiler option warns about possible misuse of the comma operator such as between two statements. hb-common.cc:190:9 [-Wcomma] possible misuse of comma operator here hb-ot-layout-gsubgpos-private.hh:345:30 [-Wcomma] possible misuse of comma operator here hb-shape-plan.cc:438:26 [-Wcomma] possible misuse of comma operator here
466b3e58 2017-02-03 16:43:25 Shuffle things around a bit
72ada4f0 2016-09-10 03:57:24 [GX] Hook up feature variations Shape-plan caching is not implemented.
3d976d20 2016-08-27 16:38:42 Show the shaper name in the debug message (#306)
a5efaac4 2015-10-02 08:02:29 Replace a couple of malloc()s with calloc()
26ba4d1e 2015-10-02 07:25:52 Fix segfault with empty buffer in hb_shape_plan_execute() Move the empty-buffer check from hb_shape_full() to hb_shape_plan_execute(). Reported by Simon Cozens.
01c3a885 2015-06-01 13:22:01 Fix "Since:" tags Based on data from http://upstream-tracker.org/versions/harfbuzz.html Resolves #103
eb0bf3ae 2014-08-06 15:36:41 Relax inert checks Previously, when creating an object from inert inputs (eg: "hb_font_create(hb_face_get_empty())") we returned the inert empty object. This is not helpful as there are legitimate usecases to do that. We now never return the inert object unless allocation failed. Tests are revised to reflect.
30eed75d 2014-08-12 17:15:09 [shape-plan] Fix typo! The only effect is, if shaper_list was not NULL and no shaper was found, we now don't insert anything into cache and return earlier.
dc9aba6f 2014-08-12 17:14:36 [shape-plan] Better debug messages
e956c65b 2014-08-12 17:03:27 [shape-plan] Simplify macro
8d5eebc0 2014-08-12 16:50:22 [shape-plan] Fix shape-plan caching with more than one requested shaper Wasn't breaking out of loop, ouch! http://www.mail-archive.com/debian-bugs-dist@lists.debian.org/msg1246370.html
bc3d0dc6 2014-08-12 16:49:18 [shape-plan] Add debug tracing
dac86026 2014-06-03 17:57:00 Fix some cppcheck warnings Bug 77800 - cppcheck reports
f47b9219 2013-12-02 05:57:27 Fix unsafe shape_plan->face dependency
ca8d96c8 2013-12-02 05:22:00 cache shape plans even if (global) user features are set
8ffa528f 2013-12-02 05:17:14 Add note about unsafe shape_plan->face Will fix by removing shape_plan->face completely.
085d4291 2013-09-12 17:14:33 [introspection] Disable constructors for now Since our types are not associated with their methods, marking constructors makes them inaccessible from bindings. Undo for now.
288f2899 2013-09-06 15:40:22 [docs/introspection] More annotations
7abddbb4 2013-02-15 07:46:57 Add assertions for a couple programmer errors
7c5b7fe6 2012-11-22 14:15:08 Fix hb_shape_plan_get_shaper()
f9edd5d5 2012-11-16 13:23:37 Implement hb_shape_plan_get_shaper() Untested.
f3064103 2012-11-15 18:39:46 Bunch of independent changes (ouch) API additions: hb_segment_properties_t HB_SEGMENT_PROPERTIES_DEFAULT hb_segment_properties_equal() hb_segment_properties_hash() hb_buffer_set_segment_properties() hb_buffer_get_segment_properties() hb_ot_layout_glyph_class_t hb_shape_plan_t hb_shape_plan_create() hb_shape_plan_create_cached() hb_shape_plan_get_empty() hb_shape_plan_reference() hb_shape_plan_destroy() hb_shape_plan_set_user_data() hb_shape_plan_get_user_data() hb_shape_plan_execute() hb_ot_shape_plan_collect_lookups() API changes: Rename hb_ot_layout_feature_get_lookup_indexes() to hb_ot_layout_feature_get_lookups(). New header file: hb-shape-plan.h And a bunch of prototyped but not implemented stuff. Coming soon. (Tests fail because of the prototypes right now.)
4c8ac4f4 2012-08-08 17:44:19 Misc minor fixes
801298b5 2012-08-08 14:26:36 Fix cast https://bugs.freedesktop.org/show_bug.cgi?id=53233
46ee108e 2012-08-03 18:21:13 Fix leak
5393e3a6 2012-08-02 09:24:35 [OT] Minor refactoring
ef6e9cec 2012-07-29 21:35:22 Fixup bb0e4ba3e9c5a407fc5d73c914e429d24d336380
bb0e4ba3 2012-07-29 17:34:14 Minor
2f87cebe 2012-07-27 04:02:38 Implement shape_plan caching Should give us some performance boost.
e9eb9503 2012-07-27 03:16:22 Add default_shaper_list to shape_plan
3b7c4e27 2012-07-27 03:12:23 Don't fail choosing shaper on planning failure Shapers have a chance to reject a font in face shaper_data creation. No need to allow failing during planning.
cfe98826 2012-07-27 03:06:30 Add hb_ot_layout_ensure() and hb_uniscribe_font_ensure()
c5b668fb 2012-07-27 02:49:39 Choose one shaper per plan
ea278d38 2012-07-27 02:12:28 Partially switch ot shaper to shape_plan
c32c096a 2012-07-27 01:13:53 Switch to shape_plan Not optimized yet. Eats babies. And no shaper uses the shape_plan.
5b95c148 2012-07-26 23:46:53 Start implementing shape_plan
bd26b4d2 2012-07-26 22:05:39 Minor
027857d0 2012-07-26 17:34:25 Start adding a unified shaper access infrastructure Add global shape_plan. Unused so far.