3612 Commits

Author SHA1 Message Date
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
Mitchell Hashimoto
a5066635f0 renderer: do not downsample oversized glyphs
Fixes #696

We should rely on the rasterizer to create glyphs of the proper size,
including doing CPU resizing if necessary.
2023-10-17 10:55:04 -07:00
Mitchell Hashimoto
e9637c2cfe Merge pull request #694 from gpanders/view-menu
macos: add menu items to modify font size
2023-10-16 22:24:16 -07:00
Mitchell Hashimoto
4341428c18 macos: make xcode 14 compatible, do not use switch expr 2023-10-16 20:05:32 -07:00
Gregory Anders
f966a5a163 macos: add menu items to modify font size
Add a new "View" menu to the menu bar with items to increase, decrease,
or reset the font size.
2023-10-16 20:32:33 -05:00
Mitchell Hashimoto
56721d9cac Merge pull request #693 from mitchellh/emoji-cursor
renderer: render cursor behind colored emoji
2023-10-16 13:06:41 -07:00
Mitchell Hashimoto
ab35a21dc2 renderer: render cursor behind colored emoji 2023-10-16 12:57:23 -07:00
Mitchell Hashimoto
0918731d9a renderer/metal: need to set proper alpha for fg mode in shader
Fixes #673
2023-10-16 12:22:51 -07:00
Mitchell Hashimoto
7ce313d1db Merge pull request #691 from mitchellh/vs16-cursor
terminal: with mode 2027, vs16 must move cursor one more right
2023-10-16 09:49:21 -07:00
Mitchell Hashimoto
407bd6fb79 terminal: with mode 2027, vs16 must move cursor one more right
Fixes #680
2023-10-16 09:48:05 -07:00
Mitchell Hashimoto
593d2a560e Merge pull request #690 from mitchellh/dl-full-region
terminal: scroll up full top/bottom region was off by one
2023-10-16 09:27:00 -07:00
Mitchell Hashimoto
12054087e1 terminal: scroll up full top/bottom region was off by one
Fixes #689

See test cases, verified with xterm.
2023-10-16 09:25:47 -07:00