7458 Commits

Author SHA1 Message Date
Paul Berg
9c8a9f3d6b adw: respect gtk-wide-tabs
update
2024-09-11 15:42:05 +02:00
Paul
42c93d89fc adw: move notebook to its own file 2024-09-11 15:42:03 +02:00
Paul
0e22695ec4 gtk: use adwaita tab view when possible
add tab bar view
2024-09-11 15:35:22 +02:00
Mitchell Hashimoto
60383fd2a9 Merge pull request #1992 from hqnna/update-config
macOS Autoupdate Configuration Option(s)
2024-09-10 22:11:19 -07:00
Mitchell Hashimoto
bcfe7d0f6c macos: update comment on why we don't start updater 2024-09-10 21:55:58 -07:00
Mitchell Hashimoto
359272a5f5 macos: start Sparkle after loading config 2024-09-10 21:54:40 -07:00
hanna
fd9d38481b refactor: attempted autoupdate configuration 2024-09-10 21:40:17 -07:00
Mitchell Hashimoto
5e553f2743 Merge pull request #2184 from jcollie/basic-cli-crash-report
feat: basic +crash-report cli action
2024-09-10 21:25:50 -07:00
Mitchell Hashimoto
11c3ca69f5 cli/crash-report: make it simpler (uglier, honestly) 2024-09-10 21:15:40 -07:00
Mitchell Hashimoto
4e16624676 crash: add directory listing, allocation free 2024-09-10 21:15:09 -07:00
Jeffrey C. Ollie
1a6c928951 update README 2024-09-10 20:43:00 -07:00
Jeffrey C. Ollie
6292cdec0e remove unnecessary imports 2024-09-10 20:43:00 -07:00
Jeffrey C. Ollie
d907cebae9 feat: basic +crash-report cli action
Only lists crash reports right now. Viewing and/or submitting crash
reports to come later.
2024-09-10 20:43:00 -07:00
Mitchell Hashimoto
b18598c242 Merge pull request #2215 from jcollie/fix-selection-string
fix: Surface.selectionString should return sentinel slice
2024-09-10 16:21:49 -07:00
Jeffrey C. Ollie
f1473a1464 fix: Surface.selectionString should return sentinel slice
The underlying API call returns a sentinel slice so selectionString
should do the same or there are problems later trying to free the
allocated memory.
2024-09-10 17:22:29 -05:00
Mitchell Hashimoto
67abd8804e Merge pull request #2208 from pluiedev/feat/document-common-nixos-issues
README: document common issues on NixOS
2024-09-10 11:24:30 -07:00
Mitchell Hashimoto
b7c9dafab3 prettier 2024-09-10 11:23:55 -07:00
Mitchell Hashimoto
f60bee6411 Merge pull request #2213 from rockorager/main
graphics: set default transmission format as .rgba
2024-09-10 11:08:35 -07:00
Tim Culverhouse
723d79c9de graphics: set default transmission format as .rgba
The default format for transmission is defined as RGBA (f=32) in the
Kitty Graphics specification. When no format is specified, this can
result in an error for length checking.

Fixes: #2212
Reference: https://sw.kovidgoyal.net/kitty/graphics-protocol/#control-data-reference
2024-09-10 11:03:51 -07:00
Leah Amelia Chen
f0db0c850b renderer(metal): fix tests 2024-09-09 17:13:33 +02:00
Leah Amelia Chen
83bcf939fd config: make blink interval configurable 2024-09-09 17:13:33 +02:00
Leah Amelia Chen
789cec1b8b config: add text-blink option to opt out of text blinking 2024-09-09 17:13:33 +02:00
Leah Amelia Chen
7d150b050c renderer: make blinking more robust
As it turns out you can just set an "always visible" flag for the cursor
when a user starts typing, and unset it when the next blink occurs.

