Added a little more quoting.
[rsync/rsync.git] / NEWS
CommitLineData
03a9ca0a
WD
1NEWS for rsync 2.6.3 (UNRELEASED)
2Protocol: 28 (unchanged)
3Changes since 2.6.2:
4
5 BUG FIXES:
6
7 - Fixed a crash bug that could cause --delete to crash when multiple
8 source directories were specified.
9
10 - The --backup code no longer attempts to create some directories
11 over and over again (generating warnings along the way).
12
13 - Fixed a bug in the reading of the password file (by the daemon)
14 and the secrets file (by the client): the files no longer need to
15 be terminated by a newline for their content to be read in.
16
17 - If a file has a read error on the sending side, the receiver will
18 no longer keep the resulting file unless the --partial option was
19 specified.
20
21 - Fixed an age-old crash problem with --read-batch on a local copy
22 (rsync was improperly assuming --whole-file for the local copy).
23
24 ENHANCEMENTS:
25
26 - Added long-option names for -4 and -6 (namely --ipv4 and --ipv6)
27 and documented them in the man page.
28
29 INTERNAL:
30
31 - Some cleanup in the exclude code has saved some memory and made
32 things easier to maintain.
33
34 - Use rsyserr() in the various places that were still calling
35 rprintf() with strerror() as an arg.
36
37 BUILD CHANGES:
38
39 - Added a "gen" target to rebuild most of the various generated
40 files, including configure, config.h.in, the man pages, and
41 proto.h.
42
43 - The timestamp of the proto.h file is unaltered by "make proto"
44 if the contents didn't change.
45
46 DEVELOPER RELATED:
47
48 - The scripts in the testsuite dir were cleaned up a bit.
49
9130776c 50NEWS for rsync 2.6.2 (30 Apr 2004)
8752b3fc
WD
51Protocol: 28 (unchanged)
52Changes since 2.6.1:
53
54 BUG FIXES:
55
56 - Fixed a major bug in the sorting of the filenames when --relative
d8195637
WD
57 is used for some sources (just sources such as "/" and "/*" were
58 affected). This fix ensures that we ask for the right file-list
59 item when requesting changes from the sender.
8752b3fc
WD
60
61 - Rsync now checks the return value of the close() function to
62 better report disk-full problems on an NFS file system.
63
64 - Restored the old daemon-server behavior of logging error messages
65 rather than returning them to the user. (A better long-term fix
66 will be sought in the future.)
67
68 - An obscure uninitialized-variable bug was fixed in the uid/gid
69 code. (This bug probably had no ill effects.)
70
7561c3e1
WD
71 BUILD CHANGES:
72
8752b3fc 73 - Got rid of the configure check for sys/sysctl.h (it wasn't used
9130776c
WD
74 and was causing a problem on some systems). Also improved the
75 broken-largefile-locking test to try to avoid failure due to an
76 NFS build-dir.
8752b3fc 77
9130776c
WD
78 - Fixed a compile problem on systems that don't define
79 AI_NUMERICHOST.
80
81 - Fixed a compile problem in the popt source for compilers that
82 don't support __attribute__.
83
7561c3e1 84 DEVELOPER RELATED:
9130776c
WD
85
86 - Improved the testsuite's "merge" test to work on OSF1.
8752b3fc
WD
87
88 - Two new diffs were added to the patches dir.
89
90\f
c3046816 91NEWS for rsync 2.6.1 (26 Apr 2004)
b3bc3110 92Protocol: 28 (changed)
823edc68
WD
93Changes since 2.6.0:
94
c3046816
WD
95 SECURITY FIXES:
96
97 - Paths sent to an rsync daemon are more thoroughly sanitized when
98 chroot is not used. If you're running a non-read-only rsync
99 daemon with chroot disabled, *please upgrade*, ESPECIALLY if the
100 user privs you run rsync under is anything above "nobody".
101
823edc68
WD
102 ENHANCEMENTS:
103
c3046816
WD
104 - Lower memory use, more optimal transfer of data over the socket,
105 and lower CPU usage (see the INTERNAL section for details).
0a007489 106
c3046816 107 - The RSYNC_PROXY environment variable can now contain a
823edc68
WD
108 "USER:PASS@" prefix before the "HOST:PORT" information.
109 (Bardur Arantsson)
110
c3046816
WD
111 - The --progress output now mentions how far along in the transfer
112 we are, including both a count of files transferred and a
113 percentage of the total file-count that we've processed. It also
114 shows better current-rate-of-transfer and remaining-transfer-time
115 values.
b0a93231 116
c3046816
WD
117 - Documentation changes now attempt to describe some often mis-
118 understood features more clearly.
fd489315 119
823edc68
WD
120 BUG FIXES:
121
c3046816
WD
122 - When -x (--one-file-system) is combined with -L (--copy-links) or
123 --copy-unsafe-links, no symlinked files are skipped, even if the
124 referent file is on a different filesystem.
6609a9f1 125
c3046816
WD
126 - The --link-dest code now works properly for a non-root user when
127 (1) the UIDs of the source and destination differ and -o was
128 specified, or (2) when the group of the source can't be used on
129 the destination and -g was specified.
823edc68 130
c3046816
WD
131 - Fixed a bug in the handling of -H (hard-links) that might cause
132 the expanded PATH/NAME value of the current item to get
133 overwritten (due to an expanded-name caching bug).
823edc68 134
c3046816
WD
135 - We now reset the "new data has been sent" flag at the start of
136 each file we send. This makes sure that an interrupted transfer
137 with the --partial option set doesn't keep a shorter temp file
138 than the current basis file when no new data has been transfered
139 over the wire for that file.
140
141 - Fixed a byte-order problem in --batch-mode on big-endian machines.
142 (Jay Fenlason)
143
c3046816
WD
144 - When using --cvs-exclude, the exclude items we get from a
145 per-directory's .cvsignore file once again only affect that one
146 directory (not all following directories too). The items are also
147 now properly word-split and parsed without any +/- prefix parsing.
148
149 - When specifying the USER@HOST: prefix for a file, the USER part
150 can now contain an '@', if needed (i.e. the last '@' is used to
151 find the HOST, not the first).
152
153 - Fixed some bugs in the handling of group IDs for non-root users:
154 (1) It properly handles a group that the sender didn't have a name
155 for (it would previously skip changing the group on any files in
156 that group). (2) If --numeric-ids is used, rsync no longer
157 attempts to set groups that the user doesn't have the permission
158 to set.
159
160 - Fixed the "refuse options" setting in the rsyncd.conf file.
161
162 - Improved the -x (--one-file-system) flag's handling of any mount-
163 point directories we encounter. It is both more optimal (in that
164 it no longer does a useless scan of the contents of the mount-
165 point dirs) and also fixes a bug where a remapped mount of the
166 original filesystem could get discovered in a subdir we should be
167 ignoring.
168
169 - Rsync no longer discards a double-slash at the start of a filename
89afe532 170 when trying to open the file. It also no longer constructs names
b3bc3110 171 that start with a double slash (unless the user supplied them).
89afe532 172
c3046816 173 - Path-specifying options to a daemon should now work the same with
de31639f
WD
174 or without chroot turned on. Previously, such a option (such as
175 --link-dest) would get its absolute path munged into a relative
176 one if chroot was not on, making that setting fairly useless.
177 Rsync now transforms the path into one that is based on the
178 module's base dir when chroot is not enabled.
8b463409 179
c3046816 180 - Fixed a compatibility problem interacting with older rsync
8b463409
WD
181 versions that might send us an empty --suffix value without
182 telling us that --backup-dir was specified.
b1ad6a32 183
c3046816
WD
184 - The "hosts allow" option for a daemon-over-remote-shell process
185 now has improved support for IPv6 addresses and a fix for systems
186 that have a length field in their socket structs.
b1ad6a32 187
c3046816
WD
188 - Fixed the ability to request an empty backup --suffix when sending
189 files to an rsync daemon.
f8b33ab3 190
823edc68
WD
191 INTERNAL:
192
c3046816
WD
193 - Most of the I/O is now buffered, which results in a pretty large
194 speedup when running under MS Windows. (Craig Barratt)
823edc68 195
c3046816
WD
196 - Optimizations to the name-handling/comparing code have made some
197 significant reductions in user-CPU time for large file sets.
823edc68 198
c3046816 199 - Some cleanup of the variable types make the code more consistent.
31e7451a 200
c3046816 201 - Reduced memory requirements of hard link preservation.
0a007489 202 (J.W. Schultz)
279b1c1e 203
c3046816
WD
204 - Implemented a new algorithm for hard-link handling that speeds up
205 the code significantly. (J.W. Schultz and Wayne Davison)
f8ebdf92 206
c3046816 207 - The --hard-link option now uses the first existing file in the
64f21c31
WD
208 group of linked files as the basis for the transfer. This
209 prevents the sub-optimal transfer of a file's data when a new
210 hardlink is added on the sending side and it sorts alphabetically
211 earlier in the list than the files that are already present on the
212 receiving side.
213
c3046816
WD
214 - Dropped support for protocol versions less than 20 (2.3.0 released
215 15 Mar 1999) and activated warnings for protocols less than 25
216 (2.5.0 released 23 Aug 2001). (Wayne Davison and J.W. Schultz,
217 severally)
aa953c32 218
c3046816 219 - More optimal data transmission for --hard-links (protocol 28).
1a62c49d 220
c3046816 221 - More optimal data transmission for --checksum (protocol 28).
1a62c49d 222
c3046816 223 - Less memory is used when --checksum is specified.
1a62c49d 224
c3046816 225 - Less memory is used in the file list (a per-file savings).
0a007489 226
c3046816 227 - The generator is now better about not modifying the file list
b2181306
WD
228 during the transfer in order to avoid a copy-on-write memory
229 bifurcation (on systems where fork() uses shared memory).
230 Previously, rsync's shared memory would slowly become unshared,
231 resulting in real memory usage nearly doubling on the receiving
232 side by the end of the transfer. Now, as long as permissions
233 are being preserved, the shared memory should remain that way
234 for the entire transfer.
235
c3046816
WD
236 - Changed hardlink info and file_struct + strings to use allocation
237 pools. This reduces memory use for large file-sets and permits
238 freeing memory to the OS. (J.W. Schultz)
b0a93231 239
c3046816
WD
240 - The 2 pipes used between the receiver and generator processes
241 (which are forked on the same machine) were reduced to 1 pipe and
242 the protocol improved so that (1) it is now impossible to have the
243 "redo" pipe fill up and hang rsync, and (2) trailing messages from
244 the receiver don't get lost on their way through the generator
245 over to the sender (which mainly affected hard-link messages and
246 verbose --stats output).
442743b8 247
c3046816
WD
248 - Improved the internal uid/gid code to be more portable and a
249 little more optimized.
79d40530 250
c3046816 251 - The device numbers sent when using --devices are now sent as
d008bcb5
WD
252 separate major/minor values with 32-bit accuracy (protocol 28).
253 Previously, the copied devices were sent as a single 32-bit
254 number. This will make inter-operation of 64-bit binaries more
c3046816
WD
255 compatible with their 32-bit brethren (with both ends of the
256 connection are using protocol 28). Note that optimizations in the
257 binary protocol for sending the device numbers often results in
258 fewer bytes being used than before, even though more precision is
259 now available.
260
261 - Some cleanup of the exclude/include structures and its code made
262 things clearer (internally), simpler, and more efficient.
263
264 - The reading & writing of the file-list in batch-mode is now
265 handled by the same code that sends & receives the list over the
266 wire. This makes it much easier to maintain. (Note that the
267 batch code is still considered to be experimental.)
7561c3e1
WD
268
269 BUILD CHANGES:
270
271 - The configure script now accepts --with-rsyncd-conf=PATH to
272 override the default value of the /etc/rsyncd.conf file.
273
274 - Fixed configure bug when running "./configure --disable-ipv6".
275
276 - Fixed compilation problem on Tru64 Unix (having to do with
277 sockaddr.sa_len and sockaddr.sin_len).
278
279 DEVELOPER RELATED:
280
281 - Fixed "make test" bug when build dir is not the source dir.
282
283 - Added a couple extra diffs in the "patches" dir, removed the ones
284 that got applied, and rebuilt the rest.
285