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.
J.W. Schultz [Mon, 24 Mar 2003 22:13:16 +0000 (22:13 +0000)]
Annotated each release with protocol version and
added protocol version history from rsync.h log.
Wayne Davison [Fri, 21 Mar 2003 23:43:50 +0000 (23:43 +0000)]
The close_all() function was missing its "void" prototype.
Wayne Davison [Fri, 21 Mar 2003 22:53:46 +0000 (22:53 +0000)]
Get rid of eol whitespace.
Wayne Davison [Fri, 21 Mar 2003 22:10:44 +0000 (22:10 +0000)]
Optimized the implied-directory code to avoid putting so many duplicate
dirs into the file list.
Wayne Davison [Fri, 21 Mar 2003 19:17:23 +0000 (19:17 +0000)]
- 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 [Fri, 21 Mar 2003 18:58:50 +0000 (18:58 +0000)]
- Simplified the whole-file option handling.
- Fixed some whitespace issues.
Wayne Davison [Fri, 21 Mar 2003 18:53:00 +0000 (18:53 +0000)]
- Simplified the whole-file option handling.
- Cleaned up some whitespace issues.
Wayne Davison [Fri, 21 Mar 2003 18:33:48 +0000 (18:33 +0000)]
- 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.
J.W. Schultz [Fri, 21 Mar 2003 07:42:19 +0000 (07:42 +0000)]
Cleanup: Added header files to dependancies.
J.W. Schultz [Fri, 21 Mar 2003 07:27:31 +0000 (07:27 +0000)]
Typo corrections.
Thanks to Paul Slootman <paul@debian.org>
J.W. Schultz [Fri, 21 Mar 2003 04:39:11 +0000 (04:39 +0000)]
Removing --csum-length option documentation since there is
no such option.
Paul Green [Wed, 19 Feb 2003 16:22:50 +0000 (16:22 +0000)]
Apply patch from Steve Bonds to repair this test.
Paul Green [Tue, 18 Feb 2003 18:07:36 +0000 (18:07 +0000)]
Patch from Roderick Schertler (roderick at argon.org) to ignore
non-POSIX directory mode bits that are used by AIX.
Paul Green [Tue, 18 Feb 2003 16:50:25 +0000 (16:50 +0000)]
Remove RedHat-specific .spec files in favor of the .spec files
maintained under packaging/lsb.
Wayne Davison [Wed, 12 Feb 2003 09:15:23 +0000 (09:15 +0000)]
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.
David Dykstra [Tue, 11 Feb 2003 19:13:51 +0000 (19:13 +0000)]
Back out one of the changes in log.c revision 1.62, and always send errors
to the client after multiplexing is enabled.
Paul Green [Mon, 10 Feb 2003 14:51:09 +0000 (14:51 +0000)]
Patch from jw schultz to reword "link" to "connection" in a couple of
spots.
Paul Green [Wed, 5 Feb 2003 18:41:53 +0000 (18:41 +0000)]
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 [Wed, 29 Jan 2003 21:04:28 +0000 (21:04 +0000)]
Restored changes accidentally backed out by Dave Dykstra in previous revision.
Paul Green [Wed, 29 Jan 2003 20:52:59 +0000 (20:52 +0000)]
Apply fix from Horst von Brand. See comments in spec.
David Dykstra [Tue, 28 Jan 2003 05:28:42 +0000 (05:28 +0000)]
preparing for release of 2.5.6
David Dykstra [Tue, 28 Jan 2003 05:13:16 +0000 (05:13 +0000)]
Add header for 2.5.6 release.