rsync.git
3 years agoPreparing for release of 3.2.2pre2 v3.2.2pre2
Wayne Davison [Mon, 29 Jun 2020 02:54:38 +0000 (19:54 -0700)]
Preparing for release of 3.2.2pre2

3 years agoImprove the per-branch build dir support
Wayne Davison [Sun, 28 Jun 2020 22:21:43 +0000 (15:21 -0700)]
Improve the per-branch build dir support

The release script & the patch management script now require the use of
an auto-build-save dir that makes it much easier to keep the generated
files from melding together, and remembers the configure setup for each
patch branch.

3 years agoImprove alternate build-dir support
Wayne Davison [Sun, 28 Jun 2020 20:22:15 +0000 (13:22 -0700)]
Improve alternate build-dir support

We now put the configure.sh, config.h.in, and aclocal.m4 files in the
alternate build dir along with the other generated files.  This requires
that we create symlinks for configure.ac & m4 in the build dir, which is
handled on the first run of configure or prepare-source.  I also changed
the patch-branch handling away from the .gen-stash dir to an automatic
build/$PATCH subdir idiom that will keep each branch's configuration
separated.  These automatic build dirs are only used when there is a
.git dir, a build/master dir, and no top-dir Makefile.  You'll also
want to have package/make early on your path for optimal ease of use.

3 years agoMove the version string out of configure.ac.
Wayne Davison [Sun, 28 Jun 2020 20:46:48 +0000 (13:46 -0700)]
Move the version string out of configure.ac.

3 years agoFix rebuilding configure.sh in an alternate build dir
Wayne Davison [Sun, 28 Jun 2020 18:18:55 +0000 (11:18 -0700)]
Fix rebuilding configure.sh in an alternate build dir

3 years agoA bit more man page & NEWS tweaking.
Wayne Davison [Sun, 28 Jun 2020 16:14:57 +0000 (09:14 -0700)]
A bit more man page & NEWS tweaking.

3 years agoLack of "saw" values now reported as "INVALID"; tweak a comment.
Wayne Davison [Sun, 28 Jun 2020 06:13:25 +0000 (23:13 -0700)]
Lack of "saw" values now reported as "INVALID"; tweak a comment.

3 years agoPreparing for release of 3.2.2pre1 v3.2.2pre1
Wayne Davison [Sun, 28 Jun 2020 04:22:49 +0000 (21:22 -0700)]
Preparing for release of 3.2.2pre1

3 years agoSome misc cleanup
Wayne Davison [Sun, 28 Jun 2020 04:19:52 +0000 (21:19 -0700)]
Some misc cleanup

Remove some extraneous vars, update some years, add an  rrsync opt, &
ensure some less options are set right when running release-rsync.

3 years agoImprove the NSTR differentiation idiom.
Wayne Davison [Sun, 28 Jun 2020 02:25:03 +0000 (19:25 -0700)]
Improve the NSTR differentiation idiom.

3 years agoSome more doc & NEWS improvements.
Wayne Davison [Sun, 28 Jun 2020 01:51:09 +0000 (18:51 -0700)]
Some more doc & NEWS improvements.

3 years agoChange the CI name
Wayne Davison [Sun, 28 Jun 2020 01:40:21 +0000 (18:40 -0700)]
Change the CI name

3 years agoSome patch-update & vim ft improvements
Wayne Davison [Sat, 27 Jun 2020 19:06:13 +0000 (12:06 -0700)]
Some patch-update & vim ft improvements

- Stash off some gen files when switching patch branches.
- Set the filetype in "env -S" files that vim can't handle.

3 years agoImprove the output when a negotiation fails.
Wayne Davison [Sat, 27 Jun 2020 17:39:16 +0000 (10:39 -0700)]
Improve the output when a negotiation fails.

3 years agoMore NEWS and man page changes.
Wayne Davison [Sat, 27 Jun 2020 17:39:12 +0000 (10:39 -0700)]
More NEWS and man page changes.

3 years agoNegotation env lists can specify "client & server"
Wayne Davison [Fri, 26 Jun 2020 23:51:30 +0000 (16:51 -0700)]
Negotation env lists can specify "client & server"

3 years agoA few more simple changes & fixes.
Wayne Davison [Fri, 26 Jun 2020 20:10:10 +0000 (13:10 -0700)]
A few more simple changes & fixes.

3 years agoSome man page changes.
Wayne Davison [Fri, 26 Jun 2020 18:27:27 +0000 (11:27 -0700)]
Some man page changes.

