rsync/rsync.git
20 years agoFixed a problem where we might not have enough room to compress
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.

20 years agoMention the exclude changes.
Wayne Davison [Tue, 1 Jul 2003 22:01:48 +0000 (22:01 +0000)]
Mention the exclude changes.

20 years agoModified the glob_expand_one() function to check the args against the
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).

20 years agoNew stubs to get the test setup to compile with the exclude changes.
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.

20 years agoAdded some defines for the various exclude-function arg literals.
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.

20 years agoChanged add_exclude*() calls to use the revised arg syntax.
Wayne Davison [Tue, 1 Jul 2003 21:45:23 +0000 (21:45 +0000)]
Changed add_exclude*() calls to use the revised arg syntax.

20 years agoModifications to handle the new server_exclude_list, and to use the
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.

20 years agoMade make_exclude() store anchored config-file excludes with the full
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.

20 years agoWe now put the excludes from the config file into a "server_exclude_list"
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.

20 years agoCall make_file() using the revised arg syntax and new defines.
Wayne Davison [Tue, 1 Jul 2003 21:45:07 +0000 (21:45 +0000)]
Call make_file() using the revised arg syntax and new defines.

20 years agoAdd a comment about using getpassphrase() or readpassphrase() rather
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.

20 years agoCredit where due.
J.W. Schultz [Tue, 10 Jun 2003 00:21:34 +0000 (00:21 +0000)]
Credit where due.

20 years agoClarified EXCLUDE PATTERNS to enforce the relativity of
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".

20 years agoChanged write file to cope with partial writes by looping
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)

20 years agoUpdated the long description for the --perms option.
Wayne Davison [Fri, 16 May 2003 04:23:34 +0000 (04:23 +0000)]
Updated the long description for the --perms option.

20 years agoAdded AIX and OSX build workaround notes.
J.W. Schultz [Wed, 14 May 2003 12:54:15 +0000 (12:54 +0000)]
Added AIX and OSX build workaround notes.

20 years agoAnother MD4 fix for protocol 27 (from Christoph Bartelmus).
Wayne Davison [Mon, 12 May 2003 20:38:07 +0000 (20:38 +0000)]
Another MD4 fix for protocol 27 (from Christoph Bartelmus).

20 years agoCleaned up whitespace/indentation.
Wayne Davison [Sat, 10 May 2003 08:33:08 +0000 (08:33 +0000)]
Cleaned up whitespace/indentation.

20 years agoOptimized away 3 calls to strcmp().
Wayne Davison [Sat, 10 May 2003 00:56:08 +0000 (00:56 +0000)]
Optimized away 3 calls to strcmp().

20 years agoModified the (in|ex)clude [from] option descriptions to
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.

20 years agoRemove generated file config.log.
Jos Backus [Sun, 4 May 2003 19:59:47 +0000 (19:59 +0000)]
Remove generated file config.log.

20 years agoAdded --link-dest to the --help output.
J.W. Schultz [Fri, 2 May 2003 23:36:10 +0000 (23:36 +0000)]
Added --link-dest to the --help output.

21 years agoExclude/include bug fixes.
Wayne Davison [Thu, 1 May 2003 19:39:20 +0000 (19:39 +0000)]
Exclude/include bug fixes.

21 years agoChanged the expected results to match the new bug-fixed behavior.
Wayne Davison [Thu, 1 May 2003 19:34:01 +0000 (19:34 +0000)]
Changed the expected results to match the new bug-fixed behavior.

21 years agoTweaked the exclude_struct for our improved matching code.
Wayne Davison [Thu, 1 May 2003 19:33:59 +0000 (19:33 +0000)]
Tweaked the exclude_struct for our improved matching code.

21 years agoMention that a pattern with "**" is matched against the entire path, even
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.

21 years agoFixed some matching bugs; made the logic of the matching code a little
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.

21 years agoMention the improved trailing-slash-in-destination handling.
Wayne Davison [Thu, 24 Apr 2003 16:26:53 +0000 (16:26 +0000)]
Mention the improved trailing-slash-in-destination handling.

21 years agoMade my last change a little better.
Wayne Davison [Thu, 24 Apr 2003 16:26:09 +0000 (16:26 +0000)]
Made my last change a little better.

21 years agoIf the user specifies a trailing slash on the destination, make sure
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.

21 years agoCopy relative path caviat from --compare-dest to
J.W. Schultz [Wed, 23 Apr 2003 23:17:41 +0000 (23:17 +0000)]
Copy relative path caviat from --compare-dest to
--link-dest.

21 years agoChanged one part of the exclude-test setup to test the --existing
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.

21 years agoFixed a typo and added a couple clarifying phrases to the exclude
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.

21 years agoTest various exclude/include patterns.
Wayne Davison [Tue, 22 Apr 2003 17:53:53 +0000 (17:53 +0000)]
Test various exclude/include patterns.

21 years agoChanged test_xfail to test_fail.
Wayne Davison [Tue, 22 Apr 2003 16:45:24 +0000 (16:45 +0000)]
Changed test_xfail to test_fail.

21 years agoFixed a problem with the test code and enabled it (since rsync's
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).

