6408 Commits

Author SHA1 Message Date
Mitchell Hashimoto
38c31e98f1 Merge pull request #1898 from ghostty-org/pressure-click
Mouse Pressure Support and QuickLook on macOS
2024-06-30 12:35:37 -04:00
Mitchell Hashimoto
46a0cbf9d7 macos: remove log statement 2024-06-30 09:18:13 -07:00
Mitchell Hashimoto
78dbee00e2 Merge pull request #1897 from coxley/unfocused-split-fill-doc
docs: Convert 'unfocused-split-fill' comments into doc block
2024-06-29 21:56:00 -04:00
Codey Oxley
73d3761f65 docs: Convert 'unfocused-split-fill' comments into doc block 2024-06-29 21:27:23 -04:00
Mitchell Hashimoto
db29c10bce apprt: scale coretext font size for quicklook properly 2024-06-29 11:43:13 -05:00
Mitchell Hashimoto
afc172728f macos: offset quicklook box a bit to look better (imo) 2024-06-29 11:31:12 -05:00
Mitchell Hashimoto
9a78563428 add TODO for branch 2024-06-29 11:29:02 -05:00
Mitchell Hashimoto
26735f0e05 apprt: convert selection info to a single struct and C API 2024-06-29 11:23:14 -05:00
Mitchell Hashimoto
80700d524d macos: add API to get selection top-left for quicklook 2024-06-29 10:42:45 -05:00
Mitchell Hashimoto
4c3fbffa4b macos: return valid selection range 2024-06-29 10:42:45 -05:00
Mitchell Hashimoto
d5f27245d4 macos: hacky API to get a CTFont for QuickLook 2024-06-29 10:42:45 -05:00
Mitchell Hashimoto
280b8efacc macos: I don't need any custom quicklook stuff 2024-06-29 10:42:45 -05:00
Mitchell Hashimoto
99faeab649 macos: release pressure on mouseUp 2024-06-29 10:42:45 -05:00
Mitchell Hashimoto
6faeb9ba40 core: mouse pressure state and callbacks 2024-06-29 10:42:45 -05:00
Mitchell Hashimoto
c165cef0a6 macos: initialize some pressure click boilerplate 2024-06-29 10:42:44 -05:00
Mitchell Hashimoto
110ef5c9a5 Merge pull request #1894 from ghostty-org/sparkle
macos: update Sparkle to 2.6.3
2024-06-29 09:19:52 -04:00
Mitchell Hashimoto
c290a28667 macos: update Sparkle to 2.6.3
There are numerous fixes since our previous version (2.5.1) and I
believe at least one is one that users have hit where unarchiving didn't
work properly despite a properly built archive. I'm hoping this improves
that.

Besides this, there is one major security fix. I think it was low risk
to our project currently but I read through it and it is sensible to
protect against the case.
2024-06-29 08:11:36 -05:00
Mitchell Hashimoto
7220e904b4 Merge pull request #1893 from ghostty-org/scroll-full
core: mouse within top/bottom 1 pixel should scroll selection
2024-06-29 00:49:34 -04:00
Mitchell Hashimoto
c3f78bc69d core: mouse within top/bottom 1 pixel should scroll selection
Fixes #1892

We previously required a negative y or y beyond the height of the window
but in a full screen scenario neither happen, so we add a one pixel
buffer instead where we still scroll.
2024-06-28 23:45:42 -05:00
Mitchell Hashimoto
4a0e148fe9 Merge pull request #1891 from NgoHuy/fix-issue-1667
Change GSK_RENDERER to opengl instead ngl which is set by default
2024-06-28 19:10:09 -04:00
Severus
49d10fb661 Fix issue 1667
When GTK 4.14 released, it used ngl by default with GSK_RENDERER. It
leads to destroy VAO state when we closed tab or detach tab. It handles
it incorrectly with opengl's engine.

This is a fix for that issue.
2024-06-28 23:35:55 +07:00
Mitchell Hashimoto
1d1733f86f Merge pull request #1890 from ghostty-org/oni
pkg/oniguruma: add additional header configs for build
2024-06-28 05:07:46 -07:00
Mitchell Hashimoto
1677e95f86 pkg/oniguruma: add additional header configs for build
Fixes #1887

