|
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
|
|
2790aad2
|
2018-12-26T18:58:42
|
|
[iter] Add operator ->
|
|
f13b6786
|
2019-01-18T14:53:54
|
|
[pragma] Only add if GCC or clang
|
|
d9f6be3a
|
2019-01-18T12:48:01
|
|
Fix -Wundef errors with __GNUC__
Fixes https://github.com/harfbuzz/harfbuzz/issues/1549
|
|
9b4e51b2
|
2019-01-18T12:23:02
|
|
[pragma] Enable error -Wdelete-non-virtual-dtor
Currently fails directwrite backend.
|
|
a25174a5
|
2019-01-18T09:59:36
|
|
[pragma] GCC diagnostic error "-Wreorder"
|
|
46600905
|
2019-01-18T09:53:16
|
|
[pragma] GCC diagnostic warning "-Wmaybe-uninitialized"
|
|
7a634d7d
|
2019-01-18T09:49:14
|
|
[pragma] Massage more
|
|
16e5ba85
|
2019-01-18T09:46:17
|
|
[pragma] More
|
|
2bd530d5
|
2019-01-18T09:28:22
|
|
[pragma] Reorg again
https://github.com/harfbuzz/harfbuzz/issues/1546
|
|
c04272fa
|
2019-01-18T08:49:45
|
|
[pragma] GCC diagnostic ignored "-Wunknown-warning-option"
Try at fixing https://github.com/harfbuzz/harfbuzz/issues/1546
|
|
a77bd6bb
|
2019-01-17T19:33:41
|
|
[pragma] GCC diagnostic ignored "-Wclass-memaccess"
|
|
436c7b29
|
2019-01-17T19:03:33
|
|
[pragma] ignored -Wunsafe-loop-optimizations // TODO fix
|
|
e3b3181e
|
2019-01-17T19:02:06
|
|
[pragma] error -Wclass-memaccess
|
|
1a6b97a4
|
2019-01-17T18:55:03
|
|
[pragma] More
|
|
06e80916
|
2019-01-17T18:47:32
|
|
[pragma] More
|
|
1077e40b
|
2019-01-17T18:36:10
|
|
[pragma] Flesh out more
|
|
14a560a2
|
2019-01-17T17:42:44
|
|
[pragma GCC] Ignore -Wtype-limits
|
|
3f2daae6
|
2019-01-17T15:27:31
|
|
More GCC pragmas
|
|
d6c5473e
|
2019-01-17T15:22:46
|
|
Rename macro
|
|
a9946b7c
|
2019-01-17T15:22:28
|
|
Add more GCC warning pragmas
|
|
868b0c0c
|
2019-01-17T15:08:36
|
|
Move -Wcast-align to hb.hh
|
|
9f6172d6
|
2019-01-14T20:45:31
|
|
Move _POSIX_SOURCE definition
Fixes https://github.com/harfbuzz/harfbuzz/issues/1308
|
|
d092fb27
|
2018-12-30T01:53:03
|
|
Ouch! Fix build on C++<11
|
|
357a0a7a
|
2018-12-27T18:29:23
|
|
Fix build on C++ < 11
|
|
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...
|
|
d25a2f14
|
2018-12-23T20:19:52
|
|
Fix a few warnings
|
|
865deeb3
|
2018-12-21T17:35:58
|
|
Adjust internal header dependencies
|
|
f419cef4
|
2018-12-21T17:22:09
|
|
[iter] Include from hb.hh
|
|
49334f9b
|
2018-12-17T18:27:36
|
|
Enable system extensions in hb.hh
Fixes https://github.com/harfbuzz/harfbuzz/issues/1491
|
|
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
|