21 years agoMake explicit that (in|ex)clude patterns are for relative
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.

21 years agoMade a slight tweak to the previous --stats change.
Wayne Davison [Fri, 18 Apr 2003 20:03:41 +0000 (20:03 +0000)]
Made a slight tweak to the previous --stats change.

21 years agoMention the change to the --stats output.
Wayne Davison [Thu, 17 Apr 2003 23:46:01 +0000 (23:46 +0000)]
Mention the change to the --stats output.

21 years agoOnly display the malloc stats if we're at least double-verbose (and
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).

21 years agoSome whitespace/indentation cleanup.
Wayne Davison [Thu, 17 Apr 2003 01:44:33 +0000 (01:44 +0000)]
Some whitespace/indentation cleanup.

21 years agodocument bug fix for --link-dest and lack of -pgo.
J.W. Schultz [Fri, 11 Apr 2003 03:15:53 +0000 (03:15 +0000)]
document bug fix for --link-dest and lack of -pgo.

21 years ago(Really mbp)
restrict [Thu, 10 Apr 2003 04:35:12 +0000 (04:35 +0000)]
(Really mbp)

Test commit from restricted CVS account.  No changes.

21 years agoFixed a weird line corruption in the last check-in and tweaked the
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.

21 years ago - Per-file dynamic block size is now sqrt(file length).
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.

21 years ago - for protocol version >= 27, mdfour_tail() is called when the block size
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

21 years agoNow support dynamic per-file checksum2 size.
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

21 years agoversions prior to 1.7.0 (protcol version 17) cannot talk to
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.

21 years agoFix bug reported by engard.ferenc at innomed.hu whereby using the %f format
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.

21 years agoRemove tempname length problem and files-from from TODO.
J.W. Schultz [Tue, 1 Apr 2003 03:44:50 +0000 (03:44 +0000)]
Remove tempname length problem and files-from from TODO.

21 years agoRemoving vestigial support for protocol versions prior to 15.
J.W. Schultz [Mon, 31 Mar 2003 17:28:34 +0000 (17:28 +0000)]
Removing vestigial support for protocol versions prior to 15.

21 years agoLogic error in preserve_perms + link_dest
J.W. Schultz [Mon, 31 Mar 2003 08:09:41 +0000 (08:09 +0000)]
Logic error in preserve_perms + link_dest

21 years agoFixed a typo.
Wayne Davison [Sun, 30 Mar 2003 23:19:22 +0000 (23:19 +0000)]
Fixed a typo.

21 years agoStarted a new section for the next release.
Wayne Davison [Sun, 30 Mar 2003 23:15:01 +0000 (23:15 +0000)]
Started a new section for the next release.

21 years agoTweaked the O_BINARY code to the latest idiom.
Wayne Davison [Sun, 30 Mar 2003 23:00:51 +0000 (23:00 +0000)]
Tweaked the O_BINARY code to the latest idiom.

21 years agoDefine O_BINARY as "0" if it isn't defined.
Wayne Davison [Sun, 30 Mar 2003 23:00:49 +0000 (23:00 +0000)]
Define O_BINARY as "0" if it isn't defined.

21 years agoDocumented --files-from, --no-relative, --no-implied-dirs, and --from0.
Wayne Davison [Sun, 30 Mar 2003 23:00:47 +0000 (23:00 +0000)]
Documented --files-from, --no-relative, --no-implied-dirs, and --from0.

21 years agoSupport the new --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.

21 years agoOpen the file in BINARY fd mode, handle the normal line-ending characters
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).

21 years agoSupport the new --files-from and --no-implied-dirs options.
Wayne Davison [Sun, 30 Mar 2003 23:00:37 +0000 (23:00 +0000)]
Support the new --files-from and --no-implied-dirs options.

21 years agoSupport the new --files-from and --from0 options.
Wayne Davison [Sun, 30 Mar 2003 23:00:35 +0000 (23:00 +0000)]
Support the new --files-from and --from0 options.

21 years agoSupport the new --files-from option.
Wayne Davison [Sun, 30 Mar 2003 23:00:33 +0000 (23:00 +0000)]
Support the new --files-from option.

21 years agoMake link-dest aware of --perms, --owner and --group.
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

21 years agoPrevent tempfile names from overflowing.
J.W. Schultz [Wed, 26 Mar 2003 11:04:14 +0000 (11:04 +0000)]
Prevent tempfile names from overflowing.
Debian BUG# 183667

21 years agoWarn if 64bit value sent or received on system that doesn't
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.

21 years agoSeperate the uint64_t macros from int64_t
J.W. Schultz [Tue, 25 Mar 2003 05:46:52 +0000 (05:46 +0000)]
Seperate the uint64_t macros from int64_t

21 years agoFrustration mounting. I'll get it right eventually.
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.

21 years agoearlier problem was a typo.
J.W. Schultz [Tue, 25 Mar 2003 04:09:43 +0000 (04:09 +0000)]
earlier problem was a typo.

21 years agoAnother stab at uint64 because some platforms seem to have
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

21 years agoremoved log_transfer() It was no more than a conditional
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.

