Changed "wrote"/"written" to "sent" and "read" to "received" in
[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
831f05df
WD
7 - Fixed a crash bug that might appear when --delete was used and
8 multiple source directories were specified.
03a9ca0a 9
c7b1a56b
WD
10 - Fixed the 32-bit truncation of the file length when generating the
11 checksums.
12
03a9ca0a
WD
13 - The --backup code no longer attempts to create some directories
14 over and over again (generating warnings along the way).
15
cbd85b47
WD
16 - Fixed a bug in the reading of the secrets file (by the daemon) and
17 the password file (by the client): the files no longer need to be
18 terminated by a newline for their content to be read in.
03a9ca0a 19
99d24f77
WD
20 - If a file has a read error on the sending side or the reconstructed
21 data doesn't match the expected checksum (perhaps due to the basis
22 file changing during the transfer), the receiver will no longer
23 retain the resulting file unless the --partial option was specified.
24 (Note: for the read-error detection to work, neither side can be
25 older than 2.6.3 -- older receivers will always retain the file, and
26 older senders don't tell the receiver that the file had a read
27 error.)
03a9ca0a 28
c54f5170
WD
29 - If a file gets resent in a single transfer and the --backup option
30 is enabled, rsync no longer performs a duplicate backup (losing the
31 original file in the process).
32
03a9ca0a
WD
33 - Fixed an age-old crash problem with --read-batch on a local copy
34 (rsync was improperly assuming --whole-file for the local copy).
35
cbd85b47 36 - Files specified in the daemon's "exclude" or "exclude from" config
bd1574b2
WD
37 items are now excluded from being uploaded (assuming that the module
38 allows uploading at all) in addition to the old download exclusion.
cbd85b47 39
40e8d11e
WD
40 - Got rid of a potential hang in the receiver when near the end of a
41 phase.
42
b03bded7
WD
43 - When using --backup without a --backup-dir, rsync no longer preserves
44 the modify time on directories. This avoids confusing NFS.
45
40e8d11e
WD
46 - When --copy-links (-L) is specified, we now output a separate error
47 for a symlink that has no referent instead of claiming that a file
48 "vanished".
49
2c2898a3
WD
50 - Error messages from the daemon server's option-parsing (such as
51 refused options) now get sent back to the client (the server used
eae4e1f9
WD
52 to just exit because the socket wasn't in the right state to send
53 the message).
2c2898a3 54
c54f5170
WD
55 - Most errors that occur during a daemon transfer are now returned to
56 the user in addition to being logged (some messages are intended to
57 be daemon-only).
58
b03bded7
WD
59 - Fixed a bug in the daemon authentication code when using one of the
60 batch-processing options.
61
40564811
WD
62 - We try to work around some buggy IPv6 implementations that fail to
63 implement IPV6_V6ONLY. This should fix the "address in use" error
64 that some daemons get when running on an OS with a buggy IPv6
65 implementation. Also, if the new code gets this error, we might
66 suggest that the user specify --ipv4 or --ipv6 (if we think it will
67 help).
68
65af3dab
WD
69 - When the remote rsync dies, make a better effort to recover any error
70 messages it may have sent instead of just dying with a write error
71 trying to send data over the socket.
72
73 - When using --delete and a --backup-dir that contains files that are
74 hard-linked to their destination equivalents, rsync now makes sure
75 that removed files really get removed (works around a really weird
76 rename() behavior).
77
78 - Avoid a bogus run-time complaint about a lack of 64-bit integers when
99d24f77 79 the int64 type is defined as an off_t and it actually has 64-bits.
65af3dab 80
03a9ca0a
WD
81 ENHANCEMENTS:
82
65af3dab
WD
83 - Added the --partial-dir=DIR option that lets you specify where to
84 (temporarily) put a partially transferred file (instead of over-
85 writing the destination file). E.g. --partial-dir=.rsync-partial
86
40e8d11e 87 - Added --keep-dirlinks (-K), which allows you to symlink a directory
40564811 88 onto another partition on the receiving side and have rsync treat it
4e1f3857
WD
89 as matching a normal directory from the sender.
90
61fb21ad
WD
91 - Added the --inplace option that tells rsync to write each destination
92 file without using a temporary file. The matching of existing data
93 in the destination file can be severely limited by this, but there
99d24f77
WD
94 are also cases where this is more efficient (such as appending data).
95 Use only when needed (see the man page for more details).
61fb21ad 96
cbd85b47
WD
97 - Added the "write only" option to the daemon's config file.
98
03a9ca0a 99 - Added long-option names for -4 and -6 (namely --ipv4 and --ipv6)
831f05df 100 and documented all these options in the man page.
03a9ca0a 101
ef0bc0ab
WD
102 - Improved the handling of the --bwlimit option so that it's less
103 bursty, more accurate, and works properly over a larger range of
104 values.
105
5b36173d
WD
106 - The rsync daemon-over-ssh code now looks for SSH_CONNECTION and
107 SSH2_CLIENT in addition to SSH_CLIENT to figure out the IP address.
108
bd1574b2
WD
109 - Added the --checksum-seed=N option for advanced users.
110
bb3edc3b
WD
111 - Batch writing/reading has a brand-new implementation that is simpler,
112 fixes a few weird problems with the old code (such as no longer
113 sprinkling the batch files into different dirs or even onto different
114 systems), and is much less intrusive into the code (making it easier
115 to maintain for the future). The new code generates just one data
116 file instead of three, which makes it possible to read the batch via
117 stdin. Also, the old requirement of using the same fixed checksum-
61fb21ad 118 seed for all batch processing has been removed.
0fac7fe8 119
99d24f77
WD
120 - If an rsync daemon has a module set with "list = no" (which hides its
121 presence in the list of available modules), a user that fails to
122 authenticate gets the same "unknown module" error that they would get
123 if the module were actually unknown (while still logging the real
124 error to the daemon's log file). This prevents fishing for modules
125 names.
126
03a9ca0a
WD
127 INTERNAL:
128
0058c58e
WD
129 - Some cleanup in the exclude code has saved some per-exclude memory
130 and made the code easier to maintain.
03a9ca0a 131
78112d30
WD
132 - Improved the argv-overflow checking for a remote command that has
133 a lot of args.
134
03a9ca0a
WD
135 - Use rsyserr() in the various places that were still calling
136 rprintf() with strerror() as an arg.
137
c54f5170
WD
138 - If an rsync daemon is listening on multiple sockets (to handle both
139 IPv4 and IPv6 to a single port), we now close all the unneeded file
40564811 140 handles after we accept a connection (we used to close just one of
c54f5170
WD
141 them).
142
65af3dab
WD
143 - Optimized the handling of larger block sizes (rsync used to slow to
144 a crawl if the block size got too large). Also cap the block size.
145
c7b1a56b
WD
146 - Optimized away a loop in hash_search().
147
65af3dab
WD
148 - Make sure that a filename that contains a newline gets mentioned with
149 each newline transformed into a question mark (which makes parsing
150 the verbose output via script more dependable).
151
03a9ca0a
WD
152 BUILD CHANGES:
153
bd1574b2
WD
154 - Added a "gen" target to rebuild most of the generated files,
155 including configure, config.h.in, the man pages, and proto.h.
03a9ca0a 156
bd1574b2 157 - If "make proto" doesn't find some changes in the prototypes, the
40564811 158 proto.h file is left untouched (its time-stamp used to always be
40e8d11e 159 updated).
03a9ca0a 160
c54f5170
WD
161 - The variable $STRIP (that is optionally set by the install-strip
162 target's rule) was changed to $INSTALL_STRIP because some systems
163 have $STRIP set in the environment.
164
c7b1a56b
WD
165 - Fixed a build problem when SUPPORT_HARD_LINKS isn't defined.
166
03a9ca0a
WD
167 DEVELOPER RELATED:
168
169 - The scripts in the testsuite dir were cleaned up a bit.
170
eae4e1f9 171 - Some new diffs were added to the patches dir, and some accepted
40e8d11e 172 ones were removed.
17f59e81 173