3 years agoA few more tweaks.
Wayne Davison [Fri, 26 Jun 2020 04:32:00 +0000 (21:32 -0700)]
A few more tweaks.

3 years agoSome memory allocation improvements
Wayne Davison [Fri, 26 Jun 2020 02:59:19 +0000 (19:59 -0700)]
Some memory allocation improvements

 - All the memory-allocation macros now auto-check for failure and exit
   with a failure message that incudes the caller's file and lineno
   info.  This includes strdup().

 - Added the `--max-alloc=SIZE` option to be able to override the memory
   allocator's sanity-check limit.  It defaults to 1G (as before).
   Fixes bugzilla bug 12769.

3 years agoAdd missing semicolon in man page
Christian Hesse [Wed, 24 Jun 2020 12:06:56 +0000 (14:06 +0200)]
Add missing semicolon in man page

All nginx configuration directives end in semicolon.

3 years agoTweak alloc args to size_t w/proper realloc order.
Wayne Davison [Thu, 25 Jun 2020 00:35:02 +0000 (17:35 -0700)]
Tweak alloc args to size_t w/proper realloc order.

3 years agoUse normal C comment style.
Wayne Davison [Wed, 24 Jun 2020 04:45:32 +0000 (21:45 -0700)]
Use normal C comment style.

3 years agoPrepare for future release of XXH3 & XXH128.
Wayne Davison [Wed, 24 Jun 2020 03:48:01 +0000 (20:48 -0700)]
Prepare for future release of XXH3 & XXH128.

3 years agoAnother NEWS update.
Wayne Davison [Wed, 24 Jun 2020 02:32:44 +0000 (19:32 -0700)]
Another NEWS update.

3 years agoAvoid negotiating a "none" choice by default
Wayne Davison [Wed, 24 Jun 2020 02:14:11 +0000 (19:14 -0700)]
Avoid negotiating a "none" choice by default

The client does not pass "none" as a negotiation choice unless it's from
the user's environment list.  The server still passes the "none" value
to the client unless its environment var excludes it.

3 years agoSetup for 3.2.2dev.
Wayne Davison [Wed, 24 Jun 2020 01:56:44 +0000 (18:56 -0700)]
Setup for 3.2.2dev.

3 years agoThe server side can enforce its negotiation limits
Wayne Davison [Wed, 24 Jun 2020 01:45:50 +0000 (18:45 -0700)]
The server side can enforce its negotiation limits

3 years agoImprove how the env restricts negotiated strings
Wayne Davison [Wed, 24 Jun 2020 00:19:58 +0000 (17:19 -0700)]
Improve how the env restricts negotiated strings

- The env on the server side now affects the negotiated strings
  that are sent to the client.
- A too-old remote rsync gets a default negotiated string value
  so that an env restriction now handles old clients the same way
  as new ones.

3 years agoAvoid -U if --atimes is disabled.
Wayne Davison [Tue, 23 Jun 2020 22:53:47 +0000 (15:53 -0700)]
Avoid -U if --atimes is disabled.

3 years agoApple needs a leading underscore.
Wayne Davison [Tue, 23 Jun 2020 22:47:27 +0000 (15:47 -0700)]
Apple needs a leading underscore.

3 years agoMakefile.in: Use srcdir for installing rsync-ssl
Hiroshi Takekawa [Tue, 23 Jun 2020 10:17:53 +0000 (19:17 +0900)]
Makefile.in: Use srcdir for installing rsync-ssl

When building out of source tree, we can't find rsync-ssl in the current
directory and installation fails.  Fix it by using the srcdir variable for the
path to rsync-ssl.

Signed-off-by: Hiroshi Takekawa <sian.ht@gmail.com>
3 years agoImprove the info about compression.
Wayne Davison [Tue, 23 Jun 2020 03:37:52 +0000 (20:37 -0700)]
Improve the info about compression.

3 years agoPreparing for release of 3.2.1 v3.2.1
Wayne Davison [Tue, 23 Jun 2020 02:31:16 +0000 (19:31 -0700)]
Preparing for release of 3.2.1

3 years agoFix a typo.
Wayne Davison [Tue, 23 Jun 2020 02:30:07 +0000 (19:30 -0700)]
Fix a typo.

3 years agoA few more man page tweaks.
Wayne Davison [Tue, 23 Jun 2020 02:21:32 +0000 (19:21 -0700)]
A few more man page tweaks.

