Commit Graph

11823 Commits

Author SHA1 Message Date
Ebrahim Byagowi efd716de3f [cff] Check for scalars array resize result
Fixes https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=24504
2020-07-31 09:27:27 +04:30
Garret Rieger 040ed094ef [ENOMEM] popragate packed/packed_map errors to the serializer.
Will disable further modifications based on a bad state.
2020-07-31 08:39:26 +04:30
Garret Rieger 7f358a55f4 [ENOMEM] unchecked resize in CFF2. 2020-07-31 02:04:06 +04:30
Garret Rieger 32f052b033 [ENOMEM] Fix several instances of not checking resize in CFF. 2020-07-31 02:04:06 +04:30
Garret Rieger 4cbc7d61bc [ENOMEM] check for unset current in serializer->length(). 2020-07-31 02:04:06 +04:30
Ebrahim Byagowi 0d22fb38b9
Copy parts of README.md to README
Fixes https://github.com/harfbuzz/harfbuzz/issues/2591
2020-07-30 23:18:57 +04:30
Ebrahim Byagowi cac3071183
[meson] minor, use null_dep one more place 2020-07-30 16:25:42 +04:30
Ebrahim Byagowi 4e572c9407
Remove cmake build files
As discussed in https://github.com/harfbuzz/harfbuzz/pull/2252
2020-07-30 16:19:15 +04:30
Ebrahim Byagowi 5f9ff04fb0 Add comparison against ttf-parser 2020-07-30 16:18:17 +04:30
Ebrahim Byagowi 87f4aada99
[docs] Update TESTING.md with meson 2020-07-30 15:20:17 +04:30
Garret Rieger 15644ee60e [ENOMEM] fix memory leak if allocation fails during pop_pack(). 2020-07-30 04:15:35 +04:30
Garret Rieger 42237adffc [ENOMEM] make serializer modification operations no-ops if it's in an error state. 2020-07-30 03:59:49 +04:30
Ebrahim Byagowi d1f1301490
[icu] Remove support for versions older than 49
It just doesn't make sense anymore, c9e5da8ded (r41018112)
2020-07-30 02:01:43 +04:30
Ebrahim Byagowi 0b74aaece7
[icu] Remove useless HB_UNUSED tags
As c9e5da8ded (r41018040)
2020-07-30 01:47:30 +04:30
Ebrahim Byagowi c9e5da8ded [icu] Remove support of ICU versions before 42
ICU 42 is released in 2012, see also 44a3136ae6 (commitcomment-41016353)
2020-07-30 01:03:07 +04:30
Garret Rieger 4ba8e3c6fd [ENOMEM] Fix failure to check calloc return.
Fixes https://oss-fuzz.com/testcase-detail/6246465148813312.
2020-07-30 00:08:08 +04:30
Garret Rieger d307c24abf [ENOMEM] check resize() return.
Fixes https://oss-fuzz.com/testcase-detail/5641892164009984.
2020-07-30 00:08:08 +04:30
Ebrahim Byagowi 8b63de1109 [docs] Use untouched result of rsvg-convert for HarfBuzz.svg render
See also 1ec77522d8?short_path=1bb7b85
2020-07-29 17:25:07 +04:30
Ebrahim Byagowi 7bab6087bf
[ci] Install meson's master
As https://github.com/mesonbuild/meson/issues/7437
2020-07-29 08:49:01 +04:30
Ebrahim Byagowi 58a5961ca1 minor spacing tweak 2020-07-29 08:44:23 +04:30
Ebrahim Byagowi 07c43b8cf6 minor spacing tweak 2020-07-29 08:42:52 +04:30
Ebrahim Byagowi 5a7cc7fd8b minor spacing tweak 2020-07-29 08:33:38 +04:30
Ebrahim Byagowi 48ad745996 [ENOMEM] Fix buffer's content check logic
So now rest of shape fuzzer also can be enabled.

