From a79fc87586c7d161b0678ffb05a96f3fe4844b71 Mon Sep 17 00:00:00 2001 From: Wez Furlong Date: Sat, 12 Feb 2022 16:00:58 -0700 Subject: [PATCH] deps: harfbuzz -> 3.4.0 --- deps/harfbuzz/build.rs | 1 + deps/harfbuzz/harfbuzz | 2 +- deps/harfbuzz/src/lib.rs | 10 +++++++++- docs/changelog.md | 2 +- 4 files changed, 12 insertions(+), 3 deletions(-) diff --git a/deps/harfbuzz/build.rs b/deps/harfbuzz/build.rs index 8753306a0..63630a959 100644 --- a/deps/harfbuzz/build.rs +++ b/deps/harfbuzz/build.rs @@ -30,6 +30,7 @@ fn harfbuzz() { "hb-aat-map.cc", "hb-blob.cc", "hb-buffer-serialize.cc", + "hb-buffer-verify.cc", "hb-buffer.cc", "hb-common.cc", "hb-face.cc", diff --git a/deps/harfbuzz/harfbuzz b/deps/harfbuzz/harfbuzz index ac46c3248..0a1299613 160000 --- a/deps/harfbuzz/harfbuzz +++ b/deps/harfbuzz/harfbuzz @@ -1 +1 @@ -Subproject commit ac46c3248e8b0316235943175c4d4a11c24dd4a9 +Subproject commit 0a129961341da370ec82bfccdd11ec9b1094b5a2 diff --git a/deps/harfbuzz/src/lib.rs b/deps/harfbuzz/src/lib.rs index 5d3bed97d..e27996ba5 100644 --- a/deps/harfbuzz/src/lib.rs +++ b/deps/harfbuzz/src/lib.rs @@ -6,6 +6,12 @@ #![allow(clippy::unreadable_literal)] #![allow(clippy::upper_case_acronyms)] +pub type __int8_t = ::std::os::raw::c_schar; +pub type __uint8_t = ::std::os::raw::c_uchar; +pub type __int16_t = ::std::os::raw::c_short; +pub type __uint16_t = ::std::os::raw::c_ushort; +pub type __int32_t = ::std::os::raw::c_int; +pub type __uint32_t = ::std::os::raw::c_uint; pub type hb_bool_t = ::std::os::raw::c_int; pub type hb_codepoint_t = u32; pub type hb_position_t = i32; @@ -235,6 +241,7 @@ pub enum hb_script_t { HB_SCRIPT_TANGSA = 1416524641, HB_SCRIPT_TOTO = 1416590447, HB_SCRIPT_VITHKUQI = 1449751656, + HB_SCRIPT_MATH = 1517122664, HB_SCRIPT_INVALID = 0, _HB_SCRIPT_MAX_VALUE = 2147483647, } @@ -1755,6 +1762,7 @@ pub enum hb_buffer_flags_t { HB_BUFFER_FLAG_PRESERVE_DEFAULT_IGNORABLES = 4, HB_BUFFER_FLAG_REMOVE_DEFAULT_IGNORABLES = 8, HB_BUFFER_FLAG_DO_NOT_INSERT_DOTTED_CIRCLE = 16, + HB_BUFFER_FLAG_VERIFY = 32, } extern "C" { pub fn hb_buffer_set_flags(buffer: *mut hb_buffer_t, flags: hb_buffer_flags_t); @@ -1883,7 +1891,7 @@ extern "C" { extern "C" { pub fn hb_buffer_append( buffer: *mut hb_buffer_t, - source: *mut hb_buffer_t, + source: *const hb_buffer_t, start: ::std::os::raw::c_uint, end: ::std::os::raw::c_uint, ); diff --git a/docs/changelog.md b/docs/changelog.md index bd724fb93..ee407c353 100644 --- a/docs/changelog.md +++ b/docs/changelog.md @@ -44,7 +44,7 @@ As features stabilize some brief notes about them will accumulate here. * IME and dead key composition state now shows inline in the terminal using the terminal font (All platforms, except Wayland where we only support dead key composition) * macOS: `use_ime=true` no longer prevents key repeat from working with some keys [#1131](https://github.com/wez/wezterm/issues/1131) -* Bundled harfbuzz to 3.3.2 +* Bundled harfbuzz to 3.4.0 #### Fixed