Commit Graph

  • 8bbe41b53b Handle the --chmod option as either the sender or the receiver so that only the client needs to know about --chmod (but if an older version sends the option to the server, we'll still handle it). Wayne Davison 2006-01-21 08:03:18 +00:00
  • ba30fb5c3c For a local rsync, turn off the --chmod option on the receiving side so that only the sending side does the work. Wayne Davison 2006-01-21 07:58:35 +00:00
  • 0938e8eee5 We don't ever need to send the --chmod option to the remote rsync. Wayne Davison 2006-01-21 07:53:40 +00:00
  • 3b17384631 Implemented the -xx behavior that skips mount-point dirs. Wayne Davison 2006-01-21 01:20:03 +00:00
  • 243c995f5f Allow the -x option to be repeated. Wayne Davison 2006-01-21 00:36:15 +00:00
  • 96b87581ff - Changed send_file_entry() into a static function again. - Made send_file_entry() derive the base_flag value from *file. - Added a flags arg to make_file(). - The flag we send to send_file_name() is a FLAG_* value, not an XMIT_* value. Wayne Davison 2006-01-20 21:21:43 +00:00
  • 3de73827d7 Call make_file() with one more arg (the base flags). Wayne Davison 2006-01-20 21:21:36 +00:00
  • 458aeea4a6 Mentioned the addition of -ii. Wayne Davison 2006-01-20 19:33:24 +00:00
  • 14cbb64539 Document the behavior of -ii. Wayne Davison 2006-01-20 18:52:52 +00:00
  • a9e4762634 Handle the extra output needed when log_format_has_i > 1. Wayne Davison 2006-01-20 18:49:38 +00:00
  • 487094a0d7 Allow the --itemize-changes (-i) option to be repeated to indicate that unchanged files should also be itemized. Wayne Davison 2006-01-20 18:49:07 +00:00
  • f608ebb106 Got rid of unused function u_strcmp(). Wayne Davison 2006-01-20 00:14:04 +00:00
  • 87001ac6c2 Improved a sentence. Wayne Davison 2006-01-19 21:21:28 +00:00
  • ede1f0ebc9 The code in send_file_list() needed a little more improvement to handle --relative really well: - We must set "is_dot_dir" when we strip off a trailing "/" or "/.". - If a trailing "/" or "/." caused us to treat a symlink as a dir, we now pass our stat() info down to make_file() so that it will always treat the cleaned-up name as a dir too. - We must not strip a leading "/". - Improved the check for ".." elements in the implied dirs. Wayne Davison 2006-01-19 21:16:44 +00:00
  • b435d7174c Added a new arg to the make_file() call. Wayne Davison 2006-01-19 21:16:40 +00:00
  • 2a59d2cc31 Another bugfix. Wayne Davison 2006-01-19 19:05:49 +00:00
  • b8595e609a In delete_in_dir(), skip a directory that isn't really a directory on the local disk (can easily happen if --dry-run was specified). Wayne Davison 2006-01-19 18:53:48 +00:00
  • d37bc73a48 Mention the changes made in recent checkins. Wayne Davison 2006-01-19 07:34:41 +00:00
  • 1902a7652f When --relative is active, simply trim off trailing slashes and dot dirs. Also, reject a ".." dir if it would be sent as part of the relative path. Wayne Davison 2006-01-19 01:43:10 +00:00
  • 6ab423a5b6 - Fixed the --help and --version output to avoid using embedded newlines (which are no longer allowed in rprint()). - Updated the Copyright info for 2006. Wayne Davison 2006-01-17 04:26:12 +00:00
  • c2be690cc6 Got rid of a few empty lines. Wayne Davison 2006-01-17 02:16:57 +00:00
  • f5a49d0e44 Got rid of a now-unused static variable. Wayne Davison 2006-01-17 01:26:35 +00:00
  • 03e23e0730 A few more items to check for, including libcharset.h, langinfo.h, locale_charset(), and nl_langinfo(). Wayne Davison 2006-01-15 14:52:12 +00:00
  • eb598fac4f - Improved get_local_name() using ideas from Matt McCutchen's version: lots more comments, and a "local name" copy now does a chdir to the parent dir of the destination file. - Moved the setlocale() call prior to the parse_arguments() call. Wayne Davison 2006-01-15 07:11:23 +00:00
  • be0602ec3c - We now filter all rwrite() output when it goes out to the terminal to make sure that it contains readable characters. - Got rid of the buf[len] = '\0' in rwrite(). - Call f_name() with revised args (which also replaces f_name_to()). Wayne Davison 2006-01-14 20:26:28 +00:00
  • 6cbde57d88 Call f_name() with revised args (which also replaces f_name_to()). Wayne Davison 2006-01-14 20:26:23 +00:00
  • 5e4ff5f9c5 Merged f_name() with f_name_to(). Wayne Davison 2006-01-14 20:26:20 +00:00
  • 18e1289f27 Defined new FNAME logcode enum (only used on the client side when logging a filename). Wayne Davison 2006-01-14 20:26:17 +00:00
  • 99aaa6ca25 Fixed a couple out-of-memory function-name strings in make_file(). Wayne Davison 2006-01-14 17:19:12 +00:00
  • 24172e4b2f If the --human-readable option is in effect, output the size of each file in human-readable units instead of a raw byte count. Wayne Davison 2006-01-14 17:10:52 +00:00
  • beaf495400 Added a "continue" missing from a recent change. Wayne Davison 2006-01-14 00:29:50 +00:00
  • 79f48760f3 Added --enable-iconv and cleaned up the other enable/disable options. Wayne Davison 2006-01-13 23:05:16 +00:00
  • 785abd4802 Got rid of the safe_fname() function and the calls to it. Wayne Davison 2006-01-13 22:06:34 +00:00
  • 0ee6ca9800 Got rid of calls to the (soon to vanish) safe_fname() function. Wayne Davison 2006-01-13 22:06:31 +00:00
  • 7543020807 Fixed a bug in the explode_mode code that was causing a crash on BSD systems. Wayne Davison 2006-01-13 21:40:26 +00:00
  • 47b50b9bd0 We now use lib/compat.o when building wildtest. Wayne Davison 2006-01-13 21:38:43 +00:00
  • 45c49b52a4 Got rid of calls to (the soon to vanish) safe_fname() function. Wayne Davison 2006-01-13 21:17:09 +00:00
  • 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