rsync/rsync.git
18 years agoWhen compare-dest/link-dest/copy-dest are in effect, we now check
Wayne Davison [Thu, 15 Dec 2005 23:00:02 +0000 (23:00 +0000)]
When compare-dest/link-dest/copy-dest are in effect, we now check
if the file we're about to hard-link to the leader is present in
one of the dest dirs -- if it is, we adjust the text we output
accordingly.

18 years agoThe ITEM_NO_DEST_AND_NO_UPDATE define is no longer needed.
Wayne Davison [Thu, 15 Dec 2005 22:59:59 +0000 (22:59 +0000)]
The ITEM_NO_DEST_AND_NO_UPDATE define is no longer needed.

18 years agoImproved the compare-dest/link-dest/copy-dest code to make it more
Wayne Davison [Thu, 15 Dec 2005 22:59:56 +0000 (22:59 +0000)]
Improved the compare-dest/link-dest/copy-dest code to make it more
readable, to make it output properly in double-verbose mode, and
to allow the hard-linking of symlinks and devices (if supported by
the OS).

18 years ago- Eliminate an all-dot itemization for a locally-copied file.
Wayne Davison [Thu, 15 Dec 2005 22:59:53 +0000 (22:59 +0000)]
- Eliminate an all-dot itemization for a locally-copied file.
- Got rid of some redundant output in maybe_log_item().

18 years agoImproved an old bullet point.
Wayne Davison [Thu, 15 Dec 2005 21:23:44 +0000 (21:23 +0000)]
Improved an old bullet point.

18 years agoUse AC_SEARCH_LIBS() instead of AC_CHECK_LIB() to figure out if
Wayne Davison [Wed, 14 Dec 2005 22:54:54 +0000 (22:54 +0000)]
Use AC_SEARCH_LIBS() instead of AC_CHECK_LIB() to figure out if
we need to include libresolv or not.

18 years agoMention that the MD4 password protection is weaker than
Wayne Davison [Wed, 14 Dec 2005 22:14:26 +0000 (22:14 +0000)]
Mention that the MD4 password protection is weaker than
previously thought.

18 years agoParse single- and double-quotes in the --rsh/-e option (and RSYNC_RSH).
Wayne Davison [Wed, 14 Dec 2005 22:00:01 +0000 (22:00 +0000)]
Parse single- and double-quotes in the --rsh/-e option (and RSYNC_RSH).

18 years agoMention new quote-parsing for the --rsh/-e and RSYNC_RSH handling.
Wayne Davison [Wed, 14 Dec 2005 21:59:11 +0000 (21:59 +0000)]
Mention new quote-parsing for the --rsh/-e and RSYNC_RSH handling.

18 years agoMade msg_list_push() static and renamed it to msg_list_flush().
Wayne Davison [Thu, 8 Dec 2005 21:19:22 +0000 (21:19 +0000)]
Made msg_list_push() static and renamed it to msg_list_flush().

18 years agoTweaked the msg_list code so that the head and tail pointers
Wayne Davison [Thu, 8 Dec 2005 21:01:38 +0000 (21:01 +0000)]
Tweaked the msg_list code so that the head and tail pointers
are contained by a structure.

18 years agoFixed a typo in a comment.
Wayne Davison [Thu, 8 Dec 2005 16:12:25 +0000 (16:12 +0000)]
Fixed a typo in a comment.

18 years agoImproved/fixed some of the entries.
Wayne Davison [Tue, 29 Nov 2005 15:53:18 +0000 (15:53 +0000)]
Improved/fixed some of the entries.

18 years agoImproved the description of how --delay-updates chooses it's dir.
Wayne Davison [Wed, 16 Nov 2005 16:12:04 +0000 (16:12 +0000)]
Improved the description of how --delay-updates chooses it's dir.

18 years agoMade the parsing in parse_size_arg() a little more strict.
Wayne Davison [Tue, 15 Nov 2005 17:49:59 +0000 (17:49 +0000)]
Made the parsing in parse_size_arg() a little more strict.

