X-Git-Url: https://mattmccutchen.net/rsync/rsync.git/blobdiff_plain/9db17434906bf8797a59ba1f8222b6e110bec5fd..30e50494bbb057d4191e4636b963c6b7b0770ece:/NEWS diff --git a/NEWS b/NEWS index 7bb1d6b7..db03fc11 100644 --- a/NEWS +++ b/NEWS @@ -1,58 +1,66 @@ -NEWS for rsync 2.6.6 (UNRELEASED) -Protocol: 29 (unchanged) -Changes since 2.6.5: - - SECURITY FIXES: - - - Applied a zlib fix to block a buffer overflow in the decompression - code. Only affects a daemon if it allows uploads and does not refuse - the --compress option. +NEWS for rsync 3.0.0 (UNRELEASED) +Protocol: 30 (changed) +Changes since 2.6.9: BUG FIXES: - - The setting of flist->high in clean_flist() was wrong for an empty list. - This could cause flist_find() to crash in certain rare circumstances - (e.g. if just the right directory setup was around when --fuzzy was - combined with --link-dest). + - Fixed the output of -ii when combined with one of the --*-dest options: + it now itemizes all the items, not just the changed ones. - - The outputting of hard-linked files when verbosity was > 1 was not right: - without -i it would output the name of each hard-linked file as though - it had been changed (it now outputs a "is hard linked" message for the - file); with -i it would output all dots for the unchanged attributes of - a hard-link (it now changes those dots to spaces, as is done for other - totally unchanged items). + - Made the output of all file types consistent when using a --*-dest + option. Prior versions used to output too many creation events for + matching items. - - When backing up a changed symlink or device, get rid of any old backup - item so that we don't get an "already exists" error. + - The code that waits for a child pid now handles being interrupted by + a signal. This fixes a problem with the pre-xfer exec function not + being able to get the exit status from the script. - - A couple places that were comparing a local and a remote modification- - time were not honoring the --modify-window option. + - A negated filter rule now sends the negation option when sending the + filter rules. - - Fixed a really old, minor bug that could cause rsync to warn about being - unable to mkdir() a path that ends in "/." because it just created the - directory (required --relative, --no-implied-dirs, a source path that - ended in either a trailing slash or a trailing "/.", and a non-existing - destination dir to tickle the bug in a recent version). + - Fixed a problem with -vv (double --verbose) and --stats when "pushing" + files (which includes local copies). Version 2.6.9 would complete the + copy, but exit with an error when the receiver output its memory stats. ENHANCEMENTS: - - Made the "max verbosity" setting in the rsyncd.conf file settable on a - per-module basis (which now matches the documentation). + - Added the --delete-delay option, which is a more efficient way to + delete files at the end of the transfer without needing a separate + delete pass. + + - You may specify --max-delete=0 to a 3.0.0 client as long as the + receiving side is at least version 3.0.0. This means that you + can pull from an older rsync with this option, but pushing to an + older rsync will generate an error. *Be sure to never specify a 0 + value to an older rsync client, or it will be silently ignored.* + + - The --hard-link option now uses less memory on both the sending and + receiving side for all protocol versions. For protocol 30, the use + of a hashtable on the sending side allows us to more efficiently + convey to the receiver what files are linked together. This reduces + the amount of data sent over the socket by a considerable margin, and + moves the in-memory storage of the device+inode information from the + receiving side (for protocols < 30) to the sending side (note that + older rsync versions kept the device+inode information on both + sides). + + INTERNAL: + + - Added some isType() functions that make dealing with signed characters + easier without forcing variables via casts. + + - Upgraded the included popt version to 1.10.2 and improved its use of + string-handling functions. - - The support/rrsync script has been upgraded to verify the args of options - that take them (instead of rejecting any such options). The script was - also changed to try to be more secure and to fix a problem in the parsing - of a pull operation that has multiple sources. + - Added missing prototypes for compatibility functions from the lib dir. - - Upgraded the zlib code from 1.1.4 to 1.2.2 (plus the security fix - mentioned above). + - Configure determines if iconv() has a const arg, allowing us to avoid a + compiler warning. - BUILD CHANGES: + - Made the sending of some numbers more efficient for protocol 30. - - Made configure define NOBODY_USER (currently hard-wired to "nobody") and - NOBODY_GROUP (set to either "nobody" or "nogroup" depending on what we - find in the /etc/group file). + - Improved the use of "const" on pointers. - - Added a test to the test suite, itemized.test, that tests the output of - -i (log-format w/%i) and some double-verbose messages. + DEVELOPER RELATED: + - ...