Kovid Goyal
1612a23307
Get slangc working in macOS frozen build
2026-08-05 05:32:50 +05:30
Kovid Goyal
356aef38fc
Only copy needed slang dlls
2026-08-05 05:32:50 +05:30
Kovid Goyal
7cde77ef2c
Get freezing of slang on linux working
2026-08-05 05:32:50 +05:30
Kovid Goyal
1b61d6a671
Ensure slangc is found when freezing
2026-08-05 05:32:50 +05:30
Kovid Goyal
95bf5fe28a
Nicer error message when slangc not found
2026-08-05 05:32:50 +05:30
Kovid Goyal
676b838c0d
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-08-05 05:32:50 +05:30
Kovid Goyal
5f082b1cee
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-08-05 05:32:50 +05:30
Kovid Goyal
b70c4a1a3a
Cleanup build output
2026-08-05 05:32:50 +05:30
Kovid Goyal
0050175323
...
2026-08-05 05:32:50 +05:30
Kovid Goyal
6008d09d25
Ensure shaders are built after fast_data_types.so
2026-08-05 05:32:50 +05:30
Kovid Goyal
879697e4c5
Move specialisations into compiler code
...
Allows for dynamic specialisations
2026-08-05 05:32:49 +05:30
Kovid Goyal
9261295448
Fix failing tests
2026-08-05 05:32:49 +05:30
Kovid Goyal
7a01e7e125
Implement specialisation for slang shaders
2026-08-05 05:32:49 +05:30
Kovid Goyal
a9f56a3a84
...
2026-08-05 05:32:49 +05:30
Kovid Goyal
477b7ae7b4
More work on slangc compilation
2026-08-05 05:32:49 +05:30
Kovid Goyal
c15383b3e6
More work on slang compiler
2026-08-05 05:32:49 +05:30
Kovid Goyal
70031b709a
Note that shader-slang is now a dependency
2026-08-05 05:32:49 +05:30
Kovid Goyal
e310f6acf1
Have dev.sh set SLANGC as well
2026-08-05 05:32:49 +05:30
Kovid Goyal
ecea08fd7a
Ensure slangc is available in CI
2026-08-05 05:32:49 +05:30
Kovid Goyal
c171ab8111
More work on slang compilation
2026-08-05 05:32:49 +05:30
Kovid Goyal
c8f74f7a56
More work on integrating slangc into the build pipeline
2026-08-05 05:32:49 +05:30
Kovid Goyal
0eb2d26a46
Setup location for compiled shaders
2026-08-05 05:32:49 +05:30
Kovid Goyal
57bf177468
Function to build slang code to IR
2026-08-05 05:32:49 +05:30
copilot-swe-agent[bot]
a36b259d45
Fix parser to strip semicolons from module/import names; update tests
2026-08-05 05:32:49 +05:30
copilot-swe-agent[bot]
d8041066bf
Add slang parser corner case tests and implement test_slang_ordering
2026-08-05 05:32:49 +05:30
Kovid Goyal
dbfa720387
Work on generating build tree for slang files
2026-08-05 05:32:49 +05:30
Kovid Goyal
b3781f4fa1
Use the slangc binary instead trying to get the C++ extension working everywhere is too fragile
2026-08-05 05:32:48 +05:30
Kovid Goyal
c38b43b496
Add build test for loading slangc
2026-08-05 05:32:48 +05:30
Kovid Goyal
3a5b92af61
Get slangc building with clang
2026-08-05 05:32:48 +05:30
Kovid Goyal
ede9a990b0
...
2026-08-05 05:32:48 +05:30
Kovid Goyal
53522d564c
More work on slangc
2026-08-05 05:32:48 +05:30
Kovid Goyal
7f2d577a94
...
2026-08-05 05:32:48 +05:30
Kovid Goyal
a8d244acaa
Move glsl loading code to legacy
2026-08-05 05:32:48 +05:30
Kovid Goyal
9c82a5f7ef
Move shader pythons code into shaders package
2026-08-05 05:32:48 +05:30
Kovid Goyal
9afa480de5
Move shaders into kitty package
2026-08-05 05:32:48 +05:30
Kovid Goyal
0131876e86
Rationalize build/test/package cycle
2026-08-05 05:32:48 +05:30
Kovid Goyal
2f81f960d1
Remove unneeded build step
2026-08-05 05:32:48 +05:30
Kovid Goyal
ca9945e547
Work on slang module compilation
2026-08-05 05:32:48 +05:30
Kovid Goyal
9f5339c6df
Stub slang module
2026-08-05 05:32:48 +05:30
Kovid Goyal
285adb03d0
DRYer
2026-08-05 05:32:48 +05:30
copilot-swe-agent[bot]
5f6fe10f86
Use GITHUB_TOKEN for slang release API request to avoid rate limits
2026-08-05 05:32:47 +05:30
copilot-swe-agent[bot]
55eb556171
Address code review: use url=None, add TypeError comment
2026-08-05 05:32:47 +05:30
copilot-swe-agent[bot]
1a8a843409
Implement install_slang_compiler() in ci.py
2026-08-05 05:32:47 +05:30
Kovid Goyal
991333e6c3
Stub for installation of slang on CI
2026-08-05 05:32:47 +05:30
Kovid Goyal
7d96c15d2d
Add slang to sources
2026-08-05 05:32:47 +05:30
Kovid Goyal
e4f3753103
Merge branch 'patch-1' of https://github.com/alexmyczko/kitty
2026-08-05 05:28:13 +05:30
Alex Myczko
2be09a7f1b
Add chawan as a TUI web browser option
2026-08-04 21:05:20 +02:00
Kovid Goyal
b7efde1d55
Merge branch 'fix/key-encoding-serialize-buffer-overflow' of https://github.com/ne-lande/kitty
2026-08-04 23:38:44 +05:30
ne-lande
99114a2aad
fix stack BOF in serialize() in key_encoding.c
...
found by fuzzing random targets via afl
initial guess:
the P macro calls snprintf(size=0) to clamp writes when the output buffer is full
however snprintf with size=0 writes nothing but still returns the number of bytes it would have written, so `pos` keeps
accumulating past KEY_BUFFER_SIZE-2
two unconditional writes after the loop then write past the end of the stack buffer:
```
output[pos++] = csi_trailer; /* pos may be >= KEY_BUFFER_SIZE */
output[pos] = 0;
```
2026-08-04 20:11:09 +03:00
Kovid Goyal
fe60b67c50
Add a new AI category to integrations
CI / Linux (python=3.14 cc=clang sanitize=1) (push) Has been cancelled
CI / Linux (python=3.12 cc=gcc sanitize=0) (push) Has been cancelled
CI / Linux (python=3.13 cc=gcc sanitize=1) (push) Has been cancelled
CI / Linux package (push) Has been cancelled
CI / Bundle test (macos-latest) (push) Has been cancelled
CI / Bundle test (ubuntu-latest) (push) Has been cancelled
CI / macOS Brew (push) Has been cancelled
CI / Test ./dev.sh and benchmark (push) Has been cancelled
CodeQL / CodeQL-Build (actions, ubuntu-latest) (push) Has been cancelled
CodeQL / CodeQL-Build (c, macos-latest) (push) Has been cancelled
CodeQL / CodeQL-Build (c, ubuntu-latest) (push) Has been cancelled
CodeQL / CodeQL-Build (go, ubuntu-latest) (push) Has been cancelled
CodeQL / CodeQL-Build (python, ubuntu-latest) (push) Has been cancelled
Depscan / Scan dependencies for vulnerabilities (push) Has been cancelled
2026-08-04 09:51:11 +05:30