3 years agoGet the NEWS heading idiom right.
Wayne Davison [Mon, 22 Jun 2020 21:43:01 +0000 (14:43 -0700)]
Get the NEWS heading idiom right.

3 years agoA few more https changes.
Wayne Davison [Mon, 22 Jun 2020 21:21:15 +0000 (14:21 -0700)]
A few more https changes.

3 years agoUpdate links to https.
Wayne Davison [Mon, 22 Jun 2020 21:16:21 +0000 (14:16 -0700)]
Update links to https.

3 years agoImprove the options info a bit more.
Wayne Davison [Mon, 22 Jun 2020 21:12:27 +0000 (14:12 -0700)]
Improve the options info a bit more.

3 years agoAdd `--zl=N` opt & improve its docs.
Wayne Davison [Mon, 22 Jun 2020 20:41:42 +0000 (13:41 -0700)]
Add `--zl=N` opt & improve its docs.

3 years agoMake --backup be set when --backup-dir is used
Samuel Henrique [Mon, 22 Jun 2020 18:34:32 +0000 (19:34 +0100)]
Make --backup be set when --backup-dir is used

3 years agoAdd Documentation field to systemd unit
Samuel Henrique [Mon, 22 Jun 2020 18:47:07 +0000 (19:47 +0100)]
Add Documentation field to systemd unit

3 years agoTweak valid_ipaddr() check.
Wayne Davison [Mon, 22 Jun 2020 18:17:56 +0000 (11:17 -0700)]
Tweak valid_ipaddr() check.

3 years agoEven more NEWS changes.
Wayne Davison [Mon, 22 Jun 2020 16:57:29 +0000 (09:57 -0700)]
Even more NEWS changes.

3 years agoA few more NEWS changes; change release script.
Wayne Davison [Mon, 22 Jun 2020 15:56:50 +0000 (08:56 -0700)]
A few more NEWS changes; change release script.

3 years agoEven more NEWS improvements.
Wayne Davison [Mon, 22 Jun 2020 06:25:36 +0000 (23:25 -0700)]
Even more NEWS improvements.

3 years agoA bit more NEWS tweaking.
Wayne Davison [Mon, 22 Jun 2020 05:57:46 +0000 (22:57 -0700)]
A bit more NEWS tweaking.

3 years agoMore talk of buggy clang++.
Wayne Davison [Mon, 22 Jun 2020 05:53:33 +0000 (22:53 -0700)]
More talk of buggy clang++.

3 years agoGet the g++ version to see if it is really clang.
Wayne Davison [Mon, 22 Jun 2020 05:34:32 +0000 (22:34 -0700)]
Get the g++ version to see if it is really clang.

3 years agoMention the early-input on stdin.
Wayne Davison [Mon, 22 Jun 2020 03:25:28 +0000 (20:25 -0700)]
Mention the early-input on stdin.

3 years agoPut the date in the heading of a pre release too.
Wayne Davison [Mon, 22 Jun 2020 02:46:28 +0000 (19:46 -0700)]
Put the date in the heading of a pre release too.

3 years agoPreparing for release of 3.2.1pre1 v3.2.1pre1
Wayne Davison [Mon, 22 Jun 2020 02:24:26 +0000 (19:24 -0700)]
Preparing for release of 3.2.1pre1

3 years agoImprove the simd note.
Wayne Davison [Mon, 22 Jun 2020 01:52:28 +0000 (18:52 -0700)]
Improve the simd note.

3 years agoMerge OLDNEWS.md into NEWS.md
Wayne Davison [Mon, 22 Jun 2020 00:04:51 +0000 (17:04 -0700)]
Merge OLDNEWS.md into NEWS.md

3 years agoThe proto files don't need perl, so change fetch rule.
Wayne Davison [Sun, 21 Jun 2020 23:46:06 +0000 (16:46 -0700)]
The proto files don't need perl, so change fetch rule.

3 years agoOne more >= tweak.
Wayne Davison [Sun, 21 Jun 2020 22:30:34 +0000 (15:30 -0700)]
One more >= tweak.

3 years agoGet the early-input reading code right.
Wayne Davison [Sun, 21 Jun 2020 22:23:13 +0000 (15:23 -0700)]
Get the early-input reading code right.

3 years agoLeave 3.2.0 news in the NEWS file for 3.2.1.
Wayne Davison [Sun, 21 Jun 2020 22:20:43 +0000 (15:20 -0700)]
Leave 3.2.0 news in the NEWS file for 3.2.1.

