Mention the change we made to help ssh cleanup the tty on Ctrl-C.
[rsync/rsync.git] / NEWS
1 NEWS for rsync version 2.6.0
2 Protocol: 27 (changed)
3 Changes since version 2.5.7:
4
5   ENHANCEMENTS:
6
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
10     * Added --files-from, --no-relative, --no-implied-dirs, and --from0.
11       Note that --from0 affects the line-ending character for all the
12       files read by the --*-from options. (Wayne Davison)
13
14     * Length of csum2 is now per-file starting with protocol verison
15       27. (J.W. Schultz)
16
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)
23
24     * The --stats option no longer includes the (debug) malloc summary
25       unless the verbose option was specified at least twice.
26
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
31   BUG FIXES:
32
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
39       - A pattern with a "**" no longer causes a "*" to match slashes.
40         For example, with "/*/foo/**", "foo" must be 2 levels deep.
41
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
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
56       user's file-args are in the source tree.  (Wayne Davison)
57
58     * For protocol version >= 27, mdfour_tail() is called when the
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)
62   
63     * For protocol version >= 27, a 64 bit bit counter is used in
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)
67
68     * Fixed a crash bug when interacting with older rsync versions and
69       multiple files of the same name are destined for the same dir.
70       (Wayne Davison)
71
72     * Keep tmp names from overflowing MAXPATHLEN.
73
74     * Make --link-dest honor the absence of -p, -o, and -g.
75
76     * Made rsync treat a trailing slash in the destination in a more
77       consistent manner.
78
79     * Fixed file I/O error detection.  (John Van Essen)
80
81     * Fixed a compression (-z) bug when syncing a mostly-matching file
82       that contains already-compressed data.  (Yasuoka Masahiko and
83       Wayne Davison)
84
85     * Fixed a bug in the --backup code that could cause deleted files
86       to not get backed up.
87
88     * Call setgroups() in a more portable manner.
89
90     * Improved file-related error messages to better indicate exactly
91       what pathname failed. (Wayne Davison)
92
93     * Fixed some bugs in the handling of --delete and --exclude when
94       using the --relative (-R) option. (Wayne Davison)
95
96     * Fixed bug that prevented regular files from replacing
97       special files and caused a directory in --link-dest or
98       --compare-dest to block the creation of a file with the
99       same path.  A directory still cannot be replaced by a
100       regular file unless --delete specified.  (J.W. Schultz)
101
102     * Detect and report when open or opendir succeed but read and
103       readdir fail caused by network filesystems issues and truncated
104       files.  (David Norwood, Michael Brown, J.W. Schultz)
105
106     * Added a fix that should give ssh time to restore the tty settings
107       if the user presses Ctrl-C at an ssh password prompt.
108
109   INTERNAL:
110
111     * Eliminated vestigial support for old versions that we stopped
112       supporting. (J.W. Schultz)
113
114     * Simplified some of the option-parsing code. (Wayne Davison)
115
116     * Some cleanup made to the exclude code, as well as some new
117       defines added to enhance readability. (Wayne Davison)
118
119     * Changed the protocol-version code so that it can interact at a
120       lower protocol level than the maximum supported by both sides.
121       Added an undocumented option, --protocol=N, to force the value
122       we advertise to the other side (primarily for testing purposes).
123       (Wayne Davison)
124
125
126 NEWS for rsync version 2.5.7:
127 Protocol: 26 (unchanged)
128 Changes since version 2.5.6:
129
130   SECURITY:
131
132     * Fix buffer handling bugs.  (Andrew Tridgell, Martin Pool, Paul
133       Russell, Andrea Barisani)
134
135
136 NEWS for rsync version 2.5.6, aka the dwd-between-jobs release
137 Protocol: 26 (unchanged)
138 Changes since version 2.5.5:
139
140   ENHANCEMENTS:
141
142     * The --delete-after option now implies --delete.  (Wayne Davison)
143
144     * The --suffix option can now be used with --backup-dir.  (Michael
145       Zimmerman)
146
147     * Combining "::" syntax with the -rsh/-e option now uses the
148       specified remote-shell as a transport to talk to a (newly-spawned)
149       server-daemon.  This allows someone to use daemon features, such
150       as modules, over a secure protocol, such as ssh.  (JD Paul)
151
152     * The rsync:// syntax for daemon connections is now accepted in the
153       destination field.
154
155     * If the file name given to --include-from or --exclude-from is "-",
156       rsync will read from standard input.  (J.W. Schultz)
157
158     * New option --link-dest which is like --compare-dest except that
159       unchanged files are hard-linked in to the destination directory.
160       (J.W. Schultz)
161
162     * Don't report an error if an excluded file disappears during an
163       rsync run.  (Eugene Chupriyanov and Bo Kersey)
164
165     * Added .svn to --cvs-exclude list to support subversion.  (Jon
166       Middleton)
167
168     * Properly support IPv6 addresses in the rsyncd.conf "hosts allow"
169       and "hosts deny" fields.  (Hideaki Yoshifuji)
170
171     * Changed exclude file handling to permit DOS or MAC style line
172       terminations.  (J.W. Schultz)
173
174     * Ignore errors from chmod when -p/-a/--preserve-perms is not set.
175       (Dave Dykstra)
176
177   BUG FIXES:
178
179     * Fix "forward name lookup failed" errors on AIX 4.3.3.  (John
180       L. Allen, Martin Pool)
181
182     * Generate each file's rolling-checksum data as we send it, not
183       in a separate (memory-eating) pass before hand.  This prevents
184       timeout errors on really large files. (Stefan Nehlsen)
185
186     * Fix compilation on Tru64.  (Albert Chin, Zoong Pham)
187
188     * Better handling of some client-server errors.  (Martin Pool)
189
190     * Fixed a crash that would occur when sending a list of files that
191       contains a duplicate name (if it sorts to the end of the file
192       list) and using --delete.  (Wayne Davison)
193
194     * Fixed the file-name duplicate-removal code when dealing with multiple
195       dups in a row. (Wayne Davison)
196
197     * Fixed a bug that caused rsync to lose the exit status of its child
198       processes and sometimes return an exit code of 0 instead of showing
199       an error.  (David R. Staples, Dave Dykstra)
200
201     * Fixed bug in --copy-unsafe-links that caused it to be completely
202       broken.  (Dave Dykstra)
203
204     * Prevent infinite recursion in cleanup code under certain circumstances.
205       (Sviatoslav Sviridov and Marc Espie)
206
207     * Fixed a bug that prevented rsync from creating intervening directories
208       when --relative-paths/-R is set.  (Craig Barratt)
209
210     * Prevent "Connection reset by peer" messages from Cygwin. (Randy O'Meara)
211
212   INTERNAL:
213
214     * Many code cleanups and improved internal documentation.  (Martin
215       Pool, Nelson Beebe)
216
217     * Portability fixes. (Dave Dykstra and Wayne Davison)
218
219     * More test cases.  (Martin Pool)
220
221     * Some test-case fixes.  (Brian Poole, Wayne Davison)
222
223     * Updated included popt to the latest vendor drop, version 1.6.4.
224       (Jos Backus)
225
226     * Updated config.guess and config.sub to latest versions; this
227       means rsync should build on more platforms.  (Paul Green)