5031 Commits

Author SHA1 Message Date
Mitchell Hashimoto
87987cd89e Merge pull request #1332 from mitchellh/wrap
ECH and EL should reset softwrap state
2024-01-19 15:47:34 -08:00
Mitchell Hashimoto
e9fe14c750 terminal: ECH resets line wrap state in any scenario 2024-01-19 14:31:33 -08:00
Mitchell Hashimoto
bab932431f terminal: erase line right should reset soft wrap state 2024-01-19 14:08:09 -08:00
Mitchell Hashimoto
e7169afffa Merge pull request #1327 from mitchellh/ios-adventures
More apple things cross-platform: Metal renderer, SurfaceView, etc.
2024-01-19 07:50:44 -08:00
Mitchell Hashimoto
8b01d79502 macos: iOS bg color extends to unsafe areas 2024-01-18 20:31:41 -08:00
Mitchell Hashimoto
fd782746d4 macos: set proper content size for UIView views 2024-01-18 20:26:42 -08:00
Mitchell Hashimoto
487c22011c macos: make SurfaceView cross-platform! 2024-01-18 19:28:36 -08:00
Mitchell Hashimoto
344c2db097 renderer/metal: initialize layer in init, handle iOS layer 2024-01-18 18:51:01 -08:00
Mitchell Hashimoto
95f729a5fc renderer/metal: only set wantsLayer for AppKit 2024-01-18 15:36:06 -08:00
Mitchell Hashimoto
26e6e8cec8 apprt/embedded: add iOS platform with uivew 2024-01-18 15:03:03 -08:00
Mitchell Hashimoto
5fe3900efa core: Apple Emoji should be loaded on any darwin, not just macos
It is available on iOS too.
2024-01-18 15:02:32 -08:00
Mitchell Hashimoto
cf284b1363 Merge pull request #1326 from der-teufel-programming/libghostty-on-windows
cimgui metal impl available only when target is Darwin
2024-01-18 13:10:05 -08:00
Krzysztof Wolicki
316cb5314c cimgui metal impl available only when target is Darwin 2024-01-18 21:43:57 +01:00
Mitchell Hashimoto
4f9559afd5 Merge pull request #1324 from mitchellh/libghostty-linux
libghostty: support build on Linux
2024-01-18 09:16:44 -08:00
Mitchell Hashimoto
50054f8535 ci: libghostty on Linux build 2024-01-18 09:01:36 -08:00
Mitchell Hashimoto
d1ad8e4740 build: copy header files, build static lib too 2024-01-18 08:59:07 -08:00
Mitchell Hashimoto
01afa293c8 apprt/embedded: fix initialization on macOS 2024-01-18 08:55:03 -08:00
Mitchell Hashimoto
df09c21103 apprt/embedded: compile for Linux 2024-01-18 08:44:56 -08:00
Mitchell Hashimoto
cb463edb84 Merge pull request #1323 from mitchellh/mrn/min-size-gtk-splits
gtk: respect minimum split size when using resize keys
2024-01-18 07:49:36 -08:00
Thorsten Ball
551d19205b gtk: respect minimum split size when using resize keys
This is the GTK equivalent of #1304.
2024-01-18 06:38:08 +01:00
Mitchell Hashimoto
8fad0b7c6f Merge pull request #1322 from mitchellh/macos-mouse-follow
macos: allow first click when non-focused to shift focus
2024-01-17 20:34:33 -08:00
Mitchell Hashimoto
2568b4979b macos: allow first click when non-focused to shift focus
This allows for example clicking on a split when focused on a different
app and having focus immediately jump to that split. Before this, you'd
have to click to focus the window, then second click to focus on the
split.
2024-01-17 20:30:34 -08:00
Mitchell Hashimoto
71a5007507 Merge pull request #1321 from mitchellh/wait
Add `wait-after-command` configuration to keep terminal window open after command exits
2024-01-17 08:51:26 -08:00
Mitchell Hashimoto
62ba9eb47c Merge pull request #1320 from mitchellh/macos-restore
macos: terminals with custom commands are not restorable
2024-01-17 08:45:48 -08:00
Mitchell Hashimoto
93c87f21ff apprt/embedded: set wait-after-command when command is set 2024-01-17 08:43:04 -08:00
Mitchell Hashimoto
33bc424d7e config: introduce wait-after-command 2024-01-17 08:40:21 -08:00
Mitchell Hashimoto
fa0ba0a354 macos: terminals with custom commands are not restorable
Fixes #1317
2024-01-17 08:26:48 -08:00
Mitchell Hashimoto
18dc09c0c3 update README styling 2024-01-17 08:18:02 -08:00
Mitchell Hashimoto
499dc6e9b0 update README 2024-01-17 08:13:35 -08:00
Mitchell Hashimoto
79704da1da update README 2024-01-17 08:08:33 -08:00
Mitchell Hashimoto
128c263fa9 readme: remove outdated sequences docs, more up to date are in web 2024-01-17 08:00:11 -08:00
Mitchell Hashimoto
ed3f1df5f0 Merge pull request #1316 from qwerasd205/macos-file-handler
Added macOS file open handler
2024-01-16 18:56:34 -08:00
Mitchell Hashimoto
1005116f03 macos: detect error during surface initialization and render 2024-01-16 18:50:47 -08:00
Qwerasd
51f53aa9bf Added macOS file open handler 2024-01-16 16:26:21 -05:00
Mitchell Hashimoto
a0b94abede Merge pull request #1315 from mitchellh/mtl-fail
macOS: detect Metal renderer failures (i.e. GPU memory exhaustion) and show an error message
2024-01-16 12:58:21 -08:00
Mitchell Hashimoto
90ea950d71 renderer/metal: use a semaphore to protect deinit while waiting for GPU 2024-01-16 12:18:55 -08:00
Mitchell Hashimoto
b806b45bae macos: use UIColor for iOS 2024-01-16 11:58:14 -08:00
Mitchell Hashimoto
87933cc631 nix: update hash 2024-01-16 11:28:24 -08:00
Mitchell Hashimoto
c28f2e36cc renderer/metal: do not be unhealthy by default :) 2024-01-16 11:28:01 -08:00
Mitchell Hashimoto
376345dcae macos: detect renderer health failures and show error view 2024-01-16 11:27:18 -08:00
Mitchell Hashimoto
0277a0fb4c renderer/metal: detect frame commit failures and notify surface 2024-01-16 10:51:36 -08:00
Mitchell Hashimoto
d07506d285 update zig-objc so enum types work for msgSend on x86_64 2024-01-16 10:49:00 -08:00
Mitchell Hashimoto
771cbea0b0 Merge pull request #1314 from mitchellh/xft-dpi-round
apprt/gtk: xft-dpi can be fractional, do not expect exact division
2024-01-15 23:05:50 -08:00
Mitchell Hashimoto
34d5cbda13 apprt/gtk: xft-dpi can be fractional, do not expect exact division
This was reported on Discord. A Chromebook reported an `Xft.dpi` of
`96.1025390625` which resulted in a `gtk-xft-dpi` of 98409. This caused
`divExact` to crash in runtime safety modes.
2024-01-15 20:49:12 -08:00
Mitchell Hashimoto
cd0cdd2df0 Merge pull request #1313 from mitchellh/pty-bug
termio: handle termio thread failure by showing a message in window
2024-01-15 20:42:14 -08:00
Mitchell Hashimoto
b87bbd55c5 termio: handle termio thread failure by showing a message in window
Fixes #1301
2024-01-15 20:22:55 -08:00
Mitchell Hashimoto
77de39d036 Merge pull request #1312 from mitchellh/dependabot/github_actions/cachix/cachix-action-14
build(deps): bump cachix/cachix-action from 13 to 14
2024-01-15 19:38:48 -08:00
dependabot[bot]
0a67718c28 build(deps): bump cachix/cachix-action from 13 to 14
Bumps [cachix/cachix-action](https://github.com/cachix/cachix-action) from 13 to 14.
- [Release notes](https://github.com/cachix/cachix-action/releases)
- [Commits](https://github.com/cachix/cachix-action/compare/v13...v14)

---
updated-dependencies:
- dependency-name: cachix/cachix-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-01-16 00:56:58 +00:00
Mitchell Hashimoto
e4aa17a2dc Merge pull request #1308 from mitchellh/build-change
build: no more resolved target hack for macOS
2024-01-15 15:09:42 -08:00
Mitchell Hashimoto
e1a1fad0d1 Merge pull request #1309 from mitchellh/opengl-constrain
renderer/opengl: set texture size for constrained glyphs
2024-01-15 15:07:05 -08:00