rsync-patches.git
19 years agoFixed failing hunks.
Wayne Davison [Fri, 28 Jan 2005 19:36:25 +0000 (19:36 +0000)]
Fixed failing hunks.

19 years agoAdded check to ensure that a read-only daemon doesn't honor
Wayne Davison [Fri, 28 Jan 2005 17:14:14 +0000 (17:14 +0000)]
Added check to ensure that a read-only daemon doesn't honor
--delete-sent-files.

19 years agoApplied to the trunk with option renamed to be --delay-updates.
Wayne Davison [Thu, 27 Jan 2005 22:48:03 +0000 (22:48 +0000)]
Applied to the trunk with option renamed to be --delay-updates.

19 years agoApplied to the trunk.
Wayne Davison [Thu, 27 Jan 2005 22:25:30 +0000 (22:25 +0000)]
Applied to the trunk.

19 years agoAdded .rsync-filter.
Wayne Davison [Tue, 25 Jan 2005 18:16:34 +0000 (18:16 +0000)]
Added .rsync-filter.

19 years agosubstitute exclude -> filter, as appropriate.
Wayne Davison [Tue, 25 Jan 2005 12:18:25 +0000 (12:18 +0000)]
substitute exclude -> filter, as appropriate.

19 years agoSome more doc changes and a couple minor code tweaks.
Wayne Davison [Tue, 25 Jan 2005 09:35:46 +0000 (09:35 +0000)]
Some more doc changes and a couple minor code tweaks.

19 years agoGot rid of patch fuzz.
Wayne Davison [Tue, 25 Jan 2005 03:39:03 +0000 (03:39 +0000)]
Got rid of patch fuzz.

19 years agoFixed two failing hunks.
Wayne Davison [Tue, 25 Jan 2005 03:29:55 +0000 (03:29 +0000)]
Fixed two failing hunks.

19 years agoApplied to trunk (with a few changes).
Wayne Davison [Tue, 25 Jan 2005 00:53:42 +0000 (00:53 +0000)]
Applied to trunk (with a few changes).

19 years agoFixed some failing hunks.
Wayne Davison [Mon, 24 Jan 2005 02:26:08 +0000 (02:26 +0000)]
Fixed some failing hunks.

19 years agoGet rid of some fuzz.
Wayne Davison [Mon, 24 Jan 2005 02:11:44 +0000 (02:11 +0000)]
Get rid of some fuzz.

19 years agoFixed failing hunks.
Wayne Davison [Mon, 24 Jan 2005 02:08:40 +0000 (02:08 +0000)]
Fixed failing hunks.

19 years agoGot rid of dependency on delete-during.diff.
Wayne Davison [Mon, 24 Jan 2005 02:08:26 +0000 (02:08 +0000)]
Got rid of dependency on delete-during.diff.

19 years agoRejected (using omit-dir-times.diff instead).
Wayne Davison [Mon, 24 Jan 2005 02:05:37 +0000 (02:05 +0000)]
Rejected (using omit-dir-times.diff instead).

19 years agoApplied to the turnk (with a few tweaks).
Wayne Davison [Mon, 24 Jan 2005 01:42:23 +0000 (01:42 +0000)]
Applied to the turnk (with a few tweaks).

19 years agoApplied to the trunk.
Wayne Davison [Mon, 24 Jan 2005 00:52:45 +0000 (00:52 +0000)]
Applied to the trunk.

19 years agoGot rid of some fuzz.
Wayne Davison [Mon, 24 Jan 2005 00:30:15 +0000 (00:30 +0000)]
Got rid of some fuzz.

19 years agoChanged the short option from -d to -O.
Wayne Davison [Mon, 24 Jan 2005 00:29:53 +0000 (00:29 +0000)]
Changed the short option from -d to -O.

19 years agoFixed a failing hunk.
Wayne Davison [Mon, 24 Jan 2005 00:28:30 +0000 (00:28 +0000)]
Fixed a failing hunk.

