6992 Commits

Author SHA1 Message Date
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
Mitchell Hashimoto
2c2a830aa6 pkg/oniguruma: call new functions 2024-06-24 15:16:24 -07:00
Gordon Cassie
c967a35abb Fix some basic build errors. 2024-06-24 15:16:24 -07:00
Mitchell Hashimoto
53423f1071 0.13 conversions 2024-06-24 15:16:24 -07:00
Mitchell Hashimoto
eadd2dc5b0 update deps 2024-06-24 15:16:24 -07:00
Mitchell Hashimoto
a58821ea34 update mach 2024-06-24 15:16:24 -07:00
Mitchell Hashimoto
c0e79e0585 update a couple more deps 2024-06-24 15:16:24 -07:00
Mitchell Hashimoto
a3a90504d5 update ziglyph 2024-06-24 15:16:24 -07:00
Mitchell Hashimoto
a30e791c85 begin 0.13 update process -- very broken 2024-06-24 15:16:22 -07:00
Mitchell Hashimoto
68f0715926 Merge pull request #1877 from ghostty-org/zig_12_1
update to zig 0.12.1
2024-06-24 10:41:18 -07:00
Mitchell Hashimoto
d019bacb18 terminal: RefCountedSize should use usize for byte math
Related to #1873
2024-06-24 10:39:55 -07:00
Mitchell Hashimoto
06db3ba9e3 Merge pull request #1874 from PeterCardenas/lenient-vim-filepattern
Make vim ftdetect file pattern more flexible
2024-06-24 10:27:27 -07:00
Mitchell Hashimoto
20f4c86638 update to zig 0.12.1 2024-06-24 10:25:36 -07:00
Mitchell Hashimoto
ae4c5d44d7 Merge pull request #1875 from ghostty-org/machport
Update libxev to improve mach port resource usage
2024-06-23 21:42:14 -07:00
Mitchell Hashimoto
f062d6e405 Update libxev
Fixes #1836, upstream: efde8a1708
2024-06-23 21:32:44 -07:00
Peter Cardenas
2cd4732cee 🔧 more lenient file matching for ghostty config 2024-06-23 14:29:09 -07:00
Mitchell Hashimoto
b802e4bb9e Merge pull request #1870 from isabelroses/main
refactor(nix): specify source
2024-06-23 11:59:51 -07:00