21 years agoCreate uint64 for INO64_T and DEV64_T eliminating type mismatches.
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.

21 years agoIncreased maximum protocol version.
J.W. Schultz [Mon, 24 Mar 2003 22:42:46 +0000 (22:42 +0000)]
Increased maximum protocol version.
Added warning for deprecated protocol versions.

21 years agoMinor correction to protocol annotation.
J.W. Schultz [Mon, 24 Mar 2003 22:32:47 +0000 (22:32 +0000)]
Minor correction to protocol annotation.

21 years agoAnnotated each release with protocol version and
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.

21 years agoThe close_all() function was missing its "void" prototype.
Wayne Davison [Fri, 21 Mar 2003 23:43:50 +0000 (23:43 +0000)]
The close_all() function was missing its "void" prototype.

21 years agoGet rid of eol whitespace.
Wayne Davison [Fri, 21 Mar 2003 22:53:46 +0000 (22:53 +0000)]
Get rid of eol whitespace.

21 years agoOptimized the implied-directory code to avoid putting so many duplicate
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.

21 years ago- Use popt to better effect for the two options that can be both
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.

21 years ago- Simplified the whole-file option handling.
Wayne Davison [Fri, 21 Mar 2003 18:58:50 +0000 (18:58 +0000)]
- Simplified the whole-file option handling.
- Fixed some whitespace issues.

21 years ago- Simplified the whole-file option handling.
Wayne Davison [Fri, 21 Mar 2003 18:53:00 +0000 (18:53 +0000)]
- Simplified the whole-file option handling.
- Cleaned up some whitespace issues.

21 years ago- Fixed lots of line-indentation problems, including a really huge section
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.

21 years agoCleanup: Added header files to dependancies.
J.W. Schultz [Fri, 21 Mar 2003 07:42:19 +0000 (07:42 +0000)]
Cleanup: Added header files to dependancies.

21 years agoTypo corrections.
J.W. Schultz [Fri, 21 Mar 2003 07:27:31 +0000 (07:27 +0000)]
Typo corrections.
Thanks to Paul Slootman <paul@debian.org>

21 years agoRemoving --csum-length option documentation since there is
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.

21 years agoApply patch from Steve Bonds to repair this test.
Paul Green [Wed, 19 Feb 2003 16:22:50 +0000 (16:22 +0000)]
Apply patch from Steve Bonds to repair this test.

21 years agoPatch from Roderick Schertler (roderick at argon.org) to ignore
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.

21 years agoRemove RedHat-specific .spec files in favor of the .spec files
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.

21 years agoThe sender no longer removes the duplicate names from the file list -- we
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.

21 years agoBack out one of the changes in log.c revision 1.62, and always send errors
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.

21 years agoPatch from jw schultz to reword "link" to "connection" in a couple of
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.

21 years agoUpdate packaging spec files per patch submitted by Horst von Brand.
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.

21 years agoRestored changes accidentally backed out by Dave Dykstra in previous revision.
Paul Green [Wed, 29 Jan 2003 21:04:28 +0000 (21:04 +0000)]
Restored changes accidentally backed out by Dave Dykstra in previous revision.

21 years agoApply fix from Horst von Brand. See comments in rsync.spec.
Paul Green [Wed, 29 Jan 2003 20:52:59 +0000 (20:52 +0000)]
Apply fix from Horst von Brand. See comments in spec.

21 years agopreparing for release of 2.5.6
David Dykstra [Tue, 28 Jan 2003 05:28:42 +0000 (05:28 +0000)]
preparing for release of 2.5.6

21 years agoAdd header for 2.5.6 release.
David Dykstra [Tue, 28 Jan 2003 05:13:16 +0000 (05:13 +0000)]
Add header for 2.5.6 release.

21 years agoRemove the Cygwin msleep(100) before the generator kills the receiver,
David Dykstra [Tue, 28 Jan 2003 05:05:53 +0000 (05:05 +0000)]
Remove the Cygwin msleep(100) before the generator kills the receiver,
because it caused the testsuite/unsafe-links test to hang.

21 years agoChange the default of --modify-window back to 0 on Cygwin.
David Dykstra [Tue, 28 Jan 2003 03:11:57 +0000 (03:11 +0000)]
Change the default of --modify-window back to 0 on Cygwin.

21 years agoAck! I had accidentally ifdefed out the kill from the generator to the
David Dykstra [Tue, 28 Jan 2003 03:03:55 +0000 (03:03 +0000)]
Ack!  I had accidentally ifdefed out the kill from the generator to the
receiver process for every platform except Cygwin.

21 years agoChange so the delay before generator signals receiver is only done on Cygwin.
David Dykstra [Tue, 28 Jan 2003 02:51:03 +0000 (02:51 +0000)]
Change so the delay before generator signals receiver is only done on Cygwin.

21 years agoAdded a TODO item about temporary file names bumping up against the
Paul Green [Mon, 27 Jan 2003 16:33:47 +0000 (16:33 +0000)]
Added a TODO item about temporary file names bumping up against the
maximum name length.  (I have an unfinished patch that will address
this).