Wayne Davison [Sat, 5 Jul 2003 19:14:10 +0000 (19:14 +0000)]
A wildtest change to handle someone using the included popt lib.
Wayne Davison [Sat, 5 Jul 2003 19:06:49 +0000 (19:06 +0000)]
Added dependencies for wildtest.o.
Wayne Davison [Sat, 5 Jul 2003 19:03:42 +0000 (19:03 +0000)]
Changed some names since "depth" wasn't really the right term.
Wayne Davison [Sat, 5 Jul 2003 18:55:09 +0000 (18:55 +0000)]
Another change to the wildtest rule to make it more portable.
Wayne Davison [Sat, 5 Jul 2003 18:49:38 +0000 (18:49 +0000)]
Added a --depth option to report recursion depth values.
Wayne Davison [Sat, 5 Jul 2003 18:48:34 +0000 (18:48 +0000)]
Improved the ABORT logic to allow aborting consecutive "*" wildcards
back to a "**" wildcard. Added optional debug code for recursion stats.
Wayne Davison [Sat, 5 Jul 2003 18:46:02 +0000 (18:46 +0000)]
Changed the build rule for wildtest.
Wayne Davison [Sat, 5 Jul 2003 17:30:53 +0000 (17:30 +0000)]
Added in the ABORT optimization logic from a newer wildmat release,
adapted for our code that distinguishes "**" from "*".
Wayne Davison [Sat, 5 Jul 2003 07:39:57 +0000 (07:39 +0000)]
Restored an isdigit() check in the match_address() function, but check
the last character in the hostname, not the first.
Wayne Davison [Sat, 5 Jul 2003 07:22:13 +0000 (07:22 +0000)]
A couple comment tweaks.
Wayne Davison [Sat, 5 Jul 2003 07:09:31 +0000 (07:09 +0000)]
Changed "diff -u" back to "diff -c" (for portability).
Wayne Davison [Sat, 5 Jul 2003 07:03:56 +0000 (07:03 +0000)]
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 [Sat, 5 Jul 2003 06:56:16 +0000 (06:56 +0000)]
Get rid of a couple compiler warnings.
Wayne Davison [Sat, 5 Jul 2003 06:53:41 +0000 (06:53 +0000)]
Don't define COMPARE_WITH_FNMATCH by default.
Wayne Davison [Sat, 5 Jul 2003 00:13:38 +0000 (00:13 +0000)]
Include lib/wildmatch.h directly for now (until we make h include
it for us).
Wayne Davison [Sat, 5 Jul 2003 00:08:11 +0000 (00:08 +0000)]
Test the new wildmatch() routine using the wildtest executable.
Wayne Davison [Sat, 5 Jul 2003 00:07:35 +0000 (00:07 +0000)]
Build "wildtest" for "make check".
Wayne Davison [Sat, 5 Jul 2003 00:05:33 +0000 (00:05 +0000)]
Ignore "wildtest".
Wayne Davison [Sat, 5 Jul 2003 00:05:02 +0000 (00:05 +0000)]
A testbed to stress the new wildmatch() routine.
Wayne Davison [Sat, 5 Jul 2003 00:03:36 +0000 (00:03 +0000)]
A new wildcard-matching routine to replace the fnmatch code.
Wayne Davison [Fri, 4 Jul 2003 23:56:59 +0000 (23:56 +0000)]
Changed "diff -c" to "diff -u".
Wayne Davison [Fri, 4 Jul 2003 15:36:39 +0000 (15:36 +0000)]
Attempting to fix the snprintf() conflict on a gcc-using HPUX 11.11.
Wayne Davison [Fri, 4 Jul 2003 15:11:46 +0000 (15:11 +0000)]
Use "return" at the end of main() to silence some compilers.
Wayne Davison [Fri, 4 Jul 2003 15:11:44 +0000 (15:11 +0000)]
Made rprintf() of size_t value portable.
Wayne Davison [Fri, 4 Jul 2003 07:47:09 +0000 (07:47 +0000)]
Improved upon my last patch to make it clearer and cleaner.
Wayne Davison [Thu, 3 Jul 2003 18:33:53 +0000 (18:33 +0000)]
Changed the syntax of a comment.
Wayne Davison [Thu, 3 Jul 2003 17:41:08 +0000 (17:41 +0000)]
Mention the compression (-z) fix.
Wayne Davison [Thu, 3 Jul 2003 17:38:12 +0000 (17:38 +0000)]
Fixed a problem where we might not have enough room to compress
unsent tokens into the obuf in a single call.
Wayne Davison [Tue, 1 Jul 2003 22:01:48 +0000 (22:01 +0000)]
Mention the exclude changes.
Wayne Davison [Tue, 1 Jul 2003 21:45:31 +0000 (21:45 +0000)]
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 [Tue, 1 Jul 2003 21:45:29 +0000 (21:45 +0000)]
New stubs to get the test setup to compile with the exclude changes.
Wayne Davison [Tue, 1 Jul 2003 21:45:27 +0000 (21:45 +0000)]
Added some defines for the various exclude-function arg literals.
Added MATCHFLG_ABS_PATH flag for absolute-path patterns.
Wayne Davison [Tue, 1 Jul 2003 21:45:23 +0000 (21:45 +0000)]
Changed add_exclude*() calls to use the revised arg syntax.
Wayne Davison [Tue, 1 Jul 2003 21:45:18 +0000 (21:45 +0000)]
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 [Tue, 1 Jul 2003 21:45:16 +0000 (21:45 +0000)]
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 [Tue, 1 Jul 2003 21:45:13 +0000 (21:45 +0000)]
We now put the excludes from the config file into a "server_exclude_list"
using the revised add_exclude_line() arg syntax.
Wayne Davison [Tue, 1 Jul 2003 21:45:07 +0000 (21:45 +0000)]
Call make_file() using the revised arg syntax and new defines.
Martin Pool [Tue, 17 Jun 2003 04:46:32 +0000 (04:46 +0000)]
Add a comment about using getpassphrase() or readpassphrase() rather
than getpass(). No code change.
J.W. Schultz [Tue, 10 Jun 2003 00:21:34 +0000 (00:21 +0000)]
Credit where due.
J.W. Schultz [Tue, 10 Jun 2003 00:11:24 +0000 (00:11 +0000)]
Clarified EXCLUDE PATTERNS to enforce the relativity of
paths. Replaced undefined "base dir" with a defined "top
dir".
J.W. Schultz [Thu, 22 May 2003 23:24:44 +0000 (23:24 +0000)]
Changed write file to cope with partial writes by looping
until complete or errno is set.
(John Van Essen)
Wayne Davison [Fri, 16 May 2003 04:23:34 +0000 (04:23 +0000)]
Updated the long description for the --perms option.
J.W. Schultz [Wed, 14 May 2003 12:54:15 +0000 (12:54 +0000)]
Added AIX and OSX build workaround notes.
Wayne Davison [Mon, 12 May 2003 20:38:07 +0000 (20:38 +0000)]
Another MD4 fix for protocol 27 (from Christoph Bartelmus).
Wayne Davison [Sat, 10 May 2003 08:33:08 +0000 (08:33 +0000)]
Cleaned up whitespace/indentation.
Wayne Davison [Sat, 10 May 2003 00:56:08 +0000 (00:56 +0000)]
Optimized away 3 calls to strcmp().
J.W. Schultz [Fri, 9 May 2003 12:04:24 +0000 (12:04 +0000)]
Modified the (in|ex)clude [from] option descriptions to
better highlight the non-equivalence with client-side
--exclude.
Jos Backus [Sun, 4 May 2003 19:59:47 +0000 (19:59 +0000)]
Remove generated file config.log.
J.W. Schultz [Fri, 2 May 2003 23:36:10 +0000 (23:36 +0000)]
Added --link-dest to the --help output.
Wayne Davison [Thu, 1 May 2003 19:39:20 +0000 (19:39 +0000)]
Exclude/include bug fixes.
Wayne Davison [Thu, 1 May 2003 19:34:01 +0000 (19:34 +0000)]
Changed the expected results to match the new bug-fixed behavior.
Wayne Davison [Thu, 1 May 2003 19:33:59 +0000 (19:33 +0000)]
Tweaked the exclude_struct for our improved matching code.
Wayne Davison [Thu, 1 May 2003 19:33:57 +0000 (19:33 +0000)]
Mention that a pattern with "**" is matched against the entire path, even
if the pattern doesn't contain a slash.
Wayne Davison [Thu, 1 May 2003 19:33:54 +0000 (19:33 +0000)]
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 [Thu, 24 Apr 2003 16:26:53 +0000 (16:26 +0000)]
Mention the improved trailing-slash-in-destination handling.
Wayne Davison [Thu, 24 Apr 2003 16:26:09 +0000 (16:26 +0000)]
Made my last change a little better.
Wayne Davison [Thu, 24 Apr 2003 16:14:33 +0000 (16:14 +0000)]
If the user specifies a trailing slash on the destination, make sure
that we treat it as a directory reference.
J.W. Schultz [Wed, 23 Apr 2003 23:17:41 +0000 (23:17 +0000)]
Copy relative path caviat from --compare-dest to
--link-dest.
Wayne Davison [Wed, 23 Apr 2003 02:15:59 +0000 (02:15 +0000)]
Changed one part of the exclude-test setup to test the --existing
option. Also tweaked a few comment lines.
Wayne Davison [Tue, 22 Apr 2003 18:09:22 +0000 (18:09 +0000)]
Fixed a typo and added a couple clarifying phrases to the exclude
descriptions.
Wayne Davison [Tue, 22 Apr 2003 17:53:53 +0000 (17:53 +0000)]
Test various exclude/include patterns.
Wayne Davison [Tue, 22 Apr 2003 16:45:24 +0000 (16:45 +0000)]
Changed test_xfail to test_fail.
Wayne Davison [Tue, 22 Apr 2003 00:25:05 +0000 (00:25 +0000)]
Fixed a problem with the test code and enabled it (since rsync's
duplicate-elimination code is now fixed).
J.W. Schultz [Mon, 21 Apr 2003 08:44:25 +0000 (08:44 +0000)]
Make explicit that (in|ex)clude patterns are for relative
paths and that the leading / is the equivalent of ^ in
regex.
Wayne Davison [Fri, 18 Apr 2003 20:03:41 +0000 (20:03 +0000)]
Made a slight tweak to the previous --stats change.
Wayne Davison [Thu, 17 Apr 2003 23:46:01 +0000 (23:46 +0000)]
Mention the change to the --stats output.
Wayne Davison [Thu, 17 Apr 2003 23:44:25 +0000 (23:44 +0000)]
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 [Thu, 17 Apr 2003 01:44:33 +0000 (01:44 +0000)]
Some whitespace/indentation cleanup.
J.W. Schultz [Fri, 11 Apr 2003 03:15:53 +0000 (03:15 +0000)]
document bug fix for --link-dest and lack of -pgo.
restrict [Thu, 10 Apr 2003 04:35:12 +0000 (04:35 +0000)]
(Really mbp)
Test commit from restricted CVS account. No changes.
Wayne Davison [Thu, 10 Apr 2003 03:06:28 +0000 (03:06 +0000)]
Fixed a weird line corruption in the last check-in and tweaked the
format to be the same as in older releases.
J.W. Schultz [Thu, 10 Apr 2003 02:04:58 +0000 (02:04 +0000)]
- Per-file dynamic block size is now sqrt(file length).
- The per-file checksum size is determined according
to an algorythm provided by Donovan Baarda which
reduces the probability of rsync algorithm
corrupting data and falling back using the whole md4
checksums.
J.W. Schultz [Thu, 10 Apr 2003 01:50:12 +0000 (01:50 +0000)]
- 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.
- for protocol version >= 27, a 64 bit bit counter is used in mdfour.c as
required by the RFC. Previously only a 32 bit bit counter was used,
causing incorrect MD4 file checksums for file sizes >= 512MB - 4.
-- Craig Barratt
J.W. Schultz [Thu, 10 Apr 2003 01:13:30 +0000 (01:13 +0000)]
Now support dynamic per-file checksum2 size.
This pushes protocol version to 27
J.W. Schultz [Thu, 10 Apr 2003 00:13:48 +0000 (00:13 +0000)]
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.
Paul Green [Wed, 9 Apr 2003 21:10:18 +0000 (21:10 +0000)]
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.
J.W. Schultz [Tue, 1 Apr 2003 03:44:50 +0000 (03:44 +0000)]
Remove tempname length problem and files-from from TODO.
J.W. Schultz [Mon, 31 Mar 2003 17:28:34 +0000 (17:28 +0000)]
Removing vestigial support for protocol versions prior to 15.
J.W. Schultz [Mon, 31 Mar 2003 08:09:41 +0000 (08:09 +0000)]
Logic error in preserve_perms + link_dest
Wayne Davison [Sun, 30 Mar 2003 23:19:22 +0000 (23:19 +0000)]
Fixed a typo.
Wayne Davison [Sun, 30 Mar 2003 23:15:01 +0000 (23:15 +0000)]
Started a new section for the next release.
Wayne Davison [Sun, 30 Mar 2003 23:00:51 +0000 (23:00 +0000)]
Tweaked the O_BINARY code to the latest idiom.
Wayne Davison [Sun, 30 Mar 2003 23:00:49 +0000 (23:00 +0000)]
Define O_BINARY as "0" if it isn't defined.
Wayne Davison [Sun, 30 Mar 2003 23:00:47 +0000 (23:00 +0000)]
Documented --files-from, --no-relative, --no-implied-dirs, and --from0.
Wayne Davison [Sun, 30 Mar 2003 23:00:42 +0000 (23:00 +0000)]
Support the new --files-from, --no-relative, --no-implied-dirs, and --from0
options. Moved the find_colon() routine here from main.c.
Wayne Davison [Sun, 30 Mar 2003 23:00:40 +0000 (23:00 +0000)]
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 [Sun, 30 Mar 2003 23:00:37 +0000 (23:00 +0000)]
Support the new --files-from and --no-implied-dirs options.
Wayne Davison [Sun, 30 Mar 2003 23:00:35 +0000 (23:00 +0000)]
Support the new --files-from and --from0 options.
Wayne Davison [Sun, 30 Mar 2003 23:00:33 +0000 (23:00 +0000)]
Support the new --files-from option.
J.W. Schultz [Wed, 26 Mar 2003 20:26:06 +0000 (20:26 +0000)]
Make link-dest aware of --perms, --owner and --group.
---- Chris Darroch
J.W. Schultz [Wed, 26 Mar 2003 11:04:14 +0000 (11:04 +0000)]
Prevent tempfile names from overflowing.
Debian BUG# 183667
J.W. Schultz [Tue, 25 Mar 2003 07:13:40 +0000 (07:13 +0000)]
Warn if 64bit value sent or received on system that doesn't
support 64bit integers.
J.W. Schultz [Tue, 25 Mar 2003 05:46:52 +0000 (05:46 +0000)]
Seperate the uint64_t macros from int64_t
J.W. Schultz [Tue, 25 Mar 2003 04:18:10 +0000 (04:18 +0000)]
Frustration mounting. I'll get it right eventually.
Thank goodness for the build farm.
J.W. Schultz [Tue, 25 Mar 2003 04:09:43 +0000 (04:09 +0000)]
earlier problem was a typo.
J.W. Schultz [Tue, 25 Mar 2003 03:14:27 +0000 (03:14 +0000)]
Another stab at uint64 because some platforms seem to have
problem with the unsigned off64_t
J.W. Schultz [Tue, 25 Mar 2003 02:28:54 +0000 (02:28 +0000)]
removed log_transfer() It was no more than a conditional
rprintf() with an unused param.
J.W. Schultz [Tue, 25 Mar 2003 02:02:22 +0000 (02:02 +0000)]
Create uint64 for INO64_T and DEV64_T eliminating type mismatches.
J.W. Schultz [Mon, 24 Mar 2003 22:42:46 +0000 (22:42 +0000)]
Increased maximum protocol version.
Added warning for deprecated protocol versions.
J.W. Schultz [Mon, 24 Mar 2003 22:32:47 +0000 (22:32 +0000)]
Minor correction to protocol annotation.