rsync.git
19 years ago- Added variable "ignore_timeout" that lets the generator tell
Wayne Davison [Fri, 25 Feb 2005 21:58:13 +0000 (21:58 +0000)]
- Added variable "ignore_timeout" that lets the generator tell
  us to ignore a timeout without turning off the timeout-related
  time-keeping that the keep-alive processing needs.
- Added a new function:  maybe_send_keepalive().

19 years agoAccept the new keep-alive (no-op) packet.
Wayne Davison [Fri, 25 Feb 2005 21:56:00 +0000 (21:56 +0000)]
Accept the new keep-alive (no-op) packet.

19 years agoDon't add st_size from a device to stats.total_size.
Wayne Davison [Fri, 25 Feb 2005 20:28:27 +0000 (20:28 +0000)]
Don't add st_size from a device to stats.total_size.

19 years agoMention how --backup sometimes implies --omit-dir-times.
Wayne Davison [Fri, 25 Feb 2005 17:10:48 +0000 (17:10 +0000)]
Mention how --backup sometimes implies --omit-dir-times.

19 years agoUse the new am_starting_up value in who_am_i().
Wayne Davison [Fri, 25 Feb 2005 17:08:57 +0000 (17:08 +0000)]
Use the new am_starting_up value in who_am_i().

19 years agoGot rid of kluged value for am_sender, and instead added a new
Wayne Davison [Fri, 25 Feb 2005 17:08:31 +0000 (17:08 +0000)]
Got rid of kluged value for am_sender, and instead added a new
variable named am_starting_up that is non-zero during the option
parsing.  This lets the who_am_i() routine output a better value
for debugging info that is output during the option parsing.

19 years agoFixed some typos.
Wayne Davison [Fri, 25 Feb 2005 02:30:38 +0000 (02:30 +0000)]
Fixed some typos.

19 years agoPreparing for release of 2.6.4pre1 v2.6.4pre1
Wayne Davison [Wed, 23 Feb 2005 03:22:53 +0000 (03:22 +0000)]
Preparing for release of 2.6.4pre1

19 years agoTweaked an entry.
Wayne Davison [Wed, 23 Feb 2005 03:17:11 +0000 (03:17 +0000)]
Tweaked an entry.

19 years ago- Fixed a problem with full_fname() when curr_dir was "/".
Wayne Davison [Wed, 23 Feb 2005 02:56:42 +0000 (02:56 +0000)]
- Fixed a problem with full_fname() when curr_dir was "/".
- Made full_fname() consistently output a leading "/" for
  module paths no matter if chroot is in use or not.

19 years agoOne more tweak to the need_name_pipe logic.
Wayne Davison [Wed, 23 Feb 2005 02:14:00 +0000 (02:14 +0000)]
One more tweak to the need_name_pipe logic.

19 years agoCommenting out link-dest test for now.
Wayne Davison [Wed, 23 Feb 2005 02:13:33 +0000 (02:13 +0000)]
Commenting out link-dest test for now.

19 years agoGot rid of --copy-dest references.
Wayne Davison [Wed, 23 Feb 2005 02:07:09 +0000 (02:07 +0000)]
Got rid of --copy-dest references.

19 years agoChanged --copy-dest to --link-dest.
Wayne Davison [Wed, 23 Feb 2005 02:06:33 +0000 (02:06 +0000)]
Changed --copy-dest to --link-dest.

19 years agoGot rid of --copy-dest for now -- I think it should be made to do
Wayne Davison [Wed, 23 Feb 2005 02:05:34 +0000 (02:05 +0000)]
Got rid of --copy-dest for now -- I think it should be made to do
the copying of unchanged files locally (like --link-dest does
using a hard link).

19 years agoFixed a problem with the last change.
Wayne Davison [Tue, 22 Feb 2005 22:13:04 +0000 (22:13 +0000)]
Fixed a problem with the last change.

