Commit Graph

18492 Commits

Author SHA1 Message Date
Kovid Goyal
af61fd1b10 Move glfw build code into setup.py
This was on my TODO list for a long time and doing this allows the
setup.py module code to be re-used in slang.py
2026-06-30 09:27:27 +05:30
Kovid Goyal
cfbae29da9 Fix building of shaders under ASAN
We cant import fast_data_types.so into the system python in that case,
so build shaders by running the compiler under the kitty launcher.
2026-06-30 09:04:13 +05:30
Kovid Goyal
6f0fac372a Cleanup build output 2026-06-30 08:48:55 +05:30
Kovid Goyal
236b9a8978 ... 2026-06-30 08:43:08 +05:30
Kovid Goyal
db16c1b771 Ensure shaders are built after fast_data_types.so 2026-06-30 08:34:44 +05:30
Kovid Goyal
a12883abf3 Move specialisations into compiler code
Allows for dynamic specialisations
2026-06-30 08:11:18 +05:30
Kovid Goyal
bbec9d5bbd Fix failing tests 2026-06-29 23:24:40 +05:30
Kovid Goyal
5bc8cfaaf5 Implement specialisation for slang shaders 2026-06-29 23:11:53 +05:30
Kovid Goyal
c49dcf9fca ... 2026-06-29 08:37:16 +05:30
Kovid Goyal
3f89d0a94b More work on slangc compilation 2026-06-29 08:30:25 +05:30
Kovid Goyal
71fd4d3c57 More work on slang compiler 2026-06-28 13:06:22 +05:30
Kovid Goyal
3968a86693 Note that shader-slang is now a dependency 2026-06-28 09:08:37 +05:30
Kovid Goyal
8d20d25288 Have dev.sh set SLANGC as well 2026-06-28 09:03:50 +05:30
Kovid Goyal
e008088b9f Ensure slangc is available in CI 2026-06-28 08:59:49 +05:30
Kovid Goyal
1326ac914f More work on slang compilation 2026-06-28 08:54:37 +05:30
Kovid Goyal
980de0c3f6 More work on integrating slangc into the build pipeline 2026-06-28 08:54:37 +05:30
Kovid Goyal
ab59a7f72c Setup location for compiled shaders 2026-06-28 08:54:37 +05:30
Kovid Goyal
c801efdd03 Function to build slang code to IR 2026-06-28 08:54:37 +05:30
copilot-swe-agent[bot]
c899873784 Fix parser to strip semicolons from module/import names; update tests 2026-06-28 08:54:36 +05:30
copilot-swe-agent[bot]
060c235224 Add slang parser corner case tests and implement test_slang_ordering 2026-06-28 08:54:36 +05:30
Kovid Goyal
135ba45c7e Work on generating build tree for slang files 2026-06-28 08:54:36 +05:30
Kovid Goyal
5b4e3a12a1 Use the slangc binary instead trying to get the C++ extension working everywhere is too fragile 2026-06-28 08:54:36 +05:30
Kovid Goyal
d52013db7e Add build test for loading slangc 2026-06-28 08:54:36 +05:30
Kovid Goyal
fff087bd49 Get slangc building with clang 2026-06-28 08:54:36 +05:30
Kovid Goyal
b5339915e6 ... 2026-06-28 08:54:36 +05:30
Kovid Goyal
0ad4f694d3 More work on slangc 2026-06-28 08:54:36 +05:30
Kovid Goyal
68d4688a72 ... 2026-06-28 08:54:36 +05:30
Kovid Goyal
8acfd7bbf2 Move glsl loading code to legacy 2026-06-28 08:54:36 +05:30
Kovid Goyal
951fea567b Move shader pythons code into shaders package 2026-06-28 08:54:36 +05:30
Kovid Goyal
ccfb06d6fc Move shaders into kitty package 2026-06-28 08:54:36 +05:30
Kovid Goyal
0d5e61e7e6 Rationalize build/test/package cycle 2026-06-28 08:54:36 +05:30
Kovid Goyal
50a95b5513 Remove unneeded build step 2026-06-28 08:54:35 +05:30
Kovid Goyal
9f85dfd6cc Work on slang module compilation 2026-06-28 08:54:35 +05:30
Kovid Goyal
50eb2c13f2 Stub slang module 2026-06-28 08:54:35 +05:30
Kovid Goyal
f9bc1c9fdf DRYer 2026-06-28 08:54:35 +05:30
copilot-swe-agent[bot]
8d196d86ba Use GITHUB_TOKEN for slang release API request to avoid rate limits 2026-06-28 08:54:35 +05:30
copilot-swe-agent[bot]
3b15d86b64 Address code review: use url=None, add TypeError comment 2026-06-28 08:54:35 +05:30
copilot-swe-agent[bot]
d8972f2f95 Implement install_slang_compiler() in ci.py 2026-06-28 08:54:35 +05:30
Kovid Goyal
e64663aa74 Stub for installation of slang on CI 2026-06-28 08:54:35 +05:30
Kovid Goyal
44b3ecf06f Add slang to sources 2026-06-28 08:54:35 +05:30
Kovid Goyal
925de17ecb Update changelog
Fixes #10198
2026-06-28 08:54:04 +05:30
Kovid Goyal
543476f358 Merge branch 'copilot/fix-issue-10198' of https://github.com/kovidgoyal/kitty 2026-06-28 08:52:07 +05:30
Kovid Goyal
e0e01544d1 ignore shaders dir that contains shaders generated by slang 2026-06-28 08:49:08 +05:30
copilot-swe-agent[bot]
21f7e96bef Address code review: add comment, fallback timer, and warning log for PID monitoring 2026-06-28 03:16:33 +00:00
copilot-swe-agent[bot]
aee532c586 Fix issue 10198: edit-in-kitty exits with editor's exit code
- Python (kitty/launch.py): Track editor PID via monitor_pid to capture
  exit code when editor window closes. Send exit code as data in the DONE
  message instead of sending no data.
- Go (tools/cmd/edit_in_kitty/main.go): Parse exit code from DONE message
  data and use lp.Quit(exit_code) to exit with the editor's exit code.
- Go (tools/cmd/tool/confirm_and_run_shebang.go): Check exit code when
  running edit-in-kitty as a subprocess; abort execution on editor failure.
2026-06-28 03:10:58 +00:00
Kovid Goyal
cd88eb3915 Merge branch 'patch-1' of https://github.com/gelaechter/kitty 2026-06-28 08:20:00 +05:30
Gelaechter
f49c1c79e9 Add pdf-kitten to Kittens created by kitty users 2026-06-28 02:26:16 +02:00
Kovid Goyal
f6d1b11b29 Make arm64 binary deps available for dev.sh
Fixes #10197
2026-06-27 17:29:31 +05:30
Kovid Goyal
1096e9da5e update imaging to align version of image package 2026-06-27 09:02:41 +05:30
Kovid Goyal
351ee9fcbd bump dependency for CVEs 2026-06-27 09:00:10 +05:30