4494 Commits

Author SHA1 Message Date
Krzysztof Wolicki
ddebb31b8a Add include paths to more modules in pkg/ 2024-01-07 19:07:16 +01:00
Krzysztof Wolicki
6c7c5eecce Add include paths to freetype module 2024-01-07 18:45:07 +01:00
Krzysztof Wolicki
9e14a7ea62 Add include paths to modules in pkg/ 2024-01-07 17:39:39 +01:00
Krzysztof Wolicki
eb4ede8b6f Update sources for zig-objc and zig-js 2024-01-07 17:37:42 +01:00
Krzysztof Wolicki
5bb25536e1 Update source for libxev 2024-01-07 15:00:31 +01:00
Krzysztof Wolicki
5776c54225 Update changed build.zig 2024-01-07 15:00:17 +01:00
Krzysztof Wolicki
710b02a2ab Merge branch 'main' of github.com:mitchellh/ghostty 2024-01-06 05:42:55 +01:00
Mitchell Hashimoto
58e9eb80ab Merge pull request #1233 from mitchellh/shell-alloc
termio: support XDG data dirs greater than 4k for fish shell integration
2024-01-05 14:29:57 -08:00
Mitchell Hashimoto
48f316ebd2 termio: support XDG data dirs greater than 4k for fish shell integration
Fixes #1228
2024-01-05 14:27:12 -08:00
Mitchell Hashimoto
c0ba361708 Merge pull request #1232 from mitchellh/service_window
macos: Address window spawning and ordering issues from service.
2024-01-05 12:33:17 -08:00
Mitchell Hashimoto
42c10de814 macos: move active state to delegate 2024-01-05 12:32:18 -08:00
Vivek Roy
3aad646be2 macos: Address window spawning and ordering issues from service. 2024-01-06 00:35:34 +05:30
Mitchell Hashimoto
5a56b6ccad Merge pull request #1231 from mitchellh/macos-winsize
macos: set initial window size in controller window init
2024-01-05 09:55:45 -08:00
Mitchell Hashimoto
9bf13c6236 macos: set initial window size in controller window init
Fixes #1227
Fixes #1206

This moves the logic that respects `window-width` and `window-height` to
the controller window initialization. This is where it should've been
all the time but we previously didn't use a controller architecture so
we did our best to use heuristics in the view to do this.

This location now ensures that this only happens on window
initialization and only if we have one surface.
2024-01-05 09:42:50 -08:00
Mitchell Hashimoto
095394e562 Merge pull request #1226 from mitchellh/boehs/1213
Fix #1213 (create dir if needed for settings)
2024-01-05 09:03:14 -08:00
Mitchell Hashimoto
cf18e23256 config: create the config dir recursively for edit 2024-01-05 09:01:30 -08:00
Mitchell Hashimoto
a62061aec6 config: use dirname so we don't have to alloc a new dir for edit 2024-01-05 07:54:20 -08:00
Mitchell Hashimoto
f679489a65 Merge pull request #1224 from gpanders/windows-crlf
cli: strip CR in line iterator
2024-01-05 07:40:22 -08:00
Gregory Anders
5fe2d03e96 cli: strip CR in line iterator 2024-01-05 09:37:55 -06:00
Evan Boehs
3a93831e39 Fix #1213 (create dir if needed for settings) 2024-01-05 10:36:26 -05:00
Mitchell Hashimoto
929552354c update README about zig version 2024-01-05 07:32:53 -08:00
Mitchell Hashimoto
20300f46da Merge pull request #1220 from jcollie/gtk-open-config-menu
Add 'Open Config' menu to the GTK runtime and synchronize config-related keybindings across platforms.
2024-01-04 22:04:54 -08:00
Mitchell Hashimoto
198c7e3203 Merge pull request #1219 from mitchellh/config-change
renderer: reload background, foreground, cursor-color at runtime
2024-01-04 21:55:53 -08:00
Mitchell Hashimoto
be176bb8bd renderer: reload background, foreground, cursor-color at runtime
Fixes #1212
2024-01-04 21:47:12 -08:00
Jeffrey C. Ollie
698954031a Add 'Open Config' menu to the GTK runtime and synchronize config-related keybindings across platforms. 2024-01-04 23:30:22 -06:00
Mitchell Hashimoto
6c529c92f2 Merge pull request #1217 from widberg/main
Windows Fixes
2024-01-04 19:48:28 -08:00
Mitchell Hashimoto
38c5258d6e termio/exec: small change 2024-01-04 19:48:08 -08:00
Mitchell Hashimoto
e06cddb4b6 Merge pull request #1216 from imabadparent/add-codenewroman-nerd-font-to-quirks
quirks: add CodeNewRoman Nerd Font to quirks
2024-01-04 19:37:22 -08:00
widberg
2e79b5c63d Use cmd.exe instead of sh on Windows 2024-01-04 21:24:24 -05:00
widberg
cc29f06863 Don't build with LTO on Windows 2024-01-04 21:24:15 -05:00
Collin Dickert
8a2a849cc8 add CodeNewRoman Nerd Font to quirks 2024-01-04 21:15:12 -05:00
Krzysztof Wolicki
3297c3958c Merge branch 'main' of github.com:mitchellh/ghostty 2024-01-04 23:37:24 +01:00
Mitchell Hashimoto
5edf04b8c1 Merge pull request #1211 from EdenEast/nix-cachix-config
feat(nix): add cachix binary cache to flake
2024-01-04 13:40:44 -08:00
EdenEast
fac38a9ea2 feat(nix): add cachix binary cache to flake
Nix flake [schema] allows for a top level attribute called `nixConfig`.
This allows a flake to extend a users nix for the specific flake.

