Improved an entry.
[rsync/rsync.git] / NEWS
1 NEWS for rsync 2.6.1 (UNRELEASED)
2 Protocol: 28 (changed)
3 Changes since 2.6.0:
4
5   ENHANCEMENTS:
6
7     * Lower memory use and more optimal transfer of data over
8       the socket (see the INTERNAL section for details).
9
10     * The RSYNC_PROXY environment variable can now contain a
11       "USER:PASS@" prefix before the "HOST:PORT" information.
12       (Bardur Arantsson)
13
14     * The --progress output now mentions how far along in the
15       transfer we are, including both a count of files transferred
16       and a percentage of the total file-count that we're processed.
17       It was also improved to better show the current rate of
18       transfer (which is used to estimate the remaining transfer
19       time).
20
21     * The configure script now accepts --with-rsyncd-conf=PATH
22       to override the default value of the /etc/rsyncd.conf file.
23
24   BUG FIXES:
25
26     * When -x (--one-file-system) is combined with -L (--copy-links)
27       or --copy-unsafe-links, no symlinked files are skipped, even
28       if the referant file is on a different filesystem.
29
30     * The --link-dest code now works properly for a non-root user
31       when (1) the UIDs of the source and destination differ and -o
32       was specified, or (2) when the group of the source can't be
33       used on the destination and -g was specified.
34
35     * Fixed a bug in the handling of -H (hard-links) that might
36       cause the expanded PATH/NAME value of the current item to
37       get overwritten (due to an expanded-name caching bug).
38       
39     * We now reset the "new data has been sent" flag at the start
40       of each file we send.  This makes sure that an interrupted
41       transfer with the --partial option set doesn't keep a shorter
42       temp file than the current basis file when no new data has been
43       transfered over the wire for that file.
44
45     * Fixed a byte-order problem in --batch-mode on big-endian
46       machines.  (Jay Fenlason)
47
48     * Fixed configure bug when running "./configure --disable-ipv6".
49
50     * Fixed "make test" bug when build dir is not the source dir.
51
52     * When using --cvs-exclude, the exclude items we get from a
53       directory's .cvsignore file once again only affect that one
54       directory (and not all following directories too).
55
56     * When transferring a file that has group 0 with -g specified
57       (typically via -a) and not enough privs to retain the group,
58       rsync no longer complains about "chown" failing.
59
60     * When specifying the USER@HOST: prefix for a file, the USER
61       part can now contain an '@', if needed (i.e. the last '@'
62       is used to find the HOST, not the first).
63
64     * Fixed some bugs in the handling of group IDs for non-root
65       users:  (1) It properly handles a group that the sender didn't
66       have a name for (it would previously skip changing the group
67       on any files in that group).  (2) If --numeric-ids is used,
68       rsync no longer attempts to set groups that the user doesn't
69       have the permission to set.
70
71     * Fixed the "refuse options" setting in the rsyncd.conf file.
72
73     * Improved the -x (--one-file-system) flag's handling of any
74       mount-point directories we encounter.  It is both more optimal
75       (in that it no longer does a useless scan of the contents of
76       the mount-point dirs) and also fixes a bug where a remaped
77       mount of the original filesystem could get discovered on a
78       disk we should be ignoring.
79
80     * Rsync no longer discards a double-slash at the start of a filename
81       when trying to open the file.  It also no longer constructs names
82       that start with a double slash (unless the user supplied them).
83
84     * Fixed compilation problem on Tru64 Unix (having to do with
85       sockaddr.sa_len and sockaddr.sin_len).
86
87   INTERNAL:
88
89     * Most of the I/O is now buffered, which results in a pretty
90       large speedup when running under MS Windows.  (Craig Barratt)
91
92     * Optimizations to the name-handling/comparing code have made
93       some significant reductions in user-CPU time for large file
94       sets.
95
96     * Some variable-type cleanup that makes the code more consistent.
97
98     * Reduced memory requirements of hard link preservation.
99       (J.W. Schultz)
100
101     * Implemented a new algorithm for hard-link handling that speeds
102       up the code significantly.  (J.W. Schultz and Wayne Davison)
103
104     * The --hard-link option now uses the first existing file in the
105       group of linked files as the basis for the transfer.  This
106       prevents the sub-optimal transfer of a file's data when a new
107       hardlink is added on the sending side and it sorts alphabetically
108       earlier in the list than the files that are already present on the
109       receiving side.
110
111     * Dropped support for protocol versions less than 20
112       (2.3.0 released 15 Mar 1999) and activated warnings for
113       protocols less than 25 (2.5.0 released 23 Aug 2001)
114           (Wayne Davison and J.W. Schultz, severally)
115
116     * More optimal data transmission for --hard-links (protocol 28).
117
118     * More optimal data transmission for --checksum (protocol 28).
119
120     * Less memory is used when --checksum is specified.
121
122     * Less memory is used in the file list (a per-file savings).
123
124     * Changed hardlink info and file_struct + strings to use
125       allocation pools.  This reduces memory use for large
126       filesets and permits freeing memory to the OS.  (J.W. Schultz) 
127
128     * The 2 pipes used between the receiver and generator processes
129       (which are forked on the same machine) were reduced to 1 pipe
130       and the protocol improved so that (1) it is now impossible to
131       have the "redo" pipe fill up and hang rsync, and (2) trailing
132       messages from the receiver don't get lost on their way through
133       the generator over to the sender (the latter mainly affected
134       hard-link messages and verbose --stats output).
135
136     * The reading & writing of the file list in batch-mode is now
137       handled by the same code that sends & receives the list over
138       the wire.  This makes it much easier to maintain.
139
140     * Improved the internal uid/gid code to be more portable and
141       a little more optimized.