Commit Graph

12653 Commits

Author SHA1 Message Date
Kovid Goyal
9a0140c430 ... 2023-09-18 07:44:50 +05:30
Kovid Goyal
b96f56b072 Update recent major new features 2023-09-18 07:34:49 +05:30
Kovid Goyal
3a34664483 Adjust the workaround for non-linear blending of transparent pixels in compositors to hopefully further reduce fringing around text with certain color issues
Fixes #6534
2023-09-17 20:39:56 +05:30
Kovid Goyal
8a211fa689 Remove unused code 2023-09-17 08:47:28 +05:30
Kovid Goyal
863adb3e8d Go: Fix parsing of nullable colors
Fixes #6629
2023-09-15 20:36:24 +05:30
Kovid Goyal
5c4efc0fd7 ... 2023-09-14 08:24:43 +05:30
Kovid Goyal
f63bbfc88c Wayland: Do not request idle inhibition for full screen windows
Fixes #6613
2023-09-12 16:43:46 +05:30
Kovid Goyal
93618842ae Make a couple of other Set API functions nil-safe 2023-09-12 15:37:24 +05:30
Kovid Goyal
2d7bbf60cc Fix #6615 2023-09-12 15:34:09 +05:30
Kovid Goyal
5889311688 Merge branch 'latest' of https://github.com/0jrp0/kitty 2023-09-12 15:27:56 +05:30
Jeff Pitman
0626c0f5d9 Handles go versions like go1.22-YYYYMMDD-RCXX. 2023-09-10 17:49:24 -07:00
Kovid Goyal
c99d55691d diff kitten: Add support for files that are identical apart from mode changes
Fixes #6611
2023-09-09 19:04:54 +05:30
Kovid Goyal
eb51d459ae diff kitten: Dont panic for empty changesets 2023-09-09 18:35:32 +05:30
Kovid Goyal
bfc15cfc3f Fix #6611 2023-09-09 18:24:26 +05:30
Kovid Goyal
73b1e3b8a1 SSH does not parse port from hostname when not using a ssh:// URL 2023-09-09 09:33:47 +05:30
Kovid Goyal
6fef176918 Add some tests for uname/hname parsing 2023-09-08 16:23:09 +05:30
Kovid Goyal
af4213579c ssh kitten: Fix a regression causing hostname directives in ssh.conf not matching when username is specified 2023-09-08 15:10:46 +05:30
Kovid Goyal
d1d888ce19 Remove unnecessary copy of the decoder array 2023-09-04 22:28:18 +05:30
Kovid Goyal
1f4386fd08 ... 2023-09-04 21:44:46 +05:30
Kovid Goyal
34e5c7f8aa Ensure efficient conversion for base85 string API 2023-09-04 21:39:03 +05:30
Kovid Goyal
541c0cdde4 Do not build decode table for base85 until it is actually needed
Also make the tests actual tests
2023-09-04 21:32:25 +05:30
Kovid Goyal
0107d1cb89 Import base85.go into tree
Upstream is not maintained last commit was six years ago and there
are various improvements to be had in the code
2023-09-04 20:29:20 +05:30
Kovid Goyal
aad330135c cursor-shape depends on tablet-unstable 2023-09-04 12:36:21 +05:30
Kovid Goyal
13bdb2035c Merge branch 'pr-fix-reset' of https://github.com/sergei-grechanik/kitty 2023-09-04 07:34:12 +05:30
Kovid Goyal
e7ba91d182 Skip zero group_count images in draw_graphics()
Good to be defensive, ensures no infinite loop.
2023-09-04 07:18:39 +05:30
Sergei Grechanik
63cc5d7e49 Fix erasure of unicode placeholder images on reset 2023-09-03 15:33:30 -07:00
Kovid Goyal
4ffb22199b Cleanup previous PR 2023-09-03 18:59:37 +05:30
Kovid Goyal
07d9b95050 Merge branch 'config-line-breaks' of https://github.com/jake-stewart/kitty 2023-09-03 14:50:31 +05:30
Jake Stewart
b520df4cfa add documentation for line breaking syntax 2023-09-03 17:19:12 +08:00
Jake Stewart
f0e9311cc4 conform to style guide 2023-09-03 17:15:26 +08:00
Jake Stewart
8754d80832 add tests for go config parser 2023-09-03 16:39:27 +08:00
Jake Stewart
0aa4c850ba add line break syntax to go config parser 2023-09-03 16:39:13 +08:00
Jake Stewart
6354ef4cee add tests for python config parser 2023-09-03 16:37:59 +08:00
Jake Stewart
2113a22f11 add line break syntax to python config parser 2023-09-03 16:37:34 +08:00
Kovid Goyal
d6851210d7 When multiple confirmable close requests are made focus the existing close confirmation window instead of opening a new one for each request
Fixes #6601
2023-09-03 13:03:16 +05:30
Kovid Goyal
2f20bb3f43 Bump bundled Wayland version so we can use the new cursor shape protocol
The existing wayland cursor shape protocol is an awful mess with a years
long unfixed crashing bug: https://github.com/kovidgoyal/kitty/issues/4878#issuecomment-1134259604

