aboutsummaryrefslogtreecommitdiffstats
path: root/io.c
Commit message (Collapse)AuthorAgeFilesLines
* Output numbers in 3-digit groups by default (e.g. 1,234,567).Wayne Davison2008-09-011-1/+1
| | | | | Also improved the human-readable output functions, including adding the ability to output negative numbers.
* Improved the fix that ensures that the generator gets notified about anWayne Davison2008-08-311-8/+0
| | | | | I/O error for the incremental directory that generated the error. The PROTOCOL_VERSION was bumped to 31 to implement this.
* Some minor improvements to the flushing code to try to make itWayne Davison2008-08-241-40/+48
| | | | even more solid.
* Changed flist_for_ndx() to optionally die with an errorWayne Davison2008-08-141-3/+1
| | | | if the index isn't found.
* When using --iconv, if a server-side receiver can't convert a filename,Wayne Davison2008-08-021-0/+1
| | | | it now outputs the name back to the client without mangling the charset.
* Added logic to the receiving side to ensure that the --delete-duringWayne Davison2008-08-021-0/+8
| | | | | code will not delete in a directory prior to receiving an I/O error for that directory (or not receiving it, as the case may be).
* Explicitly cast a -1 that is being assigned to a size_t.Wayne Davison2008-07-211-2/+2
|
* Got rid of a variable that was set but not used.Wayne Davison2008-07-211-2/+0
|
* Improved var-checker and tweaked all the issues it found.Wayne Davison2008-07-211-3/+2
|
* Changed human_num() to big_num() with an extra arg so that it canWayne Davison2008-07-171-2/+2
| | | | be used in place of all %.0f output idioms.
* Added the --info=FLAGS an --debug=FLAGS options, which allowsWayne Davison2008-07-131-1/+1
| | | | fine-grained output control (in addition to the coarse -v).
* Fixed the sending of large files with older rsync versions byWayne Davison2008-06-231-1/+2
| | | | handling the old block-size limit for protocols < 29.
* Improved --dirs/--no-dirs/--list-only option handling:Wayne Davison2008-03-241-2/+1
| | | | | | | | - Moved setting of list_only and xfer_dirs from main.c to options.c. - Fixed the ability of the user to force --no-dirs. - Added the --old-dirs/--old-d option to make it easier to interact in list-only mode with an older rsync. - Suggest the use of --old-d instead of "-r --exclude='/*/*'".
* A couple improvements to the new arg-globbing code:Wayne Davison2008-03-211-0/+2
| | | | | | - Put all the state variables into a single struct. - Reuse the buffer memory for each glob_expand() call until a final call with a NULL pointer tells us to free it.
* Fixed the use of --protect-args (-s) with a daemon.Wayne Davison2008-03-151-6/+5
|
* Generate a helpful message when we get an option-error from a daemonWayne Davison2008-03-151-0/+43
| | | | | while requesting a file-listing and we suspect that the remote rsync is complaining about the -d option.
* Include 2008 in the copyright years.Wayne Davison2008-03-011-1/+1
|
* New logging categories added to allow differentiation betweenWayne Davison2007-11-221-3/+7
| | | | | transfer errors, normal errors, and warnings. New messages are translated into old FERROR/FINFO categories for older protocols.
* Fix two iconv problems that Lennart Lövstrand pointed out in bug 5075.Wayne Davison2007-11-221-27/+24
|
* In mplex_write(), make extra sure something unexpected doesn't getWayne Davison2007-11-031-11/+10
| | | | put between the split output of a long buffer.
* We can't decrement the in_progress value for a hard-linked file untilWayne Davison2007-10-181-2/+3
| | | | the generator gets a chance to finish the hard links.
* Write out the inc_recurse flag into a protocol-30 batch file.Wayne Davison2007-10-161-0/+2
|
* Forward MSG_IO_ERROR to the generator so that it can disable deletions.Wayne Davison2007-10-131-0/+7
|
* Got rid of some unneeded externs.Wayne Davison2007-09-231-1/+1
|
* Moved inline functions from rsync.h into ifuncs.h.Wayne Davison2007-09-221-0/+1
|
* Added missing "#ifdef ICONV_OPTION" conditionals.Wayne Davison2007-09-181-2/+15
|
* - Make use of new iconvbufs() function.Wayne Davison2007-09-181-73/+104
| | | | | - Convert remote --files-from filenames when -s and --iconv are active.
* - Parse hard-link info as soon as we get it in inc_recurse mode.Wayne Davison2007-09-151-0/+4
| | | | | - Improve the chances of the generator finding a match for a hard-link file in inc_recurse mode.
* The server should not wait around for an extra end-of-run message.Wayne Davison2007-09-151-1/+1
|
* - Renamed read_line() to be read_line_old().Wayne Davison2007-09-091-25/+64
| | | | | | | | | | - Renamed read_filesfrom_line() to read_line() and added args to allow the caller to control how it works. - Added a new function, read_args(), that reads args from a file descriptor (using read_line()) and expands any wildcards in them. This function has relocated daemon code (from clientserver.c) and is also used by the new --protect-args (-s) option. The new code also got rid of an extra strdup() that wasn't needed.
* Disabled the debug messages relating to the e_fds vars.Wayne Davison2007-09-031-8/+4
|
* Improved the handling of the file-status events received byWayne Davison2007-09-031-53/+43
| | | | the generator.
* Needed to use ndx_end in decrement_flist_in_progress().Wayne Davison2007-07-121-2/+2
|
* Tweaking the license text a bit more.Wayne Davison2007-07-101-2/+3
|
* Changed "count" to "used" in struct file_list since there canWayne Davison2007-07-071-3/+3
| | | | | be empty items that make the count inaccurate (and the name somewhat deceiving).
* Switching to GPL 3.Wayne Davison2007-07-071-3/+2
|
* Handle EINTR in a couple places where we handle the --file-from I/O.Wayne Davison2007-05-261-6/+8
|
* Output a -vvv(erbose) message when receiving an incremental file list.Wayne Davison2007-05-231-0/+4
|
* The --iconv option has now made it to the trunk.Wayne Davison2007-04-261-28/+87
|
* Changed the prerelease-protocol support to use an idiom that will notWayne Davison2007-04-231-5/+0
| | | | slow down the initial version handshake between the two sides.
* Batch files need to be written with the new subprotocol valueWayne Davison2007-04-211-0/+5
| | | | for protocol 30.
* Added a message queue for the receiver->generator messages to handle the caseWayne Davison2007-04-201-23/+38
| | | | where the message pipe is being used to forward the file-list data.
* - Changed the {read,write}_longint() functions into separateWayne Davison2007-04-201-208/+153
| | | | | | | | | | | | | {read,write}_varlong() and {read,write}_longint() functions: the former handles variable-length transmissions, and the latter is backward-compatible with older rsync versions. - Improved the {read,write}_var{int,long}() functions to be simpler and to use a different byte order. - The {read_write}_varlong() functions also allow the caller to specify the minimum number of bytes to send. This allows time values to be sent efficiently with a 4-byte minimum, while length values continue to be sent with a (more optimal for them) 3-byte minimum.
* Changed the *_abbbrevint() functions to *_varint().Wayne Davison2007-04-201-2/+2
|
* Protocol 30 now uses MD5 checksums instead of MD4.Wayne Davison2007-03-181-1/+1
|
* The ACL support has arrived! This version has a brand new protocolWayne Davison2007-03-111-5/+67
| | | | | that makes it incompatible with all prior versions. A patch will be provided to allow talking with older (patched) rsync versions.
* Improved the incremental sending of file lists in two ways: (1)Wayne Davison2007-02-161-2/+3
| | | | | | | | | | when the sender gets an index of a file to send, we make sure to send enough future file-list data relative to the new cur_flist value before we send the data for the file transfer (ensuring that the generator gets the data in a more timely manner), and (2) the generator flushes the output socket after each file-list object has completed its scan so that the sender knows in a more timely manner that more list data is needed.
* Further modifications to the copyright comment section.Wayne Davison2007-02-041-4/+3
|
* The ndx arg passed to increment_active_files() is now the unique,Wayne Davison2007-02-031-1/+1
| | | | | over-the-wire value, making it consistent with the ndx arg that is passed to decrement_active_files().
* Mention the year 2007 in the copyright declarations.Wayne Davison2007-01-311-1/+1
|