19 years ago- Improved the comment in front of send_file_list().
Wayne Davison [Sun, 23 Jan 2005 08:07:40 +0000 (08:07 +0000)]
- Improved the comment in front of send_file_list().
- Dropped the do_subdir arg from delete_in_dir().
- Improved the logic in delete_in_dir() and send_file_list() for
  handling the various --delete* types.

19 years agoFixed failing hunks.
Wayne Davison [Sun, 23 Jan 2005 07:36:18 +0000 (07:36 +0000)]
Fixed failing hunks.

19 years agoUpdated to work with latest CVS.
Wayne Davison [Sun, 23 Jan 2005 07:16:56 +0000 (07:16 +0000)]
Updated to work with latest CVS.

19 years agoSome doc improvements.
Wayne Davison [Fri, 21 Jan 2005 20:09:01 +0000 (20:09 +0000)]
Some doc improvements.

19 years agoFixed 2-line fuzz.
Wayne Davison [Fri, 21 Jan 2005 19:14:09 +0000 (19:14 +0000)]
Fixed 2-line fuzz.

19 years agoFixed failing hunk.
Wayne Davison [Fri, 21 Jan 2005 19:13:17 +0000 (19:13 +0000)]
Fixed failing hunk.

19 years agoChanged the name of the .rsync-rules file (used by -F) to
Wayne Davison [Fri, 21 Jan 2005 18:58:28 +0000 (18:58 +0000)]
Changed the name of the .rsync-rules file (used by -F) to
.rsync-filter.

19 years ago- Decided to put the new, smaller delete_files() back into
Wayne Davison [Fri, 21 Jan 2005 11:00:18 +0000 (11:00 +0000)]
- Decided to put the new, smaller delete_files() back into
  receiver.c.
- Got rid of the call of add_cvs_excludes() in the delete_files()
  function because it potentially adds the excludes a second time.
  Instead, make sure that the one code path in main.c that was
  missing the add_cvs_excludes() call now calls it.

19 years agoMention the need for "make proto".
Wayne Davison [Fri, 21 Jan 2005 10:13:37 +0000 (10:13 +0000)]
Mention the need for "make proto".

19 years agoMade the new --delete-during work properly with --relative.
Wayne Davison [Fri, 21 Jan 2005 02:12:22 +0000 (02:12 +0000)]
Made the new --delete-during work properly with --relative.

19 years ago- Fixed some deletion problems where a non-empty directory was
Wayne Davison [Fri, 21 Jan 2005 00:06:02 +0000 (00:06 +0000)]
- Fixed some deletion problems where a non-empty directory was
  needing to be removed.
- Tweaked the option parsing a bit.
- Removed some of dry-run fixes that already made it into the
  CVS version.

19 years agoTweaked the --help text a tad.
Wayne Davison [Thu, 20 Jan 2005 01:18:15 +0000 (01:18 +0000)]
Tweaked the --help text a tad.

19 years agoTweaked the args to find_filename_suffix().
Wayne Davison [Thu, 20 Jan 2005 01:04:46 +0000 (01:04 +0000)]
Tweaked the args to find_filename_suffix().

19 years agoFixing failed hunks caused by recent removal of delete_one().
Wayne Davison [Wed, 19 Jan 2005 20:25:34 +0000 (20:25 +0000)]
Fixing failed hunks caused by recent removal of delete_one().