18 years agoFixed a typo in the --help output for --no-OPTION.
Wayne Davison [Tue, 15 Nov 2005 07:05:55 +0000 (07:05 +0000)]
Fixed a typo in the --help output for --no-OPTION.

18 years agoChanged -h to be an alias for --human-readable (getting rid of -m).
Wayne Davison [Tue, 15 Nov 2005 06:35:27 +0000 (06:35 +0000)]
Changed -h to be an alias for --human-readable (getting rid of -m).
Also added backward-compatibility code so that "rsync -h" shows the
help page on stdout like it would in older versions.

18 years agoDocument the change in the -h option.
Wayne Davison [Tue, 15 Nov 2005 06:35:22 +0000 (06:35 +0000)]
Document the change in the -h option.

18 years agoTwiddled some brace positions and removed a superfluous ';' in a macro.
Wayne Davison [Mon, 14 Nov 2005 21:24:30 +0000 (21:24 +0000)]
Twiddled some brace positions and removed a superfluous ';' in a macro.

18 years agoImproved an error message.
Wayne Davison [Sun, 13 Nov 2005 17:15:00 +0000 (17:15 +0000)]
Improved an error message.

18 years agoMoved the DEL_* flags into generator.c.
Wayne Davison [Sat, 12 Nov 2005 20:30:40 +0000 (20:30 +0000)]
Moved the DEL_* flags into generator.c.

18 years agoMoved the DEL_* flags from rsync.h here and got rid of DEL_NO_RECURSE.
Wayne Davison [Sat, 12 Nov 2005 20:30:36 +0000 (20:30 +0000)]
Moved the DEL_* flags from h here and got rid of DEL_NO_RECURSE.

18 years agoMention the latest options.
Wayne Davison [Sat, 12 Nov 2005 20:08:10 +0000 (20:08 +0000)]
Mention the latest options.

18 years agoChanged the parsing of suffixes for --min-size and --max-size a little.
Wayne Davison [Sat, 12 Nov 2005 20:08:00 +0000 (20:08 +0000)]
Changed the parsing of suffixes for --min-size and --max-size a little.

18 years agoOutput the stats and the end-of-run verbose output using the new
Wayne Davison [Sat, 12 Nov 2005 19:53:26 +0000 (19:53 +0000)]
Output the stats and the end-of-run verbose output using the new
human_num() and human_dnum() functions, which both honor the
new --human-readable option.

18 years agoAdded two new functions: human_num() and human_dnum(), which
Wayne Davison [Sat, 12 Nov 2005 19:53:23 +0000 (19:53 +0000)]
Added two new functions:  human_num() and human_dnum(), which
output numbers in human-readable units if the --human-readable
option was specified.

18 years agoAdded the human_readable variable (for linking with util.o).
Wayne Davison [Sat, 12 Nov 2005 19:53:20 +0000 (19:53 +0000)]
Added the human_readable variable (for linking with util.o).

18 years agoParse the new --human-readable (-m) option.
Wayne Davison [Sat, 12 Nov 2005 19:53:17 +0000 (19:53 +0000)]
Parse the new --human-readable (-m) option.

18 years agoDocument the new --human-readable (-m) option.
Wayne Davison [Sat, 12 Nov 2005 19:53:12 +0000 (19:53 +0000)]
Document the new --human-readable (-m) option.

18 years agoOnly call cleanup_set() if keep_partial is set.
Wayne Davison [Thu, 10 Nov 2005 16:57:30 +0000 (16:57 +0000)]
Only call cleanup_set() if keep_partial is set.

18 years agoIf cleanup_set() gets passed a NULL fnametmp or fname, set
Wayne Davison [Thu, 10 Nov 2005 16:56:32 +0000 (16:56 +0000)]
If cleanup_set() gets passed a NULL fnametmp or fname, set
cleanup_fname to NULL.

