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