There seems to be no issue adding these for our other platforms and it
appears to get builds on Chimera working.
2024-06-28 07:34:55 -04:00
Mitchell Hashimoto
18d1cb49b3 Merge pull request #1886 from injust/patch-1
fix a typo in Config.zig
2024-06-28 04:28:37 -07:00
Justin Su
4de204659d fix a typo in Config.zig 2024-06-25 19:58:21 -04:00
Mitchell Hashimoto
7741463f82 Merge pull request #1884 from ghostty-org/tabs
macos: titlebar tabs should do nothing if no titlebar
2024-06-25 10:13:34 -07:00
Mitchell Hashimoto
37eb4082fe config: reorder increase font size so it works on macOS menu
Fixes #1826
2024-06-25 10:10:52 -07:00
Mitchell Hashimoto
ed993faa56 Merge pull request #1883 from DieracDelta/jr/fix_link
docs: fix nix wiki 404 in README
2024-06-25 10:03:52 -07:00
Mitchell Hashimoto
c9c1bd0531 macos: titlebar tabs should do nothing if no titlebar
Fixes #1876
2024-06-25 10:03:05 -07:00
Justin Restivo
b0959ae189 docs: fix nix wiki 404 in README 2024-06-25 12:53:45 -04:00
Mitchell Hashimoto
7771d137c6 Merge pull request #1882 from ghostty-org/selcontained
terminal: if cloned screen is subset of selection, select full screen
2024-06-25 09:48:44 -07:00
Mitchell Hashimoto
1a22bc7f3b terminal: if cloned screen is subset of selection, select full screen
Fixes #1859
2024-06-25 09:45:36 -07:00
Mitchell Hashimoto
b26357a2fb Merge pull request #1880 from qwerasd205/fix-set
Fix a few RefCountedSet problems
2024-06-24 21:01:52 -07:00
Mitchell Hashimoto
b62806360b terminal: add test for pagelist to clear styles 2024-06-24 20:58:11 -07:00
Mitchell Hashimoto
368960d76a use +% for overflow 2024-06-24 20:37:11 -07:00
Mitchell Hashimoto
44c75931b4 terminal: ref counted set count is const 2024-06-24 20:33:28 -07:00
Qwerasd
93b038f490 fix(RefCountedSet): add NeedsRehash error and fix PSL counting bug
Prevent bad input from causing repeated OutOfMemory errors by erroring
with NeedsRehash instead when there are unused dead IDs available.

Additionally, properly decrement PSL stats when reviving dead IDs.
2024-06-24 20:32:22 -07:00
Qwerasd
35793ee7cc page integrity checks: detect zombie styles 2024-06-24 20:32:22 -07:00
Qwerasd
6f732cca55 RefCountedSet: use usize for cap to allow up to max Id+1 2024-06-24 20:32:22 -07:00
Qwerasd
a7e6f1a070 fix(terminal/PageList): clear cells in truncated rows during clone
Previously this was a memory leak, styles and graphemes in these rows
were never reclaimed.
2024-06-24 20:32:21 -07:00
Mitchell Hashimoto
69af3f3759 Merge pull request #1878 from sethvargo/sethvargo/docs
Clarify shell integration installation
2024-06-24 16:01:22 -07:00
Mitchell Hashimoto
2246da7207 prettier 2024-06-24 16:01:02 -07:00
Mitchell Hashimoto
00745f4caa update README for Zig 0.13 2024-06-24 15:36:05 -07:00
Mitchell Hashimoto
558bce388e Merge pull request #1879 from ghostty-org/zig13
Zig 0.13
2024-06-24 15:35:30 -07:00
Seth Vargo
881324b10b Clarify shell integration installation 2024-06-24 18:18:17 -04:00
Mitchell Hashimoto
98689413b4 disable AVX512 until Zig issue is resolved
https://github.com/ziglang/zig/issues/20414
2024-06-24 15:16:24 -07:00
Mitchell Hashimoto
c1ead2e2f1 nix: update to zig 0.13 2024-06-24 15:16:24 -07:00
Mitchell Hashimoto
ac0550e267 update libxev 2024-06-24 15:16:24 -07:00
Mitchell Hashimoto
cb76fe6634 fix linux builds 2024-06-24 15:16:24 -07:00
Mitchell Hashimoto
5eff2d88a2 nix: update package to zig 0.13 2024-06-24 15:16:24 -07:00