rsync/rsync.git
14 years agoIgnore generated files and dirs.
Wayne Davison [Fri, 9 Nov 2007 19:55:00 +0000 (19:55 +0000)]
Ignore generated files and dirs.

14 years agoTweaked gensend to upload man pages too.
Wayne Davison [Fri, 9 Nov 2007 19:31:20 +0000 (19:31 +0000)]
Tweaked gensend to upload man pages too.

14 years agoInclude the arg name for the lp_*() funtions.
Wayne Davison [Fri, 9 Nov 2007 19:28:27 +0000 (19:28 +0000)]
Include the arg name for the lp_*() funtions.

14 years agoSimplified script even more for HP-UX.
Wayne Davison [Fri, 9 Nov 2007 19:14:51 +0000 (19:14 +0000)]
Simplified script even more for HP-UX.

14 years agoUse older open() style for compatibility with older perl versions.
Wayne Davison [Fri, 9 Nov 2007 18:15:52 +0000 (18:15 +0000)]
Use older open() style for compatibility with older perl versions.

14 years agoImproved the manpage install rules.
Wayne Davison [Fri, 9 Nov 2007 18:12:40 +0000 (18:12 +0000)]
Improved the manpage install rules.

14 years agoDon't fail the install if the man pages aren't there.
Wayne Davison [Fri, 9 Nov 2007 18:04:50 +0000 (18:04 +0000)]
Don't fail the install if the man pages aren't there.

14 years agoClean generated files for distclean.
Wayne Davison [Fri, 9 Nov 2007 17:56:00 +0000 (17:56 +0000)]
Clean generated files for distclean.

14 years agoAdded gensend target.
Wayne Davison [Fri, 9 Nov 2007 17:50:10 +0000 (17:50 +0000)]
Added gensend target.

14 years agoLet's try using perl for building proto.h.
Wayne Davison [Fri, 9 Nov 2007 17:40:56 +0000 (17:40 +0000)]
Let's try using perl for building proto.h.

14 years agoImproved configure bootstrap to try to build generated files
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.

14 years agoThis is an attempt to remove generated files from the rsync repository
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.

14 years agoPreparing for release of 3.0.0pre5
Wayne Davison [Fri, 9 Nov 2007 04:49:18 +0000 (04:49 +0000)]
Preparing for release of 3.0.0pre5

14 years agoWhen performing a --dry-run, output a "(DRY RUN)" reminder on the
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.

14 years agoMention latest changes.
Wayne Davison [Fri, 9 Nov 2007 04:32:58 +0000 (04:32 +0000)]
Mention latest changes.

14 years agoGot rid of a compiler warning.
Wayne Davison [Thu, 8 Nov 2007 20:30:17 +0000 (20:30 +0000)]
Got rid of a compiler warning.

14 years agoSome fixes for SCO in new getaddrinfo() code.
Wayne Davison [Thu, 8 Nov 2007 14:54:58 +0000 (14:54 +0000)]
Some fixes for SCO in new getaddrinfo() code.

14 years agoUse uint32, not uint32_t.
Wayne Davison [Thu, 8 Nov 2007 01:31:58 +0000 (01:31 +0000)]
Use uint32, not uint32_t.

14 years agoAdd back a define of "struct sockaddr_storage" for systems that
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.

14 years agoImprove the man page and --help descriptions of --dry-run. In
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.

14 years agoTweaked an extern.
Wayne Davison [Tue, 6 Nov 2007 15:32:55 +0000 (15:32 +0000)]
Tweaked an extern.

14 years agoSome changes to allow an unsorted file list even if the iconv option
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.

14 years agoFixed some typos that Matt pointed out.
Wayne Davison [Mon, 5 Nov 2007 18:33:09 +0000 (18:33 +0000)]
Fixed some typos that Matt pointed out.

14 years agoMake sure that get_xattr_data() never tries to malloc 0 bytes.
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.

14 years agoIf the xattr data is bogus in get_rsync_acl(), free the buffer.
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.

