Commit Graph

  • 2829971412 Merge branch 'expose-wakeup-main-loop' of https://github.com/sirno/kitty Kovid Goyal 2022-06-17 19:09:07 +05:30
  • c147fda6ca Expose wakeup main loop in python api. Nicolas Ochsner 2022-06-17 15:26:16 +02:00
  • a27dfd8b7c Increase the timeout for prewarm I/O on CI Kovid Goyal 2022-06-14 21:17:28 +05:30
  • a7c65efc45 Ensure local kitty is used in tests even when another kitty is present in the system PATH Kovid Goyal 2022-06-14 21:08:58 +05:30
  • 646a524c8e Sort imports Kovid Goyal 2022-06-14 20:06:12 +05:30
  • f8d01d2c4f Use the same parser for resize_window actions and session setting Kovid Goyal 2022-06-14 20:03:21 +05:30
  • 1d846f3744 Cleanup previous PR Kovid Goyal 2022-06-14 19:59:01 +05:30
  • 6bbe58f876 Change to pass window specs. Nicolas Ochsner 2022-06-14 12:28:41 +02:00
  • 36719fb086 Cleanup. Nicolas Ochsner 2022-06-14 11:23:35 +02:00
  • 78fd7a8458 Enable resizing in session files. Nicolas Ochsner 2022-06-14 11:09:26 +02:00
  • f5976d0d63 Remove unneeded code Kovid Goyal 2022-06-13 21:33:07 +05:30
  • b313fc3fbe Forgot to also add SIGUSR1 handler Kovid Goyal 2022-06-13 21:09:32 +05:30
  • cf667b8c47 Use a signal handler instead of a pipe for child death notification Kovid Goyal 2022-06-13 20:40:04 +05:30
  • 7e3bd8586f Dont use SIGTSTP and SIGCONT in the test as they are very flaky Kovid Goyal 2022-06-13 20:29:58 +05:30
  • d5df301317 Finer grained polling Kovid Goyal 2022-06-13 19:41:40 +05:30
  • 628246c3da Workaround for python 3.8 that doesnt have the CLD_* constants Kovid Goyal 2022-06-13 19:22:37 +05:30
  • d228acd30a Use a busy loop for signaled process Kovid Goyal 2022-06-13 19:11:29 +05:30
  • 18cd97d914 Skip SIGSTSTP test when CLD_STOPPED is not available Kovid Goyal 2022-06-13 19:05:49 +05:30
  • 5f13946bac Allow using our signal handlers in python event loops via an fd Kovid Goyal 2022-06-13 18:52:23 +05:30
  • 8fb24fbc1e poll() takes times in ms not seconds Kovid Goyal 2022-06-13 18:51:35 +05:30
  • f0d4952055 Use an iterator Kovid Goyal 2022-06-13 08:14:51 +05:30
  • 7113580db2 macOS has no waitid Kovid Goyal 2022-06-13 02:19:51 +05:30
  • 163c211219 Use waitid() rather than waitpid() to get full exit status Kovid Goyal 2022-06-13 00:19:56 +05:30
  • 6993157b3a ... Kovid Goyal 2022-06-13 00:15:07 +05:30
  • e2efdf674d Reap prewarmed processes Kovid Goyal 2022-06-13 00:11:16 +05:30
  • 9fcb8e5b6e Close unneeded fds in forked children Kovid Goyal 2022-06-12 20:26:20 +05:30
  • a1a637c7f1 Restore SIGUSR1 handling in prewarmed child Kovid Goyal 2022-06-12 18:59:55 +05:30
  • 4f87f3e9f4 ... Kovid Goyal 2022-06-12 18:15:23 +05:30
  • da6faa656c Use a fork() without exec() to create prewarm process Kovid Goyal 2022-06-12 18:06:51 +05:30
  • e1ad75e932 Graphics protocol: Make it explicit what is supposed to happen when two images with the same z-index overlap Kovid Goyal 2022-06-10 22:10:11 +05:30
  • 646bdbd002 Wayland: Fix a regression in the previous release that caused mouse cursor animation and keyboard repeat to stop working when switching seats Kovid Goyal 2022-06-10 21:38:30 +05:30
  • 9184de1997 ... Kovid Goyal 2022-06-10 18:44:23 +05:30
  • eabc29ec4d Changelog entry for prewarming Kovid Goyal 2022-06-09 10:43:00 +05:30
  • e338cdab31 Increase the timeout when talking to prewarm process Kovid Goyal 2022-06-08 19:12:04 +05:30
  • 7001d609fa Fix spurious warning from runpy module when prewarmed Kovid Goyal 2022-06-08 19:10:06 +05:30
  • c8399ce3d2 clear signal handlers in prewarm controller Kovid Goyal 2022-06-08 17:53:30 +05:30
  • 3e1d701dce DRYer Kovid Goyal 2022-06-08 15:02:51 +05:30
  • a385c39c2e Fix reading of dead prewarmed child pids Kovid Goyal 2022-06-08 14:59:47 +05:30
  • 5d1cf339a7 Simplify child death tracking Kovid Goyal 2022-06-08 14:51:25 +05:30
  • fafb8518e0 Fix compilation on platforms without SO_PASSCRED Kovid Goyal 2022-06-08 14:19:39 +05:30
  • 6807f4d4ea Report the correct cmdline for prewarmed processes Kovid Goyal 2022-06-08 13:54:30 +05:30
  • 0ed7b2f3c0 Manage fd lifecycles a bit better Kovid Goyal 2022-06-08 13:26:27 +05:30
  • 116128ebb5 Get prewarm working Kovid Goyal 2022-06-08 11:33:18 +05:30
  • 0c870c5fcd handle child death and config reload for prewarmed processes Kovid Goyal 2022-06-08 07:10:52 +05:30
  • 90bc3ab770 Function to create a randomly named UNIX domain socket Kovid Goyal 2022-06-07 14:07:39 +05:30
  • 0021b0c242 Prewarm all kittens Kovid Goyal 2022-06-07 13:01:06 +05:30
  • 6dc076f5d1 Complete move to prewarm.py Kovid Goyal 2022-06-07 19:52:38 +05:30
  • 2dd1201c3f Dont use a kitten for prewarm Kovid Goyal 2022-06-07 19:50:24 +05:30
  • 9be68966b4 Also detect ssh kitten run as an overlay Kovid Goyal 2022-06-08 18:53:03 +05:30
  • 47d482dca9 Clear signal handlers when running processes Kovid Goyal 2022-06-08 17:50:42 +05:30
  • 18dd13c872 Make init_loop_data a little safer to use Kovid Goyal 2022-06-08 15:10:52 +05:30
  • c71bb877c3 Handle SIGHUP gradefully Kovid Goyal 2022-06-08 09:06:28 +05:30
  • eee8106f9e Fix a regression that broke completion when using a kitty alias instead of having kitty on PATH Kovid Goyal 2022-06-08 07:36:09 +05:30
  • 80ad596d3d Yet another place where macos_colorspace was broken Kovid Goyal 2022-06-08 07:17:34 +05:30
  • 9dbafcc368 Remove unneccessary argument to connection_sharing_args() Kovid Goyal 2022-06-07 20:40:01 +05:30
  • 9f5f113840 ... Kovid Goyal 2022-06-07 13:05:07 +05:30
  • 6afbdbe94f Use correct kitty config in prewarmed process Kovid Goyal 2022-06-07 12:53:39 +05:30
  • 061a0c8cb6 Reset global options object in the tests Kovid Goyal 2022-06-07 10:58:03 +05:30
  • ad128a3c29 version 0.25.2 v0.25.2 Kovid Goyal 2022-06-07 07:32:35 +05:30
  • b71d2e04ca Clarify behavior of placement id when image id is zero Kovid Goyal 2022-06-07 07:22:12 +05:30
  • cc3c7b0286 Fix waitpid() call on python 3.8 Kovid Goyal 2022-06-06 21:11:55 +05:30
  • bf6c90a69a Compare realpaths for cwd test Kovid Goyal 2022-06-06 20:46:49 +05:30
  • 4c9a75c1ba Remove unused code Kovid Goyal 2022-06-06 20:45:40 +05:30
  • 98f46f8bd7 Start work on prewarming Kovid Goyal 2022-06-06 20:39:36 +05:30
  • dec62b1929 Allow ignoring SHM close failures Kovid Goyal 2022-06-06 20:31:13 +05:30
  • 79f7954048 Cleanup previous PR Kovid Goyal 2022-06-06 17:19:52 +05:30
  • fc217dafba Merge branch 'master' of https://github.com/suvayu/kitty Kovid Goyal 2022-06-06 16:55:08 +05:30
  • a6aff817cf Prepare for prewarm testing Kovid Goyal 2022-06-06 15:59:34 +05:30
  • 38cb18fe92 diff kitten: tests for directory walking Suvayu Ali 2022-06-06 11:01:45 +02:00
  • 20b6a97159 Update in response to feedback Suvayu Ali 2022-06-06 09:58:18 +02:00
  • 98f6e24106 Move block outside try/except as it doesnt need to be in there Kovid Goyal 2022-06-06 08:17:15 +05:30
  • 4ed6364b61 Fix compiler warning on 32bit builds Kovid Goyal 2022-06-06 07:19:52 +05:30
  • cd7751681d hints kitten: Fix surrounding quotes/brackets and embedded carriage returns not being removed when using line number processing Kovid Goyal 2022-06-05 16:52:15 +05:30
  • 76531d2f7a Python wrapper function to establish controlling tty Kovid Goyal 2022-06-05 15:36:05 +05:30
  • eea652f1d0 kittens/diff: move empty pattern check to dir tree walk Suvayu Ali 2022-06-05 10:10:17 +02:00
  • f20f4762a8 Use builtin facility for removing cloexec Kovid Goyal 2022-06-05 12:33:34 +05:30
  • c004fd1f4d Declare the set of handled signals in only one place Kovid Goyal 2022-06-05 08:01:26 +05:30
  • f29039db29 Make the full signal info available in our signal handler Kovid Goyal 2022-06-05 07:22:38 +05:30
  • fbf1ec43c7 diff kitten: add options to ignore paths when comparing directories Suvayu Ali 2022-06-05 00:02:13 +02:00
  • a42200a430 Use the log_error function to log SIGUSR2 Kovid Goyal 2022-06-04 15:38:56 +05:30
  • ad576c333c Also restore signal handlers for SIGUSR1 and SIGUSR2 Kovid Goyal 2022-06-04 15:15:39 +05:30
  • 5a0a980648 Make getting cmdline of a PID a bit more convenient Kovid Goyal 2022-06-04 15:07:08 +05:30
  • b3578a4fa5 ... Kovid Goyal 2022-06-04 14:54:32 +05:30
  • 3c952b01d3 Fix reloading in all kitties skipping kitty processes started as kitty +open Kovid Goyal 2022-06-04 14:53:13 +05:30
  • b1453a51f6 Better error message for kitty + Kovid Goyal 2022-06-04 14:47:13 +05:30
  • 2c3a7b5f41 Restore a couple more signal handlers that python nukes Kovid Goyal 2022-06-04 14:28:56 +05:30
  • 0df5a6c6c8 Utility function to test if PID is alive Kovid Goyal 2022-06-04 14:14:24 +05:30
  • bf4dc6365a Add support for sigqueue() and also handle SIGUSR2 Kovid Goyal 2022-06-04 14:09:23 +05:30
  • ce3322bf91 Remote control: Fix commands with asynchronous payloads not sending responses Kovid Goyal 2022-06-04 10:13:21 +05:30
  • 835cb31501 Fix incorrect dispatch of poll events when more than one peer is present Kovid Goyal 2022-06-04 09:26:57 +05:30
  • 762dd065f3 Nicer reverse loop Kovid Goyal 2022-06-04 09:06:35 +05:30
  • 7b91447d89 Use a full chekcout in CI when building docs Kovid Goyal 2022-06-04 08:00:00 +05:30
  • 1146c4ea3f Merge branch 'ignore-fig-osc' of https://github.com/grant0417/kitty Kovid Goyal 2022-06-04 07:44:17 +05:30
  • 729f7b8e03 Add custom message for Fig OSC grant0417 2022-06-03 18:57:53 -07:00
  • d3ec632b9f Ignore Fig OSC codes grant0417 2022-06-03 17:07:44 -07:00
  • cb01b5ee44 DRYer Kovid Goyal 2022-06-03 21:38:49 +05:30
  • 0828096e9e ... Kovid Goyal 2022-06-03 18:30:14 +05:30
  • ebcbed290f Make loading of kitty options in kitten re-useable Kovid Goyal 2022-06-03 17:48:38 +05:30
  • d6afe6f2cb Move entrypoints into their own module Kovid Goyal 2022-06-03 11:12:13 +05:30
  • 4daf70f636 ... Kovid Goyal 2022-06-03 11:08:41 +05:30