borgbackup/borg
Thomas Waldmann a5bfeddffe remote: deal with partial lines, fixes #2637
due to block buffering (in borg, pipes, sshd, ssh) partial lines might
be received. for plain text, this causes cosmetic issues.

the code now makes sure handle_remote_line() only gets called with a
complete line (which is terminated by any universal newline char, a
pure \r seems to be needed for remote progress displays).

it also fixes a yet undiscovered partial utf-8-sequence decoding issue
that might occur for the same reason.

(cherry picked from commit f2b48cd5c8)
2017-09-30 02:41:15 +02:00
..
testsuite get rid of datetime.isoformat to avoid bugs like #2994 2017-09-10 05:58:03 +02:00
__init__.py implement borgmajor/minor/patch placeholders, fixes #1694 2016-10-22 00:20:50 +02:00
__main__.py cosmetic source cleanup (flake8) 2016-01-30 21:32:45 +01:00
_chunker.c chunker: don't do uint32_t >> 32 2017-06-21 15:31:01 +02:00
_hashindex.c replace modulo with if to check for wraparound in hashmap 2017-08-01 06:01:03 +02:00
archive.py get rid of datetime.isoformat to avoid bugs like #2994 2017-09-10 05:58:03 +02:00
archiver.py docs: change-passphrase only changes the passphrase, fixes #2990 2017-09-23 22:17:18 +02:00
cache.py ignore corrupt files cache, fixes #2939 2017-08-19 01:03:38 +02:00
chunker.pyx chunker: fix invalid use of types 2017-06-21 15:31:33 +02:00
compress.pyx Fix compression exceptions (#2224) 2017-03-10 19:06:54 +01:00
crypto.pyx API_VERSION: use numberspaces, fixes #2023 2017-01-13 21:24:17 +01:00
fuse.py migrate locks to child PID when daemonize is used 2017-08-14 00:25:51 +02:00
hashindex.pyx fix ChunkIndex.__contains__ assertion for big-endian archs 2017-03-10 18:56:18 +01:00
helpers.py get rid of datetime.isoformat to avoid bugs like #2994 2017-09-10 05:58:03 +02:00
key.py use limited unpacker for outer key, fixes #2174 (#2790) 2017-07-16 12:36:03 -07:00
keymanager.py keymanager: don't depend on optional readline module 2017-08-30 11:29:32 +02:00
locking.py migrate locks to child PID when daemonize is used 2017-08-14 00:25:51 +02:00
logger.py sane remote logging, remote stderr, fixes #461 2015-12-12 22:15:08 +01:00
lrucache.py Merge branch 'master' into lrucache 2015-08-14 10:59:21 +01:00
paperkey.html key export: center QR code on the page 2017-02-12 22:26:10 +01:00
platform.py API_VERSION: use numberspaces, fixes #2023 2017-01-13 21:24:17 +01:00
platform_darwin.pyx API_VERSION: use numberspaces, fixes #2023 2017-01-13 21:24:17 +01:00
platform_freebsd.pyx API_VERSION: use numberspaces, fixes #2023 2017-01-13 21:24:17 +01:00
platform_linux.pyx API_VERSION: use numberspaces, fixes #2023 2017-01-13 21:24:17 +01:00
remote.py remote: deal with partial lines, fixes #2637 2017-09-30 02:41:15 +02:00
repository.py get rid of datetime.isoformat to avoid bugs like #2994 2017-09-10 05:58:03 +02:00
shellpattern.py fix most python-source related sphinx warnings 2016-07-10 17:26:04 +02:00
upgrader.py always setup module level "logger" in the same way 2017-01-06 05:48:50 +01:00
xattr.py helpers.Buffer: raise OSError subclass if too much memory is allocd 2017-01-04 19:28:05 +01:00