Commit Graph

7802 Commits

Author SHA1 Message Date
Kovid Goyal
df1ecad7e9 Fix failing test
Ignore progress messages in the tests
2021-10-03 12:01:41 +05:30
Kovid Goyal
5699c3ae7d Dont spin report done files 2021-10-03 11:58:24 +05:30
Kovid Goyal
1877a02378 Dont count dirs in transfer stats 2021-10-03 11:30:08 +05:30
Kovid Goyal
e9f344c53f Improve progress reporting for individual files 2021-10-03 11:26:49 +05:30
Kovid Goyal
d15763f2ad Dont show transfer stats for non regular files 2021-10-03 11:16:07 +05:30
Kovid Goyal
76eab44f53 Have the receiving side send progress updates
This is both more accurate and works for rsync based transfers, where we
dont know the total size to transmit because of the streaming nature of
the rsync protocol.
2021-10-03 11:04:46 +05:30
Kovid Goyal
3a373a200c Add a tell() method to PatchFile to track how much has been written 2021-10-03 10:18:28 +05:30
Kovid Goyal
f6e518d2f9 DRYer 2021-10-02 12:06:56 +05:30
Kovid Goyal
14f9f64bce Fix chunking of signature for transmission 2021-10-02 11:47:29 +05:30
Kovid Goyal
c79a0108a1 Remove unneeded code 2021-10-02 11:24:43 +05:30
Kovid Goyal
20fcc5e31b DRYer 2021-10-02 11:16:47 +05:30
Kovid Goyal
01299421ee Fix typo causing test to fail 2021-10-02 11:07:34 +05:30
Kovid Goyal
5729e33412 librsync actually blocks on output buffer size as well as input availability. So handle that 2021-10-02 09:26:35 +05:30
Kovid Goyal
f85f39e662 Code to easily develop librsync bindings 2021-10-02 07:22:33 +05:30
Kovid Goyal
0e9be57119 ... 2021-10-02 06:25:57 +05:30
Kovid Goyal
ffd7b5779b Fix end of data not being sent when using rsync 2021-10-02 06:15:06 +05:30
Kovid Goyal
1d1d55e2b4 Fix #4084 2021-10-02 05:10:59 +05:30
Kovid Goyal
3cea8f24d4 ... 2021-10-02 04:58:47 +05:30
Kovid Goyal
d6a43a7729 Dont turn on disambiguate keys when receiving th XTMODKEYS escape code
See #4075
2021-10-01 21:26:27 +05:30
Kovid Goyal
cfeeec95fa Start work on delta based file transmission 2021-10-01 17:26:27 +05:30
Kovid Goyal
e6cff61f99 Move management of destination file completely into PatchFile 2021-10-01 14:29:14 +05:30
Kovid Goyal
eeb02ceef4 Shell integration: Workaround bash not redrawing multiline prompts 2021-10-01 09:30:26 +05:30
Kovid Goyal
eaa0ec4fc3 ... 2021-10-01 07:57:21 +05:30
Kovid Goyal
91a719f80e fix query URL 2021-10-01 07:54:04 +05:30
Kovid Goyal
06f67e4765 typo in comment 2021-09-30 14:27:22 +05:30
Kovid Goyal
7530bfd1a1 lang -> source_ext since it is now file extension not language name 2021-09-30 14:25:48 +05:30
Kovid Goyal
abf6a3f91d Fix #4080 2021-09-30 14:23:19 +05:30
Kovid Goyal
21d3856e90 Another attempt at fixing fish cursor movement 2021-09-30 14:17:01 +05:30
Kovid Goyal
2304d0ec5c Ignore extra zero in escape code to manipulate window title stack
See https://github.com/weechat/weechat/issues/1702
2021-09-30 09:16:51 +05:30
Kovid Goyal
5cafe198bf icat: Fix EXIF orientation not taken into account when resizing 2021-09-30 08:45:41 +05:30
Kovid Goyal
4ce2690bd2 DRYer 2021-09-30 08:39:27 +05:30
Kovid Goyal
ea186ac48d Fix click to move cursor in fish multiline text
Thanks to @ridiculousfish, see: https://github.com/kovidgoyal/kitty/issues/3948#issuecomment-930458949
2021-09-30 07:44:30 +05:30
Kovid Goyal
9ab5a03f53 Fix movement of cursor when clicking and dual width chars are present in zsh 2021-09-30 07:38:44 +05:30
Kovid Goyal
7650c8bca9 Remove premature changelog entry 2021-09-29 20:42:06 +05:30
Kovid Goyal
3728d2cfd9 Add changelog entry for previous PR 2021-09-29 19:43:33 +05:30
Kovid Goyal
3214ba4541 Merge branch 'ibus_forward_key_event' of https://github.com/pjm0616/kitty 2021-09-29 19:36:44 +05:30
Park, Jeongmin
4232904055 ibus: Add support for ForwardKeyEvent signal
The ForwardKeyEvent ibus signal is used to maintain ordering between CommitText events and non-IME key events.
The ordering is important for Korean IMEs, where it automatically commits text whenever a character is fully composed. This is different from Chinese/Japanese IMEs, where user manually presses a key to commit each word.