18 years agoGot rid of a superfluous newline.
Wayne Davison [Thu, 10 Nov 2005 16:47:52 +0000 (16:47 +0000)]
Got rid of a superfluous newline.

18 years ago- Indent the "oom:" label away from column 0.
Wayne Davison [Thu, 10 Nov 2005 16:47:27 +0000 (16:47 +0000)]
- Indent the "oom:" label away from column 0.
- Got rid of a superfluous newline.

18 years agoIndent the "prepare_to_open:" and "notify_others:" labels away
Wayne Davison [Thu, 10 Nov 2005 16:47:03 +0000 (16:47 +0000)]
Indent the "prepare_to_open:" and "notify_others:" labels away
from column 0.

18 years ago- Got rid of a superfluous empty line.
Wayne Davison [Thu, 10 Nov 2005 16:45:00 +0000 (16:45 +0000)]
- Got rid of a superfluous empty line.
- Indent the "oom:" and "skip_filters:" labels away from column 0.

18 years agoGot rid of a superfluous empty line.
Wayne Davison [Thu, 10 Nov 2005 16:44:06 +0000 (16:44 +0000)]
Got rid of a superfluous empty line.

18 years agoIndent the "failure:" label away from column 0.
Wayne Davison [Thu, 10 Nov 2005 16:43:44 +0000 (16:43 +0000)]
Indent the "failure:" label away from column 0.

18 years agoIndent the "oom:" label away from column 0.
Wayne Davison [Thu, 10 Nov 2005 16:42:46 +0000 (16:42 +0000)]
Indent the "oom:" label away from column 0.

18 years agoMention the big improvement when --delete and --checksum were
Wayne Davison [Thu, 10 Nov 2005 06:43:10 +0000 (06:43 +0000)]
Mention the big improvement when --delete and --checksum were
specified.

18 years agoIn make_file(), only compute the checksum when we're the sender.
Wayne Davison [Thu, 10 Nov 2005 06:01:55 +0000 (06:01 +0000)]
In make_file(), only compute the checksum when we're the sender.
This stops computing useless checksums during the delete scan
when --checksum (-c) was specified.

18 years agoUse the new checksum_len value instead of recomputing the
Wayne Davison [Thu, 10 Nov 2005 03:07:18 +0000 (03:07 +0000)]
Use the new checksum_len value instead of recomputing the
right value for the current protocol_version over and over.

18 years agoCompute the right checksum length for the current protocol_version
Wayne Davison [Thu, 10 Nov 2005 03:00:38 +0000 (03:00 +0000)]
Compute the right checksum length for the current protocol_version
only once instead of over and over again.

18 years agoIf a partial-dir file is present but the main file is up-to-date,
Wayne Davison [Thu, 10 Nov 2005 02:56:58 +0000 (02:56 +0000)]
If a partial-dir file is present but the main file is up-to-date,
just remove the partial-dir file.

18 years agoCall delete_in_dir(NULL, NULL, NULL) in do_delete_pass().
Wayne Davison [Wed, 9 Nov 2005 19:46:42 +0000 (19:46 +0000)]
Call delete_in_dir(NULL, NULL, NULL) in do_delete_pass().

18 years agoMade recursively deleting extraneous directories more memory
Wayne Davison [Wed, 9 Nov 2005 19:39:46 +0000 (19:39 +0000)]
Made recursively deleting extraneous directories more memory
efficient by removing the need for a MAXPATHLEN buffer on the
stack of delete_item().

18 years agoMention the new --chmod option.
Wayne Davison [Mon, 7 Nov 2005 04:47:06 +0000 (04:47 +0000)]
Mention the new --chmod option.

18 years agoTest the --chmod option.
Wayne Davison [Mon, 7 Nov 2005 04:28:52 +0000 (04:28 +0000)]
Test the --chmod option.

18 years agoAdded support for the new --chmod option.
Wayne Davison [Mon, 7 Nov 2005 04:28:35 +0000 (04:28 +0000)]
Added support for the new --chmod option.

