6571 Commits

Author SHA1 Message Date
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
Mitchell Hashimoto
af132a3838 Merge pull request #1872 from qwerasd205/various-performance
Various Performance Changes
2024-06-23 09:51:21 -07:00
Mitchell Hashimoto
eebc7d4c3a small stylistic changes 2024-06-23 09:44:54 -07:00
isabel
982c01feb5 nix: inherit lib from unstable 2024-06-23 13:22:53 +01:00
Mitchell Hashimoto
3b36dbb53e font/coretext: cached fonts uses unmanaged arraylist 2024-06-22 20:56:23 -07:00
Mitchell Hashimoto
2607446235 font: add noop endFrame calls to all other shapers 2024-06-22 20:49:10 -07:00
Mitchell Hashimoto
9271fd50b6 cache_table and ref_counted_set work on 32-bit machines 2024-06-22 20:45:30 -07:00
Mitchell Hashimoto
71353d016e coretext shaper owns CFReleaseThread, works on both Metal and OpenGL now 2024-06-22 20:42:59 -07:00
Mitchell Hashimoto
4325dc51bc font: coretext shaper owns the cf release pool 2024-06-22 20:32:24 -07:00
Mitchell Hashimoto
3038cb4979 Move CFReleaseThread to os package 2024-06-22 20:15:59 -07:00
Mitchell Hashimoto
4aa130b0d1 CacheTable tests, style changes 2024-06-22 20:08:02 -07:00
Mitchell Hashimoto
8258e9029c nix: revert back to 23.05 for now 2024-06-22 19:37:49 -07:00
isabel
81344faeca build(nix): include more into source; ignore flake comapct 2024-06-21 18:19:14 +01:00
isabel
a73e0183d3 refactor(nix): specify source
this should reduce the amount of rebuilds that need to occur that due to
the souce changing invalidating the cache

also note that a update to nixpkgs-stable had to occur such that the new
lib functions existed
2024-06-21 15:17:43 +01:00
Mitchell Hashimoto
89fa275eeb Merge pull request #1868 from ghostty-org/invert-constrained
renderer/opengl: invert cursor cell text when glyph is constrained
2024-06-18 18:02:50 -04:00
Mitchell Hashimoto
6f43c01b76 renderer/opengl: invert cursor cell text when glyph is constrained
Fixes #1867
2024-06-18 14:59:49 -07:00
Mitchell Hashimoto
067db2af18 Merge pull request #1858 from SkamDart/focus-follows-mouse
feat: focus follows mouse for splits
2024-06-18 17:09:54 -04:00
Mitchell Hashimoto
50019bc766 minor comment changes 2024-06-18 17:09:29 -04:00
Mitchell Hashimoto
ba1ea858cd Merge pull request #1863 from robbiev/fix-macos-inspector-focus
macos: regain window focus on inspector toggle
2024-06-18 17:00:54 -04:00
Mitchell Hashimoto
bf04942d15 Merge pull request #1862 from robbiev/fix-nix-develop
Nix dev env to not depend on deleted Zig release
2024-06-17 22:27:50 -04:00
Robbie Vanbrabant
693a599084 macos: regain window focus on inspector toggle
Fixes #734

I don't know much about SwiftUI, but here's why I think this works.

- Moving the `inspectorVisible` logic to an `onChange` ensures the view
  has at least seen that change.
- The dispatch to the main thread is still necessary to ensure the view
  hierarchy has completely updated after `inspectorVisible`.

Note that this fix is to correctly regain focus. We still lose window
focus very briefly.
2024-06-14 19:22:50 +01:00
Qwerasd
3f3db4896b add CFReleasePool handling to OpenGL renderer 2024-06-14 02:07:17 -04:00