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
Kovid Goyal
c8b1724ecf
Function to change OS Window title from python
2021-10-31 10:56:36 +05:30
Kovid Goyal
c289af8f07
When initiating a visual select make sure its tab is the active tab
2021-10-31 10:45:59 +05:30
Kovid Goyal
da7fa53b1a
Consolidate visual select cleanup in one place
...
Also ensure callback is called even when only a single window is present
and when selecting in stack
2021-10-31 10:36:23 +05:30
Kovid Goyal
d160db1bcd
...
2021-10-31 10:20:27 +05:30
Kovid Goyal
a788cd9f64
Also clear the current visual select when selecting in stack layout
2021-10-31 10:15:06 +05:30
Kovid Goyal
6997e36670
...
2021-10-31 10:11:50 +05:30
Kovid Goyal
1893b3ce0f
Store visual select in flight information in a single object
2021-10-31 10:10:20 +05:30
Kovid Goyal
576abecf7d
oops forgot to call cancel current visual select when starting a new one
2021-10-31 09:54:28 +05:30
Kovid Goyal
b9b799533b
Eh, mypy doesnt let me ignore requests on CI
2021-10-31 09:40:03 +05:30
Kovid Goyal
70a01955b8
Fix timeout of @ select-window not canceling the visual select
2021-10-31 09:38:55 +05:30
Kovid Goyal
5f9409a91d
Fix visual select failing if triggerred when there is already an active visual select
2021-10-31 09:32:12 +05:30
Kovid Goyal
32805ca968
More work on file transfer
2021-10-31 09:28:20 +05:30
Kovid Goyal
8dfb0c6675
Dont bother with type checking requests in the publish script
2021-10-31 09:25:39 +05:30
Kovid Goyal
7428d42c16
Restore environ after running tests
2021-10-31 09:20:06 +05:30
Kovid Goyal
99d9cb0b0d
Run tests with HOME set to a tempdir
2021-10-31 08:20:46 +05:30
Kovid Goyal
80ab60f1b6
Merge branch 'fix-clang-warning' of https://github.com/Luflosi/kitty
2021-10-30 20:30:27 +05:30
Luflosi
a1d24028b8
Fix Clang warning
...
Without this, kitty fails to compile:
```
glfw/cocoa_init.m:462:14: error: case value not in enumerated type
'NSEventModifierFlags' (aka 'enum NSEventModifierFlags')
[-Werror,-Wswitch]
case (NSEventModifierFlagShift | NSEventModifierFlagOption):
^
glfw/cocoa_init.m:465:14: error: case value not in enumerated type
'NSEventModifierFlags' (aka 'enum NSEventModifierFlags')
[-Werror,-Wswitch]
case (NSEventModifierFlagShift | NSEventModifierFlagCommand):
^
```
I thought about changing the type of the `modifierFlags` function parameter from `NSEventModifierFlags` to `NSUInteger` since `NSEventModifierFlags` is defined as an enum according to https://developer.apple.com/documentation/appkit/nseventmodifierflags?language=objc and is technically not the proper type for a bit field. But since Apple themselves define `modifierFlags` as `NSEventModifierFlags` according to https://developer.apple.com/documentation/appkit/nsevent/1534405-modifierflags?language=objc , I think the fix in this commit is better.
This warning was introduced with commit f9944e614088c4977ad9c9f1d1b44d97643e8d5b.
2021-10-30 16:25:20 +02:00
Kovid Goyal
d03f4dbc98
More work on file transfer
2021-10-30 16:54:27 +05:30
Kovid Goyal
f1573654b9
Update changelog for previous PR
2021-10-30 15:16:11 +05:30
Kovid Goyal
e703103fa8
Merge branch 'bgimage-options' of https://github.com/itepechi/kitty into bg
2021-10-30 15:04:41 +05:30
Kovid Goyal
6241369b6c
Cancel an async request on timeout so no spurious data is sent to the tty
2021-10-30 14:46:48 +05:30
Kovid Goyal
2a637e4220
Simplify sending of async response
2021-10-30 14:10:09 +05:30
Kovid Goyal
816360c275
A new remote control command to visually select a window
...
Fixes #4165
2021-10-30 13:56:48 +05:30
Kovid Goyal
c541d7e349
Document --self in the launch rc protocol
2021-10-30 12:36:58 +05:30
Kovid Goyal
df70d8661a
Pass the peer id to commands
2021-10-30 12:29:27 +05:30
Kovid Goyal
c3daa969fa
Allow individual commands to control the response timeout
2021-10-30 12:20:37 +05:30
Kovid Goyal
66a7c3bc4d
Simplify handling of --no-response
2021-10-30 12:15:37 +05:30
Kovid Goyal
3553b3ce3d
Pass the peer id to python for potentially async replies
2021-10-30 08:31:13 +05:30