Fixes #2571
2020-07-29 08:09:10 +04:30
Ebrahim Byagowi c33e8006fd [fuzz] Implement failing allocator 2020-07-29 07:35:34 +04:30
Ebrahim Byagowi 44a3136ae6 [glib] Default to glib's script type handling
2.29.14 is almost released a decade ago, no need to support archaic glib versions.
2020-07-29 07:05:31 +04:30
Garret Rieger dae32b4f12 [subset] bail out of subsetting if plan allocation fails. 2020-07-29 06:37:25 +04:30
Ebrahim Byagowi d38d63319b
[tests] minor 2020-07-27 09:19:29 +04:30
Ebrahim Byagowi 322426f8c8 [tests] Use TTFont of fonttools to avoid temp files 2020-07-27 09:12:43 +04:30
Hamidreza Bayat 08fef15818 Use fonttools's python package instead of cli 2020-07-27 09:09:06 +04:30
Ebrahim Byagowi bec3db49bd
[ci] meson-gcc-mingw to crossbuild-win32 2020-07-25 13:45:34 +04:30
Ebrahim Byagowi 24a6f046e4
[releasing] unbreak the build
Use lower number of parallel jobs as https://circleci.com/gh/harfbuzz/harfbuzz/149413 apparent compiler OOM issue
2020-07-25 13:18:54 +04:30
Ebrahim Byagowi cddfe4ea27
[releasing] Use release buildtype
guess will optimize speed and size of the output, non important things anyway for the test only win32 packs
2020-07-25 13:09:57 +04:30
Ebrahim Byagowi a01c7a380b 2.7.0 2020-07-25 12:40:57 +04:30
Evgeniy Reizner b32f2e8b49 Remove unused code from the Khmer shaper. 2020-07-24 20:38:05 +04:30
Ebrahim Byagowi f9ac6ddbef
[meson] Rename 'gtk_doc' option to 'docs' 2020-07-22 17:53:04 +04:30
Ebrahim Byagowi 11ae45f6eb
[ci] Don't run cov-analyze
https://stackoverflow.com/a/59353318
2020-07-22 17:52:16 +04:30
Ebrahim Byagowi 46ec6db965 minor 2020-07-22 17:30:48 +04:30
Ebrahim Byagowi 5c46683ab8
[fuzz] increase shape fuzzer timeout
as https://circleci.com/gh/harfbuzz/harfbuzz/149203
2020-07-22 17:23:22 +04:30
insilications 83c44f69d3 [tests] fix PGO build testing
Adds 'mangle_path' to IGNORED_SYMBOLS
2020-07-21 03:05:28 +04:30
Ebrahim Byagowi 024fc665da
[ci] disable clang nightly installation
they don't like to work apparently for some reason https://circleci.com/gh/harfbuzz/harfbuzz/149164

better to use oss-fuzz docker images, gcr.io/oss-fuzz-base/base-clang, but the fact it uses 16.04 is showstopper for us.
2020-07-20 23:57:27 +04:30
Christoph Reiter d058e56cf1 [ci] Update to msys2/setup-msys2@v2
This update introduces better error handling and package caching by default.
2020-07-20 23:46:52 +04:30
Ebrahim Byagowi ae8a71dfb8
[ci] minor, use --auto-features=enabled 2020-07-20 20:16:15 +04:30
Ebrahim Byagowi 9bb15ee2ed
[ci] remove irc notification
is just a noise there, yet, done to see if is anyone really wants it let's see how I can bring it back in some other bot
2020-07-19 22:24:13 +04:30
Ebrahim Byagowi f65a8a33b6
[ci] run cov-analyze
apparently we have to run that also ourselves, let's see
2020-07-19 18:13:48 +04:30
Ebrahim Byagowi ab1079b046
Merge pull request #2577 from lazka/gha-msvc
Use GitHub Actions for msvc bots
2020-07-18 23:05:50 +04:30
Ebrahim Byagowi 05ed1ee0c4
[ci] Remove appveyor ci badge
As https://github.com/harfbuzz/harfbuzz/pull/2577
2020-07-18 23:05:26 +04:30
Christoph Reiter 93aea76a25 Fix the GHA msvc build
Use the 'ilammy/msvc-dev-cmd' action for setting up the msvc env,
so we can use powershell everywhere.

Remove a directory from PATH which was interfering with the meson build
by providing an unrelated pkg-config.exe.
2020-07-18 19:52:45 +02:00
Ebrahim Byagowi d0e2addd43 minor 2020-07-18 22:16:02 +04:30
Ebrahim Byagowi 3a46ae5127 Use GitHub Actions for msvc bots 2020-07-18 19:15:53 +02:00
Ebrahim Byagowi 7e3edfa454
minor 2020-07-18 19:03:36 +04:30