15 Commits

Author SHA1 Message Date
Qwerasd
2384bd69cc 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)
2025-05-26 21:50:14 -06:00
Mitchell Hashimoto
38a7a55300 pkg/fontconfig: yeet usingns 2024-08-16 16:58:16 -07:00
Kevin Hovsäter
22b8173164 Fix typos 2023-08-08 14:27:34 +02: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
3bd9ed5952 Fix invalid c types with fontconfig 2022-09-23 13:14:08 -07:00
Mitchell Hashimoto
9750ac87fd pkg/fontconfig: pattern get 2022-09-17 09:04:40 -07:00
Mitchell Hashimoto
d69f8397f3 pkg/fontconfig: add weights/slants enum 2022-09-16 10:08:49 -07:00
Mitchell Hashimoto
5b215409c6 pkg/fontconfig: pattern.add 2022-09-16 09:55:45 -07:00
Mitchell Hashimoto
e4ea27ec37 fontconfig: more APIs 2022-09-14 14:30:18 -07:00
Mitchell Hashimoto
aca36ba79b fontconfig: fc-match 2022-09-14 14:26:42 -07:00
Mitchell Hashimoto
03ab1bedd4 fontconfig: fc-match 2022-09-14 12:49:43 -07:00
Mitchell Hashimoto
eb2ce495b3 fontconfig: font list 2022-09-14 10:14:09 -07:00
Mitchell Hashimoto
ce899dca11 fontconfig: font sets 2022-09-14 10:05:09 -07:00
Mitchell Hashimoto
382f569d65 fontconfig: object sets and patterns 2022-09-14 09:54:48 -07:00