Note to self: maybe consider spending less time coding at 1am.
2024-09-09 17:13:33 +02:00
Leah Amelia Chen
7f22f15e5b renderer: decouple text blink from cursor blink
Coupling the text blink to the cursor blink leads to interesting
problems, such as the text blink stopping when the user is typing,
as the cursor is coded to stop blinking during typing. We now make the
text blink on a separate timer that drives the cursor blink, so that
text input events can easily cancel the cursor blink, waiting for it to
be re-synchronized to the text blink.
2024-09-09 17:13:33 +02:00
Leah Amelia Chen
4834c706db renderer(metal): set defaults for cell mode enum
To reduce code duplication and bring it more in line with the OpenGL
equivalent.
2024-09-09 17:13:33 +02:00
Matt Robenolt
99742879c2 metal: fix compilation errors with blinking 2024-09-09 17:13:33 +02:00
Leah Amelia Chen
b68f420376 renderer(metal): fix shader 2024-09-09 17:13:33 +02:00
Leah Amelia Chen
49415ef1d2 renderer(metal): implement blinking (untested!)
See a9561a46 (this commit's OpenGL equivalent) for more information.
Untested for now since I don't have a macOS setup.
2024-09-09 17:13:33 +02:00
Leah Amelia Chen
1d04c52bb2 renderer(opengl): implement blinking cells, make render modes a bitfield
The render modes in the vertex shader has always been... strange. It
kind of functioned like an enum and a bitfield at the same time. To
comfortably accommodate adding blink information on cells, I've
refactored it to make it into a true bitfield -- this made the logic
on the Zig side much simpler, with the tradeoff being that logic is
slightly harder to read in the shader code as GLSL does not support
implicitly casting integers after bitmasking to booleans.

The blink is currently synchronized to the cursor blinking (which is
what most other terminal emulators do), though we should be able to
have a separate cell blink timer in the future should the need appear.
2024-09-09 17:13:33 +02:00
Leah Amelia Chen
8502034dae README: document common issues on NixOS 2024-09-09 10:45:44 +02:00
Mitchell Hashimoto
12bf107bcb update README 2024-09-08 21:30:07 -07:00
Mitchell Hashimoto
d4feae67c8 Merge pull request #2207 from mohshami/fedora_install_doc
Add package names for Fedora variants
2024-09-08 09:40:11 -07:00
Mohammad H. AlShami
20fdd6ee9f Fix copied mistake 2024-09-07 13:10:59 -05:00
Mohammad H. AlShami
4ee615294b Add package names for Fedora variants 2024-09-07 13:06:36 -05:00
Mitchell Hashimoto
4501991325 Merge pull request #2201 from qwerasd205/wide-boundary-conds
Wide cell boundary conditions in ECH & DCH + soft-wrap reset correctness
2024-09-06 19:00:15 -07:00
Qwerasd
5138801b7b comment 2024-09-06 18:03:56 -04:00
Qwerasd
9669332134 terminal: cursorResetWrap should not reset wrap_continuation 2024-09-06 17:57:14 -04:00
Mitchell Hashimoto
8f47581e22 terminal: add test for wide character on right margin boundary 2024-09-06 14:28:04 -07:00
Mitchell Hashimoto
f4052fd824 terminal: fix uninitialized memory access when kitty color protocol 2024-09-06 14:08:33 -07:00
Qwerasd
057f218c9e perf(terminal): specialize splitCellBoundary to cursor row
+ do some abstraction leakage in `cursorResetWrap`, since they're both
used in hot functions for TUI stuff so performance is important.
2024-09-06 13:26:57 -04:00
Mitchell Hashimoto
c16a4fd95e Merge pull request #2203 from ghostty-org/crash-envelope
Crash envelope rich decoding, fix parsing multiple items, serialization
2024-09-06 09:53:37 -07:00
Mitchell Hashimoto
b2696ee6fa crash: envelope parsing handles multiple payloads with length properly 2024-09-06 09:48:21 -07:00
Qwerasd
8d12044f1d Terminal: fix ECH & DCH wide char boundary cond. behavior 2024-09-06 12:35:11 -04:00
Qwerasd
04271c6a07 test(Terminal): test ECH wide char boundary conditions 2024-09-06 12:35:11 -04:00
Qwerasd
1692a82b33 test(Terminal): test DCH wide char boundary conditions 2024-09-06 12:35:11 -04:00
Mitchell Hashimoto
4acbdbc038 typos 2024-09-06 09:23:33 -07:00
Mitchell Hashimoto
646b8a4cdd crash: parse attachments from sentry envelope 2024-09-06 09:21:36 -07:00
Mitchell Hashimoto
6788aefe95 crash: data model for encoded vs decoded items 2024-09-06 08:50:18 -07:00
Mitchell Hashimoto
ee6fd80746 crash: envelope encoder 2024-09-05 21:24:14 -07:00
Mitchell Hashimoto
cc59c5d5d9 Merge pull request #2202 from ghostty-org/push-xqxploovxolw
font/sprite: avoid invalid glyph if unsupported codepoint is attempted
2024-09-05 20:26:41 -07:00