]> git.ipfire.org Git - thirdparty/rsync.git/log
thirdparty/rsync.git
4 years agoHandle early gcc versions that don't understand -Wno-pedantic.
Wayne Davison [Tue, 29 Sep 2020 21:22:40 +0000 (14:22 -0700)] 
Handle early gcc versions that don't understand -Wno-pedantic.

4 years agoMake gcc die on init overflow of an array.
Wayne Davison [Tue, 29 Sep 2020 20:04:41 +0000 (13:04 -0700)] 
Make gcc die on init overflow of an array.

- Use -pedantic-errors with gcc to make an array-init fatal.
- Fix all the extra warnings that gcc outputs due to this option.
- Also add -Wno-pedantic to gcc if we're using the internal popt
  code (since it has lots of pedantic issues).

4 years agoExpand the max name_num_item list size.
Wayne Davison [Tue, 29 Sep 2020 19:57:32 +0000 (12:57 -0700)] 
Expand the max name_num_item list size.

4 years agoChange `--info=skip2` messages & add info on attr changes.
Wayne Davison [Wed, 23 Sep 2020 16:26:10 +0000 (09:26 -0700)] 
Change `--info=skip2` messages & add info on attr changes.

4 years agoChange from $build_cpu to $host_cpu as edo1 suggested.
Wayne Davison [Wed, 23 Sep 2020 00:19:45 +0000 (17:19 -0700)] 
Change from $build_cpu to $host_cpu as edo1 suggested.

4 years agoMake the extra info on the "exists" messages optional.
Wayne Davison [Tue, 22 Sep 2020 23:43:18 +0000 (16:43 -0700)] 
Make the extra info on the "exists" messages optional.

4 years agoVarious file comparison improvements
Wayne Davison [Tue, 22 Sep 2020 18:46:36 +0000 (11:46 -0700)] 
Various file comparison improvements

- Rename unchanged_file() to quick_check_ok().
- Enhance quick_check_ok() to work with non-regular files.
- Add a get_file_type() function to the generator.
- Use the new functions in the generator code to make the logic simpler.
- Fix a bug where the `--alt-dest` functions were not checking if a
  special file fully matched the non-permission mode bits before
  deciding if we have found an alt-dest match.
- Enhance the `--info=skip --ignore-existing` output to include extra
  info on if the existing file differs in type or passes the standard
  quick-check logic.
- Add `--info=skip2` that authorizes rsync to perform a slow checksum
  "quick check" when ignoring existing files. This provides the uptodate
  and differs info even if we need to checksum a file to get it.

4 years agoMore NEWS updates.
Wayne Davison [Tue, 22 Sep 2020 02:17:59 +0000 (19:17 -0700)] 
More NEWS updates.

4 years agoA couple whitespace tweaks.
Wayne Davison [Tue, 22 Sep 2020 01:42:21 +0000 (18:42 -0700)] 
A couple whitespace tweaks.