18 years agoCall tweak_mode() on regular files and dirs if --chmod was specified.
Wayne Davison [Mon, 7 Nov 2005 04:28:32 +0000 (04:28 +0000)]
Call tweak_mode() on regular files and dirs if --chmod was specified.

18 years agoAdded chmod.o to OBJS2.
Wayne Davison [Mon, 7 Nov 2005 04:28:29 +0000 (04:28 +0000)]
Added chmod.o to OBJS2.

18 years agoDocument the new --chmod option.
Wayne Davison [Mon, 7 Nov 2005 04:28:23 +0000 (04:28 +0000)]
Document the new --chmod option.

18 years agoNew --chmod support routines.
Wayne Davison [Mon, 7 Nov 2005 04:23:22 +0000 (04:23 +0000)]
New --chmod support routines.

18 years agoFixed a sign error in the output.
Wayne Davison [Thu, 3 Nov 2005 19:55:30 +0000 (19:55 +0000)]
Fixed a sign error in the output.

18 years agoMention the change in the output of --progress.
Wayne Davison [Thu, 3 Nov 2005 19:46:45 +0000 (19:46 +0000)]
Mention the change in the output of --progress.

18 years agoMake the just-updated file-count status even less cryptic.
Wayne Davison [Thu, 3 Nov 2005 19:45:59 +0000 (19:45 +0000)]
Make the just-updated file-count status even less cryptic.

18 years agoImproved the output of the transferred-file count and the position
Wayne Davison [Thu, 3 Nov 2005 19:38:14 +0000 (19:38 +0000)]
Improved the output of the transferred-file count and the position
in the flist (which was changed to a countdown of files to check)
so that it's clearer what the numbers mean.

18 years agoGot rid of some early-checksum code that accidentally got committed.
Wayne Davison [Wed, 2 Nov 2005 07:22:02 +0000 (07:22 +0000)]
Got rid of some early-checksum code that accidentally got committed.

18 years agoMention lower stack requiements for recursion.
Wayne Davison [Tue, 1 Nov 2005 20:13:20 +0000 (20:13 +0000)]
Mention lower stack requiements for recursion.

18 years agoDecreased the amount of stack needed for each level of directory
Wayne Davison [Tue, 1 Nov 2005 20:09:41 +0000 (20:09 +0000)]
Decreased the amount of stack needed for each level of directory
recursion by eliminating the need for a MAXPATHLEN buffer in
send_if_directory().  Also improved a few variable names in
send_file_list().

18 years agoFixed a typo pointed out by Peter Strazovec.
Wayne Davison [Sun, 30 Oct 2005 22:29:59 +0000 (22:29 +0000)]
Fixed a typo pointed out by Peter Strazovec.

18 years agoIn the device section, avoid calling unlink() if the stat() failed.
Wayne Davison [Sun, 30 Oct 2005 22:28:11 +0000 (22:28 +0000)]
In the device section, avoid calling unlink() if the stat() failed.

18 years agoDocument the new --compress-level option.
Wayne Davison [Wed, 26 Oct 2005 16:48:44 +0000 (16:48 +0000)]
Document the new --compress-level option.

18 years agoHandle new def_compress_level setting.
Wayne Davison [Wed, 26 Oct 2005 16:48:07 +0000 (16:48 +0000)]
Handle new def_compress_level setting.

18 years agoObey new def_compress_level setting.
Wayne Davison [Wed, 26 Oct 2005 16:47:49 +0000 (16:47 +0000)]
Obey new def_compress_level setting.

18 years agoAdded --compress-level option.
Wayne Davison [Wed, 26 Oct 2005 16:47:15 +0000 (16:47 +0000)]
Added --compress-level option.

18 years ago- Changed the "status" variables into "exit_code" variables.
Wayne Davison [Wed, 26 Oct 2005 15:53:04 +0000 (15:53 +0000)]
- Changed the "status" variables into "exit_code" variables.
- Added an error message to wait_process_with_flush() that
  reports the errno we get when waitpid() fails.
- Increased the value of MAXCHILDPROCS.

