Commit Graph

259 Commits (main)

Author SHA1 Message Date
mitchellh 3d5d170f8b deps: Update iTerm2 color schemes 2025-12-14 00:15:58 +00:00
Mitchell Hashimoto 4c2fb7ae0e
Update mirror for direct deps 2025-12-13 13:53:46 -08:00
Mitchell Hashimoto 581ed72efc
gtk: support GTK 4.20 media queries in runtime & custom css (#9520) 2025-12-10 12:55:25 -08:00
mitchellh 6e081b2c81 deps: Update iTerm2 color schemes 2025-12-07 00:15:51 +00:00
mitchellh 643c5e00a0 deps: Update iTerm2 color schemes 2025-11-30 00:16:02 +00:00
Jacob Sandlund 2b6c309217 Update uucode to latest 2025-11-24 08:29:27 -05:00
Jacob Sandlund 6e0e1d1388 update uucode to latest 2025-11-23 23:05:03 -05:00
Jacob Sandlund 97926ca307 Update uucode to the latest, for future width and grapheme break changes 2025-11-23 17:26:25 -05:00
Jeffrey C. Ollie 701a2a1e05
gtk: update nixpkgs and zig-gobject for Gnome 49 2025-11-20 08:28:25 -06:00
mitchellh ead01e8ffd deps: Update iTerm2 color schemes 2025-11-16 00:15:33 +00:00
mitchellh 49abd901e4 deps: Update iTerm2 color schemes 2025-11-09 00:15:23 +00:00
Mitchell Hashimoto 3d58dc51c9
terminal: keypad variation sequences should respect VS16
This fixes the VS16 issues found in this test:
https://ucs-detect.readthedocs.io/sw_results/ghostty.html#ghostty
This is also a more robust way to handle VS15/16 in general. 

This commit also changes our propeties to be a packed struct which
reduces its size from 4 bytes to 1 and likewise drops our unicode table
size 4x.
2025-11-06 07:05:57 -08:00
Mitchell Hashimoto 631c58a302
unicode: update uucode, force emoji modifiers width 2 as standalone
This updates uucode. As part of this, the wcwidth implementation was
updated (in uucode) to make emoji modifiers width ZERO. But if they're
standalone, we want them as width 2.

So this also contains a change to force them as width 2 for our width
calculation. This only matters for standalone emoji modifiers, because
when they form a valid grapheme we don't use this width calculation.
2025-11-05 14:57:48 -08:00
mitchellh 9e2caedb7d deps: Update iTerm2 color schemes 2025-11-02 00:15:16 +00:00
github-actions[bot] 75b4e8b5a7
Update iTerm2 colorschemes (#9349)
Upstream release:
https://github.com/mbadolato/iTerm2-Color-Schemes/releases/tag/release-20251020-150521-589c0ea

Co-authored-by: mitchellh <1299+mitchellh@users.noreply.github.com>
2025-10-25 18:11:16 -07:00
mitchellh 92c9ba67d5 deps: Update iTerm2 color schemes 2025-10-19 00:15:26 +00:00
Jeffrey C. Ollie c91bfb9dd5
bump version for development (#9218) 2025-10-15 11:55:30 -07:00
Jeffrey C. Ollie bdd2e4d734
build: more Zig 0.15.2 updates (#9217)
- update nixpkgs now that Zig 0.15.2 is available in nixpkgs
- drop hack that worked around compile failures on systems with more
than 32 cores
- enforce patch version of Zig
2025-10-15 11:55:11 -07:00
Jeffrey C. Ollie 54b021f6d6
core: update zf to remove zg transitive dep (#9208) 2025-10-14 12:04:42 -07:00
Tim Culverhouse 797c54a2d7
deps: update libvaxis (#9177)
Update libvaxis. The latest commit of libvaxis includes `uucode` as the
unicode
library. `uucode` has a much cleaner API and is actively developed by a
Ghostty
maintainer (@jacobsandlund). This also has the advantage of removing the
last
transitive dependency Ghostty has that is hosted on codeberg, which
separates us
from the frequent outages.


Disclosures: I used AI to debug the import issue in `boo.zig`

---------

Co-authored-by: Mitchell Hashimoto <m@mitchellh.com>
2025-10-13 06:45:21 -07:00
github-actions[bot] aa0c68ee5e
Update iTerm2 colorschemes (#9155)
Upstream release:
https://github.com/mbadolato/iTerm2-Color-Schemes/releases/tag/release-20251006-150522-c07f0e8

Co-authored-by: mitchellh <1299+mitchellh@users.noreply.github.com>
2025-10-11 19:44:59 -07:00
Chris Marchesi 36b3c1fa47
deps: update z2d to v0.9.0
Release notes at:
 https://github.com/vancluever/z2d/blob/v0.9.0/CHANGELOG.md

This release brings our Zig 0.15.x branch into main, now that Ghostty is
on it too.

Additionally, this adds major speedups to the default path (filling with a
solid color using the default operator).
2025-10-09 12:48:52 -07:00
Jeffrey C. Ollie 76d9d731f0
update to the latest zf 2025-10-06 09:53:42 -05:00
mitchellh cef99250a7 deps: Update iTerm2 color schemes 2025-10-05 00:16:06 +00:00
Mitchell Hashimoto f0eb46ea26
Add update-mirror Nu script to ease mirror updating for deps
This adds a new script we can manually run that downloads all the files
that need to be uploaded to the mirror and updates our build.zig.zon.
The upload still happens manually [by me] but this simplifies the task
greatly.
2025-10-03 07:39:41 -07:00
Mitchell Hashimoto 22caf60263
update a bunch of required Zig versions to 0.15 2025-10-03 07:10:44 -07:00
Mitchell Hashimoto d02770d292
zig-15: build binary builds 2025-10-03 07:10:41 -07:00
Mitchell Hashimoto 16deea2761
nuke ziglyph from orbit
Since we now use uucode, we don't need ziglyph anymore. Ziglyph was kept
around as a test-only dep so we can verify matching but this is
complicating our Zig 0.15 upgrade because ziglyph doesn't support Zig
0.15. Let's just drop it.
2025-09-30 12:17:10 -07:00
Mitchell Hashimoto d261c0a60b
Merge branch 'main' into jacob/uucode 2025-09-30 06:52:07 -07:00
mitchellh 89fc7139ae deps: Update iTerm2 color schemes 2025-09-28 00:15:36 +00:00
Jacob Sandlund 1d89a63f29 Use commit pointed to by signed tag `v0.1.0-zig-0.14` 2025-09-25 10:00:03 -04:00
Gautier Ben Aïm 22cf46aefc
use 0.14.1 2025-09-25 09:08:57 +02:00
Gautier Ben Aïm b0e85d900e
use build.zig.zon instead 2025-09-23 21:14:09 +02:00
Jacob Sandlund b01770c21c Merge remote-tracking branch 'upstream/main' into jacob/uucode 2025-09-23 09:36:41 -04:00
Mitchell Hashimoto bc95317ba4
build: many more lazy dependencies, defer deps add unless needed (#8826)
This makes more dependencies lazy. This has a practical effect of
reducing the number of dependencies that need to be downloaded when
running certain zig build steps.

This is all limited because we're blocked on an upstream Zig issue:
https://github.com/ziglang/zig/issues/21525 This prevents us from fully
avoiding downloading many dependencies, but at least they're relatively
small.

One major improvement here is the usage of `lazyImport` for
`zig-wayland` that prevents downloading `zig_wayland` unconditionally on
all platforms. On macOS, we don't download this at all anymore.

Another, weirder change is that all our transitive dependencies are now
marked lazy (e.g. glslang's upstream source) even if the glslang build
always requires it. This was necessary because without this, even if we
simply referenced glslang in the root build.zig, it would force the
source package to download unconditionally. This no longer happens.

cc @pluiedev Minor improvements here, doesn't change the long term plan,
but improves things in the interim.
2025-09-21 13:43:31 -07:00
Mitchell Hashimoto 17498ce122
build: many more lazy dependencies, defer deps add unless needed
This makes more dependencies lazy. This has a practical effect of
reducing the number of dependencies that need to be downloaded when
running certain zig build steps.

This is all limited because we're blocked on an upstream Zig issue:
https://github.com/ziglang/zig/issues/21525 This prevents us from
fully avoiding downloading many dependencies, but at least they're
relatively small.

One major improvement here is the usage of `lazyImport` for
`zig-wayland` that prevents downloading `zig_wayland` unconditionally on
all platforms. On macOS, we don't download this at all anymore.

Another, weirder change is that all our transitive dependencies are now
marked lazy (e.g. glslang's upstream source) even if the glslang build
always requires it. This was necessary because without this, even if we
simply referenced glslang in the root build.zig, it would force the
source package to download unconditionally. This no longer happens.
2025-09-21 13:26:09 -07:00
mitchellh 6e1eb67d94 deps: Update iTerm2 color schemes 2025-09-21 00:15:05 +00:00
Jeffrey C. Ollie fbaacc235b
gtk: use zig-gobject generated from ghostty-org/zig-gobject 2025-09-20 01:39:59 -05:00
Jacob Sandlund cf3b514efc pr feedback: `get`, remove todos for case_folding_simple 2025-09-19 01:24:13 -04:00
Jacob Sandlund 69594119c3 fix up diff from benchmarks, and add tests against ziglyph 2025-09-18 11:46:05 -04:00
Jacob Sandlund 3275903611 update uucode and cleanups 2025-09-18 09:26:09 -04:00
Jacob Sandlund ae21e2c8cf Merge remote-tracking branch 'upstream/main' into jacob/uucode 2025-09-17 02:34:06 -04:00
Mitchell Hashimoto 1201bc27d2
bump the version for development 2025-09-15 11:01:14 -07:00
Mitchell Hashimoto 693d64b5f8
pin iTerm2 themes dependency
There is an upstream bug where subsequent releases will nuke prior
released packages, resulting in 404s. Not good!
2025-09-15 09:31:09 -07:00
mitchellh 5e52659d51 deps: Update iTerm2 color schemes 2025-09-15 15:57:37 +00:00
Mitchell Hashimoto 510f4e474c
Set version to 1.2.0 2025-09-15 08:25:54 -07:00
azhn ac07cf5270 Use ghostty-specific themes release 2025-09-13 06:52:44 +10:00
Chris Marchesi 8b56f80e56
deps: update z2d to v0.8.1
Release notes at:
  https://github.com/vancluever/z2d/blob/v0.8.1/CHANGELOG.md

Small release again, just keeping up to date with releases in
anticipation of the Ghostty 1.2.0 release.
2025-09-11 10:16:52 -07:00
Jacob Sandlund 4d37853f6c benchmark sources 2025-09-11 10:30:01 -04:00
Jacob Sandlund cffa52e658 changes after benchmarking 2025-09-09 11:38:10 -04:00