kitty/kitty_tests
Kovid Goyal be4fef614b
Custom shaders: Query shader source with a parser instead of regexes
Add a small Slang lexer and top level declaration parser to slang.py, and
SlangShaderQuery which runs the slangc preprocessor when an answer could
depend on it. Use it for:

- Detecting pointer_map(), so that comments, #if 0 blocks and calls no
  longer count, macros are honored, and a pointer_map() that is not public
  or does not return float2 is reported instead of failing obscurely. The
  result is cached alongside the pipeline module, so a cached load does
  not run slangc.
- Applying pipeline var directives, which now work for declarations
  spanning multiple lines and match by name as documented.
- Parsing the builtin shaders, with identical results for all of them.

Also cleanup minor issues form previous PR

- Ignore pointer_map() in groups that only draw to part of the screen
- Share the pointer position conversion between glfw.c and mouse.c
- Pass POINTER_MAP_SIZE to the pipeline as a define instead of
  duplicating it
- Do not free the pointer map render target on every pipeline reload
- Document what pointer_map() may depend on and when d.mouse_pos lines
  up with the pointer
2026-10-10 11:04:08 +05:30
..
__init__.py Test suite: Fix small numbers of Python tests being run in incorrect environment 2026-09-15 16:50:21 +05:30
atexit.py autoformat 2026-08-05 05:32:56 +05:30
base.py Color control protocol: Respond to unknown field names safely using base64 encoding 2026-09-01 21:20:04 +05:30
CascadiaCode-Regular.otf
check_build.py Remove incremental linking test. setup is not available in all contexts where tests run and this functionality isnt important enough to warrant a test anyway 2026-08-13 08:14:28 +05:30
child.py ... 2026-08-05 05:32:57 +05:30
choose_files.py Quote choose-files shell output safely 2026-08-12 13:10:53 +05:00
clipboard.py clipboard protocol: Specify handling of invalid base64 data 2026-08-25 10:12:25 +05:30
ComfyCode-Regular.ttf Add shaping tests for ligature cases and bundle Comfy Code 2026-04-25 19:43:17 +08:00
command_palette.py autoformat 2026-08-05 05:32:56 +05:30
completion.py Complete session file completion 2026-08-12 19:15:52 +05:00
crypto.py Fix leak of AES256GCMDecrypt object when the tag is too short 2026-10-09 07:40:56 -04:00
datatypes.py Cleanup previous PR 2026-10-09 18:37:48 +05:30
dnd.py Fix #10618 2026-10-06 15:29:26 +05:30
dnd_kitten.py Fix explicit stdin sources in the DnD kitten 2026-08-28 13:19:25 +05:00
docks.py Add support for docked windows 2026-10-01 15:45:44 +05:30
edit_in_kitty.py edit-in-kitty: Harden parsing of edit commands received from clients 2026-09-17 19:56:56 +05:30
file_transmission.py Cleanup previous PR 2026-10-09 18:37:48 +05:30
FiraCode-Medium.otf
fonts.py Cleanup previous PR 2026-10-09 11:14:45 +05:30
glfw.py autoformat 2026-08-05 05:32:56 +05:30
gr.py autoformat 2026-08-05 05:32:56 +05:30
GraphemeBreakTest.json
graphics.py Forget the disk position of a replaced zero length cache entry 2026-10-09 07:40:55 -04:00
hints.py Fix empty hints selection handling 2026-08-28 11:49:17 +05:00
iosevka-regular.ttf
iterable_arguments.py Handle empty iterables before testing their truthiness 2026-09-22 16:30:29 +08:00
keys.py fix #10490 2026-09-17 14:22:59 +05:30
layout.py Cleanup previous PR 2026-10-09 11:14:45 +05:30
LiberationMono-Regular.ttf
main.py Retain Go diagnostics when the test process fails 2026-10-06 14:31:17 +05:00
mouse.py Fix drag gesture state leaking past the button event early returns 2026-09-08 18:51:02 +05:30
multicell.py Fix erase in line and display orphaning halves of multicell characters 2026-10-08 23:59:56 -04:00
notifications.py autoformat 2026-08-05 05:32:56 +05:30
notify.py Fix notification close mode 2026-08-28 11:20:05 +05:00
open_actions.py handle invalid UTF-8 in binary mime db 2026-10-06 08:58:50 +05:30
options.py Use a per instance cache for resolved action aliases 2026-10-09 00:01:01 -04:00
panels.py autoformat 2026-08-05 05:32:56 +05:30
parser.py Stop CHT once the cursor reaches the last column 2026-10-08 23:59:56 -04:00
remote_control.py Cleanup previous PR 2026-10-09 11:14:45 +05:30
resize_edge.py Cleanup previous PR 2026-10-09 19:51:38 +05:30
resize_fraction.py Add configurable fractional steps to window resizing 2026-10-09 19:54:02 +08:00
screen.py Cleanup previous PR 2026-10-09 18:37:48 +05:30
search_query_parser.py Fix #10491 2026-09-17 17:03:58 +05:30
selection_drag.py Fix drag gesture state leaking past the button event early returns 2026-09-08 18:51:02 +05:30
shell_integration.py Fix random test failure when running in parallel on macOS 2026-08-23 20:39:43 +05:30
shm.py Skip test inapplicable on macOS 2026-09-01 20:28:26 +05:30
single_instance.py Linux only allow single instance socket use by same user 2026-09-18 14:54:49 +05:30
slang.py Custom shaders: Query shader source with a parser instead of regexes 2026-10-10 11:04:08 +05:30
ssh.py Cleanup previous PR 2026-09-22 17:37:58 +05:30
tab_bar.py Speed up laying out the horizontal tab bar 2026-10-10 09:03:43 +05:30
tab_drop.py Cleanup previous PR ensuring stale saved restore tabis not present 2026-09-28 10:40:15 +05:30
tab_workspaces.py Fix #10627 2026-10-10 10:05:17 +05:30
tui.py autoformat 2026-08-05 05:32:56 +05:30
twemoji_smiley-cff2_colr_1.otf
utmp.py autoformat 2026-08-05 05:32:56 +05:30