|
568a0c60
|
2016-02-18T19:31:51
|
|
Remove pointless overflow check in pointer math
Fixes https://github.com/behdad/harfbuzz/issues/227
|
|
b8811429
|
2015-09-03T15:53:22
|
|
Fix Since tags
Fixes https://github.com/behdad/harfbuzz/issues/103
|
|
2cd53235
|
2015-01-06T19:16:38
|
|
[bindings] Use hb_glib_blob_create() in sample
hb_blob_create() is considered C-only API.
|
|
b91904a4
|
2015-01-06T15:43:14
|
|
[bindings] Replace deprecated allow-none with optional and nullable
|
|
b632e799
|
2015-01-06T14:05:26
|
|
Fix up gobject-introspection a bit
Minimal shaping works now!
|
|
7d5e7613
|
2014-12-18T18:22:21
|
|
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.
|
|
73f7f891
|
2014-07-09T17:17:18
|
|
Define _POSIX_C_SOURCE only if it is not defined
Fixes https://github.com/behdad/harfbuzz/pull/45
|
|
2a8c49ad
|
2013-12-11T20:22:28
|
|
Remove unnecessary includes
|
|
a8949df4
|
2013-09-13T20:23:51
|
|
[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.
|
|
dfdbe7f9
|
2013-09-12T20:52:20
|
|
[introspection] Make hb_blob_create() introspectable
|
|
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
|
|
5f512017
|
2013-09-04T18:28:39
|
|
[docs] Document a few symbols
|
|
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.
|
|
52c8d122
|
2013-01-14T13:51:46
|
|
Minor
|
|
f88d3bd7
|
2013-01-14T00:33:58
|
|
Fix build with Sun compiler
|
|
1bc1cb36
|
2012-06-16T15:21:55
|
|
Make source more digestable for gobject-introspection
|
|
6220e5fc
|
2012-06-06T03:30:09
|
|
Add ASSERT_POD for most objects
|
|
0594a244
|
2012-06-05T20:35:40
|
|
Cleanup TRUE/FALSE vs true/false
|
|
f06ab8a4
|
2012-06-05T12:31:51
|
|
Better hide nil objects and make them const
|
|
bc71ad49
|
2012-03-01T17:30:29
|
|
Fix atomic-int op on Apple
The OSAtomicAdd32Barrier operator returns the new value, we want the
old value.
|
|
b95324cd
|
2011-09-21T16:50:39
|
|
Minor
|
|
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.
|
|
c605bbbb
|
2011-08-04T20:00:53
|
|
Remove C++ guards from source files
Where causing issues for people with MSVC.
|
|
cc06c243
|
2011-07-25T20:25:44
|
|
Streamline debugging infrastructure even more
|
|
43ff203d
|
2011-07-25T17:35:24
|
|
Use variadic macros for debugging
Looks *so* much nicer!
|
|
decd4e3e
|
2011-07-25T16:47:02
|
|
Add sugar syntax for debug messages
Buffer debugging coming soon.
|
|
b9452bfc
|
2011-06-14T14:47:07
|
|
Fix compiler warnings with -pedantic
|
|
4101ca7d
|
2011-05-11T14:30:56
|
|
Plug more leaks
All good now.
|
|
1c9f8717
|
2011-05-06T22:28:26
|
|
[API] Simplify blob API, remove lock
|
|
a0f337a1
|
2011-05-06T19:20:52
|
|
Remove unused hb_blob_try_writable_inplace()
|
|
b81bd429
|
2011-05-05T00:21:16
|
|
Make hb_mutex_*() macros take a pointer
More intuitive.
|
|
56eb5ad6
|
2011-05-04T19:27:37
|
|
Move code around
Mutex (and Windows.h by extension) are fairly isolated now.
|
|
d4141a44
|
2011-05-03T00:19:18
|
|
[blob] Implement sub_blob() in terms of create()
Fixes problem with uninitialized sub_blob->mutex among other things.
Reported by Bradley Grainger.
|
|
f55272ec
|
2011-05-02T20:57:28
|
|
Add hb_mutex_free() and use it
Based on patch by Bradley Grainger.
|
|
4911062d
|
2011-05-02T19:36:39
|
|
[API] Rename hb_blob_create_empty() to hb_blob_get_empty()
|
|
5fa849b7
|
2011-04-27T21:46:01
|
|
[API] Add _set/get_user_data() for all objects
|
|
47e71d96
|
2011-04-27T16:38:03
|
|
[object] Remove unnecessary use of macros
|
|
8be1420f
|
2011-04-27T16:14:04
|
|
[blob] Use HB_FUNC instead of __FUNCTION__
|
|
fca368c4
|
2011-04-21T18:24:02
|
|
Add hb_object_header_t which is the common part of all objects
Makes way for adding arbitrary user_data support.
|
|
2409d5f8
|
2011-04-21T17:14:28
|
|
Update Copyright headers
|
|
c57d454a
|
2011-04-20T18:50:27
|
|
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.
|
|
f19f4f9b
|
2011-04-20T18:25:56
|
|
Rename hb-blob.c to hb-blob.cc in preparation of more changes
|