4750 Commits

Author SHA1 Message Date
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
Mitchell Hashimoto
62a2fdcf88 renderer/opengl: set texture size for constrained glyphs
This wasn't setting the texture size so the glyphs would show up blank
(zero texture size).
2024-01-15 15:04:05 -08:00
Mitchell Hashimoto
85fdcdccdb Merge pull request #1302 from Pangoraw/update_unfocused_tab_title
gtk: update tab title even when the tab is unfocused
2024-01-15 14:38:54 -08:00
Mitchell Hashimoto
8d4416995b build: no more resolved target hack
This was necessary to fix `zig build test` but since #1305 this is not
necessary anymore.
2024-01-15 14:33:56 -08:00
Mitchell Hashimoto
0a1fba0059 Merge pull request #1305 from der-teufel-programming/better-build
Make addDeps cleaner, use addCSourceFiles instead of addCSourceFile in a loop
2024-01-15 14:30:37 -08:00
Mitchell Hashimoto
b5cd2e7a33 build: set os_version_min on default target so tests work 2024-01-15 14:29:55 -08:00
Krzysztof Wolicki
f75558b387 Use addCSourceFiles with dependency instead of manually adding files in a loop 2024-01-15 23:23:41 +01:00
Mitchell Hashimoto
67ea0d81c7 Merge pull request #1306 from LordMZTE/readme-fix
docs: correct note in readme about splits on linux
2024-01-15 13:05:15 -08:00
LordMZTE
5c4a423e57 docs: correct note in readme about splits on linux 2024-01-15 21:53:26 +01:00
Krzysztof Wolicki
c8c2f4b0ff Make addDeps cleaner 2024-01-15 21:49:22 +01:00
Mitchell Hashimoto
9157df114c Merge pull request #1304 from gpanders/resize-bounds
macos: respect minimum split size when using resize keys
2024-01-15 10:48:40 -08:00
Mitchell Hashimoto
fc08d91392 Merge pull request #1303 from mitchellh/update-zig
update zig
2024-01-15 09:42:26 -08:00
Gregory Anders
e4d8ddb3d5 macos: respect minimum split size when using resize keys 2024-01-15 10:05:53 -06:00
Mitchell Hashimoto
d5ffdcda93 update zig 2024-01-15 07:53:09 -08:00
Paul Berg
2b52c5ed88 gtk: update tab title even when the tab is unfocused
This change updates the tab title if the tab is unfocused. Tab title
updates only occur when the update surface is the focused child of the
tab.
2024-01-15 11:53:30 +01:00
Mitchell Hashimoto
fd57724e14 Merge pull request #1298 from mitchellh/ios
build: add iOS-compatible libghostty build to xcframework
2024-01-14 20:56:42 -08:00
Mitchell Hashimoto
326a817bf0 ci: ios build does not use code signing 2024-01-14 19:48:41 -08:00
Mitchell Hashimoto
76231713dc Revert "Merge pull request #1300 from mitchellh/dependabot/github_actions/cachix/install-nix-action-25"
This reverts commit 40b89dfe1328cf0b3ca5bd9109b0c32bf26bfd51, reversing
changes made to 7a4c63522bae3a078bd8467eb150819c2e55f404.
2024-01-14 19:40:57 -08:00
Mitchell Hashimoto
c5b2561ca6 Revert "Merge pull request #1299 from mitchellh/dependabot/github_actions/cachix/cachix-action-14"
This reverts commit 734a57592b482cbb7547ae210b885a07ad36f043, reversing
changes made to 40b89dfe1328cf0b3ca5bd9109b0c32bf26bfd51.
2024-01-14 19:40:43 -08:00
Mitchell Hashimoto
635e6808f6 build: fix mistaken dependency for iOS simulator lib 2024-01-14 19:39:27 -08:00
Mitchell Hashimoto
875a774d4b macos: remove AppState and unify onto Ghostty.App cross-platform 2024-01-14 19:35:57 -08:00
Mitchell Hashimoto
b17c33bfb0 ci: try building iOS target in CI 2024-01-14 19:09:47 -08:00
Mitchell Hashimoto
a12ef43441 ci: specifically target the main Ghostty target 2024-01-14 19:06:01 -08:00
Mitchell Hashimoto
734a57592b Merge pull request #1299 from mitchellh/dependabot/github_actions/cachix/cachix-action-14
build(deps): bump cachix/cachix-action from 13 to 14
2024-01-14 17:14:37 -08:00
Mitchell Hashimoto
40b89dfe13 Merge pull request #1300 from mitchellh/dependabot/github_actions/cachix/install-nix-action-25
build(deps): bump cachix/install-nix-action from 24 to 25
2024-01-14 17:14:25 -08:00
dependabot[bot]
a91903045c build(deps): bump cachix/install-nix-action from 24 to 25
Bumps [cachix/install-nix-action](https://github.com/cachix/install-nix-action) from 24 to 25.
- [Release notes](https://github.com/cachix/install-nix-action/releases)
- [Commits](https://github.com/cachix/install-nix-action/compare/v24...v25)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-01-15 00:46:34 +00:00
dependabot[bot]
920343d90a 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-15 00:46:29 +00:00
Mitchell Hashimoto
5e69b30240 macos: iOS Ghostty.App converted to use Ghostty.Config 2024-01-14 15:55:31 -08:00
Mitchell Hashimoto
eba3d5414d macos: Ghostty.Config to store all config-related operations 2024-01-14 15:53:33 -08:00
Mitchell Hashimoto
33b93799b9 macos: disable iOS file in macOS build 2024-01-14 15:00:00 -08:00
Mitchell Hashimoto
65fd02817e macos: only load config files on macos target 2024-01-14 14:53:00 -08:00
Mitchell Hashimoto
470b57f194 os: no mouse interval on ios 2024-01-14 14:48:56 -08:00