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