Kovid Goyal
0a288ad56c
Fix memleak in CLISpec
2025-04-28 09:20:10 +05:30
Kovid Goyal
7c10ed92f7
DRYer
2025-04-28 09:20:10 +05:30
Kovid Goyal
40f0f3d3eb
Use a simple arena allocator for CLISpec
2025-04-28 09:20:10 +05:30
Kovid Goyal
d548a6fcf4
rename typing module to avoid conflicts with stdlib typing
2025-04-28 09:20:10 +05:30
Kovid Goyal
e42d410ee4
Move cli spec parsing code into simple module
2025-04-28 09:20:10 +05:30
Kovid Goyal
62699f6799
Get basic C cli parsing working
2025-04-28 09:20:10 +05:30
Kovid Goyal
527f30ffcc
Start work on moving full command line parsing to native code
2025-04-28 09:20:10 +05:30
Kovid Goyal
22d8edf7fc
Merge branch 'dependabot/go_modules/all-go-deps-12cc37cc08' of https://github.com/kovidgoyal/kitty
2025-04-28 09:19:57 +05:30
dependabot[bot]
7ddbb3cc67
Bump github.com/alecthomas/chroma/v2 in the all-go-deps group
...
Bumps the all-go-deps group with 1 update: [github.com/alecthomas/chroma/v2](https://github.com/alecthomas/chroma ).
Updates `github.com/alecthomas/chroma/v2` from 2.16.0 to 2.17.0
- [Release notes](https://github.com/alecthomas/chroma/releases )
- [Changelog](https://github.com/alecthomas/chroma/blob/master/.goreleaser.yml )
- [Commits](https://github.com/alecthomas/chroma/compare/v2.16.0...v2.17.0 )
---
updated-dependencies:
- dependency-name: github.com/alecthomas/chroma/v2
dependency-version: 2.17.0
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: all-go-deps
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-04-28 03:44:55 +00:00
Kovid Goyal
01415eb84c
macOS: Fix text color in visual window select ignoring the color theme
...
Fixes #8579
2025-04-27 19:49:51 +05:30
Kovid Goyal
598f9b9dac
Merge branch 'k-nine' of https://github.com/talwrii/kitty
2025-04-27 18:49:37 +05:30
Tal Wrii
c7111ec877
remove detail
2025-04-27 14:03:31 +02:00
Kovid Goyal
056e7532f6
...
2025-04-27 10:46:06 +05:30
Kovid Goyal
65d97e2379
Use os_log to report get_argv failures on Apple
2025-04-27 10:42:43 +05:30
Kovid Goyal
9ff9e50936
Also handle EINTR for fclose
2025-04-27 10:21:15 +05:30
Kovid Goyal
41899aab14
Dont prevent kitty fro starting on failure to read macos-launch-services-cmdline
...
Fixes #8581
2025-04-27 10:16:40 +05:30
Tal Wrii
3bf6a62a67
Add k-nine plotting tool to the integrations documentation
2025-04-27 02:24:06 +02:00
Kovid Goyal
45f4b8ec26
...
2025-04-26 09:43:47 +05:30
Kovid Goyal
9b433a598d
Add to help text indicating bool options can be explicity specified
2025-04-26 09:21:22 +05:30
Kovid Goyal
3f00dc1c9e
Work on improving CLI parsing
...
Can now set bool values explicitly with =
Handle multi short flag args like -abc
Add unit tests for CLI parsing
Generate go code to serialize CLI options as a cmdline
TODO: Implement setting of bool vals in C and Go parsing code
TODO: Help/rst output should somehow indicate this feature
2025-04-26 09:01:54 +05:30
Kovid Goyal
2093fb1310
Fix handling of empty quoted string in shlex
2025-04-26 08:55:32 +05:30
Kovid Goyal
e942bc817b
Use correct service descriptions
2025-04-26 06:39:21 +05:30
Kovid Goyal
54d63c4ad2
Fix freezing of quick-access sub app
2025-04-25 22:09:05 +05:30
Kovid Goyal
20dacd2398
Fix signing of quick access sub-app
2025-04-25 21:26:17 +05:30
Kovid Goyal
f270a17c70
Fix freezing of quick access sub-bundle
2025-04-25 21:10:19 +05:30
Kovid Goyal
50b044f8a2
Allow popup menus from global menubar to function
2025-04-25 20:41:44 +05:30
Kovid Goyal
31b74e1c63
Use a timeout for ignoring initial quack access service event
2025-04-25 20:36:58 +05:30
Kovid Goyal
189d78283c
Get the quake terminal working on macOS
2025-04-25 20:27:26 +05:30
Kovid Goyal
610d6b8654
Exclude various analysis caches to VM
2025-04-25 15:50:01 +05:30
Kovid Goyal
c34399e051
Include wrapper script as comment
2025-04-25 15:46:48 +05:30
Kovid Goyal
2fcefbaa0e
Centralize maintenance of rsync script
2025-04-25 15:38:57 +05:30
Kovid Goyal
4631348016
...
2025-04-25 14:48:53 +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
639ad3e8a6
Make shlex code re-useable in launcher
2025-04-25 09:35:42 +05:30
Kovid Goyal
9f11782920
DRYer
2025-04-25 07:43:19 +05:30
Kovid Goyal
1f9a5647d4
Handle kitty code being imported into a non kitty python interpreter
...
Used by sphinx doc generation.
2025-04-25 07:29:42 +05:30
Kovid Goyal
5b1dfadd0b
...
2025-04-25 07:18:13 +05:30
Kovid Goyal
4e7418f2f1
Have makedirs operate on abspaths
...
clean() wont work with paths that use .. to go to
levels above the root of the passed in path.
2025-04-24 21:51:46 +05:30
Kovid Goyal
05f0839add
Work on moving launch services handling into C
...
This will make it faster and also more robust, not recuring hacks like
re-execs.
2025-04-24 21:07:29 +05:30
Kovid Goyal
76ac66fc8c
Implement various filesystem utility functions in C so they can be used in the launcher
2025-04-24 20:37:51 +05:30
Kovid Goyal
f49dbfaa7e
Abort fast cmdline if help requested
2025-04-24 10:26:47 +05:30
Kovid Goyal
9ad8dfaf3f
Infrastructure for hiding OS Window on focus lost
2025-04-24 09:29:34 +05:30
Kovid Goyal
c893440208
Wayland: Get rid of visibility change debounce since previous commit made it unnecessary
2025-04-24 09:08:28 +05:30
Kovid Goyal
06716b8b85
Wayland make hide and quick show of panel more robust by keeping on re-rendering till compositor sends a configure event
2025-04-24 09:05:20 +05:30
Kovid Goyal
3f115abb19
...
2025-04-24 08:30:40 +05:30
Kovid Goyal
2aab8734d4
reopen before forking so that if reopening fails we get a decent failure message
2025-04-24 08:28:33 +05:30
Kovid Goyal
14b633d13e
...
2025-04-24 08:27:44 +05:30
Kovid Goyal
9296bc3060
Speed up --detach
...
Also DRYer as well as more robust since single instance cleanup, binding
etc. happen in single process.
2025-04-24 08:13:58 +05:30
Kovid Goyal
55aa1d20f7
Fix double slash when concatenating SI path
2025-04-24 07:48:00 +05:30
Kovid Goyal
867ec83bed
Fix use of single instance with detach
2025-04-24 07:17:55 +05:30