Commit graph

15603 commits

Author SHA1 Message Date
Kovid Goyal
7bd7709685
Move parsing of macos-launch-services-cmdline into native code
Avoids expensive re-exec and simplifies various things. Much faster
for single instance usage.
2025-04-25 14:39:36 +05:30
Kovid Goyal
639ad3e8a6
Make shlex code re-useable in launcher 2025-04-25 09:35:42 +05:30
Kovid Goyal
9f11782920
DRYer 2025-04-25 07:43:19 +05:30
Kovid Goyal
1f9a5647d4
Handle kitty code being imported into a non kitty python interpreter
Used by sphinx doc generation.
2025-04-25 07:29:42 +05:30
Kovid Goyal
5b1dfadd0b
... 2025-04-25 07:18:13 +05:30
Kovid Goyal
4e7418f2f1
Have makedirs operate on abspaths
clean() wont work with paths that use .. to go to
levels above the root of the passed in path.
2025-04-24 21:51:46 +05:30
Kovid Goyal
05f0839add
Work on moving launch services handling into C
This will make it faster and also more robust, not recuring hacks like
re-execs.
2025-04-24 21:07:29 +05:30
Kovid Goyal
76ac66fc8c
Implement various filesystem utility functions in C so they can be used in the launcher 2025-04-24 20:37:51 +05:30
Kovid Goyal
f49dbfaa7e
Abort fast cmdline if help requested 2025-04-24 10:26:47 +05:30
Kovid Goyal
9ad8dfaf3f
Infrastructure for hiding OS Window on focus lost 2025-04-24 09:29:34 +05:30
Kovid Goyal
c893440208
Wayland: Get rid of visibility change debounce since previous commit made it unnecessary 2025-04-24 09:08:28 +05:30
Kovid Goyal
06716b8b85
Wayland make hide and quick show of panel more robust by keeping on re-rendering till compositor sends a configure event 2025-04-24 09:05:20 +05:30
Kovid Goyal
3f115abb19
... 2025-04-24 08:30:40 +05:30
Kovid Goyal
2aab8734d4
reopen before forking so that if reopening fails we get a decent failure message 2025-04-24 08:28:33 +05:30
Kovid Goyal
14b633d13e
... 2025-04-24 08:27:44 +05:30
Kovid Goyal
9296bc3060
Speed up --detach
Also DRYer as well as more robust since single instance cleanup, binding
etc. happen in single process.
2025-04-24 08:13:58 +05:30
Kovid Goyal
55aa1d20f7
Fix double slash when concatenating SI path 2025-04-24 07:48:00 +05:30
Kovid Goyal
867ec83bed
Fix use of single instance with detach 2025-04-24 07:17:55 +05:30
Kovid Goyal
bd0116b561
Update docs 2025-04-24 07:07:28 +05:30
Kovid Goyal
fc8cc9cb71
Fix instance group not being passed by panel wrapper 2025-04-24 07:00:50 +05:30
Kovid Goyal
559e8449c5
Allow redirecting to a log file in --detach mode 2025-04-24 06:46:46 +05:30
Kovid Goyal
18d58587fb
... 2025-04-24 06:31:18 +05:30
Kovid Goyal
0c3797ec90
Implement --detach for panel kitten 2025-04-24 06:30:33 +05:30
Kovid Goyal
7a31dad770
Make mypy happy 2025-04-24 05:08:07 +05:30
Kovid Goyal
c194dbc9ef
Reset OS window class and name for new single instance OS windows 2025-04-23 22:18:42 +05:30
Kovid Goyal
87b218a40d
Preserve env vars from onvoking env when creating new os window via single instance 2025-04-23 22:14:06 +05:30
Kovid Goyal
2c2ddbb8f5
Remove useless animate parameter 2025-04-23 20:59:34 +05:30
Kovid Goyal
57c1a6ffcc
Update changelog 2025-04-23 20:55:53 +05:30
Kovid Goyal
983e570bbe
Update docs to note that macOS is supported by the panel kitten as well 2025-04-23 20:52:11 +05:30
Kovid Goyal
c3e1f2317b
Finish calculations for other panel types in cocoa 2025-04-23 20:36:35 +05:30
Kovid Goyal
845fc30020
Allow running panel kitten without a cmdline to run 2025-04-23 20:08:54 +05:30
Kovid Goyal
5abc33bcf2
Layer shell: inform compositor of newly desired window size when changing layer shell config
Without this non-sway compositors dont send a layer shell configure
event after the surface commit.

Fixes #8566
2025-04-23 19:26:13 +05:30
Kovid Goyal
17876385c5
... 2025-04-23 18:52:40 +05:30
Kovid Goyal
413a2b96e2
Prevent background panel launch taking focus from key window 2025-04-23 13:16:01 +05:30
Kovid Goyal
09eb5edcca
Get background panel basically working on macOS 2025-04-23 12:42:24 +05:30
Kovid Goyal
88735743cf
Allow negative margin values 2025-04-23 12:05:28 +05:30
Kovid Goyal
9d9ed5e777
... 2025-04-23 09:55:42 +05:30
Kovid Goyal
d0eb7d1d4a
Nicer error message 2025-04-23 09:28:43 +05:30
Kovid Goyal
6ca8cb5df8
Update FAQ entry 2025-04-23 09:20:00 +05:30
Kovid Goyal
f58c0f2241
... 2025-04-23 09:11:37 +05:30
Kovid Goyal
f0f5e53dbe
Fix failing test 2025-04-23 09:07:13 +05:30
Kovid Goyal
c2d9caeec0
... 2025-04-23 08:54:10 +05:30
Kovid Goyal
c1b6b4494a
Implement starting kitty hidden
Fixes #3466
2025-04-23 08:50:02 +05:30
Kovid Goyal
ca30b4196b
Prevent minimize/maximize/fullscreen for layer shell windows 2025-04-23 07:43:36 +05:30
Kovid Goyal
3c4a8a1e7e
Resize OS panels on font size change 2025-04-23 07:43:36 +05:30
Kovid Goyal
ae01cf3c1c
Refactor layer shell size callback to support multiple backends 2025-04-23 07:43:36 +05:30
Kovid Goyal
c9bf7e4236
Factor out Cocoa layer shell code into the proper function 2025-04-23 07:43:36 +05:30
Kovid Goyal
e93338a81c
Start work on macOS support for panel kitten 2025-04-23 07:43:36 +05:30
Kovid Goyal
eac0010c2e
... 2025-04-23 07:42:44 +05:30
Kovid Goyal
4f3abd08fd
Change mdcat -> mcat as mdcat is no longer maintained 2025-04-23 07:27:07 +05:30