rsync/rsync.git
18 years ago- Optimized the msg_list_item structure to make the buffer an
Wayne Davison [Thu, 16 Mar 2006 00:57:54 +0000 (00:57 +0000)]
- Optimized the msg_list_item structure to make the buffer an
  integral part of the structure instead of pointer to a
  separately allocated buffer.
- Improved the code that was ensuring that no messages from the
  receiver could be merged into the middle of a partially written
  buffer from the generator.  The new code ensures that we never
  avoid reading the messages from the receiver (like we used to).
  This ensures that the generator will not hang when the receiver
  got a read error on the socket, sent us a message about it, but
  the socket in the generator never becomes writable for it to get
  a similar error (now we are assured of getting the receiver's
  note about their read error, and we know to shut things down).

18 years agoMention the log-file.diff.
Wayne Davison [Wed, 15 Mar 2006 18:47:31 +0000 (18:47 +0000)]
Mention the log-file.diff.

18 years agoGot rid of an errant newline.
Wayne Davison [Wed, 15 Mar 2006 16:54:13 +0000 (16:54 +0000)]
Got rid of an errant newline.

18 years agoImproved the regex to match syslog lines and be easier to read.
Wayne Davison [Mon, 13 Mar 2006 16:45:24 +0000 (16:45 +0000)]
Improved the regex to match syslog lines and be easier to read.

18 years agoChanging the version to 2.6.8cvs.
Wayne Davison [Mon, 13 Mar 2006 16:44:47 +0000 (16:44 +0000)]
Changing the version to 2.6.8cvs.

18 years agoStarting the news for 2.6.8.
Wayne Davison [Mon, 13 Mar 2006 16:42:50 +0000 (16:42 +0000)]
Starting the news for 2.6.8.

18 years agoRolling over the NEWS from 2.6.7.
Wayne Davison [Mon, 13 Mar 2006 16:42:33 +0000 (16:42 +0000)]
Rolling over the NEWS from 2.6.7.

18 years agoFixed a bug where the NEWS file got an extra newline inserted when
Wayne Davison [Mon, 13 Mar 2006 16:42:08 +0000 (16:42 +0000)]
Fixed a bug where the NEWS file got an extra newline inserted when
the release date was added.  Changed "ln -f" to "cp -p" because
samba.org doesn't allow ln to be used at the moment.

18 years agoAdded a test of a simple exclude when --relative is enabled.
Wayne Davison [Mon, 13 Mar 2006 01:57:13 +0000 (01:57 +0000)]
Added a test of a simple exclude when --relative is enabled.

18 years agoFixed a problem when copying an absolute source path with
Wayne Davison [Mon, 13 Mar 2006 01:56:19 +0000 (01:56 +0000)]
Fixed a problem when copying an absolute source path with
the --relative option enabled.

18 years agoBlock-quote the itemized list in the --stats section so that
Wayne Davison [Mon, 13 Mar 2006 00:45:07 +0000 (00:45 +0000)]
Block-quote the itemized list in the --stats section so that
it is indented in the manpage.

18 years agoPreparing for release of 2.6.7
Wayne Davison [Sat, 11 Mar 2006 18:43:42 +0000 (18:43 +0000)]
Preparing for release of 2.6.7

18 years agoMention solo-dir fix for a dir without S_IWUSR.
Wayne Davison [Sat, 11 Mar 2006 17:59:37 +0000 (17:59 +0000)]
Mention solo-dir fix for a dir without S_IWUSR.

18 years agoDon't force S_IWUSR on a solo directory transfer.
Wayne Davison [Fri, 10 Mar 2006 15:57:03 +0000 (15:57 +0000)]
Don't force S_IWUSR on a solo directory transfer.

18 years agoMake extra sure that authbuf can't overflow.
Wayne Davison [Tue, 7 Mar 2006 08:46:29 +0000 (08:46 +0000)]
Make extra sure that authbuf can't overflow.

18 years agoMention fix for Proxy-Authorization header.
Wayne Davison [Mon, 6 Mar 2006 18:28:06 +0000 (18:28 +0000)]
Mention fix for Proxy-Authorization header.