4 years agooptimize avx2 code (#102)
Shark64 [Mon, 21 Sep 2020 22:11:27 +0000 (00:11 +0200)] 
optimize avx2 code (#102)

Optimize avx2 code using only intrinsic functions supported by older gcc versions.

4 years agoSkip an append if sender's file gets shorter.
Wayne Davison [Mon, 21 Sep 2020 21:40:23 +0000 (14:40 -0700)] 
Skip an append if sender's file gets shorter.

Fixes bug #90.  Similar to a pull request by Tomas Korbar.

4 years agoImprove the docs for `--archive`.
Wayne Davison [Mon, 21 Sep 2020 21:05:51 +0000 (14:05 -0700)] 
Improve the docs for `--archive`.

A slightly tweaked version of a patch from Richard Michael.

4 years agoAvoid output variance in protocol 29.
Wayne Davison [Mon, 21 Sep 2020 20:45:42 +0000 (13:45 -0700)] 
Avoid output variance in protocol 29.

4 years agoCheck status of tests that pipe rsync's output & simplify output diffing.
Wayne Davison [Mon, 21 Sep 2020 20:15:43 +0000 (13:15 -0700)] 
Check status of tests that pipe rsync's output & simplify output diffing.

4 years agoPut CAN_HARDLINK_SYMLINK info into --version output.
Wayne Davison [Mon, 21 Sep 2020 20:17:15 +0000 (13:17 -0700)] 
Put CAN_HARDLINK_SYMLINK info into --version output.

4 years agoAvoid spurious "is newer" messages with `--update`.
Wayne Davison [Mon, 21 Sep 2020 17:44:18 +0000 (10:44 -0700)] 
Avoid spurious "is newer" messages with `--update`.

4 years agoUpdate the NEWS.
Wayne Davison [Wed, 9 Sep 2020 05:18:32 +0000 (22:18 -0700)] 
Update the NEWS.

4 years agoHandle a --mkpath failure
Wayne Davison [Tue, 8 Sep 2020 17:53:29 +0000 (10:53 -0700)] 
Handle a --mkpath failure

Fixes bug #96 where --mkpath makes rsync complain when a dest path
exists but the path contains an alt-dest name for the single file.

4 years agoUse new xxhash lib in cygwin build. [buildall]
Wayne Davison [Tue, 8 Sep 2020 02:42:08 +0000 (19:42 -0700)] 
Use new xxhash lib in cygwin build. [buildall]

4 years agoTry using the Windows version of curl. [buildall]
Wayne Davison [Mon, 7 Sep 2020 22:11:32 +0000 (15:11 -0700)] 
Try using the Windows version of curl. [buildall]

4 years agoAnother cygwin build attempt. [buildall]
Wayne Davison [Mon, 7 Sep 2020 21:39:27 +0000 (14:39 -0700)] 
Another cygwin build attempt. [buildall]

4 years agoImprove a sentence about --stderr=all.
Wayne Davison [Mon, 7 Sep 2020 21:31:53 +0000 (14:31 -0700)] 
Improve a sentence about --stderr=all.

4 years agoTry cygwin build again. [buildall]
Wayne Davison [Mon, 7 Sep 2020 21:23:39 +0000 (14:23 -0700)] 
Try cygwin build again. [buildall]

4 years agoAdd git-version.h to "gen" target.
Wayne Davison [Mon, 7 Sep 2020 06:36:08 +0000 (23:36 -0700)] 
Add git-version.h to "gen" target.

4 years agoLeave git-version.h out of GENFILES so it doesn't go in a release tar.
Wayne Davison [Mon, 7 Sep 2020 06:27:28 +0000 (23:27 -0700)] 
Leave git-version.h out of GENFILES so it doesn't go in a release tar.

4 years agoAllow git-version.h to be provided for the build
Wayne Davison [Mon, 7 Sep 2020 05:49:27 +0000 (22:49 -0700)] 
Allow git-version.h to be provided for the build

For a non-git build or for a git build w/o adequate git history, we now
allow the git-version.h file to be provided before the build.  If the
file does not exist, we either create an empty file or put a define of
RSYNC_GITVER in it based on the output of git describe.  The github
builds now snag the git-version.h file that was generated for the last
commit so that they all get the same version string, even with a shallow
checkout.

4 years agoSet CXX_OK=no when cross compiling.
Wayne Davison [Thu, 3 Sep 2020 17:07:36 +0000 (10:07 -0700)] 
Set CXX_OK=no when cross compiling.

4 years agoCreate SECURITY.md
Wayne Davison [Wed, 2 Sep 2020 21:49:20 +0000 (14:49 -0700)] 
Create SECURITY.md

4 years agoSetup for 3.2.4dev.
Wayne Davison [Fri, 28 Aug 2020 02:33:15 +0000 (19:33 -0700)] 
Setup for 3.2.4dev.

4 years agoSimplify the compat logic for local_server
Wayne Davison [Fri, 28 Aug 2020 01:58:21 +0000 (18:58 -0700)] 
Simplify the compat logic for local_server

Change the logic in compat.c to construct the client_info string value
for a local copy so that the various checks of the string don't need to
make an exception for local_server.

4 years agorsync-ssl: Verify the hostname in the certificate when using openssl.
Matt McCutchen [Wed, 26 Aug 2020 16:16:08 +0000 (12:16 -0400)] 
rsync-ssl: Verify the hostname in the certificate when using openssl.

4 years agoAdd some comments about protocol versions.
Wayne Davison [Fri, 7 Aug 2020 23:20:48 +0000 (16:20 -0700)] 
Add some comments about protocol versions.

5 years agoSimplify where version.h is included.
Wayne Davison [Fri, 7 Aug 2020 04:10:46 +0000 (21:10 -0700)] 
Simplify where version.h is included.

5 years agoPreparing for release of 3.2.3 v3.2.3
Wayne Davison [Fri, 7 Aug 2020 03:57:26 +0000 (20:57 -0700)] 
Preparing for release of 3.2.3

5 years agoTweak a comment.
Wayne Davison [Thu, 6 Aug 2020 04:32:44 +0000 (21:32 -0700)] 
Tweak a comment.

5 years agoChange fetch depth.
Wayne Davison [Mon, 3 Aug 2020 21:47:38 +0000 (14:47 -0700)] 
Change fetch depth.

5 years agoDon't use --always to ensure a tag is in gitver.
Wayne Davison [Mon, 3 Aug 2020 21:25:43 +0000 (14:25 -0700)] 
Don't use --always to ensure a tag is in gitver.

5 years agoAvoid a build fail when git isn't installed.
Wayne Davison [Mon, 3 Aug 2020 21:19:13 +0000 (14:19 -0700)] 
Avoid a build fail when git isn't installed.

5 years agoMake my_alloc(NULL) use malloc instead of calloc.
Wayne Davison [Mon, 3 Aug 2020 21:01:18 +0000 (14:01 -0700)] 
Make my_alloc(NULL) use malloc instead of calloc.

5 years agoUse touch for proto.h-tstamp since one awk wasn't updating mtime.
Wayne Davison [Mon, 3 Aug 2020 20:31:56 +0000 (13:31 -0700)] 
Use touch for proto.h-tstamp since one awk wasn't updating mtime.

5 years agoMove SUPPORT_ATIMES to rsync.h.
Wayne Davison [Mon, 3 Aug 2020 20:27:00 +0000 (13:27 -0700)] 
Move SUPPORT_ATIMES to rsync.h.

5 years agoCreate usage.c for smaller awk-dep rebuilds.
Wayne Davison [Mon, 3 Aug 2020 18:33:32 +0000 (11:33 -0700)] 
Create usage.c for smaller awk-dep rebuilds.

5 years agoUse RSYNC_GITVER in more output
Wayne Davison [Mon, 3 Aug 2020 17:42:08 +0000 (10:42 -0700)] 
Use RSYNC_GITVER in more output

5 years agoA couple more mkgitver tweaks
Wayne Davison [Mon, 3 Aug 2020 17:23:43 +0000 (10:23 -0700)] 
A couple more mkgitver tweaks

- Support git worktree checkouts (has non-dir .git)
- Use --always for someone who may be missing a tag.

5 years agoUse --abbrev=8 instead of --tags.
Wayne Davison [Sat, 1 Aug 2020 07:41:53 +0000 (00:41 -0700)] 
Use --abbrev=8 instead of --tags.

5 years agoPut git version in a file for between-release versioning.
Wayne Davison [Sat, 1 Aug 2020 07:15:06 +0000 (00:15 -0700)] 
Put git version in a file for between-release versioning.

5 years agoDon't make .PHONY the first target in a Makefile.
Wayne Davison [Fri, 31 Jul 2020 01:58:34 +0000 (18:58 -0700)] 
Don't make .PHONY the first target in a Makefile.

5 years agoMake configure less annoying
Wayne Davison [Fri, 31 Jul 2020 01:30:51 +0000 (18:30 -0700)] 
Make configure less annoying

- Improve configure's notifications around the new features.
- Improve the info about man page generation and fetching.

5 years agoSome Makefile improvements.
Wayne Davison [Wed, 29 Jul 2020 18:51:55 +0000 (11:51 -0700)] 
Some Makefile improvements.

- Improve distclean.
- Remove proto.h from GENFILES (we don't need to distribute it).
- Improve finddead target.

5 years agoTweak a comment.
Wayne Davison [Wed, 29 Jul 2020 18:50:00 +0000 (11:50 -0700)] 
Tweak a comment.

5 years agoINSTALL changes, including some Fedora packages.
Wayne Davison [Wed, 29 Jul 2020 18:22:23 +0000 (11:22 -0700)] 
INSTALL changes, including some Fedora packages.

5 years agoPreparing for release of 3.2.3pre1 v3.2.3pre1
Wayne Davison [Tue, 28 Jul 2020 00:56:25 +0000 (17:56 -0700)] 
Preparing for release of 3.2.3pre1

5 years agoNeed 3.2.3 line in table & tweak to release script.
Wayne Davison [Tue, 28 Jul 2020 00:49:28 +0000 (17:49 -0700)] 
Need 3.2.3 line in table & tweak to release script.

5 years agoA couple more NEWS updates.
Wayne Davison [Mon, 27 Jul 2020 23:50:47 +0000 (16:50 -0700)] 
A couple more NEWS updates.

5 years agoSet LANG to C to help with some remote build hosts.
Wayne Davison [Mon, 27 Jul 2020 23:48:48 +0000 (16:48 -0700)] 
Set LANG to C to help with some remote build hosts.

5 years agoUse linkat() if available
Wayne Davison [Mon, 27 Jul 2020 23:36:55 +0000 (16:36 -0700)] 
Use linkat() if available

Some OSes have a more capable linkat() function that can hard-link
syslinks, so use linkat() when it is available.

5 years agoAdd a few more skip-compress suffixes.
Wayne Davison [Mon, 27 Jul 2020 22:56:48 +0000 (15:56 -0700)] 
Add a few more skip-compress suffixes.

5 years agoMake the `--append*` options have more warnings.
Wayne Davison [Mon, 27 Jul 2020 22:05:11 +0000 (15:05 -0700)] 
Make the `--append*` options have more warnings.

5 years agoDon't allow a completely empty source arg.
Wayne Davison [Mon, 27 Jul 2020 21:42:21 +0000 (14:42 -0700)] 
Don't allow a completely empty source arg.

5 years agoMention an implied option.
Wayne Davison [Mon, 27 Jul 2020 20:49:19 +0000 (13:49 -0700)] 
Mention an implied option.

5 years agoReplace a couple calloc() calls with new_array0().
Wayne Davison [Mon, 27 Jul 2020 06:30:50 +0000 (23:30 -0700)] 
Replace a couple calloc() calls with new_array0().

5 years agoComplain about a missing/non-dir `--temp-dir`.
Wayne Davison [Sun, 26 Jul 2020 08:56:30 +0000 (01:56 -0700)] 
Complain about a missing/non-dir `--temp-dir`.

5 years agoDon't include config.h in proto.h rule.
Wayne Davison [Sun, 26 Jul 2020 08:40:55 +0000 (01:40 -0700)] 
Don't include config.h in proto.h rule.

5 years agoMention awk/gawk/nawk dependency.
Wayne Davison [Sun, 26 Jul 2020 08:40:43 +0000 (01:40 -0700)] 
Mention awk/gawk/nawk dependency.

5 years agoMention `--protect-args` in `--chown` info.
Wayne Davison [Sun, 26 Jul 2020 07:59:51 +0000 (00:59 -0700)] 
Mention `--protect-args` in `--chown` info.

5 years agoFix issue where rdev major could get out of sync
Wayne Davison [Sun, 26 Jul 2020 06:28:44 +0000 (23:28 -0700)] 
Fix issue where rdev major could get out of sync

If the receiving side read a hard-linked device, it needs to set the
value of rdev_major to the value it snags from the hard-linked data
because the sender set their rdev_major value for that file entry.

5 years agoHave release script use patch-update --make (not --shell)
Wayne Davison [Sat, 25 Jul 2020 17:52:49 +0000 (10:52 -0700)] 
Have release script use patch-update --make (not --shell)

5 years agoFix a grammar error.
Wayne Davison [Sat, 25 Jul 2020 17:40:46 +0000 (10:40 -0700)] 
Fix a grammar error.

5 years agoMore spelling fixes.
Wayne Davison [Sat, 25 Jul 2020 17:34:26 +0000 (10:34 -0700)] 
More spelling fixes.

5 years agoFix some spelling errors.
Wayne Davison [Sat, 25 Jul 2020 17:21:50 +0000 (10:21 -0700)] 
Fix some spelling errors.

5 years agoChange new stderr options to `--stderr=MODE`.
Wayne Davison [Sat, 25 Jul 2020 16:37:17 +0000 (09:37 -0700)] 
Change new stderr options to `--stderr=MODE`.

5 years agoChange daemon variable & simplify some option code
Wayne Davison [Sat, 25 Jul 2020 16:15:41 +0000 (09:15 -0700)] 
Change daemon variable & simplify some option code

- Rename daemon_over_rsh -> daemon_connection since it is also used to
  indicate if a non-rsh daemon connection is active.
- Move the daemon-over-rsh exception out of server_options() to the one
  caller that needs that behavior.
- Don't allow noop_io_until_death() to be short-circuited when talking
  to a daemon over a socket, because it can't send errors via stderr.

5 years agoTweak NEWS & src_file().
Wayne Davison [Sat, 25 Jul 2020 06:30:32 +0000 (23:30 -0700)] 
Tweak NEWS & src_file().

5 years agoAdd `--errors2stderr` & `--msgs2protocol` options.
Wayne Davison [Sat, 25 Jul 2020 02:17:55 +0000 (19:17 -0700)] 
Add `--errors2stderr` & `--msgs2protocol` options.

5 years agoHandle the first run of configure; prefer gmake.
Wayne Davison [Sat, 25 Jul 2020 00:31:54 +0000 (17:31 -0700)] 
Handle the first run of configure; prefer gmake.

5 years agoChange smart-rebuild to smart-make.
Wayne Davison [Sat, 25 Jul 2020 00:20:45 +0000 (17:20 -0700)] 
Change smart-rebuild to smart-make.

5 years agoFix the setting of $make.
Wayne Davison [Fri, 24 Jul 2020 23:49:55 +0000 (16:49 -0700)] 
Fix the setting of $make.

5 years agoAdd helper script for a smart rebuild.
Wayne Davison [Fri, 24 Jul 2020 21:04:02 +0000 (14:04 -0700)] 
Add helper script for a smart rebuild.

5 years agoLink to the git blob for source files.
Wayne Davison [Fri, 24 Jul 2020 19:47:35 +0000 (12:47 -0700)] 
Link to the git blob for source files.

5 years agoMore changes to NEWS, README, INSTALL, & configure.ac
Wayne Davison [Fri, 24 Jul 2020 18:53:16 +0000 (11:53 -0700)] 
More changes to NEWS, README, INSTALL, & configure.ac

5 years agoEnable xattrs on Cygwin.
Wayne Davison [Fri, 24 Jul 2020 18:38:14 +0000 (11:38 -0700)] 
Enable xattrs on Cygwin.

- Tweak configure.ac to have Cygwin use linux xattrs.
- Change CI setup to install attr packages on Cygwin.

[buildall]

5 years agoAdd Cygwin package info into INSTALL.md.
Wayne Davison [Fri, 24 Jul 2020 18:37:50 +0000 (11:37 -0700)] 
Add Cygwin package info into INSTALL.md.

5 years agoFix devices-fake test if rsync can't link specials
Wayne Davison [Fri, 24 Jul 2020 18:33:21 +0000 (11:33 -0700)] 
Fix devices-fake test if rsync can't link specials

- Add info about hardlinked specials to --version output.
- Use "no hardlink-special" info to ensure that the devices-fake
  test will not fail.

5 years agoInstall python3 for cygwin [buildall]
Wayne Davison [Fri, 24 Jul 2020 17:10:26 +0000 (10:10 -0700)] 
Install python3 for cygwin [buildall]

5 years agoInstall python36 for cygwin [buildall]
Wayne Davison [Fri, 24 Jul 2020 16:57:41 +0000 (09:57 -0700)] 
Install python36 for cygwin [buildall]

5 years agoChange the --mkpath message.
Wayne Davison [Fri, 24 Jul 2020 16:45:47 +0000 (09:45 -0700)] 
Change the --mkpath message.

5 years agoSome INSTALL improvements.
Wayne Davison [Fri, 24 Jul 2020 16:42:49 +0000 (09:42 -0700)] 
Some INSTALL improvements.

5 years agoAdd --mkpath option. Fixes bugzilla bug 4621.
Wayne Davison [Fri, 24 Jul 2020 03:46:51 +0000 (20:46 -0700)] 
Add --mkpath option. Fixes bugzilla bug 4621.

5 years agoAdd packages to INSTALL.md; put INSTALL.md on ftp site
Wayne Davison [Fri, 24 Jul 2020 00:29:13 +0000 (17:29 -0700)] 
Add packages to INSTALL.md; put INSTALL.md on ftp site

5 years agoSimplify md_parser assignment.
Wayne Davison [Fri, 24 Jul 2020 00:28:34 +0000 (17:28 -0700)] 
Simplify md_parser assignment.

5 years agoFix multi-line code blocks.
Wayne Davison [Thu, 23 Jul 2020 23:20:07 +0000 (16:20 -0700)] 
Fix multi-line code blocks.

5 years agoTweak ubuntu configure args.
Wayne Davison [Thu, 23 Jul 2020 19:32:41 +0000 (12:32 -0700)] 
Tweak ubuntu configure args.

5 years agoSetup commonmark on Cygwin.
Wayne Davison [Thu, 23 Jul 2020 19:20:40 +0000 (12:20 -0700)] 
Setup commonmark on Cygwin.

5 years agoSimplify the msgs2stderr default logic.
Wayne Davison [Thu, 23 Jul 2020 19:14:07 +0000 (12:14 -0700)] 
Simplify the msgs2stderr default logic.

5 years agoImprove error output for local & remote-shell xfers
Wayne Davison [Thu, 23 Jul 2020 17:36:49 +0000 (10:36 -0700)] 
Improve error output for local & remote-shell xfers

5 years agoDrop a superfluous "+".
Wayne Davison [Thu, 23 Jul 2020 04:42:24 +0000 (21:42 -0700)] 
Drop a superfluous "+".

5 years agoA few more build improvements
Wayne Davison [Thu, 23 Jul 2020 04:01:01 +0000 (21:01 -0700)] 
A few more build improvements

Includes Ben's RSYNC_MAX_SKIPPED=3 suggestion for FreeBSD and a fix for
the artifact file list for Cygwin.

5 years agoAdd --crtimes option.
Wayne Davison [Wed, 22 Jul 2020 19:12:18 +0000 (12:12 -0700)] 
Add --crtimes option.

5 years agoImprove --itemize-changes doc.
Wayne Davison [Wed, 22 Jul 2020 18:26:02 +0000 (11:26 -0700)] 
Improve --itemize-changes doc.

5 years agoSwitch to RSYNC_MAX_SKIPPED test setting.
Wayne Davison [Wed, 22 Jul 2020 17:59:15 +0000 (10:59 -0700)] 
Switch to RSYNC_MAX_SKIPPED test setting.