Commit Graph

12836 Commits

Author SHA1 Message Date
Kovid Goyal
aee14a49f0 ... 2023-10-27 14:19:35 +05:30
Kovid Goyal
acf586867c Fix empty emoticons panel in unicode input kitten
Fixes #6760
2023-10-27 14:18:46 +05:30
Kovid Goyal
7cb392c7ab Use a hash table for images 2023-10-26 20:40:02 +05:30
Kovid Goyal
f8d5e30300 Use a hash table for image placements 2023-10-26 19:42:32 +05:30
Kovid Goyal
be5a0e8559 Same treatment for image and render data arrays 2023-10-26 16:29:13 +05:30
Kovid Goyal
7cffb2a714 Prepare for fast image/ref lookup via hashmap 2023-10-26 15:45:06 +05:30
Kovid Goyal
6111bc8ed6 Cleanup changelog 2023-10-26 09:00:37 +05:30
Kovid Goyal
1c1519c6e4 micro optimization 2023-10-25 18:41:27 +05:30
Kovid Goyal
b55883591d ... 2023-10-25 18:37:10 +05:30
Kovid Goyal
ae4a13b249 Better fix for macOS deadlock
Fix it in glfw. Dont hold the tick lock when calling the tick callback
as the tick callback might be waiting on a lock.
2023-10-25 18:32:07 +05:30
Kovid Goyal
61c4f80e90 Fix deadlock on macOS caused by recent support for pipe peers
Apparently on macOS we cant post an event to the main loop if the main loop is
waiting on a lock we are holding. Absurd.

Fixes #6751
2023-10-25 18:16:13 +05:30
Kovid Goyal
0ce996120a Allow o key to take effect in any chunk of OSC 99 2023-10-25 15:50:58 +05:30
Kovid Goyal
47b8b442dc Document when o key was added to desktop notifications spec 2023-10-25 15:42:57 +05:30
Kovid Goyal
32d23921df ... 2023-10-25 13:54:22 +05:30
Kovid Goyal
19374208e0 desktop notification protocol: Allow applications sending notifications to specify that the notification should only be displayed if the window is currently unfocused
Fixes #6755
2023-10-25 13:52:32 +05:30
Kovid Goyal
8c83284d5e Fix #6750 2023-10-25 12:14:36 +05:30
Kovid Goyal
9c25a183db On second thoughts dont use foreground process env vars for kitten @ ls
Since the purpose of the env vars is mostly to recognize windows the
original env vars make more sense. Also I dislike changing behavior for
no good reason.
2023-10-25 12:12:16 +05:30
Kovid Goyal
24895f0225 ... 2023-10-25 12:00:44 +05:30
Kovid Goyal
eefb865e6e kitten @ ls: Return environ of foreground process
This is needed on macOS where we now run the shell via login and we
aren't allowed to read the environ of login because its setuid.

Fixes #6749
2023-10-25 09:54:12 +05:30
Kovid Goyal
b1ec1c2678 ... 2023-10-24 18:39:28 +05:30
Kovid Goyal
ce583ea460 Render Private Use Unicode symbols using two cells if the second cell contains a non-breaking space as well as a normal space
There is some software out there that uses nbsp as a separator,
presumably as some kind of hack.

https://github.com/ibhagwan/fzf-lua/issues/916
2023-10-24 17:38:49 +05:30
Kovid Goyal
539a8706dc Update bundled harfbuzz version
The old version shows very poor perfromance shaping some fonts with
ligatures on macOS.

