Commit Graph

14602 Commits

Author SHA1 Message Date
Nico Ritschel
b0f00a65ed Add ghostty_config_get tests
I mostly did this to familiarize myself with the codebase and figured it
doesn't hurt to cover this with tests if I add more in this area,
despite receiving indirect coverage elsewhere.
2026-02-19 20:45:52 -08:00
trag1c
42c81dbccc bg_BG additional strings for 1.3 (#10836) 2026-02-20 01:28:54 +01:00
Mitchell Hashimoto
4289c1d637 feat(config): allow fullscreen config to specify non-native mode directly (#9876)
Closes #8388
2026-02-19 14:46:05 -08:00
Sachin Beniwal
0ad8db8582 Merge branch 'main' into feat/fullscreen-non-native-config 2026-02-19 14:34:59 -08:00
benodiwal
3d0da44e15 feat(config): allow fullscreen config to specify non-native mode directly
Co-Authored-By: Sachin <sachinbeniwal0101@gmail.com>
2026-02-19 14:34:22 -08:00
ghostty-vouch[bot]
cc17e96895 Update VOUCHED list (#10875)
Triggered by
[comment](https://github.com/ghostty-org/ghostty/issues/9876#issuecomment-3930522015)
from @mitchellh.

Vouch: @benodiwal

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-02-19 22:32:04 +00:00
ghostty-vouch[bot]
faead2d559 Update VOUCHED list (#10874)
Triggered by [discussion
comment](https://github.com/ghostty-org/ghostty/discussions/10807) from
@mitchellh.

Vouch: @nicosuave

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-02-19 22:26:55 +00:00
ghostty-vouch[bot]
70cc121736 Update VOUCHED list (#10873)
Triggered by [discussion
comment](https://github.com/ghostty-org/ghostty/discussions/10789) from
@mitchellh.

Vouch: @MiUPa

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-02-19 22:24:03 +00:00
Mitchell Hashimoto
410ee0d5c7 feat: implement scroll-to-bottom on output option (#9938)
Closes #8408
2026-02-19 14:15:55 -08:00
Mitchell Hashimoto
2a62f21bf0 fix tests 2026-02-19 14:10:33 -08:00
Mitchell Hashimoto
eb335fb8dd cleanup by just scrolling in the renderer 2026-02-19 14:06:58 -08:00
benodiwal
263469755c refactor: remove unused stream handler scroll-to-bottom code
The renderer approach doesn't need termio changes.

Co-Authored-By: Sachin <sachinbeniwal0101@gmail.com>
2026-02-19 13:54:32 -08:00
benodiwal
e197b95c32 feat: scroll-to-bottom on output via renderer pin tracking
Co-Authored-By: Sachin <sachinbeniwal0101@gmail.com>
2026-02-19 13:53:27 -08:00
benodiwal
81f537e992 feat: implement scroll-to-bottom on output option
Implements the `output` option for the `scroll-to-bottom` configuration,
which scrolls the viewport to the bottom when new lines are printed.

Co-Authored-By: Sachin <sachinbeniwal0101@gmail.com>
2026-02-19 13:52:57 -08:00
Mitchell Hashimoto
f2a5f36f26 macos: lint Swift files using SwiftLint (#10860)
SwiftLint <https://realm.github.io/SwiftLint/> is both a linter and
formatting. It's a popular way to spot issues and enforce a consistent
style.

Our SwiftLint configuration lives in `macos/.swiftlint.yml`, where is is
automatically discovered. It's very configurable, and I made an initial
pass as some basic, weakly-opinionated rules. The "TODO" section lists
rules that currently have violations but can be easily (auto)fixed in
follow-up commits.

Our integration is CLI-based. Similar to our other support tools, we
expect developers to install `swiftlint` via nix or e.g. Homebrew. This
is documented in HACKING.md.

We also have an optional Xcode integration, for in-editor feedback. When
`swiftlint` is available, it's run as a script-based Build Phase.

SwiftLint supports an auto-fix mode (`--fix`). Agents are aware of this
via AGENTS.md.

The rules are enforced using a (nix-based) CI job.
2026-02-19 13:34:22 -08:00
Mitchell Hashimoto
35e2645ab3 clickable file path fixes (#10867)
- **url: improve space in path handling**
The space-segment patterns in the path regex (dotted_path_space_segments
  and any_path_space_segments) greedily consume text after a space even
when we know that the text is the start of a new independent path (e.g.,
  `/tmp/bar` in `/tmp/foo /tmp/bar`).
  
  Fix: Add two negative lookaheads after the space in both patterns:
  - `(?!\.{0,2}\/)` →  don't match if the next segment starts with `/`,
    `./`, or `../`
  - `(?!~\/)` →  don't match if the next segment starts with `~/`
  

- **url: fix regression with unified diff lines**
  Bare relative paths don't need space-continuation semantics.
  
  Fixes #10773
2026-02-19 13:33:24 -08:00
ghostty-vouch[bot]
df7cd0fb37 Sync CODEOWNERS vouch list (#10872)
Sync CODEOWNERS owners with vouch list.

## Added Users

- @00-kat
- @abudvytis
- @aindriu80
- @andrejdaskalov
- @balazs-szucs
- @Beryesa
- @bo2themax
- @charliie-dev
- @CraziestOwl
- @d-Dudas
- @damyanbogoev
- @danulqua
- @flou
- @francescarpi
- @gagbo
- @ghokun
- @gmile
- @gordonbondon
- @gpanders
- @guilhermetk
- @halosatrio
- @johnslavik
- @jparise
- @kenvandine
- @Kirwiisp
- @kjvdven
- @kloneets
- @kristina8888
- @liby
- @lonsagisawa
- @marijagjorgjieva
- @MatkoTiric
- @Misairuzame
- @mtak
- @OshDubh
- @piedrahitac
- @reo101
- @RMEngelbrecht
- @rockorager
- @rpfaeffle
- @silveirapf
- @tdslot
- @TicClick
- @tnagatomi
- @trag1c
- @tristan957
- @uhojin
- @zenyr
- @zeshi09

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-02-19 21:28:47 +00:00
Mitchell Hashimoto
57a16f7f60 ci: add sync-codeowners action so that codeowners auto-vouch (#10869)
This isn't attached to a tag yet because I have to test it.
2026-02-19 13:27:58 -08:00
Mitchell Hashimoto
7928883f73 ci: add sync-codeowners action so that codeowners auto-vouch 2026-02-19 13:26:49 -08:00
Ben Kircher
f66064b0b0 url: fix regression with unified diff lines
Bare relative paths don't need space-continuation semantics.

Fixes #10773
2026-02-19 21:06:56 +01:00
Ben Kircher
c5488afc75 url: improve space in path handling
The space-segment patterns in the path regex (dotted_path_space_segments
and any_path_space_segments) greedily consume text after a space even
when we know that the text is the start of a new independent path (e.g.,
`/tmp/bar` in `/tmp/foo /tmp/bar`).

Fix: Add two negative lookaheads after the space in both patterns:
- `(?!\.{0,2}\/)` →  don't match if the next segment starts with `/`,
  `./`, or `../`
- `(?!~\/)` →  don't match if the next segment starts with `~/`
2026-02-19 21:06:56 +01:00
Jon Parise
a5dd7a750b ci: only run 'swiftlint' when macos/ changes
This saves us some work on the majority of our commits. I think we'd
only miss commits to .github/ and the nix environment with this filter,
but we can expand the filter's scope as needed.
2026-02-19 14:42:11 -05:00
Jon Parise
21ea94610a macos: lint Swift files using SwiftLint
SwiftLint <https://realm.github.io/SwiftLint/> is both a linter and
formatting. It's a popular way to spot issues and enforce a consistent
style.

Our SwiftLint configuration lives in macos/.swiftlint.yml, where is is
automatically discovered. It's very configurable, and I made an initial
pass as some basic, weakly-opinionated rules. The "TODO" section lists
rules that currently have violations but can be easily (auto)fixed in
follow-up commits.

Our integration is CLI-based. Similar to our other support tools, we
expect developers to install `swiftlint` via nix or e.g. Homebrew.
This is documented in HACKING.md.

We also have an optional Xcode integration, for in-editor feedback. When
`swiftlint` is available, it's run as a script-based Build Phase.

SwiftLint supports an auto-fix mode (--fix). Agents are aware of this
via AGENTS.md.

The rules are enforced using a (nix-based) CI job.
2026-02-19 14:42:11 -05:00
ghostty-vouch[bot]
2ac3c1f1da Update VOUCHED list (#10862)
Triggered by
[comment](https://github.com/ghostty-org/ghostty/issues/10861#issuecomment-3928416623)
from @trag1c.

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-02-19 16:38:07 +00:00
Mitchell Hashimoto
c11db662e6 toggle command palette works on gtk (#10856) 2026-02-19 06:58:20 -08:00
Jeffrey C. Ollie
74c1555591 build(deps): bump namespacelabs/nscloud-cache-action from 1.4.1 to 1.4.2 (#10854)
Bumps
[namespacelabs/nscloud-cache-action](https://github.com/namespacelabs/nscloud-cache-action)
from 1.4.1 to 1.4.2.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/namespacelabs/nscloud-cache-action/releases">namespacelabs/nscloud-cache-action's
releases</a>.</em></p>
<blockquote>
<h2>v1.4.2</h2>
<h2>What's Changed</h2>
<ul>
<li>Append error cause to failure message by <a
href="https://github.com/rcrowe"><code>@​rcrowe</code></a> in <a
href="https://redirect.github.com/namespacelabs/nscloud-cache-action/pull/104">namespacelabs/nscloud-cache-action#104</a></li>
<li>Update <code>@​namespacelabs/actions-toolkit</code> to 0.2.6 by <a
href="https://github.com/rcrowe"><code>@​rcrowe</code></a> in <a
href="https://redirect.github.com/namespacelabs/nscloud-cache-action/pull/107">namespacelabs/nscloud-cache-action#107</a></li>
</ul>
<p><strong>Full Changelog</strong>: <a
href="https://github.com/namespacelabs/nscloud-cache-action/compare/v1.4.1...v1.4.2">https://github.com/namespacelabs/nscloud-cache-action/compare/v1.4.1...v1.4.2</a></p>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="a90bb5d4b2"><code>a90bb5d</code></a>
Update <code>@​namespacelabs/actions-toolkit</code> to 0.2.6</li>
<li><a
href="60628686a0"><code>6062868</code></a>
Append error cause to failure message (<a
href="https://redirect.github.com/namespacelabs/nscloud-cache-action/issues/104">#104</a>)</li>
<li>See full diff in <a
href="4d61c33d0b...a90bb5d4b2">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=namespacelabs/nscloud-cache-action&package-manager=github_actions&previous-version=1.4.1&new-version=1.4.2)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)

Dependabot will resolve any conflicts with this PR as long as you don't
alter it yourself. You can also trigger a rebase manually by commenting
`@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits
that have been made to it
- `@dependabot show <dependency name> ignore conditions` will show all
of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop
Dependabot creating any more for this major version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop
Dependabot creating any more for this minor version (unless you reopen
the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop
Dependabot creating any more for this dependency (unless you reopen the
PR or upgrade to it yourself)


</details>
2026-02-19 08:57:51 -06:00
Filip Milković
6692be477d i18n: update hr locale with new strings (#10792)
Translated freshly added tab and nautilus strings
2026-02-19 08:09:47 +00:00
Sl (Shahaf Levi)
09c5d36d3f i18n: Update Hebrew (he_IL) translations for 1.3 (3 new strings) (#10841)
Addressing the three newer strings [requested by Kat] in #10632.

[requested by Kat]: https://github.com/ghostty-org/ghostty/issues/10632#issuecomment-3919649650
2026-02-19 05:32:15 +00:00
Jeffrey C. Ollie
9f2d66c9c9 toggle command palette works on gtk 2026-02-18 22:30:52 -06:00
Kat
3288a6e0a4 i18n: update ja_JP translation (#10829)
as requested in
https://github.com/ghostty-org/ghostty/issues/10632#issuecomment-3919649650

for Japanese reviewers:

既存の以下に合わせ、

```
msgid "Change Title…"
msgstr "タイトルを変更…"

msgid "Change Terminal Title"
msgstr "ターミナルのタイトルを変更する"
```

以下の2つでは末尾の表現を変えました。

```
msgid "Change Tab Title…"
msgstr "タブのタイトルを変更…"

msgid "Change Tab Title"
msgstr "タブのタイトルを変更する"
```
2026-02-19 00:30:19 +00:00
dependabot[bot]
16b320ca8a build(deps): bump namespacelabs/nscloud-cache-action from 1.4.1 to 1.4.2
Bumps [namespacelabs/nscloud-cache-action](https://github.com/namespacelabs/nscloud-cache-action) from 1.4.1 to 1.4.2.
- [Release notes](https://github.com/namespacelabs/nscloud-cache-action/releases)
- [Commits](4d61c33d0b...a90bb5d4b2)

---
updated-dependencies:
- dependency-name: namespacelabs/nscloud-cache-action
  dependency-version: 1.4.2
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-02-19 00:14:31 +00:00
ghostty-vouch[bot]
7e1913527a Update VOUCHED list (#10853)
Triggered by
[comment](https://github.com/ghostty-org/ghostty/issues/10702#issuecomment-3923898649)
from @trag1c.

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-02-18 23:58:36 +00:00
Kat
c2b331a296 i18n: es_BO - 2nd part (#10850)
3 new translations , see #10632
2026-02-18 22:21:14 +00:00
ghostty-vouch[bot]
cc05f64a4d Update VOUCHED list (#10851)
Triggered by
[comment](https://github.com/ghostty-org/ghostty/issues/10850#issuecomment-3922912201)
from @00-kat.

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-02-18 20:04:29 +00:00
Miguel P Z
6bfa1bfc29 i18n: es_BO - 2nd part 2026-02-18 22:01:54 +02:00
Kat
97e7f60bc6 i18n: update de_DE translations (#10847)
This PR adds the missing translation strings for Ghostty 1.3.

Related to: #10632
2026-02-18 19:25:04 +00:00
Klaus Hipp
9f933f6ffa i18n: update de_DE translations 2026-02-18 20:12:57 +01:00
ghostty-vouch[bot]
bd66aed463 Update VOUCHED list (#10848)
Triggered by
[comment](https://github.com/ghostty-org/ghostty/issues/10847#issuecomment-3922542416)
from @trag1c.

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-02-18 18:47:19 +00:00
Kat
2a18c25eb6 i18n: Update ca_ES translations for 1.3 (#10845) 2026-02-18 18:28:56 +00:00
Kat
5e1d365712 i18n: update ko_KR translations (#10832)
Ref: https://github.com/ghostty-org/ghostty/issues/10632#issuecomment-3919649650
2026-02-18 18:14:37 +00:00
ghostty-vouch[bot]
fe5928baac Update VOUCHED list (#10846)
Triggered by
[comment](https://github.com/ghostty-org/ghostty/issues/10845#issuecomment-3922383468)
from @00-kat.

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-02-18 18:13:51 +00:00
KristoferSoler
e7cfe0e360 i18n: Update ca_ES translations for 1.3 2026-02-18 19:10:35 +01:00
trag1c
ff3c4e77a6 i18n: update Polish translations (#10825)
Yet another update of the Polish translations.
2026-02-18 18:48:19 +01:00
Mitchell Hashimoto
48c9b8f6fc fix(build): add support for apple SDK paths to load system libraries (#10758)
The PR addresses `lib-vt` iOS build issue caused by missing `apple_sdk`
path. See #10663 for more details.
2026-02-18 09:45:36 -08:00
Mitchell Hashimoto
d1de9aca94 ci: make the libghostty-macos builds required 2026-02-18 09:36:46 -08:00
Mitchell Hashimoto
85a631dd20 build: stylistic changes for libvt 2026-02-18 09:35:08 -08:00
Elias Andualem
20af48de96 build: enhance Darwin build configs for LLVM and SDK paths 2026-02-18 09:35:08 -08:00
Elias Andualem
90e4e0296a ci: add separate Darwin build targets for libghostty-vt 2026-02-18 09:35:08 -08:00
Elias Andualem
44b7d34652 fix: add support for apple SDK paths in Darwin builds 2026-02-18 09:35:08 -08:00
Mitchell Hashimoto
cfb8c28b1b macos: improve "Set Default Terminal" (#10843)
Switch to using the existing UTType.unixExecutable constant for this
operator, which also lets us remove a failure path. Also, use the
completion-based setDefaultApplication() variant to handle errors.

This simplifies the code enough that we don't need the additional
NSWorkspace+Ghostty extension functions.
2026-02-18 09:03:45 -08:00