19 years agoWe need the name-pipe for --inplace these days.
Wayne Davison [Tue, 22 Feb 2005 22:13:02 +0000 (22:13 +0000)]
We need the name-pipe for --inplace these days.

19 years agoAlways set the SID_USING_ALT_BASIS appropriately for the transfer,
Wayne Davison [Tue, 22 Feb 2005 22:12:59 +0000 (22:12 +0000)]
Always set the SID_USING_ALT_BASIS appropriately for the transfer,
even if --inplace wasn't specified.

19 years agoMore cleanups.
Wayne Davison [Tue, 22 Feb 2005 21:56:32 +0000 (21:56 +0000)]
More cleanups.

19 years agoTrying to fix bug #2357.
Wayne Davison [Tue, 22 Feb 2005 21:48:10 +0000 (21:48 +0000)]
Trying to fix bug #2357.

19 years agoWe now look for the ITEM_USING_ALT_BASIS flag for an --inplace
Wayne Davison [Tue, 22 Feb 2005 21:43:59 +0000 (21:43 +0000)]
We now look for the ITEM_USING_ALT_BASIS flag for an --inplace
transer that is using an alternate basis file (instead of reading
an extra byte after the flag word).

19 years agoWe now set the ITEM_USING_ALT_BASIS flag for an --inplace transfer
Wayne Davison [Tue, 22 Feb 2005 21:43:57 +0000 (21:43 +0000)]
We now set the ITEM_USING_ALT_BASIS flag for an --inplace transfer
that is using an alternate basis file (instead of sending an extra
byte after the flag word).

19 years agoAdded ITEM_USING_ALT_BASIS.
Wayne Davison [Tue, 22 Feb 2005 21:43:54 +0000 (21:43 +0000)]
Added ITEM_USING_ALT_BASIS.

19 years agoDocument an alternate way to achieve the effect of this script
Wayne Davison [Tue, 22 Feb 2005 21:24:24 +0000 (21:24 +0000)]
Document an alternate way to achieve the effect of this script
through the use of awk and the more powerful --filter option.

19 years agoWhen preforming a recursive delete, push/pop the per-dir merge rules.
Wayne Davison [Tue, 22 Feb 2005 20:42:55 +0000 (20:42 +0000)]
When preforming a recursive delete, push/pop the per-dir merge rules.

19 years agoSort the dir-list returned by get_dirlist() and the dir-list that
Wayne Davison [Tue, 22 Feb 2005 03:37:18 +0000 (03:37 +0000)]
Sort the dir-list returned by get_dirlist() and the dir-list that
delete_in_dir() generates.

19 years ago- Iterate through the deletion list in reverse order so that we
Wayne Davison [Tue, 22 Feb 2005 03:16:41 +0000 (03:16 +0000)]
- Iterate through the deletion list in reverse order so that we
  can't delete a backup file that we just created.
- The rename-directory-for-backup heuristic now checks the
  DEL_FORCE_RECURSE flag, not the zap_dir variable.  We also set
  the flag when we recurse so that only the root dir of a deleted
  hierarchy can be missing the flag (and thus be a call from the
  generator).

19 years agoOnly rename a directory with the backup suffix if we're removing
Wayne Davison [Tue, 22 Feb 2005 01:59:15 +0000 (01:59 +0000)]
Only rename a directory with the backup suffix if we're removing
it to replace it with a file of the same name.

19 years agoIn make_simple_backup(), if the rename() failed because we tried
Wayne Davison [Tue, 22 Feb 2005 01:57:58 +0000 (01:57 +0000)]
In make_simple_backup(), if the rename() failed because we tried
to rename a directory over a file or visa versa, try to handle it.

19 years agoA couple changes in delete_file() make us more compatible with
Wayne Davison [Tue, 22 Feb 2005 00:42:12 +0000 (00:42 +0000)]
A couple changes in delete_file() make us more compatible with
older versions: (1) we no longer complain if excluded files
sticking around cause us to not be able to remove a subdir, and
(2) we output the name of the removed subdir after it has been
successfully removed.