3 years agoDisable atimes on macOS.
Wayne Davison [Sun, 21 Jun 2020 22:14:06 +0000 (15:14 -0700)]
Disable atimes on macOS.

3 years agoAdd `--early-input=FILE` option.
Wayne Davison [Sun, 21 Jun 2020 21:32:00 +0000 (14:32 -0700)]
Add `--early-input=FILE` option.

3 years agoOutput a helpful msg about configure only if the command fails.
Wayne Davison [Sun, 21 Jun 2020 19:54:02 +0000 (12:54 -0700)]
Output a helpful msg about configure only if the command fails.

3 years agoClose STDIN for early exec script.
Wayne Davison [Sun, 21 Jun 2020 18:13:01 +0000 (11:13 -0700)]
Close STDIN for early exec script.

3 years agoMore NEWS changes.
Wayne Davison [Sun, 21 Jun 2020 16:10:11 +0000 (09:10 -0700)]
More NEWS changes.

3 years agoGive more_testing() a default target.
Wayne Davison [Sun, 21 Jun 2020 16:06:53 +0000 (09:06 -0700)]
Give more_testing() a default target.

3 years agoSome more docs/news changes.
Wayne Davison [Sun, 21 Jun 2020 15:40:23 +0000 (08:40 -0700)]
Some more docs/news changes.

- Mention the -VV behavior.
- Mention how the protect-args default is presented in -V list.

3 years agoUse an ssse3 target instead of an inline declaration.
Wayne Davison [Sun, 21 Jun 2020 15:28:49 +0000 (08:28 -0700)]
Use an ssse3 target instead of an inline declaration.

3 years agoAdd -fno-slp-vectorize to clang++.
Wayne Davison [Sun, 21 Jun 2020 15:05:19 +0000 (08:05 -0700)]
Add -fno-slp-vectorize to clang++.

3 years agoMention atimes & protected-args in capabilities.
Wayne Davison [Sun, 21 Jun 2020 06:24:59 +0000 (23:24 -0700)]
Mention atimes & protected-args in capabilities.

3 years agoTweak the NEWS.
Wayne Davison [Sun, 21 Jun 2020 06:15:22 +0000 (23:15 -0700)]
Tweak the NEWS.

3 years agoWe only need one capability marked with a "*".
Wayne Davison [Sun, 21 Jun 2020 05:09:08 +0000 (22:09 -0700)]
We only need one capability marked with a "*".

3 years agoMention "asm" instead of "ASM".
Wayne Davison [Sun, 21 Jun 2020 04:59:51 +0000 (21:59 -0700)]
Mention "asm" instead of "ASM".

3 years agoMention openssl-crypto in -VV list.
Wayne Davison [Sun, 21 Jun 2020 04:43:20 +0000 (21:43 -0700)]
Mention openssl-crypto in -VV list.

3 years agoElide -g from CXXFLAGS before the c++ test.
Wayne Davison [Sun, 21 Jun 2020 04:26:21 +0000 (21:26 -0700)]
Elide -g from CXXFLAGS before the c++ test.

3 years agoSome README and man page tweaks.
Wayne Davison [Sun, 21 Jun 2020 03:29:27 +0000 (20:29 -0700)]
Some README and man page tweaks.

3 years agoChange repo to be 3.2.1dev.
Wayne Davison [Sun, 21 Jun 2020 03:08:25 +0000 (20:08 -0700)]
Change repo to be 3.2.1dev.

3 years agoRequire -VV to see SIMD & ASM in version output
Wayne Davison [Sun, 21 Jun 2020 02:42:14 +0000 (19:42 -0700)]
Require -VV to see SIMD & ASM in version output

3 years agoGet rid of -g option in CXXFLAGS (at least for now).
Wayne Davison [Sun, 21 Jun 2020 02:23:07 +0000 (19:23 -0700)]
Get rid of -g option in CXXFLAGS (at least for now).

3 years agoRemove leftover case match.
Wayne Davison [Sun, 21 Jun 2020 02:00:57 +0000 (19:00 -0700)]
Remove leftover case match.

3 years agoWhen fetching gen files, make sure aclocal.m4 is older than configure files.
Wayne Davison [Sun, 21 Jun 2020 01:46:16 +0000 (18:46 -0700)]
When fetching gen files, make sure aclocal.m4 is older than configure files.

3 years agoMore asm improvements
Wayne Davison [Sun, 21 Jun 2020 01:21:27 +0000 (18:21 -0700)]
More asm improvements