Fixes #6743
2023-10-24 16:39:29 +05:30
Kovid Goyal
467e7e5041 function to convert monotonic_t to microsecs 2023-10-24 16:38:17 +05:30
Kovid Goyal
d94a5bd386 Fix #6746 2023-10-24 07:21:30 +05:30
Kovid Goyal
480737a355 Merge branch 'dependabot/go_modules/all-go-deps-abad278ef8' of https://github.com/kovidgoyal/kitty 2023-10-23 08:50:15 +05:30
dependabot[bot]
d63739a598 Bump the all-go-deps group with 1 update
Bumps the all-go-deps group with 1 update: [github.com/bmatcuk/doublestar/v4](https://github.com/bmatcuk/doublestar).

- [Release notes](https://github.com/bmatcuk/doublestar/releases)
- [Commits](https://github.com/bmatcuk/doublestar/compare/v4.6.0...v4.6.1)

---
updated-dependencies:
- dependency-name: github.com/bmatcuk/doublestar/v4
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: all-go-deps
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-10-23 03:19:21 +00:00
Kovid Goyal
3526e59d3b Fix stripping of escape codes not stripping \r when bracketed paste is not active 2023-10-21 08:15:15 +05:30
Kovid Goyal
7292d1c9df Clean up mouse-demo kitten
Fixes #6738
2023-10-21 07:55:23 +05:30
Kovid Goyal
c9a95cacd9 ... 2023-10-20 18:24:21 +05:30
Kovid Goyal
8853f6bae2 Consider \r dangerous without bracketed paste 2023-10-20 13:38:35 +05:30
Kovid Goyal
beb18cc250 Add window titles to various ask kitten invocations 2023-10-20 13:36:02 +05:30
Kovid Goyal
321f1a6650 Nicer formatting for paste sanitization confirmation message 2023-10-20 13:22:58 +05:30
Kovid Goyal
8d8d89573c ... 2023-10-20 13:14:25 +05:30
Kovid Goyal
89ee128a92 ... 2023-10-20 13:05:21 +05:30
Kovid Goyal
defa2e29ac Always ask for confirmation when pasting text with control codes in it 2023-10-20 13:02:28 +05:30
Kovid Goyal
56963c693e When pasting in bracketed paste mode and the cursor is at a shell prompt, strip out C0 control codes
Some shells incorrectly interpret these allowing escape from bracketed paste mode. Thanks to David Leadbetter for discovering.
2023-10-20 12:17:13 +05:30
Kovid Goyal
f098240ace ... 2023-10-20 08:43:45 +05:30
Kovid Goyal
4b997a961c A new option single_window_padding_width to use a different padding when only a single window is visible
Fixes #6734
2023-10-20 08:37:45 +05:30
Kovid Goyal
512a672398 ... 2023-10-19 08:12:04 +05:30
Kovid Goyal
6cfb451ec8 Two new event types for watchers
on_title_change and on_set_user_var
2023-10-19 07:54:33 +05:30
Kovid Goyal
4a463f7712 More kitty @ -> kitten @ 2023-10-18 21:16:12 +05:30
Kovid Goyal
5ea9700c82 More kitty @ -> kitten @ 2023-10-18 20:40:39 +05:30
Kovid Goyal
1332cf8ac7 Create an easy to use alias for running remote control scripts 2023-10-18 20:29:50 +05:30
Kovid Goyal
f8ab5f3f67 ... 2023-10-18 20:15:05 +05:30
Kovid Goyal
822311d523 Change kitty @ to kitten @ in the docs 2023-10-18 20:13:49 +05:30
Kovid Goyal
713569fcfa Advertise the ability to run remote control scripts without turning on remote control 2023-10-18 20:10:17 +05:30
Kovid Goyal
7d32a77fe4 ... 2023-10-18 20:00:41 +05:30
Kovid Goyal
314fe4fe4a Allow launched background process to work with --allow-remote-control
Use a dedicated socketpair for such processes. Fixes #6712
2023-10-18 19:56:58 +05:30
Kovid Goyal
a9b412baba Fix a regression that broke kitten update-self
Fixes #6729
2023-10-18 19:19:35 +05:30
Kovid Goyal
0300a355d0 update docs for remote_kitty 2023-10-18 17:31:44 +05:30