Wayne Davison [Sat, 15 Mar 2008 18:25:01 +0000 (11:25 -0700)]
Fixed the use of --protect-args (-s) with a daemon.
Wayne Davison [Sat, 15 Mar 2008 15:51:07 +0000 (08:51 -0700)]
Generate a helpful message when we get an option-error from a daemon
while requesting a file-listing and we suspect that the remote rsync
is complaining about the -d option.
Wayne Davison [Sat, 15 Mar 2008 14:27:33 +0000 (07:27 -0700)]
Another optimization of "bp" adding when creating a file_struct.
Wayne Davison [Sat, 15 Mar 2008 14:26:46 +0000 (07:26 -0700)]
Got rid of some useless uses of the -t option.
Wayne Davison [Sat, 15 Mar 2008 07:43:31 +0000 (00:43 -0700)]
- Fixed a crash bug when backing up files with ACLs enabled and we
create a directory in the backup-path area.
- Fixed a bug where make_file() was setting F_PATHNAME() on the
receiving side.
- A non-pool (temp-memory) file structure now stores the size of
its extra_cnt value in the F_DEPTH() int so that unmake_file()
can always be sure of how to free() the memory.
- The ACL-preserving code no longer allocates 4 more bytes per
file entry than it needs.
- Got rid of a useless adding of the symlink length to "bp".
Wayne Davison [Sat, 15 Mar 2008 05:55:59 +0000 (22:55 -0700)]
Have configure check to see if /usr/include/popt/popt.h is around
(rather than /usr/include/popt.h), and use the included popt lib
if it is (to avoid a potential conflict due to our use of -I.).
Wayne Davison [Fri, 14 Mar 2008 00:45:13 +0000 (17:45 -0700)]
(Matt) More itemize clarifications.
Wayne Davison [Wed, 12 Mar 2008 23:51:13 +0000 (16:51 -0700)]
Clarify that the change/checksum itemize flag can be missing
when talking to older rsync versions.
Wayne Davison [Tue, 11 Mar 2008 21:50:21 +0000 (14:50 -0700)]
Fixed the 'T' itemized output for a symlink the right way this time.
Wayne Davison [Tue, 11 Mar 2008 14:25:31 +0000 (07:25 -0700)]
- One more fix for the 'T' itemized output for a symlink when we're
the client on the receiving side of a protocol-29 connection.
Wayne Davison [Tue, 11 Mar 2008 04:40:04 +0000 (21:40 -0700)]
(Matt) Add missing --no-y option.
Wayne Davison [Tue, 11 Mar 2008 04:15:37 +0000 (21:15 -0700)]
Fixed some itemized logging failures:
- If a symlink/device/special-file changes its value without any
attribute changes, the itemized event no longer gets dropped.
- We put a 'c' into the checksum/change field now to indicate when
a symlink/device/special-file changes its value without changing
its type. This lets us properly interpret the --copy-links output
to know which items are getting copied without changes and which
are getting created with new content.
- Fixed the 'T' itemized output for a symlink when rsync tries to
set the right time but fails due to lack of OS/disk support.
Wayne Davison [Mon, 10 Mar 2008 02:50:51 +0000 (19:50 -0700)]
Fixed the itemizing of perms with -E.
Wayne Davison [Sat, 8 Mar 2008 18:54:17 +0000 (10:54 -0800)]
Some popt improvements:
- Fixed a bug in short-opt parsing when an abutting arg has an '='.
- Allow a short-opt to be separated from its arg by an '='.
- Avoid an IBM-checker warning about an impossible case in a switch
and a warning about a potential NULL-pointer dereference.
- Fixed a memory leak.
Wayne Davison [Sat, 8 Mar 2008 01:13:38 +0000 (17:13 -0800)]
Fixed the latest xattrs tests on OS X.
Wayne Davison [Sat, 8 Mar 2008 00:45:26 +0000 (16:45 -0800)]
Restore a long-attribute test that was temporarily disabled.
Wayne Davison [Sat, 8 Mar 2008 00:41:09 +0000 (16:41 -0800)]
Fixed a syntax problem for non-HAVE_LINUX_ATTRS systems.
Wayne Davison [Sat, 8 Mar 2008 00:25:05 +0000 (16:25 -0800)]
Handle the very latest spot for the nightly dir.
Wayne Davison [Sat, 8 Mar 2008 00:16:29 +0000 (16:16 -0800)]
Fixed the interaction of --fake-super with --link-dest & --xattrs.
Fixed the munging of non-user namespace xattrs w/--fake-super.
Fixed the sorting of received xattrs when name-munging occurs.
Added xattr tests to verify that these things stay fixed.
Wayne Davison [Fri, 7 Mar 2008 23:23:39 +0000 (15:23 -0800)]
The --fake-super option conflicts with -XX (which copies internal
rsync xattrs literally).
Wayne Davison [Thu, 6 Mar 2008 17:40:46 +0000 (09:40 -0800)]
Simplify the description of what we're doing.
Wayne Davison [Thu, 6 Mar 2008 17:38:48 +0000 (09:38 -0800)]
Added even more no-OPTION overrides.
Wayne Davison [Thu, 6 Mar 2008 17:36:57 +0000 (09:36 -0800)]
Made the description of ignored symlink errors more accurate.
Wayne Davison [Wed, 5 Mar 2008 07:56:45 +0000 (23:56 -0800)]
Updated nightly-rsync and release-rsync to handle the new
ftp directory layout.
Wayne Davison [Wed, 5 Mar 2008 06:50:41 +0000 (22:50 -0800)]
Updated rrsync to deal with the latest 3.0.0's use of the -e option.
Added a couple more long options that might get passed.
Wayne Davison [Wed, 5 Mar 2008 06:48:01 +0000 (22:48 -0800)]
Don't call utimes() on a dir that doesn't need its mtime changed.
Wayne Davison [Wed, 5 Mar 2008 05:46:00 +0000 (21:46 -0800)]
- Made the itemize test check for CAN_HARDLINK_SYMLINK define instead
of running its own test using ln.
- Made the merge test call checkit with absolute paths so that some
folk's cd command won't foul things up with extra output.
Wayne Davison [Tue, 4 Mar 2008 02:33:11 +0000 (18:33 -0800)]
Fixing a problem with a NULL config_file pointer when accessing
a single-use daemon without no --config option specified. Added
a test to ensure that this doesn't break in the future.
Wayne Davison [Mon, 3 Mar 2008 19:37:42 +0000 (11:37 -0800)]
Improved the error-checking when tweaking the files for a new release.
Wayne Davison [Mon, 3 Mar 2008 16:46:30 +0000 (08:46 -0800)]
Updated copyright year in --version output and improved the release
script to look for year changes in options.c and to get the version
defaults totally right in the prompts.
Wayne Davison [Mon, 3 Mar 2008 15:16:38 +0000 (07:16 -0800)]
Fixed a thinko and a typo in the --append option.
Wayne Davison [Sun, 2 Mar 2008 05:00:41 +0000 (21:00 -0800)]
Show the last compile error if we failed to create rounding.h.
Wayne Davison [Sun, 2 Mar 2008 04:35:18 +0000 (20:35 -0800)]
Tweak the files to start work on the next release.
The work-in-progress version is 3.0.1dev.
Wayne Davison [Sat, 1 Mar 2008 20:12:04 +0000 (12:12 -0800)]
Preparing for release of 3.0.0
Wayne Davison [Sat, 1 Mar 2008 20:01:41 +0000 (12:01 -0800)]
Include 2008 in the copyright years.
Wayne Davison [Sat, 1 Mar 2008 19:26:03 +0000 (11:26 -0800)]
Fixed the lastversion default when changing from a pre-release
to a final release. Ensure that newly-created "extra files"
get included in the diff.
Wayne Davison [Sat, 1 Mar 2008 17:47:13 +0000 (09:47 -0800)]
Mention a couple more items of note.
Wayne Davison [Thu, 28 Feb 2008 01:48:25 +0000 (17:48 -0800)]
Use variables to hold the constant itemized strings so
that future changes are easier to make.
Wayne Davison [Thu, 28 Feb 2008 00:19:05 +0000 (16:19 -0800)]
Temporarily set uid_ndx in the delete code if the transfer is not
preserving ownership, but we want to know what the UIDs are on the
files we're deleting. Changed the DEL_OWNED_BY_US flag to be
DEL_NO_UID_WRITE, which is only set when a file is owned by us and
we can't write to it. Fixed a glitch in the error handling of the
--delete-delay code where it might try to enable delete-after in
incremental-transfer mode. Made a simple (well tested) optimization
in the --delete-delay code and a few other readability changes.
Wayne Davison [Thu, 28 Feb 2008 00:15:14 +0000 (16:15 -0800)]
Use preserve_[ug]id values for send/recv checking, which will
allow the delete code to temporarily set [ug]id_ndx during
delete processing, as needed. Got rid of a couple duplicate
tests.
Wayne Davison [Wed, 27 Feb 2008 15:19:13 +0000 (07:19 -0800)]
Added missing init_iconv() call when initiating a daemon transfer.
Wayne Davison [Sun, 24 Feb 2008 21:16:01 +0000 (13:16 -0800)]
Don't force the user to start from the master branch when any
clean starting branch will do. Return to the starting branch.
Wayne Davison [Sun, 24 Feb 2008 04:55:01 +0000 (20:55 -0800)]
Fixed the description of the 'x' in the itemized output.
Wayne Davison [Sat, 23 Feb 2008 16:14:18 +0000 (08:14 -0800)]
Added a default to the new switch in str_acl_type().
Wayne Davison [Sat, 23 Feb 2008 15:44:55 +0000 (07:44 -0800)]
Check the return code from mbr_uid_to_uuid()/mbr_gid_to_uuid() so
that the user sees the right error if they failed.
Wayne Davison [Sat, 23 Feb 2008 15:31:29 +0000 (07:31 -0800)]
Tweaked the ACL type-names returned by str_acl_type()
so that error messages are a little clearer.
Wayne Davison [Fri, 22 Feb 2008 23:15:32 +0000 (15:15 -0800)]
Cast ai->ai_addrlen to int for an rprintf() call using %d.
Wayne Davison [Fri, 22 Feb 2008 04:51:54 +0000 (20:51 -0800)]
The code expects id_t and mode_t to be unsigned, so the code now defines
each one to be unsigned int (instead of int) when the type is missing.
Wayne Davison [Wed, 20 Feb 2008 17:52:33 +0000 (09:52 -0800)]
Improved several things in the NEWS files, including some typos
that Matt fixed.
Wayne Davison [Wed, 20 Feb 2008 03:17:08 +0000 (19:17 -0800)]
Output info on what's being signed to make it clearer
what is happening. Improved the final admonition.
Wayne Davison [Wed, 20 Feb 2008 02:28:00 +0000 (18:28 -0800)]
Preparing for release of 3.0.0pre10
Wayne Davison [Wed, 20 Feb 2008 00:35:22 +0000 (16:35 -0800)]
Make a few more char pointers const.
Wayne Davison [Tue, 19 Feb 2008 19:52:00 +0000 (11:52 -0800)]
Tweaked a comparison that "checker" was complaining about.
Wayne Davison [Tue, 19 Feb 2008 01:16:08 +0000 (17:16 -0800)]
Fixed the hard-link check again, adding a comment as to
why it is coded the way it is.
Wayne Davison [Tue, 19 Feb 2008 00:48:20 +0000 (16:48 -0800)]
Fixed a compilation problem when iconv support is disabled.
Wayne Davison [Tue, 19 Feb 2008 00:48:04 +0000 (16:48 -0800)]
Only set FLAG_TIME_FAILED if receiver_symlink_times is set.
Wayne Davison [Mon, 18 Feb 2008 22:10:13 +0000 (14:10 -0800)]
Extended the protocol-30 info-passing code at startup, and use it to
tell the client if the server can set the times on a symlink (both
the server->client byte and the client->server use of -e). Make use
of this info to allow the proper output of the 't' flag when rsync
can set the time on a symlink (and we're talking protocol >= 30).
Added output of "[no] symtimes" info in the --version message.
Fixed the itemize.test so that it works when rsync believes that it
can set the time of a symlink, but it can't really do it.
Wayne Davison [Mon, 18 Feb 2008 20:42:04 +0000 (12:42 -0800)]
Added --no-one-file-system and --no-x options.
Wayne Davison [Mon, 18 Feb 2008 18:02:35 +0000 (10:02 -0800)]
Some permssion fixes:
- Changed itemized output to only report 'p' with -p or -E.
- Fixed a duplicate output of a link-dest file with -vv but no -i.
- Improved unchanged_attrs() to handle -E.
Wayne Davison [Mon, 18 Feb 2008 17:59:44 +0000 (09:59 -0800)]
Fixed a typo reported in a Debian bug report.
Wayne Davison [Mon, 18 Feb 2008 16:25:15 +0000 (08:25 -0800)]
Mention the leading '*'-char rule for itemized output.
Wayne Davison [Mon, 18 Feb 2008 07:46:26 +0000 (23:46 -0800)]
Decided to pad the "*deleting" message to make the names line up.
Wayne Davison [Mon, 18 Feb 2008 07:44:52 +0000 (23:44 -0800)]
The daemon no longer logs a recv entry for a file that is not
actually being updated due to the --only-write-batch option.
Wayne Davison [Mon, 18 Feb 2008 06:11:44 +0000 (22:11 -0800)]
Don't output a duplicate warning when the daemon-config excludes a
directory or when a directory is ignored via --ignore-non-existing.
Use a new var, is_dir, to simplify the dir code in recv_generator().
Wayne Davison [Sat, 16 Feb 2008 22:45:22 +0000 (14:45 -0800)]
Use the name "ChangeLog" for the ftp copy of the repository history.
Wayne Davison [Sat, 16 Feb 2008 06:19:43 +0000 (22:19 -0800)]
A few minor changes, including better push_dir()/pop_dir() verbosity.
Wayne Davison [Sat, 16 Feb 2008 02:55:02 +0000 (18:55 -0800)]
Added a way to specify where the chroot should occur in the module's
path, which allows a daemon admin to have chroot protection and still
have files that are outside the transfer area (such as libraries).
Wayne Davison [Thu, 14 Feb 2008 21:24:16 +0000 (13:24 -0800)]
Some daemon security improvements, including the new parameters
"charset" and "numeric ids".
Wayne Davison [Wed, 13 Feb 2008 01:30:02 +0000 (17:30 -0800)]
(Matt) Dropped a superfluous word from a sentence.
Wayne Davison [Wed, 13 Feb 2008 01:29:09 +0000 (17:29 -0800)]
(Matt) Needed to remove a few more files for distclean target.
Wayne Davison [Mon, 11 Feb 2008 05:21:24 +0000 (21:21 -0800)]
A few more NEWS tweaks.
Wayne Davison [Mon, 11 Feb 2008 05:02:05 +0000 (21:02 -0800)]
Mention a couple more items.
Wayne Davison [Mon, 11 Feb 2008 04:39:31 +0000 (20:39 -0800)]
Made reconfigure target check if configure.sh was up-to-date.
Wayne Davison [Mon, 11 Feb 2008 04:16:25 +0000 (20:16 -0800)]
Preparing for release of 3.0.0pre9
Wayne Davison [Mon, 11 Feb 2008 04:10:13 +0000 (20:10 -0800)]
Some improvements for --hard-links and --filter options.
Wayne Davison [Sun, 10 Feb 2008 23:39:21 +0000 (15:39 -0800)]
One more fix in set_modtime() when we get ENOSYS on a symlink.
Wayne Davison [Sun, 10 Feb 2008 06:07:03 +0000 (22:07 -0800)]
Add a trailing slash to a modname arg that has no path information.
This ensures that the user gets a "skipping" message if they didn't
specify -r or -d. (A trailing-slash was already being added to a
lone modname for --list-only transfers.)
Wayne Davison [Sun, 10 Feb 2008 05:41:50 +0000 (21:41 -0800)]
Improved the "symlink has no referent" logic to work with all the
--copy*links options.
Wayne Davison [Sun, 10 Feb 2008 05:33:13 +0000 (21:33 -0800)]
Make do_recv() reset copy_unsafe_links too (just like it does for
copy_links and copy_dirlinks).
Wayne Davison [Sun, 10 Feb 2008 05:30:49 +0000 (21:30 -0800)]
Ignore exit-code 23 when we expect a daemon-excluded file to be excluded.
Wayne Davison [Thu, 7 Feb 2008 19:24:38 +0000 (11:24 -0800)]
(Matt) Made a daemon-refused file an FERROR_XFER with a better message.
Wayne Davison [Thu, 7 Feb 2008 15:24:58 +0000 (07:24 -0800)]
Re-indent some code in set_file_attrs() to make the flow clearer.
Wayne Davison [Thu, 7 Feb 2008 00:39:53 +0000 (16:39 -0800)]
Using rebase for the patches has become a failing-hunk
pain in the neck, so I'm switching to using merge.
Wayne Davison [Thu, 7 Feb 2008 00:13:37 +0000 (16:13 -0800)]
A daemon needs to call setup_iconv() after parsing the options
it receives.
Wayne Davison [Thu, 7 Feb 2008 00:06:33 +0000 (16:06 -0800)]
Fixed return code from hard_link_one() when not verbose.
Wayne Davison [Wed, 6 Feb 2008 15:52:00 +0000 (07:52 -0800)]
Make get_xattr_names() even safer at fetching the list of attr names.
Wayne Davison [Tue, 5 Feb 2008 05:17:27 +0000 (21:17 -0800)]
Only check F_OWNER() if uid_ndx is non-zero.
Wayne Davison [Mon, 4 Feb 2008 20:52:41 +0000 (12:52 -0800)]
Fixed local_child() so that the client side really does handle
the log-file writing.
Wayne Davison [Mon, 4 Feb 2008 20:30:19 +0000 (12:30 -0800)]
Don't try to use recv_xattr_request() with --dry-run. Fixes an
internal abbrev error on the sending side.
Wayne Davison [Mon, 4 Feb 2008 15:29:22 +0000 (07:29 -0800)]
Store the key64 flag from hashtable_create() in the hashtable structure
so that hashtable_find() knows which hashtable is which on a 64-bit
architecture.
Wayne Davison [Mon, 4 Feb 2008 08:12:01 +0000 (00:12 -0800)]
Fixed finding of parent's description when @ARGV doesn't mention it.
Wayne Davison [Mon, 4 Feb 2008 07:40:20 +0000 (23:40 -0800)]
Improved the usage message.
Wayne Davison [Mon, 4 Feb 2008 00:30:08 +0000 (16:30 -0800)]
Fixed a couple DEL_OWNED_BY_US glitches.
Wayne Davison [Sun, 3 Feb 2008 23:11:40 +0000 (15:11 -0800)]
Dump delete_item()'s "replace" var to reduce recursive stack use.
Wayne Davison [Sun, 3 Feb 2008 01:00:25 +0000 (17:00 -0800)]
Fixed the diffing of generated files when creating a patch that has
a parent that is not the master branch.
Wayne Davison [Wed, 30 Jan 2008 01:19:22 +0000 (17:19 -0800)]
Some extra password-clarification verbage from Matt.
Wayne Davison [Sun, 27 Jan 2008 22:39:49 +0000 (14:39 -0800)]
Fixed several glitches with failed updates and batch files:
- Correctly identify when a missing batch update is for a resend.
- Made a missing batch update an xfer error.
- Made a failed redo an xfer error.
- Identify a failed transfer file consistently when it is a solo file.
- Have --read-batch say "may try again" instead of "will try again".
Wayne Davison [Sat, 26 Jan 2008 19:56:27 +0000 (11:56 -0800)]
Moved the batch option checking until after the protocol-version
in the batch file is known. Also simplified the do_compress
checking, which had some erroneous def_compress_level code.
Wayne Davison [Sat, 26 Jan 2008 17:13:19 +0000 (09:13 -0800)]
Improved a comment.
Wayne Davison [Sat, 26 Jan 2008 16:47:02 +0000 (08:47 -0800)]
When removing a file/dir that is owned by us but does not have
owner-write permission, set it before the removal.