18 years agoCall base4_encode() with "1" for its new "pad" arg so that the
Wayne Davison [Mon, 6 Mar 2006 18:22:26 +0000 (18:22 +0000)]
Call base4_encode() with "1" for its new "pad" arg so that the
Proxy-Authorization header is properly padded with trailing '='
chars.

18 years agoThe base4_encode() function now takes a "pad" arg which indicates
Wayne Davison [Mon, 6 Mar 2006 18:22:20 +0000 (18:22 +0000)]
The base4_encode() function now takes a "pad" arg which indicates
if the caller wants to pad the value with trailing '=' chars.

18 years agoTweaked the mode of the files in the tar file.
Wayne Davison [Sat, 4 Mar 2006 08:21:58 +0000 (08:21 +0000)]
Tweaked the mode of the files in the tar file.

18 years agoSince the samba.org rsync is so old that it doesn't handle
Wayne Davison [Thu, 2 Mar 2006 23:42:56 +0000 (23:42 +0000)]
Since the samba.org rsync is so old that it doesn't handle
out-of-order hard-linked files, changed the script to do the
hard-linking manually.

18 years agoPreparing for release of 2.6.7pre3
Wayne Davison [Thu, 2 Mar 2006 22:49:27 +0000 (22:49 +0000)]
Preparing for release of 2.6.7pre3

18 years agoMention the get_local_name() change.
Wayne Davison [Thu, 2 Mar 2006 03:56:14 +0000 (03:56 +0000)]
Mention the get_local_name() change.

18 years agoDon't allow overwriting a non-directory with a directory (just
Wayne Davison [Thu, 2 Mar 2006 03:53:42 +0000 (03:53 +0000)]
Don't allow overwriting a non-directory with a directory (just
like cp).

18 years agoIf get_local_name() fails to stat() the destination for any
Wayne Davison [Thu, 2 Mar 2006 03:40:09 +0000 (03:40 +0000)]
If get_local_name() fails to stat() the destination for any
reason other than the destination does not exist, mention the
error and exit.

18 years agoA couple more improvements for --list-only.
Wayne Davison [Wed, 1 Mar 2006 01:04:57 +0000 (01:04 +0000)]
A couple more improvements for --list-only.

18 years agoImproved a couple sentences.
Wayne Davison [Wed, 1 Mar 2006 00:59:22 +0000 (00:59 +0000)]
Improved a couple sentences.

18 years agoOne more bugfix.
Wayne Davison [Tue, 28 Feb 2006 21:48:45 +0000 (21:48 +0000)]
One more bugfix.

18 years agoGot the order of s1 and s2 right in the debug output.
Wayne Davison [Tue, 28 Feb 2006 21:48:15 +0000 (21:48 +0000)]
Got the order of s1 and s2 right in the debug output.

18 years agoUpdate for hash-table change.
Wayne Davison [Tue, 28 Feb 2006 21:21:44 +0000 (21:21 +0000)]
Update for hash-table change.

18 years agoDecided to drop the dynamically sized hash table for now. This was
Wayne Davison [Tue, 28 Feb 2006 21:20:08 +0000 (21:20 +0000)]
Decided to drop the dynamically sized hash table for now.  This was
due to timing tests showing that the per-byte modulus calculation
slowed down regular sized files.  Kept the other improvements
because they lessened our memory use and actually sped up the code.

18 years agoRenamed sum_table -> hash_table.
Wayne Davison [Tue, 28 Feb 2006 07:32:48 +0000 (07:32 +0000)]
Renamed sum_table -> hash_table.

18 years agoChanged the name of GETTAG() to SUM2HASH().
Wayne Davison [Tue, 28 Feb 2006 01:00:03 +0000 (01:00 +0000)]
Changed the name of GETTAG() to SUM2HASH().

18 years agoEliminated one variable from hash_search().
Wayne Davison [Tue, 28 Feb 2006 00:31:51 +0000 (00:31 +0000)]
Eliminated one variable from hash_search().

