Commit graph

18567 commits

Author SHA1 Message Date
Kovid Goyal
6c0839b5ab
Get freezing of slang on linux working 2026-07-09 10:55:25 +05:30
Kovid Goyal
fca94c9aa4
Ensure slangc is found when freezing 2026-07-09 10:55:25 +05:30
Kovid Goyal
17b84c57c5
Nicer error message when slangc not found 2026-07-09 10:55:25 +05:30
Kovid Goyal
0e7f77ea9f
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-09 10:55:25 +05:30
Kovid Goyal
1eb3325fe3
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-09 10:55:25 +05:30
Kovid Goyal
b4b591ccdc
Cleanup build output 2026-07-09 10:55:25 +05:30
Kovid Goyal
e1d3502c0d
... 2026-07-09 10:55:25 +05:30
Kovid Goyal
4989834940
Ensure shaders are built after fast_data_types.so 2026-07-09 10:55:25 +05:30
Kovid Goyal
7fe8267b53
Move specialisations into compiler code
Allows for dynamic specialisations
2026-07-09 10:55:25 +05:30
Kovid Goyal
6bcd28f037
Fix failing tests 2026-07-09 10:55:25 +05:30
Kovid Goyal
966c82a6f5
Implement specialisation for slang shaders 2026-07-09 10:55:25 +05:30
Kovid Goyal
5484f5e717
... 2026-07-09 10:55:24 +05:30
Kovid Goyal
974bc06c08
More work on slangc compilation 2026-07-09 10:55:24 +05:30
Kovid Goyal
223eff6217
More work on slang compiler 2026-07-09 10:55:24 +05:30
Kovid Goyal
c07dce1e6b
Note that shader-slang is now a dependency 2026-07-09 10:55:24 +05:30
Kovid Goyal
aae3200f19
Have dev.sh set SLANGC as well 2026-07-09 10:55:24 +05:30
Kovid Goyal
89cbab5e11
Ensure slangc is available in CI 2026-07-09 10:55:24 +05:30
Kovid Goyal
3763ead797
More work on slang compilation 2026-07-09 10:55:24 +05:30
Kovid Goyal
3b95069e5c
More work on integrating slangc into the build pipeline 2026-07-09 10:55:24 +05:30
Kovid Goyal
fd0cb5d43f
Setup location for compiled shaders 2026-07-09 10:55:24 +05:30
Kovid Goyal
98f6ea0fae
Function to build slang code to IR 2026-07-09 10:55:24 +05:30
copilot-swe-agent[bot]
671850e0a8
Fix parser to strip semicolons from module/import names; update tests 2026-07-09 10:55:24 +05:30
copilot-swe-agent[bot]
18c601b01e
Add slang parser corner case tests and implement test_slang_ordering 2026-07-09 10:55:24 +05:30
Kovid Goyal
d02807d563
Work on generating build tree for slang files 2026-07-09 10:55:24 +05:30
Kovid Goyal
7489ef5e9a
Use the slangc binary instead trying to get the C++ extension working everywhere is too fragile 2026-07-09 10:55:24 +05:30
Kovid Goyal
7b6fb15a5e
Add build test for loading slangc 2026-07-09 10:55:24 +05:30
Kovid Goyal
8e135a0221
Get slangc building with clang 2026-07-09 10:55:23 +05:30
Kovid Goyal
ec3ee1c57e
... 2026-07-09 10:55:23 +05:30
Kovid Goyal
1053f43119
More work on slangc 2026-07-09 10:55:23 +05:30
Kovid Goyal
4b0306dfe1
... 2026-07-09 10:55:23 +05:30
Kovid Goyal
a7e19fc1ef
Move glsl loading code to legacy 2026-07-09 10:55:23 +05:30
Kovid Goyal
48e47fbdfc
Move shader pythons code into shaders package 2026-07-09 10:55:23 +05:30
Kovid Goyal
1474affdae
Move shaders into kitty package 2026-07-09 10:55:23 +05:30
Kovid Goyal
95b7726af2
Rationalize build/test/package cycle 2026-07-09 10:55:23 +05:30
Kovid Goyal
5e87db8fa1
Remove unneeded build step 2026-07-09 10:55:23 +05:30
Kovid Goyal
24323d8ad0
Work on slang module compilation 2026-07-09 10:55:23 +05:30
Kovid Goyal
de2ddb5685
Stub slang module 2026-07-09 10:55:23 +05:30
Kovid Goyal
7a4f6a7513
DRYer 2026-07-09 10:55:23 +05:30
copilot-swe-agent[bot]
9b2c66ec77
Use GITHUB_TOKEN for slang release API request to avoid rate limits 2026-07-09 10:55:23 +05:30
copilot-swe-agent[bot]
4ceb1d352a
Address code review: use url=None, add TypeError comment 2026-07-09 10:55:22 +05:30
copilot-swe-agent[bot]
cc27b41528
Implement install_slang_compiler() in ci.py 2026-07-09 10:55:22 +05:30
Kovid Goyal
f2fcfa292a
Stub for installation of slang on CI 2026-07-09 10:55:22 +05:30
Kovid Goyal
7c573ec24f
Add slang to sources 2026-07-09 10:55:22 +05:30
Kovid Goyal
996714cff7
Merge branch 'fix-wayland-ime-popup-position' of https://github.com/lsdhophora/kitty
Some checks are pending
CI / Linux (python=3.14 cc=clang sanitize=1) (push) Waiting to run
CI / Linux (python=3.12 cc=gcc sanitize=0) (push) Waiting to run
CI / Linux (python=3.13 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-09 07:56:39 +05:30
Kovid Goyal
d453586b9c
Bump go version for stdlib CVEs 2026-07-09 07:46:27 +05:30
Kovid Goyal
15a44edefc
Clean up previous PR 2026-07-09 07:01:18 +05:30
Kovid Goyal
8d6e855480
Merge branch 'feat/quick-access-terminal-layer-config' of https://github.com/qo0u0op/kitty 2026-07-09 06:58:46 +05:30
lsdhophora
00029d0a6f Fix IME popup position after text_input re-enters on Wayland
When a kitty window regains text-input focus (e.g. switching back to a
workspace in sway, unminimizing, or unlocking the screen), the
zwp_text_input_v3::enter event is fired. However, text_input_enter()
only called enable + set_content_type without restoring the cursor
rectangle. If the compositor does not re-send wl_keyboard.enter at the
same time, kitty never updates the IME position, causing the popup to
appear at the top-left corner.

Restore the last known cursor rectangle in text_input_enter() so the
IME popup immediately appears at the correct position.
2026-07-09 08:22:06 +08:00
qo0u0op
ead0836c5d feat(quick-access-terminal): make --layer configurable 2026-07-09 02:18:03 +08:00
Kovid Goyal
efc31d9de8
note that bspwm does not support the needed NET_WM protocols for the panel kitten
Some checks are pending
CI / Linux (python=3.14 cc=clang sanitize=1) (push) Waiting to run
CI / Linux (python=3.12 cc=gcc sanitize=0) (push) Waiting to run
CI / Linux (python=3.13 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-08 20:12:41 +05:30