rsync/rsync.git
16 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.

16 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.

16 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.

16 years agoImproved the initial description summary.
Wayne Davison [Fri, 12 Oct 2007 13:57:15 +0000 (13:57 +0000)]
Improved the initial description summary.

16 years agoOne more tweak to the synopsis.
Wayne Davison [Fri, 12 Oct 2007 01:21:02 +0000 (01:21 +0000)]
One more tweak to the synopsis.

16 years agoImprovements suggested by Matt's improved manpage.
Wayne Davison [Fri, 12 Oct 2007 01:12:05 +0000 (01:12 +0000)]
Improvements suggested by Matt's improved manpage.

16 years agoPreparing for release of 3.0.0pre2
Wayne Davison [Fri, 12 Oct 2007 00:09:19 +0000 (00:09 +0000)]
Preparing for release of 3.0.0pre2

16 years agoTweaked a couple minor things.
Wayne Davison [Fri, 12 Oct 2007 00:07:28 +0000 (00:07 +0000)]
Tweaked a couple minor things.

16 years agoConditionalize the call to setup_iconv().
Wayne Davison [Wed, 10 Oct 2007 19:24:35 +0000 (19:24 +0000)]
Conditionalize the call to setup_iconv().

16 years ago- Use the new *_CONTENT_DIR flag names (was *_XFER_DIR).
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.

16 years ago- Mark implied dirs with FLAG_IMPLIED_DIR.
Wayne Davison [Mon, 8 Oct 2007 18:02:07 +0000 (18:02 +0000)]
- Mark implied dirs with FLAG_IMPLIED_DIR.
- Use the new *_CONTENT_DIR flag names (was *_XFER_DIR).
- Send implied dirs with XMIT_TOP_DIR | XMIT_NO_CONTENT_DIR.
- All protocol 30 transfers send flagged implied dirs.

16 years ago- Added a flag for implied dirs: FLAG_IMPLIED_DIR.
Wayne Davison [Mon, 8 Oct 2007 18:02:03 +0000 (18:02 +0000)]
- Added a flag for implied dirs: FLAG_IMPLIED_DIR.
- Changed the *_XFER_DIR flags to *_CONTENT_DIR flags.
- Increment SUBPROTOCOL_VERSION.

16 years agoReposition the call to setup_iconv() so that it gets called only once
Wayne Davison [Sun, 7 Oct 2007 20:43:49 +0000 (20:43 +0000)]
Reposition the call to setup_iconv() so that it gets called only once
is a local_server copy, and so that arg-parsing code doesn't interfere
with the sending of a remote charset value.

16 years agoImproved on the list-only fix and on the other similar checks that want
Wayne Davison [Sun, 7 Oct 2007 07:18:49 +0000 (07:18 +0000)]
Improved on the list-only fix and on the other similar checks that want
to ignore implied dirs that are actually present in the file list
when inc_recurse is active and --no-implied-dirs was specified.

16 years ago- Simplified the code in recv_file_entry() for protocol 30.
Wayne Davison [Sun, 7 Oct 2007 07:18:45 +0000 (07:18 +0000)]
- Simplified the code in recv_file_entry() for protocol 30.
- Simplified the flag setting in send1extra since we know that
  recurse is set.
- Make sure that FLAG_XFER_DIR is unset for a non-dot-dir when
  recurse is not set.
- The --relative code wasn't setting is_dot_dir enough.

16 years agoMention how --list-only w/o -r now abandons an old kluge.
Wayne Davison [Sun, 7 Oct 2007 04:04:57 +0000 (04:04 +0000)]
Mention how --list-only w/o -r now abandons an old kluge.

