|
91779537
|
2022-02-04T12:38:45
|
|
[atexit] Allow hb_atexit redefinition
Fixes https://github.com/harfbuzz/harfbuzz/issues/3412
|
|
9bd7ba50
|
2021-10-12T08:44:01
|
|
Err on -Wbitwise-instead-of-logical
Part of https://github.com/harfbuzz/harfbuzz/pull/3256
|
|
e0d5fe74
|
2021-09-17T08:27:03
|
|
Centralize math include
https://github.com/harfbuzz/harfbuzz/pull/3212
|
|
bda3238c
|
2021-09-14T08:12:48
|
|
Add fallback atexit implementation using template descrutors
Fixes https://github.com/harfbuzz/harfbuzz/issues/3197
|
|
ed116320
|
2021-09-14T07:09:54
|
|
Call atexit() via hb_atexit()
Part of https://github.com/harfbuzz/harfbuzz/issues/3197
|
|
791a1bf3
|
2021-07-27T15:22:13
|
|
Don’t disable getenv on Windows
The condition is inverted, regression from
40ec187dec07e97ed4004b9831e7be844e6e7948.
|
|
2337f0d0
|
2021-07-08T10:58:50
|
|
Internally use hb_malloc/.../hb_free instead of malloc/.../free
Redefining those stock names as macros was conflicting with gcc 10
headers.
Fixes https://github.com/harfbuzz/harfbuzz/issues/3044
|
|
ed2ee8a8
|
2021-04-16T13:53:43
|
|
Revert "Disable -Wunused-macros under GCC"
This reverts commit 1b1413246b8b4a9c6f7e0aac16afd6d110c142cf.
Err. It wasn't working. We already have that disabled in the files it
is warning about. Doesn't work.
|
|
1b141324
|
2021-03-30T20:54:20
|
|
Disable -Wunused-macros under GCC
Since the pragram in hb-ot-shape-complex-indic-table.cc didn't seem to
silence GCC, eg:
../../src/hb-ot-shape-complex-indic-table.cc:55: warning: macro "ISC_TL" is not used [-Wunused-macros]
55 | #define ISC_TL INDIC_SYLLABIC_CATEGORY_TONE_LETTER /* 7 chars; Tone_Letter */
disable it at compiler level.
|
|
23976893
|
2021-03-29T17:34:23
|
|
Remove hb_success_t
Was not rolled-out yet. So just expand.
|
|
05e845c4
|
2021-03-29T16:02:10
|
|
Make previous commit gcc-only
|
|
b5e40323
|
2021-03-29T15:54:40
|
|
-Wno-unused-result
GCC doesn't let one turn off the warning using "(void) foo()".
People have introduced macros that do "unused << foo()" instead.
Until we do something similar, silence gcc.
Clang on the other hand understands "(void) foo()".
|
|
7cb22ba7
|
2021-03-01T12:44:06
|
|
Include C headers with their C++ names (#2882)
Remove unnecessary includes.
Fixes build with some known broken SDKs (Nintendo Switch?)
https://en.cppreference.com/w/cpp/header
Fixes https://github.com/harfbuzz/harfbuzz/pull/2881
|
|
a3c35aee
|
2020-06-29T02:07:20
|
|
m Move HB_SCRIPT_MYANMAR_ZAWGYI
|
|
c55bf551
|
2020-06-29T02:04:16
|
|
Remove HB_CONST_FUNC and HB_PURE_FUNC
They are not necessary for inline functions.
|
|
cba9893a
|
2020-06-29T01:55:57
|
|
m[algs] Move roundf() here
|
|
f0947717
|
2020-06-29T01:53:21
|
|
m[machinery] Move HB_VAR_ARRAY here
|
|
a89d9f25
|
2021-02-20T15:35:28
|
|
m Err on -Wnarrowing instead of -Wc++11-narrowing
On clang, -Wnarrowing is synonym for -Wc++11-narrowing.
On gcc it isn't. So, use the widely-available one
|
|
47f01c07
|
2020-06-29T01:25:35
|
|
m[algs] Move BEInt here
|
|
e5b7bc42
|
2020-06-29T01:24:02
|
|
m Add default value to BEInt<> Size template parameter
|
|
2caae4a5
|
2020-06-29T01:18:28
|
|
m Move class traits
|
|
c2dbd6cc
|
2020-06-29T01:15:36
|
|
Remove static_assert of sizeof basic sized int types
|
|
e1706ffe
|
2020-06-29T00:59:06
|
|
m [algs] Move flags here
|
|
017f6b0d
|
2020-06-29T00:44:41
|
|
m Move static_assert_expr<>
|
|
61f8d0e5
|
2020-06-29T00:38:56
|
|
m Rename ASSERT_STATIC_EXPR_ZERO to static_assert_expr
|
|
59cfffb1
|
2020-06-29T00:34:07
|
|
m Change ASSERT_STATIC_EXPR_ZERO template arg type to bool
|
|
1981d83d
|
2020-06-29T00:28:31
|
|
[constexpr] HB_MARK_AS_FLAG_T
|
|
a4a99de0
|
2020-06-29T00:22:02
|
|
[constexpr] bswap
|
|
f8ebe1da
|
2020-06-29T00:20:45
|
|
[constexpr] BEInt
|
|
86993c09
|
2021-02-19T17:09:33
|
|
Ignore -Wrange-loop-analysis
Fixes https://github.com/harfbuzz/harfbuzz/issues/2834
|
|
0ca35570
|
2020-08-09T16:10:06
|
|
Turn -Wunused-but-set-variable to warning
As #2555 turned out some glib headers are imposing that so let's turn it to warning
|
|
7c433ffd
|
2020-07-15T09:38:12
|
|
Add HB_CUSTOM_MALLOC definition
So one can use just HB_CUSTOM_MALLOC instead need for define each of hb_*alloc_impl
|
|
40ec187d
|
2020-04-24T14:01:07
|
|
win32: Cleanup PARTITION handling
Use the WINAPI_PARTITION macro to filter desktop/app flavors.
We use a negated desktop check because the default (for mingw-w64 at
least) is to allow all API by combining desktop + app partitions.
This causes build failures if we were to filter using
WINAPI_PARTITION(WINAPI_FAMILY_APP) because it would always be true, but
those API also require Windows 8 or later, while we only require Vista
Fixes warnings like
../src/hb-blob.cc:572:47: warning: 'WINAPI_FAMILY_PC_APP' is not defined, evaluates to 0 [-Wundef]
#if defined(WINAPI_FAMILY) && (WINAPI_FAMILY==WINAPI_FAMILY_PC_APP || WINAPI_FAMILY==WINAPI_FAMILY_PHONE_APP)
^
../src/hb-blob.cc:572:86: warning: 'WINAPI_FAMILY_PHONE_APP' is not defined, evaluates to 0 [-Wundef]
#if defined(WINAPI_FAMILY) && (WINAPI_FAMILY==WINAPI_FAMILY_PC_APP || WINAPI_FAMILY==WINAPI_FAMILY_PHONE_APP)
|
|
a7838407
|
2020-06-27T22:23:59
|
|
Always round up
Fixes https://github.com/harfbuzz/harfbuzz/issues/2496
|
|
385d64ee
|
2020-05-07T09:59:01
|
|
Add a not discardable bool type, hb_success_t
|
|
c37100e7
|
2020-04-18T16:02:55
|
|
Clean up math.h and float.h includes
|
|
818f109b
|
2020-04-16T21:25:32
|
|
Use float in avar calculation instead ints and checking their overflows
|
|
9ffa50fe
|
2020-04-16T21:25:32
|
|
Add an appropriate fallback to hb_int_mul_overflows
|
|
fd71c045
|
2019-10-28T17:06:53
|
|
Hopefully fix up previous commit and bots
|
|
e832dc4c
|
2019-10-28T17:02:40
|
|
[config] Make HB_NO_ERRNO work with systems defining errno as a macro
|
|
d6a83abd
|
2019-09-26T11:42:11
|
|
Define HB_UNUSED for clang
|
|
412d6cac
|
2019-09-16T13:50:11
|
|
Extract an avoid errno compile flag
|
|
3f2cdf07
|
2019-09-08T15:08:02
|
|
Change HB_VAR_ARRAY to 1 again
To fix MSVC bots, while I work on changing this to 0 permanently.
|
|
861547d5
|
2019-09-06T16:55:00
|
|
Change HB_VAR_ARRAY from 1 to 0
Going to see which compilers it breaks and special-case those...
|
|
0e294c45
|
2019-09-06T16:54:27
|
|
Rename VAR to HB_VAR_ARRAY
|
|
a77bb7eb
|
2019-09-03T14:49:14
|
|
Move hb_codepoint_parse to hb_parse_uint
|
|
d50d2fcb
|
2019-09-03T05:02:06
|
|
Fallback if roundf didn't exist, like in dietlibc (#1953)
|
|
a0b4ac4d
|
2019-08-24T17:57:14
|
|
Turn 8 spaces to tab across the project
According to the current code style of the project
|
|
89228ccb
|
2019-07-22T07:07:37
|
|
Fix warning on IBM compilers
Fixes https://github.com/harfbuzz/harfbuzz/issues/1852
|
|
eb8bd2f7
|
2019-07-16T22:27:01
|
|
Add hb_gdi_face_create API
Based on Konstantin Ritt work posted on mailing list
|
|
6a6bf7b7
|
2019-07-17T21:22:38
|
|
Downgrade -Wdeprecated-declarations to warning
Fixes #1834 at least till fix of #1829
|
|
8e3cde67
|
2019-06-19T19:58:24
|
|
Fix MSVC build
MSVC warning:
c:\projects\harfbuzz\src\hb-ot-layout-gsubgpos.hh(2732): error C2121: '#': invalid character: possibly the result of a macro expansion [C:\projects\harfbuzz\build\harfbuzz.vcxproj]
Clang warning for it:
./hb-ot-layout-gsubgpos.hh:2729:2: error: embedding a directive within macro arguments has undefined behavior [-Werror,-Wembedded-directive]
|
|
60653a7a
|
2019-06-18T13:01:11
|
|
Remove HB_VECTOR_SIZE
It was cumbersome to get it to work reliably, for dubious performance
gain, mostly in the subsetter maybe...
Life is easier without. It was disabled forever anyway.
|
|
6172ec5d
|
2019-06-18T12:41:56
|
|
Remove (unused) posix_memalign fallback
Was wrong. The returned pointer couldn't be passed to free(). Ouch!
|
|
19b8eb08
|
2019-06-11T01:33:30
|
|
Move HB_NO_SETLOCALE to closer place to its to unbreak HB_TINY build (#1768)
|
|
a36ff941
|
2019-06-10T15:48:28
|
|
Add HB_NO_SETLOCALE
|
|
c4cae81a
|
2019-06-10T15:32:54
|
|
Remove round polyfill
Added in 01dff1e and 19256bef, this was targeted at older
msvc versions that don't support C99 but now as we require
C++11 we don't target places those envs thus removing this.
|
|
3c240bd3
|
2019-06-07T10:56:24
|
|
Downgrade double-promotion from error to warning
https://github.com/harfbuzz/harfbuzz/issues/1740
|
|
d5e5f378
|
2019-06-05T22:20:03
|
|
This makes minor changes to allow building HarfBuzz with
mingw.org's MinGW.
src/hb-algs.hh: Don't compile _BitScanForward and _BitScanReverse
for GCC >= 4. mingw.org's MinGW doesn't have these functions.
src/hb-atomic.hh: MemoryBarrier does exist in mingw.org's MinGW,
but it is not a macro, it is an inline function. __MINGW32_VERSION
is a macro that exists only in mingw.org's MinGW, so conditioning
on it should not affect MinGW64, where MemoryBarrier is a macro.
src/hb-uniscribe.cc: Define E_NOT_SUFFICIENT_BUFFER if it is not
defined (mingw.org's MinGW doesn't).
src/hb.hh: Don't include intrin.h for mingw.org's MinGW, since that
header is not available; instead, include windows.h. Conditioned
on __MINGW32_VERSION to avoid affecting MinGW64.
|
|
42ae468a
|
2019-05-13T23:43:45
|
|
[config] Add NDEBUG and HB_NDEBUG
Part of https://github.com/harfbuzz/harfbuzz/issues/1652
|
|
e98f0ddd
|
2019-05-13T13:53:06
|
|
Fix extra semi-colon
|
|
e6582de1
|
2019-05-10T23:53:38
|
|
Add hb-config.hh
|
|
227d85e1
|
2019-05-10T23:15:58
|
|
Minor
|
|
c2c9d204
|
2019-05-07T23:13:38
|
|
Fix double-promotion warnings
Make it an error.
|
|
45f5e562
|
2019-05-07T00:33:32
|
|
Warn on -Wdeprecated
|
|
e261dc3a
|
2019-05-07T01:24:55
|
|
Ignore -Wc++11-compat as we require C++11 actually
pollutes gcc bots logs https://circleci.com/gh/harfbuzz/harfbuzz/85395
|
|
72e3eba8
|
2019-05-02T13:03:15
|
|
Add configuration option HB_NO_GETENV to disable use of getenv()
|
|
22da1231
|
2019-04-24T10:53:16
|
|
[map] Fix TODO
|
|
a3fcb9a3
|
2019-04-16T10:45:20
|
|
[meta] Add HB_AUTO_RETURN_EXPR, HB_VOID_RETURN_EXPR, hb_priority, hb_has(), hb_get()
The first three based on range-v3.
|
|
02d864aa
|
2019-04-15T15:39:03
|
|
Add HB_FUNCOBJ()
Fixes https://github.com/harfbuzz/harfbuzz/issues/1651
|
|
b52c0e54
|
2019-04-11T11:20:10
|
|
Use injected class name to simplify macros
|
|
baf1e790
|
2019-04-11T11:18:04
|
|
[C++11] Use deleted methods
|
|
824fd342
|
2019-04-11T11:16:01
|
|
Rename a few macros
|
|
17f0cfa7
|
2019-03-31T21:34:19
|
|
Move BEInt to hb.hh
I knows...
|
|
8f2ce82f
|
2019-03-30T11:50:24
|
|
hb.hh from master
|
|
cc94a9ed
|
2019-03-29T18:41:38
|
|
Merge branch 'var-subset' of https://github.com/harfbuzz/harfbuzz into var-subset
rebase master
|
|
4b763aff
|
2019-03-28T11:11:52
|
|
Comment
|
|
13ae138a
|
2019-03-28T19:06:12
|
|
Disable unwanted C++ definitions for MSVC.
MSVC does not set __cplusplus to the latest standard and also it does not like redefining some keywords.
|
|
eca466e6
|
2019-03-29T15:59:04
|
|
Err. Fixup C++11 polyfill removal
Fixes 1d75db19fb5df139b9648ff3f5e6184a5c554345
|
|
3f36c89f
|
2019-03-29T15:22:46
|
|
Inline explicit_operator macro
Now that we require C++11, no need to macro.
|
|
1d75db19
|
2019-03-29T15:20:34
|
|
Remove C++<11 polyfill
Leaving hb-atomic.hh as is since harmless and other projects might
copy from that file.
|
|
bdd5a9c4
|
2019-03-28T21:58:07
|
|
Add hb_hash()
I don't like the hb_remove_reference() hack, but necessary.
|
|
a030ce4f
|
2019-03-28T21:26:50
|
|
Merge branch 'master' into iter
|
|
8665b9b0
|
2019-03-28T11:11:52
|
|
Comment
|
|
cf040c0f
|
2019-03-28T19:06:12
|
|
Disable unwanted C++ definitions for MSVC.
MSVC does not set __cplusplus to the latest standard and also it does not like redefining some keywords.
|
|
e75b2203
|
2019-01-28T21:26:23
|
|
Move hb_addressof() to hb-meta.hh
|
|
073fa4ac
|
2019-01-28T14:35:41
|
|
Merge branch 'master' into iter
|
|
51b58488
|
2019-01-28T14:09:45
|
|
[pragma] Silence MSVC unknown-pragma warning
|
|
f35e7eab
|
2019-01-26T22:50:00
|
|
pragma GCC diagnostic error "-Winjected-class-name"
See 6b6783e1588ebe5772a1edc19552219e9d931bda
|
|
50935335
|
2019-01-26T22:47:35
|
|
[iter] Use hb_declval() instead of Null() to get instance
I had used Null to make one of the bots happy before. Not going
to bend to such demands anymore..
|
|
ac90f17c
|
2019-01-26T14:05:39
|
|
Merge branch 'master' into iter
|
|
60022ecc
|
2019-01-26T14:04:51
|
|
Fix -Wcast-function-type warnings in util/ with gcc 4.8
|
|
090fe56d
|
2019-01-25T15:34:03
|
|
Merge branch 'master' into iter
|
|
f60282c5
|
2019-01-24T16:29:09
|
|
More pragma control
Fixes https://bugs.chromium.org/p/chromium/issues/detail?id=924848
|
|
90772725
|
2019-01-22T12:40:18
|
|
pragma GCC diagnostic error "-Wsign-compare"
|
|
c81f02fd
|
2019-01-22T12:00:44
|
|
pragma GCC diagnostic error "-Wvla"
|
|
6e3ad650
|
2019-01-09T09:05:01
|
|
Rename hb-dsalgs to hb-algs
|
|
f64ea8fc
|
2018-12-30T18:49:34
|
|
[meta] Move code around
|
|
8c6cbbdf
|
2018-12-28T14:29:09
|
|
[iter/meta] Add hb_is_iterable
|
|
e76a3cae
|
2018-12-27T17:23:12
|
|
Add hb-meta.hh for meta-programming
|