19 years agoAdded function check for vasprintf.
Wayne Davison [Mon, 21 Feb 2005 18:58:09 +0000 (18:58 +0000)]
Added function check for vasprintf.

19 years ago- Added function tests for va_copy and __va_copy for snprintf.c code.
Wayne Davison [Mon, 21 Feb 2005 17:08:09 +0000 (17:08 +0000)]
- Added function tests for va_copy and __va_copy for snprintf.c code.
- Added AC_C_LONG_DOUBLE for snprintf.c code.
- Got rid of unneeded ino_t check.

19 years agoCheck SIZEOF_LONG_LONG instead of HAVE_LONG_LONG.
Wayne Davison [Mon, 21 Feb 2005 17:02:53 +0000 (17:02 +0000)]
Check SIZEOF_LONG_LONG instead of HAVE_LONG_LONG.

19 years ago- Moved delete_file() into flist.c.
Wayne Davison [Mon, 21 Feb 2005 10:50:32 +0000 (10:50 +0000)]
- Moved delete_file() into flist.c.
- No need to separately test for (make_backups && !backup_dir)
  because omit_dir_times is now set under those circumstances.

19 years ago- Moved delete_file() here from rsync.c and improved it to avoid
Wayne Davison [Mon, 21 Feb 2005 10:50:30 +0000 (10:50 +0000)]
- Moved delete_file() here from c and improved it to avoid
  removing files we just backed up to the current directory and to
  rename a non-empty dir to dir~ (when no backup-dir is specified).
- Made delete_missing() static.

19 years ago- Set omit_dir_times if backing up files w/o a backup dir.
Wayne Davison [Mon, 21 Feb 2005 10:03:23 +0000 (10:03 +0000)]
- Set omit_dir_times if backing up files w/o a backup dir.
- Only send an explicitly specified -O (--omit-dir-times)
  if it won't be inferred by the receiver.

19 years agoPass the file-diffing flag as an arg to checkit.
Wayne Davison [Mon, 21 Feb 2005 07:27:28 +0000 (07:27 +0000)]
Pass the file-diffing flag as an arg to checkit.

19 years agoIf checkit is passed a 4th arg, skip the file-diffing step.
Wayne Davison [Mon, 21 Feb 2005 07:26:59 +0000 (07:26 +0000)]
If checkit is passed a 4th arg, skip the file-diffing step.
This is used by the devices.test script.

19 years agoTouch $tmpdir/do_not_diff_the_files so that checkit does not try
Wayne Davison [Mon, 21 Feb 2005 07:19:11 +0000 (07:19 +0000)]
Touch $tmpdir/do_not_diff_the_files so that checkit does not try
to diff the devices against each other.

19 years agoReposition log_open() and log_close().
Wayne Davison [Mon, 21 Feb 2005 00:38:15 +0000 (00:38 +0000)]
Reposition log_open() and log_close().

19 years agoMention two more things.
Wayne Davison [Mon, 21 Feb 2005 00:32:04 +0000 (00:32 +0000)]
Mention two more things.

19 years ago- For win32: made --no-detach the default for daemon mode.
Wayne Davison [Mon, 21 Feb 2005 00:31:31 +0000 (00:31 +0000)]
- For win32: made --no-detach the default for daemon mode.
- Added --detach (a --daemon option).

19 years agoUpdated to remove completed items and add a little more info for
Wayne Davison [Mon, 21 Feb 2005 00:17:10 +0000 (00:17 +0000)]
Updated to remove completed items and add a little more info for
other items.

19 years agoSome minor tweaks.
Wayne Davison [Mon, 21 Feb 2005 00:16:36 +0000 (00:16 +0000)]
Some minor tweaks.

19 years agoMention the compression-mode fix for large block sizes.
Wayne Davison [Sun, 20 Feb 2005 23:08:56 +0000 (23:08 +0000)]
Mention the compression-mode fix for large block sizes.

