Commit Graph

  • cd36049cd1 Combine one of the backup tests with --delete-after. Wayne Davison 2005-04-07 09:09:17 +00:00
  • c2523a0541 Don't call maybe_flush_socket() quite so often. Wayne Davison 2005-04-07 08:32:32 +00:00
  • 92739a0aa7 Mention the latest changes. Wayne Davison 2005-04-07 08:28:06 +00:00
  • cd908ef4ff Fix a bug with --delete-after combined with --backup. Wayne Davison 2005-04-07 08:13:44 +00:00
  • ebd33e0cea Use the new HAVE_LSEEK64 define. Wayne Davison 2005-04-06 02:08:21 +00:00
  • 5f2c5bf110 Added skipping of mkstemp() on HP-UX. Wayne Davison 2005-04-06 02:07:21 +00:00
  • 417099fa20 Periodically call maybe_flush_socket(). Wayne Davison 2005-04-05 20:08:51 +00:00
  • 626bec8e84 - Added maybe_flush_socket() for use by the generator. - Always maintain the last_io value for the generator. Wayne Davison 2005-04-05 20:07:42 +00:00
  • a06e2b7cab When doing a delete pass with do_progress output, get rid of the temporary output (it used to always be covered up by output in older versions, but it might be followed by a newline in newer versions). Wayne Davison 2005-04-05 19:51:13 +00:00
  • 3ae5367ff2 Document the use of --address in client mode. Wayne Davison 2005-04-05 06:00:17 +00:00
  • b4ef0bca47 Allows --address to be used in client mode. Wayne Davison 2005-04-05 05:59:49 +00:00
  • 4313d6f9c0 Changed the bind_address local variables to be named bind_addr in order to avoid confusion with the bind_address global. Wayne Davison 2005-04-05 05:52:49 +00:00
  • 2a0dd9bd70 Make sure that the line buffer in readfd_unbuffered() is large enough to handle long-filename messages on a system that has a really short MAXPATHLEN value. Also, make it large enough to be able to comment on a MAXPATHLEN filename. Wayne Davison 2005-04-04 17:27:56 +00:00
  • 3eeac9bc7e In writefd_unbuffered(), make sure that we don't look at the r_fds variable when we're ignoring msg_fd_in. Wayne Davison 2005-04-04 00:48:39 +00:00
  • 67de72bd9b Mention fix for --compare-dest. Wayne Davison 2005-04-01 18:18:17 +00:00
  • 552a218468 Make a local-copy caused by a not-quite-up-to-date --compare-dest or --link-dest file be output as a 'c' (local change) when itemizing or as transfered file when not itemizing. Wayne Davison 2005-04-01 18:12:22 +00:00
  • d940151496 - Conditionally include <locale.h>. - Conditionally call setlocale(LC_CTYPE, ""). Wayne Davison 2005-04-01 17:25:37 +00:00
  • f5c7f4abe7 - Changed version to 2.6.5cvs. - Look for setlocale(), locale.h, and honor --disable-locale. Wayne Davison 2005-04-01 17:25:34 +00:00
  • 3ae6c1875d Starting the 2.6.5 news. Wayne Davison 2005-04-01 17:25:28 +00:00
  • 1ad6a7f611 Moved the 2.6.4 news here. Wayne Davison 2005-04-01 17:25:26 +00:00
  • 89d26123ff Changed safe_fname() to output \### (octal) to escape non-printable characters (not ?) and \\ to escape \ itself. Wayne Davison 2005-04-01 16:48:54 +00:00
  • 46bffd98cb Fix the setting of module_dirlen for a module path of "/". This fixes a crash in the exclude code when chroot is off. Wayne Davison 2005-04-01 00:18:40 +00:00
  • 41b84ce012 Don't try to tweak read-only dest-dir permissions in list-only mode. Wayne Davison 2005-03-31 23:30:03 +00:00
  • de392f1e5c Preparing for release of 2.6.4 v2.6.4 Wayne Davison 2005-03-31 03:14:34 +00:00
  • 0455cd933d - Made the handling of adjacent percents (e.g. "%%b") work like it did in older versions. - Added a comment for log_format_has(). Wayne Davison 2005-03-31 03:01:26 +00:00
  • d9c0051fae In log_formatted(), add the newline to the format string so that we can call rwrite() instead of rprintf(). Wayne Davison 2005-03-31 01:09:18 +00:00
  • 126e7affb7 Enabled width-sizing for %L. Wayne Davison 2005-03-31 00:50:58 +00:00
  • 624d6be2a5 Use new log_format_has() function instead of strstr(). Wayne Davison 2005-03-31 00:21:15 +00:00
  • 16f960feb5 Added log_format_has(). Wayne Davison 2005-03-31 00:19:13 +00:00
  • e145d51ba6 Make sure that we can't scan past the end of the format string. Wayne Davison 2005-03-30 23:39:00 +00:00
  • dcbae65444 Optimized '%f' a little more. Wayne Davison 2005-03-30 20:41:11 +00:00
  • b4bf2b5a7e Allow %i to have a field width. Wayne Davison 2005-03-30 20:18:48 +00:00
  • 9baed7609c - Allow the infix field width to start with a '-'. - Apply the field width to all escapes, not just numeric ones. Wayne Davison 2005-03-30 19:44:29 +00:00
  • 1c2efa1706 Mention the numeric field width now possible in the % escapes. Wayne Davison 2005-03-30 19:41:51 +00:00
  • 80a24d52d4 Mention that the % escapes can now have a numeric infix. Wayne Davison 2005-03-30 19:39:11 +00:00
  • af9f56a09d dropped the "const" from the return value of safe_fname() because some callers would like to manipulate the string in the buffer. Wayne Davison 2005-03-30 19:34:20 +00:00
  • ddd74b67be Allow the escapes in the log-format string to contain a numeric field width (e.g. %8l %07p). Wayne Davison 2005-03-30 18:27:09 +00:00
  • 7b558d7f8b Fixed a comment. Wayne Davison 2005-03-30 17:31:35 +00:00
  • c87ae64a82 Moved a call to output_summary() up a line. Wayne Davison 2005-03-30 16:55:11 +00:00
  • b9f0ca7274 Tweaked a couple sentences. Wayne Davison 2005-03-30 16:51:33 +00:00
  • c1759b9fa2 Changed %i to output '>' for a local copy. Wayne Davison 2005-03-30 16:35:01 +00:00
  • 9c63d83d3d Got rid of a useless extern. Wayne Davison 2005-03-30 16:33:41 +00:00
  • 1ed91a04fe - Fixed a potential crash if the receiver couldn't open the basis file and the sender (possibly via a batch) tells us to use basis data. - Enhanced the batched-update skipping message to indicate what phase is being skipped. Wayne Davison 2005-03-29 22:05:33 +00:00
  • 154cdaaa40 - Warn about missing batched updates the generator wants but the batch doesn't have. - Tweaked the "skipping ..." message that is output for already- applied batched updates. Wayne Davison 2005-03-29 19:49:40 +00:00
  • 33c4b445ef Split report() into handle_stats() and output_report() so that (1) the report happens after all --delete-after activity has ceased when pulling, and (2) a batch-file created when pushing gets the stats values written out prior to any end-of-run keep-alive packets. Wayne Davison 2005-03-29 11:11:35 +00:00
  • 53135fe89a Changed maybe_emit_filelist_progress() and emit_filelist_progress() to take an integer count instead of a struct file_list so that we can pass in a file-list-count offset for delete's separate calls to send_directory(). Wayne Davison 2005-03-29 10:57:31 +00:00
  • 083acd496d Turn off do_progress during the file-update phase so that --delete-during and --fuzzy don't get any superfluous " N files..." lines output in the middle of the processing. Wayne Davison 2005-03-29 10:41:26 +00:00
  • 00348fd793 Preparing for release of 2.6.4pre4 v2.6.4pre4 Wayne Davison 2005-03-29 06:18:24 +00:00
  • ddb6fc696b Improved several items and preparing for final 2.6.4 release. Wayne Davison 2005-03-29 06:15:47 +00:00
  • f7e48a5cb8 Add data for 2.6.4. Wayne Davison 2005-03-29 06:15:08 +00:00
  • 70352269ba If --delay-updates wasn't specified, write out two -1 indexes at the same time to avoid a useless round-trip delay for an empty delay-updates phase. Wayne Davison 2005-03-29 01:04:20 +00:00
  • 0b94147928 Added --protocol and made some batch-file improvements. Wayne Davison 2005-03-28 20:54:06 +00:00
  • da9f59264f Added --protocol to --help output. Wayne Davison 2005-03-28 20:40:25 +00:00
  • 96b7b48efa Some temporary code for 2.6.4pre3 compatibility (which can be safely removed for the next release). Wayne Davison 2005-03-28 17:29:27 +00:00
  • aea4bf2894 Chaging ITEM_UNUSED back to ITEM_DUMMY_BIT for now -- we'll need to get rid of it later on. Wayne Davison 2005-03-28 17:08:47 +00:00
  • 855ef72f3f Changed ITEM_DUMMY_BIT to ITEM_UNUSED. Wayne Davison 2005-03-27 05:58:40 +00:00
  • 98dc857b32 Got rid of temporary code that detected and rejected older 2.6.4 pre-release versions. Wayne Davison 2005-03-27 05:58:38 +00:00
  • 94af17a6eb Got rid of temporary code that set the ITEM_DUMMY_BIT. Wayne Davison 2005-03-27 05:58:36 +00:00
  • 00fd35482e --compress is now saved in a batch's option-state flags. Wayne Davison 2005-03-27 05:49:24 +00:00
  • cc3e0770bc Decided that the '<' and '>' output in the %i format were the opposite of what they should be. Wayne Davison 2005-03-27 05:32:36 +00:00
  • e7f7064cc5 - Fixed a bug in the saving of the --dirs option's state. - Added the saving of the --compress option's state. - Deal with the xfer_dirs var in a better way for pre-29 batches. Wayne Davison 2005-03-27 05:02:49 +00:00
  • 7b759fe0df Mention that --dry-run no longer conflicts with the batch options. Wayne Davison 2005-03-25 16:45:58 +00:00
  • 254ee3baab - Don't complain if --dry-run is specified with --read-batch or --write-batch. - If --write-batch is combined with --dry-run, just disable --write-batch (that avoids trying to create a batch file and tells the user what would be transferred). Wayne Davison 2005-03-24 16:41:16 +00:00
  • f957e8fdf9 If --dry-run is enabled with --read-batch, we must discard the transfer data. Wayne Davison 2005-03-24 16:38:34 +00:00
  • 822012eea9 List /etc instead of /, but only if it exists and is readable. Wayne Davison 2005-03-23 16:04:17 +00:00
  • bb21ecac5b Mention when we run fakeroot. Wayne Davison 2005-03-18 02:10:34 +00:00
  • 648859bda2 If we're not root and the "fakeroot" command is available, use it to re-run the script while pretending to be root. Wayne Davison 2005-03-18 02:07:25 +00:00
  • f328e0f3a8 Set a maximum distance-measure that find_fuzzy() will accept. Wayne Davison 2005-03-17 08:59:48 +00:00
  • 6012eaa183 Fixed a problem with the stripping of the .bak/.old/.orig suffixes in find_filename_suffix(). Wayne Davison 2005-03-17 08:45:36 +00:00
  • da2a6c1f1c Fixed the -r kluge sent for pre-2.6.4 --list-only support. Wayne Davison 2005-03-17 00:52:33 +00:00
  • 0438f100ae We need to run our post-processing activities after the end of the receiver's delay-update processing. Wayne Davison 2005-03-17 00:41:18 +00:00
  • b95ad9ac55 Mention one other recent change. Wayne Davison 2005-03-16 02:50:00 +00:00
  • 828a256123 Preparing for release of 2.6.4pre3 v2.6.4pre3 Wayne Davison 2005-03-16 01:12:44 +00:00
  • ebf447ac81 Changed error message for incompatible 2.6.4 pre-release versions. Wayne Davison 2005-03-16 01:06:33 +00:00
  • 124f349ea1 Document error messages 6 and 25. Wayne Davison 2005-03-15 23:23:45 +00:00
  • 26718401fb Added the error message for RERR_LOG_FAILURE and used it when the daemon can't open the log-file. Wayne Davison 2005-03-15 23:23:41 +00:00
  • f463e20753 Added RERR_LOG_FAILURE define. Wayne Davison 2005-03-15 23:23:39 +00:00
  • 1129070514 - Made read_item_attrs() detect and reject a pre1/pre2 rsync (used by both the sender and the receiver). - Added an extra phase to the end of the transfer to better handle delayed updates that have hard links. Wayne Davison 2005-03-15 19:19:44 +00:00
  • ac3f7b81f8 Added an extra phase to the end of the transfer to handle delayed updates that have hard links. Wayne Davison 2005-03-15 19:19:41 +00:00
  • 62f9573fb3 - Added an extra phase to the end of the transfer to better handle delayed updates that have hard links. - Send the new ITEM_DUMMY_BIT to the sender so that we can figure out if the other side is pre1 or pre2 and let the receiver reject it. Wayne Davison 2005-03-15 19:19:38 +00:00
  • 6d0e5d2e62 Added ITEM_DUMMY_BIT and moved a few other 'ITEM_*'s around. Wayne Davison 2005-03-15 19:19:36 +00:00
  • 8b48bf1154 Tweaked the end-of-phase code. Wayne Davison 2005-03-15 17:30:56 +00:00
  • 42be53201f Handle --delay-updates at the end of the first phase. Wayne Davison 2005-03-15 17:30:52 +00:00
  • c7791b8cb2 Mention the index number for an "invalid packet at end of run". Wayne Davison 2005-03-15 17:30:50 +00:00
  • 7e9059d60f Fixed a just-introduced crash bug in the --fuzzy processing. Wayne Davison 2005-03-14 22:22:42 +00:00
  • f3ebe1a77e A simple test to ensure that fuzzy processing is working. Wayne Davison 2005-03-14 22:17:25 +00:00
  • 301fb56ce9 Split the conditional-directory sending out of send_file_name() into a new function: send_if_directory(). This lets the code that is recursively descending through the directories make its list of a dir's contents and close the DIR handle before recursing into the subdirs. Also, the "recurse" var is just true/false once again. Wayne Davison 2005-03-14 17:30:15 +00:00
  • aa7a6e878b The "recurse" value is back to being just 1 or 0 (true or false). Wayne Davison 2005-03-14 17:30:13 +00:00
  • 0a39837a62 Got rid of "fudged_recurse". Wayne Davison 2005-03-14 17:30:10 +00:00
  • b2e8a9b293 Got rid of an unused extern. Wayne Davison 2005-03-14 17:06:08 +00:00
  • a98ad81760 Got rid of some code in f_name_cmp() that tried to make all the dirname pointers to equivalent strings have identical pointers. Wayne Davison 2005-03-14 03:36:56 +00:00
  • ccc51c8331 The --fuzzy code now handles a file->dirname that has an identical string as another file without being an identical pointer. Wayne Davison 2005-03-14 03:35:40 +00:00
  • ee171c6da9 Document the latest %i output. Wayne Davison 2005-03-13 05:36:13 +00:00
  • d5609e969d Output a '*' at the start of the %i string when deleting. Wayne Davison 2005-03-13 05:35:49 +00:00
  • 927c806841 - Improved a couple error messages. - Improved a function name. Wayne Davison 2005-03-13 05:34:00 +00:00
  • 2da9dda1c0 Some misc. improvements (I hope). Wayne Davison 2005-03-12 23:54:05 +00:00
  • 3117bc16a5 Improved two sentences. Wayne Davison 2005-03-12 23:52:18 +00:00
  • 717b04306a Tweaked the name of a variable. Wayne Davison 2005-03-12 23:52:08 +00:00
  • 271220c542 Mention --copy-dest. Wayne Davison 2005-03-11 19:23:09 +00:00
  • 566a874141 Re-enabled the --copy-dest part of the test. Wayne Davison 2005-03-11 17:36:05 +00:00