Wayne Davison [Fri, 9 Nov 2007 17:56:00 +0000 (17:56 +0000)]
Clean generated files for distclean.
Wayne Davison [Fri, 9 Nov 2007 17:50:10 +0000 (17:50 +0000)]
Added gensend target.
Wayne Davison [Fri, 9 Nov 2007 17:40:56 +0000 (17:40 +0000)]
Let's try using perl for building proto.h.
Wayne Davison [Fri, 9 Nov 2007 16:56:46 +0000 (16:56 +0000)]
Improved configure bootstrap to try to build generated files
before fetching them.
Wayne Davison [Fri, 9 Nov 2007 16:22:20 +0000 (16:22 +0000)]
This is an attempt to remove generated files from the rsync repository
while still supporting the samba build farm. Let's see if it works.
Wayne Davison [Fri, 9 Nov 2007 04:49:18 +0000 (04:49 +0000)]
Preparing for release of 3.0.0pre5
Wayne Davison [Fri, 9 Nov 2007 04:48:10 +0000 (04:48 +0000)]
When performing a --dry-run, output a "(DRY RUN)" reminder on the
last line of the verbose summary text.
Wayne Davison [Fri, 9 Nov 2007 04:32:58 +0000 (04:32 +0000)]
Mention latest changes.
Wayne Davison [Thu, 8 Nov 2007 20:30:17 +0000 (20:30 +0000)]
Got rid of a compiler warning.
Wayne Davison [Thu, 8 Nov 2007 14:54:58 +0000 (14:54 +0000)]
Some fixes for SCO in new getaddrinfo() code.
Wayne Davison [Thu, 8 Nov 2007 01:31:58 +0000 (01:31 +0000)]
Use uint32, not uint32_t.
Wayne Davison [Thu, 8 Nov 2007 01:10:34 +0000 (01:10 +0000)]
Add back a define of "struct sockaddr_storage" for systems that
don't have it.
Wayne Davison [Thu, 8 Nov 2007 00:06:48 +0000 (00:06 +0000)]
Improve the man page and --help descriptions of --dry-run. In
particular, make it clear that --dry-run turns off action without
turning on verbosity, and has some incomplete/inaccurate stats.
Wayne Davison [Tue, 6 Nov 2007 15:32:55 +0000 (15:32 +0000)]
Tweaked an extern.
Wayne Davison [Tue, 6 Nov 2007 15:25:02 +0000 (15:25 +0000)]
Some changes to allow an unsorted file list even if the iconv option
was disabled via configure.
Wayne Davison [Mon, 5 Nov 2007 18:33:09 +0000 (18:33 +0000)]
Fixed some typos that Matt pointed out.
Wayne Davison [Mon, 5 Nov 2007 18:15:04 +0000 (18:15 +0000)]
Make sure that get_xattr_data() never tries to malloc 0 bytes.
Wayne Davison [Mon, 5 Nov 2007 18:15:01 +0000 (18:15 +0000)]
If the xattr data is bogus in get_rsync_acl(), free the buffer.
Wayne Davison [Mon, 5 Nov 2007 15:02:30 +0000 (15:02 +0000)]
Fixed get_xattr_acl() -- it needed to zero *len_p.
Wayne Davison [Mon, 5 Nov 2007 15:02:27 +0000 (15:02 +0000)]
Got rid of a redundant mtime check.
Wayne Davison [Sun, 4 Nov 2007 06:43:01 +0000 (06:43 +0000)]
Conditional symlink-checking code in unchanged_attrs() should be
checking HAVE_LUTIMES.
Wayne Davison [Sat, 3 Nov 2007 21:14:16 +0000 (21:14 +0000)]
Have unchanged_attrs() check the mtime on items where we can
affect the time, even if unchanged_file() might have already
checked it.
Wayne Davison [Sat, 3 Nov 2007 19:27:49 +0000 (19:27 +0000)]
Make sure that the user has write permissions when opening a temp file.
Wayne Davison [Sat, 3 Nov 2007 18:14:36 +0000 (18:14 +0000)]
Stop password errors from getting reported as transfer errors.
Wayne Davison [Sat, 3 Nov 2007 16:57:17 +0000 (16:57 +0000)]
- Renamed updating_basis -> updating_basis_or_equiv.
- Set updating_basis_or_equiv if we're inplace-updating a
file using the backup file as the basis.
Wayne Davison [Sat, 3 Nov 2007 16:30:30 +0000 (16:30 +0000)]
A better way to count our queued workload.
Wayne Davison [Sat, 3 Nov 2007 15:27:14 +0000 (15:27 +0000)]
Fixed hang when --hard-links was processing a large directory
hierarchy with no files.
Wayne Davison [Sat, 3 Nov 2007 07:20:09 +0000 (07:20 +0000)]
Avoid verbose output during the forwarding of flist data (for now,
at least).
Wayne Davison [Sat, 3 Nov 2007 07:20:05 +0000 (07:20 +0000)]
In mplex_write(), make extra sure something unexpected doesn't get
put between the split output of a long buffer.
Wayne Davison [Fri, 2 Nov 2007 20:53:04 +0000 (20:53 +0000)]
The HAVE_UTIMBUF define changed to HAVE_STRUCT_UTIMBUF.
Wayne Davison [Fri, 2 Nov 2007 20:52:57 +0000 (20:52 +0000)]
A new version of the getaddrinfo code from the samba source.
Wayne Davison [Fri, 2 Nov 2007 20:52:52 +0000 (20:52 +0000)]
Make use of the HAVE_NETDB_H define.
Wayne Davison [Fri, 2 Nov 2007 20:52:46 +0000 (20:52 +0000)]
Changes to handle new getaddrinfo code.
Wayne Davison [Fri, 2 Nov 2007 20:52:33 +0000 (20:52 +0000)]
Added AC_HAVE_TYPE().
Wayne Davison [Wed, 31 Oct 2007 15:01:26 +0000 (15:01 +0000)]
One more SUBPROTOCOL_VERSION increase for iconv change.
Wayne Davison [Wed, 31 Oct 2007 14:02:51 +0000 (14:02 +0000)]
- In --iconv mode, we can't lower the ndx_end value because dirs
aren't sorted to the end.
- Made output_flist() output from "files" instead of "sorted".
Wayne Davison [Wed, 31 Oct 2007 05:48:56 +0000 (05:48 +0000)]
Increment the SUBPROTOCOL_VERSION.
Wayne Davison [Wed, 31 Oct 2007 05:48:25 +0000 (05:48 +0000)]
Set ndx_start to 1 only for an inc-recursive transfer.
Wayne Davison [Wed, 31 Oct 2007 04:43:36 +0000 (04:43 +0000)]
- Handle a dot-dir-containing flist using its parent_ndx value.
Wayne Davison [Wed, 31 Oct 2007 04:43:32 +0000 (04:43 +0000)]
- Fixed a problem with merging dot dirs with non-dot-dir args
in inc-recursive mode.
- Clean up a relative name to remove interior dot dirs and extra
slashes.
- Fixed the error output about /../ in a -R path after a /./ cut-off.
- Changed the starting ndx value to 1 so that a dot-dir flist can
use 0 to refer to its parent (".") directory.
Wayne Davison [Wed, 31 Oct 2007 04:43:29 +0000 (04:43 +0000)]
Call clean_fname() with new flag arg.
Wayne Davison [Wed, 31 Oct 2007 04:43:25 +0000 (04:43 +0000)]
Changed clean_fname() to take a flag int instead of a BOOL. Added
a few extra cleaning options (all off by default).
Wayne Davison [Wed, 31 Oct 2007 04:43:22 +0000 (04:43 +0000)]
- Define the new CFN_* flags for clean_fname().
- Changed struct relnamecache's "is_dot_dir" member to "name_type".
Wayne Davison [Wed, 31 Oct 2007 04:43:19 +0000 (04:43 +0000)]
Avoid a crash if we read an index value without a valid first_flist.
Wayne Davison [Wed, 31 Oct 2007 00:51:48 +0000 (00:51 +0000)]
Suggest -Z as a good popt alias letter instead of -s.
Wayne Davison [Tue, 30 Oct 2007 15:00:40 +0000 (15:00 +0000)]
Mention that --keep-dirlinks can be dangerous if there are
untrusted symlinks in the transfer.
Wayne Davison [Tue, 30 Oct 2007 02:24:03 +0000 (02:24 +0000)]
Fixed --one-file-system handling when dealing with multiple
user-specified mount points in inc-recursive mode.
Wayne Davison [Mon, 29 Oct 2007 20:43:34 +0000 (20:43 +0000)]
My version of Matt's cleanup patch from bug 5051. This makes
--copy-dest use a temp file when not in in-place mode, and has
various improvments for the code. I have also "#if 0"ed the code
in the receiver that makes missing directories to see if we can
figure out if it is needed (and if so, what for).
Wayne Davison [Sun, 28 Oct 2007 21:42:41 +0000 (21:42 +0000)]
Made some more char pointers const.
Wayne Davison [Sun, 28 Oct 2007 20:03:00 +0000 (20:03 +0000)]
Don't call copy_file() for a dry-run. (Thanks, Matt!)
Wayne Davison [Sun, 28 Oct 2007 06:51:50 +0000 (06:51 +0000)]
Fixed setting of updating_basis value.
Wayne Davison [Sat, 27 Oct 2007 05:09:06 +0000 (05:09 +0000)]
Preparing for release of 3.0.0pre4
Wayne Davison [Sat, 27 Oct 2007 04:41:18 +0000 (04:41 +0000)]
Fixed a problem with build_hash_table() getting called too
often when overwriting a shorter file.
Wayne Davison [Sat, 27 Oct 2007 02:19:49 +0000 (02:19 +0000)]
When listing a bare module name w/o -r, make sure we list the
contents of the module's root directory.
Wayne Davison [Sat, 27 Oct 2007 00:00:21 +0000 (00:00 +0000)]
Preparing for release of 3.0.0pre3
Wayne Davison [Fri, 26 Oct 2007 22:11:19 +0000 (22:11 +0000)]
Chunk a really large file to avoid sender-side hash-table
overload.
Wayne Davison [Fri, 26 Oct 2007 16:53:02 +0000 (16:53 +0000)]
Fixed problem with anchored filter and an absolute
source path with --relative.
Wayne Davison [Thu, 25 Oct 2007 02:05:43 +0000 (02:05 +0000)]
Mention .git/ exclude.
Wayne Davison [Thu, 25 Oct 2007 02:05:05 +0000 (02:05 +0000)]
Added .git/ to "CVS" excludes.
Wayne Davison [Thu, 25 Oct 2007 01:40:17 +0000 (01:40 +0000)]
We need to provide iconvbufs() anytime ICONV_CONST is defined.
Wayne Davison [Sun, 21 Oct 2007 22:30:49 +0000 (22:30 +0000)]
A few more improvements.
Wayne Davison [Sun, 21 Oct 2007 21:53:20 +0000 (21:53 +0000)]
Improved a description.
Wayne Davison [Sun, 21 Oct 2007 21:52:25 +0000 (21:52 +0000)]
Make last fix even better.
Wayne Davison [Sun, 21 Oct 2007 16:50:31 +0000 (16:50 +0000)]
Avoid dropping a hard-linked itemized output with -ii.
Wayne Davison [Sat, 20 Oct 2007 06:19:01 +0000 (06:19 +0000)]
Got rid of a couple compiler warnings when SUPPORT_HARD_LINKS is not
defined.
Wayne Davison [Thu, 18 Oct 2007 19:47:41 +0000 (19:47 +0000)]
Improved a couple entries.
Wayne Davison [Thu, 18 Oct 2007 14:04:42 +0000 (14:04 +0000)]
We can't decrement the in_progress value for a hard-linked file until
the generator gets a chance to finish the hard links.
Wayne Davison [Wed, 17 Oct 2007 14:15:22 +0000 (14:15 +0000)]
Typedef any missing types.
Wayne Davison [Wed, 17 Oct 2007 14:15:18 +0000 (14:15 +0000)]
Add checking for id_t, and changed some of the type checking to use
the newer, recommended method. (Couldn't switch uid_t and gid_t.)
Wayne Davison [Tue, 16 Oct 2007 22:42:10 +0000 (22:42 +0000)]
Changed a word in an error message.
Wayne Davison [Tue, 16 Oct 2007 18:33:47 +0000 (18:33 +0000)]
Tweaked set_allow_inc_recurse() a bit more.
Wayne Davison [Tue, 16 Oct 2007 16:19:40 +0000 (16:19 +0000)]
The start of some updated "thanks".
Wayne Davison [Tue, 16 Oct 2007 16:00:41 +0000 (16:00 +0000)]
Adding Wesley Terpstra's lchmod()-equivalent that uses setattrlist().
Wayne Davison [Tue, 16 Oct 2007 16:00:34 +0000 (16:00 +0000)]
We now report symlink mode changes if HAVE_SETATTRLIST is defined.
Wayne Davison [Tue, 16 Oct 2007 16:00:31 +0000 (16:00 +0000)]
Added checks for setattrlist and sys/attr.h.
Wayne Davison [Tue, 16 Oct 2007 15:10:17 +0000 (15:10 +0000)]
Call set_allow_inc_recurse() for situations that don't call server_options().
Wayne Davison [Tue, 16 Oct 2007 15:10:12 +0000 (15:10 +0000)]
- Send an 'i' in the -e arg to the server if we can support inc_recurse.
- Got rid of some unneeded blocking_io value twiddling.
- Send --use-qsort to the server if it was specified.
Wayne Davison [Tue, 16 Oct 2007 15:10:09 +0000 (15:10 +0000)]
- Moved the arg-checking relating into set_allow_inc_recurse() and
call it when the server is in setup_protocol(). The function sets
allow_inc_recurse to 0 if some options won't allow us to support
an incremental-recursive transfer.
- The server now checks for an 'i' in the -e option from the client
and zeros out allow_inc_recurse if not found.
- The server reports its inc_recurse determination back to the client.
- The client sets inc_recurse based on the value it gets from the server.
Wayne Davison [Tue, 16 Oct 2007 15:10:05 +0000 (15:10 +0000)]
Incremented the SUBPROTOCOL_VERSION.
Wayne Davison [Tue, 16 Oct 2007 04:08:25 +0000 (04:08 +0000)]
We don't need to send --no-i-r anymore.
Wayne Davison [Tue, 16 Oct 2007 04:08:21 +0000 (04:08 +0000)]
Write out the inc_recurse flag into a protocol-30 batch file.
Wayne Davison [Tue, 16 Oct 2007 04:08:18 +0000 (04:08 +0000)]
- Send a flag from the client to the server to indicate if the protocol
is going to run in inc_recurse mode or not.
- Verify that the options we received (as a server or as a batch-reader)
are compatible with the requested inc_recurse mode.
Wayne Davison [Tue, 16 Oct 2007 04:08:14 +0000 (04:08 +0000)]
Incremented the SUBPROTOCOL_VERSION.
Wayne Davison [Mon, 15 Oct 2007 00:16:12 +0000 (00:16 +0000)]
Added braces to an empty "if" (to avoid any complaints from a compiler
that likes to point out an "if (...)" with a semicolon after it).
Wayne Davison [Mon, 15 Oct 2007 00:13:59 +0000 (00:13 +0000)]
If there's no lchmod(), don't itemize permission differences for
symlinks.
Wayne Davison [Sun, 14 Oct 2007 21:20:31 +0000 (21:20 +0000)]
If the user told us to use a password file and we used it, there's
no need to comment if a RSYNC_PASSWORD environment variable is set.
Wayne Davison [Sun, 14 Oct 2007 18:55:49 +0000 (18:55 +0000)]
Fixed a typo in a comment.
Wayne Davison [Sat, 13 Oct 2007 05:23:34 +0000 (05:23 +0000)]
Forward MSG_IO_ERROR to the generator so that it can disable deletions.
Wayne Davison [Sat, 13 Oct 2007 04:32:53 +0000 (04:32 +0000)]
Improvements surrounding --list-only and --dirs.
Wayne Davison [Fri, 12 Oct 2007 14:08:19 +0000 (14:08 +0000)]
Get the version # right in the changelog.
Wayne Davison [Fri, 12 Oct 2007 14:04:29 +0000 (14:04 +0000)]
Modify the changelog section in the .spec file for each release.
Wayne Davison [Fri, 12 Oct 2007 14:04:00 +0000 (14:04 +0000)]
Fixed the day of the week.
Wayne Davison [Fri, 12 Oct 2007 13:57:37 +0000 (13:57 +0000)]
Improved the summary, the description, and the changelog.
Wayne Davison [Fri, 12 Oct 2007 13:57:15 +0000 (13:57 +0000)]
Improved the initial description summary.
Wayne Davison [Fri, 12 Oct 2007 01:21:02 +0000 (01:21 +0000)]
One more tweak to the synopsis.
Wayne Davison [Fri, 12 Oct 2007 01:12:05 +0000 (01:12 +0000)]
Improvements suggested by Matt's improved manpage.
Wayne Davison [Fri, 12 Oct 2007 00:09:19 +0000 (00:09 +0000)]
Preparing for release of 3.0.0pre2
Wayne Davison [Fri, 12 Oct 2007 00:07:28 +0000 (00:07 +0000)]
Tweaked a couple minor things.
Wayne Davison [Wed, 10 Oct 2007 19:24:35 +0000 (19:24 +0000)]
Conditionalize the call to setup_iconv().
Wayne Davison [Mon, 8 Oct 2007 18:02:11 +0000 (18:02 +0000)]
- Use the new *_CONTENT_DIR flag names (was *_XFER_DIR).
- Check the FLAG_IMPLIED_DIR flag to find implied dirs.
- Expect flagged implied dirs for all protocol 30 transfers.