18 years ago- Fixed a problem with the new gettag2() macro by getting rid of the
Wayne Davison [Tue, 28 Feb 2006 00:09:19 +0000 (00:09 +0000)]
- Fixed a problem with the new gettag2() macro by getting rid of the
  need for it.
- Fixed a really old bug in the verbose output where it would output
  the wrong sum value (off by one).
- Renamed the tag_hit variables & debug output to hash_hit.

18 years agoAdded --no-H and --no-hard-links.
Wayne Davison [Mon, 27 Feb 2006 23:35:18 +0000 (23:35 +0000)]
Added --no-H and --no-hard-links.

18 years agoMention the hash table change.
Wayne Davison [Mon, 27 Feb 2006 21:29:44 +0000 (21:29 +0000)]
Mention the hash table change.

18 years agoThis is Shachar Shemesh's patch for making the hash-table code
Wayne Davison [Mon, 27 Feb 2006 21:16:04 +0000 (21:16 +0000)]
This is Shachar Shemesh's patch for making the hash-table code
work better with large files.  I further modified it to eliminate
the extra level of indirectness (and the qsort()), which saves
memory.

18 years agoAdded a "chain" item to the struct sum_buf.
Wayne Davison [Mon, 27 Feb 2006 21:11:56 +0000 (21:11 +0000)]
Added a "chain" item to the struct sum_buf.

18 years agoTweaked a sentence.
Wayne Davison [Mon, 27 Feb 2006 20:53:35 +0000 (20:53 +0000)]
Tweaked a sentence.

18 years agoIn read_sum_head(): if we read a negative checksum count, die
Wayne Davison [Mon, 27 Feb 2006 03:12:26 +0000 (03:12 +0000)]
In read_sum_head(): if we read a negative checksum count, die
with an error.

18 years agoTweaked a sentence.
Wayne Davison [Fri, 24 Feb 2006 19:50:22 +0000 (19:50 +0000)]
Tweaked a sentence.

18 years agoDocument the latest changes.
Wayne Davison [Fri, 24 Feb 2006 17:58:24 +0000 (17:58 +0000)]
Document the latest changes.

18 years ago- Document the new --copy-dirlinks option.
Wayne Davison [Fri, 24 Feb 2006 17:54:47 +0000 (17:54 +0000)]
- Document the new --copy-dirlinks option.
- Improved the docs for --no-implied-dirs and --keep-dirlinks
  (based on a patch from Matt).
- Improved a few other misc. sentences.
- Shuffled the order of a couple options.

