Python-rsync

Latest version: v0.1.2

Safety actively analyzes 623657 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 5

2.3.5

NOT RELEASED YET

2.3.4

Released 2023-02-19

* Fix 248 by putting `include "config.h"` with `/* IWYU pragma: keep */` in
most `src/*.c` files. Add `/* IWYU pragma: keep */` to includes in
`src/fileutil.c` that are needed on some platforms but not others so we can
remove the special exemptions to skip this file for the iwyu and iwyu-fix
targets in `CMakeLists.txt`. Also add some typecasts to `rollsum.[ch]` and
`patch.c` to silence warnings on Windows. (dbaarda,
https://github.com/librsync/librsync/pull/249)

2.3.3

Released 2023-02-16

* Fix 244 Add windows build to stable release. Updated CONTRIBUTING.md
release instructions to be clearer and include instructions on how to
upload the win64 install artifact from the github "Check" action. (dbaarda,
https://github.com/librsync/librsync/pull/245)

* Update github actions and fix `iwyu` build target. Update `checkout` and
`upload-artifact` to v3. Update `lint.yml` installed packages for fixed
iwyu deps. Fix `iwyu` build target to ignore `fileutil.c` and use neater
clang output with noisy "note:" output removed. Run `make iwyu-fix` to fix
includes for `tests/rabinkarp_perf.c`. (dbaarda,
https://github.com/librsync/librsync/pull/243)

* Add missing word to README.md. (AvdN,
https://github.com/librsync/librsync/pull/237)

* Make delta directly process the input stream if it has enough data. Delta
operations will only accumulate data into the internal scoop buffer if the
input buffer is too small, otherwise it will process the input directly.
This makes delta calculations 5%~15% faster by avoiding extra data copying.
(dbaarda, https://github.com/librsync/librsync/pull/234)

* Add .gitignore for `.cmake` created by LSP on Windows. (sourcefrog,
https://github.com/librsync/librsync/pull/232)

* Upload build and install artifacts from Github actions. This means we get
downloadable build and install artifacts for all platforms from the "Check"
action. (sourcefrog, https://github.com/librsync/librsync/pull/231)

* Improve documentation so that Doxygen generates more complete documentation
with diagrams, renders better, and is more navigable as markdown docs on
GitHub. (dbaarda, https://github.com/librsync/librsync/pull/230)

* Add github action and make targets for clang-tidy and iwyu. Added
`clang-tidy` and `iwyu` make targets for checking code and includes, and
`iwyu-fix` for fixing includes. Added `lint.yml` GitHub action to run these
checks. Fixed all `clang-tidy` and `iwyu` warnings except for `fileutil.c`
with platform related include complications. Added consistent include
guards to all headers. Updated and improved documentation in
CONTRIBUTING.md to include these changes. (rizsotto, dbaarda,
https://github.com/librsync/librsync/pull/229)

* Tidy rdiff integration test scripts. Made the filenames and shell arguments
for test scripts consistent. (dbaarda,
https://github.com/librsync/librsync/pull/227)

* Add better cmake build type configuration support. Added `BuildType.cmake`
with better support for selecting the build type and making it default to
Debug. (dbaarda, https://github.com/librsync/librsync/pull/226)

* Fix 215 Migrate from Travis to GitHub Actions. Added a check.yml GitHub
action with updated test/platform matrix including full testing of rdiff on
Windows. (rizsotto, dbaarda, https://github.com/librsync/librsync/pull/225)

* Fix bash test scripts to work on Windows. Tweaked cmake configuration and
bash script tests so that full rdiff tests using libpopt from vcpkg work.
Running `cmake --target check` with rdiff compiled now works on windows.
(dbaarda, https://github.com/librsync/librsync/pull/224)

* Remove obsolete unused tests. Removed some obsolete mdfour test data files
and `check-rdiff` perl script. (dbaarda,
https://github.com/librsync/librsync/pull/223)

* Fix warning for later CMake versions. New CMake versions started
complaining about the filename `Findlibb2.cmake` not matching the LIBB2
variables being used. (rizsotto,
https://github.com/librsync/librsync/pull/221)

2.3.2

Released 2021-04-10

* Fix 214 heap corruption for too small kbloom. This could have crashed
delta operations for very small files/signatures. Strangely it didn't seem
to cause problems for most compilers/platforms, but did trigger errors for
new versions of MSVC. (ljusten,
https://github.com/librsync/librsync/pull/213)

* Fix 207 and add Travis Windows checks and improve compatibility. Turn on
`-Wconversion -Wno-sign-conversion` warnings for clang. Add MSVC compiler
flags to turn off posix warnings. Make all code compile clean with no
warnings on all Travis platforms. Added cmake config checking for windows
`io.h` and improve `fileutil.c` for MSVC. Fix broken error handling in
`rs_file_copy_cb()`. Improved trace output, making it less spamy and more
consistent. Add patch checking for invalid literal lengths. Improve
internal variable and argument types. Add explicit type conversions.
(dbaarda, https://github.com/librsync/librsync/pull/208)

* Fix a bug so patch will now fail returning RS_CORRUPT on encountering a
zero length copy command instead of hanging. Make copy_cb() copying more
data than requested an assert-fail on debug builds, and a log-warning for
release builds. Make trace output a little less spammy about copy_cb()
return values. (dbaarda, https://github.com/librsync/librsync/pull/206)

2.3.1

Released 2020-05-19

* Fix 198 cmake popt detection using pkg-config and 199 test scripts on
FreeBSD. Fixes and tidies FindPOPT.cmake and Findlibb2.cmake to use
pkg-config correctly and behave more like official FindPackage() cmake
modules. Makes all test scripts use /bin/sh instead of /bin/bash. (dbaarda,
mandree https://github.com/librsync/librsync/pull/200)

* Change default block_len to always be a multiple of the blake2b 128 byte
blocksize for efficiency. Tidy and update docs to explain using
rs_sig_args() and rs_build_hash_table(), add rs_file_*() utils, and
document new magic types. Remove really obsolete entries in TODO.md. Update
to Doxygen 1.8.16. (dbaarda, https://github.com/librsync/librsync/pull/195)

* Improve hashtable performance by adding a small optional bloom filter,
reducing max loadfactor from 80% to 70%, Fix hashcmp_count stats to include
comparing against empty buckets. This speeds up deltas by 20%~50%.
(dbaarda, https://github.com/librsync/librsync/pull/192,
https://github.com/librsync/librsync/pull/193,
https://github.com/librsync/librsync/pull/196)

* Optimize rabinkarp_update() by correctly using unsigned constants and
manually unrolling the loop for best performance. (dbaarda,
https://github.com/librsync/librsync/pull/191)

2.3.0

Released 2020-04-07

* Bump minor version from 2.2.1 to 2.3.0 to reflect additional rs_sig_args()
and strong_len=-1 support.

* Add public rs_sig_args() function for getting the recommend signature args
from the file size. Added support to rdiff for `--sum-size=-1` to indicate
"use minimum size safe against random block collisions". Added warning
output for sum-sizes that are too small to be safe. Fixed possible rdiff
bug affecting popt parsing on non-little-endian platforms. (dbaarda,
https://github.com/librsync/librsync/pull/109)

* Fixed yet more compiler warnings for various platforms/compilers.
(Adsun701, texierp, https://github.com/librsync/librsync/pull/187,
https://github.com/librsync/librsync/pull/188)

* Improved cmake popt handling to find popt dependencies using PkgConfig.
(ffontaine, https://github.com/librsync/librsync/pull/186)

* Tidied internal code and improved tests for netint.[ch], tube.c, and
hashtable.h. (dbaarda, https://github.com/librsync/librsync/pull/183
https://github.com/librsync/librsync/pull/185).

* Improved C99 compatibility. Add `-std=c99 -pedantic` to `CMAKE_C_FLAGS` for
gcc and clang. Fix all C99 warnings by making all code C99 compliant. Tidy
all CMake checks, `cmakedefines`, and `includes`. Fix 64bit support for
mdfour checksums (texierp, dbaarda,
https://github.com/librsync/librsync/pull/181,
https://github.com/librsync/librsync/pull/182)

* Usage clarified in rdiff (1) man page. (AaronM04,
https://github.com/librsync/librsync/pull/180)

Page 1 of 5

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.