Mitchell Hashimoto
cbdf52864a
Merge pull request #704 from der-teufel-programming/windows-test
...
Get `zig build test` working on Windows
2023-10-23 08:52:43 -07:00
Mitchell Hashimoto
b9b33ab25d
pkg/fontconfig: make iconv build param non-windows specific
2023-10-23 08:40:25 -07:00
Mitchell Hashimoto
b6a47cef77
build: disable Tracy by default even for debug builds
...
Our usage has a memory leak and I don't know where it is and don't want
to spend the time finding it because we very rarely use the tracy
integration anyways.
2023-10-19 20:03:36 -07:00
Krzysztof Wolicki
cf9f025a5b
Don't enable iconv for fontconfig dep on windows
2023-10-19 17:10:24 +02:00
Krzysztof Wolicki
00c24e4ae6
Fix option name passed to fontconfig dep
2023-10-19 10:52:09 +02:00
Krzysztof Wolicki
3936b471a8
Disable iconv on Windows by default (enabled via cli flag).
...
Skip various tests not implemented on windows.
2023-10-19 09:39:20 +02:00
Mitchell Hashimoto
8f46d114c0
update zig
2023-10-17 12:45:35 -07:00
Mitchell Hashimoto
2b28106837
update zig
2023-10-02 08:18:35 -07:00
Mitchell Hashimoto
0b6cfac8b0
don't run dependency tests anymore
2023-10-01 18:34:51 -07:00
Mitchell Hashimoto
4e1b3b3224
fix failing test, freetype needs libpng
2023-10-01 18:33:37 -07:00
Mitchell Hashimoto
e3a58526ce
fix dynamic build
2023-10-01 17:42:18 -07:00
Mitchell Hashimoto
d71197dc59
no more system_sdk
2023-10-01 17:38:30 -07:00
Mitchell Hashimoto
3a4842a0a5
fix build on linux
2023-10-01 17:32:59 -07:00
Mitchell Hashimoto
ccd6eee5fe
progress on glfw
2023-10-01 17:30:11 -07:00
Mitchell Hashimoto
8395bb7470
pkg/tracy
2023-10-01 17:11:04 -07:00
Mitchell Hashimoto
7bd4c96b41
remove unused deps
2023-10-01 17:04:17 -07:00
Mitchell Hashimoto
aece38ecb2
macos: fix missing symbols in archive
2023-10-01 17:03:32 -07:00
Mitchell Hashimoto
ec26fb7cee
pkg/macos
2023-10-01 17:02:12 -07:00
Mitchell Hashimoto
fefbd7afbe
pkg/pixman, utf8proc
2023-10-01 16:59:24 -07:00
Mitchell Hashimoto
2237b43df0
pkg/freetype, harfbuzz modules
2023-10-01 16:57:45 -07:00
Mitchell Hashimoto
bc0f5c3012
pkg/fontconfig module
2023-10-01 16:52:36 -07:00
Mitchell Hashimoto
8666ab81c3
libxev, zig-js, zig-objc
2023-10-01 16:49:02 -07:00
Mitchell Hashimoto
3ed6a02176
pkg/utf8proc
2023-10-01 16:45:39 -07:00
Mitchell Hashimoto
5feeac66b2
pkg/pixman
2023-10-01 15:04:55 -07:00
Mitchell Hashimoto
d3746bc96f
add fontconfig
2023-10-01 12:46:17 -07:00
Mitchell Hashimoto
7edb86f9e1
pkg/fontconfig
2023-10-01 12:43:36 -07:00
Mitchell Hashimoto
2312c465c6
use package manager for font stack
2023-10-01 12:32:17 -07:00
Mitchell Hashimoto
6aef48288a
pkg/harfbuzz
2023-10-01 12:23:38 -07:00
Mitchell Hashimoto
7dc3fcc41e
pkg/freetype
2023-10-01 12:12:05 -07:00
Mitchell Hashimoto
6e2b7c607e
pkg/libpng, pkg/zlib use package manager
2023-10-01 11:25:18 -07:00
Mitchell Hashimoto
9e6cb63a1e
update zig
2023-10-01 09:11:57 -07:00
Nathan Youngman
73331887fe
fabs builtin was renamed
...
https://github.com/ziglang/zig/pull/17248
I just tried installing from source and ran into the error:
> error: invalid builtin function: '@fabs'
2023-09-28 15:29:08 -07:00
Mitchell Hashimoto
695c50a73a
update zig
2023-09-27 08:11:59 -07:00
Mitchell Hashimoto
e644be3b25
update zig to 0.12.0-dev.464+a63a1c5cb
2023-09-21 11:03:34 -07:00
Mitchell Hashimoto
f3662354e5
apprt/gtk: about window
2023-09-18 15:16:35 -07:00
Jonathan Marler
a2e881ff4e
windows: initial support for zig build test
...
Makes progress getting "zig build test" to work on windows. Mostly
fixed issues around build configuration and added some branches throughout
the Zig code to return/throw errors for unimplemented parts.
I also added an initial implementation for getting the home dir.
2023-09-14 03:15:40 -06:00
Mitchell Hashimoto
63386e4a22
build: can select renderer with -Drenderer
...
Note that not all renderers work in all environments.
2023-08-25 08:12:31 -07:00
Mitchell Hashimoto
ec69644de6
move stb to src/stb, add stb_image for png decoding
2023-08-20 22:03:20 -07:00
Mitchell Hashimoto
936befa1af
update to 0.12.0-dev.141+ddf5859c2
2023-08-20 09:04:42 -07:00
Mitchell Hashimoto
7ccf86b175
remove imgui and devmode
...
imgui has been a source of compilation challenges (our fault not theirs)
and devmode hasn't worked in awhile, so drop it.
2023-08-20 08:50:24 -07:00
Mitchell Hashimoto
e8a6d09297
build: gtk needs imgui
2023-08-18 08:25:20 -07:00
Mitchell Hashimoto
3879f7c2e8
build: imgui should not be linked without an apprt
2023-08-18 08:24:09 -07:00
Mitchell Hashimoto
7659a2a733
build: fix linking bugs for macos test
2023-08-18 08:23:58 -07:00
Mitchell Hashimoto
68a9110d8e
build: make glfw opt-in on all platforms, default to GTK on Linux
...
The GLFW build has grown farther and farther in feature parity with GTK
on Linux. And on macOS, the GLFW build has been unstable (crashes) for
months.
I still find the GLFW build useful for testing some core terminal work,
but it is increasingly user-hostile in case someone just downloads the
project and does a `zig build`.
I keep GLFW as up to date as I can, but the features that are missing
are due to fundamental limitations:
- GLFW has no tabs, splits, etc. because it has no UI elements.
I am not interested in painting UI widgets from scratch.
- GLFW cannot support keyboard layouts robustly because it has no
hooks to detect keyboard layouts or functions to get keymaps.
- GLFW cannot support the Kitty keyboard protocol because the
key/char API is too high level and it provides no low-level
alternatives.
- GLFW crashes on macOS under certain scenarios (this is my problem).
I'm not interested in fixing it because the AppKit-based build
is highly recommended.
To build or run the GLFW build you must now explicitly pass in
`-Dapp-runtime=glfw` to `zig build`.
2023-08-17 16:27:03 -07:00
Mitchell Hashimoto
b18e7393e1
build: remove hardcoded glibc, I don't think this error is happening
2023-08-13 11:57:43 -07:00
Mitchell Hashimoto
e33f6c71de
update libxev to fix split writes on large writes (i.e. big paste)
...
Fixes #258
This was an upstream bug in libxev where partial the queueWrite
mechanism would not correctly handle partial write results:
https://github.com/mitchellh/libxev/pull/60
2023-08-09 08:18:43 -07:00
Kevin Hovsäter
22b8173164
Fix typos
2023-08-08 14:27:34 +02:00
Mitchell Hashimoto
a348adf26b
build: dynamic link first (mode_first)
2023-08-07 10:49:50 -07:00
Mitchell Hashimoto
d356d5ea38
build: add libxml2/libbuid for fontconfig dynamic link for CI
2023-08-07 10:33:00 -07:00
Mitchell Hashimoto
68cd53e82d
build: always add /usr/lib/{triple} to search path for Linux
...
This is a common location for dynamic libraries. We already searched it
for Flatpak but we need to do this more generally.
2023-08-07 10:20:20 -07:00