src/hb-blob.h

Branch


Log

Author Commit Date CI Message
Khaled Hosny 05752294 2023-02-21T18:07:53 [blob] Typo in documentation
Behdad Esfahbod 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.
Behdad Esfahbod bdfed8f1 2021-06-14T15: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.
Khaled Hosny 7b9e23f2 2021-02-10T23:37:43 [introspection] Fix g-ir-scanner syntax errors Fixes https://github.com/harfbuzz/harfbuzz/issues/2851
Khaled Hosny 5e9f05ff 2020-12-31T02:23:55 [docs] Expand memory modes docs Per Behdad suggestions.
Khaled Hosny 3d7a3616 2020-12-30T23:58:37 [docs] Miscellaneous missing docs
Nathan Willis d13b7eaa 2019-04-21T20:31:31 [docs] Add gtkdoc comments to hb-blob
Behdad Esfahbod 1fffe51a 2019-05-24T10:52:09 [blob] Shuffle
Ebrahim Byagowi ce17340b 2018-04-20T10:29:06 Add hb_blob_create_from_file, a new API (#926)
Behdad Esfahbod a989f3ed 2018-02-13T22:12:36 Add hb_blob_copy_writable_or_fail() New API: - hb_blob_copy_writable_or_fail()
Bruce Mitchener 19a93fcf 2018-01-21T20:40:34 Fix typos.
Chun-wei Fan 835bbdc7 2015-11-19T18: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+.
Behdad Esfahbod 1a8ffc51 2014-05-13T21:06:39 Minor
Behdad Esfahbod 110ec071 2014-04-08T17:32:08 Typo
Behdad Esfahbod c3ba49b6 2013-02-25T17: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.
Behdad Esfahbod 1bc1cb36 2012-06-16T15:21:55 Make source more digestable for gobject-introspection
Behdad Esfahbod 5e88aa66 2012-04-14T18:51:50 Remove public enum names again As was reported to me, glib-mkenum does not understand named enums, so remove for now.
Behdad Esfahbod c6035cf8 2012-04-12T13:23:59 Add names to enums gdb was showing <anonymous enum> instead of useful stuff, so name all our enums.
Behdad Esfahbod d1c9eb45 2012-04-12T13: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.
Behdad Esfahbod 33ccc779 2011-08-09T00: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.
Behdad Esfahbod 1c9f8717 2011-05-06T22:28:26 [API] Simplify blob API, remove lock
Behdad Esfahbod a0f337a1 2011-05-06T19:20:52 Remove unused hb_blob_try_writable_inplace()
Behdad Esfahbod 4911062d 2011-05-02T19:36:39 [API] Rename hb_blob_create_empty() to hb_blob_get_empty()
Behdad Esfahbod 5fa849b7 2011-04-27T21:46:01 [API] Add _set/get_user_data() for all objects
Behdad Esfahbod 2409d5f8 2011-04-21T17:14:28 Update Copyright headers
Behdad Esfahbod af029337 2011-04-20T15: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!
Behdad Esfahbod e5847f75 2011-04-20T02:59:28 [API] blob: move user_data before destroy() This is the common convention for language binding tools.
Behdad Esfahbod acdba3f9 2010-07-23T15:11:18 Prefer C linkage
Behdad Esfahbod c755cb3e 2010-04-22T00:11:43 Change header comment
Behdad Esfahbod 388ad037 2009-08-19T16: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.
Behdad Esfahbod 977eeb71 2009-08-19T16:17:24 [HB] s/writeable/writable/g
Behdad Esfahbod 864e2560 2009-08-18T16:38:48 [HB] Fix pedantic warnings
Behdad Esfahbod fc6c9400 2009-08-03T21:27:08 [HB] Simplify sub-blob support
Behdad Esfahbod a2644243 2009-08-03T17:53:29 [HB] Add sub-blobs
Behdad Esfahbod a12dd324 2009-08-01T21:36:15 [HB] Add get_reference_count()
Behdad Esfahbod 0cc7bc59 2009-08-01T21:38:39 [HB] Move typedef's around
Behdad Esfahbod 0090dc0f 2009-07-30T16:28:45 [HB] Remove hinting setting and use ppem==0 to mean "no hinting"
Behdad Esfahbod f0954d1e 2009-07-30T15:33:57 [HB] Add a "blob" manager