Mitchell Hashimoto
1f08478178
Merge pull request #2188 from ghostty-org/push-qltovxupnrxr
...
nix: remove ZLS
2024-09-03 15:21:42 -07:00
Mitchell Hashimoto
a9deb37071
nix: remove ZLS
...
Fixes #2171
ZLS has caused us issues in our Nix shell before and I noted when we
first added it that we probably shouldn't. We now pin to release
versions of Zig so I think its reasonable to expect developers to have
ZLS installed themselves with the proper version or not use it at all.
2024-09-03 15:18:04 -07:00
Mitchell Hashimoto
f0c4afdf9c
termio: set crash threadlocal data for exec reader thread
2024-09-03 14:31:05 -07:00
Mitchell Hashimoto
f45cde0b95
Merge pull request #2187 from ghostty-org/kitty-kbd
...
kitty kbd: progressive enhancement `=` mode off by one
2024-09-03 12:03:03 -07:00
Mitchell Hashimoto
e014c68cf0
kitty kbd: progressive enhancement =
mode off by one
...
Fixes #2161
2024-09-03 11:59:25 -07:00
Mitchell Hashimoto
12efa8ec24
Merge pull request #2186 from ghostty-org/kitty-fix
...
kitty graphics: respond OK with metadata on display actions
2024-09-03 11:11:33 -07:00
Mitchell Hashimoto
2acd7e8a42
kitty: respond OK with metadata on display transmissions
2024-09-03 11:05:16 -07:00
Mitchell Hashimoto
e9c83a5f64
kitty: ENOENT when image ID not found for placement
2024-09-03 10:38:10 -07:00
Mitchell Hashimoto
492b113de6
update README again
2024-09-03 10:28:59 -07:00
Mitchell Hashimoto
84f4743eed
update README to warn about crash report env vars
2024-09-03 10:26:10 -07:00
Mitchell Hashimoto
d885c81423
Merge pull request #2178 from jcollie/kitty-graphics-performance
...
kitty graphics: performance enhancements
2024-09-02 21:19:41 -07:00
Mitchell Hashimoto
5f1c9dd0df
pkg/wuffs: use proper apple include paths on darwin targets
2024-09-02 21:02:36 -07:00
Mitchell Hashimoto
781a721fc7
pkg/wuffs: fix builds for 32-bit systems
2024-09-02 20:57:23 -07:00
Mitchell Hashimoto
8ffa7328a9
renderer/metal: use wuffs for format conversion
2024-09-02 20:47:07 -07:00
Mitchell Hashimoto
de612934a0
some tweaks for wuffs
2024-09-02 20:47:07 -07:00
Mitchell Hashimoto
c6e187865a
pkg/wuffs: define build defines separately, not in defs.zig
2024-09-02 20:47:07 -07:00
Jeffrey C. Ollie
d6e5c8e20f
remove unnecessary @constCast
2024-09-02 20:47:07 -07:00
Jeffrey C. Ollie
6edeb45e7e
kitty graphics: address review comments
...
- move wuffs code from src/ to pkg/
- eliminate stray debug logs
- make logs a warning instead of an error
- remove initialization of some structs to zero
2024-09-02 20:47:07 -07:00
Mitchell Hashimoto
e6c3ba2cf9
update zig cache hash
2024-09-02 20:47:07 -07:00
Jeffrey C. Ollie
151bb030de
fix typos
2024-09-02 20:45:08 -07:00
Jeffrey C. Ollie
6dbb82c259
kitty graphics: performance enhancements
...
Improve the performance of Kitty graphics by switching to the WUFFS
library for decoding PNG images and for "swizzling" G, GA, and RGB data
to RGBA formats needed by the renderers.
WUFFS claims 2-3x performance benefits over other implementations, as
well as memory-safe operations.
Although not thorougly benchmarked, performance is on par with Kitty's
graphics decoding.
https://github.com/google/wuffs
2024-09-02 20:45:08 -07:00
Mitchell Hashimoto
b8b89acf5e
Merge pull request #2180 from xdBronch/push-wqyprmonmtnx
...
make +version hyperlink to the github commit
2024-09-02 18:50:09 -07:00
xdBronch
b748ae6c0f
make +version hyperlink to the github commit
2024-09-02 18:48:49 -07:00
Mitchell Hashimoto
ee95b8373b
Merge pull request #2181 from injust/disable-fork-workflows
...
Stop GitHub workflow jobs from running on forks
2024-09-02 18:43:48 -07:00
Mitchell Hashimoto
2f32efbc82
Merge pull request #2173 from ghostty-org/crashlog
...
Initial Crash Logging
2024-09-02 10:35:27 -07:00
Mitchell Hashimoto
8f5eea6bf8
core: set crash state in surface in various places
2024-09-02 10:30:09 -07:00
Mitchell Hashimoto
f07cda07d6
update README about crashes
2024-09-02 10:14:32 -07:00
Mitchell Hashimoto
bae12993b3
crash: tag the thread type
2024-09-02 10:02:14 -07:00
Mitchell Hashimoto
d8cc19612f
crash: beforeSend needs to add contexts to the event directly
2024-09-02 09:55:57 -07:00
Mitchell Hashimoto
d499f7795b
input: crash binding can configure which thread to crash
2024-09-02 09:44:35 -07:00
Justin Su
b27667fcfc
Don't run GitHub workflows on forks
2024-09-02 02:27:22 -04:00
Mitchell Hashimoto
d8fc54d1bf
Merge pull request #2177 from jcollie/kitty-graphics-local-more
...
kitty graphics: fix usage of "m" key for local-only transmission mediums
2024-09-01 21:19:05 -07:00
Jeffrey C. Ollie
5e925db521
kitty graphics: fix usage of "m" key for local-only transmission mediums
...
If the transmission medium is a local-only medium, ignore the "m"
key. The Kitty graphics protocol specification does not explicitly
call out this behavior (although the "m" key is only mentioned in
connection with remote clients) but that's how it's implemented in
Kitty and at least one client (mpv) relies on this behavior when
using the shared memory transmission medium.
https://sw.kovidgoyal.net/kitty/graphics-protocol/#the-transmission-medium
ccc3bee9af/kitty/graphics.c (L547-L592)
2024-09-01 21:10:08 -07:00
Mitchell Hashimoto
5d476135c5
terminal: do not run page integrity checks unless slow runtime safety
2024-09-01 21:02:44 -07:00
Mitchell Hashimoto
8f477b00da
renderer/termio attach thread local state for crash capture
2024-09-01 14:15:12 -07:00
Mitchell Hashimoto
f0916d58e8
crash: try to attach dimensions to the crash report
2024-09-01 14:15:11 -07:00
Mitchell Hashimoto
37577630ac
crash: add build mode to sentry tags
2024-09-01 10:12:34 -07:00
Mitchell Hashimoto
5ade197f91
Merge pull request #2175 from qwerasd205/pagelist-fix
...
fix(terminal/PageList): update self.cols at start of resizeCols
2024-09-01 09:58:39 -07:00
Qwerasd
7fb2bd16a9
fix(terminal/PageList): update self.cols at start of resizeCols
...
It's possible for `self.grow` to be called within the body of the
function, and `self.grow` uses `self.cols` to create a new page if
there's no more room in the current one.
2024-09-01 09:55:00 -07:00
Mitchell Hashimoto
a947e20826
Merge pull request #2174 from ghostty-org/release-safe
...
Build ReleaseSafe builds for testing, make them more usable
2024-08-31 21:50:03 -07:00
Mitchell Hashimoto
0ab3d964dd
apprt/gtk: show debug warning whenever runtime safety is on
2024-08-31 21:38:02 -07:00
Mitchell Hashimoto
6cf61f4d7b
macos: show debug build warning even with releasesafe for now
2024-08-31 21:37:22 -07:00
Mitchell Hashimoto
9043ca470b
ci: release-pr only on dispatch
2024-08-31 21:32:54 -07:00
Mitchell Hashimoto
ac2a0a04d4
ci: build releasesafe builds for macOS
2024-08-31 21:32:45 -07:00
Mitchell Hashimoto
6aab430caf
terminal: disable slow safety tests in releasesafe
2024-08-31 21:14:12 -07:00
Mitchell Hashimoto
49e56a9057
input: add crash binding action, remove key input crash
2024-08-31 20:19:06 -07:00
Mitchell Hashimoto
9ce789cc85
Merge pull request #2060 from jcollie/gtk-compatibility
...
Conditional compilation against different GTK versions
2024-08-31 20:04:49 -07:00
Jeffrey C. Ollie
bbb204ac85
rename gtkVersionMinimum->gtkVersionAtLeast for consistency
2024-08-31 19:16:43 -07:00
Jeffrey C. Ollie
b6c943386c
Conditional compilation against different GTK versions
...
Adds a comptime function to enable conditional compilation against
different GTK versions that have added new API calls in newer versions
of GTK.
Use this function to get fractional scaling information for GTK
surfaces, which is only available with GTK 4.12+.
2024-08-31 19:15:24 -07:00
Mitchell Hashimoto
e7cbeba140
pty: reset all signals after fork
2024-08-31 15:12:45 -07:00