16 years agoWe now send -d to the server for a list-only transfer w/o -r (rather
Wayne Davison [Sun, 7 Oct 2007 03:52:28 +0000 (03:52 +0000)]
We now send -d to the server for a list-only transfer w/o -r (rather
than sending -r with a kluged exclude).

16 years agoSet xfer_dirs when we set list_only.
Wayne Davison [Sun, 7 Oct 2007 03:52:24 +0000 (03:52 +0000)]
Set xfer_dirs when we set list_only.

16 years agoGot rid of some old exclude trickery for --list-only w/o -r.
Wayne Davison [Sun, 7 Oct 2007 03:52:20 +0000 (03:52 +0000)]
Got rid of some old exclude trickery for --list-only w/o -r.

16 years agoGot rid of a useless list_only tweak.
Wayne Davison [Sun, 7 Oct 2007 03:52:17 +0000 (03:52 +0000)]
Got rid of a useless list_only tweak.

16 years agoFix list-only output of dirs w/--relative but w/o --recursive.
Wayne Davison [Sun, 7 Oct 2007 03:29:04 +0000 (03:29 +0000)]
Fix list-only output of dirs w/--relative but w/o --recursive.

16 years agoA couple tweaks to the AIX ACL code.
Wayne Davison [Fri, 5 Oct 2007 20:47:18 +0000 (20:47 +0000)]
A couple tweaks to the AIX ACL code.

16 years agoMake sure ICONV_OPTION is unset if we didn't find iconv_open()
Wayne Davison [Fri, 5 Oct 2007 20:40:36 +0000 (20:40 +0000)]
Make sure ICONV_OPTION is unset if we didn't find iconv_open()
and iconv.h.

16 years agoSimplified a SMB_ACL_NEED_SORT conditional because some preprocessors
Wayne Davison [Fri, 5 Oct 2007 02:45:09 +0000 (02:45 +0000)]
Simplified a SMB_ACL_NEED_SORT conditional because some preprocessors
couldn't handle an #if embedded in a macro.

16 years agoThe hpux_count_obj() function should have been declared with a
Wayne Davison [Fri, 5 Oct 2007 02:30:39 +0000 (02:30 +0000)]
The hpux_count_obj() function should have been declared with a
void return type.

16 years agoA few more improvements and some reshuffling.
Wayne Davison [Fri, 5 Oct 2007 02:22:51 +0000 (02:22 +0000)]
A few more improvements and some reshuffling.

16 years agoPreparing for release of 3.0.0pre1
Wayne Davison [Fri, 5 Oct 2007 00:45:13 +0000 (00:45 +0000)]
Preparing for release of 3.0.0pre1

16 years agoOne more tweak.
Wayne Davison [Fri, 5 Oct 2007 00:41:38 +0000 (00:41 +0000)]
One more tweak.

16 years agoThe latest changes.
Wayne Davison [Mon, 1 Oct 2007 06:13:16 +0000 (06:13 +0000)]
The latest changes.

16 years agoMention that we abort if the pid file exists.
Wayne Davison [Mon, 1 Oct 2007 02:32:54 +0000 (02:32 +0000)]
Mention that we abort if the pid file exists.

16 years agoThe lp_load() function doesn't fudge the pszFname arg anymore.
Wayne Davison [Mon, 1 Oct 2007 02:25:58 +0000 (02:25 +0000)]
The lp_load() function doesn't fudge the pszFname arg anymore.

16 years ago- Set config_file to a default filename if it is NULL.
Wayne Davison [Mon, 1 Oct 2007 02:25:54 +0000 (02:25 +0000)]
- Set config_file to a default filename if it is NULL.
- Changed create_pid_file() to fail if the pidfile already exists,
  which makes the daemon exit with an error.
- Output errors about a failure to open the config file or the lock
  file to (a still open) stderr.
- We now notice (and complain) if fork() fails.

16 years agoMention the latest way to specify multiple remote args.
Wayne Davison [Sun, 30 Sep 2007 07:46:28 +0000 (07:46 +0000)]
Mention the latest way to specify multiple remote args.

16 years agoMade list more complete.
Wayne Davison [Sun, 30 Sep 2007 07:34:33 +0000 (07:34 +0000)]
Made list more complete.

16 years agoGot rid of some SPACE-TAB sequencs in the indentation.
Wayne Davison [Sun, 30 Sep 2007 07:30:48 +0000 (07:30 +0000)]
Got rid of some SPACE-TAB sequencs in the indentation.

16 years agoAllow additional remote args to contain an identical hostname instead
Wayne Davison [Sun, 30 Sep 2007 07:14:16 +0000 (07:14 +0000)]
Allow additional remote args to contain an identical hostname instead
of requiring it to be empty.  This allows for the easy use of braces:
rsync -av host:file{1,2} /dest/

16 years agoMoved become_daemon() into clientserver.c.
Wayne Davison [Sun, 30 Sep 2007 06:57:12 +0000 (06:57 +0000)]
Moved become_daemon() into clientserver.c.

16 years ago- Moved become_daemon() here from socket.c and made it static.
Wayne Davison [Sun, 30 Sep 2007 06:57:07 +0000 (06:57 +0000)]
- Moved become_daemon() here from socket.c and made it static.
- Call lp_load() before we call become_daemon().
- Output an error to stderr if we fail to open/parse the config file.
- Added a create_pid_file() static function and call it earlier in
  the startup sequence.

16 years agoImproved --acls, --xattrs, and --fake-super.
Wayne Davison [Sat, 29 Sep 2007 17:01:01 +0000 (17:01 +0000)]
Improved --acls, --xattrs, and --fake-super.

16 years agoSpecify a better SMB_ACL_VALID_NAME_BITS value for OS X.
Wayne Davison [Sat, 29 Sep 2007 16:06:40 +0000 (16:06 +0000)]
Specify a better SMB_ACL_VALID_NAME_BITS value for OS X.

16 years agoAdded get_xattr_acl(), set_xattr_acl(), and del_def_xattr_acl().
Wayne Davison [Sat, 29 Sep 2007 16:06:37 +0000 (16:06 +0000)]
Added get_xattr_acl(), set_xattr_acl(), and del_def_xattr_acl().

16 years agoWhen running with --fake-super, get/put ACLs from/to an xattr and don't
Wayne Davison [Sat, 29 Sep 2007 16:06:34 +0000 (16:06 +0000)]
When running with --fake-super, get/put ACLs from/to an xattr and don't
range-check the incoming values.

16 years agoTweaked a variable name.
Wayne Davison [Sat, 29 Sep 2007 04:35:26 +0000 (04:35 +0000)]
Tweaked a variable name.

16 years agoAdded support for OS X testing using chmod +a and ls.
Wayne Davison [Sat, 29 Sep 2007 02:26:23 +0000 (02:26 +0000)]
Added support for OS X testing using chmod +a and ls.

16 years ago- Added OS X ACL support.
Wayne Davison [Fri, 28 Sep 2007 21:54:11 +0000 (21:54 +0000)]
- Added OS X ACL support.
- Simplified some of the ge/set calling sequences.
- Got rid of SMB_ACL_PERMSET_T.

16 years agoAdded OS X ACL support, using slightly tweaked sys_acl_*()
Wayne Davison [Fri, 28 Sep 2007 21:54:07 +0000 (21:54 +0000)]
Added OS X ACL support, using slightly tweaked sys_acl_*()
functions.

16 years agoWe enable ACL compilation on OS X by default now.
Wayne Davison [Fri, 28 Sep 2007 21:54:01 +0000 (21:54 +0000)]
We enable ACL compilation on OS X by default now.

16 years agoDetermine the previous version number in a more reasonable fashion.
Wayne Davison [Wed, 26 Sep 2007 17:43:57 +0000 (17:43 +0000)]
Determine the previous version number in a more reasonable fashion.

16 years agoSome improvements and fixes for the upcoming release.
Wayne Davison [Wed, 26 Sep 2007 14:57:52 +0000 (14:57 +0000)]
Some improvements and fixes for the upcoming release.

16 years agoAdded (conditional) include of stdint.h.
Wayne Davison [Sun, 23 Sep 2007 22:31:14 +0000 (22:31 +0000)]
Added (conditional) include of stdint.h.

16 years agoChanged "statx" to "stat_x" to try to work around a build problem on AIX.
Wayne Davison [Sun, 23 Sep 2007 22:19:55 +0000 (22:19 +0000)]
Changed "statx" to "stat_x" to try to work around a build problem on AIX.

16 years agoFixed a crash bug in get_local_name() when the file list is empty.
Wayne Davison [Sun, 23 Sep 2007 21:54:03 +0000 (21:54 +0000)]
Fixed a crash bug in get_local_name() when the file list is empty.

16 years agoFixed a glitch in the sending of mount-point dirs in inc_recurse mode.
Wayne Davison [Sun, 23 Sep 2007 21:46:51 +0000 (21:46 +0000)]
Fixed a glitch in the sending of mount-point dirs in inc_recurse mode.

16 years agoAdded a stub function for make_bak_dir().
Wayne Davison [Sun, 23 Sep 2007 21:05:15 +0000 (21:05 +0000)]
Added a stub function for make_bak_dir().

16 years agoAdded an option to copy_file() that tells it to try to make a
Wayne Davison [Sun, 23 Sep 2007 21:03:46 +0000 (21:03 +0000)]
Added an option to copy_file() that tells it to try to make a
backup directory if the open of the dest file fails.

16 years agoThe --inplace code now properly handles creating a backup when
Wayne Davison [Sun, 23 Sep 2007 21:03:41 +0000 (21:03 +0000)]
The --inplace code now properly handles creating a backup when
the --whole-file and/or --read-batch options are specified.

16 years agoChanged make_bak_dir() to take a const char *.
Wayne Davison [Sun, 23 Sep 2007 21:03:38 +0000 (21:03 +0000)]
Changed make_bak_dir() to take a const char *.

16 years agoUse make_bak_dir() if we get ENOENT while trying to open an
Wayne Davison [Sun, 23 Sep 2007 19:45:22 +0000 (19:45 +0000)]
Use make_bak_dir() if we get ENOENT while trying to open an
inplace backup file.

16 years agoMade make_bak_dir() global.
Wayne Davison [Sun, 23 Sep 2007 19:45:19 +0000 (19:45 +0000)]
Made make_bak_dir() global.

16 years agoMade clean_flist() only duplicate *_DIR_* flags on a dropped dir
Wayne Davison [Sun, 23 Sep 2007 19:45:00 +0000 (19:45 +0000)]
Made clean_flist() only duplicate *_DIR_* flags on a dropped dir
when the kept entry is also a dir.

16 years agoAvoid a checker warning about unfreed memory.
Wayne Davison [Sun, 23 Sep 2007 19:10:10 +0000 (19:10 +0000)]
Avoid a checker warning about unfreed memory.

16 years agoFix a glitch in the handling of the last path element in a -R path
Wayne Davison [Sun, 23 Sep 2007 16:02:33 +0000 (16:02 +0000)]
Fix a glitch in the handling of the last path element in a -R path
with a trailing slash.

16 years ago- Don't allow -x to drop implied directories.
Wayne Davison [Sun, 23 Sep 2007 15:46:11 +0000 (15:46 +0000)]
- Don't allow -x to drop implied directories.
- Improved the code that tries to avoid scanning the same dir
  twice in a row to not drop any relnamecache entries.

16 years agoAdded the relnamecache structure and improved some variable names.
Wayne Davison [Sun, 23 Sep 2007 14:35:12 +0000 (14:35 +0000)]
Added the relnamecache structure and improved some variable names.

16 years agoMake sure that the dirs we are merging have the same timestamps.
Wayne Davison [Sun, 23 Sep 2007 02:18:57 +0000 (02:18 +0000)]
Make sure that the dirs we are merging have the same timestamps.

16 years agoGot rid of some unneeded externs.
Wayne Davison [Sun, 23 Sep 2007 02:03:20 +0000 (02:03 +0000)]
Got rid of some unneeded externs.

16 years agoMoved list-only output from flist.c to generator.c so that it works
Wayne Davison [Sun, 23 Sep 2007 02:00:53 +0000 (02:00 +0000)]
Moved list-only output from flist.c to generator.c so that it works
properly even in inc_recurse mode.  Got rid of double output, weird
output order, and outputting of implied dirs w/--no-implied-dirs.

16 years agoAdded a missing "void" to the arg-spec of setup_iconv().
Wayne Davison [Sun, 23 Sep 2007 01:18:03 +0000 (01:18 +0000)]
Added a missing "void" to the arg-spec of setup_iconv().

16 years agoAdded a test to make sure that merging relative items continues to
Wayne Davison [Sun, 23 Sep 2007 00:30:40 +0000 (00:30 +0000)]
Added a test to make sure that merging relative items continues to
work right.

16 years agoDocument the change to how --releative works.
Wayne Davison [Sat, 22 Sep 2007 22:57:50 +0000 (22:57 +0000)]
Document the change to how --releative works.

16 years agoAlways send implied dirs as dirs.
Wayne Davison [Sat, 22 Sep 2007 22:37:52 +0000 (22:37 +0000)]
Always send implied dirs as dirs.

16 years agoFixed a just-introduced glitch in directory creation with --no-implied-dirs.
Wayne Davison [Sat, 22 Sep 2007 21:51:08 +0000 (21:51 +0000)]
Fixed a just-introduced glitch in directory creation with --no-implied-dirs.

16 years agoWe now forward the --no-implied-dirs option to the receiving side,
Wayne Davison [Sat, 22 Sep 2007 21:43:19 +0000 (21:43 +0000)]
We now forward the --no-implied-dirs option to the receiving side,
just in case we end up talking protocol 30 in inc_recurse mode.

16 years agoThe latest --relative --no-implied-dirs code in inc_recurse mode
Wayne Davison [Sat, 22 Sep 2007 21:43:15 +0000 (21:43 +0000)]
The latest --relative --no-implied-dirs code in inc_recurse mode
sends us a normal sequence of dirs, and we just skip the implied
ones.

16 years agoUsing relative with incremental recursion now results in a normal
Wayne Davison [Sat, 22 Sep 2007 21:43:11 +0000 (21:43 +0000)]
Using relative with incremental recursion now results in a normal
sequence of directories in the hierarchy, and works properly when
merging things from multiple sources.

16 years agoFixed name of PTR_EXTRA_CNT (was PTR_EXTRA_LEN).
Wayne Davison [Sat, 22 Sep 2007 21:43:08 +0000 (21:43 +0000)]
Fixed name of PTR_EXTRA_CNT (was PTR_EXTRA_LEN).

16 years ago- Incremented the SUBPROTOCOL_VERSION to 9.
Wayne Davison [Sat, 22 Sep 2007 21:43:05 +0000 (21:43 +0000)]
- Incremented the SUBPROTOCOL_VERSION to 9.
- Fixed name of PTR_EXTRA_CNT (was PTR_EXTRA_LEN).
- Added F_DIR_RELS_P() to support --relative in inc_recurse mode.

16 years agoAdded ifuncs.h.
Wayne Davison [Sat, 22 Sep 2007 18:07:44 +0000 (18:07 +0000)]
Added ifuncs.h.

16 years agoTweaked opening comments.
Wayne Davison [Sat, 22 Sep 2007 18:07:17 +0000 (18:07 +0000)]
Tweaked opening comments.

16 years agoMoved inline functions from rsync.h into ifuncs.h.
Wayne Davison [Sat, 22 Sep 2007 16:52:58 +0000 (16:52 +0000)]
Moved inline functions from rsync.h into ifuncs.h.

16 years agoMoving inline functions into its own .h file.
Wayne Davison [Sat, 22 Sep 2007 16:46:49 +0000 (16:46 +0000)]
Moving inline functions into its own .h file.

16 years agoAdded some stub functions for compilers not smart enough to get rid
Wayne Davison [Sat, 22 Sep 2007 14:18:32 +0000 (14:18 +0000)]
Added some stub functions for compilers not smart enough to get rid
of static inline functions that are not called.

16 years agoAvoid affecting the proto.h file.
Wayne Davison [Sat, 22 Sep 2007 14:16:48 +0000 (14:16 +0000)]
Avoid affecting the proto.h file.

16 years agoAdded some stub functions for compilers not smart enough to get rid
Wayne Davison [Tue, 18 Sep 2007 19:53:50 +0000 (19:53 +0000)]
Added some stub functions for compilers not smart enough to get rid
of static inline functions that are not called.

16 years agoAdded missing "#ifdef ICONV_OPTION" conditionals.
Wayne Davison [Tue, 18 Sep 2007 18:46:03 +0000 (18:46 +0000)]
Added missing "#ifdef ICONV_OPTION" conditionals.

16 years agoIf iconv_t isn't needed, define it as an "int" so that our
Wayne Davison [Tue, 18 Sep 2007 18:45:59 +0000 (18:45 +0000)]
If iconv_t isn't needed, define it as an "int" so that our
proto.h file can be parsed.

16 years agoMention that a negative max-connections value disables the module.
Wayne Davison [Tue, 18 Sep 2007 14:18:45 +0000 (14:18 +0000)]
Mention that a negative max-connections value disables the module.

16 years agoIf max-connections is < 0, disable the module.
Wayne Davison [Tue, 18 Sep 2007 14:14:22 +0000 (14:14 +0000)]
If max-connections is < 0, disable the module.

16 years agoOne final tweak.
Wayne Davison [Tue, 18 Sep 2007 14:11:25 +0000 (14:11 +0000)]
One final tweak.

16 years agoSome minor improvements in claim_connection().
Wayne Davison [Tue, 18 Sep 2007 14:09:38 +0000 (14:09 +0000)]
Some minor improvements in claim_connection().

16 years agoSwitching to --no-i-r from --no-ir.
Wayne Davison [Tue, 18 Sep 2007 14:04:46 +0000 (14:04 +0000)]
Switching to --no-i-r from --no-ir.

16 years agoDocument the changed name of --no-i-r.
Wayne Davison [Tue, 18 Sep 2007 14:03:41 +0000 (14:03 +0000)]
Document the changed name of --no-i-r.

16 years agoMention the --protect-args (-s) option and how it interacts with
Wayne Davison [Tue, 18 Sep 2007 01:29:36 +0000 (01:29 +0000)]
Mention the --protect-args (-s) option and how it interacts with
--iconv and --files-from.

16 years agoRelocated the setting of ic_ndx.
Wayne Davison [Tue, 18 Sep 2007 01:14:33 +0000 (01:14 +0000)]
Relocated the setting of ic_ndx.

16 years ago- Added new iconvbufs() conversion function that is now used for
Wayne Davison [Tue, 18 Sep 2007 01:11:57 +0000 (01:11 +0000)]
- Added new iconvbufs() conversion function that is now used for
  our --iconv support.
- Moved the setup of the ic_ndx value to compat.c.

16 years ago- Improved -s support.
Wayne Davison [Tue, 18 Sep 2007 01:11:54 +0000 (01:11 +0000)]
- Improved -s support.
- Handle setup_iconv() call in parse_arguments() so it gets set early.

16 years ago- Make use of new iconvbufs() function.
Wayne Davison [Tue, 18 Sep 2007 01:11:49 +0000 (01:11 +0000)]
- Make use of new iconvbufs() function.
- Convert protected args when -s and --iconv are active.
- Simplified the splitting of args between normal and protected.
- Relocated setup_iconv() call so that it takes effect earlier.

16 years ago- Make use of new iconvbufs() function.
Wayne Davison [Tue, 18 Sep 2007 01:11:45 +0000 (01:11 +0000)]
- Make use of new iconvbufs() function.
- Convert remote --files-from filenames when -s and --iconv are
  active.

16 years agoMake use of new iconvbufs() function.
Wayne Davison [Tue, 18 Sep 2007 01:11:42 +0000 (01:11 +0000)]
Make use of new iconvbufs() function.

16 years ago- Setup the ic_ndx value here with the other FOO_ndx values.
Wayne Davison [Tue, 18 Sep 2007 01:11:35 +0000 (01:11 +0000)]
- Setup the ic_ndx value here with the other FOO_ndx values.
- Don't disable inc_recurse due to --no-implied-dirs.
- Set filesfrom_convert bool.