19 years agoTweaked the rprintf() that outputs about the delta-transmission
Wayne Davison [Sun, 20 Feb 2005 22:11:43 +0000 (22:11 +0000)]
Tweaked the rprintf() that outputs about the delta-transmission
enablement.

19 years ago- Integrated the latest version from samba.
Wayne Davison [Sun, 20 Feb 2005 22:10:33 +0000 (22:10 +0000)]
- Integrated the latest version from samba.
- Tweaked the order of the code in my_modf() to avoid
  a compiler warning.

19 years agoOne more tweak to the "whoami" code.
Wayne Davison [Sun, 20 Feb 2005 21:04:03 +0000 (21:04 +0000)]
One more tweak to the "whoami" code.

19 years agoChanged the memory implementation of --delay-updates so that it
Wayne Davison [Sun, 20 Feb 2005 20:55:24 +0000 (20:55 +0000)]
Changed the memory implementation of --delay-updates so that it
only allocates memory to store needed bits, it sparsely allocates
the bits in 16KB chunks, and the bit-finding loop works in a more
efficient manner.

19 years agoGot rid of "set -x" (runtests.sh has a way to set this, if desired).
Wayne Davison [Sun, 20 Feb 2005 17:24:15 +0000 (17:24 +0000)]
Got rid of "set -x" (runtests.sh has a way to set this, if desired).

19 years agoDropped a useless "const" from the definition of poptStrerror.
Wayne Davison [Sun, 20 Feb 2005 17:21:13 +0000 (17:21 +0000)]
Dropped a useless "const" from the definition of poptStrerror.

19 years agoMark a couple unused variables.
Wayne Davison [Sun, 20 Feb 2005 17:20:14 +0000 (17:20 +0000)]
Mark a couple unused variables.

19 years agoCast char* to uchar* when dereferencing characters for isdigit()
Wayne Davison [Sun, 20 Feb 2005 17:07:31 +0000 (17:07 +0000)]
Cast char* to uchar* when dereferencing characters for isdigit()
and isprint().

19 years agoHave rule_strcmp() accept and return a uchar*.
Wayne Davison [Sun, 20 Feb 2005 17:04:53 +0000 (17:04 +0000)]
Have rule_strcmp() accept and return a uchar*.

19 years agoA few improvements to the "test" commands to neaten them up and
Wayne Davison [Sun, 20 Feb 2005 17:01:32 +0000 (17:01 +0000)]
A few improvements to the "test" commands to neaten them up and
to try to fix another problem under solaris.

19 years agoCast a uchar* arg to char* for write_buf().
Wayne Davison [Sun, 20 Feb 2005 16:56:30 +0000 (16:56 +0000)]
Cast a uchar* arg to char* for write_buf().

19 years agoImproved the testuser-setting code to try to get it to work
Wayne Davison [Sun, 20 Feb 2005 16:27:10 +0000 (16:27 +0000)]
Improved the testuser-setting code to try to get it to work
under solaris.

19 years agoIf --delay-updates is specified with --remove-sent-files, delay
Wayne Davison [Sun, 20 Feb 2005 02:54:30 +0000 (02:54 +0000)]
If --delay-updates is specified with --remove-sent-files, delay
the MSG_SUCCESS messages until we actually move the files into
place at the end.

19 years agoCorrected "log format" info and added info on --remove-sent-files.
Wayne Davison [Sun, 20 Feb 2005 02:45:10 +0000 (02:45 +0000)]
Corrected "log format" info and added info on --remove-sent-files.

19 years agoA small twiddle.
Wayne Davison [Sun, 20 Feb 2005 01:14:27 +0000 (01:14 +0000)]
A small twiddle.

19 years ago- For every file that we send off to the receiver, mark it with
Wayne Davison [Sun, 20 Feb 2005 01:04:54 +0000 (01:04 +0000)]
- For every file that we send off to the receiver, mark it with
  FLAG_SENT.
