8056 Commits

Author SHA1 Message Date
Kovid Goyal
6da5a8073c
Wayland: Apparently Java doesnt even set text/plain as a mimetype when copying text. Instead it uses UTF8_STRING and STRING.
So check for those as well. Am guessing whoever wrote this code in Java
just copied their old X11 shit without checking the specs. See #4183
2021-11-03 20:46:33 +05:30
Kovid Goyal
68ad513dd5
Merge branch 'fix-set-colors-err-msg' of https://github.com/page-down/kitty 2021-11-03 11:42:52 +05:30
pagedown
40ff78b1c8
Handle set colors exceptions 2021-11-03 12:55:05 +08:00
Kovid Goyal
477baf390b
DRYer 2021-11-03 09:32:49 +05:30
Kovid Goyal
76834c0975
Merge branch 'feat-visual-bell-color' of https://github.com/page-down/kitty 2021-11-03 09:13:27 +05:30
pagedown
a3b7a88e9c
... 2021-11-03 10:17:55 +08:00
pagedown
ce36b09593
Visible bell color falls back to default fg when selection bg is none 2021-11-03 10:07:57 +08:00
Kovid Goyal
ebaac70b27
Fix #4183 (paste in wyland with mime type text/plain) 2021-11-03 07:00:06 +05:30
pagedown
b4a6ed8d8f
Allows the visual bell color to be configured 2021-11-02 19:38:36 +08:00
Kovid Goyal
7c161f2d78
Check for actual executable when prepending the path 2021-11-02 15:36:03 +05:30
Kovid Goyal
39dcfb4e5d
Auto generate the list of all color config keys 2021-11-02 15:16:55 +05:30
Kovid Goyal
34d87b7a72
Another stab at PATH manipulation 2021-11-02 14:43:20 +05:30
Kovid Goyal
f2d2cfec8f
... 2021-11-02 13:54:51 +05:30
Kovid Goyal
46625d207b
Cleanup PATH manipulations 2021-11-02 08:57:44 +05:30
Kovid Goyal
f35112378f
Merge branch 'dont-rely-on-nanosecond-resolution' of https://github.com/Luflosi/kitty 2021-11-02 07:53:12 +05:30
Luflosi
bb5ded4e65
Don't rely on nanosecond resolution when testing mtime transmission
Commit 85cea78b3c157a3662f0aeb629c7a23fe3d783e7 missed a couple instances where the mtime was not a multiple of 1µs.
See https://github.com/kovidgoyal/kitty/issues/4175.
2021-11-01 21:06:23 +01:00
Kovid Goyal
b2f406f021
put kitty in PATH before setting default env 2021-11-01 21:37:13 +05:30
Kovid Goyal
7821e2508c
Cleanup previous PR 2021-11-01 20:52:55 +05:30
Kovid Goyal
3e6cfe3275
Merge branch 'fix-kitty-env-path' of https://github.com/page-down/kitty 2021-11-01 20:41:50 +05:30
Kovid Goyal
588313b9ac
Dont re-render window chars unless needed 2021-11-01 20:38:19 +05:30
pagedown
50e4811e6d
Make sure kitty is first in the PATH and not repeatedly added when it already exists 2021-11-01 22:37:31 +08:00
pagedown
c182f95684
Make --override parameter compatible with 'env VAR=' syntax 2021-11-01 22:37:30 +08:00
Kovid Goyal
c241524663
Implement rending of visual select chars on macOS 2021-11-01 15:34:38 +05:30
Kovid Goyal
9517c3500d
Allow visually selecting upto 36 windows
Also dont draw the window title if the window is too small
2021-11-01 10:46:54 +05:30
Kovid Goyal
1b8978fede
Implement rendering of ASCII char with FreeType 2021-11-01 10:17:26 +05:30
Kovid Goyal
5796cbc040
Remove the seven segment shader 2021-11-01 08:42:02 +05:30
Kovid Goyal
49726384f7
Start work on rendering visual select numbers using fonts instead of seven segment display 2021-11-01 08:40:03 +05:30
Kovid Goyal
e7386735f4
Make code to load alpha mask texture re-useable 2021-11-01 07:29:04 +05:30
Kovid Goyal
ddfa653197
resizing size text should be drawn with the current foreground color 2021-11-01 07:19:17 +05:30
Kovid Goyal
fffee1049f
Function to get an alpha mask for a single char from freetype 2021-11-01 06:52:24 +05:30
Kovid Goyal
cc502163cb
Use slots number for visual selection 2021-10-31 21:20:16 +05:30
Kovid Goyal
d53d92b890
Proper handling of async responses to peers 2021-10-31 21:09:24 +05:30
Kovid Goyal
218582ced8
More work on file transfer 2021-10-31 20:05:48 +05:30
Kovid Goyal
bc1c19b4f7
Merge branch 'fix-pager-cur-pos' of https://github.com/page-down/kitty 2021-10-31 19:18:29 +05:30
Kovid Goyal
85cea78b3c
Use 13000 when testing mtime transmission as there exist some systems with a 1000ns resolution. See #4175 2021-10-31 19:13:55 +05:30
pagedown
7a9027a147
Do not report cursor position when the cursor is scrolled off the screen 2021-10-31 21:17:38 +08:00
Kovid Goyal
66db3f9764
Also sanitize various XDG* env vars when running the test suite 2021-10-31 16:21:33 +05:30
Kovid Goyal
7e84343f16
Merge branch 'remove-unused-code' of https://github.com/Luflosi/kitty 2021-10-31 16:18:37 +05:30
Luflosi
e82e57a30c
Remove unused code
Since 99d9cb0b0d6498d678de426a81e622dd3e3750d6 runs all tests with HOME set to a temporary directory, this code setting the cache directory to a temporary directory is no longer needed. `cache_dir()` will choose a directory in the home directory if neither KITTY_CACHE_DIRECTORY or XDG_CACHE_HOME are set.
2021-10-31 11:42:55 +01:00
Kovid Goyal
336c7ddca8
DRYer 2021-10-31 15:41:19 +05:30
Kovid Goyal
4ffcbc8274
Wake up talk loop when not sending response to peer 2021-10-31 15:22:22 +05:30
Kovid Goyal
22673ebd90
... 2021-10-31 14:06:02 +05:30
Kovid Goyal
b1c0398bba
Avoid unnecessary CPU churn when reading from stdin for @ send-text 2021-10-31 14:04:07 +05:30
Kovid Goyal
6310517ff2
@ send-text: Fix reading from stdin when RC is over a socket 2021-10-31 13:55:11 +05:30
Kovid Goyal
4ff3d6a645
More work on file transfer 2021-10-31 13:12:23 +05:30
Kovid Goyal
23570cc5f7
... 2021-10-31 11:55:00 +05:30
Kovid Goyal
dc09a5183a
Exclude the currently active window when visually selecting 2021-10-31 11:37:38 +05:30
Kovid Goyal
8458b9e7d6
Allow specifying a title for @ select-window 2021-10-31 11:08:28 +05:30
Kovid Goyal
51900996ea
When selecting in stack dont exclude the active window 2021-10-31 11:05:00 +05:30
Kovid Goyal
663da130ae
Show the choose msg in the OS Window title bar during a visual select 2021-10-31 11:01:34 +05:30