rsync/rsync-patches.git
19 years agoGot rid of fuzz.
Wayne Davison [Tue, 3 Aug 2004 16:13:39 +0000 (16:13 +0000)]
Got rid of fuzz.

19 years agoFixed a failig hunk.
Wayne Davison [Tue, 3 Aug 2004 16:13:14 +0000 (16:13 +0000)]
Fixed a failig hunk.

19 years agoUpdated to work with the latest g2r-basis-filename patch.
Wayne Davison [Fri, 30 Jul 2004 18:30:00 +0000 (18:30 +0000)]
Updated to work with the latest g2r-basis-filename patch.

19 years agoWorking with the new g2r-basis-filename patch, we just transmit the
Wayne Davison [Fri, 30 Jul 2004 18:29:03 +0000 (18:29 +0000)]
Working with the new g2r-basis-filename patch, we just transmit the
index of the compare-dest name we found, not the whole name.

19 years agoReduced the transmitted data on the generator-to-receiver pipe down
Wayne Davison [Fri, 30 Jul 2004 18:27:02 +0000 (18:27 +0000)]
Reduced the transmitted data on the generator-to-receiver pipe down
to just 1 byte in all cases (previously we would send the compare-dest
name down the pipe instead of a "use the compare-dest name" flag).

19 years agoReflect the new skip_file() calling args.
Wayne Davison [Thu, 29 Jul 2004 17:22:58 +0000 (17:22 +0000)]
Reflect the new skip_file() calling args.

19 years agoGot rid of the extra compare_dest scan in skip_file().
Wayne Davison [Thu, 29 Jul 2004 17:20:59 +0000 (17:20 +0000)]
Got rid of the extra compare_dest scan in skip_file().

19 years agoNo need to check-for/complain-about a lack of hard links for the
Wayne Davison [Thu, 29 Jul 2004 16:35:24 +0000 (16:35 +0000)]
No need to check-for/complain-about a lack of hard links for the
--compare-dest option.

19 years agoGot rid of failing or fuzzy hunks.
Wayne Davison [Thu, 29 Jul 2004 16:26:30 +0000 (16:26 +0000)]
Got rid of failing or fuzzy hunks.

19 years agoNo more need for the partial-dir.diff dependency.
Wayne Davison [Thu, 29 Jul 2004 16:26:08 +0000 (16:26 +0000)]
No more need for the partial-dir.diff dependency.

19 years agoApplied.
Wayne Davison [Thu, 29 Jul 2004 16:07:38 +0000 (16:07 +0000)]
Applied.

