Commit Graph

12679 Commits

Author SHA1 Message Date
Kovid Goyal
2e4f3dab41 Use fallocate() rather than truncate() when creating SHM memory
With truncate() the OS might not actually allocate the space leading to
a SIGBUS if /dev/shm runs out of space when actually using the mmap.

By using fallocate we ensure that once the SHM mmap is created it wont
fail
2023-09-23 09:53:17 +05:30
Kovid Goyal
911c80aa3b More linter fixes 2023-09-22 12:20:37 +05:30
Kovid Goyal
fd85dfb417 DRYer 2023-09-22 12:13:17 +05:30
Kovid Goyal
b26c4c16d0 ... 2023-09-22 12:11:07 +05:30
Kovid Goyal
c650bd0aac icat: Dont open the controlling terminal to query for size if stdout is a terminal, use it instead 2023-09-22 12:10:21 +05:30
Kovid Goyal
fc1331cfdc Dont call tcgetattr when no operations are specified 2023-09-22 09:37:48 +05:30
Kovid Goyal
fe4fdaefb9 Remove unused code 2023-09-22 09:25:21 +05:30
Kovid Goyal
704ae40dee More linter fixes 2023-09-22 09:24:31 +05:30
Kovid Goyal
0a2f164062 Change kitty +kitten -> kitten in docs
All kittens except for the broadcast and panel kittens have now been
ported to Go and so can be run with just kitten rather than kitty
+kitten. So update the docs to use this canonical form for launching
kittens
2023-09-21 12:25:02 +05:30
Kovid Goyal
eb05f6864f Update changelog 2023-09-20 09:17:00 +05:30
Kovid Goyal
b21bbbe14c Fix ssh kitten override parsing ignoring settings inherited from ssh.conf
Fixes #6639
2023-09-20 09:15:38 +05:30
Kovid Goyal
18e5b74699 More linter fixes 2023-09-20 08:43:50 +05:30
Kovid Goyal
d16a29b942 More linter fixes 2023-09-19 11:50:09 +05:30
Kovid Goyal
dda5771ccd Yet another stupid entry in Info.plist for Apple's security theatre
Fixes #6632
2023-09-18 22:31:52 +05:30
Kovid Goyal
65c777e335 Better error message for APC payload too large 2023-09-18 22:09:46 +05:30
Kovid Goyal
a8633756de More linter fixes 2023-09-18 21:36:34 +05:30
Kovid Goyal
1a32e62ebf More linter fixes 2023-09-18 21:07:39 +05:30
Kovid Goyal
7faf216f9e More linter fixes 2023-09-18 20:59:47 +05:30
Kovid Goyal
6bafdedd65 Fix some linter issues 2023-09-18 20:38:08 +05:30
Kovid Goyal
bd036040a6 themes kitten: Allow absolute paths for --config-file-name
Fixes #6638
2023-09-18 20:31:30 +05:30
Kovid Goyal
c94cfdbf65 ... 2023-09-18 18:47:32 +05:30
Kovid Goyal
35766a1a86 Link to a couple of kittens for more advanced scrollback paging in the docs 2023-09-18 11:01:17 +05:30
Kovid Goyal
616a104cce Remove unused code 2023-09-18 10:50:43 +05:30
Kovid Goyal
a5e74d406c fix link in changelog 2023-09-18 08:59:22 +05:30
Kovid Goyal
30c37a5809 ... 2023-09-18 08:46:22 +05:30
Kovid Goyal
ef8e3b150c version 0.30.0 v0.30.0 2023-09-18 07:48:09 +05:30
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