- Added successful_send(), which is called when MSG_SUCCESS was
  received from the receiver/generator side.  This function
  validates the message, and removes the indicated file/symlink
  (assuming that remove_sent_files was actually set).

19 years agoIf --remove-sent-files was specified and we successfully updated a
Wayne Davison [Sun, 20 Feb 2005 01:04:51 +0000 (01:04 +0000)]
If --remove-sent-files was specified and we successfully updated a
file, send MSG_SUCCESS to the sender (through the generator).

19 years ago- If --remove-sent-files was specified, abort if we're pulling from
Wayne Davison [Sun, 20 Feb 2005 01:04:49 +0000 (01:04 +0000)]
- If --remove-sent-files was specified, abort if we're pulling from
  a read-only module.
- If need_messages_from_generator is set, make sure that the
  connection between the generator to the sender has multiplexed
  I/O enabled.

19 years agoHandle the new MSG_SUCCESS message for both the generator and the
Wayne Davison [Sun, 20 Feb 2005 01:04:46 +0000 (01:04 +0000)]
Handle the new MSG_SUCCESS message for both the generator and the
sender.

19 years agoIf we update the contents of a symlink and --remove-sent-files
Wayne Davison [Sun, 20 Feb 2005 01:04:43 +0000 (01:04 +0000)]
If we update the contents of a symlink and --remove-sent-files
is enabled, tell the sender about it via MSG_SUCCESS.

19 years ago- Added --remove-sent-files option.
Wayne Davison [Sun, 20 Feb 2005 01:04:40 +0000 (01:04 +0000)]
- Added --remove-sent-files option.
- If a server is refusing "delete" and we're the sender, also refuse
  the --remove-sent-files option.

19 years agoDocument how refusing "delete" affects --remove-sent-files.
Wayne Davison [Sun, 20 Feb 2005 01:04:37 +0000 (01:04 +0000)]
Document how refusing "delete" affects --remove-sent-files.

19 years agoDocument --remove-sent-files.
Wayne Davison [Sun, 20 Feb 2005 01:04:34 +0000 (01:04 +0000)]
Document --remove-sent-files.

19 years agoTest --remove-sent-files.
Wayne Davison [Sun, 20 Feb 2005 01:04:27 +0000 (01:04 +0000)]
Test --remove-sent-files.

19 years agoDisallow --remove-sent-files with a read-only server.
Wayne Davison [Sun, 20 Feb 2005 01:04:12 +0000 (01:04 +0000)]
Disallow --remove-sent-files with a read-only server.

19 years agoGot rid of maybe_DEL_TERSE.
Wayne Davison [Sun, 20 Feb 2005 00:47:15 +0000 (00:47 +0000)]
Got rid of maybe_DEL_TERSE.

19 years agoTweaked some externs.
Wayne Davison [Sun, 20 Feb 2005 00:16:23 +0000 (00:16 +0000)]
Tweaked some externs.

19 years agoTweaked some externs.
Wayne Davison [Sat, 19 Feb 2005 23:42:09 +0000 (23:42 +0000)]
Tweaked some externs.

19 years ago- Needed to use a name buffer in delete_missing() to avoid having
Wayne Davison [Sat, 19 Feb 2005 23:41:52 +0000 (23:41 +0000)]
- Needed to use a name buffer in delete_missing() to avoid having
  a recursive delete reuse our buffer from f_name().
- Moved the backup-handling into delete_file() in rsync.c.
- Moved the --max-delete counting into delete_file() in rsync.c.

19 years agoMade delete_file() backup files it is removing if --backup was specified.
Wayne Davison [Sat, 19 Feb 2005 23:39:47 +0000 (23:39 +0000)]
Made delete_file() backup files it is removing if --backup was specified.

