Kovid Goyal
|
6993157b3a
|
...
|
2022-06-13 00:15:07 +05:30 |
|
Kovid Goyal
|
e2efdf674d
|
Reap prewarmed processes
|
2022-06-13 00:11:16 +05:30 |
|
Kovid Goyal
|
9fcb8e5b6e
|
Close unneeded fds in forked children
|
2022-06-12 20:26:20 +05:30 |
|
Kovid Goyal
|
a1a637c7f1
|
Restore SIGUSR1 handling in prewarmed child
|
2022-06-12 18:59:55 +05:30 |
|
Kovid Goyal
|
4f87f3e9f4
|
...
|
2022-06-12 18:15:23 +05:30 |
|
Kovid Goyal
|
da6faa656c
|
Use a fork() without exec() to create prewarm process
This has the advantages:
1) Even first kitten use is fast
2) Computer has to do less work overall since prewarm process is itself prewarmed
|
2022-06-12 18:06:51 +05:30 |
|
Kovid Goyal
|
e338cdab31
|
Increase the timeout when talking to prewarm process
|
2022-06-09 07:01:42 +05:30 |
|
Kovid Goyal
|
7001d609fa
|
Fix spurious warning from runpy module when prewarmed
|
2022-06-09 07:01:42 +05:30 |
|
Kovid Goyal
|
c8399ce3d2
|
clear signal handlers in prewarm controller
|
2022-06-09 07:01:42 +05:30 |
|
Kovid Goyal
|
3e1d701dce
|
DRYer
|
2022-06-09 07:01:41 +05:30 |
|
Kovid Goyal
|
a385c39c2e
|
Fix reading of dead prewarmed child pids
|
2022-06-09 07:01:41 +05:30 |
|
Kovid Goyal
|
5d1cf339a7
|
Simplify child death tracking
Re-use the existing fd instead of catching signals
|
2022-06-09 07:01:41 +05:30 |
|
Kovid Goyal
|
fafb8518e0
|
Fix compilation on platforms without SO_PASSCRED
|
2022-06-09 07:01:41 +05:30 |
|
Kovid Goyal
|
6807f4d4ea
|
Report the correct cmdline for prewarmed processes
|
2022-06-09 07:01:41 +05:30 |
|
Kovid Goyal
|
0ed7b2f3c0
|
Manage fd lifecycles a bit better
|
2022-06-09 07:01:41 +05:30 |
|
Kovid Goyal
|
116128ebb5
|
Get prewarm working
Needed to wait in the control process for child to set its controlling
terminal so that closing the slave fd in kitty is safe.
|
2022-06-09 07:01:41 +05:30 |
|
Kovid Goyal
|
0c870c5fcd
|
handle child death and config reload for prewarmed processes
|
2022-06-09 07:01:41 +05:30 |
|
Kovid Goyal
|
90bc3ab770
|
Function to create a randomly named UNIX domain socket
|
2022-06-09 07:01:41 +05:30 |
|
Kovid Goyal
|
0021b0c242
|
Prewarm all kittens
|
2022-06-09 07:01:41 +05:30 |
|
Kovid Goyal
|
6dc076f5d1
|
Complete move to prewarm.py
|
2022-06-09 06:54:05 +05:30 |
|
Kovid Goyal
|
2dd1201c3f
|
Dont use a kitten for prewarm
|
2022-06-09 06:53:51 +05:30 |
|
Kovid Goyal
|
47d482dca9
|
Clear signal handlers when running processes
|
2022-06-08 17:50:42 +05:30 |
|
Kovid Goyal
|
18dd13c872
|
Make init_loop_data a little safer to use
|
2022-06-08 15:10:52 +05:30 |
|
Kovid Goyal
|
c71bb877c3
|
Handle SIGHUP gradefully
|
2022-06-08 09:06:28 +05:30 |
|
Kovid Goyal
|
eee8106f9e
|
Fix a regression that broke completion when using a kitty alias instead of having kitty on PATH
|
2022-06-08 07:36:09 +05:30 |
|
Kovid Goyal
|
80ad596d3d
|
Yet another place where macos_colorspace was broken
|
2022-06-08 07:17:34 +05:30 |
|
Kovid Goyal
|
ad128a3c29
|
version 0.25.2
|
2022-06-07 07:32:35 +05:30 |
|
Kovid Goyal
|
dec62b1929
|
Allow ignoring SHM close failures
Useful if we export the mmap beyond the lifetime of the shm object
|
2022-06-06 20:31:13 +05:30 |
|
Kovid Goyal
|
4ed6364b61
|
Fix compiler warning on 32bit builds
|
2022-06-06 07:19:52 +05:30 |
|
Kovid Goyal
|
76531d2f7a
|
Python wrapper function to establish controlling tty
|
2022-06-05 15:36:05 +05:30 |
|
Kovid Goyal
|
f20f4762a8
|
Use builtin facility for removing cloexec
|
2022-06-05 12:33:34 +05:30 |
|
Kovid Goyal
|
c004fd1f4d
|
Declare the set of handled signals in only one place
|
2022-06-05 08:01:26 +05:30 |
|
Kovid Goyal
|
f29039db29
|
Make the full signal info available in our signal handler
|
2022-06-05 07:22:38 +05:30 |
|
Kovid Goyal
|
a42200a430
|
Use the log_error function to log SIGUSR2
|
2022-06-04 15:38:56 +05:30 |
|
Kovid Goyal
|
ad576c333c
|
Also restore signal handlers for SIGUSR1 and SIGUSR2
|
2022-06-04 15:15:39 +05:30 |
|
Kovid Goyal
|
5a0a980648
|
Make getting cmdline of a PID a bit more convenient
|
2022-06-04 15:07:08 +05:30 |
|
Kovid Goyal
|
b3578a4fa5
|
...
|
2022-06-04 14:54:32 +05:30 |
|
Kovid Goyal
|
3c952b01d3
|
Fix reloading in all kitties skipping kitty processes started as kitty +open
|
2022-06-04 14:53:13 +05:30 |
|
Kovid Goyal
|
b1453a51f6
|
Better error message for kitty +
|
2022-06-04 14:47:13 +05:30 |
|
Kovid Goyal
|
2c3a7b5f41
|
Restore a couple more signal handlers that python nukes
|
2022-06-04 14:30:08 +05:30 |
|
Kovid Goyal
|
0df5a6c6c8
|
Utility function to test if PID is alive
|
2022-06-04 14:14:24 +05:30 |
|
Kovid Goyal
|
bf4dc6365a
|
Add support for sigqueue() and also handle SIGUSR2
I anticipate using sigqueue() for simpler handling of SIGCHLD
notifications from the prewram process to the its parent.
|
2022-06-04 14:09:45 +05:30 |
|
Kovid Goyal
|
ce3322bf91
|
Remote control: Fix commands with asynchronous payloads not sending responses
Fixes #5165
|
2022-06-04 10:13:21 +05:30 |
|
Kovid Goyal
|
835cb31501
|
Fix incorrect dispatch of poll events when more than one peer is present
|
2022-06-04 09:26:57 +05:30 |
|
Kovid Goyal
|
762dd065f3
|
Nicer reverse loop
|
2022-06-04 09:06:35 +05:30 |
|
Kovid Goyal
|
1146c4ea3f
|
Merge branch 'ignore-fig-osc' of https://github.com/grant0417/kitty
|
2022-06-04 07:44:17 +05:30 |
|
grant0417
|
729f7b8e03
|
Add custom message for Fig OSC
|
2022-06-03 18:57:53 -07:00 |
|
grant0417
|
d3ec632b9f
|
Ignore Fig OSC codes
|
2022-06-03 17:07:44 -07:00 |
|
Kovid Goyal
|
cb01b5ee44
|
DRYer
|
2022-06-03 21:38:49 +05:30 |
|
Kovid Goyal
|
d6afe6f2cb
|
Move entrypoints into their own module
|
2022-06-03 11:12:13 +05:30 |
|