Kovid Goyal
214416f1e3
Fix handling of :doc: in CLI help output
2022-08-24 13:43:47 +05:30
Kovid Goyal
44ccdd36d6
Remove socket prewarming
...
The potential for breakage is too high, and I am working on an
alternative solution that will be better long term.
Prewarming is still used for kittens launched via keybindings
2022-08-20 13:38:33 +05:30
Kovid Goyal
e289f4959f
DRYer
2022-08-20 12:03:33 +05:30
Kovid Goyal
cd35f92607
Fix resolve_ref()
2022-08-20 11:29:40 +05:30
Kovid Goyal
314dd97059
Command line tools shouldnt need to resolve documentation refs
...
Instead use a new kitty+doc protocol and have kitty navigate to the
docs. Uses a default open action for the protocol, which can be
overriden by the user should they so desire.
2022-08-19 14:35:17 +05:30
Kovid Goyal
5350eb29c1
A new mappable action to show kitty docs in the browser
2022-08-19 14:00:30 +05:30
Kovid Goyal
3288400005
Make the docs and man pages available in the macos bundle as well
2022-08-19 12:38:10 +05:30
Kovid Goyal
d0c50248ea
Graphics protocol: Only delete temp files if they have the string tty-graphics-protocol
in their file paths.
...
This prevents deletion of arbitrary files in /tmp via the graphics
protocol.
2022-08-16 11:25:33 +05:30
Kovid Goyal
c982f24faf
Add some tests for hashing and __eq__
2022-08-12 12:02:22 +05:30
Kovid Goyal
b54dd1cb48
Increase the max key num that is storeable
2022-08-12 11:37:54 +05:30
Kovid Goyal
ef621aa099
DRYer
...
Also dont store negative values for key. Unset is 0 not -1
2022-08-12 11:35:45 +05:30
Kovid Goyal
f3329fcd34
Fix storage for GLFW_MOD_KITTY
2022-08-12 09:58:50 +05:30
Kovid Goyal
af48547d8b
Implement SingleKey._replace
2022-08-12 09:40:58 +05:30
Kovid Goyal
f228f8368a
A faster version of SingleKey
2022-08-12 09:17:42 +05:30
Kovid Goyal
21eece4c6d
Ensure no bytecode is written when running shell based tests
2022-08-08 17:50:59 +05:30
Kovid Goyal
a7b7fb560a
Add tests for AES256GCM
2022-08-05 13:50:03 +05:30
Kovid Goyal
89854cca8b
Test for secret derivation
2022-08-04 20:05:19 +05:30
Kovid Goyal
cc7e668ad6
Cleanup editing of proc environ
2022-08-01 19:03:03 +05:30
Kovid Goyal
e0ce0a67cc
ensure setting KITTY_PREWARM_SOCKET_REAL_TTY does not clobber the environ
2022-08-01 19:03:03 +05:30
Kovid Goyal
0d83a8866b
Make setting the real tty name more robust
2022-08-01 19:03:03 +05:30
Kovid Goyal
f7a7e39a36
prewarm wrapper should indicate it is active via the process environment
2022-08-01 19:03:03 +05:30
Kovid Goyal
376688ab9f
Add a test for SIGTSTP via ctrl-z
2022-08-01 19:03:03 +05:30
Kovid Goyal
94551623ec
Make JSON reading test a bit more robust
2022-08-01 19:03:02 +05:30
Kovid Goyal
cb0d23bae8
Use sub tests for the various prewarm things
2022-08-01 19:03:02 +05:30
Kovid Goyal
32dcbbb5e1
...
2022-08-01 19:03:02 +05:30
Kovid Goyal
78542ede14
Separate test for SIGWINCH handling
2022-08-01 19:03:02 +05:30
Kovid Goyal
2d8113e0e0
Give up on signal delivery tests
2022-08-01 19:03:02 +05:30
Kovid Goyal
e881850bb4
...
2022-08-01 19:03:02 +05:30
Kovid Goyal
4cbae1db89
...
2022-08-01 19:03:02 +05:30
Kovid Goyal
97bce7be18
and again
2022-08-01 19:03:01 +05:30
Kovid Goyal
5d2a276172
...
2022-08-01 19:03:01 +05:30
Kovid Goyal
762dfe8315
increase timeout since signal delivery on CI is flakey
2022-08-01 19:03:01 +05:30
Kovid Goyal
1c0d1ec8a9
wait for child events explicitly
2022-08-01 19:03:01 +05:30
Kovid Goyal
e650699217
py3.8 compat
2022-08-01 19:03:01 +05:30
Kovid Goyal
5ff2b5be1c
Clear out any signals before ending test
2022-08-01 19:03:01 +05:30
Kovid Goyal
f1841d7c81
DRYer
2022-08-01 19:03:01 +05:30
Kovid Goyal
751a52153d
Restore python signal handlers properly after the test
2022-08-01 19:03:01 +05:30
Kovid Goyal
61b733bae9
Add a test for SIGCHLD on SIGTSTP
2022-08-01 19:03:01 +05:30
Kovid Goyal
624e96df9b
wrapper process should exit with signal if prewarmed worker exits with signal
2022-08-01 19:03:01 +05:30
Kovid Goyal
a3f1a44d83
OK I give up I cant get signal delivery to work reliably
2022-08-01 19:03:01 +05:30
Kovid Goyal
ed1547938e
When running tests ensure the signal mask is empty for processes run in the testing pty
2022-08-01 19:03:01 +05:30
Kovid Goyal
9379853d47
Get the SIGINT test working on macOS
2022-08-01 19:03:01 +05:30
Kovid Goyal
6ccfebd9e3
...
2022-08-01 19:03:01 +05:30
Kovid Goyal
b7d3d64975
Ignore error condition on master fd of testing pty
2022-08-01 19:03:00 +05:30
Kovid Goyal
0841be7803
Test sigwinch handling
2022-08-01 19:03:00 +05:30
Kovid Goyal
285c399ae5
...
2022-08-01 19:03:00 +05:30
Kovid Goyal
8998970adc
Make the socket prewarm test a bit more robust
2022-08-01 19:03:00 +05:30
Kovid Goyal
d080bf3b9c
Forward termination signals
2022-08-01 19:02:59 +05:30
Kovid Goyal
4154926be7
Get the test to pass on macOS
2022-08-01 19:02:59 +05:30
Kovid Goyal
dc84e3de67
Do not hang forever waiting for child death
2022-08-01 19:02:59 +05:30