- Changed XFLG_NO_PREFIXES to XFLG_WORDS_ONLY.
[rsync/rsync.git] / NEWS
CommitLineData
823edc68 1NEWS for rsync 2.6.1 (UNRELEASED)
b3bc3110 2Protocol: 28 (changed)
823edc68
WD
3Changes since 2.6.0:
4
5 ENHANCEMENTS:
6
0a007489
WD
7 * Lower memory use and more optimal transfer of data over
8 the socket (see the INTERNAL section for details).
9
823edc68
WD
10 * The RSYNC_PROXY environment variable can now contain a
11 "USER:PASS@" prefix before the "HOST:PORT" information.
12 (Bardur Arantsson)
13
b0a93231
WD
14 * The --progress output now mentions how far along in the
15 transfer we are, including both a count of files transferred
f86b0f2e
WD
16 and a percentage of the total file-count that we've processed.
17 It also shows better current-rate-of-transfer and remaining-
18 transfer-time values.
b0a93231 19
530adb76
WD
20 * The configure script now accepts --with-rsyncd-conf=PATH
21 to override the default value of the /etc/rsyncd.conf file.
22
fd489315
WD
23 * Added a couple extra diffs in the "patches" dir, removed the
24 ones that got applied, and rebuilt the rest.
25
823edc68
WD
26 BUG FIXES:
27
6609a9f1
WD
28 * When -x (--one-file-system) is combined with -L (--copy-links)
29 or --copy-unsafe-links, no symlinked files are skipped, even
79d40530 30 if the referent file is on a different filesystem.
6609a9f1 31
823edc68 32 * The --link-dest code now works properly for a non-root user
6b320e40
WD
33 when (1) the UIDs of the source and destination differ and -o
34 was specified, or (2) when the group of the source can't be
35 used on the destination and -g was specified.
823edc68 36
a18381ac
WD
37 * Fixed a bug in the handling of -H (hard-links) that might
38 cause the expanded PATH/NAME value of the current item to
39 get overwritten (due to an expanded-name caching bug).
823edc68 40
73a4bdfd
WD
41 * We now reset the "new data has been sent" flag at the start
42 of each file we send. This makes sure that an interrupted
43 transfer with the --partial option set doesn't keep a shorter
44 temp file than the current basis file when no new data has been
b3bc3110 45 transfered over the wire for that file.
823edc68 46
e7bef922
WD
47 * Fixed a byte-order problem in --batch-mode on big-endian
48 machines. (Jay Fenlason)
49
0a007489 50 * Fixed configure bug when running "./configure --disable-ipv6".
0a007489
WD
51
52 * Fixed "make test" bug when build dir is not the source dir.
53
66964002
WD
54 * When using --cvs-exclude, the exclude items we get from a
55 directory's .cvsignore file once again only affect that one
79d40530
WD
56 directory (and not all following directories too). The
57 items are also now properly word-split and parsed without
58 any +/- prefix munging.
66964002 59
0c819b76
WD
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
6609a9f1
WD
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
3b98b08c
WD
71 * Fixed the "refuse options" setting in the rsyncd.conf file.
72
b3bc3110
WD
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
79d40530
WD
76 the mount-point dirs) and also fixes a bug where a remapped
77 mount of the original filesystem could get discovered in a
78 subdir we should be ignoring.
b3bc3110 79
89afe532
WD
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
b3bc3110 82 that start with a double slash (unless the user supplied them).
89afe532 83
8b463409 84 * Path-specifying options to a daemon should now work the same with
de31639f
WD
85 or without chroot turned on. Previously, such a option (such as
86 --link-dest) would get its absolute path munged into a relative
87 one if chroot was not on, making that setting fairly useless.
88 Rsync now transforms the path into one that is based on the
89 module's base dir when chroot is not enabled.
8b463409 90
48d704af
WD
91 * Fixed compilation problem on Tru64 Unix (having to do with
92 sockaddr.sa_len and sockaddr.sin_len).
93
b1ad6a32 94 * Fixed a compatibility problem interacting with older rsync
8b463409
WD
95 versions that might send us an empty --suffix value without
96 telling us that --backup-dir was specified.
b1ad6a32
WD
97
98 * The "hosts allow" option for a daemon-over-remote-shell
99 process now has improved support for IPv6 addresses and a fix
100 for systems that have a length field in their socket structs.
101
de31639f 102 * Fixed the ability to request an empty backup --suffix when
f8b33ab3
WD
103 sending files to an rsync daemon.
104
823edc68
WD
105 INTERNAL:
106
86c4601e 107 * Most of the I/O is now buffered, which results in a pretty
a18381ac 108 large speedup when running under MS Windows. (Craig Barratt)
823edc68
WD
109
110 * Optimizations to the name-handling/comparing code have made
0a007489 111 some significant reductions in user-CPU time for large file
b3bc3110 112 sets.
823edc68 113
31e7451a 114 * Some variable-type cleanup that makes the code more consistent.
31e7451a 115
279b1c1e 116 * Reduced memory requirements of hard link preservation.
0a007489 117 (J.W. Schultz)
279b1c1e 118
f8ebdf92
WD
119 * Implemented a new algorithm for hard-link handling that speeds
120 up the code significantly. (J.W. Schultz and Wayne Davison)
121
64f21c31
WD
122 * The --hard-link option now uses the first existing file in the
123 group of linked files as the basis for the transfer. This
124 prevents the sub-optimal transfer of a file's data when a new
125 hardlink is added on the sending side and it sorts alphabetically
126 earlier in the list than the files that are already present on the
127 receiving side.
128
3e491682
S
129 * Dropped support for protocol versions less than 20
130 (2.3.0 released 15 Mar 1999) and activated warnings for
131 protocols less than 25 (2.5.0 released 23 Aug 2001)
132 (Wayne Davison and J.W. Schultz, severally)
aa953c32 133
1a62c49d
WD
134 * More optimal data transmission for --hard-links (protocol 28).
135
136 * More optimal data transmission for --checksum (protocol 28).
137
64f21c31 138 * Less memory is used when --checksum is specified.
1a62c49d 139
64f21c31 140 * Less memory is used in the file list (a per-file savings).
0a007489 141
b2181306
WD
142 * The generator is now better about not modifying the file list
143 during the transfer in order to avoid a copy-on-write memory
144 bifurcation (on systems where fork() uses shared memory).
145 Previously, rsync's shared memory would slowly become unshared,
146 resulting in real memory usage nearly doubling on the receiving
147 side by the end of the transfer. Now, as long as permissions
148 are being preserved, the shared memory should remain that way
149 for the entire transfer.
150
9935066b 151 * Changed hardlink info and file_struct + strings to use
79d40530
WD
152 allocation pools. This reduces memory use for large file-
153 sets and permits freeing memory to the OS. (J.W. Schultz)
9935066b 154
442743b8 155 * The 2 pipes used between the receiver and generator processes
b0a93231
WD
156 (which are forked on the same machine) were reduced to 1 pipe
157 and the protocol improved so that (1) it is now impossible to
158 have the "redo" pipe fill up and hang rsync, and (2) trailing
159 messages from the receiver don't get lost on their way through
160 the generator over to the sender (the latter mainly affected
b3bc3110 161 hard-link messages and verbose --stats output).
b0a93231 162
b2181306 163 * The reading & writing of the file-list in batch-mode is now
b0a93231
WD
164 handled by the same code that sends & receives the list over
165 the wire. This makes it much easier to maintain.
442743b8 166
6609a9f1
WD
167 * Improved the internal uid/gid code to be more portable and
168 a little more optimized.
79d40530 169
d008bcb5
WD
170 * The device numbers sent when using --devices are now sent as
171 separate major/minor values with 32-bit accuracy (protocol 28).
172 Previously, the copied devices were sent as a single 32-bit
173 number. This will make inter-operation of 64-bit binaries more
174 compatible with their 32-bit brethren. Note that optimizations
175 in the binary protocol often sends the device data using fewer
176 bytes than before, even though more precision is now available.
3e550303
WD
177
178 * Some cleanup of the exclude/include structures and its code
179 made things clearer, simpler, and more efficient.