Wayne Davison [Tue, 3 Aug 2004 16:13:39 +0000 (16:13 +0000)]
Got rid of fuzz.
Wayne Davison [Tue, 3 Aug 2004 16:13:14 +0000 (16:13 +0000)]
Fixed a failig hunk.
Wayne Davison [Fri, 30 Jul 2004 18:30:00 +0000 (18:30 +0000)]
Updated to work with the latest g2r-basis-filename patch.
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.
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).
Wayne Davison [Thu, 29 Jul 2004 17:22:58 +0000 (17:22 +0000)]
Reflect the new skip_file() calling args.
Wayne Davison [Thu, 29 Jul 2004 17:20:59 +0000 (17:20 +0000)]
Got rid of the extra compare_dest scan in skip_file().
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.
Wayne Davison [Thu, 29 Jul 2004 16:26:30 +0000 (16:26 +0000)]
Got rid of failing or fuzzy hunks.
Wayne Davison [Thu, 29 Jul 2004 16:26:08 +0000 (16:26 +0000)]
No more need for the partial-dir.diff dependency.
Wayne Davison [Thu, 29 Jul 2004 16:07:38 +0000 (16:07 +0000)]
Applied.
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).
Wayne Davison [Wed, 28 Jul 2004 17:16:48 +0000 (17:16 +0000)]
Fix failing hunks.
Wayne Davison [Wed, 28 Jul 2004 17:16:29 +0000 (17:16 +0000)]
Modified to depend on the partial-dir.diff.
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.
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.
Wayne Davison [Mon, 26 Jul 2004 06:36:25 +0000 (06:36 +0000)]
Fix some fuzz in the --help text hunks.
Wayne Davison [Mon, 26 Jul 2004 06:32:13 +0000 (06:32 +0000)]
Fixed failing hunk.
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.
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).
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.
Wayne Davison [Fri, 23 Jul 2004 19:40:29 +0000 (19:40 +0000)]
Implement a --partial-dir=DIR option.
Wayne Davison [Fri, 23 Jul 2004 17:22:20 +0000 (17:22 +0000)]
Work with latest g2r-basis-filename.diff patch.
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.
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).
Wayne Davison [Thu, 22 Jul 2004 00:35:33 +0000 (00:35 +0000)]
Got rid of failures and fuzz.
Wayne Davison [Wed, 21 Jul 2004 01:52:03 +0000 (01:52 +0000)]
Updated.
Wayne Davison [Mon, 19 Jul 2004 17:17:10 +0000 (17:17 +0000)]
Fixed failing hunks.
Wayne Davison [Mon, 19 Jul 2004 08:40:56 +0000 (08:40 +0000)]
Tweaked a label name.
Wayne Davison [Mon, 19 Jul 2004 08:40:20 +0000 (08:40 +0000)]
Updated to apply over the latest g2r-basis-filename.diff patch.
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).
Wayne Davison [Sat, 17 Jul 2004 15:34:53 +0000 (15:34 +0000)]
Fixed for latest source.
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.
Wayne Davison [Fri, 16 Jul 2004 20:25:01 +0000 (20:25 +0000)]
Updated.
Wayne Davison [Fri, 16 Jul 2004 20:07:06 +0000 (20:07 +0000)]
Has been applied to CVS.
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.
Wayne Davison [Fri, 16 Jul 2004 17:02:12 +0000 (17:02 +0000)]
Fixed the return type on the new links_depth() function.
Wayne Davison [Fri, 16 Jul 2004 16:43:30 +0000 (16:43 +0000)]
A proposed --links-depth option.
Wayne Davison [Thu, 15 Jul 2004 17:06:41 +0000 (17:06 +0000)]
Updated to apply to latest source.
Wayne Davison [Thu, 15 Jul 2004 16:51:35 +0000 (16:51 +0000)]
Reset @rejects for each new patch application.
Wayne Davison [Thu, 15 Jul 2004 02:20:45 +0000 (02:20 +0000)]
No longer needed after batch-file rewrite.
Wayne Davison [Wed, 14 Jul 2004 17:35:51 +0000 (17:35 +0000)]
Cleanup any reject files after a dependency patch fails to apply.
Wayne Davison [Wed, 7 Jul 2004 08:41:55 +0000 (08:41 +0000)]
Updated to use match.c's new "want_i" variable.
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.
Wayne Davison [Sun, 4 Jul 2004 09:02:18 +0000 (09:02 +0000)]
Got rid of extra comparisons in compare_targets().
Wayne Davison [Sun, 4 Jul 2004 09:01:32 +0000 (09:01 +0000)]
Ignore "tmp".
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.
Wayne Davison [Sat, 3 Jul 2004 21:22:43 +0000 (21:22 +0000)]
Updated the format using the new verify-patches script.
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.
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).
Wayne Davison [Sat, 3 Jul 2004 00:18:40 +0000 (00:18 +0000)]
Modified to work with the trunk's hash_search() optimization.
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.
Wayne Davison [Wed, 30 Jun 2004 07:46:23 +0000 (07:46 +0000)]
Updated to apply cleanly.
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.
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.
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).
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.
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.
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.
Wayne Davison [Wed, 23 Jun 2004 17:36:50 +0000 (17:36 +0000)]
Fixed a typo.
Wayne Davison [Wed, 23 Jun 2004 17:32:40 +0000 (17:32 +0000)]
Optimized the calling of access() in one loop.
Wayne Davison [Wed, 23 Jun 2004 17:14:40 +0000 (17:14 +0000)]
A modified version of Vidar Madsen's --compare-dest patch.
Wayne Davison [Sun, 20 Jun 2004 21:17:38 +0000 (21:17 +0000)]
Updated to apply cleanly.
Wayne Davison [Fri, 18 Jun 2004 17:19:10 +0000 (17:19 +0000)]
Some improvements from Chris Shoemaker.
Wayne Davison [Tue, 15 Jun 2004 16:21:00 +0000 (16:21 +0000)]
Added missing documentation.
Wayne Davison [Tue, 15 Jun 2004 15:37:47 +0000 (15:37 +0000)]
Add a --max-size option.
Wayne Davison [Wed, 9 Jun 2004 21:58:15 +0000 (21:58 +0000)]
Fixed a failed hunk.
Wayne Davison [Wed, 9 Jun 2004 21:51:35 +0000 (21:51 +0000)]
Applied to CVS.
Wayne Davison [Wed, 9 Jun 2004 15:39:15 +0000 (15:39 +0000)]
Fixed a failure.
Wayne Davison [Wed, 9 Jun 2004 15:39:08 +0000 (15:39 +0000)]
Got rid of some fuzz.
Wayne Davison [Sun, 6 Jun 2004 21:30:35 +0000 (21:30 +0000)]
Fixed fuzz and failed hunks.
Wayne Davison [Sun, 6 Jun 2004 21:29:38 +0000 (21:29 +0000)]
One minor tweak.
Wayne Davison [Sun, 6 Jun 2004 21:08:51 +0000 (21:08 +0000)]
Fixed a typo and added an extra note.
Wayne Davison [Sat, 5 Jun 2004 20:46:37 +0000 (20:46 +0000)]
Got rid of proto.h hunk.
Wayne Davison [Sat, 5 Jun 2004 20:39:47 +0000 (20:39 +0000)]
Allow an rsync-daemon to glob more than 1000 file entries.
Wayne Davison [Sat, 5 Jun 2004 16:21:15 +0000 (16:21 +0000)]
This has been merged into the main codebase.
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.
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.
Wayne Davison [Sat, 5 Jun 2004 15:37:46 +0000 (15:37 +0000)]
Put the new code in generator.c in a better spot.
Wayne Davison [Fri, 4 Jun 2004 07:15:22 +0000 (07:15 +0000)]
Improved the code that supports --inherit.
Wayne Davison [Fri, 4 Jun 2004 05:31:02 +0000 (05:31 +0000)]
Fixed failures/fuzz.
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.
Wayne Davison [Sun, 30 May 2004 22:50:43 +0000 (22:50 +0000)]
Made inheritance of parent-dir rules optional.
Wayne Davison [Sun, 30 May 2004 22:47:49 +0000 (22:47 +0000)]
Removed an unneeded '{' that my tweaking should have removed.
Wayne Davison [Sat, 29 May 2004 21:34:26 +0000 (21:34 +0000)]
New patch from Eran Tromer (tweaked for CVS).
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.
Wayne Davison [Sat, 22 May 2004 19:38:07 +0000 (19:38 +0000)]
Fixed some failing hunks.
Wayne Davison [Sat, 22 May 2004 19:37:32 +0000 (19:37 +0000)]
Got rid of some fuzz.
Wayne Davison [Sat, 22 May 2004 19:36:36 +0000 (19:36 +0000)]
Updated the exclude test to test merge files.
Wayne Davison [Sat, 22 May 2004 06:46:26 +0000 (06:46 +0000)]
Improved the docs.
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.
Wayne Davison [Fri, 21 May 2004 23:54:57 +0000 (23:54 +0000)]
Improved the push/pop/search-for-dup code.
Wayne Davison [Fri, 21 May 2004 09:44:45 +0000 (09:44 +0000)]
Removed applied patch.
Wayne Davison [Fri, 21 May 2004 09:32:50 +0000 (09:32 +0000)]
Improved the manpage markup a little.
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.
Wayne Davison [Fri, 21 May 2004 09:14:48 +0000 (09:14 +0000)]
Fixed failed hunks.
Wayne Davison [Fri, 21 May 2004 08:13:41 +0000 (08:13 +0000)]
Removing applied patch.
Wayne Davison [Fri, 21 May 2004 08:12:47 +0000 (08:12 +0000)]
Fixed the logic in the write-only check.
Wayne Davison [Tue, 18 May 2004 09:53:28 +0000 (09:53 +0000)]
Fixed failing hunks.
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).