If this new protocol is adopted by most compositors it can work around
this. Currently wlroots and KDE I think. GNOME as usual will likely
refuse to implement anything actually useful.
2023-09-02 13:41:07 +05:30
Kovid Goyal
951951776a Ensure group_count is never zero in any ImageRef
Now group_count means the number of refs pointing to the same image from
that ref onwards. This is needed because we can index the list of refs
at any point when drawing not just at the start of a group.

Fixes #6594
2023-09-02 12:48:44 +05:30
Kovid Goyal
0be1295023 kitten run-shell: Make kitty terminfo database available if needed before starting the shell 2023-09-01 22:05:26 +05:30
Kovid Goyal
71a2d7359a Function to extract terminfo 2023-09-01 19:41:46 +05:30
Kovid Goyal
f1ba9f45bc Add docs on how to use shell integration inside a container 2023-09-01 19:09:58 +05:30
Kovid Goyal
37938573ca When running a shell for `--hold set the env variable KITTY_HOLD=1` to allow users to customize what happens
For instance the user could have

[ "$KITTY_HOLD" = "1" ] && exec kitten __hold_till_enter__

in their shell rc files to get back the previous Press enter or esc to
quit behavior.
2023-08-30 14:18:11 +05:30
Kovid Goyal
9702f08698 kitten run-shell: Allow specifying env vars when running the shell 2023-08-30 14:12:10 +05:30
Kovid Goyal
48c80a218b Merge branch 'master' of https://github.com/Juneezee/kitty 2023-08-30 09:36:28 +05:30
Eng Zer Jun
77563cebb0 cli/command: remove redundant nil check
From the Go specification:

  "1. For a nil slice, the number of iterations is 0." [1]

Therefore, an additional nil check for before the loop is unnecessary.

[1]: https://go.dev/ref/spec#For_range

Signed-off-by: Eng Zer Jun <engzerjun@gmail.com>
2023-08-30 11:50:52 +08:00
Kovid Goyal
a6a2a5b6e6 ... 2023-08-27 19:26:13 +05:30
Kovid Goyal
436ce33278 Group dependabot update PRs 2023-08-27 10:54:34 +05:30
Kovid Goyal
54f162454f Merge branch 'master' of https://github.com/grondilu/kitty 2023-08-27 08:31:55 +05:30
Lucien Grondin
4d516cb80f fix three presumed typos 2023-08-26 12:06:43 +02:00
Kovid Goyal
a51a4e2a6e Update changelog 2023-08-26 09:07:51 +05:30
Kovid Goyal
588da9f1dc ... 2023-08-25 19:02:36 +05:30