Commit Graph

  • 0ee32c62d3 Improved a couple sentences. Wayne Davison 2006-01-13 21:10:11 +00:00
  • 70e98a4348 Changed RSYNC_ARGn to RSYNC_ARG#. Wayne Davison 2006-01-12 19:35:54 +00:00
  • fddf529df9 Mention the new RSYNC_ARGn environment variables for pre-xfer exec. Wayne Davison 2006-01-12 19:24:25 +00:00
  • 141c62659e We now send all the option args to the pre-exec command. Wayne Davison 2006-01-12 19:15:31 +00:00
  • 61e16468f0 We need to call clearerr() when getc() returns EOF with errno == EINTR. Wayne Davison 2006-01-06 22:20:07 +00:00
  • b74b3d538e + Changed two buffers to use BIGPATHBUFLEN instead of MAXPATHLEN+512. + Changed a strncpy() call into a (more appropriate) memcpy() call. + Made the ellipsis[] string static because some older compilers may not like the dynamic initialization of a character string. + Expanded some 1-line "case ... break;" statements onto separate lines. Wayne Davison 2006-01-05 02:29:16 +00:00
  • d3db3eef1b Document the new "dir/***" feature. Wayne Davison 2006-01-02 17:46:32 +00:00
  • 90d5b12e72 Added a test for the new "dir/***" feature. Wayne Davison 2006-01-02 17:46:27 +00:00
  • 955a3a3ded We now test all the patterns using both a normal wildtest run and a wildtest run with various -x and -e options. Wayne Davison 2006-01-02 17:46:24 +00:00
  • aec75b037b Added -x and -e options, which are used to exercise wildmatch_array(). Wayne Davison 2006-01-02 17:46:21 +00:00
  • e5daa2731a We use the new wildmatch_array() and litmatch_array() functions to make our include/exclude code easier to read and maintain, and to eliminate a buffer copy when handling an absolute-path pattern (which eliminated the full_name[] buffer). Also added handling for the new MATCHFLG_WILD3_SUFFIX define that allows a string that ends with "dir/***" to match the "dir" as well as its contents. Wayne Davison 2006-01-02 17:46:18 +00:00
  • 390621a7ab Added a new function, wildmatch_array(), that lets the caller pass the text-string as an array of strings (with a terminating NULL pointer at the end). Also added litmatch_array(), which does a literal match (no wildcards or special chars) against an array of strings. Wayne Davison 2006-01-02 17:46:15 +00:00
  • 478bb47c40 The latest prototypes. Wayne Davison 2006-01-02 17:46:12 +00:00
  • 685517abd1 Added MATCHFLG_WILD3_SUFFIX define, shuffling a few others to put it in a nice spot. Wayne Davison 2006-01-02 17:46:09 +00:00
  • 515afe7cf1 Mention dont-compress fix. Wayne Davison 2005-12-30 07:24:17 +00:00
  • ec497df1a0 Optimized set_compression() to remove the per-file strdup(), strlower(), and free() calls (it now uses iwildmatch()). Wayne Davison 2005-12-30 07:19:16 +00:00
  • 8e74463643 - Added a new public function, iwildmatch(), which will treat all upper-case letters in the "text" as lower-case. - Renamed variable "ch" -> "p_ch" and "prev" -> "prev_ch". - Added variable "t_ch" to hold the current *text value. - Return ABORT_ALL if we reach the end of the text string with more pattern to match. Wayne Davison 2005-12-30 07:12:48 +00:00
  • 933d1dfd0f Added a prototype for iwildmatch(). Wayne Davison 2005-12-30 07:09:34 +00:00
  • 0fe987e226 Fixed a bug in set_compression() where the default dont-compress patterns (e.g. *.gz) would not match a pathname containing a slash. Wayne Davison 2005-12-30 06:03:40 +00:00
  • 770de8994e - Renamed match_start -> anchored_match. - Twiddled one comment and added another. - Twiddled the placement of two else statements. Wayne Davison 2005-12-24 08:00:12 +00:00
  • 37cf7b4191 Improved the usage info in the opening comment. Wayne Davison 2005-12-19 16:57:55 +00:00
  • 1a3ef40da9 A few extra directory-style matching tests. Wayne Davison 2005-12-19 02:30:59 +00:00
  • 0314302e9c Added an anchored exclude to a filter file. Wayne Davison 2005-12-19 02:23:57 +00:00
  • 9639c71842 + Put --existing back in the main option summary. + Improved the discussion of wildcard characters. Wayne Davison 2005-12-19 02:18:16 +00:00
  • d2da915cd0 Made --existing the main option, with --ignore-non-existing as its alias. Wayne Davison 2005-12-19 01:59:00 +00:00
  • e725abcf4e Added a comment, improved a comment, tweaked the recursive function's name, tweaked the arg names to wildmatch(), and tweaked the style of the "else" statements when they follow a brace. Wayne Davison 2005-12-18 19:40:50 +00:00
  • de01941274 Tweaked the name of the first arg to wildmatch(). Wayne Davison 2005-12-18 19:38:47 +00:00
  • d802ea54da Fixed one config-file reference that was misspelled. Wayne Davison 2005-12-18 15:48:00 +00:00
  • c81a20fb7a Tweaked the debug output for cvs_filter_list and server_filter_list. Wayne Davison 2005-12-17 21:03:25 +00:00
  • 6bf32edb8c Return RERR_SIGNAL1 from sigusr1_handler(). Wayne Davison 2005-12-16 23:48:34 +00:00
  • 4a50a2176e Added RERR_SIGNAL1's message and tweaked ERR_SIGNAL. Wayne Davison 2005-12-16 23:48:31 +00:00
  • 9e90555fd1 Added RERR_SIGNAL1 to separate SIGUSR1 from the rest of the signals that return RERR_SIGNAL. Wayne Davison 2005-12-16 23:48:28 +00:00
  • 2067ec7342 Mentioned the auto-protect rule for --backup. Wayne Davison 2005-12-16 17:20:22 +00:00
  • c2c5682c0b If the user specifies --backup with --delete (but without --backup-dir and --delete-excluded), append a protect-filter rule onto the list of filter rules. We run this on both the client and server side so that an older client talking to a newer server still gets the protection rule. (This rule will not cause compatibility problems with older versions of rsync due to the graceful way that a protect rule turns into an exclude rule if it needs to be sent to an older server.) Wayne Davison 2005-12-16 17:18:29 +00:00
  • 4c72f27dd9 Document the new auto-added protect filter-rule when using --backup with --delete (but without --backup-dir and --delete-excluded). Wayne Davison 2005-12-16 17:18:26 +00:00
  • 36d8d1a626 - Added a comment about configure figuring out the default user and group to use in daemon mode. - Belatedly updated the version of popt that comes with rsync. - Updated the Mac OS X info. Wayne Davison 2005-12-16 16:57:26 +00:00
  • 3447d61048 Fixed a bug in the hard-linking of a group of fifos/devices in a transfer where the leader got hard-linked to a --link-dest item. Wayne Davison 2005-12-16 04:02:54 +00:00
  • a3887c2644 Improved the RERR_SIGNAL message to include all possible signals. Wayne Davison 2005-12-16 00:18:41 +00:00
  • 8a1f3153b9 Mention the improvements in the comare-dest/link-dest/copy-dest handling. Wayne Davison 2005-12-15 23:00:23 +00:00
  • 165dd4a636 Improved the tests we run to test more output variations and to work with the new way link-dest handles symlinks. Wayne Davison 2005-12-15 23:00:05 +00:00
  • 541b23d144 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. Wayne Davison 2005-12-15 23:00:02 +00:00
  • 7987ece7cc The ITEM_NO_DEST_AND_NO_UPDATE define is no longer needed. Wayne Davison 2005-12-15 22:59:59 +00:00
  • 48224e4c43 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). Wayne Davison 2005-12-15 22:59:56 +00:00
  • 6d4ecad122 - Eliminate an all-dot itemization for a locally-copied file. - Got rid of some redundant output in maybe_log_item(). Wayne Davison 2005-12-15 22:59:53 +00:00
  • 1578919c37 Improved an old bullet point. Wayne Davison 2005-12-15 21:23:44 +00:00
  • 10a1d6b4a0 Use AC_SEARCH_LIBS() instead of AC_CHECK_LIB() to figure out if we need to include libresolv or not. Wayne Davison 2005-12-14 22:54:54 +00:00
  • 2b7e12924d Mention that the MD4 password protection is weaker than previously thought. Wayne Davison 2005-12-14 22:14:26 +00:00
  • 82f0c63e8a Parse single- and double-quotes in the --rsh/-e option (and RSYNC_RSH). Wayne Davison 2005-12-14 22:00:01 +00:00
  • 5d9530fe47 Mention new quote-parsing for the --rsh/-e and RSYNC_RSH handling. Wayne Davison 2005-12-14 21:59:11 +00:00
  • 37f35d89d1 Made msg_list_push() static and renamed it to msg_list_flush(). Wayne Davison 2005-12-08 21:19:22 +00:00
  • 08c88178aa Tweaked the msg_list code so that the head and tail pointers are contained by a structure. Wayne Davison 2005-12-08 21:01:38 +00:00
  • 0fb2fc4a1d Fixed a typo in a comment. Wayne Davison 2005-12-08 16:12:25 +00:00
  • da2d13e3ce Improved/fixed some of the entries. Wayne Davison 2005-11-29 15:53:18 +00:00
  • 64318670a8 Improved the description of how --delay-updates chooses it's dir. Wayne Davison 2005-11-16 16:12:04 +00:00
  • 3c19f72c16 Made the parsing in parse_size_arg() a little more strict. Wayne Davison 2005-11-15 17:49:59 +00:00
  • 8938d67ef8 Fixed a typo in the --help output for --no-OPTION. Wayne Davison 2005-11-15 07:05:55 +00:00
  • 05724c07cf 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. Wayne Davison 2005-11-15 06:35:27 +00:00
  • 955c3145c3 Document the change in the -h option. Wayne Davison 2005-11-15 06:35:22 +00:00
  • 8ea17b5098 Twiddled some brace positions and removed a superfluous ';' in a macro. Wayne Davison 2005-11-14 21:24:30 +00:00
  • b20fe0e6ac Improved an error message. Wayne Davison 2005-11-13 17:15:00 +00:00
  • 24787acd08 Moved the DEL_* flags into generator.c. Wayne Davison 2005-11-12 20:30:40 +00:00
  • d71dad3bd3 Moved the DEL_* flags from rsync.h here and got rid of DEL_NO_RECURSE. Wayne Davison 2005-11-12 20:30:36 +00:00
  • 889439c205 Mention the latest options. Wayne Davison 2005-11-12 20:08:10 +00:00
  • bee9df73c1 Changed the parsing of suffixes for --min-size and --max-size a little. Wayne Davison 2005-11-12 20:08:00 +00:00
  • 60613dc896 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. Wayne Davison 2005-11-12 19:53:26 +00:00
  • e175fb07f7 Added two new functions: human_num() and human_dnum(), which output numbers in human-readable units if the --human-readable option was specified. Wayne Davison 2005-11-12 19:53:23 +00:00
  • 4a70af6f81 Added the human_readable variable (for linking with util.o). Wayne Davison 2005-11-12 19:53:20 +00:00
  • 8f14cc496b Parse the new --human-readable (-m) option. Wayne Davison 2005-11-12 19:53:17 +00:00
  • 3b4ecc6b80 Document the new --human-readable (-m) option. Wayne Davison 2005-11-12 19:53:12 +00:00
  • a7e60f0c59 Only call cleanup_set() if keep_partial is set. Wayne Davison 2005-11-10 16:57:30 +00:00
  • 3d7cc5710d If cleanup_set() gets passed a NULL fnametmp or fname, set cleanup_fname to NULL. Wayne Davison 2005-11-10 16:56:32 +00:00
  • 86fc7e6880 Got rid of a superfluous newline. Wayne Davison 2005-11-10 16:47:52 +00:00
  • acee11fc60 - Indent the "oom:" label away from column 0. - Got rid of a superfluous newline. Wayne Davison 2005-11-10 16:47:27 +00:00
  • b2e7c91313 Indent the "prepare_to_open:" and "notify_others:" labels away from column 0. Wayne Davison 2005-11-10 16:47:03 +00:00
  • 97b7bff4d6 - Got rid of a superfluous empty line. - Indent the "oom:" and "skip_filters:" labels away from column 0. Wayne Davison 2005-11-10 16:45:00 +00:00
  • e16ca9ef31 Got rid of a superfluous empty line. Wayne Davison 2005-11-10 16:44:06 +00:00
  • b2e6caa01e Indent the "failure:" label away from column 0. Wayne Davison 2005-11-10 16:43:44 +00:00
  • 2997e9f769 Indent the "oom:" label away from column 0. Wayne Davison 2005-11-10 16:42:46 +00:00
  • 2374023982 Mention the big improvement when --delete and --checksum were specified. Wayne Davison 2005-11-10 06:43:10 +00:00
  • 902f03d101 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. Wayne Davison 2005-11-10 06:01:55 +00:00
  • cfe3978049 Use the new checksum_len value instead of recomputing the right value for the current protocol_version over and over. Wayne Davison 2005-11-10 03:07:18 +00:00
  • 7752df41b7 Compute the right checksum length for the current protocol_version only once instead of over and over again. Wayne Davison 2005-11-10 03:00:38 +00:00
  • d8b108c2a1 If a partial-dir file is present but the main file is up-to-date, just remove the partial-dir file. Wayne Davison 2005-11-10 02:56:58 +00:00
  • 184dd27a18 Call delete_in_dir(NULL, NULL, NULL) in do_delete_pass(). Wayne Davison 2005-11-09 19:46:42 +00:00
  • 0e5665d3ab Made recursively deleting extraneous directories more memory efficient by removing the need for a MAXPATHLEN buffer on the stack of delete_item(). Wayne Davison 2005-11-09 19:39:46 +00:00
  • ef3bb69ad8 Mention the new --chmod option. Wayne Davison 2005-11-07 04:47:06 +00:00
  • 45d41d08bd Test the --chmod option. Wayne Davison 2005-11-07 04:28:52 +00:00
  • dd32e2c3d4 Added support for the new --chmod option. Wayne Davison 2005-11-07 04:28:35 +00:00
  • 2b7e0f33a6 Call tweak_mode() on regular files and dirs if --chmod was specified. Wayne Davison 2005-11-07 04:28:32 +00:00
  • 0582cdae8d Added chmod.o to OBJS2. Wayne Davison 2005-11-07 04:28:29 +00:00
  • 9e8ea423e2 Document the new --chmod option. Wayne Davison 2005-11-07 04:28:23 +00:00
  • 0c983c1fd4 New --chmod support routines. Wayne Davison 2005-11-07 04:23:22 +00:00
  • 3381ffa6ea Fixed a sign error in the output. Wayne Davison 2005-11-03 19:55:30 +00:00
  • 3b15340966 Mention the change in the output of --progress. Wayne Davison 2005-11-03 19:46:45 +00:00
  • 91683c434b Make the just-updated file-count status even less cryptic. Wayne Davison 2005-11-03 19:45:59 +00:00
  • 9e7530c414 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. Wayne Davison 2005-11-03 19:38:14 +00:00
  • 8fd30fc43c Got rid of some early-checksum code that accidentally got committed. Wayne Davison 2005-11-02 07:22:02 +00:00
  • b1b04fcdd4 Mention lower stack requiements for recursion. Wayne Davison 2005-11-01 20:13:20 +00:00
  • 56f0c976be 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(). Wayne Davison 2005-11-01 20:09:41 +00:00
  • 9aacb4df0e Fixed a typo pointed out by Peter Strazovec. Wayne Davison 2005-10-30 22:29:59 +00:00