18 years agoMake sure the receiver resets copy_dirlinks (so that it can't
Wayne Davison [Fri, 24 Feb 2006 17:54:41 +0000 (17:54 +0000)]
Make sure the receiver resets copy_dirlinks (so that it can't
affect the delete scan).

18 years ago- Got rid of unused externs.
Wayne Davison [Fri, 24 Feb 2006 17:54:35 +0000 (17:54 +0000)]
- Got rid of unused externs.
- Added support for copy_dirlinks.
- Fixed a bug where --copy-links would not affect implied dirs
  unless --copy-unsafe-links was also specified.

18 years agoAdded the new --copy-dirlinks (-k) option.
Wayne Davison [Fri, 24 Feb 2006 17:54:30 +0000 (17:54 +0000)]
Added the new --copy-dirlinks (-k) option.

18 years agoGot rid of unused externs.
Wayne Davison [Fri, 24 Feb 2006 16:43:44 +0000 (16:43 +0000)]
Got rid of unused externs.

18 years agoA recently added stat() call needed to be do_stat().
Wayne Davison [Fri, 24 Feb 2006 09:35:47 +0000 (09:35 +0000)]
A recently added stat() call needed to be do_stat().

18 years agoMade create_directory_path() return -1 if it couldn't create some
Wayne Davison [Fri, 24 Feb 2006 09:34:44 +0000 (09:34 +0000)]
Made create_directory_path() return -1 if it couldn't create some
portion of the filename's path.

18 years agoNeed to define an orig_umask value now that utils.c uses it.
Wayne Davison [Fri, 24 Feb 2006 01:56:29 +0000 (01:56 +0000)]
Need to define an orig_umask value now that utils.c uses it.

18 years agoThe orig_umask value is now a mode_t.
Wayne Davison [Fri, 24 Feb 2006 01:56:26 +0000 (01:56 +0000)]
The orig_umask value is now a mode_t.

18 years agoThe create_directory_path() function no longer takes a base_umask
Wayne Davison [Fri, 24 Feb 2006 01:56:21 +0000 (01:56 +0000)]
The create_directory_path() function no longer takes a base_umask
arg.

18 years ago- The orig_umask value is now a mode_t.
Wayne Davison [Fri, 24 Feb 2006 01:56:18 +0000 (01:56 +0000)]
- The orig_umask value is now a mode_t.
- Use CHMOD_BITS instead of 07777.

18 years agoMoved the orig_umask variable's definition into main.c since it
Wayne Davison [Fri, 24 Feb 2006 01:56:14 +0000 (01:56 +0000)]
Moved the orig_umask variable's definition into main.c since it
has nothing to do with option settings.

18 years ago- Call mkdir_defmode() instead of do_mkdir().
Wayne Davison [Fri, 24 Feb 2006 01:56:10 +0000 (01:56 +0000)]
- Call mkdir_defmode() instead of do_mkdir().
- Define orig_umask in this file, not options.c.
- Made orig_umask a mode_t, not an int.

18 years agoCall mkdir_defmode() instead of do_mkdir().
Wayne Davison [Fri, 24 Feb 2006 01:56:07 +0000 (01:56 +0000)]
Call mkdir_defmode() instead of do_mkdir().

18 years ago+ Added mkdir_defmode().
Wayne Davison [Fri, 24 Feb 2006 01:56:01 +0000 (01:56 +0000)]
+ Added mkdir_defmode().
+ Changed create_directory_path() to drop the (now) unneeded
  base_umask arg and to call mkdir_defmode().

18 years agoMoved an extern into its proper place.
Wayne Davison [Fri, 24 Feb 2006 01:39:10 +0000 (01:39 +0000)]
Moved an extern into its proper place.

18 years agoOne more fuzzy tweak.
Wayne Davison [Thu, 23 Feb 2006 20:29:55 +0000 (20:29 +0000)]
One more fuzzy tweak.

18 years agoSome improved fuzzy-parent-dir logic.
Wayne Davison [Thu, 23 Feb 2006 20:27:17 +0000 (20:27 +0000)]
Some improved fuzzy-parent-dir logic.

18 years agoMention latest fixes.
Wayne Davison [Thu, 23 Feb 2006 20:17:09 +0000 (20:17 +0000)]
Mention latest fixes.

18 years agoThe new fuzzy-dir logic once again avoids calling get_dirlist()
Wayne Davison [Thu, 23 Feb 2006 20:00:48 +0000 (20:00 +0000)]
The new fuzzy-dir logic once again avoids calling get_dirlist()
until a regular file is found in the current parent directory.

18 years agoFixed the creation of symlinks and devices when both --relative
Wayne Davison [Thu, 23 Feb 2006 19:43:54 +0000 (19:43 +0000)]
Fixed the creation of symlinks and devices when both --relative
and --no-implied-dirs are specified and the destination dir does
not yet exist.

18 years agoRenamed fuzzy_dirname -> parent_dirname.
Wayne Davison [Thu, 23 Feb 2006 19:07:33 +0000 (19:07 +0000)]
Renamed fuzzy_dirname -> parent_dirname.

18 years agoMake sure that the --fuzzy option's dir-scan doesn't generate an
Wayne Davison [Thu, 23 Feb 2006 18:58:30 +0000 (18:58 +0000)]
Make sure that the --fuzzy option's dir-scan doesn't generate an
I/O error when --no-relative is used and the destination dir does
not exist yet.

18 years agoMention the --list-arg change.
Wayne Davison [Thu, 23 Feb 2006 00:43:17 +0000 (00:43 +0000)]
Mention the --list-arg change.

18 years agoDocument the revised --list-only behavior and the ability to use
Wayne Davison [Thu, 23 Feb 2006 00:40:58 +0000 (00:40 +0000)]
Document the revised --list-only behavior and the ability to use
rsync with one local source arg (i.e. no destination).

18 years agoRsync no longer returns a usage error when used with one local
Wayne Davison [Thu, 23 Feb 2006 00:38:34 +0000 (00:38 +0000)]
Rsync no longer returns a usage error when used with one local
source arg and no destination: this now implies the --list-only
option, just like one remote source arg has always done.

18 years ago- Improved the way we generate the tar file.
Wayne Davison [Wed, 22 Feb 2006 19:09:51 +0000 (19:09 +0000)]
- Improved the way we generate the tar file.
- The second run of verify-patches is in a better spot now.
- Made various improvements to the output.

18 years agoMentioned that the daemon now logs connections.
Wayne Davison [Tue, 21 Feb 2006 17:19:49 +0000 (17:19 +0000)]
Mentioned that the daemon now logs connections.

18 years agoLog every connect to the daemon.
Wayne Davison [Tue, 21 Feb 2006 17:09:23 +0000 (17:09 +0000)]
Log every connect to the daemon.

18 years agoAdded a comment.
Wayne Davison [Tue, 21 Feb 2006 00:29:55 +0000 (00:29 +0000)]
Added a comment.

18 years agoA few more tweaks and fixes.
Wayne Davison [Mon, 20 Feb 2006 19:58:06 +0000 (19:58 +0000)]
A few more tweaks and fixes.

18 years ago- Moved the checkout of the cvs source above the version prompting so
Wayne Davison [Mon, 20 Feb 2006 19:36:56 +0000 (19:36 +0000)]
- Moved the checkout of the cvs source above the version prompting so
  that we can use the version from the configure.in file to provide
  good default values for the user.
- When moving old tar/diff files into the old-* dirs, first hard-link
  them into place, then (if "live"), use rsync to update these new
  files on the server (which saves us later re-sending), and _then_
  delete the old names.

18 years agoMade the new warning more visible.
Wayne Davison [Mon, 20 Feb 2006 18:35:41 +0000 (18:35 +0000)]
Made the new warning more visible.

18 years agoMention if any of the CVS files we're putting in the tar file
Wayne Davison [Mon, 20 Feb 2006 18:34:27 +0000 (18:34 +0000)]
Mention if any of the CVS files we're putting in the tar file
aren't up-to-date.

18 years agoMention a couple more bug fixes.
Wayne Davison [Mon, 20 Feb 2006 18:03:55 +0000 (18:03 +0000)]
Mention a couple more bug fixes.

18 years agoA brief msleep() in option_error() may be helpful to ensure that
Wayne Davison [Mon, 20 Feb 2006 17:58:13 +0000 (17:58 +0000)]
A brief msleep() in option_error() may be helpful to ensure that
an option error always arrives intact from the remote rsync.

18 years agoDon't try to obey bwlimit restriction until bwlimit_writemax is set.
Wayne Davison [Mon, 20 Feb 2006 17:50:36 +0000 (17:50 +0000)]
Don't try to obey bwlimit restriction until bwlimit_writemax is set.
This fixes a bug with option errors not getting reported because the
write code gets called with bwlimit != 0 and bwlimit_writemax == 0.

18 years agoWhen starting up a transfer, substitute the remember_children()
Wayne Davison [Mon, 20 Feb 2006 17:17:51 +0000 (17:17 +0000)]
When starting up a transfer, substitute the remember_children()
SIGCHLD handler in place of the minimal one that socket.c enabled.

18 years agoMade the formerly static sigchld_handler() available as a
Wayne Davison [Mon, 20 Feb 2006 17:16:21 +0000 (17:16 +0000)]
Made the formerly static sigchld_handler() available as a
public function named remember_children().

18 years agoIn dest_mode(), we now apply any "incoming chmod" changes from
Wayne Davison [Mon, 20 Feb 2006 00:01:27 +0000 (00:01 +0000)]
In dest_mode(), we now apply any "incoming chmod" changes from
the daemon.

18 years agoSet a new daemon_chmod_modes pointer with the daemon's chmod
Wayne Davison [Mon, 20 Feb 2006 00:00:35 +0000 (00:00 +0000)]
Set a new daemon_chmod_modes pointer with the daemon's chmod
(incoming or outgoing) changes.

18 years agoMention the change in how "incoming chmod" works when --perms was
Wayne Davison [Sun, 19 Feb 2006 23:58:59 +0000 (23:58 +0000)]
Mention the change in how "incoming chmod" works when --perms was
not specified.

18 years agoSlightly tweaked the output in non-live mode.
Wayne Davison [Sun, 19 Feb 2006 23:33:15 +0000 (23:33 +0000)]
Slightly tweaked the output in non-live mode.

18 years agoChanged parse_chmod() to return the pointer to the new items on
Wayne Davison [Sun, 19 Feb 2006 23:31:56 +0000 (23:31 +0000)]
Changed parse_chmod() to return the pointer to the new items on
success.

18 years agoPreparing for release of 2.6.7pre2
Wayne Davison [Sun, 19 Feb 2006 16:21:30 +0000 (16:21 +0000)]
Preparing for release of 2.6.7pre2

18 years agoThe tar command needed --no-recursion.
Wayne Davison [Sun, 19 Feb 2006 16:14:39 +0000 (16:14 +0000)]
The tar command needed --no-recursion.

18 years agoThe hide filter rule is no longer needed.
Wayne Davison [Sun, 19 Feb 2006 16:05:08 +0000 (16:05 +0000)]
The hide filter rule is no longer needed.

18 years agoImproved the description of a fix in 2.6.4.
Wayne Davison [Sun, 19 Feb 2006 15:52:59 +0000 (15:52 +0000)]
Improved the description of a fix in 2.6.4.

18 years agoThe perl script I use to create new rsync releases. This is an
Wayne Davison [Sat, 18 Feb 2006 21:27:54 +0000 (21:27 +0000)]
The perl script I use to create new rsync releases.  This is an
adapted and extended version of an old shell script.

18 years agoA perl script I wrote to make a new "nightly" tar file and
Wayne Davison [Sat, 18 Feb 2006 21:26:48 +0000 (21:26 +0000)]
A perl script I wrote to make a new "nightly" tar file and
maintain the nightly dir on samba.org.

18 years agoSome more refinement of the --checksum section.
Wayne Davison [Thu, 16 Feb 2006 07:40:55 +0000 (07:40 +0000)]
Some more refinement of the --checksum section.

18 years agoDon't try to help the ACKs for the --remove-sent-file option
Wayne Davison [Wed, 15 Feb 2006 20:09:49 +0000 (20:09 +0000)]
Don't try to help the ACKs for the --remove-sent-file option
when --delay-updates was specified.

18 years agoOne last change to make the --checksum distinction very clear.
Wayne Davison [Wed, 15 Feb 2006 19:58:53 +0000 (19:58 +0000)]
One last change to make the --checksum distinction very clear.

18 years agoAnother attempt to make --checksum clearer.
Wayne Davison [Wed, 15 Feb 2006 19:24:39 +0000 (19:24 +0000)]
Another attempt to make --checksum clearer.

18 years agoImproved the --checksum description and mention our whole-file
Wayne Davison [Wed, 15 Feb 2006 18:20:23 +0000 (18:20 +0000)]
Improved the --checksum description and mention our whole-file
checksum verification checksum is different.

18 years agoImproved the while's logic in increment_active_files().
Wayne Davison [Wed, 15 Feb 2006 08:26:51 +0000 (08:26 +0000)]
Improved the while's logic in increment_active_files().

18 years agoMention the change to --remove-sent-files.
Wayne Davison [Wed, 15 Feb 2006 08:16:42 +0000 (08:16 +0000)]
Mention the change to --remove-sent-files.

18 years agoCall increment_active_files() during the first phase of a transfer
Wayne Davison [Wed, 15 Feb 2006 08:06:45 +0000 (08:06 +0000)]
Call increment_active_files() during the first phase of a transfer
where --remove-sent-files was specified.