- Only use the asm code if we're on x86_64.
- More changes to decouple asm from simd.
- Check if the -Wa,--noexecstack option works.
- Support --disable-asm configure option.

3 years agoInclude more SIMD test code to weed out older compilers.
Wayne Davison [Sun, 21 Jun 2020 00:36:13 +0000 (17:36 -0700)]
Include more SIMD test code to weed out older compilers.

3 years agoDecouple the MD5 asm code from the simd enabling.
Wayne Davison [Sun, 21 Jun 2020 00:01:25 +0000 (17:01 -0700)]
Decouple the MD5 asm code from the simd enabling.

3 years agoRemove asm type & size.
Wayne Davison [Sat, 20 Jun 2020 23:54:24 +0000 (16:54 -0700)]
Remove asm type & size.

3 years agoUse AC_RUN_IFELSE() to make sure we can run the cpp test program.
Wayne Davison [Sat, 20 Jun 2020 21:40:56 +0000 (14:40 -0700)]
Use AC_RUN_IFELSE() to make sure we can run the cpp test program.

3 years agoMention how to turn off simd near the cpp compile.
Wayne Davison [Sat, 20 Jun 2020 18:53:22 +0000 (11:53 -0700)]
Mention how to turn off simd near the cpp compile.

3 years agoSimplify some escaping.
Wayne Davison [Sat, 20 Jun 2020 18:35:56 +0000 (11:35 -0700)]
Simplify some escaping.

3 years agoChange SIMD test to use a compile check.
Wayne Davison [Sat, 20 Jun 2020 17:34:12 +0000 (10:34 -0700)]
Change SIMD test to use a compile check.

3 years agoHandle hard-linking the top-level $VER-NEWS.html file on a final release.
Wayne Davison [Sat, 20 Jun 2020 16:57:35 +0000 (09:57 -0700)]
Handle hard-linking the top-level $VER-NEWS.html file on a final release.

3 years agoThe nightly dir is gone now.
Wayne Davison [Sat, 20 Jun 2020 16:43:25 +0000 (09:43 -0700)]
The nightly dir is gone now.

3 years agoPass --noexecstack to assembler.
Wayne Davison [Sat, 20 Jun 2020 16:23:56 +0000 (09:23 -0700)]
Pass --noexecstack to assembler.

3 years agoFix conditional directives in the asm file
Wayne Davison [Sat, 20 Jun 2020 15:44:04 +0000 (08:44 -0700)]
Fix conditional directives in the asm file

- Switch .s -> .S to enable the preprocessor.
- Move some defines from mdigest.h to md-defines.h.
- Tweak the asm file to use md-defines.h.
- Add a couple missing .h dependencies in the Makefile.

3 years agoExclude the asm code when it's not being used.
Wayne Davison [Sat, 20 Jun 2020 14:59:26 +0000 (07:59 -0700)]
Exclude the asm code when it's not being used.

3 years agoFix compiling in a separate dir.
Wayne Davison [Sat, 20 Jun 2020 14:58:50 +0000 (07:58 -0700)]
Fix compiling in a separate dir.

3 years agolib/md5-asm-x86_64.s: fix build with Apple Clang
Caleb Xu [Sat, 20 Jun 2020 04:12:15 +0000 (00:12 -0400)]
lib/md5-asm-x86_64.s: fix build with Apple Clang

The Mach-O x86-64 model doesn't seem to support ".type" and
".size" directives in assembly. Add ifdefs that should allow for
the file to build without issues in Apple Clang.

3 years agoA slightly modified g++/clang++ check.
Wayne Davison [Sat, 20 Jun 2020 06:23:52 +0000 (23:23 -0700)]
A slightly modified g++/clang++ check.

3 years agoPreparing for release of 3.2.0 v3.2.0
Wayne Davison [Fri, 19 Jun 2020 21:11:01 +0000 (14:11 -0700)]
Preparing for release of 3.2.0

3 years agoSimplify a variable.
Wayne Davison [Fri, 19 Jun 2020 18:07:02 +0000 (11:07 -0700)]
Simplify a variable.

3 years agoYes, we know we're discarding a return value.
Wayne Davison [Fri, 19 Jun 2020 17:56:28 +0000 (10:56 -0700)]
Yes, we know we're discarding a return value.

3 years agoSimple change to recv_token().
Wayne Davison [Fri, 19 Jun 2020 16:55:48 +0000 (09:55 -0700)]
Simple change to recv_token().