Commit Graph

  • 3753975f48 Fixed two glitches Paul pointed out. Wayne Davison 2005-03-01 17:28:46 +00:00
  • 2d81114b23 Preparing for release of 2.6.4pre2 v2.6.4pre2 Wayne Davison 2005-03-01 06:22:19 +00:00
  • 472135e0bc Mention the latest changes. Wayne Davison 2005-03-01 06:05:23 +00:00
  • c60b7056b2 A few improvements to the new check_for_hostspec() function. Wayne Davison 2005-03-01 05:49:11 +00:00
  • 42ccb4c091 Made the argv/argc parsing a little nicer. Wayne Davison 2005-03-01 03:39:35 +00:00
  • b31c92edcc - Look for last '@' in a user@host spec. Wayne Davison 2005-03-01 03:39:32 +00:00
  • 08b018304f Removed section on parsing IPv6 literal addresses. Wayne Davison 2005-03-01 03:11:28 +00:00
  • d19320fdf6 Changed remote_filesfrom_file to filesfrom_host. Wayne Davison 2005-03-01 03:10:59 +00:00
  • 860236bf90 - Changes needed to handle new filesfrom_host variable. - Changes needed to use check_for_hostspec() in place of find_colon(). Wayne Davison 2005-03-01 01:16:03 +00:00
  • 4d3abf1360 Changes needed to use check_for_hostspec() in place of find_colon(). Wayne Davison 2005-03-01 01:15:59 +00:00
  • 305666bf59 - Changed find_colon() into check_for_hostspec(), extending it to understand the rsync:://HOST:PORT/PATH format, allowing all HOSTs to be IPv6 literal addresses enclosed in '[' and ']', and changing it to return the 3 parts of the spec separately (host, port, and path). - Relocated the code that handles the sanitation and validation of the files_from arg in order to make its placement a little more logical. - Replaced remote_filesfrom_file with filesfrom_host, which makes the value of the files_from variable more intuitive. Wayne Davison 2005-03-01 01:15:57 +00:00
  • b03c719f04 Enhanced the option-parsing failure mode to handle the situation where the parser didn't get a chance to parse the --files-from option yet, but we still need to know it was there in order to get the error message back to the client. Wayne Davison 2005-03-01 00:42:32 +00:00
  • 62f27e3c02 Made a couple sentences about rsync:// syntax clearer. Wayne Davison 2005-02-28 22:04:16 +00:00
  • 4dc67d5e30 Improved a couple sentences. Wayne Davison 2005-02-28 02:16:49 +00:00
  • 8ebdc9724e Say "rsync 2.6.4" instead of "protocol 29". Wayne Davison 2005-02-28 02:16:23 +00:00
  • 9e0582f9bf Tweaked a comment. Wayne Davison 2005-02-28 02:04:42 +00:00
  • 705de51a73 Improved do_lseek()'s failure message. Wayne Davison 2005-02-27 21:12:13 +00:00
  • 1a8e5c97eb Complain if the run-terminating keep-alive packets aren't what we expected. Wayne Davison 2005-02-27 20:50:07 +00:00
  • 55bb7fff14 Don't loop forever when the receiver is waiting around to be killed at EOF -- it should be a rapidly arriving event, so only hang around for 10 seconds, max., and then go ahead and report the "unexpectedly closed" error. Wayne Davison 2005-02-27 18:24:34 +00:00
  • 662bdcd4ac Make sure that allowed_lull will not be computed as 0 if io_timeout is 1. Wayne Davison 2005-02-27 18:09:17 +00:00
  • fef101a548 Improved a couple sentences. Wayne Davison 2005-02-27 18:01:32 +00:00
  • 18a11cfd48 - Made the calls to maybe_send_keepalive() happen at better intervals. - Call do_hard_links() with its new args. Wayne Davison 2005-02-27 09:02:32 +00:00
  • 0f80c3e886 Added 2 args to do_hard_links() so that it can call maybe_send_keepalive(). Wayne Davison 2005-02-27 09:02:29 +00:00
  • f122383179 Mention the backup fix for redone files with --inplace. Wayne Davison 2005-02-27 08:02:06 +00:00
  • e6bc6f4232 We need to turn off make_backups for the redo phase so that the inplace processing doesn't make a second backup. Wayne Davison 2005-02-27 07:50:43 +00:00
  • ac1cb9380d Tweaked an error message. Wayne Davison 2005-02-27 07:34:27 +00:00
  • 40df65fdb4 - Seems to me that sigusr2_handler() should call close_all() for the sake of MS Windows. - Improved some comments. Wayne Davison 2005-02-27 07:33:01 +00:00
  • cb2e1f18c2 One more comment fix. Wayne Davison 2005-02-26 22:14:40 +00:00
  • 0ecd03e396 Fixed comment. Wayne Davison 2005-02-26 22:02:38 +00:00
  • e6f5ac116b Improved a couple sentences. Wayne Davison 2005-02-26 21:48:12 +00:00
  • 051182cb75 Set kluge_around_eof to a -1 for the receiver's needs. Wayne Davison 2005-02-26 20:58:08 +00:00
  • 574c250093 If kluge_around_eof is < 0, we go into an msleep() loop instead of exiting. Wayne Davison 2005-02-26 20:58:05 +00:00
  • 8dad7fc6ea Explicitly set kluge_around_eof to a 1 when it is needed. Wayne Davison 2005-02-26 20:58:01 +00:00
  • b558728875 Added keep-alive checking during the directory-touching loop at the end of the processing. Wayne Davison 2005-02-26 20:43:14 +00:00
  • e777afad6f Set kludge_around_eof when the receiver is trying to read a potential keep-alive message that may never come. Wayne Davison 2005-02-26 20:21:12 +00:00
  • 87703a1b1f Improved the comment for kludge_around_eof. Wayne Davison 2005-02-26 20:21:08 +00:00
  • 981b202661 Added "set -x". Wayne Davison 2005-02-26 19:49:59 +00:00
  • 13725744fd Decided I like "set -x" after all. Wayne Davison 2005-02-26 19:47:43 +00:00
  • 363c3ece3a Don't allow keep-alive sending if --read-batch is enabled. Wayne Davison 2005-02-26 19:37:49 +00:00
  • 47780ddfef Mention the new keep-alive handling and the devices-size fix. Wayne Davison 2005-02-26 19:17:06 +00:00
  • 251f22b5d7 Fixed a line-ordering problem. Wayne Davison 2005-02-26 19:11:57 +00:00
  • 4e0fcd85ae Handle keep-alive messages at the end of the transfer when --delete-after is happening. Wayne Davison 2005-02-26 18:57:57 +00:00
  • 59faec8b8b - Moved all the file-deletion code here from flist.c and receiver.c. - Call maybe_send_keepalive() from delete_in_dir() so that a really long delete-pass won't timeout. - Renamed delete_files() -> do_delete_pass(). - Renamed delete_file() -> delete_item(). - Call get_dirlist() with its new arg. Wayne Davison 2005-02-26 18:03:49 +00:00
  • 32cbfe7b17 - Moved file-deletion code into generator.c. - Made filesystem_dev a global that the generator can set during its delete pass. - Fixed an off-by-one boundary check in send_directory(). - Added an arg to get_dirlist() so that delete_in_dir() can call it efficiently. Wayne Davison 2005-02-26 18:03:46 +00:00
  • f08ca43472 Moved the delete-after support into generator.c. Wayne Davison 2005-02-26 18:03:42 +00:00
  • 8eb6cf784b Moved the delete-before support into generator.c. Wayne Davison 2005-02-26 18:03:40 +00:00
  • 7433d73adc - Moved the initialization of "itemizing", "maybe_PERMS_REPORT", and "code" from recv_generator() to generate_files() so that they don't get recomputed for every file (we pass them as args now). - Allow protocols < 29 to call maybe_send_keepalive() so that we can try to flush the output buffer if things are slow (though we can't send a keep-alive packet without protocol_version >= 29). Wayne Davison 2005-02-26 06:52:55 +00:00
  • 3221f451a0 Calling maybe_send_keepalive() for protocol_version < 29 is now supported, though we can only try to flush the output buffer if we're in a lull. Wayne Davison 2005-02-26 06:43:15 +00:00
  • 9e4536748d - Moved the description of '%i's output into the rsync manpage. - A few minor tweaks to the "log format" setting. Wayne Davison 2005-02-26 05:18:03 +00:00
  • ea67c71505 - We now mention what "%i" outputs under --itemize-changes. - Improved the description of --log-format. Wayne Davison 2005-02-26 05:16:26 +00:00
  • ea38b5af72 Mention the change in when --log-format outputs and how it interacts with --verbose. Wayne Davison 2005-02-26 05:11:46 +00:00
  • 89d19eedef Call log_delete() from delete_file() anytime that DEL_TERSE is not set (we used to only call if verbose or log_format were also set). Wayne Davison 2005-02-26 04:50:55 +00:00
  • 41b5b5e756 The log_delete() function may now be called even when the client is not getting delete messages, which ensures that the daemon's log- file output includes all deletions when per-file logging is enabled. Wayne Davison 2005-02-26 04:49:30 +00:00
  • a3e1363aaa Make sure that our protocol-28 compatibility is OK. Wayne Davison 2005-02-26 03:22:05 +00:00
  • 2217b30adf Fixed a problem sending include rules to an older rsync. Wayne Davison 2005-02-26 02:56:30 +00:00
  • 9ac2395bf0 - Call maybe_send_keepalive() if timeouts are enabled. - Use the new ignore_timeout variable. Wayne Davison 2005-02-25 22:01:36 +00:00
  • 9e2409ab22 - 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(). Wayne Davison 2005-02-25 21:58:13 +00:00
  • 8e6cf5d189 Accept the new keep-alive (no-op) packet. Wayne Davison 2005-02-25 21:56:00 +00:00
  • d17190df44 Don't add st_size from a device to stats.total_size. Wayne Davison 2005-02-25 20:28:27 +00:00
  • fbe5eeb831 Mention how --backup sometimes implies --omit-dir-times. Wayne Davison 2005-02-25 17:10:48 +00:00
  • ed9d969c4c Use the new am_starting_up value in who_am_i(). Wayne Davison 2005-02-25 17:08:57 +00:00
  • 7f2a1f651e 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. Wayne Davison 2005-02-25 17:08:31 +00:00
  • bbbb44ee0f Fixed some typos. Wayne Davison 2005-02-25 02:30:38 +00:00
  • 29fbd1eea6 Preparing for release of 2.6.4pre1 v2.6.4pre1 Wayne Davison 2005-02-23 03:22:53 +00:00
  • 33f839b319 Tweaked an entry. Wayne Davison 2005-02-23 03:17:11 +00:00
  • bc83274ad6 - 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. Wayne Davison 2005-02-23 02:56:42 +00:00
  • 38e3910b6f One more tweak to the need_name_pipe logic. Wayne Davison 2005-02-23 02:14:00 +00:00
  • c26c51a7ee Commenting out link-dest test for now. Wayne Davison 2005-02-23 02:13:33 +00:00
  • e9973668a4 Got rid of --copy-dest references. Wayne Davison 2005-02-23 02:07:09 +00:00
  • 4104c3bf52 Changed --copy-dest to --link-dest. Wayne Davison 2005-02-23 02:06:33 +00:00
  • b7c2481933 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). Wayne Davison 2005-02-23 02:05:34 +00:00
  • cfb691ac9a Fixed a problem with the last change. Wayne Davison 2005-02-22 22:13:04 +00:00
  • cb8240a291 We need the name-pipe for --inplace these days. Wayne Davison 2005-02-22 22:13:02 +00:00
  • 352963ddc3 Always set the SID_USING_ALT_BASIS appropriately for the transfer, even if --inplace wasn't specified. Wayne Davison 2005-02-22 22:12:59 +00:00
  • 8c57732324 More cleanups. Wayne Davison 2005-02-22 21:56:32 +00:00
  • 8a33c406b3 Trying to fix bug #2357. Wayne Davison 2005-02-22 21:48:10 +00:00
  • 340bd68f59 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). Wayne Davison 2005-02-22 21:43:59 +00:00
  • 8237f9305b 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). Wayne Davison 2005-02-22 21:43:57 +00:00
  • 5b1c1eefda Added ITEM_USING_ALT_BASIS. Wayne Davison 2005-02-22 21:43:54 +00:00
  • 6258626751 Document an alternate way to achieve the effect of this script through the use of awk and the more powerful --filter option. Wayne Davison 2005-02-22 21:24:24 +00:00
  • 87fd439059 When preforming a recursive delete, push/pop the per-dir merge rules. Wayne Davison 2005-02-22 20:42:55 +00:00
  • 564ef546a9 Sort the dir-list returned by get_dirlist() and the dir-list that delete_in_dir() generates. Wayne Davison 2005-02-22 03:37:18 +00:00
  • 94dcbf8367 - 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). Wayne Davison 2005-02-22 03:16:41 +00:00
  • 1bad11c759 Only rename a directory with the backup suffix if we're removing it to replace it with a file of the same name. Wayne Davison 2005-02-22 01:59:15 +00:00
  • ba679d5194 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. Wayne Davison 2005-02-22 01:57:58 +00:00
  • e1ad7fe63d 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. Wayne Davison 2005-02-22 00:42:12 +00:00
  • f18d87b6ed Added function check for vasprintf. Wayne Davison 2005-02-21 18:58:09 +00:00
  • a6c15e9a38 - 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. Wayne Davison 2005-02-21 17:08:09 +00:00
  • 64bba1465b Check SIZEOF_LONG_LONG instead of HAVE_LONG_LONG. Wayne Davison 2005-02-21 17:02:53 +00:00
  • 638e106568 - 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. Wayne Davison 2005-02-21 10:50:32 +00:00
  • 34e18ecd61 - Moved delete_file() here from rsync.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. Wayne Davison 2005-02-21 10:50:30 +00:00
  • d4021b6d9b - 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. Wayne Davison 2005-02-21 10:03:23 +00:00
  • 40b1393880 Pass the file-diffing flag as an arg to checkit. Wayne Davison 2005-02-21 07:27:28 +00:00
  • 30688bf11b If checkit is passed a 4th arg, skip the file-diffing step. This is used by the devices.test script. Wayne Davison 2005-02-21 07:26:59 +00:00
  • a7d7a805dc Touch $tmpdir/do_not_diff_the_files so that checkit does not try to diff the devices against each other. Wayne Davison 2005-02-21 07:19:11 +00:00
  • 4a239e98f6 Reposition log_open() and log_close(). Wayne Davison 2005-02-21 00:38:15 +00:00
  • 7b97c38898 Mention two more things. Wayne Davison 2005-02-21 00:32:04 +00:00
  • 1f35babc6b - For win32: made --no-detach the default for daemon mode. - Added --detach (a --daemon option). Wayne Davison 2005-02-21 00:31:31 +00:00
  • 80ffc3de12 Updated to remove completed items and add a little more info for other items. Wayne Davison 2005-02-21 00:17:10 +00:00
  • 507b61d5a6 Some minor tweaks. Wayne Davison 2005-02-21 00:16:36 +00:00