Mitchell Hashimoto
5ad8ea6b22
pkg/macos: clean up for Zig 0.14, consolidate C imports into one decl
...
Fixes #6727
The major change in this commit is to consolidate all the C imports in
a single decl in main.zig. This is required for Zig 0.14. Without it,
the problem in #6727 will happen. I was never able to minimize why this
happens in order to open a Zig bug.
Beyond this, I fixed the build.zig and build.zig.zon to work with Zig
0.14 so that we can test building `pkg/macos` in isolation. There are no
downstream impacting changes in the build.zig files.
2025-03-15 07:02:53 -07:00
Mitchell Hashimoto
f5234e286a
pkg/macos: copyAttribute should return optional
2024-08-24 20:35:41 -07:00
Mitchell Hashimoto
318dc85c02
pkg/macos: yeet more usingns
2024-08-16 16:50:41 -07:00
Mitchell Hashimoto
1127330b3a
font/coretext: score discovered fonts
2023-10-03 09:17:41 -07:00
Mitchell Hashimoto
9d0729f17c
font/coretext: ability to set variation axes
2023-08-28 07:25:09 -07:00
Mitchell Hashimoto
fb0f80f9ca
macos: add necessary functions for variation axes querying
2023-08-28 07:25:09 -07:00
Mitchell Hashimoto
0a718ec3eb
pkg/macos: do not use bitCast through a function
...
workaround Zig issue: https://github.com/ziglang/zig/issues/16290
2023-07-01 13:38:10 -07:00
Mitchell Hashimoto
314f9287b1
Update Zig ( #164 )
...
* update zig
* pkg/fontconfig: clean up @as
* pkg/freetype,harfbuzz: clean up @as
* pkg/imgui: clean up @as
* pkg/macos: clean up @as
* pkg/pixman,utf8proc: clean up @as
* clean up @as
* lots more @as cleanup
* undo flatpak changes
* clean up @as
2023-06-30 12:15:31 -07:00
Mitchell Hashimoto
56f8e39e5b
Update zig, mach, fmt
2023-06-25 11:08:20 -07:00
Mitchell Hashimoto
da2942e083
font: specific codepoint lookup in internals
2022-11-17 15:49:14 -08:00
Mitchell Hashimoto
6c84199b84
fix more stage2 build errors
2022-10-14 10:01:41 -07:00
Mitchell Hashimoto
8292e925fc
pkg/macos: fix invalid constant
2022-10-01 21:03:51 -07:00
Mitchell Hashimoto
decbaafc6a
pkg/macos: add mutable dictionaries, flesh out font descriptor
2022-10-01 20:50:51 -07:00
Mitchell Hashimoto
623e7f5916
macos/text: FontTraits
2022-10-01 16:00:52 -07:00
Mitchell Hashimoto
3eeef74315
pkg/macos: import headers instead of doing externs manually
2022-10-01 15:24:22 -07:00
Mitchell Hashimoto
88ae3be9ef
pkg/macos: CFURL
2022-10-01 11:13:44 -07:00
Mitchell Hashimoto
cb02bab89e
macos/text: font descriptors
2022-10-01 10:50:09 -07:00