Commit Graph

7826 Commits

Author SHA1 Message Date
Kovid Goyal
f4b6cc6628 Forgot the key the is_gcc cache by cc 2021-10-07 13:43:12 +05:30
Kovid Goyal
853f7cc59a Make handling of CC more robust
Allows multi-command compilers and makes detection of gcc more robust.
Fixes #4102
2021-10-07 13:35:56 +05:30
Kovid Goyal
5841776c65 Add the BEGIN key to terminfo
Fixes #4101
2021-10-07 13:15:06 +05:30
Kovid Goyal
fbf47f75d5 Fix soft hyphens not being preserved when round tripping text through the terminal
Also roundtrip all characters in the Cf category.

Characters with the DI (Default Ignorable) property are now
preserved but not rendered and treated as zero-width
as per the unicode standard.
See https://www.unicode.org/faq/unsup_char.html
2021-10-07 12:44:22 +05:30
Kovid Goyal
1b42f69119 Allow specifying extra lib dirs as well
Also use the extra include and lib dirs when detecting librsync
2021-10-06 10:23:01 +05:30
Kovid Goyal
a1b532334e Alias for --extra-include-dirs 2021-10-06 08:08:44 +05:30
Kovid Goyal
edac0e8023 Check for utmpx.h instead of __unix__
There is no reliable macro to test for UNIX
2021-10-05 11:58:09 +05:30
Kovid Goyal
498d3d5906 More cleanups 2021-10-05 11:58:06 +05:30
Kovid Goyal
57152a8e29 Fix utmp test 2021-10-05 11:41:18 +05:30
Kovid Goyal
35d4e2d4e0 Clean up previous PR 2021-10-05 11:36:29 +05:30
Kovid Goyal
fe42b15ec6 Merge branch 'master' of https://github.com/mattfbacon/kitty 2021-10-05 11:15:12 +05:30
Matt Fellenz
1d4a86594b Add tests for UTMP methods 2021-10-04 20:49:48 -07:00
Matt Fellenz
072e583835 Properly evaluate /etc/issue placeholders 2021-10-04 20:49:48 -07:00
Kovid Goyal
463133abbe Fix #4095 2021-10-05 07:20:40 +05:30
Kovid Goyal
34d6c69b2a fix forgotten import 2021-10-04 21:40:07 +05:30
Kovid Goyal
14d36e3727 Stub for receive in the transfer kitten 2021-10-04 21:31:02 +05:30
Kovid Goyal
ed95f7dfa0 Add a note about discarding key presses 2021-10-04 21:30:11 +05:30
Kovid Goyal
f93a10da48 Add a heart 2021-10-04 14:23:42 +05:30
Kovid Goyal
31e623afb3 Add support for Unicode 14
Fixes #3542
2021-10-04 14:00:35 +05:30
Kovid Goyal
2080b3d7fa Print out rsync stats 2021-10-03 13:40:53 +05:30
Kovid Goyal
a8e06a67c2 Better message when transferring rsync signatures 2021-10-03 13:29:50 +05:30
Kovid Goyal
42a79cb269 ... 2021-10-03 13:08:46 +05:30
Kovid Goyal
1ba9cd6138 Avoid progress messages with no actual progress 2021-10-03 13:06:38 +05:30
Kovid Goyal
37f3328147 Fix patching failing when decompressor produces no output 2021-10-03 12:57:32 +05:30
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