Commit graph

614 commits

Author SHA1 Message Date
Kovid Goyal
f0402437ac
Get slangc working in macOS frozen build
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
2026-06-30 13:05:08 +05:30
Kovid Goyal
c16b78a6f4
Get freezing of slang on linux working 2026-06-30 11:41:30 +05:30
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
db16c1b771
Ensure shaders are built after fast_data_types.so 2026-06-30 08:34:44 +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
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
fff087bd49
Get slangc building with clang 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
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
f6d1b11b29
Make arm64 binary deps available for dev.sh
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 #10197
2026-06-27 17:29:31 +05:30
Kovid Goyal
2d18b88480
macOS: Switch to Tahoe style application icon 2026-04-18 13:28:22 +05:30
Kovid Goyal
c08409a981
Function to get machine ID on cocoa 2026-04-09 07:04:12 +05:30
Kovid Goyal
79cadf4a5f
... 2026-04-05 18:25:05 +05:30
Kovid Goyal
c977d1edcb
... 2026-03-17 08:22:45 +05:30
1024th
ffe8cef1a8 Fix font detection command on linux in setup.py 2026-03-13 01:03:20 +08:00
Kovid Goyal
a0709acdde
DRYer 2026-03-12 10:06:20 +05:30
Kovid Goyal
01104bac65
Fix a regression that broke `kitten update-self`
Fixes #9642
2026-03-12 08:33:20 +05:30
Kovid Goyal
c75bdc7620
Bump Go version for security vulnerabilities
Unfortunately means have to bump minimum macos version as well as Go
requires it.
2026-03-07 08:05:37 +05:30
Kovid Goyal
524fe6ae3b
Ignoring errors is the default behavior for os.walk 2026-01-31 08:28:10 +05:30
Kovid Goyal
0a01f41996
Only scan font dirs recursively if the font is not found in any top level dir 2026-01-31 08:26:57 +05:30
Mark Sisson
2035fe7fda
feat(setup): search macOS font directories recursively
Extend font lookup on macOS to scan subdirectories when the font is not found
in the top-level font directories. Permission errors during traversal are
silently ignored to avoid installation failures.
2026-01-30 14:57:07 -06:00
Kovid Goyal
3352dba735
Set building flag globally 2025-12-04 14:59:59 +05:30
Kovid Goyal
7e962f48fc
Allow simple_cli_definitions to be run on ASAN builds 2025-12-04 14:58:56 +05:30
Kovid Goyal
d7ab6ad314
Allow shader names with underscores 2025-08-13 07:10:16 +05:30
Kovid Goyal
c01df574a2
... 2025-08-13 06:49:35 +05:30
Kovid Goyal
b94d6dc713
Dont include gl.h in generated uniforms defn 2025-08-13 06:41:35 +05:30
Kovid Goyal
c06985c586
Cleanup previous PR 2025-06-30 12:09:13 +05:30
mirza-samad-ahmed-baig
297875ad7d feat: Improve Windows compatibility in setup.py 2025-06-29 16:30:43 +05:00
Kovid Goyal
35067a60ff
Also build launcher with -std=c11
Fixes #8642
2025-05-16 19:33:30 +05:30
Kovid Goyal
5c9c8aa424
Add unit testing for launcher code 2025-04-28 09:25:25 +05:30
Kovid Goyal
648dfec8a9
Fix re-compile of launcher on change not happening 2025-04-28 09:20:11 +05:30
Kovid Goyal
27c5b6aac5
Generate option parser in C for kitty CLI 2025-04-28 09:20:10 +05:30
Kovid Goyal
e942bc817b
Use correct service descriptions 2025-04-26 06:39:21 +05:30
Kovid Goyal
f270a17c70
Fix freezing of quick access sub-bundle 2025-04-25 21:10:19 +05:30
Kovid Goyal
189d78283c
Get the quake terminal working on macOS 2025-04-25 20:27:26 +05:30
Kovid Goyal
7bd7709685
Move parsing of macos-launch-services-cmdline into native code
Avoids expensive re-exec and simplifies various things. Much faster
for single instance usage.
2025-04-25 14:39:36 +05:30
Kovid Goyal
10683c748c
Use sorted boolean cli options to prevent spurious rebuilds 2025-04-22 08:46:11 +05:30
Kovid Goyal
85d58de035
kitty can finally natively implement a quake like terminal dropdown
Currently Wayland (except for GNOME as usual) only.
2025-04-21 20:28:56 +05:30
Kovid Goyal
42ab460db3
Only include -fno-plt if the compiler supports it 2025-04-02 11:12:07 +05:30
Kovid Goyal
66856e7b52
Use a multi-stage lookup table for grapheme segmentation 2025-03-31 21:51:28 +05:30
Firepup Sixfifty
7814869fc1
Handle the edge case of someone running a development go build 2025-03-18 12:20:30 -05:00
leiserfg
6171ca6859
Fix regression in setup.py 2025-03-08 12:23:51 +01:00
leiserfg
55bd074c01
Add support for xdg-terminal-exec
See proposal in https://gitlab.freedesktop.org/terminal-wg/specifications/-/merge_requests/3/diffs
2025-03-07 11:29:53 +01:00
Kovid Goyal
744145f392
Add cairo and pixman as deps on Linux
Needed to render COLRv1 fonts. Which are needed because bitmap emoji
fonts dont render well at large font sizes such as can be used with
multicell chars.
2025-02-03 11:06:38 +05:30
Kovid Goyal
dc1bed1bd1
Use XXHash for hash table hashing of arbitrary sized keys
Much faster than FNV
2025-02-03 10:56:46 +05:30
Kovid Goyal
d36a64087e
Bump Go to 1.23
We need this because Go < 1.23 produces binaries that dont work on
modern OpenBSD because OpenBSD decided to remove syscall() from their
libc. Mad buggers, who removes functions from libc breaking all
binaries!!

Also increase minimum macOS version to 11.0 as Go 1.23 requires that
2024-08-24 08:06:02 +05:30