Improved the itemized discussion under the wildcard changes.
[rsync/rsync.git] / NEWS
CommitLineData
276877cf 1NEWS for rsync 2.6.0 (1 Jan 2004)
195bd906 2Protocol: 27 (changed)
276877cf 3Changes since 2.5.7:
89855e78
WD
4
5 ENHANCEMENTS:
6
e636af6b
WD
7 * "ssh" is now the default remote shell for rsync. If you want to
8 change this, configure like this: "./configure --with-rsh=rsh".
9
58665d23 10 * Added --files-from, --no-relative, --no-implied-dirs, and --from0.
89855e78 11 Note that --from0 affects the line-ending character for all the
d00daf1f 12 files read by the --*-from options. (Wayne Davison)
89855e78 13
9e83fa99 14 * Length of csum2 is now per-file starting with protocol version
58665d23 15 27. (J.W. Schultz)
195bd906 16
9e83fa99
WD
17 * Per-file dynamic block size is now sqrt(file length). The
18 per-file checksum size is determined according to an algorithm
19 provided by Donovan Baarda which reduces the probability of rsync
20 algorithm corrupting data and falling back using the whole md4
58665d23 21 checksums. (J.W. Schultz, Donovan Baarda)
195bd906 22
727fa368
WD
23 * The --stats option no longer includes the (debug) malloc summary
24 unless the verbose option was specified at least twice.
25
d00daf1f
WD
26 * Added a new error/warning code for when files vanish from the
27 sending side. Made vanished source files not interfere with the
28 file-deletion pass when --delete-after was specified.
29
9e83fa99
WD
30 * Various trailing-info sections are now preceded by a newline.
31
89855e78
WD
32 BUG FIXES:
33
f2fe4903
WD
34 * Fixed several exclude/include matching bugs when using wild-cards.
35 This has a several user-visible effects, all of which make the
36 matching more consistent and intuitive. This should hopefully not
37 cause anyone problems since it makes the matching work more like
38 what people are expecting. (Wayne Davison)
39
592f4696
WD
40 - A pattern with a "**" no longer causes a "*" to match slashes.
41 For example, with "/*/foo/**", "foo" must be 2 levels deep.
52fa4d78
WD
42 [Upgrade any "*" wildcards to "**" to get the old behavior in
43 all versions.]
592f4696 44
52fa4d78
WD
45 - "**/foo" now matches at the base of the transfer (like /foo
46 does). [Use "/**/foo" to get the old behavior in all versions.]
f2fe4903 47
52fa4d78 48 - A non-anchored wildcard term floats to match beyond the base of
f2fe4903 49 the transfer. E.g. "CVS/R*" matches at the end of the path,
52fa4d78
WD
50 just like the non-wildcard term "CVS/Root" does. [Use "/CVS/R*"
51 to get the old behavior in all versions.]
f2fe4903
WD
52
53 - Including a "**" in the match term causes it to be matched
54 against the entire path, not just the name portion, even if
55 there aren't any interior slashes in the term. E.g. "foo**bar"
56 would exclude "/path/foo-bar" (just like before) as well as
52fa4d78
WD
57 "/foo-path/baz-bar" (unlike before). [Use "foo*bar" to get the
58 old behavior in all versions.]
f2fe4903 59
52e628a8
WD
60 * The exclude list specified in the daemon's config file is now
61 properly applied to the pulled items no matter how deep the
d00daf1f 62 user's file-args are in the source tree. (Wayne Davison)
52e628a8 63
da2bcdd1 64 * For protocol version >= 27, mdfour_tail() is called when the
58665d23
WD
65 block size (including checksum_seed) is a multiple of 64.
66 Previously it was not called, giving the wrong MD4 checksum.
67 (Craig Barratt)
256a9e37 68
da2bcdd1 69 * For protocol version >= 27, a 64 bit bit counter is used in
58665d23
WD
70 mdfour.c as required by the RFC. Previously only a 32 bit bit
71 counter was used, causing incorrect MD4 file checksums for
72 file sizes >= 512MB - 4. (Craig Barratt)
195bd906 73
da2bcdd1 74 * Fixed a crash bug when interacting with older rsync versions and
89855e78
WD
75 multiple files of the same name are destined for the same dir.
76 (Wayne Davison)
77
58665d23 78 * Keep tmp names from overflowing MAXPATHLEN.
89855e78 79
da2bcdd1 80 * Make --link-dest honor the absence of -p, -o, and -g.
fab1f889 81
8113a033
WD
82 * Made rsync treat a trailing slash in the destination in a more
83 consistent manner.
84
9b746433 85 * Fixed file I/O error detection. (John Van Essen)
fab1f889 86
256a9e37
WD
87 * Fixed bogus "malformed address {hostname}" message in rsyncd log
88 when checking IP address against hostnames from "hosts allow"
89 and "hosts deny" parameters in config file.
90
91 * Print heap statistics when verbose >= 2 instead of when >= 1.
92
90045413
WD
93 * Fixed a compression (-z) bug when syncing a mostly-matching file
94 that contains already-compressed data. (Yasuoka Masahiko and
95 Wayne Davison)
96
d594399c
WD
97 * Fixed a bug in the --backup code that could cause deleted files
98 to not get backed up.
99
860bdd45
WD
100 * When the backup code makes new directories, create them with mode
101 0700 instead of 0755 (since the directory permissions in the
102 backup tree are not yet copied from the main tree).
103
2c873122
WD
104 * Call setgroups() in a more portable manner.
105
aa6dc37c
WD
106 * Improved file-related error messages to better indicate exactly
107 what pathname failed. (Wayne Davison)
2c873122
WD
108
109 * Fixed some bugs in the handling of --delete and --exclude when
110 using the --relative (-R) option. (Wayne Davison)
4a7ee79d 111
d89a3a31
S
112 * Fixed bug that prevented regular files from replacing
113 special files and caused a directory in --link-dest or
114 --compare-dest to block the creation of a file with the
115 same path. A directory still cannot be replaced by a
116 regular file unless --delete specified. (J.W. Schultz)
117
6a7cc46c 118 * Detect and report when open or opendir succeed but read and
52fa4d78 119 readdir fail caused by network filesystem issues and truncated
6a7cc46c
S
120 files. (David Norwood, Michael Brown, J.W. Schultz)
121
65653a65
WD
122 * Added a fix that should give ssh time to restore the tty settings
123 if the user presses Ctrl-C at an ssh password prompt.
124
89855e78
WD
125 INTERNAL:
126
58665d23 127 * Eliminated vestigial support for old versions that we stopped
89855e78
WD
128 supporting. (J.W. Schultz)
129
58665d23 130 * Simplified some of the option-parsing code. (Wayne Davison)
89855e78 131
52e628a8
WD
132 * Some cleanup made to the exclude code, as well as some new
133 defines added to enhance readability. (Wayne Davison)
134
aa6dc37c
WD
135 * Changed the protocol-version code so that it can interact at a
136 lower protocol level than the maximum supported by both sides.
137 Added an undocumented option, --protocol=N, to force the value
138 we advertise to the other side (primarily for testing purposes).
139 (Wayne Davison)