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