src/hb-shape-plan.cc


Log

Author Commit Date CI Message
Behdad Esfahbod a4f4f5ba 2018-10-28T08:23:36 [docs] Fix titles here as well
Behdad Esfahbod 5dd86aa3 2018-10-27T04:28:40 [docs] Rename section titles to object names More useful.
Behdad Esfahbod 00cf4e5e 2018-10-27T04:07:33 [docs] Fill in some sections
Behdad Esfahbod 39bd07ae 2018-10-26T21: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...
Bruce Mitchener 8d1e479d 2018-10-18T22:18:42 Use bool literals instead of 0/1.
Behdad Esfahbod c77ae408 2018-08-25T22:36:36 Rename hb-*private.hh to hb-*.hh Sorry for the noise, downstream custom builders. Please adjust.
Behdad Esfahbod 1f738094 2018-08-09T00: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".
Behdad Esfahbod 3506672c 2018-08-06T06:17:48 Port _nil objects to Null() machinery Finally, unified!
Behdad Esfahbod be458eb0 2018-07-10T14:41:04 Include more basic internal headers from hb-private.hh
Behdad Esfahbod 40ec3bbb 2017-11-03T16:57:30 Consolidate debug stuff into hb-debug.hh Part of fixing https://github.com/behdad/harfbuzz/pull/605
Behdad Esfahbod dbdbfe3d 2017-10-15T12:11:08 Use nullptr instead of NULL
jfkthame 19e77e01 2017-10-02T13: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.
Behdad Esfahbod 68af14d5 2017-08-09T17: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
Chris Peterson aacca375 2017-04-17T23: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
Behdad Esfahbod 466b3e58 2017-02-03T16:43:25 Shuffle things around a bit
Behdad Esfahbod 72ada4f0 2016-09-10T03:57:24 [GX] Hook up feature variations Shape-plan caching is not implemented.
Khaled Hosny 3d976d20 2016-08-27T16:38:42 Show the shaper name in the debug message (#306)
Behdad Esfahbod a5efaac4 2015-10-02T08:02:29 Replace a couple of malloc()s with calloc()
Behdad Esfahbod 26ba4d1e 2015-10-02T07: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.
Sascha Brawer 01c3a885 2015-06-01T13:22:01 Fix "Since:" tags Based on data from http://upstream-tracker.org/versions/harfbuzz.html Resolves #103
Behdad Esfahbod eb0bf3ae 2014-08-06T15: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.
Behdad Esfahbod 30eed75d 2014-08-12T17: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.
Behdad Esfahbod dc9aba6f 2014-08-12T17:14:36 [shape-plan] Better debug messages
Behdad Esfahbod e956c65b 2014-08-12T17:03:27 [shape-plan] Simplify macro
Behdad Esfahbod 8d5eebc0 2014-08-12T16: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
Behdad Esfahbod bc3d0dc6 2014-08-12T16:49:18 [shape-plan] Add debug tracing
Behdad Esfahbod dac86026 2014-06-03T17:57:00 Fix some cppcheck warnings Bug 77800 - cppcheck reports
Behdad Esfahbod f47b9219 2013-12-02T05:57:27 Fix unsafe shape_plan->face dependency
Jonathan Kew ca8d96c8 2013-12-02T05:22:00 cache shape plans even if (global) user features are set
Behdad Esfahbod 8ffa528f 2013-12-02T05:17:14 Add note about unsafe shape_plan->face Will fix by removing shape_plan->face completely.
Behdad Esfahbod 085d4291 2013-09-12T17: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.
Behdad Esfahbod 288f2899 2013-09-06T15:40:22 [docs/introspection] More annotations
Behdad Esfahbod 7abddbb4 2013-02-15T07:46:57 Add assertions for a couple programmer errors
Behdad Esfahbod 7c5b7fe6 2012-11-22T14:15:08 Fix hb_shape_plan_get_shaper()
Behdad Esfahbod f9edd5d5 2012-11-16T13:23:37 Implement hb_shape_plan_get_shaper() Untested.
Behdad Esfahbod f3064103 2012-11-15T18: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.)
Behdad Esfahbod 4c8ac4f4 2012-08-08T17:44:19 Misc minor fixes
Behdad Esfahbod 801298b5 2012-08-08T14:26:36 Fix cast https://bugs.freedesktop.org/show_bug.cgi?id=53233
Behdad Esfahbod 46ee108e 2012-08-03T18:21:13 Fix leak
Behdad Esfahbod 5393e3a6 2012-08-02T09:24:35 [OT] Minor refactoring
Behdad Esfahbod ef6e9cec 2012-07-29T21:35:22 Fixup bb0e4ba3e9c5a407fc5d73c914e429d24d336380
Behdad Esfahbod bb0e4ba3 2012-07-29T17:34:14 Minor
Behdad Esfahbod 2f87cebe 2012-07-27T04:02:38 Implement shape_plan caching Should give us some performance boost.
Behdad Esfahbod e9eb9503 2012-07-27T03:16:22 Add default_shaper_list to shape_plan
Behdad Esfahbod 3b7c4e27 2012-07-27T03: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.
Behdad Esfahbod cfe98826 2012-07-27T03:06:30 Add hb_ot_layout_ensure() and hb_uniscribe_font_ensure()
Behdad Esfahbod c5b668fb 2012-07-27T02:49:39 Choose one shaper per plan
Behdad Esfahbod ea278d38 2012-07-27T02:12:28 Partially switch ot shaper to shape_plan
Behdad Esfahbod c32c096a 2012-07-27T01:13:53 Switch to shape_plan Not optimized yet. Eats babies. And no shaper uses the shape_plan.
Behdad Esfahbod 5b95c148 2012-07-26T23:46:53 Start implementing shape_plan
Behdad Esfahbod bd26b4d2 2012-07-26T22:05:39 Minor
Behdad Esfahbod 027857d0 2012-07-26T17:34:25 Start adding a unified shaper access infrastructure Add global shape_plan. Unused so far.