Commit Graph

357 Commits

Author SHA1 Message Date
Behdad Esfahbod
8b46c2d933 [configure] Print compiler version info in report 2019-01-30 15:06:22 -08:00
Behdad Esfahbod
55d1d7c8bc 2.3.1 2019-01-30 13:54:15 -08:00
Behdad Esfahbod
fa1ae3d465 Use C++11 when available 2019-01-20 20:12:12 -05:00
Behdad Esfahbod
868b0c0c2e Move -Wcast-align to hb.hh 2019-01-17 15:18:18 -05:00
Behdad Esfahbod
4941e95f10 2.3.0 2018-12-20 21:48:57 -05:00
Behdad Esfahbod
49334f9b50 Enable system extensions in hb.hh
Fixes https://github.com/harfbuzz/harfbuzz/issues/1491
2018-12-17 18:27:36 -05:00
Behdad Esfahbod
dc41ecef85 2.2.0 2018-11-29 11:53:53 -05:00
Ebrahim Byagowi
24887d1115
Add Adobe AOTS tests (#1395)
Annotated OpenType Specification or aots, https://github.com/adobe-type-tools/aots
provides a set of tests for OpenType specification, this change add those tests in addition
to modified version of their HarfBuzz test runner for generating harfbuzz project specific tests.
2018-11-24 20:07:24 +03:30
Behdad Esfahbod
e3a1a8350a 2.1.3 2018-11-16 16:53:25 -08:00
Behdad Esfahbod
fdb29ab2b0 2.1.2 2018-11-16 15:38:11 -08:00
Behdad Esfahbod
8be74d8553 2.1.1 2018-11-05 18:47:22 -05:00
Behdad Esfahbod
1019391046 2.1.0 2018-10-30 15:52:26 -07:00
Behdad Esfahbod
0a3b7a0fb0 2.0.2 2018-10-20 13:14:07 -07:00
Behdad Esfahbod
7c2c8ac301 2.0.1 2018-10-19 19:39:58 -07:00
Behdad Esfahbod
3d9a0306eb 2.0.0 2018-10-18 05:58:17 -07:00
Behdad Esfahbod
1e8fdd285f Remove HAVE_OT
We never tested compiling without it.  Just kill it.  We always build
our own shaper.
2018-10-10 16:32:35 -04:00
Sascha Brawer
1f14107f71 Minor: Fix autoconf warning
Before this change, autoconf was emitting the following warnings:

```
configure.ac:22: warning: AC_COMPILE_IFELSE was called before AC_USE_SYSTEM_EXTENSIONS
../../lib/autoconf/specific.m4:368: AC_USE_SYSTEM_EXTENSIONS is expanded from...
configure.ac:22: the top level
configure.ac:22: warning: AC_RUN_IFELSE was called before AC_USE_SYSTEM_EXTENSIONS
../../lib/autoconf/specific.m4:368: AC_USE_SYSTEM_EXTENSIONS is expanded from...
configure.ac:22: the top level
configure.ac:22: warning: AC_COMPILE_IFELSE was called before AC_USE_SYSTEM_EXTENSIONS
../../lib/autoconf/specific.m4:368: AC_USE_SYSTEM_EXTENSIONS is expanded from...
configure.ac:22: the top level
configure.ac:22: warning: AC_RUN_IFELSE was called before AC_USE_SYSTEM_EXTENSIONS
../../lib/autoconf/specific.m4:368: AC_USE_SYSTEM_EXTENSIONS is expanded from...
configure.ac:22: the top level
configure.ac:22: warning: AC_COMPILE_IFELSE was called before AC_USE_SYSTEM_EXTENSIONS
../../lib/autoconf/specific.m4:368: AC_USE_SYSTEM_EXTENSIONS is expanded from...
configure.ac:22: the top level
configure.ac:22: warning: AC_RUN_IFELSE was called before AC_USE_SYSTEM_EXTENSIONS
../../lib/autoconf/specific.m4:368: AC_USE_SYSTEM_EXTENSIONS is expanded from...
configure.ac:22: the top level
configure.ac:22: warning: AC_COMPILE_IFELSE was called before AC_USE_SYSTEM_EXTENSIONS
../../lib/autoconf/specific.m4:368: AC_USE_SYSTEM_EXTENSIONS is expanded from...
configure.ac:22: the top level
configure.ac:22: warning: AC_RUN_IFELSE was called before AC_USE_SYSTEM_EXTENSIONS
../../lib/autoconf/specific.m4:368: AC_USE_SYSTEM_EXTENSIONS is expanded from...
configure.ac:22: the top level
```
2018-10-04 11:17:12 +02:00
Ebrahim Byagowi
c2c7e6471c
State our graphite2 dependency no-deprecated compile flag (#1220) 2018-10-04 00:29:40 +03:30
Behdad Esfahbod
54d332dd9b 1.9.0 2018-09-10 11:37:24 +02:00
Behdad Esfahbod
63be5dcdde 1.8.8 2018-08-14 10:59:34 -07:00
Behdad Esfahbod
b6fdcf4f8b 1.8.7 2018-08-08 22:01:38 -07:00
Behdad Esfahbod
e49a38b20e 1.8.6 2018-08-07 09:55:42 -07:00
Behdad Esfahbod
44d1fb37ef 1.8.5 2018-08-01 14:51:51 -07:00
Behdad Esfahbod
68310a65cb 1.8.4 2018-07-17 13:20:40 +02:00
Behdad Esfahbod
2b76767bf5 1.8.3 2018-07-11 15:27:13 +02:00
Behdad Esfahbod
83ea277178 Add posix_memalign() fallback 2018-07-10 13:17:27 +02:00
Behdad Esfahbod
343e8c694b 1.8.2 2018-07-03 12:43:59 +04:30
Behdad Esfahbod
3654d9be6b 1.8.1 2018-06-12 19:38:04 -04:00
Behdad Esfahbod
f6893ef82c Move hb-version.h generation to Makefile
Fixes https://github.com/harfbuzz/harfbuzz/issues/864

Unfortunately 1.7.7 and 1.8.0 went out with the wrong hb-version.h contents.
2018-06-12 19:26:15 -04:00
Behdad Esfahbod
37986aa9b7 1.8.0 2018-06-05 18:04:40 -07:00
Behdad Esfahbod
df01f3e560 1.7.7 2018-06-05 15:18:16 -07:00
Behdad Esfahbod
08b8eb678a Another try at fixing linker issue
Fixes https://github.com/harfbuzz/harfbuzz/issues/880
2018-03-31 12:16:57 +02:00
Ebrahim Byagowi
eff36cd8f0
Minor build related changes 2018-03-30 22:25:35 +04:30
Ebrahim Byagowi
7b4333b090
Do feature test before adding -Bsymbolic-functions, autotools part (#892) 2018-03-16 22:45:09 +03:30
Behdad Esfahbod
127096e474 [util] Remove line buffering
Something weird seems to be going on. Just kill it.

Fixes https://github.com/harfbuzz/harfbuzz/issues/888
2018-03-15 13:23:27 -07:00
Chun-wei Fan
89dbabff65 configure.ac/CMake: Check for round() and stdbool.h
Not all the compilers that HarfBuzz is buildable on supports round() and
has the header stdbool.h, so we check for them and define HAVE_ROUND and
HAVE_STDBOOL_H repsectively in our CFLAGS so that we include them only
when they are found, or use fallback implementations when necessary.

Also include FindPythonInterp earlier as we need PYTHON_EXECUTABLE to be
set for running the tests.
2018-03-13 20:13:38 +08:00
Behdad Esfahbod
ff2f81432b 1.7.6 2018-03-07 16:05:14 +01:00
Ebrahim Byagowi
f7399796a1
Enable coverage test on autotools (#857) 2018-03-03 22:55:09 +03:30
Ben Boeckel
d38f37b2e3 autoconf: provide a harfbuzz-config for use from CMake (#822) 2018-02-24 01:25:53 +03:30
Behdad Esfahbod
e91644786b Remove unused check 2018-02-18 12:41:24 -08:00
Behdad Esfahbod
978ace6fbb Improve _hb_popcount()
Support 128bit type.
2018-02-16 16:08:45 -08:00
Behdad Esfahbod
94d32d1b83 Enable C99 if available
Hopefully we can now mix-and-match code and declaration in the C test files.
2018-02-16 15:36:20 -08:00
Khaled Hosny
0b94d590d9 Rename --with-stdcpp → --with-libstdc++
Also improve wording a bit and fix make check in --with-libstdc++=yes.
2018-02-12 12:37:41 -07:00
Ebrahim Byagowi
2efc896550
Add --with-stdcpp for ossfuzzer and mupdf use (#770) 2018-02-12 12:00:07 +03:30
Behdad Esfahbod
d0f3e7f597 [util] Use setlinebuf() if present
To work around mysterious bug on OS X.

Fixes https://github.com/harfbuzz/harfbuzz/issues/727
2018-02-10 12:46:11 -06:00
Garret Rieger
0853260e99 Configure automake to run the new subset tests. 2018-02-04 12:57:33 -08:00
Behdad Esfahbod
fcb8be1a38 [configure] Fix wording
Fixes https://github.com/harfbuzz/harfbuzz/issues/741
2018-02-04 12:38:18 -05:00
Khaled Hosny
cf943f682b Correctly show documentation build status
Correctly show if building documentation is enabled or not in configure
summary.

Fixes https://github.com/harfbuzz/harfbuzz/issues/741
2018-02-04 12:36:37 -05:00
Behdad Esfahbod
f0b700db39 1.7.5 2018-01-30 11:52:11 -08:00
Ebrahim Byagowi
00806149b9
Improve avoiding C++ linkage, definition creation and cmake tests (#710) 2018-01-19 01:12:31 +03:30
Behdad Esfahbod
22d8c765e7 Disable C++11
To better catch errors locally.
2018-01-12 09:46:38 +01:00
Behdad Esfahbod
6db0b17c4c [test] Move test handling to sundirectories 2018-01-10 05:40:43 +01:00
Behdad Esfahbod
504f913654 [test] Simplify test runner
Always pass hb-shape as first argument to run-tests.py.

Also require automake 1.13.
2018-01-10 02:50:49 +01:00
Behdad Esfahbod
0473d95e27 [ft] Use FT_Done_MM_Var() if available 2018-01-08 10:07:46 +00:00
Romain Ouabdelkader
3db1d34264 link with CoreFoundation when using CoreText 2018-01-02 07:22:53 -08:00
Behdad Esfahbod
007a2a4317 1.7.4 2017-12-20 12:09:00 -05:00
Behdad Esfahbod
b5bbb791d3 1.7.3 2017-12-18 09:18:51 -05:00
Olivier Blin
0fd89dc61c [hb-ft] Fix build when Multiple Master font support is disabled in freetype
FT_Set_Var_Blend_Coordinates() is not available when "Multiple Master
font interface" is disabled in freetype's modules.cfg
2017-12-04 10:52:06 -08:00
Behdad Esfahbod
843f7f7035 1.7.2 2017-12-04 09:01:43 -08:00
ebraminio
7c6937e7c7
Move all references of old url to the new address (#622) 2017-11-20 14:49:22 -05:00
Behdad Esfahbod
f93c6f8bfa 1.7.1 2017-11-14 11:13:11 -08:00
Behdad Esfahbod
e5d7098892 1.7.0 2017-11-13 09:42:37 -08:00
Behdad Esfahbod
601126ad40 [configure] Fix gobject default value in help output
Fixes https://github.com/behdad/harfbuzz/issues/607
2017-11-03 20:34:11 -04:00
Behdad Esfahbod
919b4b76a7 Make c++11 optional
Fixes https://github.com/behdad/harfbuzz/issues/585
2017-10-27 10:29:25 -06:00
Behdad Esfahbod
223686d64f 1.6.3 2017-10-26 12:52:02 -06:00
Behdad Esfahbod
3b7388aab6 1.6.2 2017-10-23 14:35:16 -04:00
Behdad Esfahbod
0ca915efc3 1.6.1 2017-10-22 17:38:33 -04:00
Behdad Esfahbod
2075008f3e Use C++11 2017-10-15 12:12:10 +02:00
Behdad Esfahbod
25846cc39f 1.6.0 2017-10-13 16:30:33 +02:00
ebraminio
dfeccd073a Remove nmake port of harfbuzz (#562) 2017-10-12 10:41:47 +02:00
Behdad Esfahbod
3ca69c8c32 Use strtod_l() to correctly parse decimal numbers in French & other locales
Test with, eg.:
$ LC_ALL=fr_FR.utf-8 ./hb-view NotoSansArabic-VF.ttf بهداد --variations wght=1.2
2017-09-14 20:50:35 -04:00
Behdad Esfahbod
a984e0c4d9 1.5.1 2017-09-05 11:18:35 -07:00
Behdad Esfahbod
e8b364b860 1.5.0 2017-08-23 15:00:45 -07:00
Behdad Esfahbod
7917792f01 1.4.8 2017-08-08 13:17:03 -07:00
Behdad Esfahbod
fc15e60ead 1.4.7 2017-07-18 11:24:42 -07:00
Behdad Esfahbod
141b33de9a 1.4.6 2017-04-23 16:19:13 -07:00
Behdad Esfahbod
60e2586f76 1.4.5 2017-03-10 23:02:28 -08:00
Behdad Esfahbod
8e42c3cb2b 1.4.4 2017-03-05 13:54:56 -08:00
Behdad Esfahbod
6685d281d6 1.4.3 2017-02-25 11:35:05 -08:00
Behdad Esfahbod
6af6c1114a 1.4.2 2017-01-23 18:35:00 -08:00
Behdad Esfahbod
af596a5655 1.4.1 2017-01-05 20:24:41 -08:00
Behdad Esfahbod
53543f8b3e Ship UCDN and use it by default
So we are not relying on version of Unicode data in glib...

Fixes https://github.com/behdad/harfbuzz/issues/386
Fixes https://github.com/behdad/harfbuzz/issues/388
2017-01-05 20:12:32 -08:00
Behdad Esfahbod
f339706947 1.4.0 2017-01-05 01:27:49 -08:00
Mike Hommey
1c98ff87c7 Support building with older glib versions
It is desirable to be able to build against older versions of glib.

fd7a245 changed the configure check to require glib > 2.38 for
G_TEST_DIST. Before that, version 2.16 was required, but in fact,
since aafe395, G_PASTE is being used, which was introduced in 2.19.1.
And since 0ef179e2, hb-glib uses GBytes, which were introduced in
2.31.10.

2.19.1 is rather old, but 2.38 is rather new. For Firefox, building
against 2.22 is still supported, although we could probably get away
with bumping that to 2.28. Either way, GBytes is not available.

Arguably, if you build against a glib that doesn't support GBytes,
you're not going to use the hb_glib_blob_create function, so we hide
the function when building against such a glib.

As for G_TEST_DIST, when building against versions of glib that don't
support it, we can fallback to the previous behavior, which, AIUI, was
just making the test not work when building in a separate directory.
2016-12-18 01:37:07 -06:00
Behdad Esfahbod
42c8142531 [GX] Fix build with older FreeType 2016-12-16 19:06:26 -06:00
Behdad Esfahbod
b843c6d8b6 1.3.4 2016-12-05 13:45:15 -08:00
Behdad Esfahbod
966ac7ecd3 1.3.3 2016-10-26 16:17:15 +02:00
Behdad Esfahbod
118164293c Fix "make distcheck" 2016-10-26 16:04:30 +02:00
Behdad Esfahbod
331c46c79b Fix configure on iOS
Fixes https://github.com/behdad/harfbuzz/issues/342
2016-10-11 13:48:23 -07:00
Behdad Esfahbod
7201fdd0a8 LFS (large file system?) support in hb-*shap*, hb-view
Fixes https://github.com/behdad/harfbuzz/issues/336
2016-10-04 14:53:17 -07:00
Behdad Esfahbod
fd7a245d35 Require glib >= 2.38.0 for G_TEST_DIST 2016-09-27 17:56:35 +02:00
Behdad Esfahbod
f73a87d9a8 1.3.2 2016-09-27 13:50:54 +02:00
Phil Krylov
f16bf6c2da Allow building with graphite2 without pkg-config (#318) 2016-09-27 12:38:49 +02:00
Behdad Esfahbod
d22ab6cf04 1.3.1 2016-09-07 14:28:47 -07:00
Khaled Hosny
dd31fc9f7e Don’t build UCDN support when building with GLib (#296)
Regression from: b424b6c372.
2016-07-22 17:43:00 -07:00
Behdad Esfahbod
a732e00ea4 1.3.0 2016-07-21 01:58:00 -07:00
Behdad Esfahbod
a93078a0ec Change bugreport URL to github
That's where everything is happening these days.
2016-06-06 15:58:41 -07:00
Behdad Esfahbod
a5b7b0dd45 1.2.7 2016-05-02 10:44:13 +02:00
Behdad Esfahbod
00ea66f357 1.2.6 2016-04-08 13:51:01 -07:00
Behdad Esfahbod
a0331b55f7 1.2.5 2016-04-04 16:35:07 -07:00