Commit Graph

  • 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
  • 2154309a54 Optimized the implied-directory code to avoid putting so many duplicate dirs into the file list. Wayne Davison 2003-03-21 22:10:44 +00:00
  • afb6e9450d - Use popt to better effect for the two options that can be both set and unset by the user. - Even more whitespace cleanup. Wayne Davison 2003-03-21 19:17:23 +00:00
  • dfa3248380 - Simplified the whole-file option handling. - Fixed some whitespace issues. Wayne Davison 2003-03-21 18:58:50 +00:00
  • 2cda256088 - Simplified the whole-file option handling. - Cleaned up some whitespace issues. Wayne Davison 2003-03-21 18:53:00 +00:00
  • d9c7edf63f - Fixed lots of line-indentation problems, including a really huge section of non-batch-mode code that was indented at the same level as its surrounding "if" statement. - Moved the heavily-used am_* flags into global extern vars instead of externing them again and again in individual functions. - Got rid of line-ending whitespace. Wayne Davison 2003-03-21 18:33:48 +00:00
  • a151343943 Cleanup: Added header files to dependancies. J.W. Schultz 2003-03-21 07:42:19 +00:00
  • 85ed0aa396 Typo corrections. Thanks to Paul Slootman <paul@debian.org> J.W. Schultz 2003-03-21 07:27:31 +00:00
  • 3019f95f37 Removing --csum-length option documentation since there is no such option. J.W. Schultz 2003-03-21 04:39:11 +00:00
  • 5702bc12b3 Apply patch from Steve Bonds to repair this test. Paul Green 2003-02-19 16:22:50 +00:00
  • b0d791bb35 Patch from Roderick Schertler (roderick at argon.org) to ignore non-POSIX directory mode bits that are used by AIX. Paul Green 2003-02-18 18:07:36 +00:00
  • 3903928ca0 Remove RedHat-specific .spec files in favor of the .spec files maintained under packaging/lsb. Paul Green 2003-02-18 16:50:25 +00:00
  • 827c37f631 The sender no longer removes the duplicate names from the file list -- we let the receiver do that, since they are the one that requests names and we want to be sure the sender has any name the receiver may ask for. Wayne Davison 2003-02-12 09:15:23 +00:00
  • b45b059a3d Back out one of the changes in log.c revision 1.62, and always send errors to the client after multiplexing is enabled. David Dykstra 2003-02-11 19:13:51 +00:00
  • f39281ae56 Patch from jw schultz to reword "link" to "connection" in a couple of spots. Paul Green 2003-02-10 14:51:09 +00:00
  • e2bea9eb8d Update packaging spec files per patch submitted by Horst von Brand. In the future, we need to be sure to keep *.spec and *.spec.tmpl identical...the release macro produces *.spec from *.spec.tmpl. Paul Green 2003-02-05 18:41:53 +00:00
  • 931a979904 Restored changes accidentally backed out by Dave Dykstra in previous revision. Paul Green 2003-01-29 21:04:28 +00:00
  • 3fccfafd30 Apply fix from Horst von Brand. See comments in rsync.spec. Paul Green 2003-01-29 20:52:59 +00:00
  • 7a6fd4c1c7 preparing for release of 2.5.6 v2.5.6 David Dykstra 2003-01-28 05:28:42 +00:00
  • 8395d24616 Add header for 2.5.6 release. David Dykstra 2003-01-28 05:13:16 +00:00
  • 7d085960eb Remove the Cygwin msleep(100) before the generator kills the receiver, because it caused the testsuite/unsafe-links test to hang. David Dykstra 2003-01-28 05:05:53 +00:00
  • 3884317181 Change the default of --modify-window back to 0 on Cygwin. David Dykstra 2003-01-28 03:11:57 +00:00
  • 089a2435f8 Ack! I had accidentally ifdefed out the kill from the generator to the receiver process for every platform except Cygwin. David Dykstra 2003-01-28 03:03:55 +00:00
  • 8ed16deb24 Change so the delay before generator signals receiver is only done on Cygwin. David Dykstra 2003-01-28 02:51:03 +00:00
  • a577af9067 Added a TODO item about temporary file names bumping up against the maximum name length. (I have an unfinished patch that will address this). Paul Green 2003-01-27 16:33:47 +00:00
  • 59af13651b Move the sleep to workaround the default modify-window of 1 on Cygwin to the beginning of "checkit" rather than the end of "hands_setup" because sometimes files are modified just before checkit is called and the copy finishes within one second so they're considered to be the same time. I don't think this would be a problem in real life, so just change the test. David Dykstra 2003-01-27 04:41:30 +00:00
  • 787568f371 Insert a 100ms sleep just before sending the USR2 signal to the child receiver process to prevent some hangs on Cygwin. Anthony Heading discovered the workaround first and suggested 30ms, and Greger Cronquist had better luck with 100ms. David Dykstra 2003-01-27 03:52:42 +00:00
  • f0019fc506 Remove the "Connection reset by peer" from TODO David Dykstra 2003-01-27 03:36:54 +00:00
  • 9f639210ca Prevent the "Connection reset by peer" messages often seen from Cygwin. Result of a lot of discussion over the last year and a half. Based on a patch from Randy O'Meara, cleaned up a bit by Max Bowsher. David Dykstra 2003-01-27 03:35:08 +00:00