14 years agoFixed get_xattr_acl() -- it needed to zero *len_p.
Wayne Davison [Mon, 5 Nov 2007 15:02:30 +0000 (15:02 +0000)]
Fixed get_xattr_acl() -- it needed to zero *len_p.

14 years agoGot rid of a redundant mtime check.
Wayne Davison [Mon, 5 Nov 2007 15:02:27 +0000 (15:02 +0000)]
Got rid of a redundant mtime check.

14 years agoConditional symlink-checking code in unchanged_attrs() should be
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.

14 years agoHave unchanged_attrs() check the mtime on items where we can
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.

14 years agoMake sure that the user has write permissions when opening a temp file.
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.

14 years agoStop password errors from getting reported as transfer errors.
Wayne Davison [Sat, 3 Nov 2007 18:14:36 +0000 (18:14 +0000)]
Stop password errors from getting reported as transfer errors.

14 years ago- Renamed updating_basis -> updating_basis_or_equiv.
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.

14 years agoA better way to count our queued workload.
Wayne Davison [Sat, 3 Nov 2007 16:30:30 +0000 (16:30 +0000)]
A better way to count our queued workload.

14 years agoFixed hang when --hard-links was processing a large directory
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.

14 years agoAvoid verbose output during the forwarding of flist data (for now,
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).

14 years agoIn mplex_write(), make extra sure something unexpected doesn't get
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.

14 years agoThe HAVE_UTIMBUF define changed to HAVE_STRUCT_UTIMBUF.
Wayne Davison [Fri, 2 Nov 2007 20:53:04 +0000 (20:53 +0000)]
The HAVE_UTIMBUF define changed to HAVE_STRUCT_UTIMBUF.

14 years agoA new version of the getaddrinfo code from the samba source.
Wayne Davison [Fri, 2 Nov 2007 20:52:57 +0000 (20:52 +0000)]
A new version of the getaddrinfo code from the samba source.

14 years agoMake use of the HAVE_NETDB_H define.
Wayne Davison [Fri, 2 Nov 2007 20:52:52 +0000 (20:52 +0000)]
Make use of the HAVE_NETDB_H define.

14 years agoChanges to handle new getaddrinfo code.
Wayne Davison [Fri, 2 Nov 2007 20:52:46 +0000 (20:52 +0000)]
Changes to handle new getaddrinfo code.

14 years agoAdded AC_HAVE_TYPE().
Wayne Davison [Fri, 2 Nov 2007 20:52:33 +0000 (20:52 +0000)]
Added AC_HAVE_TYPE().

14 years agoOne more SUBPROTOCOL_VERSION increase for iconv change.
Wayne Davison [Wed, 31 Oct 2007 15:01:26 +0000 (15:01 +0000)]
One more SUBPROTOCOL_VERSION increase for iconv change.

14 years ago- In --iconv mode, we can't lower the ndx_end value because dirs
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".

14 years agoIncrement the SUBPROTOCOL_VERSION.
Wayne Davison [Wed, 31 Oct 2007 05:48:56 +0000 (05:48 +0000)]
Increment the SUBPROTOCOL_VERSION.

14 years agoSet ndx_start to 1 only for an inc-recursive transfer.
Wayne Davison [Wed, 31 Oct 2007 05:48:25 +0000 (05:48 +0000)]
Set ndx_start to 1 only for an inc-recursive transfer.

14 years ago- Handle a dot-dir-containing flist using its parent_ndx value.
Wayne Davison [Wed, 31 Oct 2007 04:43:36 +0000 (04:43 +0000)]
- Handle a dot-dir-containing flist using its parent_ndx value.

14 years ago- Fixed a problem with merging dot dirs with non-dot-dir args
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.

14 years agoCall clean_fname() with new flag arg.
Wayne Davison [Wed, 31 Oct 2007 04:43:29 +0000 (04:43 +0000)]
Call clean_fname() with new flag arg.

14 years agoChanged clean_fname() to take a flag int instead of a BOOL. Added
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).