19 years agoMoved deletion_count here so that we honor --max-delete in
Wayne Davison [Sat, 19 Feb 2005 23:24:41 +0000 (23:24 +0000)]
Moved deletion_count here so that we honor --max-delete in
delete_file().

19 years agoIf the server refuses a directory, don't allow any files to be
Wayne Davison [Sat, 19 Feb 2005 23:01:52 +0000 (23:01 +0000)]
If the server refuses a directory, don't allow any files to be
sent to the server inside that directory.

19 years agoChanged a couple log_recv() calls back to log_send().
Wayne Davison [Sat, 19 Feb 2005 22:57:08 +0000 (22:57 +0000)]
Changed a couple log_recv() calls back to log_send().

19 years agoWhen logging PERMS_REPORT messages, send them with the FCLIENT code
Wayne Davison [Sat, 19 Feb 2005 22:16:53 +0000 (22:16 +0000)]
When logging PERMS_REPORT messages, send them with the FCLIENT code
if the daemon has "%i" in its log message (because it already got a
detailed log message from the generator).

19 years ago- Always send the itemized-info bytes on to the receiver. This
Wayne Davison [Sat, 19 Feb 2005 22:16:50 +0000 (22:16 +0000)]
- Always send the itemized-info bytes on to the receiver.  This
  not only ensures that batch files are created consistently for
  push and pull, but allows a daemon to log itemized changes.
- Improved the logging of itemized changes for the daemon.
- Make sure we debug-log our presence in send_files().

19 years ago- Improved the logging of itemized changes for the daemon.
Wayne Davison [Sat, 19 Feb 2005 22:16:47 +0000 (22:16 +0000)]
- Improved the logging of itemized changes for the daemon.
- Make sure we debug-log our presence in recv_files().

