Behdad Esfahbod
|
d4141a44b9
|
[blob] Implement sub_blob() in terms of create()
Fixes problem with uninitialized sub_blob->mutex among other things.
Reported by Bradley Grainger.
|
2011-05-03 00:19:18 -04:00 |
Behdad Esfahbod
|
fc52e9e44c
|
Implement win32 thread-safety stuff
Patch from Bradley Grainger.
|
2011-05-03 00:09:16 -04:00 |
Behdad Esfahbod
|
f55272ecde
|
Add hb_mutex_free() and use it
Based on patch by Bradley Grainger.
|
2011-05-02 20:57:28 -04:00 |
Behdad Esfahbod
|
8d5186484b
|
Cosmetic
|
2011-05-02 20:52:21 -04:00 |
Behdad Esfahbod
|
72657e4ce7
|
[API] Make hb_font_create() take a face and reference it
|
2011-05-02 20:47:23 -04:00 |
Behdad Esfahbod
|
cec6611c5c
|
Protect NULL in a couple places
|
2011-05-02 20:18:58 -04:00 |
Behdad Esfahbod
|
5a5030366e
|
Fix bug in array growth implementation
With this, test/object is now passing. Yay!
|
2011-05-02 19:54:29 -04:00 |
Behdad Esfahbod
|
16123e1070
|
Fix bug in map implementation
|
2011-05-02 19:54:17 -04:00 |
Behdad Esfahbod
|
1cd5969f25
|
[object] Fix bug in get_user_data() implementation
|
2011-05-02 19:53:39 -04:00 |
Behdad Esfahbod
|
db99589529
|
[test/object] Add test for object lifecycle stuff
Revealed many bugs in the (untested and known buggy) user_data
support.
|
2011-05-02 19:52:47 -04:00 |
Behdad Esfahbod
|
f74d6c81f1
|
Cosmetic
|
2011-05-02 19:52:32 -04:00 |
Behdad Esfahbod
|
4911062d5b
|
[API] Rename hb_blob_create_empty() to hb_blob_get_empty()
|
2011-05-02 19:36:39 -04:00 |
Behdad Esfahbod
|
1ab1d3e38c
|
[face] Return nil face if blob is inert
|
2011-05-02 19:35:53 -04:00 |
Behdad Esfahbod
|
e87867cb88
|
[buffer] Fail in _create() if we cannot pre-allocate the requested size
|
2011-05-02 19:35:05 -04:00 |
Behdad Esfahbod
|
cd361ec9a1
|
Cosmetic
|
2011-05-02 16:54:05 -04:00 |
Behdad Esfahbod
|
c784c67a28
|
[unicode] Make _get_parent() return _nil object instead of NULL
|
2011-05-02 15:59:57 -04:00 |
Behdad Esfahbod
|
07e22779ab
|
[test/unicode] Add script roundtrip tests for glib and ICU
|
2011-05-02 14:58:36 -04:00 |
Behdad Esfahbod
|
7cda65935c
|
[test/unicode] Better test chainup
|
2011-05-02 14:33:53 -04:00 |
Behdad Esfahbod
|
250c59225e
|
[test/unicode] Port the _custom test to test all property setters
|
2011-05-02 14:21:30 -04:00 |
Behdad Esfahbod
|
e74b5b339a
|
[test/unicode] Test Unicode 5.2+ but don't fail
|
2011-05-02 14:03:55 -04:00 |
Behdad Esfahbod
|
c763aa42b4
|
[test/buffer] Clean up testing
Getting the hang of how to cleanly use gtest.
|
2011-05-02 13:52:17 -04:00 |
Behdad Esfahbod
|
819e9d9e53
|
Minor
|
2011-05-02 12:38:54 -04:00 |
Behdad Esfahbod
|
03034acb8a
|
[icu] Make sure we return script UNKNOWN instead of INVALID
|
2011-05-02 12:37:45 -04:00 |
Behdad Esfahbod
|
d02985ec5a
|
ISO 15924 fixes
Update to http://unicode.org/iso15924
Fixes some of the test failures in test-unicode with ICU. Still
one more to fix before the test passes.
|
2011-05-02 12:35:14 -04:00 |
Behdad Esfahbod
|
e8e29c725a
|
[test/unicode] Add log messages
Use with --verbose to see what's failing
|
2011-05-02 12:06:18 -04:00 |
Behdad Esfahbod
|
208c2c3150
|
Minor
|
2011-05-01 20:04:01 -04:00 |
Behdad Esfahbod
|
60833efaf1
|
[test/unicode] Add testing of all unicode properties
ICU fails for now.
|
2011-04-29 16:50:34 -04:00 |
Behdad Esfahbod
|
da96ee072f
|
[test/unicode] Test is/make_immutable()
|
2011-04-29 12:17:09 -04:00 |
Behdad Esfahbod
|
6af9cff5e1
|
[test/unicode] Use text fixture instead of static variables
|
2011-04-29 12:12:37 -04:00 |
Behdad Esfahbod
|
13db3d40bf
|
[test/buffer] Add UTF-16 tests
|
2011-04-28 19:44:45 -04:00 |
Behdad Esfahbod
|
243673d601
|
[test/buffer] Add more extensive UTF-8 test data from glib
|
2011-04-28 19:37:51 -04:00 |
Behdad Esfahbod
|
dfec67f958
|
[test/buffer] Add initial utf-8 tests
|
2011-04-28 18:34:42 -04:00 |
Behdad Esfahbod
|
aafe395ab5
|
Add test suite infrastructure
Wraps around glib for convenience and ease of use.
|
2011-04-28 17:11:21 -04:00 |
Behdad Esfahbod
|
c7ffe2ad5f
|
[API Remove hb_font_funcs_copy()
Will be adding font_funcs subclassing instead.
|
2011-04-28 16:03:29 -04:00 |
Behdad Esfahbod
|
30f34d08d4
|
[TODO] Remove finished items
|
2011-04-28 16:02:40 -04:00 |
Behdad Esfahbod
|
080a0eb7d8
|
Add _hb_unsigned_int_mul_overflows
|
2011-04-28 16:01:01 -04:00 |
Behdad Esfahbod
|
1d39d6e42b
|
Desable possibly lethal test on 64-bit machines
|
2011-04-28 15:54:16 -04:00 |
Behdad Esfahbod
|
3264042873
|
[test/buffer] Test pre_allocate() and allocation_successful()
|
2011-04-28 14:24:16 -04:00 |
Behdad Esfahbod
|
123aa04f7b
|
Fix possible but improbable overflow in hb_array_t
|
2011-04-28 12:58:28 -04:00 |
Behdad Esfahbod
|
e0db4b868f
|
[buffer] More error handling
Should be all set now.
|
2011-04-28 12:56:49 -04:00 |
Behdad Esfahbod
|
15c57e04bf
|
[test/buffer] Add test pre_alloc(); hangs in the buffer code right now
Because the following loop overflows:
while (size > new_allocated)
new_allocated += (new_allocated >> 1) + 32;
|
2011-04-28 12:28:54 -04:00 |
Behdad Esfahbod
|
1e5527e2d6
|
[test/buffer] Test reset(), set_length(), and set/get_unicode_data()
|
2011-04-28 12:15:24 -04:00 |
Behdad Esfahbod
|
db126b5448
|
[test/buffer] Test reverse() and reverse_clusters()
|
2011-04-28 11:56:29 -04:00 |
Behdad Esfahbod
|
5fa849b77d
|
[API] Add _set/get_user_data() for all objects
|
2011-04-27 21:46:01 -04:00 |
Behdad Esfahbod
|
852e08ec8f
|
Move code around
|
2011-04-27 21:45:51 -04:00 |
Behdad Esfahbod
|
29c67d3f70
|
Add initial implementation of user_data to objects
|
2011-04-27 21:27:40 -04:00 |
Behdad Esfahbod
|
47e71d9661
|
[object] Remove unnecessary use of macros
|
2011-04-27 16:41:08 -04:00 |
Behdad Esfahbod
|
8be1420f8f
|
[blob] Use HB_FUNC instead of __FUNCTION__
|
2011-04-27 16:16:43 -04:00 |
Behdad Esfahbod
|
ae008b90cf
|
[object] Add tracing support back in
|
2011-04-27 16:16:39 -04:00 |
Behdad Esfahbod
|
5b7f38979f
|
GNOME Bug 612402 - (hb-arm) HarfBuzz compilation fix for arm
With gcc on arm, request 8-bit structure alignment.
|
2011-04-27 15:10:12 -04:00 |