14 years ago- Define the new CFN_* flags for clean_fname().
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".

14 years agoAvoid a crash if we read an index value without a valid first_flist.
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.

14 years agoSuggest -Z as a good popt alias letter instead of -s.
Wayne Davison [Wed, 31 Oct 2007 00:51:48 +0000 (00:51 +0000)]
Suggest -Z as a good popt alias letter instead of -s.

14 years agoMention that --keep-dirlinks can be dangerous if there are
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.

14 years agoFixed --one-file-system handling when dealing with multiple
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.

14 years agoMy version of Matt's cleanup patch from bug 5051. This makes
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).

14 years agoMade some more char pointers const.
Wayne Davison [Sun, 28 Oct 2007 21:42:41 +0000 (21:42 +0000)]
Made some more char pointers const.

14 years agoDon't call copy_file() for a dry-run. (Thanks, Matt!)
Wayne Davison [Sun, 28 Oct 2007 20:03:00 +0000 (20:03 +0000)]
Don't call copy_file() for a dry-run.  (Thanks, Matt!)

14 years agoFixed setting of updating_basis value.
Wayne Davison [Sun, 28 Oct 2007 06:51:50 +0000 (06:51 +0000)]
Fixed setting of updating_basis value.

14 years agoPreparing for release of 3.0.0pre4
Wayne Davison [Sat, 27 Oct 2007 05:09:06 +0000 (05:09 +0000)]
Preparing for release of 3.0.0pre4

14 years agoFixed a problem with build_hash_table() getting called too
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.

14 years agoWhen listing a bare module name w/o -r, make sure we list the
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.

14 years agoPreparing for release of 3.0.0pre3
Wayne Davison [Sat, 27 Oct 2007 00:00:21 +0000 (00:00 +0000)]
Preparing for release of 3.0.0pre3

14 years agoChunk a really large file to avoid sender-side hash-table
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.

14 years agoFixed problem with anchored filter and an absolute
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.

14 years agoMention .git/ exclude.
Wayne Davison [Thu, 25 Oct 2007 02:05:43 +0000 (02:05 +0000)]
Mention .git/ exclude.

14 years agoAdded .git/ to "CVS" excludes.
Wayne Davison [Thu, 25 Oct 2007 02:05:05 +0000 (02:05 +0000)]
Added .git/ to "CVS" excludes.

14 years agoWe need to provide iconvbufs() anytime ICONV_CONST is defined.
Wayne Davison [Thu, 25 Oct 2007 01:40:17 +0000 (01:40 +0000)]
We need to provide iconvbufs() anytime ICONV_CONST is defined.

14 years agoA few more improvements.
Wayne Davison [Sun, 21 Oct 2007 22:30:49 +0000 (22:30 +0000)]
A few more improvements.

14 years agoImproved a description.
Wayne Davison [Sun, 21 Oct 2007 21:53:20 +0000 (21:53 +0000)]
Improved a description.

14 years agoMake last fix even better.
Wayne Davison [Sun, 21 Oct 2007 21:52:25 +0000 (21:52 +0000)]
Make last fix even better.

14 years agoAvoid dropping a hard-linked itemized output with -ii.
Wayne Davison [Sun, 21 Oct 2007 16:50:31 +0000 (16:50 +0000)]
Avoid dropping a hard-linked itemized output with -ii.

14 years agoGot rid of a couple compiler warnings when SUPPORT_HARD_LINKS is not
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.

14 years agoImproved a couple entries.
Wayne Davison [Thu, 18 Oct 2007 19:47:41 +0000 (19:47 +0000)]
Improved a couple entries.

14 years agoWe can't decrement the in_progress value for a hard-linked file until
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.

14 years agoTypedef any missing types.
Wayne Davison [Wed, 17 Oct 2007 14:15:22 +0000 (14:15 +0000)]
Typedef any missing types.

14 years agoAdd checking for id_t, and changed some of the type checking to use
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.)

