Commit graph

18509 commits

Author SHA1 Message Date
Kovid Goyal
4b5e3c06fb
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-07-03 13:44:27 +05:30
Kovid Goyal
5e6c810587
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-07-03 13:44:27 +05:30
Kovid Goyal
893ccbd4f6
Cleanup build output 2026-07-03 13:44:27 +05:30
Kovid Goyal
96ff9d4380
... 2026-07-03 13:44:26 +05:30
Kovid Goyal
cd43acfc28
Ensure shaders are built after fast_data_types.so 2026-07-03 13:44:26 +05:30
Kovid Goyal
a168ec2712
Move specialisations into compiler code
Allows for dynamic specialisations
2026-07-03 13:44:26 +05:30
Kovid Goyal
8c07c7c25e
Fix failing tests 2026-07-03 13:44:26 +05:30
Kovid Goyal
f73338a0df
Implement specialisation for slang shaders 2026-07-03 13:44:26 +05:30
Kovid Goyal
d5aa62afc7
... 2026-07-03 13:44:26 +05:30
Kovid Goyal
30adbb28d9
More work on slangc compilation 2026-07-03 13:44:26 +05:30
Kovid Goyal
22f26260d6
More work on slang compiler 2026-07-03 13:44:26 +05:30
Kovid Goyal
d2fe7d56da
Note that shader-slang is now a dependency 2026-07-03 13:44:26 +05:30
Kovid Goyal
219566d2ed
Have dev.sh set SLANGC as well 2026-07-03 13:44:26 +05:30
Kovid Goyal
67127a67f2
Ensure slangc is available in CI 2026-07-03 13:44:26 +05:30
Kovid Goyal
6e53ada457
More work on slang compilation 2026-07-03 13:44:26 +05:30
Kovid Goyal
c55deba34c
More work on integrating slangc into the build pipeline 2026-07-03 13:44:26 +05:30
Kovid Goyal
67c0481f93
Setup location for compiled shaders 2026-07-03 13:44:26 +05:30
Kovid Goyal
642bc3ef21
Function to build slang code to IR 2026-07-03 13:44:25 +05:30
copilot-swe-agent[bot]
431098833b
Fix parser to strip semicolons from module/import names; update tests 2026-07-03 13:44:25 +05:30
copilot-swe-agent[bot]
619f6bdb12
Add slang parser corner case tests and implement test_slang_ordering 2026-07-03 13:44:25 +05:30
Kovid Goyal
45401ee2a4
Work on generating build tree for slang files 2026-07-03 13:44:25 +05:30
Kovid Goyal
050488c06a
Use the slangc binary instead trying to get the C++ extension working everywhere is too fragile 2026-07-03 13:44:25 +05:30
Kovid Goyal
bf75196de6
Add build test for loading slangc 2026-07-03 13:44:25 +05:30
Kovid Goyal
d50b1c80e6
Get slangc building with clang 2026-07-03 13:44:25 +05:30
Kovid Goyal
368b988564
... 2026-07-03 13:44:25 +05:30
Kovid Goyal
ad194e5d6a
More work on slangc 2026-07-03 13:44:25 +05:30
Kovid Goyal
641a3d3d49
... 2026-07-03 13:44:25 +05:30
Kovid Goyal
617c02420c
Move glsl loading code to legacy 2026-07-03 13:44:25 +05:30
Kovid Goyal
7fc2227e91
Move shader pythons code into shaders package 2026-07-03 13:44:25 +05:30
Kovid Goyal
3bff1be560
Move shaders into kitty package 2026-07-03 13:44:25 +05:30
Kovid Goyal
574bf32b0c
Rationalize build/test/package cycle 2026-07-03 13:44:25 +05:30
Kovid Goyal
394fd586c3
Remove unneeded build step 2026-07-03 13:44:24 +05:30
Kovid Goyal
338d0e3265
Work on slang module compilation 2026-07-03 13:44:24 +05:30
Kovid Goyal
657bb3e7aa
Stub slang module 2026-07-03 13:44:24 +05:30
Kovid Goyal
734ae16b1c
DRYer 2026-07-03 13:44:24 +05:30
copilot-swe-agent[bot]
5192b5dc00
Use GITHUB_TOKEN for slang release API request to avoid rate limits 2026-07-03 13:44:24 +05:30
copilot-swe-agent[bot]
9d41e7bbad
Address code review: use url=None, add TypeError comment 2026-07-03 13:44:24 +05:30
copilot-swe-agent[bot]
80facffc8c
Implement install_slang_compiler() in ci.py 2026-07-03 13:44:24 +05:30
Kovid Goyal
48a30716a8
Stub for installation of slang on CI 2026-07-03 13:44:24 +05:30
Kovid Goyal
1ceb705e8e
Add slang to sources 2026-07-03 13:44:24 +05:30
Kovid Goyal
0bb8502f31
Increase timeout for receiving capabilities from notification daemon
Some checks are pending
CI / Linux (python=3.13 cc=clang sanitize=1) (push) Waiting to run
CI / Linux (python=3.11 cc=gcc sanitize=0) (push) Waiting to run
CI / Linux (python=3.12 cc=gcc sanitize=1) (push) Waiting to run
CI / Linux package (push) Waiting to run
CI / Bundle test (macos-latest) (push) Waiting to run
CI / Bundle test (ubuntu-latest) (push) Waiting to run
CI / macOS Brew (push) Waiting to run
CI / Test ./dev.sh and benchmark (push) Waiting to run
CodeQL / CodeQL-Build (actions, ubuntu-latest) (push) Waiting to run
CodeQL / CodeQL-Build (c, macos-latest) (push) Waiting to run
CodeQL / CodeQL-Build (c, ubuntu-latest) (push) Waiting to run
CodeQL / CodeQL-Build (go, ubuntu-latest) (push) Waiting to run
CodeQL / CodeQL-Build (python, ubuntu-latest) (push) Waiting to run
Depscan / Scan dependencies for vulnerabilities (push) Waiting to run
Fixes #10215
2026-07-03 13:43:41 +05:30
Kovid Goyal
4feb167e99
Cleanup previous PR
Some checks are pending
CI / Linux (python=3.13 cc=clang sanitize=1) (push) Waiting to run
CI / Linux (python=3.11 cc=gcc sanitize=0) (push) Waiting to run
CI / Linux (python=3.12 cc=gcc sanitize=1) (push) Waiting to run
CI / Linux package (push) Waiting to run
CI / Bundle test (macos-latest) (push) Waiting to run
CI / Bundle test (ubuntu-latest) (push) Waiting to run
CI / macOS Brew (push) Waiting to run
CI / Test ./dev.sh and benchmark (push) Waiting to run
CodeQL / CodeQL-Build (actions, ubuntu-latest) (push) Waiting to run
CodeQL / CodeQL-Build (c, macos-latest) (push) Waiting to run
CodeQL / CodeQL-Build (c, ubuntu-latest) (push) Waiting to run
CodeQL / CodeQL-Build (go, ubuntu-latest) (push) Waiting to run
CodeQL / CodeQL-Build (python, ubuntu-latest) (push) Waiting to run
Depscan / Scan dependencies for vulnerabilities (push) Waiting to run
2026-07-03 11:08:14 +05:30
Kovid Goyal
28cbe0188d
Merge branch 'copilot/fix-tab-bar-border-edges' of https://github.com/kovidgoyal/kitty 2026-07-03 11:08:09 +05:30
copilot-swe-agent[bot]
0b27865625
Address review comments: clarify reversed reset and vertical NULL params 2026-07-03 04:05:40 +00:00
copilot-swe-agent[bot]
6fb8ff1829
Fix tab bar edge strips: use bg when edge cell has default color 2026-07-03 04:01:56 +00:00
Kovid Goyal
9e92c57af3
Bump dependency for CVE 2026-07-03 09:07:55 +05:30
Kovid Goyal
3313e5a6be
Ignore inapplicable CVE 2026-07-03 08:58:07 +05:30
Kovid Goyal
d86da26069
Merge branch 'copilot/fix-issue-10212' of https://github.com/kovidgoyal/kitty
Fixes #10212
2026-07-03 08:33:13 +05:30
copilot-swe-agent[bot]
d68608b35a
Fix tab bar edge strips rendered with opacity < 1 when background_opacity < 1 2026-07-03 02:56:41 +00:00
copilot-swe-agent[bot]
252d8b73f7
Fix superfluous tab bar margin when background_opacity < 1 (issue #10212) 2026-07-03 02:42:28 +00:00