Commit Graph

  • 37f3ce61bb Another change to the wildtest rule to make it more portable. Wayne Davison 2003-07-05 18:55:09 +00:00
  • 076f60eed0 Added a --depth option to report recursion depth values. Wayne Davison 2003-07-05 18:49:38 +00:00
  • 20b2e9cef7 Improved the ABORT logic to allow aborting consecutive "*" wildcards back to a "**" wildcard. Added optional debug code for recursion stats. Wayne Davison 2003-07-05 18:48:34 +00:00
  • e37d8229f5 Changed the build rule for wildtest. Wayne Davison 2003-07-05 18:46:02 +00:00
  • 710faea9a4 Added in the ABORT optimization logic from a newer wildmat release, adapted for our code that distinguishes "**" from "*". Wayne Davison 2003-07-05 17:30:53 +00:00
  • 70a6051cf1 Restored an isdigit() check in the match_address() function, but check the last character in the hostname, not the first. Wayne Davison 2003-07-05 07:39:57 +00:00
  • 7a1f46b6ac A couple comment tweaks. Wayne Davison 2003-07-05 07:22:13 +00:00
  • 7ca9250db0 Changed "diff -u" back to "diff -c" (for portability). Wayne Davison 2003-07-05 07:09:31 +00:00
  • af7086c63f Change most SAME-AS-FNMATCH "false" values to "true" (since we _should_ work the same as fnmatch in most cases, if fnmatch was actually working right). Wayne Davison 2003-07-05 07:03:56 +00:00
  • 8808589277 Get rid of a couple compiler warnings. Wayne Davison 2003-07-05 06:56:16 +00:00
  • 6cd5096063 Don't define COMPARE_WITH_FNMATCH by default. Wayne Davison 2003-07-05 06:53:41 +00:00
  • 677cd34acd Include lib/wildmatch.h directly for now (until we make rsync.h include it for us). Wayne Davison 2003-07-05 00:13:38 +00:00
  • 08c5385e65 Test the new wildmatch() routine using the wildtest executable. Wayne Davison 2003-07-05 00:08:11 +00:00
  • d7bf70f196 Build "wildtest" for "make check". Wayne Davison 2003-07-05 00:07:35 +00:00
  • 6f3cff41dd Ignore "wildtest". Wayne Davison 2003-07-05 00:05:33 +00:00
  • 5de45bcadc A testbed to stress the new wildmatch() routine. Wayne Davison 2003-07-05 00:05:02 +00:00
  • 446ee5b110 A new wildcard-matching routine to replace the fnmatch code. Wayne Davison 2003-07-05 00:03:36 +00:00
  • d3e6fd3910 Changed "diff -c" to "diff -u". Wayne Davison 2003-07-04 23:56:59 +00:00
  • 6813fa7eac Attempting to fix the snprintf() conflict on a gcc-using HPUX 11.11. Wayne Davison 2003-07-04 15:36:39 +00:00
  • 0f5a04e3ff Use "return" at the end of main() to silence some compilers. Wayne Davison 2003-07-04 15:11:46 +00:00
  • 8801138b47 Made rprintf() of size_t value portable. Wayne Davison 2003-07-04 15:11:44 +00:00
  • 2473391971 Improved upon my last patch to make it clearer and cleaner. Wayne Davison 2003-07-04 07:47:09 +00:00
  • 7d6879328a Changed the syntax of a comment. Wayne Davison 2003-07-03 18:33:53 +00:00
  • 900454132e Mention the compression (-z) fix. Wayne Davison 2003-07-03 17:41:08 +00:00
  • 92b8abfe80 Fixed a problem where we might not have enough room to compress unsent tokens into the obuf in a single call. Wayne Davison 2003-07-03 17:38:12 +00:00
  • 52e628a861 Mention the exclude changes. Wayne Davison 2003-07-01 22:01:48 +00:00
  • 4791825d49 Modified the glob_expand_one() function to check the args against the server's config-specified exclude list. This prevents the user from going around directory exclusions. Fixed push_dir() to not append "/." onto the end of the current path if it is called with "." as the "dir" arg. Made curr_dir[] exported so the exclude code can use it (for the daemon-config absolute-path excludes). Wayne Davison 2003-07-01 21:45:31 +00:00
  • d542c20c5f New stubs to get the test setup to compile with the exclude changes. Wayne Davison 2003-07-01 21:45:29 +00:00
  • 4762db4fc9 Added some defines for the various exclude-function arg literals. Added MATCHFLG_ABS_PATH flag for absolute-path patterns. Wayne Davison 2003-07-01 21:45:27 +00:00
  • 8645af1d8c Changed add_exclude*() calls to use the revised arg syntax. Wayne Davison 2003-07-01 21:45:23 +00:00
  • 429f98283f Modifications to handle the new server_exclude_list, and to use the revised calling syntax and new defines for the various exclude functions. Wayne Davison 2003-07-01 21:45:18 +00:00
  • 5be7fa93fc Made make_exclude() store anchored config-file excludes with the full path (clear to the root). Changed several functions to make the args more general (to support separated lists), more consistent, and easier to understand. Wayne Davison 2003-07-01 21:45:16 +00:00
  • 837cbad97f We now put the excludes from the config file into a "server_exclude_list" using the revised add_exclude_line() arg syntax. Wayne Davison 2003-07-01 21:45:13 +00:00
  • af1d91c562 Call make_file() using the revised arg syntax and new defines. Wayne Davison 2003-07-01 21:45:07 +00:00
  • 908f5a9f9f Add a comment about using getpassphrase() or readpassphrase() rather than getpass(). No code change. Martin Pool 2003-06-17 04:46:32 +00:00
  • 9b74643315 Credit where due. J.W. Schultz 2003-06-10 00:21:34 +00:00
  • 986066873e Clarified EXCLUDE PATTERNS to enforce the relativity of paths. Replaced undefined "base dir" with a defined "top dir". J.W. Schultz 2003-06-10 00:11:24 +00:00
  • 9533e15a79 Changed write file to cope with partial writes by looping until complete or errno is set. (John Van Essen) J.W. Schultz 2003-05-22 23:24:44 +00:00
  • 8dc74608a3 Updated the long description for the --perms option. Wayne Davison 2003-05-16 04:23:34 +00:00
  • 3e85237e5f Added AIX and OSX build workaround notes. J.W. Schultz 2003-05-14 12:54:15 +00:00
  • 9d0523ef4c Another MD4 fix for protocol 27 (from Christoph Bartelmus). Wayne Davison 2003-05-12 20:38:07 +00:00
  • 4a7144ee7e Cleaned up whitespace/indentation. Wayne Davison 2003-05-10 08:33:08 +00:00
  • c120ff37f5 Optimized away 3 calls to strcmp(). Wayne Davison 2003-05-10 00:56:08 +00:00
  • 83fd337d8e Modified the (in|ex)clude [from] option descriptions to better highlight the non-equivalence with client-side --exclude. J.W. Schultz 2003-05-09 12:04:24 +00:00
  • 707c1a3085 Remove generated file config.log. Jos Backus 2003-05-04 19:59:47 +00:00
  • 8294b00c11 Added --link-dest to the --help output. J.W. Schultz 2003-05-02 23:36:10 +00:00
  • da2bcdd1c2 Exclude/include bug fixes. Wayne Davison 2003-05-01 19:39:20 +00:00
  • 093acc5dad Changed the expected results to match the new bug-fixed behavior. Wayne Davison 2003-05-01 19:34:01 +00:00
  • fd73b94d31 Tweaked the exclude_struct for our improved matching code. Wayne Davison 2003-05-01 19:33:59 +00:00
  • 38499c1a49 Mention that a pattern with "**" is matched against the entire path, even if the pattern doesn't contain a slash. Wayne Davison 2003-05-01 19:33:57 +00:00
  • 170381c052 Fixed some matching bugs; made the logic of the matching code a little clearer by using defined flags; added several comments; optimized the matching of an anchored literal string. Wayne Davison 2003-05-01 19:33:54 +00:00
  • 8113a033dd Mention the improved trailing-slash-in-destination handling. Wayne Davison 2003-04-24 16:26:53 +00:00
  • 87cc45e136 Made my last change a little better. Wayne Davison 2003-04-24 16:26:09 +00:00
  • f6b8d591f7 If the user specifies a trailing slash on the destination, make sure that we treat it as a directory reference. Wayne Davison 2003-04-24 16:14:33 +00:00
  • d31c09c872 Copy relative path caviat from --compare-dest to --link-dest. J.W. Schultz 2003-04-23 23:17:41 +00:00
  • 337a1a86a7 Changed one part of the exclude-test setup to test the --existing option. Also tweaked a few comment lines. Wayne Davison 2003-04-23 02:15:59 +00:00
  • b7dc46c0f6 Fixed a typo and added a couple clarifying phrases to the exclude descriptions. Wayne Davison 2003-04-22 18:09:22 +00:00
  • ff57065957 Test various exclude/include patterns. Wayne Davison 2003-04-22 17:53:53 +00:00
  • 0406a3a7a4 Changed test_xfail to test_fail. Wayne Davison 2003-04-22 16:45:24 +00:00
  • bc3b5b2558 Fixed a problem with the test code and enabled it (since rsync's duplicate-elimination code is now fixed). Wayne Davison 2003-04-22 00:25:05 +00:00
  • d1cce1dd92 Make explicit that (in|ex)clude patterns are for relative paths and that the leading / is the equivalent of ^ in regex. J.W. Schultz 2003-04-21 08:44:25 +00:00
  • 7bb7058e8d Made a slight tweak to the previous --stats change. Wayne Davison 2003-04-18 20:03:41 +00:00
  • 727fa3688f Mention the change to the --stats output. Wayne Davison 2003-04-17 23:46:01 +00:00
  • 577ab12ce5 Only display the malloc stats if we're at least double-verbose (and --stats was specified, of course). Also made the output of the short (2-line) transfer summary get prefixed with an empty line in all cases (not just with --stats). Wayne Davison 2003-04-17 23:44:25 +00:00
  • 0f2ac85576 Some whitespace/indentation cleanup. Wayne Davison 2003-04-17 01:44:33 +00:00
  • fab1f8898e document bug fix for --link-dest and lack of -pgo. J.W. Schultz 2003-04-11 03:15:53 +00:00
  • f63d68be97 (Really mbp) restrict 2003-04-10 04:35:12 +00:00
  • 58665d23b4 Fixed a weird line corruption in the last check-in and tweaked the format to be the same as in older releases. Wayne Davison 2003-04-10 03:06:28 +00:00
  • 195bd906a2 - Per-file dynamic block size is now sqrt(file length). J.W. Schultz 2003-04-10 02:04:58 +00:00
  • fc1ae6582f - for protocol version >= 27, mdfour_tail() is called when the block size (including checksum_seed) is a multiple of 64. Previously it was not called, giving the wrong MD4 checksum. J.W. Schultz 2003-04-10 01:50:12 +00:00
  • fc0257c9fd Now support dynamic per-file checksum2 size. J.W. Schultz 2003-04-10 01:13:30 +00:00
  • 91c4da3fda versions prior to 1.7.0 (protcol version 17) cannot talk to protocol versions > 20 so bumping up the minimum protocol version and excising the pre-17 cruft. J.W. Schultz 2003-04-10 00:13:48 +00:00
  • 990ff150ef Fix bug reported by engard.ferenc at innomed.hu whereby using the %f format in sprintf with a value like 0.025 produced 0.250. We were dropping the leading zeros before the fractional digits. Paul Green 2003-04-09 21:10:18 +00:00
  • e72b18a9bd Remove tempname length problem and files-from from TODO. J.W. Schultz 2003-04-01 03:44:50 +00:00
  • bc63ae3f13 Removing vestigial support for protocol versions prior to 15. J.W. Schultz 2003-03-31 17:28:34 +00:00
  • 6e12886393 Logic error in preserve_perms + link_dest J.W. Schultz 2003-03-31 08:09:41 +00:00
  • b5ca91ae4b Fixed a typo. Wayne Davison 2003-03-30 23:19:22 +00:00
  • 89855e78ab Started a new section for the next release. Wayne Davison 2003-03-30 23:15:01 +00:00
  • e106de49c8 Tweaked the O_BINARY code to the latest idiom. Wayne Davison 2003-03-30 23:00:51 +00:00
  • afbcc8f216 Define O_BINARY as "0" if it isn't defined. Wayne Davison 2003-03-30 23:00:49 +00:00
  • f177b7cca2 Documented --files-from, --no-relative, --no-implied-dirs, and --from0. Wayne Davison 2003-03-30 23:00:47 +00:00
  • ea5164d181 Support the new --files-from, --no-relative, --no-implied-dirs, and --from0 options. Moved the find_colon() routine here from main.c. Wayne Davison 2003-03-30 23:00:42 +00:00
  • ccdff3ebbf Open the file in BINARY fd mode, handle the normal line-ending characters better than before, and add support for the new --from0 option (which changes the line separator to a null). Wayne Davison 2003-03-30 23:00:40 +00:00
  • 24d0fcde7f Support the new --files-from and --no-implied-dirs options. Wayne Davison 2003-03-30 23:00:37 +00:00
  • 56014c8c0a Support the new --files-from and --from0 options. Wayne Davison 2003-03-30 23:00:35 +00:00
  • 7c2a9e766c Support the new --files-from option. Wayne Davison 2003-03-30 23:00:33 +00:00
  • bb24028f51 Make link-dest aware of --perms, --owner and --group. ---- Chris Darroch J.W. Schultz 2003-03-26 20:26:06 +00:00
  • 52d3e10613 Prevent tempfile names from overflowing. Debian BUG# 183667 J.W. Schultz 2003-03-26 11:04:14 +00:00
  • 67863f46e3 Warn if 64bit value sent or received on system that doesn't support 64bit integers. J.W. Schultz 2003-03-25 07:13:40 +00:00
  • 9c28e52628 Seperate the uint64_t macros from int64_t J.W. Schultz 2003-03-25 05:46:52 +00:00
  • 1b2f167546 Frustration mounting. I'll get it right eventually. Thank goodness for the build farm. J.W. Schultz 2003-03-25 04:18:10 +00:00
  • 702d0c4529 earlier problem was a typo. J.W. Schultz 2003-03-25 04:09:43 +00:00
  • 51106bafc6 Another stab at uint64 because some platforms seem to have problem with the unsigned off64_t J.W. Schultz 2003-03-25 03:14:27 +00:00
  • 42d4edc067 removed log_transfer() It was no more than a conditional rprintf() with an unused param. J.W. Schultz 2003-03-25 02:28:54 +00:00
  • fbc0bc4d53 Create uint64 for INO64_T and DEV64_T eliminating type mismatches. J.W. Schultz 2003-03-25 02:02:22 +00:00
  • 1b2db7aecb Increased maximum protocol version. Added warning for deprecated protocol versions. J.W. Schultz 2003-03-24 22:42:46 +00:00
  • 1ce29566e7 Minor correction to protocol annotation. J.W. Schultz 2003-03-24 22:32:47 +00:00
  • 3742bf3ac3 Annotated each release with protocol version and added protocol version history from rsync.h log. J.W. Schultz 2003-03-24 22:13:16 +00:00
  • 18d6b679af The close_all() function was missing its "void" prototype. Wayne Davison 2003-03-21 23:43:50 +00:00
  • dbda5fbf06 Get rid of eol whitespace. Wayne Davison 2003-03-21 22:53:46 +00:00