Wayne Davison
b115bc8a5d
Silence a few more warnings.
2020-09-29 16:05:29 -07:00
Wayne Davison
cd018c7a4c
Use a better -Wno-pedantic heuristic.
2020-09-29 15:30:20 -07:00
Wayne Davison
9fce0eb5ab
Avoid some pedantic errors & old warnings.
2020-09-29 14:51:45 -07:00
Wayne Davison
33e94849b1
Handle early gcc versions that don't understand -Wno-pedantic.
2020-09-29 14:27:59 -07:00
Wayne Davison
8f1511184a
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).
2020-09-29 13:18:28 -07:00
Wayne Davison
acca9d43d3
Expand the max name_num_item list size.
2020-09-29 12:57:32 -07:00
Wayne Davison
58f464f4da
Change --info=skip2 messages & add info on attr changes.
2020-09-23 09:33:29 -07:00
Wayne Davison
7eb59a9152
Change from $build_cpu to $host_cpu as edo1 suggested.
2020-09-22 17:19:48 -07:00
Wayne Davison
740ed11aa8
Make the extra info on the "exists" messages optional.
2020-09-22 16:45:07 -07:00
Wayne Davison
d2a97a7ab4
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.
2020-09-22 12:48:02 -07:00
Wayne Davison
15bc7ded39
More NEWS updates.
2020-09-21 19:17:59 -07:00
Wayne Davison
f0810068a6
A couple whitespace tweaks.
2020-09-21 18:42:21 -07:00
Shark64
7aa2f36317
optimize avx2 code ( #102 )
...
Optimize avx2 code using only intrinsic functions supported by older gcc versions.
2020-09-21 15:11:27 -07:00
Wayne Davison
9cd85b8496
Skip an append if sender's file gets shorter.
...
Fixes bug #90 . Similar to a pull request by Tomas Korbar.
2020-09-21 14:57:45 -07:00
Wayne Davison
f8dcd7d452
Improve the docs for --archive.
...
A slightly tweaked version of a patch from Richard Michael.
2020-09-21 14:07:48 -07:00
Wayne Davison
69530b406e
Avoid output variance in protocol 29.
2020-09-21 13:45:42 -07:00
Wayne Davison
122b0fdc4f
Check status of tests that pipe rsync's output & simplify output diffing.
2020-09-21 13:32:41 -07:00
Wayne Davison
b990d97d35
Put CAN_HARDLINK_SYMLINK info into --version output.
2020-09-21 13:17:15 -07:00
Wayne Davison
fd6839b746
Avoid spurious "is newer" messages with --update.
2020-09-21 11:07:42 -07:00
Wayne Davison
a79d9b22b1
Update the NEWS.
2020-09-08 22:31:18 -07:00
Wayne Davison
2613c9d98a
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.
2020-09-08 10:58:47 -07:00
Wayne Davison
27aff880a9
Use new xxhash lib in cygwin build. [buildall]
2020-09-07 19:42:08 -07:00
Wayne Davison
7b53e67d64
Try using the Windows version of curl. [buildall]
2020-09-07 15:11:32 -07:00
Wayne Davison
da956469a1
Another cygwin build attempt. [buildall]
2020-09-07 14:46:27 -07:00
Wayne Davison
9c59632d8b
Improve a sentence about --stderr=all.
2020-09-07 14:42:35 -07:00
Wayne Davison
d1f458d383
Try cygwin build again. [buildall]
2020-09-07 14:23:39 -07:00
Wayne Davison
a35a900ac0
Add git-version.h to "gen" target.
2020-09-06 23:36:08 -07:00
Wayne Davison
f4c3969b63
Leave git-version.h out of GENFILES so it doesn't go in a release tar.
2020-09-06 23:27:28 -07:00
Wayne Davison
ee75e51f2f
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.
2020-09-06 23:09:11 -07:00
Wayne Davison
9f9240b661
Set CXX_OK=no when cross compiling.
2020-09-03 10:07:36 -07:00
Wayne Davison
48885309c7
Create SECURITY.md
2020-09-02 14:49:20 -07:00
Wayne Davison
203b3d0143
Setup for 3.2.4dev.
2020-08-27 19:36:57 -07:00
Wayne Davison
25526eb3fe
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.
2020-08-27 19:23:13 -07:00
Matt McCutchen
c3f7414c45
rsync-ssl: Verify the hostname in the certificate when using openssl.
2020-08-26 14:07:02 -07:00
Wayne Davison
4c4fce5107
Add some comments about protocol versions.
2020-08-07 16:25:12 -07:00
Wayne Davison
6816b31378
Simplify where version.h is included.
2020-08-06 21:10:46 -07:00
Wayne Davison
e94bad1c15
Preparing for release of 3.2.3
v3.2.3
2020-08-06 20:57:26 -07:00
Wayne Davison
617d726a3d
Tweak a comment.
2020-08-05 21:32:44 -07:00
Wayne Davison
020eda887f
Change fetch depth.
2020-08-03 14:47:38 -07:00
Wayne Davison
b5f8021a12
Don't use --always to ensure a tag is in gitver.
2020-08-03 14:27:49 -07:00
Wayne Davison
7b6947576a
Avoid a build fail when git isn't installed.
2020-08-03 14:20:08 -07:00
Wayne Davison
9375a8c4c2
Make my_alloc(NULL) use malloc instead of calloc.
2020-08-03 14:01:18 -07:00
Wayne Davison
7f5c4084c7
Use touch for proto.h-tstamp since one awk wasn't updating mtime.
2020-08-03 13:33:46 -07:00
Wayne Davison
6c89f00d1b
Move SUPPORT_ATIMES to rsync.h.
2020-08-03 13:27:00 -07:00
Wayne Davison
dee0993286
Create usage.c for smaller awk-dep rebuilds.
2020-08-03 12:23:18 -07:00
Wayne Davison
47351c2b16
Use RSYNC_GITVER in more output
2020-08-03 10:46:31 -07:00
Wayne Davison
16b7670614
A couple more mkgitver tweaks
...
- Support git worktree checkouts (has non-dir .git)
- Use --always for someone who may be missing a tag.
2020-08-03 10:23:43 -07:00
Wayne Davison
72b2a81f90
Use --abbrev=8 instead of --tags.
2020-08-01 00:43:37 -07:00
Wayne Davison
d73c26d2b7
Put git version in a file for between-release versioning.
2020-08-01 00:15:06 -07:00
Wayne Davison
e83bbeb673
Don't make .PHONY the first target in a Makefile.
2020-07-30 18:58:34 -07:00