summaryrefslogtreecommitdiff
path: root/rsync.h
Commit message (Collapse)AuthorAgeFilesLines
* Silence autoconf warnings.Wayne Davison2022-10-161-7/+1
|
* Pre-compute FILE_SUM_EXTRA_CNT.Wayne Davison2022-09-151-2/+2
|
* Fix bug with validing remote filter rules.Wayne Davison2022-09-121-0/+1
|
* Improve various things in the checksum codeWayne Davison2022-09-101-5/+6
| | | | | | | | | | - Size flist checksum data to hold the active size, not the max. - Add a negotiated hash method to the daemon auth code. - Use EVP for all openssl digests. This makes it easy to add more openssl digest methods and avoids deprecation warnings. - Support a way to re-enable deprecated digests via openssl conf file and allow a default file to be configured. - Supply a simple openssl-rsync.cnf file to enable legacy digests.
* Change name_num_obj struct to use a name_num_item pointer.Wayne Davison2022-08-181-1/+1
|
* Include bsd/strings.h if it existsWayne Davison2022-06-191-0/+3
| | | | | | | | Some systems apparently put strlcpy() into a separate bsd/strings.h file without putting the function into a separate library. Thus, configure finds that the function exists for linking but the build does not have the declaration (which rsync only supplies if it is also supplying its own version of the function).
* Handle linking with a zlib with external read_buf.Wayne Davison2022-04-111-0/+4
|
* Make asm use more selectableWayne Davison2022-03-031-6/+3
| | | | | | | - Make the SIMD ASM code off by default. Use configure --enable-simd-asm to enable. - Allow MD5 ASM code to be requested even when OpenSSL is handling MD4 checksums. Use configure --enable-md5-asm to enable.
* Preparing for release of 3.2.4pre2v3.2.4pre2Wayne Davison2022-01-151-1/+1
|
* Preparing for release of 3.2.4pre1v3.2.4pre1Wayne Davison2022-01-021-1/+1
|
* Use mallinfo2, when available, and use %zd for size_t values on C99.Wayne Davison2021-12-261-0/+11
| | | | An exhanced version of pull request #265.
* Add the --info=NONREG setting.Wayne Davison2021-11-031-1/+2
|
* Improve --omit-dir-times & --omit-link-timesWayne Davison2021-10-101-4/+0
| | | | | The code now better handles skipping time setting on dirs and/or links when --atimes and/or --crtimes is specified without --times.
* Enable --atimes on macOS.Wayne Davison2021-10-021-1/+1
|
* Reduce memory usage (#235)Jindřich Makovička2021-10-011-2/+3
| | | | | | | | | | In 2004, an allocation optimization has been added to the file list handling code, that preallocates 32k of file_struct pointers in a file_list. This optimization predates the incremental recursion feature, for which it is not appropriate anymore. When copying a tree containing a large number of small directories, using the incremental recursion, rsync allocates many short file_lists. Suddenly, the unused file_struct pointers can easily take 90-95% of the memory allocated by rsync.
* x86-64 AVX2 assemby implemenation of get_checksum1() (#174)Shark642021-09-261-3/+6
|
* Minor cleanup (#214)a13460542021-09-261-1/+1
| | | | | | | | | | | | - use `grep -E` and `grep -F` (`egrep` and `fgrep` are non-standard) - use same hashbang style for all test scripts - use explicit comparisons in test scripts - remove redundant ; from test scripts - make test script not executable, just like all the other scripts - unify codestyle across all test scripts - make openssl license exception clearer by having it at the top - use modern links in COPYING. The text now matches: https://www.gnu.org/licenses/gpl-3.0.txt - fix typo
* Remove duplicate include.Wayne Davison2021-09-261-1/+0
|
* Support --crtimes on Cygwin.Wayne Davison2021-07-081-1/+1
|
* Expand the max name_num_item list size.Wayne Davison2020-09-291-1/+1
|
* Various file comparison improvementsWayne Davison2020-09-221-0/+4
| | | | | | | | | | | | | | | | - 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.
* Add some comments about protocol versions.Wayne Davison2020-08-071-4/+14
|
* Simplify where version.h is included.Wayne Davison2020-08-061-1/+0
|
* Make my_alloc(NULL) use malloc instead of calloc.Wayne Davison2020-08-031-5/+5
|
* Move SUPPORT_ATIMES to rsync.h.Wayne Davison2020-08-031-0/+4
|
* Add --crtimes option.Wayne Davison2020-07-221-1/+10
|
* Mention file & line on OOM and overflow errors.Wayne Davison2020-07-121-0/+3
| | | | | Also simplify output of src file paths in errors & warnings when built in a alternate build dir.
* Check for overflow the right way.Wayne Davison2020-07-121-0/+4
|
* Warning fixes & impossible-failure improvementsWayne Davison2020-07-081-0/+5
| | | | | - Silence a couple warnings for less-common builds. - Use a better impossible-failure idiom than assert(0).
* More TANDEM changesWayne Davison2020-07-061-0/+16
| | | | | | - Handle a non-0 root uid. - Handle alternate major/minor/MAKEDEV funcs. - Other misc compatibility tweaks.
* Some configure tweaks for TANDEM.Wayne Davison2020-07-051-0/+2
|
* Some C99 flexible array changesWayne Davison2020-07-051-3/+25
| | | | | | | - Use C99 flexible arrays when possible, and fall back on the existing fname[1] kluges on older compilers. - Avoid static initialization of a flexible array, which is not really in the C standard.
* Don't turn off the user's open-noatime unless the module is forcing the value.Wayne Davison2020-07-041-0/+1
|
* Avoid strdup redefinition warning.Wayne Davison2020-06-301-0/+1
|
* Move the version string out of configure.ac.Wayne Davison2020-06-281-0/+1
|
* Improve the NSTR differentiation idiom.Wayne Davison2020-06-271-0/+3
|
* A few more simple changes & fixes.Wayne Davison2020-06-261-6/+6
|
* Some memory allocation improvementsWayne Davison2020-06-251-5/+11
| | | | | | | | | | - 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.
* Tweak alloc args to size_t w/proper realloc order.Wayne Davison2020-06-241-1/+1
|
* Change 3 alt-dest vars to just one + some defines.Wayne Davison2020-06-131-0/+4
|
* Fix overzealous setting of mtime & tweak time comparisonsWayne Davison2020-06-131-1/+1
| | | | | | | - Stop setting the mtime on a file we didn't transfer (or didn't verify the checksum) when the time diff is within the modify window. - Stop computing a time difference (-1|0|1) when all we care about is time equality.
* Tweak the hashtable routines to be a little clearer and easier.Wayne Davison2020-06-121-0/+3
|
* Correctly send last error to senderbenrubson2020-05-261-0/+1
|
* Make compression-level handling generic.Wayne Davison2020-05-251-0/+5
|
* A few more compression tweaks.Wayne Davison2020-05-241-0/+4
|
* Add support for negotiated checksum names.Wayne Davison2020-05-241-4/+17
|
* Some checksum improvementsWayne Davison2020-05-221-1/+2
| | | | | | - Improve csum negotation logic. - Define the csum names in a single structure. - Add --debug=CSUM.
* SSE2/SSSE3 optimized version of get_checksum1() for x86-64Jorrit Jongma2020-05-211-0/+2
| | | | | | | | | Requires compilation using GCC C++ front end, build scripts have been modified accordingly. C++ is only used when the optimization is enabled (g++ as compiler, x86-64 build target, --enable-sse2 is passed to configure). (Wayne made a few tweaks, including making it disabled by default.)
* A few superficial tweaks.Wayne Davison2020-04-291-2/+3
|
* Use a varint to send the file-list flagsWayne Davison2020-04-291-1/+7
| | | | | | | If both sides support the "V" compatibility flag, we send the file-list flags as a varint instead of a 1-or-2 byte value. This upgrades the number of reserved flag bits from 1 to 17 with very few extra bytes in typical file-list data.