19 years agoMade the patch depend on delete-during.diff (though we don't yet
Wayne Davison [Wed, 19 Jan 2005 01:21:47 +0000 (01:21 +0000)]
Made the patch depend on delete-during.diff (though we don't yet
try to use its new functionality).  Also added one more TODO item
to the list.

19 years agoAn improvement to the --delete algorithm that makes it more
Wayne Davison [Wed, 19 Jan 2005 01:14:28 +0000 (01:14 +0000)]
An improvement to the --delete algorithm that makes it more
efficient.  It also lays the groundwork of having a per-dir
file-list on the receiving side that --fuzzy will need to
make it more efficient (and less problematical).

19 years ago- Added a caveat about --delete to the --fuzzy description in the
Wayne Davison [Tue, 18 Jan 2005 20:21:21 +0000 (20:21 +0000)]
- Added a caveat about --delete to the --fuzzy description in the
  man page.
- Added a "TODO" comment to find_fuzzy().

19 years ago- Added a better filename-suffix-finding heuristic, including
Wayne Davison [Tue, 18 Jan 2005 19:37:17 +0000 (19:37 +0000)]
- Added a better filename-suffix-finding heuristic, including
  the ignoring of useless additional suffixes (such as '~').
- Don't exclude based on suffix, but rate a suffix mismatch more
  strongly than a filename mismatch.
- Improved the return from the fuzzy_distance() function when
  one of the strings is empty (as is often the case for a
  suffix comparison).

19 years agoSwapped out the simplistic measure_name() run-length count for
Wayne Davison [Tue, 18 Jan 2005 11:29:20 +0000 (11:29 +0000)]
Swapped out the simplistic measure_name() run-length count for
a new fuzzy_distance() function I created that implements a
modified version of the Levenshtein distance algorithm.

19 years agoSome preliminary changes got mixed in with the last commit, so
Wayne Davison [Mon, 17 Jan 2005 23:44:16 +0000 (23:44 +0000)]
Some preliminary changes got mixed in with the last commit, so
fixed two small problems in the last check-in.

19 years agoGot rid of patch-fuzz.
Wayne Davison [Mon, 17 Jan 2005 23:30:40 +0000 (23:30 +0000)]
Got rid of patch-fuzz.

19 years agoFixed a failing hunk.
Wayne Davison [Mon, 17 Jan 2005 23:24:26 +0000 (23:24 +0000)]
Fixed a failing hunk.

19 years agoApplied to trunk.
Wayne Davison [Mon, 17 Jan 2005 23:11:35 +0000 (23:11 +0000)]
Applied to trunk.

19 years ago- Added a description of "filter" to the rsyncd.yo doc.
Wayne Davison [Mon, 17 Jan 2005 07:04:06 +0000 (07:04 +0000)]
- Added a description of "filter" to the rsyncd.yo doc.
- More rsync.yo documentation tweaks.

19 years ago- Fixed the handling of the "!" list-clearing rules.
Wayne Davison [Mon, 17 Jan 2005 06:31:31 +0000 (06:31 +0000)]
- Fixed the handling of the "!" list-clearing rules.
- Fixed a potential crash bug in the clearing of a per-dir
  merge file via "!".
- Simplified the push/pop structure for per-dir merge files.
- Some minor enhancements to exclude.test.
- Improved the parsing of filters rules when the "s" modifier is
  used (where rules are split on whitespace).
- Allow '_' to separate the prefix from the suffix in a filter rule.
- Improved some debug messages relating to includes/excludes.

19 years agoTwiddled a few defines in rsync.h and improved the docs.
Wayne Davison [Mon, 17 Jan 2005 01:13:17 +0000 (01:13 +0000)]
Twiddled a few defines in h and improved the docs.

19 years agoAnother round of re-think for the enhanced syntax. This time the
Wayne Davison [Mon, 17 Jan 2005 00:45:15 +0000 (00:45 +0000)]
Another round of re-think for the enhanced syntax.  This time the
result is something that is 100% backward compatible with (1)
all existing include/exclude files, and (2) older rsync versions
that it shares excludes with over the wire.  To enable the new
include/exclude features, the user now uses the --filter (-f)
option.

19 years ago- Added modifiers "C" and "E" to the include/exclude +/- rules: -C is
Wayne Davison [Sun, 16 Jan 2005 01:21:48 +0000 (01:21 +0000)]
- Added modifiers "C" and "E" to the include/exclude +/- rules:  -C is
  the same as "-p .cvsignore", and "-pE .excl' is the same as both
  "-p .excl" and "- .excl".  As you might expect, -CE is the same as
  "-pE .cvsignore".
- Made the repeating of the -E command-line option add a second exclude
  rule: "- .rsync-excludes" (thus -E is short for "-p /.rsync-excludes",
  and -EE is short for "-pE /.rsync-excludes").

19 years agoAdded an entry for --fuzzy to the man page.
Wayne Davison [Sun, 16 Jan 2005 00:22:48 +0000 (00:22 +0000)]
Added an entry for --fuzzy to the man page.

19 years agoFixed some patch fuzz.
Wayne Davison [Sun, 16 Jan 2005 00:22:27 +0000 (00:22 +0000)]
Fixed some patch fuzz.

19 years agoFixed a failing hunk.
Wayne Davison [Sun, 16 Jan 2005 00:20:42 +0000 (00:20 +0000)]
Fixed a failing hunk.

19 years agoFixed a failing hunk.
Wayne Davison [Sat, 15 Jan 2005 21:36:05 +0000 (21:36 +0000)]
Fixed a failing hunk.

19 years agoFixed a failing hunk.
Wayne Davison [Sat, 15 Jan 2005 20:32:23 +0000 (20:32 +0000)]
Fixed a failing hunk.

19 years agoThe latest --link-dest option is now compatible with --inplace,
Wayne Davison [Sat, 15 Jan 2005 20:31:15 +0000 (20:31 +0000)]
The latest --link-dest option is now compatible with --inplace,
so remove that restriction too.

19 years agoFixed some fuzz.
Wayne Davison [Sat, 15 Jan 2005 20:11:27 +0000 (20:11 +0000)]
Fixed some fuzz.

19 years agoFixed a failing hunk.
Wayne Davison [Sat, 15 Jan 2005 20:11:17 +0000 (20:11 +0000)]
Fixed a failing hunk.

19 years agoChanged the syntax that specifies a merge file. It is now this:
Wayne Davison [Sat, 15 Jan 2005 06:21:03 +0000 (06:21 +0000)]
Changed the syntax that specifies a merge file.  It is now this:
    -m /path/single-merge.excludes
    +m /path/single-merge.includes
    -p .perdir-merge.excludes
    +p .perdir-merge.includes

19 years agoFixed a new failing hunk.
Wayne Davison [Sat, 15 Jan 2005 04:41:42 +0000 (04:41 +0000)]
Fixed a new failing hunk.

19 years agoFixed a failing hunk.
Wayne Davison [Fri, 14 Jan 2005 18:34:18 +0000 (18:34 +0000)]
Fixed a failing hunk.

19 years ago- Error-check the MSG_SUCCESS values going from the generator to the
Wayne Davison [Mon, 10 Jan 2005 10:53:12 +0000 (10:53 +0000)]
- Error-check the MSG_SUCCESS values going from the generator to the
  sender.
- Tweaked the option-parsing code a little.

19 years agoFixed a failing hunk.
Wayne Davison [Mon, 10 Jan 2005 10:45:04 +0000 (10:45 +0000)]
Fixed a failing hunk.

19 years agoDelay the renaming of all the temp files until the end of the transfer.
Wayne Davison [Mon, 10 Jan 2005 10:26:21 +0000 (10:26 +0000)]
Delay the renaming of all the temp files until the end of the transfer.

19 years agoImproved a sentence in the docs.
Wayne Davison [Sat, 8 Jan 2005 20:45:37 +0000 (20:45 +0000)]
Improved a sentence in the docs.

19 years agoFixed fuzzy hunks.
Wayne Davison [Sat, 1 Jan 2005 21:21:02 +0000 (21:21 +0000)]
Fixed fuzzy hunks.

19 years agoFixed failing hunks.
Wayne Davison [Sat, 1 Jan 2005 21:20:51 +0000 (21:20 +0000)]
Fixed failing hunks.

19 years agoThe reverse behavior of the --dir-times option (also in this dir).
Wayne Davison [Fri, 3 Dec 2004 23:43:05 +0000 (23:43 +0000)]
The reverse behavior of the --dir-times option (also in this dir).

19 years agoFixed the code that complains if --fuzzy is combined with --inplace.
Wayne Davison [Mon, 29 Nov 2004 01:40:38 +0000 (01:40 +0000)]
Fixed the code that complains if --fuzzy is combined with --inplace.

19 years agoFixed failing hunks.
Wayne Davison [Sat, 27 Nov 2004 18:39:28 +0000 (18:39 +0000)]
Fixed failing hunks.

19 years agoFixed patch fuzz.
Wayne Davison [Sat, 27 Nov 2004 18:35:34 +0000 (18:35 +0000)]
Fixed patch fuzz.

19 years agoPromoted to the trunk.
Wayne Davison [Sat, 27 Nov 2004 18:33:59 +0000 (18:33 +0000)]
Promoted to the trunk.

19 years agoFixed failing hunks.
Wayne Davison [Sat, 27 Nov 2004 18:21:46 +0000 (18:21 +0000)]
Fixed failing hunks.

19 years agoApplied to trunk (with significant changes).
Wayne Davison [Sat, 27 Nov 2004 18:00:36 +0000 (18:00 +0000)]
Applied to trunk (with significant changes).

19 years ago- A slight improvement to the option-parsing code.
Wayne Davison [Thu, 25 Nov 2004 17:00:58 +0000 (17:00 +0000)]
- A slight improvement to the option-parsing code.
- Extended the compare-dest testsuite to ensure that multiple
  --compare-dest options are working.

19 years agoFixed a failing hunk.
Wayne Davison [Wed, 17 Nov 2004 19:43:26 +0000 (19:43 +0000)]
Fixed a failing hunk.

19 years agoA minor improvement to the variables involved.
Wayne Davison [Fri, 12 Nov 2004 05:55:36 +0000 (05:55 +0000)]
A minor improvement to the variables involved.

19 years agoFixed a failing hunk.
Wayne Davison [Thu, 11 Nov 2004 22:23:40 +0000 (22:23 +0000)]
Fixed a failing hunk.

19 years agoThis has been applied to the trunk.
Wayne Davison [Thu, 11 Nov 2004 22:18:33 +0000 (22:18 +0000)]
This has been applied to the trunk.

19 years agoApplied to the trunk.
Wayne Davison [Thu, 11 Nov 2004 01:45:40 +0000 (01:45 +0000)]
Applied to the trunk.

19 years agoFixed the option-parsing when no qualifying multiplier is specified
Wayne Davison [Thu, 11 Nov 2004 01:16:31 +0000 (01:16 +0000)]
Fixed the option-parsing when no qualifying multiplier is specified
(e.g. --max-size=283743874).

19 years agoFixed failing hunks.
Wayne Davison [Wed, 3 Nov 2004 23:15:53 +0000 (23:15 +0000)]
Fixed failing hunks.

19 years agoUpdated to work with latest g2r changes.
Wayne Davison [Wed, 3 Nov 2004 23:00:57 +0000 (23:00 +0000)]
Updated to work with latest g2r changes.

19 years agoMake --inplace work with --compare-dest, and efficient too.
Wayne Davison [Wed, 3 Nov 2004 22:45:53 +0000 (22:45 +0000)]
Make --inplace work with --compare-dest, and efficient too.

19 years agoAdded the FNAMECMP_CMPDEST define to avoid a literal 0 in the code.
Wayne Davison [Wed, 3 Nov 2004 20:19:27 +0000 (20:19 +0000)]
Added the FNAMECMP_CMPDEST define to avoid a literal 0 in the code.

19 years agoOptimized the flushing of the buffered I/O when we're writing the
Wayne Davison [Wed, 3 Nov 2004 19:59:47 +0000 (19:59 +0000)]
Optimized the flushing of the buffered I/O when we're writing the
g2r bytestream -- it only happens now if the g2r pipe fills up.

19 years agoA few more tweaks to sysacls.c and sysacls.h.
Wayne Davison [Wed, 20 Oct 2004 15:41:05 +0000 (15:41 +0000)]
A few more tweaks to sysacls.c and sysacls.h.

19 years ago- Put sysacls.c into lib because it is taken from samba and because
Wayne Davison [Wed, 20 Oct 2004 08:11:50 +0000 (08:11 +0000)]
- Put sysacls.c into lib because it is taken from samba and because
  it interferes with the generation of proto.h in the main dir.
- Synchronized sysacls.c with the lastest samba version from CVS.
- Created lib/sysacls.h to provide prototypes to acls.c, and also to
  define Realloc() for lib/sysacls.c.

19 years agoAdded a couple command-line options.
Wayne Davison [Wed, 20 Oct 2004 05:36:36 +0000 (05:36 +0000)]
Added a couple command-line options.

19 years agoGot rid of fuzz.
Wayne Davison [Thu, 14 Oct 2004 17:37:49 +0000 (17:37 +0000)]
Got rid of fuzz.

19 years agoFixed a failing hunk.
Wayne Davison [Thu, 14 Oct 2004 17:22:32 +0000 (17:22 +0000)]
Fixed a failing hunk.

19 years agoFixed failing hunk.
Wayne Davison [Thu, 14 Oct 2004 17:21:03 +0000 (17:21 +0000)]
Fixed failing hunk.

19 years agoFixed 2 failing hunks.
Wayne Davison [Thu, 14 Oct 2004 17:15:09 +0000 (17:15 +0000)]
Fixed 2 failing hunks.

19 years ago- Got rid of some compiler warnings (code moved from compare-dest.diff).
Wayne Davison [Sat, 9 Oct 2004 04:39:38 +0000 (04:39 +0000)]
- Got rid of some compiler warnings (code moved from compare-dest.diff).
- Fixed a failing hunk.

19 years agoAdded a variable to t_stub.c so that "make test" works.
Wayne Davison [Sat, 9 Oct 2004 04:39:33 +0000 (04:39 +0000)]
Added a variable to t_stub.c so that "make test" works.

19 years agoMoved some variable-init code into g2r-basis-filename.diff.
Wayne Davison [Sat, 9 Oct 2004 04:39:28 +0000 (04:39 +0000)]
Moved some variable-init code into g2r-basis-filename.diff.

19 years agoA recently added compare_dest check needed to be patched.
Wayne Davison [Sat, 9 Oct 2004 04:39:22 +0000 (04:39 +0000)]
A recently added compare_dest check needed to be patched.

19 years agoFixed a failing hunk.
Wayne Davison [Sat, 9 Oct 2004 04:39:15 +0000 (04:39 +0000)]
Fixed a failing hunk.

19 years ago- Handle autoconf/autoheader requirements better when asked to build.
Wayne Davison [Fri, 8 Oct 2004 21:06:20 +0000 (21:06 +0000)]
- Handle autoconf/autoheader requirements better when asked to build.
- Look for ./configure options specified in the opening comments and
  use it/them when asked to build.

19 years agoFixed a build problem and a few bugs that crept into the
Wayne Davison [Fri, 8 Oct 2004 21:04:06 +0000 (21:04 +0000)]
Fixed a build problem and a few bugs that crept into the
implementation.

19 years agoRemoved now that an even better version of this patch was checked
Wayne Davison [Fri, 1 Oct 2004 07:00:25 +0000 (07:00 +0000)]
Removed now that an even better version of this patch was checked
into CVS.

19 years agoThis no longer depends on mkfifo.diff.
Wayne Davison [Fri, 1 Oct 2004 06:59:21 +0000 (06:59 +0000)]
This no longer depends on mkfifo.diff.