568a0c60e8695a6ad8a93ec60d55b137c48890cb |
|
18-Feb-2016 |
Behdad Esfahbod <behdad@behdad.org> |
Remove pointless overflow check in pointer math Fixes https://github.com/behdad/harfbuzz/issues/227
/external/harfbuzz_ng/src/hb-blob.cc
|
b8811429b6810c4f13be087b593a862c17d9d987 |
|
03-Sep-2015 |
Behdad Esfahbod <behdad@behdad.org> |
Fix Since tags Fixes https://github.com/behdad/harfbuzz/issues/103
/external/harfbuzz_ng/src/hb-blob.cc
|
2cd5323531dcd800549b2cb1cb51d708e72ab2d8 |
|
07-Jan-2015 |
Behdad Esfahbod <behdad@behdad.org> |
[bindings] Use hb_glib_blob_create() in sample hb_blob_create() is considered C-only API.
/external/harfbuzz_ng/src/hb-blob.cc
|
b91904a40da6287f84bc79de60674fa57232ec09 |
|
07-Jan-2015 |
Behdad Esfahbod <behdad@behdad.org> |
[bindings] Replace deprecated allow-none with optional and nullable
/external/harfbuzz_ng/src/hb-blob.cc
|
b632e7997d9cb6e4782cab6d8c62e8e5edaa4cb0 |
|
06-Jan-2015 |
Behdad Esfahbod <behdad@behdad.org> |
Fix up gobject-introspection a bit Minimal shaping works now!
/external/harfbuzz_ng/src/hb-blob.cc
|
7d5e7613ced3dd39d05df83ca7e8952cbecd68f6 |
|
19-Dec-2014 |
Behdad Esfahbod <behdad@behdad.org> |
Fail blob creation if length overflows or is too large Fail if blob start plus length overflows; or if blob length is greater than 2GB. It takes a while for fonts to get to that size. In the mean time, it protects against bugs like this: http://www.icu-project.org/trac/ticket/11450 Also avoids some weird issues with 32bit vs 64bit systems as we accept length as unsigned int. As such, a length of -1 will cause overflow on 32bit machines, but happily accepted on a 64bit machine. Avoid that.
/external/harfbuzz_ng/src/hb-blob.cc
|
73f7f8919ea1f09b8c5b29f231ac84105cde2145 |
|
09-Jul-2014 |
Behdad Esfahbod <behdad@behdad.org> |
Define _POSIX_C_SOURCE only if it is not defined Fixes https://github.com/behdad/harfbuzz/pull/45
/external/harfbuzz_ng/src/hb-blob.cc
|
2a8c49ade07a0bd4f2c9543f4bd129da82083ea0 |
|
12-Dec-2013 |
Behdad Esfahbod <behdad@behdad.org> |
Remove unnecessary includes
/external/harfbuzz_ng/src/hb-blob.cc
|
a8949df48780e680e03b9afbbafb3628a0acef52 |
|
14-Sep-2013 |
Behdad Esfahbod <behdad@behdad.org> |
[introspection] Annotate Unicode / font callbacks Should move these out of the public header... We're "clean" of introspection warnings now. Remaining ones are about graphite2 / freetype types not being introspectable.
/external/harfbuzz_ng/src/hb-blob.cc
|
dfdbe7f932daffcf73911ff4e4a36f749164d960 |
|
13-Sep-2013 |
Behdad Esfahbod <behdad@behdad.org> |
[introspection] Make hb_blob_create() introspectable
/external/harfbuzz_ng/src/hb-blob.cc
|
085d4291a9f253a4b8e2eec8003ac11d02a9394f |
|
12-Sep-2013 |
Behdad Esfahbod <behdad@behdad.org> |
[introspection] Disable constructors for now Since our types are not associated with their methods, marking constructors makes them inaccessible from bindings. Undo for now.
/external/harfbuzz_ng/src/hb-blob.cc
|
288f2899979bcc9e68f8115cb76e3271ed0e17bc |
|
06-Sep-2013 |
Behdad Esfahbod <behdad@behdad.org> |
[docs/introspection] More annotations
/external/harfbuzz_ng/src/hb-blob.cc
|
5f512017ba615ba6ac8e5da2ea0c57a72db2c26b |
|
05-Sep-2013 |
Behdad Esfahbod <behdad@behdad.org> |
[docs] Document a few symbols
/external/harfbuzz_ng/src/hb-blob.cc
|
c3ba49b6fa1865e8318926eaa6c0f2063d1053bb |
|
25-Feb-2013 |
Behdad Esfahbod <behdad@behdad.org> |
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.
/external/harfbuzz_ng/src/hb-blob.cc
|
52c8d1226f3509276b11a1fadbd29e5363c0ecd7 |
|
14-Jan-2013 |
Behdad Esfahbod <behdad@behdad.org> |
Minor
/external/harfbuzz_ng/src/hb-blob.cc
|
f88d3bd7e407d332bb04688344c54756d24128c9 |
|
14-Jan-2013 |
Behdad Esfahbod <behdad@behdad.org> |
Fix build with Sun compiler
/external/harfbuzz_ng/src/hb-blob.cc
|
1bc1cb3603167f5da309336f7018c8b0608ac104 |
|
16-Jun-2012 |
Behdad Esfahbod <behdad@behdad.org> |
Make source more digestable for gobject-introspection
/external/harfbuzz_ng/src/hb-blob.cc
|
6220e5fc0dad728e67a92e838d3ac275d032f2c7 |
|
06-Jun-2012 |
Behdad Esfahbod <behdad@behdad.org> |
Add ASSERT_POD for most objects
/external/harfbuzz_ng/src/hb-blob.cc
|
0594a2448440208efa0acac9a5d8d52d43108289 |
|
06-Jun-2012 |
Behdad Esfahbod <behdad@behdad.org> |
Cleanup TRUE/FALSE vs true/false
/external/harfbuzz_ng/src/hb-blob.cc
|
f06ab8a4262c759b4723614fd28f55ee77aa8466 |
|
05-Jun-2012 |
Behdad Esfahbod <behdad@behdad.org> |
Better hide nil objects and make them const
/external/harfbuzz_ng/src/hb-blob.cc
|
bc71ad4973842f25216b48842a46d6c9cbce6aa3 |
|
02-Mar-2012 |
Behdad Esfahbod <behdad@behdad.org> |
Fix atomic-int op on Apple The OSAtomicAdd32Barrier operator returns the new value, we want the old value.
/external/harfbuzz_ng/src/hb-blob.cc
|
b95324cdd217f44c40c5fd44898e659500f19511 |
|
21-Sep-2011 |
Behdad Esfahbod <behdad@behdad.org> |
Minor
/external/harfbuzz_ng/src/hb-blob.cc
|
33ccc77902660ed4b49184e5ec99f4fd0ef63175 |
|
09-Aug-2011 |
Behdad Esfahbod <behdad@behdad.org> |
[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.
/external/harfbuzz_ng/src/hb-blob.cc
|
c605bbbb6d4b2a98b1f40ca818760088d991f7d1 |
|
05-Aug-2011 |
Behdad Esfahbod <behdad@behdad.org> |
Remove C++ guards from source files Where causing issues for people with MSVC.
/external/harfbuzz_ng/src/hb-blob.cc
|
cc06c243d8be3ebb1190281653d2dba504c16c0f |
|
26-Jul-2011 |
Behdad Esfahbod <behdad@behdad.org> |
Streamline debugging infrastructure even more
/external/harfbuzz_ng/src/hb-blob.cc
|
43ff203d8ea3e1b09e316e3aae1a4e5ec15bfdd2 |
|
25-Jul-2011 |
Behdad Esfahbod <behdad@behdad.org> |
Use variadic macros for debugging Looks *so* much nicer!
/external/harfbuzz_ng/src/hb-blob.cc
|
decd4e3e16424dc311e9fb5b663170414a11556a |
|
25-Jul-2011 |
Behdad Esfahbod <behdad@behdad.org> |
Add sugar syntax for debug messages Buffer debugging coming soon.
/external/harfbuzz_ng/src/hb-blob.cc
|
b9452bfc1696457e156e79037c863903da5454fc |
|
14-Jun-2011 |
Behdad Esfahbod <behdad@behdad.org> |
Fix compiler warnings with -pedantic
/external/harfbuzz_ng/src/hb-blob.cc
|
4101ca7dbbdf1438fa116fb8cad935501ac7cca8 |
|
11-May-2011 |
Behdad Esfahbod <behdad@behdad.org> |
Plug more leaks All good now.
/external/harfbuzz_ng/src/hb-blob.cc
|
1c9f8717eb12c37c219333cbb0d123e1d2da4896 |
|
07-May-2011 |
Behdad Esfahbod <behdad@behdad.org> |
[API] Simplify blob API, remove lock
/external/harfbuzz_ng/src/hb-blob.cc
|
a0f337a1cce1788dbf3147b459e7f615acbfe81b |
|
07-May-2011 |
Behdad Esfahbod <behdad@behdad.org> |
Remove unused hb_blob_try_writable_inplace()
/external/harfbuzz_ng/src/hb-blob.cc
|
b81bd42951e1ce1569b29168015d3c5a2dacf773 |
|
05-May-2011 |
Behdad Esfahbod <behdad@behdad.org> |
Make hb_mutex_*() macros take a pointer More intuitive.
/external/harfbuzz_ng/src/hb-blob.cc
|
56eb5ad6f94c32189ad219438db9a18683ca6846 |
|
05-May-2011 |
Behdad Esfahbod <behdad@behdad.org> |
Move code around Mutex (and Windows.h by extension) are fairly isolated now.
/external/harfbuzz_ng/src/hb-blob.cc
|
d4141a44b97377a65e6d2a3e03b3709307af38c1 |
|
03-May-2011 |
Behdad Esfahbod <behdad@behdad.org> |
[blob] Implement sub_blob() in terms of create() Fixes problem with uninitialized sub_blob->mutex among other things. Reported by Bradley Grainger.
/external/harfbuzz_ng/src/hb-blob.cc
|
f55272ecde857c116f97a3195f3abd1df3be4b86 |
|
03-May-2011 |
Behdad Esfahbod <behdad@behdad.org> |
Add hb_mutex_free() and use it Based on patch by Bradley Grainger.
/external/harfbuzz_ng/src/hb-blob.cc
|
4911062d5be0d937ee8f1a70cc93e05d162f45b3 |
|
03-May-2011 |
Behdad Esfahbod <behdad@behdad.org> |
[API] Rename hb_blob_create_empty() to hb_blob_get_empty()
/external/harfbuzz_ng/src/hb-blob.cc
|
5fa849b77d49da2212825ebb1bea9145713b8449 |
|
28-Apr-2011 |
Behdad Esfahbod <behdad@behdad.org> |
[API] Add _set/get_user_data() for all objects
/external/harfbuzz_ng/src/hb-blob.cc
|
47e71d9661946a4ffb96026bf1d697d788414ab5 |
|
27-Apr-2011 |
Behdad Esfahbod <behdad@behdad.org> |
[object] Remove unnecessary use of macros
/external/harfbuzz_ng/src/hb-blob.cc
|
8be1420f8fd0e5c53282245d6830efbee5c7409d |
|
27-Apr-2011 |
Behdad Esfahbod <behdad@behdad.org> |
[blob] Use HB_FUNC instead of __FUNCTION__
/external/harfbuzz_ng/src/hb-blob.cc
|
fca368c4682624346a0aaee690e1ad6ed4c0b337 |
|
22-Apr-2011 |
Behdad Esfahbod <behdad@behdad.org> |
Add hb_object_header_t which is the common part of all objects Makes way for adding arbitrary user_data support.
/external/harfbuzz_ng/src/hb-blob.cc
|
2409d5f8d7dd8b535ce5ea29e933f7db27d33793 |
|
21-Apr-2011 |
Behdad Esfahbod <behdad@behdad.org> |
Update Copyright headers
/external/harfbuzz_ng/src/hb-blob.cc
|
c57d454accff66e5f2c58006e8fb40bc020b6182 |
|
21-Apr-2011 |
Behdad Esfahbod <behdad@behdad.org> |
Rename all private sources and headers to C++ files So we can liberally use the simple features of C++ that parts of the codebase is already using.
/external/harfbuzz_ng/src/hb-blob.cc
|
f19f4f9b0965ad7473a0f3a1ffcdbf16930e35d4 |
|
21-Apr-2011 |
Behdad Esfahbod <behdad@behdad.org> |
Rename hb-blob.c to hb-blob.cc in preparation of more changes
/external/harfbuzz_ng/src/hb-blob.cc
|