|
4c9fe88d
|
2011-08-26T09:18:53
|
|
[API] Make all _from_string() functions take a len parameter
Can be -1 for NUL-terminated string. This is useful for passing parts
of a larger string to a function without having to copy or modify the
string first.
Affected functions:
hb_tag_t hb_tag_from_string()
hb_direction_from_string()
hb_language_from_string()
hb_script_from_string()
|
|
e6c09cdf
|
2011-08-17T19:07:59
|
|
Remove the pre_allocate argument from hb_buffer_create()
For two reasons:
1. User can always call hb_buffer_pre_allocate() themselves, and
2. Now we do a pre_alloc in add_utfX anyway, so the total number of
reallocs is limited to a small number (~3) anyway. This just makes the
API cleaner.
|
|
92de53ea
|
2011-05-16T12:24:56
|
|
[test/buffer] Add more tests for nil buffer
|
|
da603e80
|
2011-05-11T22:52:35
|
|
[test/font] Start adding tests for hb-font.h
|
|
b8477e1d
|
2011-05-11T21:12:44
|
|
[test] Add tests for _get_empty() funcs
|
|
0617b155
|
2011-05-10T17:37:08
|
|
[test] Test blob API
|
|
c763aa42
|
2011-05-02T13:52:17
|
|
[test/buffer] Clean up testing
Getting the hang of how to cleanly use gtest.
|
|
6af9cff5
|
2011-04-29T12:00:38
|
|
[test/unicode] Use text fixture instead of static variables
|
|
13db3d40
|
2011-04-28T19:44:45
|
|
[test/buffer] Add UTF-16 tests
|
|
243673d6
|
2011-04-28T19:37:51
|
|
[test/buffer] Add more extensive UTF-8 test data from glib
|
|
dfec67f9
|
2011-04-28T18:34:42
|
|
[test/buffer] Add initial utf-8 tests
|
|
aafe395a
|
2011-04-28T17:10:44
|
|
Add test suite infrastructure
Wraps around glib for convenience and ease of use.
|
|
1d39d6e4
|
2011-04-28T15:54:16
|
|
Desable possibly lethal test on 64-bit machines
|
|
32640428
|
2011-04-28T14:24:16
|
|
[test/buffer] Test pre_allocate() and allocation_successful()
|
|
15c57e04
|
2011-04-28T12:28:54
|
|
[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;
|
|
1e5527e2
|
2011-04-28T12:15:24
|
|
[test/buffer] Test reset(), set_length(), and set/get_unicode_data()
|
|
db126b54
|
2011-04-28T11:56:29
|
|
[test/buffer] Test reverse() and reverse_clusters()
|
|
2409d5f8
|
2011-04-21T17:14:28
|
|
Update Copyright headers
|
|
f85faee9
|
2011-04-19T00:38:01
|
|
[API] Rename hb_buffer_add_glyph() to hb_buffer_add()
|
|
aab0de50
|
2011-04-19T00:32:19
|
|
[API] Add hb_buffer_allocation_successful()
Returns the error status of the buffer.
|
|
70566bef
|
2011-04-15T18:32:36
|
|
[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.
|
|
c0af193c
|
2011-04-15T19:26:24
|
|
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).
|
|
2fc56edf
|
2011-04-15T18:35:08
|
|
[API] Remove hb_buffer_clear()
One should use hb_buffer_reset() really.
|
|
2f2f448a
|
2011-04-15T11:45:14
|
|
[test] Add more TODO items
|
|
7dea908c
|
2011-04-13T01:35:58
|
|
[test] Add todo items
|
|
d0f53fdb
|
2011-04-13T01:09:09
|
|
[test] Test hb-buffer.h
|