This lets us add ghostty's binary cache automatically when using the
repo (nix develop, nix build, ...).

[schema]: https://nixos.wiki/wiki/Flakes#Flake_schema
2024-01-04 13:00:45 -05:00
Krzysztof Wolicki
0842e572df Update usage of testing.expectEqual 2024-01-04 13:30:34 +01:00
Krzysztof Wolicki
1d49492e04 build.zig: Make use of resolveTargetQuery for wasm_freestanding target 2024-01-04 13:29:43 +01:00
Mitchell Hashimoto
2dc4ed2492 Merge pull request #1205 from tt/resolve-path-relative-to-base
Resolve path relative to base
2024-01-03 14:36:59 -08:00
Troels Thomsen
d3a7f9baf5 Resolve path relative to base 2024-01-03 23:27:22 +01:00
Krzysztof Wolicki
1913243c35 WIP: Update to new build module API after Zig PR #18160
Temporarily change dependency sources to forks until they update
2024-01-03 21:50:32 +01:00
Mitchell Hashimoto
f93c41669e macos: order main window front on restore 2024-01-03 12:10:52 -08:00
Mitchell Hashimoto
c9ff034b62 macos: prevent super hot loop to restore focus state 2024-01-03 12:07:03 -08:00
Mitchell Hashimoto
ae7221d680 macos: try to save window state before sparkle restart 2024-01-03 11:53:18 -08:00
Mitchell Hashimoto
a57a32cdb3 config: clarify docs on resetting font-family 2024-01-03 09:43:24 -08:00
Mitchell Hashimoto
398d1865fa Merge pull request #1204 from mitchellh/font-fallback
Ability to set preferred fallback fonts
2024-01-03 09:38:30 -08:00
Mitchell Hashimoto
8dd8bae0cd config: empty value for RepeatableString resets the list 2024-01-03 09:35:03 -08:00
Mitchell Hashimoto
b4f403f152 font-family settings are repeatable to specify fallback 2024-01-03 09:30:12 -08:00
Mitchell Hashimoto
98237b112f config: RepeatableString is null-terminated now
This makes it easier for these values to interface with C APIs
2024-01-03 09:24:15 -08:00
Mitchell Hashimoto
36013dcaa6 Merge pull request #1203 from jcollie/tokenize-deprecated
replace deprecated std.mem.tokenize with std.mem.tokenizeScalar
2024-01-03 09:15:28 -08:00
Jeffrey C. Ollie
f4292bccfc replace deprecated std.mem.tokenize with std.mem.tokenizeScalar 2024-01-03 10:22:33 -06:00
Mitchell Hashimoto
5091655558 Merge pull request #1202 from gpanders/cell-color-refactor
terminal: track palette color in cell state
2024-01-02 20:58:32 -08:00