3652 Commits

Author SHA1 Message Date
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
Mitchell Hashimoto
1c0fd2442b Merge pull request #688 from mitchellh/dsr
xterm audit: cursor position report (CPR)
2023-10-15 22:00:10 -07:00
Mitchell Hashimoto
7b81eba565 terminal: cursor position report respects left scroll region with origin 2023-10-15 21:58:13 -07:00
Mitchell Hashimoto
c382f61a32 Merge pull request #687 from mitchellh/cancel
renderer: handle error.NotFound for timer cancellation
2023-10-15 21:44:42 -07:00
Mitchell Hashimoto
313eec0c7d Merge pull request #686 from mitchellh/sc
xterm audit: save cursor, restore cursor
2023-10-15 21:38:21 -07:00
Mitchell Hashimoto
78b5c1db77 renderer: handle error.NotFound for timer cancellation
Fixes #685

This is expected in very rare scenarios where under heavy load, a timer
could complete before a cancellation request is processed, resulting in
a "not found".
2023-10-15 21:35:13 -07:00
Mitchell Hashimoto
06f7cfb398 terminal: save cursor and restore cursor xterm audit 2023-10-15 21:25:47 -07:00
Mitchell Hashimoto
974ee6d7a7 Merge pull request #684 from mitchellh/scroll-input
core: scroll viewport back to bottom on any key input that isn't a mod
2023-10-15 09:09:58 -07:00
Mitchell Hashimoto
879bdf27a9 core: scroll viewport back to bottom on any key input that isn't a mod
Fixes #619

This changes the behavior from requiring printable text to any input
that isn't a modifier and also generates some data we send to the pty.
If there is printable text, we also clear the selection.
2023-10-15 08:53:38 -07:00
Mitchell Hashimoto
877fa606db Merge pull request #683 from mitchellh/osc-alloc
OSC52 can heap-allocate for the payload
2023-10-15 08:45:42 -07:00
Mitchell Hashimoto
de1ed071ad termio: configure OSC parser with an allocator 2023-10-15 08:41:38 -07:00