3273 Commits

Author SHA1 Message Date
Nameless
49f1866f28 add tests for fuzzed results, clean up unimplemented osc warning 2023-10-25 11:44:16 -05:00
Nameless
81f7ae63b0 fuzz: src/terminal/stream.zig
osc.zig: undefined pointer was dereferenced when warning was issued
for handler missing
Parser.zig: too many parameters was not handled in the final case
Parser.zig: parameters being too long (>255 digits) was not handled
2023-10-25 11:42:13 -05:00
Mitchell Hashimoto
ee0b79fa07 Merge pull request #726 from mitchellh/update-zig
update zig
2023-10-24 15:11:35 -07:00
Mitchell Hashimoto
7a1c54ad05 update zig 2023-10-24 15:02:26 -07:00
Mitchell Hashimoto
aee05d9e99 terminal: deleteLines has to reset wrap state on blank lines 2023-10-24 12:50:06 -07:00
Mitchell Hashimoto
66d97ab5f3 terminal: do not attach grapheme to empty cell 2023-10-24 12:20:37 -07:00
Mitchell Hashimoto
1457bcec90 terminal: deleteCharacters should clear wide spacer tails if split 2023-10-24 12:10:41 -07:00
Mitchell Hashimoto
452d72d635 Merge pull request #724 from mitchellh/fuzz
Fix a couple crashes found while fuzzing
2023-10-24 09:52:36 -07:00
Mitchell Hashimoto
2741785033 website: prettier 2023-10-24 09:43:14 -07:00
Mitchell Hashimoto
62475fd709 terminal: ICH should only run with no intermediates 2023-10-24 09:43:06 -07:00
Mitchell Hashimoto
ec26cc4b41 terminal: insert blanks (ICH) with left/right and large count 2023-10-24 09:38:47 -07:00
Mitchell Hashimoto
e6a23be99a terminal: cub with reverse mode on left margin 2023-10-24 09:26:34 -07:00
Mitchell Hashimoto
96d5ca3604 terminal: horizontal tab back should handle cursor already left margin 2023-10-24 08:45:07 -07:00
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
4a199448a2 os: update todo about subsystem for windows 2023-10-23 08:48:53 -07:00
Mitchell Hashimoto
3226cbf61b os: remove some duplication in the env var check for xdg config 2023-10-23 08:47:16 -07:00
Mitchell Hashimoto
b9b33ab25d pkg/fontconfig: make iconv build param non-windows specific 2023-10-23 08:40:25 -07:00
Mitchell Hashimoto
d8a4f19fb9 Merge pull request #719 from gpanders/macos-about-commit
macos: use commit hash in version info instead of build number
2023-10-23 08:31:39 -07:00
Gregory Anders
72f754c6cf macos: use commit hash in version info instead of build number
Using the "build number" (i.e. the commit number) did not seem to work
correctly anyway (it always showed '1' for releases built in CI).
Presumably this is because GitHub performs a shallow clone so it does
not have full access to the Git history.

Instead of the build number, use the Git commit hash of HEAD, which
works even for shallow clones and is more useful for debugging.
2023-10-23 07:43:55 -05:00
Mitchell Hashimoto
76e0e89a3d Merge pull request #715 from mitchellh/update-zig
update zig
2023-10-22 07:07:44 -07:00
Mitchell Hashimoto
8e1fb61726 Merge pull request #718 from erf/config-comment
config: comment regarding font-family config reload
2023-10-22 06:55:35 -07:00
Erlend Lind Madsen
7d99a6063b config: comment regarding font-family config reload 2023-10-22 20:49:22 +07:00
Mitchell Hashimoto
113204399e update zig 2023-10-21 21:34:59 -07:00
Mitchell Hashimoto
290a955fab Merge pull request #714 from mitchellh/update-zig
update zig
2023-10-21 17:11:30 -07:00
Mitchell Hashimoto
d4a67c2466 update zig 2023-10-21 15:52:40 -07:00
Mitchell Hashimoto
2ded880099 Merge pull request #713 from mitchellh/fix-unsupported-locale-lang
If the locale isn't supported and falls back to the POSIX/C locale, use en_US.UTF-8
2023-10-21 10:44:52 -07:00
Brandon Ferguson
17957b8fb3 If the locale isn't supported and falls back to the POSIX/C locale, use en_US.UTF8 2023-10-21 10:33:26 -07:00
Mitchell Hashimoto
f93dde12f1 Merge pull request #710 from mitchellh/matt
fix: adjust for window padding when calculating whether selection has started
2023-10-21 08:49:05 -07:00
Matthew Winter
c49c300c3a fix: adjust for window padding when calculating whether selection has started 2023-10-21 08:48:06 -07:00
Mitchell Hashimoto
b230325c35 Merge pull request #711 from jparise/macos-initial-size
macos: always apply initial size to new windows
2023-10-21 08:45:48 -07:00
Jon Parise
d63c0df582 macos: always apply initial size to new windows
We would previously exit early for non-transparent windows, which
skipped the call to setInitialWindowSize().
2023-10-21 08:21:58 -07:00
Mitchell Hashimoto
a44e5a9ae4 Merge pull request #708 from mitchellh/update-hf
pkg/harfbuzz: update to 8.2.2
2023-10-20 09:19:51 -07:00
Mitchell Hashimoto
4cb185c593 pkg/harfbuzz: update to 8.2.2 2023-10-20 09:10:34 -07:00
Mitchell Hashimoto
88ad94b22e Merge pull request #703 from jparise/quit-after-last-window-closed
config: add quit-after-last-window-closed
2023-10-19 20:09:02 -07:00
Mitchell Hashimoto
3a26812e6a config: update doc comment 2023-10-19 20:08:37 -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
Mitchell Hashimoto
088ae5c454 fix build with no font discovery 2023-10-19 19:43:04 -07:00
Krzysztof Wolicki
f4a2273ad9 os/xdg: Avoid allocations on non-Windows systems.
os/desktop: Add TODO
2023-10-19 17:22:11 +02:00
Krzysztof Wolicki
b830deb8a9 pkg/fontconfig: windows check more readable 2023-10-19 17:21:23 +02: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
1d71a87cd6 Merge pull request #700 from raggi/raggi/fontconfig-windows
pkg/fontconfig: move defines to fix x86_64-windows targets
2023-10-18 20:29:29 -07:00
Jon Parise
17b63f7617 config: add quit-after-last-window-closed
Whether or not to quit after the last window is closed. This defaults
to false. Currently only supported on macOS.
2023-10-18 14:03:32 -07:00
James Tucker
5007e90ae5 pkg/fontconfig: move defines to fix x86_64-windows targets
Some targets were duplicated in the all-targets definition list that
will not build for a Windows target. They're all moved to the
non-Windows configuration. The target now builds against a mingw64
prefix with the appropriate dependencies installed.

Updates #437
2023-10-17 23:24:20 -07:00
Mitchell Hashimoto
0eea5f00e2 Merge pull request #698 from mitchellh/update-zig
update zig
2023-10-17 13:32:42 -07:00
Mitchell Hashimoto
eda0e8ad04 pkg/apple-sdk: update to not have any broken symlinks 2023-10-17 13:11:27 -07:00
Mitchell Hashimoto
b0f95263fc ci: don't specify -gnu on test triple 2023-10-17 13:07:18 -07:00
Mitchell Hashimoto
8f46d114c0 update zig 2023-10-17 12:45:35 -07:00
Mitchell Hashimoto
5a21701394 Merge pull request #697 from mitchellh/glyph-downsample
renderer: do not downsample oversized glyphs
2023-10-17 10:57:41 -07:00