Getting rid of an extra newline that accidentally crept into the code.
[rsync/rsync.git] / NEWS
CommitLineData
a60fdd63 1NEWS for rsync version 2.6.0
195bd906 2Protocol: 27 (changed)
58cadc86 3Changes since version 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.
42
f2fe4903
WD
43 - "**/foo" now matches at the base of the transfer (i.e. /foo).
44
45 - An non-anchored wildcard term floats to match beyond the base of
46 the transfer. E.g. "CVS/R*" matches at the end of the path,
47 just like the non-wildcard term "CVS/Root" does.
48
49 - Including a "**" in the match term causes it to be matched
50 against the entire path, not just the name portion, even if
51 there aren't any interior slashes in the term. E.g. "foo**bar"
52 would exclude "/path/foo-bar" (just like before) as well as
53 "/foo-path/baz-bar" (for instance).
54
52e628a8
WD
55 * The exclude list specified in the daemon's config file is now
56 properly applied to the pulled items no matter how deep the
d00daf1f 57 user's file-args are in the source tree. (Wayne Davison)
52e628a8 58
da2bcdd1 59 * For protocol version >= 27, mdfour_tail() is called when the
58665d23
WD
60 block size (including checksum_seed) is a multiple of 64.
61 Previously it was not called, giving the wrong MD4 checksum.
62 (Craig Barratt)
256a9e37 63
da2bcdd1 64 * For protocol version >= 27, a 64 bit bit counter is used in
58665d23
WD
65 mdfour.c as required by the RFC. Previously only a 32 bit bit
66 counter was used, causing incorrect MD4 file checksums for
67 file sizes >= 512MB - 4. (Craig Barratt)
195bd906 68
da2bcdd1 69 * Fixed a crash bug when interacting with older rsync versions and
89855e78
WD
70 multiple files of the same name are destined for the same dir.
71 (Wayne Davison)
72
58665d23 73 * Keep tmp names from overflowing MAXPATHLEN.
89855e78 74
da2bcdd1 75 * Make --link-dest honor the absence of -p, -o, and -g.
fab1f889 76
8113a033
WD
77 * Made rsync treat a trailing slash in the destination in a more
78 consistent manner.
79
9b746433 80 * Fixed file I/O error detection. (John Van Essen)
fab1f889 81
256a9e37
WD
82 * Fixed bogus "malformed address {hostname}" message in rsyncd log
83 when checking IP address against hostnames from "hosts allow"
84 and "hosts deny" parameters in config file.
85
86 * Print heap statistics when verbose >= 2 instead of when >= 1.
87
90045413
WD
88 * Fixed a compression (-z) bug when syncing a mostly-matching file
89 that contains already-compressed data. (Yasuoka Masahiko and
90 Wayne Davison)
91
d594399c
WD
92 * Fixed a bug in the --backup code that could cause deleted files
93 to not get backed up.
94
2c873122
WD
95 * Call setgroups() in a more portable manner.
96
aa6dc37c
WD
97 * Improved file-related error messages to better indicate exactly
98 what pathname failed. (Wayne Davison)
2c873122
WD
99
100 * Fixed some bugs in the handling of --delete and --exclude when
101 using the --relative (-R) option. (Wayne Davison)
4a7ee79d 102
d89a3a31
S
103 * Fixed bug that prevented regular files from replacing
104 special files and caused a directory in --link-dest or
105 --compare-dest to block the creation of a file with the
106 same path. A directory still cannot be replaced by a
107 regular file unless --delete specified. (J.W. Schultz)
108
6a7cc46c
S
109 * Detect and report when open or opendir succeed but read and
110 readdir fail caused by network filesystems issues and truncated
111 files. (David Norwood, Michael Brown, J.W. Schultz)
112
65653a65
WD
113 * Added a fix that should give ssh time to restore the tty settings
114 if the user presses Ctrl-C at an ssh password prompt.
115
89855e78
WD
116 INTERNAL:
117
58665d23 118 * Eliminated vestigial support for old versions that we stopped
89855e78
WD
119 supporting. (J.W. Schultz)
120
58665d23 121 * Simplified some of the option-parsing code. (Wayne Davison)
89855e78 122
52e628a8
WD
123 * Some cleanup made to the exclude code, as well as some new
124 defines added to enhance readability. (Wayne Davison)
125
aa6dc37c
WD
126 * Changed the protocol-version code so that it can interact at a
127 lower protocol level than the maximum supported by both sides.
128 Added an undocumented option, --protocol=N, to force the value
129 we advertise to the other side (primarily for testing purposes).
130 (Wayne Davison)
131
89855e78 132
58cadc86
WD
133NEWS for rsync version 2.5.7:
134Protocol: 26 (unchanged)
135Changes since version 2.5.6:
136
137 SECURITY:
138
139 * Fix buffer handling bugs. (Andrew Tridgell, Martin Pool, Paul
140 Russell, Andrea Barisani)
141
142
8395d246 143NEWS for rsync version 2.5.6, aka the dwd-between-jobs release
3742bf3a 144Protocol: 26 (unchanged)
8395d246 145Changes since version 2.5.5:
6c92af20 146
759ac870
DD
147 ENHANCEMENTS:
148
bc2b4963 149 * The --delete-after option now implies --delete. (Wayne Davison)
759ac870 150
bc2b4963 151 * The --suffix option can now be used with --backup-dir. (Michael
759ac870
DD
152 Zimmerman)
153
d2d9fe18
WD
154 * Combining "::" syntax with the -rsh/-e option now uses the
155 specified remote-shell as a transport to talk to a (newly-spawned)
156 server-daemon. This allows someone to use daemon features, such
bc2b4963 157 as modules, over a secure protocol, such as ssh. (JD Paul)
d2d9fe18 158
93eff16a
WD
159 * The rsync:// syntax for daemon connections is now accepted in the
160 destination field.
161
f8a94f0d 162 * If the file name given to --include-from or --exclude-from is "-",
bc2b4963 163 rsync will read from standard input. (J.W. Schultz)
f8a94f0d 164
59c95e42
DD
165 * New option --link-dest which is like --compare-dest except that
166 unchanged files are hard-linked in to the destination directory.
167 (J.W. Schultz)
168
1b85e3f1 169 * Don't report an error if an excluded file disappears during an
bc2b4963 170 rsync run. (Eugene Chupriyanov and Bo Kersey)
1b85e3f1 171
ee7118a8
DD
172 * Added .svn to --cvs-exclude list to support subversion. (Jon
173 Middleton)
174
bc2b4963
DD
175 * Properly support IPv6 addresses in the rsyncd.conf "hosts allow"
176 and "hosts deny" fields. (Hideaki Yoshifuji)
177
7f653755
DD
178 * Changed exclude file handling to permit DOS or MAC style line
179 terminations. (J.W. Schultz)
536b8468 180
f0b4fdaf
DD
181 * Ignore errors from chmod when -p/-a/--preserve-perms is not set.
182 (Dave Dykstra)
183
6c92af20 184 BUG FIXES:
89855e78 185
6c92af20
MP
186 * Fix "forward name lookup failed" errors on AIX 4.3.3. (John
187 L. Allen, Martin Pool)
1433e6da 188
d2d9fe18
WD
189 * Generate each file's rolling-checksum data as we send it, not
190 in a separate (memory-eating) pass before hand. This prevents
191 timeout errors on really large files. (Stefan Nehlsen)
192
dd0628f8
MP
193 * Fix compilation on Tru64. (Albert Chin, Zoong Pham)
194
991f90f2
MP
195 * Better handling of some client-server errors. (Martin Pool)
196
93eff16a
WD
197 * Fixed a crash that would occur when sending a list of files that
198 contains a duplicate name (if it sorts to the end of the file
199 list) and using --delete. (Wayne Davison)
200
ac6ce983
WD
201 * Fixed the file-name duplicate-removal code when dealing with multiple
202 dups in a row. (Wayne Davison)
203
ee7118a8
DD
204 * Fixed a bug that caused rsync to lose the exit status of its child
205 processes and sometimes return an exit code of 0 instead of showing
206 an error. (David R. Staples, Dave Dykstra)
207
1f1fbe18
DD
208 * Fixed bug in --copy-unsafe-links that caused it to be completely
209 broken. (Dave Dykstra)
210
b765ec32 211 * Prevent infinite recursion in cleanup code under certain circumstances.
aa2c47d8 212 (Sviatoslav Sviridov and Marc Espie)
b765ec32 213
1b3cadaa
DD
214 * Fixed a bug that prevented rsync from creating intervening directories
215 when --relative-paths/-R is set. (Craig Barratt)
216
9f639210
DD
217 * Prevent "Connection reset by peer" messages from Cygwin. (Randy O'Meara)
218
dd0628f8
MP
219 INTERNAL:
220
89855e78 221 * Many code cleanups and improved internal documentation. (Martin
bdae761e 222 Pool, Nelson Beebe)
dd0628f8 223
ac6ce983
WD
224 * Portability fixes. (Dave Dykstra and Wayne Davison)
225
dd0628f8
MP
226 * More test cases. (Martin Pool)
227
521e6fdc
WD
228 * Some test-case fixes. (Brian Poole, Wayne Davison)
229
b1a2f37a
WD
230 * Updated included popt to the latest vendor drop, version 1.6.4.
231 (Jos Backus)
1985aa96
PG
232
233 * Updated config.guess and config.sub to latest versions; this
755bcd37 234 means rsync should build on more platforms. (Paul Green)