Without this patch, kitty can't handle non-IME key events when used with ibus-hangul, which utilizes ForwardKeyEvent signal.

Without ForwardKeyEvent:
```
key | sequence of events from application's view
r   | UpdatePreeditText 'ㄱ'
k   | UpdatePreeditText '가'
1   | (receives the reply to ProcessKeyEvent call: "native_key: 0x31 release: 0 handled: 0")
    | -> UpdatePreeditText ''
    | -> CommitText '가'
```
Application receives "1가", which is incorrect.

With ForwardKeyEvent:
```
key | sequence of events from application's view
r   | UpdatePreeditText 'ㄱ'
k   | UpdatePreeditText '가'
1   | (receives the reply to ProcessKeyEvent call: "native_key: 0x31 release: 0 handled: 1", and kitty discards the event)
    | -> UpdatePreeditText ''
    | -> CommitText '가'
    | -> ForwardKeyEvent keysym=0x31("1")
```
Application receives "가1", which is correct.

Relevant ibus-hangul github issue to implement ForwardKeyEvent: https://github.com/libhangul/ibus-hangul/issues/42
Relevant changes in Qt to handle ForwardKeyEvent: https://codereview.qt-project.org/c/qt/qtbase/+/212179, https://codereview.qt-project.org/c/qt/qtbase/+/255587
2021-09-29 21:20:09 +09:00
Kovid Goyal
baf8976c2d Keep global_watchers immutable 2021-09-29 14:39:48 +05:30
Kovid Goyal
b3ae857f3c ... 2021-09-29 14:25:13 +05:30
Kovid Goyal
8be0dd0d8e Restore the --watcher command line option for backwards compat
It is now deprecated but not removed. And it now applies to all windows
not just initially created ones.
2021-09-29 14:18:55 +05:30
Kovid Goyal
166ea9deb9 A new watcher option for kitty.conf that replaces the old --watcher cli flag
Applies to all windows, not just initial ones.
2021-09-29 14:01:30 +05:30
Kovid Goyal
7a16ef2cc4 ... 2021-09-29 13:21:42 +05:30
Kovid Goyal
a0cee13652 Also turn on extended key reporting for CSI > 4; 2 m
This is supported by XTerm and used by vim. Fixes #4075
2021-09-29 11:12:01 +05:30
Kovid Goyal
a3b434d2fe ... 2021-09-29 11:01:30 +05:30
Kovid Goyal
36ab05f003 DRYer 2021-09-29 10:59:42 +05:30
Kovid Goyal
35dee0c46e Dont list all releases when publishing, instead just query the API for the existing release directly 2021-09-29 10:52:51 +05:30
Kovid Goyal
cb1858ecc8 Remove unused import 2021-09-29 10:33:04 +05:30
Kovid Goyal
10fbf36e92 Silence bells caused by cursor movement after click at prompt 2021-09-29 10:27:13 +05:30
Kovid Goyal
3c3e97aa6e Fix moved status not being returned to python 2021-09-29 08:37:26 +05:30
Kovid Goyal
f353380e86 Fix #4074 2021-09-29 08:08:29 +05:30