aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKirill Chibisov <contact@kchibisov.com>2025-06-19 16:09:47 +0900
committerGitHub <noreply@github.com>2025-06-19 16:09:47 +0900
commit3ea13aeadcfab1515367fb5e5ed5e2494b25b9a2 (patch)
tree2173ecae7c692ea5de65405e7e1473a393a7186f
parent80d87ed5dbe49cc8a4d208f0198566326924073a (diff)
downloadr-alacritty-3ea13aeadcfab1515367fb5e5ed5e2494b25b9a2.tar.gz
r-alacritty-3ea13aeadcfab1515367fb5e5ed5e2494b25b9a2.tar.bz2
r-alacritty-3ea13aeadcfab1515367fb5e5ed5e2494b25b9a2.zip
Fix crash when `AppleFontSmoothing` is not present
-rw-r--r--CHANGELOG.md1
-rw-r--r--Cargo.lock62
-rw-r--r--alacritty/Cargo.toml2
3 files changed, 6 insertions, 59 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 157e42fe..7f7914be 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -31,6 +31,7 @@ Notable changes to the `alacritty_terminal` crate are documented in its
- `Enter`,`Tab`, `Backspace` not disambiguated with `shift` in kitty keyboard's disambiguate mode
- Hint bindings not respecting IPC overrides
- Search matching a wrapping fullwidth character in the last column
+- Crash when `AppleFontSmoothing` option is not present on macOS
## 0.15.1
diff --git a/Cargo.lock b/Cargo.lock
index ea653b88..f94313f0 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -244,12 +244,6 @@ dependencies = [
]
[[package]]
-name = "block"
-version = "0.1.6"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "0d8c1fef690941d3e7788d328517591fecc684c084084702d6ff1641e993699a"
-
-[[package]]
name = "block2"
version = "0.5.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
@@ -399,36 +393,6 @@ dependencies = [
]
[[package]]
-name = "cocoa"
-version = "0.25.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "f6140449f97a6e97f9511815c5632d84c8aacf8ac271ad77c559218161a1373c"
-dependencies = [
- "bitflags 1.3.2",
- "block",
- "cocoa-foundation",
- "core-foundation",
- "core-graphics",
- "foreign-types",
- "libc",
- "objc",
-]
-
-[[package]]
-name = "cocoa-foundation"
-version = "0.1.2"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "8c6234cbb2e4c785b456c0644748b1ac416dd045799740356f8363dfe00c93f7"
-dependencies = [
- "bitflags 1.3.2",
- "block",
- "core-foundation",
- "core-graphics-types",
- "libc",
- "objc",
-]
-
-[[package]]
name = "colorchoice"
version = "1.0.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
@@ -536,11 +500,10 @@ checksum = "d0a5c400df2834b80a4c3327b3aad3a4c4cd4de0629063962b03235697506a28"
[[package]]
name = "crossfont"
-version = "0.8.0"
+version = "0.8.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "c44e28d120f3c9254800ea53349b09cbb45ac1f15f09215011a16241ae0289bc"
+checksum = "a650099c323679b4d6fb6858c2c512660ff5118f6b0ffb1bfc6cadcd54002b14"
dependencies = [
- "cocoa",
"core-foundation",
"core-foundation-sys",
"core-graphics",
@@ -550,7 +513,8 @@ dependencies = [
"freetype-rs",
"libc",
"log",
- "objc",
+ "objc2 0.5.2",
+ "objc2-foundation 0.2.2",
"once_cell",
"pkg-config",
"winapi",
@@ -1088,15 +1052,6 @@ dependencies = [
]
[[package]]
-name = "malloc_buf"
-version = "0.0.6"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "62bb907fe88d54d8d9ce32a3cceab4218ed2f6b7d35617cafe9adf84e43919cb"
-dependencies = [
- "libc",
-]
-
-[[package]]
name = "memchr"
version = "2.7.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
@@ -1219,15 +1174,6 @@ dependencies = [
]
[[package]]
-name = "objc"
-version = "0.2.7"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "915b1b472bc21c53464d6c8461c9d3af805ba1ef837e1cac254428f4a77177b1"
-dependencies = [
- "malloc_buf",
-]
-
-[[package]]
name = "objc-sys"
version = "0.3.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
diff --git a/alacritty/Cargo.toml b/alacritty/Cargo.toml
index 9cf07779..226af5e9 100644
--- a/alacritty/Cargo.toml
+++ b/alacritty/Cargo.toml
@@ -27,7 +27,7 @@ ahash = { version = "0.8.6", features = ["no-rng"] }
bitflags = "2.2.1"
clap = { version = "4.2.7", features = ["derive", "env"] }
copypasta = { version = "0.10.1", default-features = false }
-crossfont = "0.8.0"
+crossfont = "0.8.1"
glutin = { version = "0.32.2", default-features = false, features = ["egl", "wgl"] }
home = "0.5.5"
libc = "0.2"