Behdad Esfahbod
13db3d40bf
[test/buffer] Add UTF-16 tests
14 years ago
Behdad Esfahbod
243673d601
[test/buffer] Add more extensive UTF-8 test data from glib
14 years ago
Behdad Esfahbod
dfec67f958
[test/buffer] Add initial utf-8 tests
14 years ago
Behdad Esfahbod
aafe395ab5
Add test suite infrastructure
...
Wraps around glib for convenience and ease of use.
14 years ago
Behdad Esfahbod
1d39d6e42b
Desable possibly lethal test on 64-bit machines
14 years ago
Behdad Esfahbod
3264042873
[test/buffer] Test pre_allocate() and allocation_successful()
14 years ago
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;
14 years ago
Behdad Esfahbod
1e5527e2d6
[test/buffer] Test reset(), set_length(), and set/get_unicode_data()
14 years ago
Behdad Esfahbod
db126b5448
[test/buffer] Test reverse() and reverse_clusters()
14 years ago
Behdad Esfahbod
2409d5f8d7
Update Copyright headers
14 years ago
Behdad Esfahbod
f85faee9b3
[API] Rename hb_buffer_add_glyph() to hb_buffer_add()
14 years ago
Behdad Esfahbod
aab0de50e2
[API] Add hb_buffer_allocation_successful()
...
Returns the error status of the buffer.
14 years ago
Ryan Lortie
70566befc5
[API} hb_buffer_get_glyph_{infos,positions}: Add length out parameter
...
Return the length, whenever we return an array. Makes it easier on the
language bindings.
14 years ago
Behdad Esfahbod
c0af193c8e
Change buffer default properties to invalid
...
This includes HB_DIRECTION_INVALID and HB_SCRIPT_INVALID.
The INVALID will cause a "guess whatever from the text" in hb_shape().
While it's not ideal, it works better than the previous defaults at
least (HB_DIRECTION_LTR and HB_SCRIPT_COMMON).
14 years ago
Behdad Esfahbod
2fc56edff6
[API] Remove hb_buffer_clear()
...
One should use hb_buffer_reset() really.
14 years ago
Behdad Esfahbod
2f2f448af3
[test] Add more TODO items
14 years ago
Behdad Esfahbod
7dea908cd5
[test] Add todo items
14 years ago
Behdad Esfahbod
d0f53fdbea
[test] Test hb-buffer.h
14 years ago