alpha
Login
or
Join now
ptr.pet
/
ghostty
Star
0
Fork
0
Atom
Configure Feed
Issues
Pull Requests
Commits
Tags
Feed URL
Select the types of activity you want to include in your feed.
This repository has no description
Star
0
Fork
0
Atom
Configure Feed
Issues
Pull Requests
Commits
Tags
Feed URL
Select the types of activity you want to include in your feed.
Overview
Issues
Pulls
Pipelines
ghostty
/
pkg
/
fontconfig
/
at
main
1 folder
17 files
Pyry Takala
Fix LangSet.hasLang() to compare against FcLangEqual instead of FcTrue
9mo ago
d4c2376c
override
pkg/fontconfig
2 years ago
build.zig
Fix LangSet.hasLang() to compare against FcLangEqual instead of FcTrue FcLangSetHasLang returns FcLangResult enum values: - FcLangEqual (0): Exact match - FcLangDifferentTerritory (1): Same language, different territory - FcLangDifferentLang (2): Different language The previous comparison to FcTrue (1) caused: - Exact matches (0) to incorrectly return false - Partial matches (1) to incorrectly return true This fix changes the comparison to FcLangEqual (0) so hasLang() correctly returns true only for exact language matches. Fixes emoji font detection which relies on checking for 'und-zsye' language tag support.
9 months ago
build.zig.zon
build: mark most dependencies as lazy Lazy dependencies are only fetched if the build script would actually reach a usage of that dependency at runtime (when the `lazyDependency` function is called). This can save a lot of network traffic, disk uage, and time because we don't have to fetch and build dependencies that we don't actually need. Prior to this commit, Ghostty fetched almost everything for all platforms and configurations all the time. This commit reverses that to fetching almost nothing until it's actually needed. There are very little downsides to doing this[1]. One downside is `zig build --fetch` doesn't fetch lazy dependencies, but we don't rely on this command for packaging and suggest using our custom shell script that downloads a cached list of URLs (`build.zig.zon.txt`). This commit doesn't cover 100% of dependencies, since some provide no benefit to make lazy while the complexity to make them lazy is higher (in code style typically). Conversely, some simple dependencies are marked lazy even if they're almost always needed if they don't introduce any real complexity to the code, because there is very little downside to do so. [1]: https://ziggit.dev/t/lazy-dependencies-best-dependencies/5509/5
1 year ago
c.zig
pkg/fontconfig: yeet usingns
2 years ago
char_set.zig
pkg/fontconfig: yeet usingns
2 years ago
common.zig
fix tests building on Linux
1 year ago
config.zig
pkg/fontconfig: yeet usingns
2 years ago
error.zig
pkg/fontconfig: pattern get
4 years ago
font_set.zig
pkg/fontconfig: yeet usingns
2 years ago
init.zig
pkg/fontconfig: yeet usingns
2 years ago
lang_set.zig
Fix LangSet.hasLang() to compare against FcLangEqual instead of FcTrue FcLangSetHasLang returns FcLangResult enum values: - FcLangEqual (0): Exact match - FcLangDifferentTerritory (1): Same language, different territory - FcLangDifferentLang (2): Different language The previous comparison to FcTrue (1) caused: - Exact matches (0) to incorrectly return false - Partial matches (1) to incorrectly return true This fix changes the comparison to FcLangEqual (0) so hasLang() correctly returns true only for exact language matches. Fixes emoji font detection which relies on checking for 'und-zsye' language tag support.
9 months ago
main.zig
pkg/fontconfig: yeet usingns
2 years ago
matrix.zig
pkg/fontconfig: yeet usingns
2 years ago
object_set.zig
pkg/fontconfig: yeet usingns
2 years ago
pattern.zig
style: use decl literals This commit changes a LOT of areas of the code to use decl literals instead of redundantly referring to the type. These changes were mostly driven by some regex searches and then manual adjustment on a case-by-case basis. I almost certainly missed quite a few places where decl literals could be used, but this is a good first step in converting things, and other instances can be addressed when they're discovered. I tested GLFW+Metal and building the framework on macOS and tested a GTK build on Linux, so I'm 99% sure I didn't introduce any syntax errors or other problems with this. (fingers crossed)
1 year ago
range.zig
pkg/fontconfig: yeet usingns
2 years ago
test.zig
change unmodified `var`s to `const`s in anticipation of zig changes
2 years ago
value.zig
pkg/fontconfig: yeet usingns
2 years ago