|
ed023f66
|
2023-01-12T17:04:24
|
|
Enable -Wformat-signedness
And fix the codebase.
|
|
1a5c7495
|
2022-12-04T15:20:51
|
|
[config] Flesh out HB_NO_SHAPER a bit more
|
|
59c45f6d
|
2022-11-22T12:54:50
|
|
Use hb_memcpy instead of memcpy consistently
|
|
1945b400
|
2022-07-25T10:45:55
|
|
[cpluscplus] Wrap hb-subset types as well
Also changes signature of get_user_data of hb.h types to take const
object. This is safe.
|
|
e1b5f2f8
|
2022-07-20T15:03:20
|
|
[object] Call destructor in hb_object_destroy()
|
|
42da7da5
|
2022-07-13T12:46:36
|
|
Fix HB_NO_SHAPER HB_NO_OT_SHAPE build
|
|
98e90cc6
|
2022-06-30T08:43:57
|
|
[docs] Reduce warnings
Use markdown syntax for inline code blocks instead of %true, %false, and
%NULL.
|
|
f78a2509
|
2022-06-05T00:55:35
|
|
[gi] Remove Xconstructor annotations
|
|
eba626ff
|
2022-05-31T08:20:56
|
|
[shape-plan] Return empty plan if buffer direction is invalid
Happens if buffer creation failed.
|
|
2d5ef05d
|
2021-08-16T20:13:58
|
|
Use !g_object_is_valid() instead of g_object_is_inert()
|
|
2337f0d0
|
2021-07-08T10:58:50
|
|
Internally use hb_malloc/.../hb_free instead of malloc/.../free
Redefining those stock names as macros was conflicting with gcc 10
headers.
Fixes https://github.com/harfbuzz/harfbuzz/issues/3044
|
|
bb48bf52
|
2021-07-08T10:53:45
|
|
Rename misc uses of "free"
In preparation for fixing https://github.com/harfbuzz/harfbuzz/issues/3044
|
|
9936490c
|
2020-12-31T00:19:29
|
|
[docs] Invalid use of "optional" annotation
It is valid only for out and inout parameters.
Fixes https://github.com/harfbuzz/harfbuzz/issues/1787
|
|
5a55b31a
|
2020-12-30T23:39:08
|
|
[docs] Complete hb-shape-plan docs a bit
|
|
22468c8a
|
2020-12-24T22:38:06
|
|
[docs] Give destroy callbacks have (optional) annotation
|
|
77e704d1
|
2020-10-15T02:02:04
|
|
[buffer] Add assert_unicode()/assert_glyphs() and use internally
|
|
88cdea60
|
2019-04-22T19:17:40
|
|
[Docs] Add GTK-Doc comments to hb-shape-plan.
|
|
e40c0d82
|
2020-09-16T12:48:30
|
|
[ENOMEM] Handle immutable buffer in shape_full()
Move the content_type changing to shape_plan_execute() where it belongs.
Skip setting if content type is UNKNOWN, which happens with empty buffers
only, including the immutable buffer.
Alternate fix to https://github.com/harfbuzz/harfbuzz/pull/2606
and https://github.com/harfbuzz/harfbuzz/pull/2625
|
|
2dda6dd7
|
2020-04-20T14:12:45
|
|
minor, tweak spacing
turn 8 spaces to tab, add space before Null/Crap
|
|
a0b4ac4d
|
2019-08-24T17:57:14
|
|
Turn 8 spaces to tab across the project
According to the current code style of the project
|
|
7aad5365
|
2019-06-26T13:21:03
|
|
[config] Add HB_NO_OT_SHAPE / HB_NO_OT
Part of https://github.com/harfbuzz/harfbuzz/issues/1652
|
|
e4120085
|
2018-12-17T21:31:01
|
|
Remove redundant void from C++ sources (#1486)
|
|
ce5da0f3
|
2018-11-16T02:29:13
|
|
[shaper] Rewrite shaper data code to be more template-driven than macro-driven
|
|
3bf1ce74
|
2018-11-14T21:08:54
|
|
[shaper] Rename
|
|
6c22f3fd
|
2018-11-12T19: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-12T18:48:10
|
|
[shape-plan] Cache shape plans with variations based on variation indices
|
|
8284cb9f
|
2018-11-12T18:18:20
|
|
[shape-plan] Refactor more
|
|
10823385
|
2018-11-12T18: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-12T17:50:30
|
|
[shape-plan] Minor
|
|
c7be9334
|
2018-11-12T17:49:15
|
|
[shape-plan] Refactor some more
|
|
fc277778
|
2018-11-12T17:27:34
|
|
[shape-plan] Refactor more
|
|
56661229
|
2018-11-12T17: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-12T16:15:26
|
|
[shape-plan] Minor
|
|
1db672a5
|
2018-11-12T16:05:09
|
|
[shaper] Rename
|
|
3e284e02
|
2018-11-11T22:51:34
|
|
[shape-plan] Minor
|
|
420c9de6
|
2018-11-11T22:38:05
|
|
[shape-plan] Minor rename
|
|
77bd0a64
|
2018-11-11T22: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-11T22:03:15
|
|
Minor
|
|
f521a28b
|
2018-11-11T21: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-11T17:10:23
|
|
Remove wrong comment
|
|
dcb63868
|
2018-11-11T00:16:17
|
|
[shape-plan] Remove use of custom null object
|
|
109891d4
|
2018-11-11T00:15:08
|
|
[shape-plan] Make null object all zeros
To remove custom null object next..
|
|
f6fc5574
|
2018-11-05T13:23:54
|
|
Add pointer magic operators to hb_atomic_ptr_t
|
|
93ef20a8
|
2018-11-03T15:03:06
|
|
Replace most uses of is_inert with is_immutable
|
|
a4f4f5ba
|
2018-10-28T08:23:36
|
|
[docs] Fix titles here as well
|
|
5dd86aa3
|
2018-10-27T04:28:40
|
|
[docs] Rename section titles to object names
More useful.
|
|
00cf4e5e
|
2018-10-27T04:07:33
|
|
[docs] Fill in some sections
|
|
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...
|
|
8d1e479d
|
2018-10-18T22:18:42
|
|
Use bool literals instead of 0/1.
|
|
c77ae408
|
2018-08-25T22:36:36
|
|
Rename hb-*private.hh to hb-*.hh
Sorry for the noise, downstream custom builders. Please adjust.
|
|
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".
|
|
3506672c
|
2018-08-06T06:17:48
|
|
Port _nil objects to Null() machinery
Finally, unified!
|
|
be458eb0
|
2018-07-10T14:41:04
|
|
Include more basic internal headers from hb-private.hh
|
|
40ec3bbb
|
2017-11-03T16:57:30
|
|
Consolidate debug stuff into hb-debug.hh
Part of fixing https://github.com/behdad/harfbuzz/pull/605
|
|
dbdbfe3d
|
2017-10-15T12:11:08
|
|
Use nullptr instead of NULL
|
|
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.
|
|
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
|
|
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
|
|
466b3e58
|
2017-02-03T16:43:25
|
|
Shuffle things around a bit
|
|
72ada4f0
|
2016-09-10T03:57:24
|
|
[GX] Hook up feature variations
Shape-plan caching is not implemented.
|
|
3d976d20
|
2016-08-27T16:38:42
|
|
Show the shaper name in the debug message (#306)
|
|
a5efaac4
|
2015-10-02T08:02:29
|
|
Replace a couple of malloc()s with calloc()
|
|
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.
|
|
01c3a885
|
2015-06-01T13:22:01
|
|
Fix "Since:" tags
Based on data from http://upstream-tracker.org/versions/harfbuzz.html
Resolves #103
|
|
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.
|
|
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.
|
|
dc9aba6f
|
2014-08-12T17:14:36
|
|
[shape-plan] Better debug messages
|
|
bc3d0dc6
|
2014-08-12T16:49:18
|
|
[shape-plan] Add debug tracing
|
|
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
|
|
e956c65b
|
2014-08-12T17:03:27
|
|
[shape-plan] Simplify macro
|
|
dac86026
|
2014-06-03T17:57:00
|
|
Fix some cppcheck warnings
Bug 77800 - cppcheck reports
|
|
f47b9219
|
2013-12-02T05:57:27
|
|
Fix unsafe shape_plan->face dependency
|
|
ca8d96c8
|
2013-12-02T05:22:00
|
|
cache shape plans even if (global) user features are set
|
|
8ffa528f
|
2013-12-02T05:17:14
|
|
Add note about unsafe shape_plan->face
Will fix by removing shape_plan->face completely.
|
|
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.
|
|
288f2899
|
2013-09-06T15:40:22
|
|
[docs/introspection] More annotations
|
|
7abddbb4
|
2013-02-15T07:46:57
|
|
Add assertions for a couple programmer errors
|
|
7c5b7fe6
|
2012-11-22T14:15:08
|
|
Fix hb_shape_plan_get_shaper()
|
|
f9edd5d5
|
2012-11-16T13:23:37
|
|
Implement hb_shape_plan_get_shaper()
Untested.
|
|
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.)
|
|
4c8ac4f4
|
2012-08-08T17:44:19
|
|
Misc minor fixes
|
|
801298b5
|
2012-08-08T14:26:36
|
|
Fix cast
https://bugs.freedesktop.org/show_bug.cgi?id=53233
|
|
46ee108e
|
2012-08-03T18:21:13
|
|
Fix leak
|
|
5393e3a6
|
2012-08-02T09:24:35
|
|
[OT] Minor refactoring
|
|
ef6e9cec
|
2012-07-29T21:35:22
|
|
Fixup bb0e4ba3e9c5a407fc5d73c914e429d24d336380
|
|
bb0e4ba3
|
2012-07-29T17:34:14
|
|
Minor
|
|
2f87cebe
|
2012-07-27T04:02:38
|
|
Implement shape_plan caching
Should give us some performance boost.
|
|
e9eb9503
|
2012-07-27T03:16:22
|
|
Add default_shaper_list to shape_plan
|
|
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.
|
|
cfe98826
|
2012-07-27T03:06:30
|
|
Add hb_ot_layout_ensure() and hb_uniscribe_font_ensure()
|
|
c5b668fb
|
2012-07-27T02:49:39
|
|
Choose one shaper per plan
|
|
ea278d38
|
2012-07-27T02:12:28
|
|
Partially switch ot shaper to shape_plan
|
|
c32c096a
|
2012-07-27T01:13:53
|
|
Switch to shape_plan
Not optimized yet. Eats babies. And no shaper uses the shape_plan.
|
|
5b95c148
|
2012-07-26T23:46:53
|
|
Start implementing shape_plan
|
|
bd26b4d2
|
2012-07-26T22:05:39
|
|
Minor
|
|
027857d0
|
2012-07-26T17:34:25
|
|
Start adding a unified shaper access infrastructure
Add global shape_plan. Unused so far.
|