14 years agoChanged a word in an error message.
Wayne Davison [Tue, 16 Oct 2007 22:42:10 +0000 (22:42 +0000)]
Changed a word in an error message.

14 years agoTweaked set_allow_inc_recurse() a bit more.
Wayne Davison [Tue, 16 Oct 2007 18:33:47 +0000 (18:33 +0000)]
Tweaked set_allow_inc_recurse() a bit more.

14 years agoThe start of some updated "thanks".
Wayne Davison [Tue, 16 Oct 2007 16:19:40 +0000 (16:19 +0000)]
The start of some updated "thanks".

14 years agoAdding Wesley Terpstra's lchmod()-equivalent that uses setattrlist().
Wayne Davison [Tue, 16 Oct 2007 16:00:41 +0000 (16:00 +0000)]
Adding Wesley Terpstra's lchmod()-equivalent that uses setattrlist().

14 years agoWe now report symlink mode changes if HAVE_SETATTRLIST is defined.
Wayne Davison [Tue, 16 Oct 2007 16:00:34 +0000 (16:00 +0000)]
We now report symlink mode changes if HAVE_SETATTRLIST is defined.

14 years agoAdded checks for setattrlist and sys/attr.h.
Wayne Davison [Tue, 16 Oct 2007 16:00:31 +0000 (16:00 +0000)]
Added checks for setattrlist and sys/attr.h.

14 years agoCall set_allow_inc_recurse() for situations that don't call server_options().
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().

14 years ago- Send an 'i' in the -e arg to the server if we can support inc_recurse.
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.

14 years ago- Moved the arg-checking relating into set_allow_inc_recurse() and
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.

14 years agoIncremented the SUBPROTOCOL_VERSION.
Wayne Davison [Tue, 16 Oct 2007 15:10:05 +0000 (15:10 +0000)]
Incremented the SUBPROTOCOL_VERSION.

14 years agoWe don't need to send --no-i-r anymore.
Wayne Davison [Tue, 16 Oct 2007 04:08:25 +0000 (04:08 +0000)]
We don't need to send --no-i-r anymore.

14 years agoWrite out the inc_recurse flag into a protocol-30 batch file.
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.

14 years ago- Send a flag from the client to the server to indicate if the protocol
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.

14 years agoIncremented the SUBPROTOCOL_VERSION.
Wayne Davison [Tue, 16 Oct 2007 04:08:14 +0000 (04:08 +0000)]
Incremented the SUBPROTOCOL_VERSION.

14 years agoAdded braces to an empty "if" (to avoid any complaints from a compiler
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).

14 years agoIf there's no lchmod(), don't itemize permission differences for
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.

14 years agoIf the user told us to use a password file and we used it, there's
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.

14 years agoFixed a typo in a comment.
Wayne Davison [Sun, 14 Oct 2007 18:55:49 +0000 (18:55 +0000)]
Fixed a typo in a comment.

14 years agoForward MSG_IO_ERROR to the generator so that it can disable deletions.
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.

14 years agoImprovements surrounding --list-only and --dirs.
Wayne Davison [Sat, 13 Oct 2007 04:32:53 +0000 (04:32 +0000)]
Improvements surrounding --list-only and --dirs.

14 years agoGet the version # right in the changelog.
Wayne Davison [Fri, 12 Oct 2007 14:08:19 +0000 (14:08 +0000)]
Get the version # right in the changelog.

14 years agoModify the changelog section in the .spec file for each release.
Wayne Davison [Fri, 12 Oct 2007 14:04:29 +0000 (14:04 +0000)]
Modify the changelog section in the .spec file for each release.

14 years agoFixed the day of the week.
Wayne Davison [Fri, 12 Oct 2007 14:04:00 +0000 (14:04 +0000)]
Fixed the day of the week.

14 years agoImproved the summary, the description, and the changelog.
Wayne Davison [Fri, 12 Oct 2007 13:57:37 +0000 (13:57 +0000)]
Improved the summary, the description, and the changelog.