19 years agoMake use of new variables (log_format_has_i, log_format_has_o_or_i,
Wayne Davison [Sat, 19 Feb 2005 22:16:45 +0000 (22:16 +0000)]
Make use of new variables (log_format_has_i, log_format_has_o_or_i,
and daemon_log_format_has_i) and the new FCLIENT logging code to
output stats in the best way possible for both the client and the
daemon.

19 years agoThe FCLIENT log code aviods putting the message into the daemon's
Wayne Davison [Sat, 19 Feb 2005 22:16:41 +0000 (22:16 +0000)]
The FCLIENT log code aviods putting the message into the daemon's
log file and instead sends a FINFO message to the client.  This is
used when the daemon wants to log a better message locally than it
is sending to the client.  Improved log_delete() to make use of this
idiom if it needs to log a separate delete message for the daemon
and the client.

19 years ago- Added log_format_has_i.
Wayne Davison [Sat, 19 Feb 2005 22:16:39 +0000 (22:16 +0000)]
- Added log_format_has_i.
- Fixed a problem withe option-refusing code when it refuses the
  daemon options.
- Don't sent --itemize-changes (-i) to the server -- send an
  improved --log-format value instead.

19 years agoWe now set daemon_log_format_has_i and daemon_log_format_has_o_or_i
Wayne Davison [Sat, 19 Feb 2005 22:16:35 +0000 (22:16 +0000)]
We now set daemon_log_format_has_i and daemon_log_format_has_o_or_i
instead of itemize_daemon_changes.

19 years agoNo more need to clear itemize_changes based on protocol_version.
Wayne Davison [Sat, 19 Feb 2005 22:16:33 +0000 (22:16 +0000)]
No more need to clear itemize_changes based on protocol_version.

19 years agoChanged some of the values of the MSG_* defines.
Wayne Davison [Sat, 19 Feb 2005 22:16:31 +0000 (22:16 +0000)]
Changed some of the values of the MSG_* defines.

19 years agoWe now use a regular expression to parse the (restored to its previous
Wayne Davison [Sat, 19 Feb 2005 19:36:54 +0000 (19:36 +0000)]
We now use a regular expression to parse the (restored to its previous
version) default logfile format.  Added parsing for a version of the
default logfile format where %o has been replaced with %i.

19 years agoDecided to leave the "log format" default the same as in
Wayne Davison [Sat, 19 Feb 2005 17:38:51 +0000 (17:38 +0000)]
Decided to leave the "log format" default the same as in
earlier versions.

19 years agoIf the "log format" has a %i in it, set itemize_daemon_changes.
Wayne Davison [Sat, 19 Feb 2005 17:37:40 +0000 (17:37 +0000)]
If the "log format" has a %i in it, set itemize_daemon_changes.

19 years ago- Don't log a delete message to the daemon log in dry-run mode.
Wayne Davison [Sat, 19 Feb 2005 17:23:08 +0000 (17:23 +0000)]
- Don't log a delete message to the daemon log in dry-run mode.
- The daemon's wrote/read log message now uses the terms
  sent/received.

19 years agoDecide whether to log a delete message via the default format by
Wayne Davison [Sat, 19 Feb 2005 03:54:13 +0000 (03:54 +0000)]
Decide whether to log a delete message via the default format by
checking the new log_format_has_o_or_i variable, not itemize_changes.

19 years ago- Set new variable, log_format_has_o_or_i.
Wayne Davison [Sat, 19 Feb 2005 03:54:11 +0000 (03:54 +0000)]
- Set new variable, log_format_has_o_or_i.
- Make sure that -i can't be set w/o an actual %i in the log_format.
- Only need to pass -i to server if we're the sender.
- Only need to pass some --log-format information to the server in
  certain circumstances.

19 years agoRules read in from per-dir merge files need to have non-applicable
Wayne Davison [Sat, 19 Feb 2005 03:12:21 +0000 (03:12 +0000)]
Rules read in from per-dir merge files need to have non-applicable
rules filtered out before the rule gets stored (not in a post-
filtering pass like the rules that are read-in prior to the run).

19 years agoMention the change in the default "log format" daemon-config setting.
Wayne Davison [Sat, 19 Feb 2005 03:03:13 +0000 (03:03 +0000)]
Mention the change in the default "log format" daemon-config setting.

19 years agoLog items that are unchanged if verbose > 1.
Wayne Davison [Sat, 19 Feb 2005 02:39:33 +0000 (02:39 +0000)]
Log items that are unchanged if verbose > 1.

19 years agoNotify the remote side about -i (if either specified or inferred from
Wayne Davison [Sat, 19 Feb 2005 02:39:30 +0000 (02:39 +0000)]
Notify the remote side about -i (if either specified or inferred from
the user's --log-format string) and, if we're not verbose but we're
logging messages, let the server know that --log-format was specified.

19 years ago- Tweaked the letters output by "%i", including adding support for
Wayne Davison [Sat, 19 Feb 2005 02:39:26 +0000 (02:39 +0000)]
- Tweaked the letters output by "%i", including adding support for
  logging a deleted item and an identical item.
- Added log_delete(), a routine that either logs the fact that a
  deletion happened, or sends a MSG_DELETED message to the client
  side (or both if we're a daemon server receiver).

19 years ago- Changed the calling args to delete_file() to take an st_mode instead
Wayne Davison [Sat, 19 Feb 2005 02:39:23 +0000 (02:39 +0000)]
- Changed the calling args to delete_file() to take an st_mode instead
  of a DEL_DIR flag.
- Call log_delete() instead of outputting "deleting ..." messages..
- Log deletions if either verbose or log-format is specified.

19 years ago- Send the itemized data for every file, changed or not, if verbose > 1.
Wayne Davison [Sat, 19 Feb 2005 02:39:21 +0000 (02:39 +0000)]
- Send the itemized data for every file, changed or not, if verbose > 1.
- Don't call set_perms() with PERMS_REPORT if we're itemizing changes.
- Don't call delete_file() with DEL_TERSE if we're itemizing changes.
- Call delete_file() with its new arg.