Mitchell Hashimoto
06c0a61f49
Merge pull request #1151 from vancluever/vancluever-update-nixpkgs-zig-0-12
...
nix: update nixpkgs-zig-0-12
2023-12-22 15:37:46 -08:00
Mitchell Hashimoto
8849c689b3
Merge pull request #1152 from mitchellh/cachix
...
ci: swap magic-nix-cache with cachix
2023-12-22 15:36:11 -08:00
Mitchell Hashimoto
188f82c16e
ci: build-nix and test are not matrix tests
2023-12-22 15:27:48 -08:00
Mitchell Hashimoto
f56ed57b57
prettier
2023-12-22 14:49:32 -08:00
Mitchell Hashimoto
b222cf33bd
ci: swap magic-nix-cache with cachix
...
Cachix doesn't have rate limit issues like GitHub Actions does and I'd
love to support the Nix community. Plus, I have experience with Cachix
before and they've been so great.
2023-12-22 14:36:28 -08:00
Mitchell Hashimoto
582a87aa1c
Merge pull request #1150 from jcollie/fix-nix-package
...
fix nix package and add ci test for nix package build
2023-12-22 14:30:12 -08:00
Mitchell Hashimoto
98abf0d186
ci: build-nix depends on test like other package builds
2023-12-22 14:29:37 -08:00
Mitchell Hashimoto
18ada8d118
ci: move nix build to dedicated job
2023-12-22 14:20:27 -08:00
Mitchell Hashimoto
59315d2aa1
dist/macos: prune appcast to the most recent 15 items
...
This prevents the file from getting too large.
2023-12-22 12:40:15 -08:00
Chris Marchesi
2e3c1bf9da
nix: update nixpkgs-zig-0-12
...
This updates the nixpkgs-zig-0-12 input to be in line with the current
Zig in use by the overlay (0.12.0-dev.1830+779b8e259).
2023-12-22 12:32:43 -08:00
Jeffrey C. Ollie
d8e1aebfcd
enable magic nix cache to improve build times
2023-12-22 14:28:27 -06:00
Jeffrey C. Ollie
a995b6dbb0
fix nix package and add ci test for nix package build
2023-12-22 13:43:06 -06:00
Mitchell Hashimoto
4525be9c57
Merge pull request #1147 from mitchellh/macos-rlimit
...
macos: do not change nofile rlimit max
2023-12-22 08:59:59 -08:00
Mitchell Hashimoto
86bd972d22
macos: do not change nofile rlimit max
...
Fixes #1146
I can't remember why we did this before. The comment in question makes
sense if we were trying to set cur to infinity but doesn't make sense to
me why we'd change max. Removing this doesn't seem to cause any issues
so lets give it a shot.
2023-12-22 08:58:31 -08:00
Mitchell Hashimoto
a94973c240
Merge pull request #1138 from gpanders/vim-plugin
...
build: build Vim plugin files for Ghostty config file
2023-12-22 08:50:34 -08:00
Mitchell Hashimoto
eb46161b5e
config: generate vim configs at comptime
2023-12-22 08:19:17 -08:00
Mitchell Hashimoto
891418efec
Merge pull request #1145 from vancluever/vancluever-macos-middle-click
...
macos: handle middle click
2023-12-22 07:48:52 -08:00
Chris Marchesi
e1320be757
macos: handle middle click
...
This adds middle-click support to MacOS.
Very simple update, since everything else is in place to handle mouse
clicks in the embedded runtime already, we just needed to add the event
handlers in the UI.
2023-12-22 00:05:28 -08:00
Mitchell Hashimoto
14e4772b2b
Merge pull request #1144 from mitchellh/macos_context_menu
...
macos: Implement context menu functionality to open tabs and windows.
2023-12-21 22:18:30 -08:00
Vivek Roy
aa75e7dfd8
macos: Implement context menu functionality to open tabs and windows.
2023-12-22 11:20:42 +05:30
Mitchell Hashimoto
38dc2212bc
Merge pull request #1142 from mitchellh/macos-keypad
...
input: kitty encoding should only report alt key if not equal to utf8
2023-12-21 20:54:56 -08:00
Mitchell Hashimoto
ede7ec9c63
input: kitty encoding should only report alt key if not equal to utf8
2023-12-21 20:43:42 -08:00
Gregory Anders
4f01aafdba
build: move Vim plugin file generation into a separate Step
2023-12-21 21:49:38 -06:00
Gregory Anders
f7033524ec
macos: add generated Vim plugin files to app bundle
2023-12-21 21:49:36 -06:00
Gregory Anders
e9632a0f91
build: build Vim plugin files for Ghostty config file
...
Generate Vim syntax and ftplugin files for the Ghostty config file that
highlight Ghostty config keywords and offer completion for valid config
keys. The list of configuration keys is generated at compile time.
The plugin files are installed to ${prefix}/share/vim/vimfiles, which is
a standard location for installing 3rd party Vim plugin files.
2023-12-21 21:46:26 -06:00
Mitchell Hashimoto
a4c0b5c677
Merge pull request #1132 from gpanders/ghostty-resources-dir
...
Use "ghostty" subdirectory for resources
2023-12-21 19:41:10 -08:00
Mitchell Hashimoto
fc897067a6
macos: reordering some files
2023-12-21 17:59:16 -08:00
Gregory Anders
18f2fb3fbd
macos: include ghostty subdirectory under Resources
...
This enables us to treat Ghostty's resources directory the same way
whether it is installed in a macOS app bundle or under e.g. /usr/share.
2023-12-21 17:56:57 -08:00
Gregory Anders
8751502878
core: look for resources in "ghostty" subdirectory for "share" paths
...
Installing resources directly under ${prefix}/share causes conflicts
with other packages. This will become more problematic whenever Ghostty
is opened and becomes packaged in distributions.
Instead, install all resources under a "ghostty" subdirectory (i.e.
${prefix}/share/ghostty). This includes themes, shell integration, and
terminfo files.
Only "/usr/share" style paths use the "ghostty" subdirectory. On macOS,
Ghostty is already isolated within its app bundle, and if
$GHOSTTY_RESOURCES_DIR is set then we assume that points to the actual
resources dir (without needing to append "ghostty" to it).
2023-12-21 17:56:17 -08:00
Mitchell Hashimoto
e2916f8d63
Merge pull request #1139 from rockorager/terminfo-fix
...
terminfo: fix `xr` and `rv`
2023-12-21 11:37:37 -08:00
Tim Culverhouse
416950a447
terminfo: fix xr
and rv
...
Commit 5e473ebd ("terminfo: add additional entries, fix smkx/rmkx")
added entries `xr` and `rv`, but without proper escaping of the
backslashes. This commit adds the extras. Output of `infocmp` now
matches foot, kitty, et al.
2023-12-21 13:36:00 -06:00
Mitchell Hashimoto
19ca893e10
dist/macos: put the date in the short version string
2023-12-21 08:46:08 -08:00
Mitchell Hashimoto
080bd530f4
dist/macos: remove any existing matching builds in appcast
2023-12-21 08:39:29 -08:00
Mitchell Hashimoto
382c942790
Merge pull request #1136 from davideger/main
...
doc: Linux tip on zig btrfs hash mismatch issue.
2023-12-20 22:16:53 -08:00
Mitchell Hashimoto
b13f39f89d
Merge pull request #1137 from mitchellh/click-cursor
...
Click to move cursor at prompt
2023-12-20 22:16:39 -08:00
Mitchell Hashimoto
900b127a04
core: cursor click to move can be disabled
2023-12-20 22:12:04 -08:00
Mitchell Hashimoto
3776b8a777
core: if click-to-move is done, stop mouse processing
2023-12-20 21:41:49 -08:00
Mitchell Hashimoto
3f9c42fd67
core: fast path out of click to move if no semantic prompts
2023-12-20 21:40:02 -08:00
Mitchell Hashimoto
82e5080cd6
core: click to move cursor only works on primary screen
2023-12-20 21:38:21 -08:00
Mitchell Hashimoto
4a3e1e15e5
core: click to move cursor
2023-12-20 21:33:13 -08:00
Mitchell Hashimoto
6b1fd2b9eb
terminal: Screen.promptPath
2023-12-20 20:50:10 -08:00
David Eger
9aa56f98da
doc: Linux tip on zig btrfs hash mismatch issue.
2023-12-20 20:43:44 -08:00
Mitchell Hashimoto
9a32ea515b
terminal: Screen.selectPrompt to get the selection of the prompt
2023-12-20 20:35:05 -08:00
Mitchell Hashimoto
8fa3a8539b
Merge pull request #1135 from slonik-az/macos-ReleaseLocal
...
fix(macos): ReleaseLocal build configuration with "Library Validation" disabled
2023-12-20 14:38:01 -08:00
Mitchell Hashimoto
3762f8c342
macos: make default config ReleaseLocal
2023-12-20 14:37:48 -08:00
Mitchell Hashimoto
744c5a82ae
update README
2023-12-20 14:36:43 -08:00
Leo Razoumov
a96ec3a5df
doc: minor fix to README.md
2023-12-20 17:25:13 -05:00
Leo Razoumov
d568ef5b97
fix(macos): ReleaseLocal build configuration with "Library Validation" disabled
...
Fixes #1133
MacOS: If ghostty build succeeds but it crashes at startup due to a library or framework failing
to load, build it with `xcodebuild -configuration ReleaseLocal`
2023-12-20 16:54:58 -05:00
Mitchell Hashimoto
f737b7c48a
update README about mac builds
2023-12-20 12:32:55 -08:00
Mitchell Hashimoto
bfd0baf78f
Merge pull request #1131 from mitchellh/chinese-quotes
...
apprt/gtk: only reset IME state if key consuming while IME composing
2023-12-19 22:10:13 -08:00