|
099bca6d
|
2019-01-09T15:56:32
|
|
Minor, hack .editorconfig for vscode use
As VSCode and Atom https://github.com/Microsoft/vscode/issues/44438 don't support it
|
|
7b48641a
|
2019-01-08T12:37:48
|
|
fix leak in subset_enc_supp_codes (#1537)
oss-fuzz issue 12310
|
|
97f67a3c
|
2019-01-04T23:10:39
|
|
[ci] Enable more of GCC compile warnings (#1533)
|
|
ad954870
|
2018-12-03T12:49:44
|
|
Usermanual: small formatting and wording fixes.
|
|
ed13cadd
|
2018-11-28T13:48:38
|
|
Usermanual: small updates.
|
|
26c5b54f
|
2018-12-31T04:30:43
|
|
CircleCI: Test for Python 3 syntax errors and undefined names (#1522)
Catch missing imports and errors like #1520 and #1521
__E901,E999,F821,F822,F823__ are the "_showstopper_" [flake8](http://flake8.pycqa.org) issues that can halt the runtime with a SyntaxError, NameError, etc. Most other flake8 issues are merely "style violations" -- useful for readability but they do not effect runtime safety.
* F821: undefined name `name`
* F822: undefined name `name` in `__all__`
* F823: local variable name referenced before assignment
* E901: SyntaxError or IndentationError
* E999: SyntaxError -- failed to compile a file into an Abstract Syntax Tree
|
|
686e6f2e
|
2018-12-30T11:27:42
|
|
Fix automake warnings
[skip ci]
|
|
b5c12b9f
|
2018-12-30T13:07:28
|
|
print() is a function in Python 3 (#1520)
|
|
f4da28b1
|
2018-12-30T12:58:34
|
|
Python 3 fixes to gen-os2-unicode-ranges.py (#1521)
In Python 3, __reload()__ was moved and __sys.setdefaultencoding()__ because the default is already utf-8. Also __Error()__ is an _undefined name_ and __Exception()__ creates a generic exception.
|
|
e5989e09
|
2018-12-30T10:23:47
|
|
[cmake] Enable C++11 on CMake (#1519)
|
|
d092fb27
|
2018-12-30T01:53:03
|
|
Ouch! Fix build on C++<11
|
|
89949ed2
|
2018-12-30T01:52:19
|
|
Fix ubsan with passing nullptr to qsort()
|
|
357a0a7a
|
2018-12-27T18:29:23
|
|
Fix build on C++ < 11
|
|
54c0a173
|
2018-12-27T18:27:36
|
|
[vector] Fix warning
|
|
1043ddbe
|
2018-12-27T18:27:11
|
|
[aat] Minor
|
|
71da9ca6
|
2018-12-27T18:01:06
|
|
[vector] Remove use of arrayZ() by using casts
|
|
fa333e34
|
2018-12-27T17:56:22
|
|
[vector] Remove static_array
Was good idea, but with C++ types with constructor/destructor, was getting in
the way as compiler was destructing those items where it was not desired.
Since C++ does not allow zero-sized arrays, just remove it...
|
|
ab2258a4
|
2018-12-27T17:45:05
|
|
[vector] Use allocated = -1 to signify failure
|
|
09fa536d
|
2018-12-27T08:33:09
|
|
fix lealk with cff2::accelerator_templ_t::topDict (#1517)
|
|
3b81442c
|
2018-12-24T11:31:04
|
|
[vector] Change pre-alloced count from 8 to 2
I'm thinking about dropping it to zero, but that needs slight code changes.
|
|
d25a2f14
|
2018-12-23T20:19:52
|
|
Fix a few warnings
|
|
85003b59
|
2018-12-22T16:19:10
|
|
[iter] Fix warning
|
|
e4355b1c
|
2018-12-22T16:11:22
|
|
[set] Add iter_t as alias to const_iter_t
|
|
33f8de61
|
2018-12-22T15:10:18
|
|
[set] Change to const_iter
|
|
f88fed5c
|
2018-12-22T11:11:10
|
|
[set] Cache length in iterator
|
|
d0a706c7
|
2018-12-22T19:47:48
|
|
Minor, remove redundant inline
|
|
ae6e348d
|
2018-12-22T19:47:29
|
|
Minor, tweak spaces
|
|
29f0b6bc
|
2018-12-22T07:47:04
|
|
CFF renaming (#1507)
* reimplement ByteStr as byte_str_t based on hb_ubytes_t
Unuse start_embed<ByteStr>
Also renamed SubByteStr to byte_str_ref_t
More renaming to come
* substr renamed to str_ref in line with its type byte_str_ref_t
* uncamelize non-table struct names
* uncamelized non-struct types OpCode etc
* add byte_str_t copy ctor
* test
* test2
* undo tests
* fix bot failure
* undo the previous change
* fixed tabs, added inline
* Revert "fixed tabs, added inline"
This reverts commit 21163c30e9d18759414f7fe2518628241599f039.
* fix tabs
|
|
89d04129
|
2018-12-21T20:07:52
|
|
[set] Actually derive iterator from hb_sorted_iter_t<>
|
|
fc35919d
|
2018-12-21T20:06:17
|
|
[set] Implement unified iterator
|
|
4911e67d
|
2018-12-21T20:00:52
|
|
[set] Mark some internals protected
|
|
954b9854
|
2018-12-21T19:55:02
|
|
[iter] Add hb_sorted_iter_t<>
|
|
b205105c
|
2018-12-21T19:48:21
|
|
[iter] Change operator[] operand to be signed
To fix older compilers again (this was the case in hb_array_t).
hb-ot-layout-common.hh:1353: note: candidate 2: operator[](T*, int) <built-in>
hb-ot-layout-common.hh:1354: error: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second:
hb-iter.hh:63: note: candidate 1: Item& hb_iter_t<Iter, Item>::operator[](unsigned int) const [with Iter = hb_array_t<const OT::IntType<short unsigned int, 2u> >, Item = const OT::IntType<short unsigned int, 2u>]
hb-ot-layout-common.hh:1354: note: candidate 2: operator[](T*, int) <built-in>
hb-ot-layout-common.hh: In member function 'bool OT::ClassDef::serialize(hb_serialize_context_t*, hb_array_t<const OT::IntType<short unsigned int, 2u> >, hb_array_t<const OT::IntType<short unsigned int, 2u> >)':
hb-ot-layout-common.hh:1490: error: ISO C++ says that these are ambiguous, even though the worst conversion for the first is better than the worst conversion for the second:
hb-iter.hh:63: note: candidate 1: Item& hb_iter_t<Iter, Item>::operator[](unsigned int) const [with Iter = hb_array_t<const OT::IntType<short unsigned int, 2u> >, Item = const OT::IntType<short unsigned int, 2u>]
hb-ot-layout-common.hh:1490: note: candidate 2: operator[](T*, int) <built-in>
|
|
25786f49
|
2018-12-21T19:29:00
|
|
[array] Port to hb_iter_t<>
hb_array_t is its own iterator...
|
|
2a33ab05
|
2018-12-21T18:49:27
|
|
[iter] Change __more__ to fallback to __len__
|
|
474a1205
|
2018-12-21T18:46:51
|
|
[array/vector] Rename len to length
|
|
2fc1860a
|
2018-12-21T18:09:45
|
|
[iter] Split hb_iter_t<> into hb_iter_t<> and hb_iter_mixin_t<>
|
|
865deeb3
|
2018-12-21T17:35:58
|
|
Adjust internal header dependencies
|
|
8e5c2bc6
|
2018-12-21T17:29:11
|
|
[Makefile.am] Minor
|
|
f419cef4
|
2018-12-21T17:22:09
|
|
[iter] Include from hb.hh
|
|
7557e348
|
2018-12-21T17:21:19
|
|
[iter] Move hb_fill() and hb_copy() to hb-iter.hh
|
|
5e1840e0
|
2018-12-21T16:39:57
|
|
[iter] Disallow copy-construction or assignment of hb_iter_t<>
Should only be done by subclass.
|
|
65e8bd56
|
2018-12-21T16:20:30
|
|
[iter] Fix hb_copy() return value
|
|
40d71211
|
2018-12-21T16:19:44
|
|
[iter] Add const_iter_t / const_iter()
|
|
aaddfaa5
|
2018-12-21T16:04:38
|
|
[iter] Make hb_fill() take collection type, not iter
Starting to get the hang of when take which.
|
|
7b4eea85
|
2018-12-21T16:02:16
|
|
[array] Add more hb_array() / hb_sorted_array() variants
|
|
09740148
|
2018-12-21T15:56:01
|
|
[serialize] Use component_list by reference, as a supplier
|
|
3dbe1e36
|
2018-12-21T15:53:09
|
|
[iter] Add .random_access()
|
|
20f14b4a
|
2018-12-21T15:19:22
|
|
[iter] Fix __end__()
|
|
95265aea
|
2018-12-21T15:12:55
|
|
[array] Remove copy constructor
Fixes https://github.com/harfbuzz/harfbuzz/issues/1502
|
|
69d232ea
|
2018-12-21T15:08:06
|
|
Fix bot
C:\projects\harfbuzz\src\hb-uniscribe.cc(709): error C2666: 'hb_vector_t<OPENTYPE_FEATURE_RECORD,8>::operator +': 3 overloads have similar conversions [C:\projects\harfbuzz\build\harfbuzz.vcxproj]
|
|
b9a51f53
|
2018-12-21T15:05:00
|
|
Minor
|
|
bdb6da72
|
2018-12-21T11:20:27
|
|
[iter] Fix test again
|
|
e9520752
|
2018-12-21T11:15:16
|
|
Minor
|
|
35503d7d
|
2018-12-21T03:03:46
|
|
[iter] More prototyping
|
|
73c7a896
|
2018-12-21T02:48:28
|
|
[iter] Make hb_fill() and hb_copy() take iterators
I'm still going back and force...
|
|
12e506fd
|
2018-12-21T02:47:04
|
|
[iter] Add hb_fill()
|
|
ad3ed58d
|
2018-12-21T02:12:55
|
|
[iter] Start prototyping hb_copy()
|
|
44af738d
|
2018-12-21T01:59:37
|
|
[iter] Showcase implicit casts
|
|
879faa2a
|
2018-12-21T01:57:40
|
|
Rename
|
|
aeb696a9
|
2018-12-21T01:57:02
|
|
[iter] Rename
|
|
8001e00a
|
2018-12-21T01:53:27
|
|
[iter] First sample use
|
|
19d2b501
|
2018-12-21T01:17:35
|
|
[iter] Add bidirectionality
|
|
314d8698
|
2018-12-21T00:54:55
|
|
[iter] Sketch new iterator design
|
|
f6d5f1e9
|
2018-12-21T00:23:34
|
|
[iter] Add empty test
|
|
b80b97b5
|
2018-12-21T00:08:05
|
|
Revert "Remove unused hb-iter.hh"
This reverts commit 969ff3c7aadbe721cdd414488eb170433f10d00c.
|
|
a728c63a
|
2018-12-20T23:15:49
|
|
[vector] Add operator bool
|
|
bd369773
|
2018-12-20T23:14:24
|
|
Rename
|
|
e6ebc9b6
|
2018-12-20T23:13:36
|
|
Remove unused typedef
|
|
4941e95f
|
2018-12-20T21:48:57
|
|
2.3.0
|
|
87f7c83f
|
2018-12-20T15:54:17
|
|
[serializer] Add operator <<
Not sure if we are going to use it. But might incentivize us to.
|
|
5b70074e
|
2018-12-20T15:38:59
|
|
Add hb_assign(obj, value)
|
|
61241233
|
2018-12-20T12:26:30
|
|
[serialize] Adjust ClassDef
[skip ci]
|
|
4220b7bd
|
2018-12-20T11:48:45
|
|
Fix code on big-endian gcc / clang
Ouch! We need a bigendian bot...
Fixes https://github.com/harfbuzz/harfbuzz/issues/1498
|
|
c87ee722
|
2018-12-19T22:28:16
|
|
Minor [skip ci]
|
|
5000a59a
|
2018-12-19T21:07:53
|
|
[saitnize] Minor
|
|
3ee4ea94
|
2018-12-20T11:26:54
|
|
Fix build on older Visual Studio versions (#1499)
* src/hb-cff-interp-dict-common.hh: Use ull for unsigned int64_t
The llu suffix does not work for older Visual Studio versions
(pre-2013), but ull works for all the compilers that we attempt to
support.
* test/api: Fix build on pre-C99 compilers
Ensure variables are declared at the top of the block.
* src/hb-dsalgs.hh: Add specialization for hb_is_signed<> for __int8
Pre-Visual Studio 2010 does not consider __int8 (which is typedef'ed to
int8_t) to be equivilant to signed char, so the compiler cannot find the
corresponding hb_is_signed<> specialization that is needed.
The interesting thing is unsigned __int8 is considered to be equivilant
to unsigned char, so as the other types (short, int, long) that we look
for here, so only the specialization for __int8 is added here.
This will fix builds on Visual Studio 2008 at least.
|
|
a6287050
|
2018-12-19T21:05:00
|
|
[sanitize] Use hb_static_size instead of ::static_size
https://github.com/harfbuzz/harfbuzz/issues/1496#issuecomment-448818112
|
|
0c9cd5d5
|
2018-12-19T21:18:30
|
|
[test] Fix test-name-table.cc leak issue
Spotted it accidentally but wanted to see if is anything serious so went for fixing it
|
|
3d9d7dc4
|
2018-12-18T22:11:23
|
|
[arrays] Add hb_ubytes_t for unsigned char
|
|
f1e95e40
|
2018-12-18T16:49:08
|
|
[arrays] Remove hb_supplier_t<>
|
|
f9417af2
|
2018-12-18T13:23:32
|
|
[serialize] Propagate error from hb-face
|
|
9aebfb41
|
2018-12-18T13:22:17
|
|
[serialize] Streamline error propagation
|
|
969ff3c7
|
2018-12-17T22:43:00
|
|
Remove unused hb-iter.hh
The ideas there are all part of hb-array.hh now. To be determined how we
want to use generic iterator patterns.
|
|
b1094fc2
|
2018-12-17T22:41:04
|
|
[arrays] Minor tweaks to hb_supplier_t
I think I like to keep this hb_supplier_t thing separately from hb_array_t.
|
|
cf39c242
|
2018-12-17T22:36:23
|
|
[arrays] Rename Supplier to hb_supplier_t
|
|
6b5eaa75
|
2018-12-17T21:55:33
|
|
Hide hb_addressof()
|
|
6befa75c
|
2018-12-17T20:34:51
|
|
Enable __builtin_* on clang
We'll see which old clang versions this breaks...
|
|
8d2d4102
|
2018-12-17T20:23:26
|
|
Add hb_addressof() and use it to fix bug after hb_bytes_t merge
We cannot take address hb_bytes_t direction. We need to use the
newly added hb_addressof(), ala std::addressof().
|
|
49334f9b
|
2018-12-17T18:27:36
|
|
Enable system extensions in hb.hh
Fixes https://github.com/harfbuzz/harfbuzz/issues/1491
|
|
37c14bc7
|
2018-12-17T14:59:37
|
|
Fix Solaris use after free (#1495)
|
|
483f2491
|
2018-12-17T17:56:10
|
|
Remove define GNU_SOURCE
Not needed. We get it in our config.h automatically thanks to
AC_USE_SYSTEM_EXTENSIONS. Let's see whose build it breaks...
If we end up putting it back, we should add other things from
that macro and remove the macro.
|
|
87ff65ae
|
2018-12-17T17:19:42
|
|
Fix more warnings
|
|
f9d219a1
|
2018-12-17T14:18:47
|
|
Fix Solaris Trailing comma in enum warnings (#1490)
|
|
244a8627
|
2018-12-17T21:31:43
|
|
Lower coretext_aat shaper priority (#1488)
Related to https://github.com/harfbuzz/harfbuzz/issues/1478
|
|
e4120085
|
2018-12-17T21:31:01
|
|
Remove redundant void from C++ sources (#1486)
|
|
7ace1007
|
2018-12-17T20:07:04
|
|
Minor, fix two more ArrayOf incorrect operator logic
|
|
a1240383
|
2018-12-17T10:44:14
|
|
[arrays] Minor fix
|
|
381c3548
|
2018-12-17T00:39:30
|
|
[array] Add cast operator to add const to Type
In lieu of constructor removed in previous commit.
|
|
15acf33c
|
2018-12-17T00:38:13
|
|
[array] Remove problematic constructor
|