Commit graph

19203 commits

Author SHA1 Message Date
Kovid Goyal
28b7c238dc
Use a fresh cache dir for shader compilation test 2026-08-10 12:51:11 +05:30
Kovid Goyal
c97b71e66b
Nicer test cache dir name 2026-08-10 12:38:15 +05:30
Kovid Goyal
9f3a5bf6a8
Make the group index available to custom shaders 2026-08-10 12:29:50 +05:30
Kovid Goyal
de36058da8
Pass varying data in KittyTextures rather than as function paramters
The function signatures will be set in stone post release so pass all
data via structs so that future additions to the structs will t break
third party shaders
2026-08-10 12:25:06 +05:30
Kovid Goyal
4a7b87a4f5
Remove extern from custom shader vars declarations
Since we specialize and compiler shader separately for every occurrence
in the pipeline, it is no longer needed.
2026-08-10 12:03:56 +05:30
Kovid Goyal
6a32ee62c4
Cleanup custom shader compilation pipeline
Dispense with the no longer needed wrappers and instead
compile each shader separately for every time it occurs in the pipeline.

Fixes #10337
2026-08-10 11:51:54 +05:30
Kovid Goyal
79a1ad2b57
Cleanup docs 2026-08-10 10:28:21 +05:30
Kovid Goyal
e7d41ff7f4
Fix loading of pipeline files by absolute path 2026-08-10 10:16:37 +05:30
Kovid Goyal
d43cfeab9e
Merge branch 'dependabot/github_actions/actions-60c9a18892' of https://github.com/kovidgoyal/kitty 2026-08-10 09:22:43 +05:30
Kovid Goyal
201007f4e4
Merge branch 'dependabot/go_modules/all-go-deps-bb9c724ab4' of https://github.com/kovidgoyal/kitty 2026-08-10 09:22:28 +05:30
dependabot[bot]
1259c843c6
Bump github/codeql-action from 4.37.3 to 4.37.5 in the actions group
Bumps the actions group with 1 update: [github/codeql-action](https://github.com/github/codeql-action).


Updates `github/codeql-action` from 4.37.3 to 4.37.5
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](https://github.com/github/codeql-action/compare/v4.37.3...v4.37.5)

---
updated-dependencies:
- dependency-name: github/codeql-action
  dependency-version: 4.37.5
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: actions
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-08-10 03:45:45 +00:00
Kovid Goyal
0ee5119c31
Fix valid enum value tests 2026-08-10 09:15:00 +05:30
dependabot[bot]
691611eb89
Bump github.com/shirou/gopsutil/v4 in the all-go-deps group
Bumps the all-go-deps group with 1 update: [github.com/shirou/gopsutil/v4](https://github.com/shirou/gopsutil).


Updates `github.com/shirou/gopsutil/v4` from 4.26.6 to 4.26.7
- [Release notes](https://github.com/shirou/gopsutil/releases)
- [Commits](https://github.com/shirou/gopsutil/compare/v4.26.6...v4.26.7)

---
updated-dependencies:
- dependency-name: github.com/shirou/gopsutil/v4
  dependency-version: 4.26.7
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: all-go-deps
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-08-10 03:43:49 +00:00
Kovid Goyal
fda3a9a22d
Update documentation on inactive_text_alpha
It's intent is to de-emphasize all content in inactive windows, but its
documentation was written before graphics existed, so update it.

Fix #10336
2026-08-10 09:07:58 +05:30
Kovid Goyal
d6a974d01b
... 2026-08-09 22:12:20 +05:30
Kovid Goyal
26882b77e5
Add tab change demo 2026-08-09 22:10:05 +05:30
Kovid Goyal
60ab484dfb
Add a focus highlight demo 2026-08-09 21:59:38 +05:30
Kovid Goyal
8660a97523
Couple more uses of repo_folder 2026-08-09 21:40:03 +05:30
Kovid Goyal
919523f31a
Link to code for shipped custom shaders 2026-08-09 21:36:39 +05:30
Kovid Goyal
40b646a54a
A tab change reveal animation 2026-08-09 21:29:40 +05:30
Kovid Goyal
e796c60d3e
A couple more background demos 2026-08-09 21:12:23 +05:30
Kovid Goyal
7da676b061
Finish custom shader docs 2026-08-09 20:20:51 +05:30
Kovid Goyal
3b6c330278
Work on documentation for custom shaders 2026-08-09 20:02:47 +05:30
Kovid Goyal
356e140d92
... 2026-08-09 18:47:46 +05:30
Kovid Goyal
c9fef78103
Cleanup docs formatting 2026-08-09 18:42:08 +05:30
Kovid Goyal
2a38815712
Higher quality demo videos 2026-08-09 16:19:20 +05:30
Kovid Goyal
6246523d5c
Use rsync rather than scp 2026-08-09 16:06:20 +05:30
Kovid Goyal
802ef3c1ea
Cleanup video demo generation 2026-08-09 16:03:37 +05:30
Kovid Goyal
b2f249cbfd
dont upscale demo videos 2026-08-09 15:49:36 +05:30
Kovid Goyal
84763e09d0
fix no mouse motion in demo generation 2026-08-09 15:49:36 +05:30
Kovid Goyal
99c75d1243
generate includes for custom shader demo videos 2026-08-09 15:49:36 +05:30
Kovid Goyal
9bb664ee3c
Switch from sphinx-inline-tabs to sphinx-design
sphinx-design gives us more capabilities such as cards and grids
2026-08-09 14:31:33 +05:30
Kovid Goyal
b1bab0eb90
Remove no longer needed restriction 2026-08-09 14:03:11 +05:30
Kovid Goyal
d97bdc22c9
Define custom shader categories 2026-08-09 13:53:13 +05:30
Kovid Goyal
9e9087c319
Start work on custom shader docs 2026-08-09 13:25:13 +05:30
Kovid Goyal
0319102777
Merge branch 'eureka-cpu/add-kitty-diff-git-to-doc' of https://github.com/eureka-cpu/kitty 2026-08-09 13:03:46 +05:30
Kovid Goyal
c018a69acb
Switch to headless sway to record demos 2026-08-09 13:03:15 +05:30
eureka-cpu
fa4490daf8 doc: Mention kitty-diff-git in kitty-diff doc 2026-08-09 00:07:57 -07:00
Kovid Goyal
f1cbe7dad5
Add cursor trail demos 2026-08-09 09:56:51 +05:30
Kovid Goyal
2b7c91a204
Add spotlight demo 2026-08-09 07:55:08 +05:30
Kovid Goyal
7c5ea82dea
Add pond ripple demo 2026-08-09 07:42:40 +05:30
Kovid Goyal
793c6b81b2
Script to record custom shader demo videos 2026-08-09 07:13:52 +05:30
Kovid Goyal
a6d5e7145a
Merge branch 'fix-scroll-up-huge-count-hang' of https://github.com/1ay1/kitty 2026-08-09 05:23:10 +05:30
Ayush Bhat
54cf9988d5 Fix hang on Scroll Up with a huge count
screen_scroll() looped `count` times with no upper bound, so CSI 2147483647 S
spun for ~2.1 billion iterations at 100% CPU and never returned, hanging the
whole terminal.

Scrolling up by more than the number of lines on screen blanks the entire
region, so clamp count to self->lines. Scroll Down (_reverse_scroll) already
caps its count the same way.

Fixes #10333
2026-08-08 22:03:03 +02:00
Kovid Goyal
3d90778e62
A custom shader to highlight the active window on focus transition 2026-08-08 16:17:48 +05:30
Kovid Goyal
f1c9d5c0ff
Make the active window geometry available in the shader 2026-08-08 16:05:24 +05:30
Kovid Goyal
c1a7bd2237
Wayland: Make the render loop robust against compositors that loose render frame requests
Request a new render frame after 250ms even if an outstanding one
exists, to handle the case of the compositor failing to respond to the
previous one (for example if the monitor was removed).

This *should* fix issue #10329 but I have no way to reproduce it, so
cannot test the fix.
2026-08-08 14:13:54 +05:30
Kovid Goyal
3afa647a9b
... 2026-08-08 13:52:00 +05:30
Kovid Goyal
ac986c84f2
Avoid an extra draw call when the last group in a pipeline is an inactive animation 2026-08-08 13:43:59 +05:30
Kovid Goyal
208bb867f1
add some lighting to the pond ripple shader for more of a 3D effect 2026-08-08 12:15:58 +05:30