kc3-lang/harfbuzz/src/hb-blob.h

Branch :


Log

Author Commit Date CI Message
bdfed8f1 2021-06-14 15:46:04 [blob] Add failing versions of create API Fixes https://github.com/harfbuzz/harfbuzz/issues/2567 New API: +hb_blob_create_or_fail() +hb_blob_create_from_file_or_fail() Use these in util/ to distinguish empty file from not-found file. Only err on the latter.
7b9e23f2 2021-02-10 23:37:43 [introspection] Fix g-ir-scanner syntax errors Fixes https://github.com/harfbuzz/harfbuzz/issues/2851
5e9f05ff 2020-12-31 02:23:55 [docs] Expand memory modes docs Per Behdad suggestions.
3d7a3616 2020-12-30 23:58:37 [docs] Miscellaneous missing docs
d13b7eaa 2019-04-21 20:31:31 [docs] Add gtkdoc comments to hb-blob
1fffe51a 2019-05-24 10:52:09 [blob] Shuffle
ce17340b 2018-04-20 10:29:06 Add hb_blob_create_from_file, a new API (#926)
a989f3ed 2018-02-13 22:12:36 Add hb_blob_copy_writable_or_fail() New API: - hb_blob_copy_writable_or_fail()
19a93fcf 2018-01-21 20:40:34 Fix typos.
835bbdc7 2015-11-19 18:34:12 Public headers: Decorate public symbols with HB_EXTERN This prepares the headers for exporting symbols using visibility attributes or __declspec(dllexport), so that we do not need to maintain symbols listing files, as this is what was and is done in GLib and GTK+.
1a8ffc51 2014-05-13 21:06:39 Minor
110ec071 2014-04-08 17:32:08 Typo
c3ba49b6 2013-02-25 17:06:35 Always create sub-blobs in MEMORY_MODE_READONLY This fixes a design bug with sanitize and sub-blobs that can cause crashes. Jonathan and I found and debugged this issue when we tested a corrupt font with the md5sum / filename: ea395483d37af0cb933f40689ff7b60a. Two hours of intense debugging we found out that the font has overlapping GSUB/GPOS tables, and as such, sanitizing the second table can modify the first one, which can cause all kinds of undefined behavior. The correct way to fix this is to make sure sub-blobs are always created readonly, since we consider the parent blob to be a shared resource and can't modify it, even if it *is* writable. This essentially makes the READONLY_MAY_MAKE_WRITABLE mode unused... Maybe we should simply remove / deprecate it.
1bc1cb36 2012-06-16 15:21:55 Make source more digestable for gobject-introspection
5e88aa66 2012-04-14 18:51:50 Remove public enum names again As was reported to me, glib-mkenum does not understand named enums, so remove for now.
c6035cf8 2012-04-12 13:23:59 Add names to enums gdb was showing <anonymous enum> instead of useful stuff, so name all our enums.
d1c9eb45 2012-04-12 13:17:44 Make it an error to include non-top-level headers Users should #include <hb.h> (or hb-ft.h, hb-glib.h, etc), but never things like hb-shape.h directly. This makes it easier to refactor headers later on without breaking compatibility.
33ccc779 2011-08-09 00:43:24 [API] Make set_user_data() functions take a replace parameter We need this to set data on objects safely without worrying that some other thread unsets it by setting it at the same time.
1c9f8717 2011-05-06 22:28:26 [API] Simplify blob API, remove lock
a0f337a1 2011-05-06 19:20:52 Remove unused hb_blob_try_writable_inplace()
4911062d 2011-05-02 19:36:39 [API] Rename hb_blob_create_empty() to hb_blob_get_empty()
5fa849b7 2011-04-27 21:46:01 [API] Add _set/get_user_data() for all objects
2409d5f8 2011-04-21 17:14:28 Update Copyright headers
af029337 2011-04-20 15:49:31 [API] Remove hb_*_get_reference_count() This was a bizzare piece of API that I inherited from cairo. It has been wrong adding them to cairo in the first place. Remove them before someone uses them!
e5847f75 2011-04-20 02:59:28 [API] blob: move user_data before destroy() This is the common convention for language binding tools.
acdba3f9 2010-07-23 15:11:18 Prefer C linkage
c755cb3e 2010-04-22 00:11:43 Change header comment
388ad037 2009-08-19 16:45:41 [HB] Remove HB_MEMORY_MODE_READONLY_NEVER_DUPLICATE Unlike the rest of the memory-mode enum, this one didn't only describe the access mode of the input memory region. Remove it. If someone wants to inhibit duplicating, they can lock the blob and throw away the key. Based on mailing list discussion with Carl Worth.
977eeb71 2009-08-19 16:17:24 [HB] s/writeable/writable/g
864e2560 2009-08-18 16:38:48 [HB] Fix pedantic warnings
a2644243 2009-08-03 17:53:29 [HB] Add sub-blobs
fc6c9400 2009-08-03 21:27:08 [HB] Simplify sub-blob support
a12dd324 2009-08-01 21:36:15 [HB] Add get_reference_count()
0cc7bc59 2009-08-01 21:38:39 [HB] Move typedef's around
0090dc0f 2009-07-30 16:28:45 [HB] Remove hinting setting and use ppem==0 to mean "no hinting"
f0954d1e 2009-07-30 15:33:57 [HB] Add a "blob" manager