Commit Graph

14492 Commits

Author SHA1 Message Date
tdslot
6be2d30b16 Update po/lt_LT.UTF-8.po
Good

Co-authored-by: Andrius Budvytis <154380884+abudvytis@users.noreply.github.com>
2026-02-12 07:04:26 +01:00
tdslot
01861e376b Update po/lt_LT.UTF-8.po
Good

Co-authored-by: Andrius Budvytis <154380884+abudvytis@users.noreply.github.com>
2026-02-12 07:04:13 +01:00
Miguel P Z
f0f006aa6e i18n: update Spanish translations and revise PO-Revision-Date 2026-02-12 07:36:09 +02:00
Kat
20c07be451 i18n: fix fr_FR translations (#10674)
Fix a few mistakes and missing whitespaces
2026-02-12 04:45:12 +00:00
dependabot[bot]
0272a394ab build(deps): bump docker/build-push-action from 6.18.0 to 6.19.1
Bumps [docker/build-push-action](https://github.com/docker/build-push-action) from 6.18.0 to 6.19.1.
- [Release notes](https://github.com/docker/build-push-action/releases)
- [Commits](263435318d...601a80b39c)

---
updated-dependencies:
- dependency-name: docker/build-push-action
  dependency-version: 6.19.1
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-02-12 00:13:53 +00:00
Sl (Shahaf Levi)
0425a981be Update Hebrew translations for 1.3 2026-02-11 23:01:51 +02:00
Sl (Shahaf Levi)
6d0c91ab0f Update Hebrew translations and copyright year for 1.3.
Added Hebrew translations for various strings for 1.3. Updated copyright year to 2026.
2026-02-11 22:47:07 +02:00
Miguel P Z
484e951286 Fix suggestion by GH Copilot
renderizado DOES not exist in SPANISH:

https://dle.rae.es/renderizado
2026-02-11 22:44:16 +02:00
Miguel P Z
d3b9ee2a8e Fixed mispelling 2026-02-11 22:37:46 +02:00
Miguel P Z
360f99ebc9 Update es_BO.UTF-8.po translations
Fill previously empty msgstr entries in po/es_BO.UTF-8.po. Adds Bolivian Spanish translations for several UI strings (Find…, Previous Match, Next Match, Oh, no., OpenGL context error, read-only mode text and label, Notify on Next Command Finish, etc.) to enable localized UI messages.
2026-02-11 22:33:34 +02:00
flou
eccf9cb702 i18n: fix fr_FR translations 2026-02-11 21:32:23 +01:00
Leah Amelia Chen
ea35af03de i18n/zh_CN: update for 1.3
Part of #10632
2026-02-12 02:00:15 +08:00
Tobias Kohlbau
f661d948a2 renderer: fix draw timer activation
The draw timer should only be activated in case a custom shader
is configured and the option custom-shader-animation is either always
or true. If the timer is kept alive CPU usage spiked enourmously.

Fixes #10667
2026-02-11 17:23:41 +01:00
trag1c
1576a09b01 i18n: update ko_KR translations (#10656) 2026-02-11 16:57:36 +01:00
Ben Kircher
bbcc22746a urls: fix over-matching single spaced paths
This commit adds a negative lookahead `(?!\w+://)` to both
`dotted_path_space_segments` and `any_path_space_segments`. This
prevents the space-segment matching from consuming text that starts with
a URL scheme (like http://), which was causing /tmp/test.txt
http://www.google.com to over-match.

Fixes
https://github.com/ghostty-org/ghostty/issues/1972#issuecomment-3882254792
2026-02-11 09:47:28 +01:00
Ben Kircher
50ba394ed3 url: do not match on //
Double-slash comments are not paths so do not match on them.
2026-02-11 09:34:52 +01:00
Ben Kircher
23d22c457a url: fix , handling for spaced paths
Update path_space_segments patterns to consistently handle
comma-delimiters.
2026-02-11 09:34:52 +01:00
Ben Kircher
38831436ea url: fix tilde mid-word partial matches
Don't match `~` mid-word or before `/`.
2026-02-11 09:34:52 +01:00
Ben Kircher
270ee5468f url: fix $VAR mid-word partial matches
Add `(?<!\w)` to prefixes so that $VAR cannot match mid-word.
2026-02-11 09:34:52 +01:00
Ben Kircher
02749cb1dc url: fix comma handling
This string

    foo/bar,baz.txt

should not match but

    src/foo.c,baz.txt

should.

Remove `,` from dotted_path_lookahead and non_dotted_path_lookahead.
2026-02-11 09:34:52 +01:00
Ben Kircher
19a41eb26b url: allow numeric characters at start
Amends and fixes the last commit which was too simpel. This commit uses
a lookbehind to prevent matching $-numeric patterns.
2026-02-11 09:34:52 +01:00
Ben Kircher
99320714bc url: fix incomplete $-numeric behavior
This

    $10/bar.txt

was partially matching but should not match at all.

This commit fixes this by simply `[\w]` to `[A-Za-z_]` as the first
character of a bare relative path, so digit-starting fragments can't
match.

Another option would be a lookbehind but I think the check above is much
simpler.
2026-02-11 09:34:52 +01:00
Ben Kircher
77ee47c18f url: fix partial match of mid string $-variable
A string like this

    foo/$BAR/baz

should match fully, not partially.

This commit fixes this by expanding `\$[A-Za-z_]\w*\/` to
`(?:[\w][\w\-.]*\/)*\$[A-Za-z_]\w*\/` in rooted_or_relative_path_prefix
so that we optionally eat everything before a variable `$VAR/`.
2026-02-11 09:34:52 +01:00
Ben Kircher
af643a1a21 url: fix $-numeric character matches
Strings like

    $10/$20

Should not match.

This commit fixes this by narrowing `\w` after `$` to `[A-Za-z_]` which
is— according to Google Gemini— what environment variables can start
with.
2026-02-11 09:34:52 +01:00
Ben Kircher
0f904d92e0 url: fix mid-string dot partial matches
A string like

    foo.local/share

should match fully, not partially.

This commit fixes this by moving `dotted_path_lookahead` before
`bare_relative_path_prefix` so the dot-check scans the entire match
rather than only the text after it.
2026-02-11 09:34:52 +01:00
Ben Kircher
d8eb89f384 url: fix matching ~, $VAR, .directory/
Related to #1972

This commit adds three new alternatives for
`rooted_or_relative_path_prefix`:

- `~/`
- `$VAR` and
- `.local/`, `.config/` etc. for dot-prefixed directory names
2026-02-11 09:34:52 +01:00
Ben Kircher
72a894b13b url: remove , from path_chars
Related to #1972

Fixes an issue when paths have embedded comma, e.g.:

    shared/src/foo/SomeItem.m:12, shared/src/

with path_chars greedily consuming the rest of the string.

Now file path matching stops at comma. Scheme URLs are unchanged and
still using the comma.
2026-02-11 09:34:52 +01:00
Ben Kircher
c6e0de0bae url: carefully extend test cases
Extend existing test cases with `~`, `$VAR`, and bare .-prefixed paths
and embedded `,` comma handling.

See following issue comments:

- https://github.com/ghostty-org/ghostty/pull/10570#issuecomment-3853842036
- https://github.com/ghostty-org/ghostty/issues/1972#issuecomment-3859329233
- https://github.com/ghostty-org/ghostty/issues/1972#issuecomment-3857881196
2026-02-11 09:34:52 +01:00
Ben Kircher
f38366b5dc url: update top-level comment 2026-02-11 09:34:52 +01:00
Ben Kircher
16a076bd7f url: refactor regex into documented branches
Break up the big monolithic URL and path regex into named sub-pattern
constants and compose the final expression from three commented
branches:

- URLs with a scheme
- absolute or dot-relative paths
- bare relative paths

This commit only breaks up the regex. It keeps the existing matching
behavior unchanged.
2026-02-11 09:34:52 +01:00
Kat
c1207afbec i18n: update ja_JP translations (#10655)
Ref: https://github.com/ghostty-org/ghostty/issues/10632
2026-02-11 06:21:15 +00:00
GyuYong Jung
e54d0f7a46 i18n: update ko_KR translations 2026-02-11 12:51:05 +09:00
Takayuki Nagatomi
bd71e9d155 i18n: update ja_JP translations 2026-02-11 12:27:12 +09:00
phush0
758801d431 Update bg_BG.UTF-8.po (#10639) 2026-02-11 00:21:30 +00:00
Jon Parise
3cfb9d64d1 shell-integration: respect cursor-style-blink
The `cursor` shell feature always used a blinking bar (beam), often to
the surprise of users who set `cursor-style-blink = false`.

This change extends our GHOSTTY_SHELL_FEATURES format to include either
`cursor:blink` (default) or `cursor:steady` based on cursor-style-blink
when the `cursor` feature is enabled, and all shell integrations have
been updated to use that additional information to choose the DECSCUSR
cursor value (5=blinking bar, 6=steady bar).

I also considered passing a DECSCUSR value in GHOSTTY_SHELL_FEATURES
(e.g. `cursor:5`). This mostly worked well, but zsh also needs the blink
state on its own for its block cursor. We also don't support any other
shell feature cursor configurability (e.g. the shape), so this was an
over generalization.

This does change the behavior for users who like the blinking bar in the
shell but have `cursor-blink-style = false` for other reasons. We could
provide additional `cursor` shell feature configurability, but I think
that's best left to a separate change.
2026-02-10 18:46:36 -05:00
Mitchell Hashimoto
f831258c0f elvish: improve the sudoedit detection code (#10587)
The previous logic didn't detect the `e` option when it was combined
with other flags (e.g. `-ie`). This change also attempts to improve the
general readability of this code to be a bit more explicit.
2026-02-10 15:36:36 -08:00
Mitchell Hashimoto
d8dd3e3523 bash: remove dependency on bash-preexec for bash 4.4+ (#10609)
bash-preexec implements support for its "precmd" and "preexec" hooks
using a combination of PROMPT_COMMAND and a DEBUG trap. The latter is
unfortunately quick slow (in a relative sense), and the overall system
is a bit more generalized than what we need for our shell integration
(e.g. supporting multiple function hooks, subshells, etc.).

Bash 4.4 introduced the PS0 variable, which is expanded and displayed by
interactive shells after reading a complete command but before executing
it. This is all we need to implement our own shell integration hooks.

In Bash 5.1, PROMPT_COMMAND can be an array variable, each element of
which can contain a command to be executed like a string PROMPT_COMMAND
variable. When adding our hook to PROMPT_COMMAND, we preserve its type
(string or array) to be minimally intrusive. This also matches direnv's
approach.

Bash 5.3 introduced support for function substitution, which is an even
more efficient way to run code from PS0, so we use that when available.
Otherwise, we use the more traditional command substitution approach.

Earlier versions of bash (such as 3.2, which still ships with macOS)
continue to use the bash-preexec path. This gives us two code paths to
maintain, but I think that's preferable to fully maintaining our own
DEBUG trap-based system for older bash versions given that bash-preexec
has proven to work reliably in those environments. We also wouldn't
unlock any other user benefits aside from removing the bash-preexec
script dependency.

See: #3724, #7734
2026-02-10 15:36:22 -08:00
Mitchell Hashimoto
9e9dfe3ee1 Update iTerm2 colorschemes (#10612)
Upstream release:
https://github.com/mbadolato/iTerm2-Color-Schemes/releases/tag/release-20260202-151632-49169e9
2026-02-10 15:36:09 -08:00
Mitchell Hashimoto
68e0884f7a build(deps): bump namespacelabs/nscloud-cache-action from 1.4.0 to 1.4.1 (#10626)
Bumps
[namespacelabs/nscloud-cache-action](https://github.com/namespacelabs/nscloud-cache-action)
from 1.4.0 to 1.4.1.
<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.1</h2>
<h2>What's Changed</h2>
<ul>
<li>Add workflow to rebuild dist on Dependabot PRs by <a
href="https://github.com/rcrowe"><code>@​rcrowe</code></a> in <a
href="https://redirect.github.com/namespacelabs/nscloud-cache-action/pull/95">namespacelabs/nscloud-cache-action#95</a></li>
<li>Add spacectl-system-binary input and update actions toolkit by <a
href="https://github.com/rcrowe"><code>@​rcrowe</code></a> in <a
href="https://redirect.github.com/namespacelabs/nscloud-cache-action/pull/96">namespacelabs/nscloud-cache-action#96</a></li>
<li>Bump the minor-npm-dependencies group across 1 directory with 2
updates by <a
href="https://github.com/dependabot"><code>@​dependabot</code></a>[bot]
in <a
href="https://redirect.github.com/namespacelabs/nscloud-cache-action/pull/98">namespacelabs/nscloud-cache-action#98</a></li>
<li>Handle undefined mounts in mount response by <a
href="https://github.com/rcrowe"><code>@​rcrowe</code></a> in <a
href="https://redirect.github.com/namespacelabs/nscloud-cache-action/pull/99">namespacelabs/nscloud-cache-action#99</a></li>
<li>Handle undefined mounts in post phase by <a
href="https://github.com/rcrowe"><code>@​rcrowe</code></a> in <a
href="https://redirect.github.com/namespacelabs/nscloud-cache-action/pull/100">namespacelabs/nscloud-cache-action#100</a></li>
</ul>
<p><strong>Full Changelog</strong>: <a
href="https://github.com/namespacelabs/nscloud-cache-action/compare/v1.4.0...v1.4.1">https://github.com/namespacelabs/nscloud-cache-action/compare/v1.4.0...v1.4.1</a></p>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="4d61c33d0b"><code>4d61c33</code></a>
Handle undefined mounts in post phase (<a
href="https://redirect.github.com/namespacelabs/nscloud-cache-action/issues/100">#100</a>)</li>
<li><a
href="8d12890c97"><code>8d12890</code></a>
Handle undefined mounts in mount response (<a
href="https://redirect.github.com/namespacelabs/nscloud-cache-action/issues/99">#99</a>)</li>
<li><a
href="76d2e2e1ae"><code>76d2e2e</code></a>
Bump the minor-npm-dependencies group across 1 directory with 2 updates
(<a
href="https://redirect.github.com/namespacelabs/nscloud-cache-action/issues/98">#98</a>)</li>
<li><a
href="215dc8ca20"><code>215dc8c</code></a>
Add spacectl-system-binary input and update actions toolkit (<a
href="https://redirect.github.com/namespacelabs/nscloud-cache-action/issues/96">#96</a>)</li>
<li><a
href="3245166426"><code>3245166</code></a>
Add workflow to rebuild dist on Dependabot PRs (<a
href="https://redirect.github.com/namespacelabs/nscloud-cache-action/issues/95">#95</a>)</li>
<li>See full diff in <a
href="d985186ac2...4d61c33d0b">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.0&new-version=1.4.1)](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-10 15:35:56 -08:00
Gerry Agbobada
960b181df7 i18n: Add fr_FR translations (#10636)
Co-authored-by: flou <flou@proton.me>
2026-02-10 20:54:19 +01:00
Nico Geesink
e41a86820c i18n: Update translations for nl_NL (#10637) 2026-02-10 20:01:02 +01:00
Balázs Szücs
98f552de89 i18n: rephrase a key to be more natural. 2026-02-10 19:15:07 +01:00
Balázs Szücs
7c50a5484f i18n: update Hungarian translations and revision date 2026-02-10 19:08:51 +01:00
Yi-Jyun Pan
7e7c78de95 i18n: update zh_TW translation 2026-02-10 15:54:02 +08:00
tdslot
500cd9837c feat(i18n): complete Lithuanian (lt_LT) translation for v1.3
- Added translations for 10 previously untranslated strings
- Translated search overlay messages (Find, Previous Match, Next Match)
- Translated error messages (OpenGL context, read-only mode)
- Translated notification messages (Command Finished, Command Succeeded, Command Failed)
- Updated PO-Revision-Date to 2026-02-10

All 71 messages are now fully translated in Lithuanian.
2026-02-10 08:17:44 +01:00
Jeffrey C. Ollie
41924c2d0e feat(nix): enhance overlays (#10628)
uses the `final` fixed point package set as the source of dependencies
for the ghostty package created by the overlay - allows simpler
overriding of dependencies when using the overlay

no AI used
2026-02-09 18:02:09 -06:00
Kat
5726ac8316 i18n: update es_AR Spanish translations for 1.3 (#10641)
Related to https://github.com/ghostty-org/ghostty/issues/10632
2026-02-09 22:25:47 +00:00
Alan Moyano
ed8c06fede i18n: update translation metadata 2026-02-09 17:51:01 -03:00
Alan Moyano
69bcca73d5 i18n: update translation for more consistent look 2026-02-09 17:50:08 -03:00
Alan Moyano
9c0a003c1e i18n: update es_AR Spanish translations for 1.3 2026-02-09 17:44:18 -03:00