19 years agoOptimize the --partial-dir=. option (which is the same as just
Wayne Davison [Thu, 29 Jul 2004 16:07:23 +0000 (16:07 +0000)]
Optimize the --partial-dir=. option (which is the same as just
specifying --partial).

19 years agoFix failing hunks.
Wayne Davison [Wed, 28 Jul 2004 17:16:48 +0000 (17:16 +0000)]
Fix failing hunks.

19 years agoModified to depend on the partial-dir.diff.
Wayne Davison [Wed, 28 Jul 2004 17:16:29 +0000 (17:16 +0000)]
Modified to depend on the partial-dir.diff.

19 years ago- Needed to move the partial-dir check in the generator.
Wayne Davison [Wed, 28 Jul 2004 10:10:58 +0000 (10:10 +0000)]
- Needed to move the partial-dir check in the generator.
- Improved the docs some more.

19 years ago- Added defines for the 2 new literal args.
Wayne Davison [Wed, 28 Jul 2004 02:02:43 +0000 (02:02 +0000)]
- Added defines for the 2 new literal args.
- Improved some names (variable and function).
- Don't be quite so paranoid when creating a new dir (after all, the
  regular directory-creation code isn't that paranoid).
- Improved the docs.

19 years agoFix some fuzz in the --help text hunks.
Wayne Davison [Mon, 26 Jul 2004 06:36:25 +0000 (06:36 +0000)]
Fix some fuzz in the --help text hunks.

19 years agoFixed failing hunk.
Wayne Davison [Mon, 26 Jul 2004 06:32:13 +0000 (06:32 +0000)]
Fixed failing hunk.

19 years ago- Handle the receive-failed case properly.
Wayne Davison [Sun, 25 Jul 2004 17:45:16 +0000 (17:45 +0000)]
- Handle the receive-failed case properly.
- The warning/error for a verify failure now differentiates between
  retained (to the original file) and put into the partial-dir.
- Improved the docs.

19 years agoWhen we need to create the partial_dir directory, remove anything that
Wayne Davison [Sat, 24 Jul 2004 17:05:46 +0000 (17:05 +0000)]
When we need to create the partial_dir directory, remove anything that
might be in the way (such as a symlink).

19 years ago- Made a relative --partial-dir actually be relative to the current
Wayne Davison [Fri, 23 Jul 2004 21:54:35 +0000 (21:54 +0000)]
- Made a relative --partial-dir actually be relative to the current
  file's destination directory.
- Handle the case where we can't build the relative partial-dir path
  because it is too long.
- Sanitize the value for the daemon.

19 years agoImplement a --partial-dir=DIR option.
Wayne Davison [Fri, 23 Jul 2004 19:40:29 +0000 (19:40 +0000)]
Implement a --partial-dir=DIR option.

19 years agoWork with latest g2r-basis-filename.diff patch.
Wayne Davison [Fri, 23 Jul 2004 17:22:20 +0000 (17:22 +0000)]
Work with latest g2r-basis-filename.diff patch.

19 years ago- Make sure we can't block in the generator (use a kluge for now).
Wayne Davison [Fri, 23 Jul 2004 17:21:00 +0000 (17:21 +0000)]
- Make sure we can't block in the generator (use a kluge for now).
- Corrected an fd var reference in the read_batch receiver code.
- Tweaked a couple variable names.

19 years agoWhen --read-batch was specified, do not put the generator's output
Wayne Davison [Thu, 22 Jul 2004 03:12:12 +0000 (03:12 +0000)]
When --read-batch was specified, do not put the generator's output
into multiplexed mode (there's no sender to receive the messages).

19 years agoGot rid of failures and fuzz.
Wayne Davison [Thu, 22 Jul 2004 00:35:33 +0000 (00:35 +0000)]
Got rid of failures and fuzz.

19 years agoUpdated.
Wayne Davison [Wed, 21 Jul 2004 01:52:03 +0000 (01:52 +0000)]
Updated.

19 years agoFixed failing hunks.
Wayne Davison [Mon, 19 Jul 2004 17:17:10 +0000 (17:17 +0000)]
Fixed failing hunks.

19 years agoTweaked a label name.
Wayne Davison [Mon, 19 Jul 2004 08:40:56 +0000 (08:40 +0000)]
Tweaked a label name.

19 years agoUpdated to apply over the latest g2r-basis-filename.diff patch.
Wayne Davison [Mon, 19 Jul 2004 08:40:20 +0000 (08:40 +0000)]
Updated to apply over the latest g2r-basis-filename.diff patch.

19 years agoUpdated to handle --read-batch mode. This actually fixes a potential
Wayne Davison [Sat, 17 Jul 2004 21:31:34 +0000 (21:31 +0000)]
Updated to handle --read-batch mode.  This actually fixes a potential
race condition where the receiver can get ahead of the generator and
try to create files before the directories have been created (for
instance).

19 years agoFixed for latest source.
Wayne Davison [Sat, 17 Jul 2004 15:34:53 +0000 (15:34 +0000)]
Fixed for latest source.

19 years ago- Write a length prefix instead of a trailing null for the name that
Wayne Davison [Sat, 17 Jul 2004 15:33:49 +0000 (15:33 +0000)]
- Write a length prefix instead of a trailing null for the name that
  goes down the pipe from the generator to the receiver.
- Use the helper functions in io.c to read/write the pipe data (now
  that they have been improved to properly support non-main-socket
  fds).
- Make the generator side of the pipe non-blocking so that we can
  (and now do) monitor the incoming messages from the receiver while
  we're trying to send them the next name.

19 years agoUpdated.
Wayne Davison [Fri, 16 Jul 2004 20:25:01 +0000 (20:25 +0000)]
Updated.

19 years agoHas been applied to CVS.
Wayne Davison [Fri, 16 Jul 2004 20:07:06 +0000 (20:07 +0000)]
Has been applied to CVS.

19 years agoGot rid of the unused "i" value in struct sum_buf and replaced it
Wayne Davison [Fri, 16 Jul 2004 19:55:55 +0000 (19:55 +0000)]
Got rid of the unused "i" value in struct sum_buf and replaced it
will a "flags" value.

19 years agoFixed the return type on the new links_depth() function.
Wayne Davison [Fri, 16 Jul 2004 17:02:12 +0000 (17:02 +0000)]
Fixed the return type on the new links_depth() function.

19 years agoA proposed --links-depth option.
Wayne Davison [Fri, 16 Jul 2004 16:43:30 +0000 (16:43 +0000)]
A proposed --links-depth option.

19 years agoUpdated to apply to latest source.
Wayne Davison [Thu, 15 Jul 2004 17:06:41 +0000 (17:06 +0000)]
Updated to apply to latest source.

19 years agoReset @rejects for each new patch application.
Wayne Davison [Thu, 15 Jul 2004 16:51:35 +0000 (16:51 +0000)]
Reset @rejects for each new patch application.

19 years agoNo longer needed after batch-file rewrite.
Wayne Davison [Thu, 15 Jul 2004 02:20:45 +0000 (02:20 +0000)]
No longer needed after batch-file rewrite.

19 years agoCleanup any reject files after a dependency patch fails to apply.
Wayne Davison [Wed, 14 Jul 2004 17:35:51 +0000 (17:35 +0000)]
Cleanup any reject files after a dependency patch fails to apply.

19 years agoUpdated to use match.c's new "want_i" variable.
Wayne Davison [Wed, 7 Jul 2004 08:41:55 +0000 (08:41 +0000)]
Updated to use match.c's new "want_i" variable.

19 years agoA few more improvements to the input-parsing code and a couple
Wayne Davison [Tue, 6 Jul 2004 16:24:50 +0000 (16:24 +0000)]
A few more improvements to the input-parsing code and a couple
output tweaks.

19 years agoGot rid of extra comparisons in compare_targets().
Wayne Davison [Sun, 4 Jul 2004 09:02:18 +0000 (09:02 +0000)]
Got rid of extra comparisons in compare_targets().

19 years agoIgnore "tmp".
Wayne Davison [Sun, 4 Jul 2004 09:01:32 +0000 (09:01 +0000)]
Ignore "tmp".

19 years agoA few more improvements including an ability to build the patched
Wayne Davison [Sun, 4 Jul 2004 09:01:23 +0000 (09:01 +0000)]
A few more improvements including an ability to build the patched
source and to spawn a shell or run a command.

19 years agoUpdated the format using the new verify-patches script.
Wayne Davison [Sat, 3 Jul 2004 21:22:43 +0000 (21:22 +0000)]
Updated the format using the new verify-patches script.

19 years agoUse the new diff-dependency feature to make the patch depend on
Wayne Davison [Sat, 3 Jul 2004 21:22:30 +0000 (21:22 +0000)]
Use the new diff-dependency feature to make the patch depend on
g2r-basis-filename.diff.  Updated the format using the new
verify-patches script.

19 years agoTransformed shell script into perl script and improved it to allow
Wayne Davison [Sat, 3 Jul 2004 21:20:11 +0000 (21:20 +0000)]
Transformed shell script into perl script and improved it to allow
diffs to depend on other diffs.  Diffs are made locally now (not
using cvs) which makes them faster as well as making the date
header compatible with patch's -Z option (which we now use to
avoid useless changes to the diff headers).  Automatically exclude
generated files from the diff (such as proto.h).

19 years agoModified to work with the trunk's hash_search() optimization.
Wayne Davison [Sat, 3 Jul 2004 00:18:40 +0000 (00:18 +0000)]
Modified to work with the trunk's hash_search() optimization.

19 years ago- Added a test for ftruncate() to configure. If the function does not
Wayne Davison [Fri, 2 Jul 2004 21:26:42 +0000 (21:26 +0000)]
- Added a test for ftruncate() to configure.  If the function does not
  exist, we disable support for --inplace.
- Mention the availability of inplace support in the --version output.
- Improved the sorting of the targets to include sub-sorting the same
  target by sum1, sum2, and offset.  This makes the comparisons later
  when searching for matching targets more optimal.
- We now mark chunks that were at idential offsets so that we can
  potentially reuse them.
- Prefer a cunk with an identical offset over another matching chunk.
- Fixed a bug in one error message that was outputting fnametmp instead
  of fnamecmp.
- Don't call cleanup_set() for an inplace transfer.

19 years agoUpdated to apply cleanly.
Wayne Davison [Wed, 30 Jun 2004 07:46:23 +0000 (07:46 +0000)]
Updated to apply cleanly.

19 years agoIncorporated the g2r-basis-filename.diff changes so that we don't
Wayne Davison [Wed, 30 Jun 2004 07:38:53 +0000 (07:38 +0000)]
Incorporated the g2r-basis-filename.diff changes so that we don't
duplicate the fuzzy scan in the receiver that the generator already
performed.

19 years agoMerged in the g2r-basis-filename.diff changes so that the receiver
Wayne Davison [Wed, 30 Jun 2004 07:10:39 +0000 (07:10 +0000)]
Merged in the g2r-basis-filename.diff changes so that the receiver
does not have to duplicate all the compare-dest searching that the
generator had to do.

19 years agoAdded a pipe from the generator to the receiver that communicates
Wayne Davison [Tue, 29 Jun 2004 19:32:12 +0000 (19:32 +0000)]
Added a pipe from the generator to the receiver that communicates
what basis file we used to generate the file data (if it was not
the default name).

19 years agoSimplified the patch a lot, fixing the one failing testcase in the
Wayne Davison [Tue, 29 Jun 2004 17:49:00 +0000 (17:49 +0000)]
Simplified the patch a lot, fixing the one failing testcase in the
testsuite.  Very light testing of the result.

19 years agoAdded back the alternate.c file that got lost from the patch.
Wayne Davison [Tue, 29 Jun 2004 15:17:45 +0000 (15:17 +0000)]
Added back the alternate.c file that got lost from the patch.

19 years ago- Got rid of the main.c bugfix (it is now in CVS).
Wayne Davison [Mon, 28 Jun 2004 21:17:25 +0000 (21:17 +0000)]
- Got rid of the main.c bugfix (it is now in CVS).
- Improved some stuff in await_fds().
- Tweaked some stuff in the opening comments.

19 years agoFixed a typo.
Wayne Davison [Wed, 23 Jun 2004 17:36:50 +0000 (17:36 +0000)]
Fixed a typo.

19 years agoOptimized the calling of access() in one loop.
Wayne Davison [Wed, 23 Jun 2004 17:32:40 +0000 (17:32 +0000)]
Optimized the calling of access() in one loop.

19 years agoA modified version of Vidar Madsen's --compare-dest patch.
Wayne Davison [Wed, 23 Jun 2004 17:14:40 +0000 (17:14 +0000)]
A modified version of Vidar Madsen's --compare-dest patch.

19 years agoUpdated to apply cleanly.
Wayne Davison [Sun, 20 Jun 2004 21:17:38 +0000 (21:17 +0000)]
Updated to apply cleanly.

19 years agoSome improvements from Chris Shoemaker.
Wayne Davison [Fri, 18 Jun 2004 17:19:10 +0000 (17:19 +0000)]
Some improvements from Chris Shoemaker.

19 years agoAdded missing documentation.
Wayne Davison [Tue, 15 Jun 2004 16:21:00 +0000 (16:21 +0000)]
Added missing documentation.

19 years agoAdd a --max-size option.
Wayne Davison [Tue, 15 Jun 2004 15:37:47 +0000 (15:37 +0000)]
Add a --max-size option.

19 years agoFixed a failed hunk.
Wayne Davison [Wed, 9 Jun 2004 21:58:15 +0000 (21:58 +0000)]
Fixed a failed hunk.

19 years agoApplied to CVS.
Wayne Davison [Wed, 9 Jun 2004 21:51:35 +0000 (21:51 +0000)]
Applied to CVS.

19 years agoFixed a failure.
Wayne Davison [Wed, 9 Jun 2004 15:39:15 +0000 (15:39 +0000)]
Fixed a failure.

19 years agoGot rid of some fuzz.
Wayne Davison [Wed, 9 Jun 2004 15:39:08 +0000 (15:39 +0000)]
Got rid of some fuzz.

19 years agoFixed fuzz and failed hunks.
Wayne Davison [Sun, 6 Jun 2004 21:30:35 +0000 (21:30 +0000)]
Fixed fuzz and failed hunks.

19 years agoOne minor tweak.
Wayne Davison [Sun, 6 Jun 2004 21:29:38 +0000 (21:29 +0000)]
One minor tweak.

19 years agoFixed a typo and added an extra note.
Wayne Davison [Sun, 6 Jun 2004 21:08:51 +0000 (21:08 +0000)]
Fixed a typo and added an extra note.

19 years agoGot rid of proto.h hunk.
Wayne Davison [Sat, 5 Jun 2004 20:46:37 +0000 (20:46 +0000)]
Got rid of proto.h hunk.

19 years agoAllow an rsync-daemon to glob more than 1000 file entries.
Wayne Davison [Sat, 5 Jun 2004 20:39:47 +0000 (20:39 +0000)]
Allow an rsync-daemon to glob more than 1000 file entries.

19 years agoThis has been merged into the main codebase.
Wayne Davison [Sat, 5 Jun 2004 16:21:15 +0000 (16:21 +0000)]
This has been merged into the main codebase.

19 years agoSimplified the code that avoids the re-stat for already-existing dirs.
Wayne Davison [Sat, 5 Jun 2004 16:12:41 +0000 (16:12 +0000)]
Simplified the code that avoids the re-stat for already-existing dirs.

19 years agoDon't let set_perms() re-stat an existing directory or it will not set
Wayne Davison [Sat, 5 Jun 2004 16:00:28 +0000 (16:00 +0000)]
Don't let set_perms() re-stat an existing directory or it will not set
the modify time on the symlinked dirs.

19 years agoPut the new code in generator.c in a better spot.
Wayne Davison [Sat, 5 Jun 2004 15:37:46 +0000 (15:37 +0000)]
Put the new code in generator.c in a better spot.

19 years agoImproved the code that supports --inherit.
Wayne Davison [Fri, 4 Jun 2004 07:15:22 +0000 (07:15 +0000)]
Improved the code that supports --inherit.

19 years agoFixed failures/fuzz.
Wayne Davison [Fri, 4 Jun 2004 05:31:02 +0000 (05:31 +0000)]
Fixed failures/fuzz.

19 years agoNew option allows a symlink to a dir on the receiver where a dir is
Wayne Davison [Fri, 4 Jun 2004 05:09:46 +0000 (05:09 +0000)]
New option allows a symlink to a dir on the receiver where a dir is
on the sender.

20 years agoMade inheritance of parent-dir rules optional.
Wayne Davison [Sun, 30 May 2004 22:50:43 +0000 (22:50 +0000)]
Made inheritance of parent-dir rules optional.

20 years agoRemoved an unneeded '{' that my tweaking should have removed.
Wayne Davison [Sun, 30 May 2004 22:47:49 +0000 (22:47 +0000)]
Removed an unneeded '{' that my tweaking should have removed.

20 years agoNew patch from Eran Tromer (tweaked for CVS).
Wayne Davison [Sat, 29 May 2004 21:34:26 +0000 (21:34 +0000)]
New patch from Eran Tromer (tweaked for CVS).

20 years ago- Improved the sanitize_path() logic for merged include files.
Wayne Davison [Mon, 24 May 2004 00:47:04 +0000 (00:47 +0000)]
- Improved the sanitize_path() logic for merged include files.
- Added a debug message for every include/exclude file we read in.
- Tweaked the exclude.test file a little more.

20 years agoFixed some failing hunks.
Wayne Davison [Sat, 22 May 2004 19:38:07 +0000 (19:38 +0000)]
Fixed some failing hunks.

20 years agoGot rid of some fuzz.
Wayne Davison [Sat, 22 May 2004 19:37:32 +0000 (19:37 +0000)]
Got rid of some fuzz.

20 years agoUpdated the exclude test to test merge files.
Wayne Davison [Sat, 22 May 2004 19:36:36 +0000 (19:36 +0000)]
Updated the exclude test to test merge files.

20 years agoImproved the docs.
Wayne Davison [Sat, 22 May 2004 06:46:26 +0000 (06:46 +0000)]
Improved the docs.

20 years agoChanged order of list-clearing loop in pop_local_excludes() to avoid
Wayne Davison [Sat, 22 May 2004 06:05:24 +0000 (06:05 +0000)]
Changed order of list-clearing loop in pop_local_excludes() to avoid
accessing already-freed memory.

20 years agoImproved the push/pop/search-for-dup code.
Wayne Davison [Fri, 21 May 2004 23:54:57 +0000 (23:54 +0000)]
Improved the push/pop/search-for-dup code.

20 years agoRemoved applied patch.
Wayne Davison [Fri, 21 May 2004 09:44:45 +0000 (09:44 +0000)]
Removed applied patch.

20 years agoImproved the manpage markup a little.
Wayne Davison [Fri, 21 May 2004 09:32:50 +0000 (09:32 +0000)]
Improved the manpage markup a little.

20 years agoStrip off the new "a/" and "b/" path prefixes in the diff headers.
Wayne Davison [Fri, 21 May 2004 09:18:47 +0000 (09:18 +0000)]
Strip off the new "a/" and "b/" path prefixes in the diff headers.

20 years agoFixed failed hunks.
Wayne Davison [Fri, 21 May 2004 09:14:48 +0000 (09:14 +0000)]
Fixed failed hunks.

20 years agoRemoving applied patch.
Wayne Davison [Fri, 21 May 2004 08:13:41 +0000 (08:13 +0000)]
Removing applied patch.

20 years agoFixed the logic in the write-only check.
Wayne Davison [Fri, 21 May 2004 08:12:47 +0000 (08:12 +0000)]
Fixed the logic in the write-only check.

20 years agoFixed failing hunks.
Wayne Davison [Tue, 18 May 2004 09:53:28 +0000 (09:53 +0000)]
Fixed failing hunks.

20 years agoDo a better job of finding the .rej files to edit (since they can
Wayne Davison [Tue, 18 May 2004 09:52:32 +0000 (09:52 +0000)]
Do a better job of finding the .rej files to edit (since they can
be in a subdir).