18 years agoTweaked the error message for RERR_WAITCHILD.
Wayne Davison [Wed, 26 Oct 2005 15:50:14 +0000 (15:50 +0000)]
Tweaked the error message for RERR_WAITCHILD.

18 years agoUpdated the docs for pre-/post-xfer exec.
Wayne Davison [Mon, 24 Oct 2005 21:03:53 +0000 (21:03 +0000)]
Updated the docs for pre-/post-xfer exec.

18 years agoEnhanced the "pre-xfer exec" handling so that it gets the user's
Wayne Davison [Mon, 24 Oct 2005 21:03:50 +0000 (21:03 +0000)]
Enhanced the "pre-xfer exec" handling so that it gets the user's
request info and puts that into the environment as RSYNC_REQUEST.

18 years agoChanged wait_process() into a simpler, yet more versatile function,
Wayne Davison [Mon, 24 Oct 2005 21:03:47 +0000 (21:03 +0000)]
Changed wait_process() into a simpler, yet more versatile function,
and used it in the new wait_process_with_flush() function (the old
function's new name).  Made wait_process() public.

18 years agoFixed a typo in a comment.
Wayne Davison [Thu, 20 Oct 2005 18:30:33 +0000 (18:30 +0000)]
Fixed a typo in a comment.

18 years agoGet rid of some superfluous empty lines.
Wayne Davison [Wed, 19 Oct 2005 07:49:10 +0000 (07:49 +0000)]
Get rid of some superfluous empty lines.

18 years agoOne extra tweak to the just-committed code.
Wayne Davison [Sat, 15 Oct 2005 19:15:29 +0000 (19:15 +0000)]
One extra tweak to the just-committed code.

18 years agoAdded relative_paths extern.
Wayne Davison [Sat, 15 Oct 2005 19:11:36 +0000 (19:11 +0000)]
Added relative_paths extern.

18 years agoIf we're sanitizing paths with --relative enabled, we need to
Wayne Davison [Sat, 15 Oct 2005 19:08:31 +0000 (19:08 +0000)]
If we're sanitizing paths with --relative enabled, we need to
preserve the first /./ dir so that we can use its position to
trim the implied directories.

18 years agoDocument --ignore-non-existing (not --existing) and what happens
Wayne Davison [Sat, 15 Oct 2005 16:39:31 +0000 (16:39 +0000)]
Document --ignore-non-existing (not --existing) and what happens
if the option is combined with --ignore-existing.

18 years agoChanged the --help text to mention --ignore-non-existing
Wayne Davison [Sat, 15 Oct 2005 16:38:35 +0000 (16:38 +0000)]
Changed the --help text to mention --ignore-non-existing
instead of --existing.

18 years agoMade parse_size_arg()'s parsing a little stricter.
Wayne Davison [Sat, 15 Oct 2005 06:53:04 +0000 (06:53 +0000)]
Made parse_size_arg()'s parsing a little stricter.

18 years agoMention --min-size/--max-size changes.
Wayne Davison [Fri, 14 Oct 2005 20:40:31 +0000 (20:40 +0000)]
Mention --min-size/--max-size changes.

18 years agoDocumented --min-size.
Wayne Davison [Fri, 14 Oct 2005 20:16:21 +0000 (20:16 +0000)]
Documented --min-size.

18 years agoAdded code to implement the --min-size logic.
Wayne Davison [Fri, 14 Oct 2005 20:16:09 +0000 (20:16 +0000)]
Added code to implement the --min-size logic.

18 years agoAdded handling of the --min-size option.
Wayne Davison [Fri, 14 Oct 2005 20:15:18 +0000 (20:15 +0000)]
Added handling of the --min-size option.

18 years agoImproved parse_size_arg() a little more.
Wayne Davison [Fri, 14 Oct 2005 19:48:34 +0000 (19:48 +0000)]
Improved parse_size_arg() a little more.

18 years agoDocument the extended parsing of --max-size values.
Wayne Davison [Fri, 14 Oct 2005 19:03:05 +0000 (19:03 +0000)]
Document the extended parsing of --max-size values.

18 years agoImproved parse_size_arg() so that it can be told to use powers of
Wayne Davison [Fri, 14 Oct 2005 18:56:07 +0000 (18:56 +0000)]
Improved parse_size_arg() so that it can be told to use powers of
ten instead of binary K/M/G powers, and so that it can be told to
add or subtract one from the result.  We also make sure to pass
the arg to --max-size in a compatible manner with older versions.

18 years agoFixed a typo in an option name.
Wayne Davison [Wed, 12 Oct 2005 23:59:00 +0000 (23:59 +0000)]
Fixed a typo in an option name.

18 years agoMention va_copy change.
Wayne Davison [Tue, 11 Oct 2005 20:21:56 +0000 (20:21 +0000)]
Mention va_copy change.

18 years agoIf va_copy is defined, use it when defining VA_COPY.
Wayne Davison [Tue, 11 Oct 2005 20:21:03 +0000 (20:21 +0000)]
If va_copy is defined, use it when defining VA_COPY.

18 years agoPass XFLG_ABS_IF_SLASH instead of XFLG_ANCHORED2ABS for server excludes.
Wayne Davison [Fri, 7 Oct 2005 18:40:30 +0000 (18:40 +0000)]
Pass XFLG_ABS_IF_SLASH instead of XFLG_ANCHORED2ABS for server excludes.

18 years agoSupport new XFLG_ABS_IF_SLASH flag.
Wayne Davison [Fri, 7 Oct 2005 18:39:40 +0000 (18:39 +0000)]
Support new XFLG_ABS_IF_SLASH flag.

18 years agoAdded XFLG_ABS_IF_SLASH.
Wayne Davison [Fri, 7 Oct 2005 18:38:25 +0000 (18:38 +0000)]
Added XFLG_ABS_IF_SLASH.

18 years agoMention recent changes.
Wayne Davison [Fri, 7 Oct 2005 18:24:35 +0000 (18:24 +0000)]
Mention recent changes.

18 years agoClarify how the fitler rule "-/" works.
Wayne Davison [Fri, 7 Oct 2005 18:18:16 +0000 (18:18 +0000)]
Clarify how the fitler rule "-/" works.

18 years agoImproved the usage comments.
Wayne Davison [Tue, 4 Oct 2005 04:12:28 +0000 (04:12 +0000)]
Improved the usage comments.

18 years agoA simple filter script to output messages from a single module.
Wayne Davison [Mon, 3 Oct 2005 18:40:59 +0000 (18:40 +0000)]
A simple filter script to output messages from a single module.

18 years agoChanged the variable names for --existing and --ignore-existing.
Wayne Davison [Thu, 29 Sep 2005 18:07:55 +0000 (18:07 +0000)]
Changed the variable names for --existing and --ignore-existing.

18 years agoReverted one xfer_dirs change from the last commit that should not
Wayne Davison [Thu, 29 Sep 2005 17:27:11 +0000 (17:27 +0000)]
Reverted one xfer_dirs change from the last commit that should not
have gone in.

18 years agoKeeping silent about stat() errors is never a good idea -- it hides
Wayne Davison [Thu, 29 Sep 2005 17:07:45 +0000 (17:07 +0000)]
Keeping silent about stat() errors is never a good idea -- it hides
files that are not up-to-date.

18 years agoMention that --delete now works with --dirs.
Wayne Davison [Thu, 29 Sep 2005 08:15:34 +0000 (08:15 +0000)]
Mention that --delete now works with --dirs.

18 years ago- When --dirs is specified w/o --recursive, avoid marking solo dirs
Wayne Davison [Thu, 29 Sep 2005 07:48:05 +0000 (07:48 +0000)]
- When --dirs is specified w/o --recursive, avoid marking solo dirs
  with the XMIT_TOP_DIR flag.
- Only set in_del_hier if --recursive is enabled.