Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

merge #1

Open
wants to merge 832 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
832 commits
Select commit Hold shift + click to select a range
5917692
Merge pull request #178 from dbaarda/rel/release-v2.2.1
dbaarda Oct 16, 2019
540a32f
Prepare for development of the next v2.2.2 librsync release.
dbaarda Oct 17, 2019
66740c2
Merge pull request #179 from dbaarda/rel/prepare-v2.2.2
dbaarda Oct 17, 2019
7942828
Merge branch 'master' into dev/sigparms1
dbaarda Oct 17, 2019
31c937d
Clarify usage on rdiff(1) man page.
AaronM04 Nov 17, 2019
620b7e1
Improve the usage clarification.
dbaarda Nov 22, 2019
0c3129f
CMakeLists: fix build with old compilers
texierp Nov 23, 2019
001c5a3
Merge pull request #181 from texierp/fix/gnu99
dbaarda Nov 25, 2019
cd085bc
Run make tidyc on src/netint.c.
dbaarda Nov 25, 2019
a107c60
Make src/checksum.h c99 compliant.
dbaarda Nov 25, 2019
fffab9d
Make src/version.c C99 compliant.
dbaarda Nov 25, 2019
067cbc0
Make src/trace.[ch] C99 compliant.
dbaarda Nov 25, 2019
e3ef87a
Remove cmake support for unused features.
dbaarda Nov 25, 2019
103c25f
Remove unused support for nonstandard program_invocation_short_name.
dbaarda Nov 25, 2019
f89434e
Remove unused #includes from src/hex.c.
dbaarda Nov 25, 2019
7bddc2d
Remove cmake HAVE_* checks for unused and/or standard C99 features.
dbaarda Nov 25, 2019
6b0d1c6
Merge pull request #180 from AaronM04/rdiff_man_improvement
dbaarda Nov 25, 2019
891c9dc
Reorder __func__ and __FUNCTION__ cmakedefines and remove STDC_HEADERS.
dbaarda Nov 26, 2019
0388468
Improve trace.[ch] C99 compliance and windows compatibility.
dbaarda Nov 27, 2019
20c26ea
For fileutil.c tidy includes and add include of sys/types.h.
dbaarda Nov 27, 2019
2a2440d
Tidy all #include statements.
dbaarda Nov 29, 2019
4f6f037
Update NEWS.md with recent changes.
dbaarda Nov 30, 2019
65d81a8
In mdfour.[ch] `#include <stdint.h>` and use UINT64_MAX instead of HA…
dbaarda Nov 30, 2019
1c817d5
Update NEWS.md with mdfour 64bit fixes.
dbaarda Nov 30, 2019
23938bc
Merge pull request #182 from dbaarda/fix/c99
dbaarda Nov 30, 2019
43116b6
Tidy netint.[ch] and add tests.
dbaarda Dec 3, 2019
4b05077
Use `val` instead of `v` for arguments, and update comments.
dbaarda Dec 6, 2019
573e6ed
Tidy netint.c.
dbaarda Dec 6, 2019
95c0d46
Simplify and tidy src/tube.c code.
dbaarda Dec 6, 2019
56d6182
Merge pull request #183 from dbaarda/tidy/netint1
dbaarda Dec 6, 2019
ddc69cd
Remove duplicated #define/#undef for `NAME_new`.
dbaarda Dec 16, 2019
60e3078
Merge pull request #185 from dbaarda/fix/hash1
dbaarda Dec 16, 2019
f5a131a
cmake/FindPOPT.cmake: Add PkgConfig support
ffontaine Dec 31, 2019
96a117b
Fix FindPOPT.cmake when find_package(PkgConfig) fails.
dbaarda Jan 1, 2020
24cef8f
Merge pull request #186 from ffontaine/master
dbaarda Jan 1, 2020
9341b23
fix various warnings
Adsun701 Jan 9, 2020
34ec2e6
Assume "%zu" support when cross-compiling.
dbaarda Jan 10, 2020
6239b86
Turn off format warnings for WIN32 only.
dbaarda Feb 2, 2020
e76f689
Merge pull request #187 from Adsun701/fix-warnings
dbaarda Feb 4, 2020
55f9518
Merge branch 'master' into dev/sigparms1
dbaarda Feb 4, 2020
89da590
buf: fix usage of size_t
texierp Mar 10, 2020
ef519bf
Merge pull request #188 from texierp/fixes/cppcheck
dbaarda Mar 10, 2020
c3d009b
Change rdiff.c block_len and strong_len from size_t to int.
dbaarda Apr 6, 2020
b142538
Make `--sum-size=-1` mean use min strong_len value.
dbaarda Apr 6, 2020
7abcf37
Update `rdiff --help` to include `--block-size=0` for recommended.
dbaarda Apr 6, 2020
3388176
Update NEWS.md and bump minor version to 2.3.0.
dbaarda Apr 6, 2020
6c34279
Merge branch 'master' into dev/sigparms1
dbaarda Apr 6, 2020
2a32f5e
Merge pull request #109 from dbaarda/dev/sigparms1
dbaarda Apr 6, 2020
4480013
Prepare release v2.3.0.
dbaarda Apr 7, 2020
028d943
Merge pull request #189 from dbaarda/rel/v2.3.0
dbaarda Apr 7, 2020
8b7141d
Prepare for development of the next v2.3.1 release.
dbaarda Apr 7, 2020
7467316
Merge pull request #190 from dbaarda/rel/prepare-v2.3.1
dbaarda Apr 7, 2020
19edd8a
Initial tests with unrolling rabinkarp_update() as a function.
dbaarda Apr 15, 2020
29f38f7
Make rabinkarp constants unsigned, and use unrolled MULT16() macro.
dbaarda Apr 15, 2020
6995e38
Use optimized rabinkarp_pow() and parallelizable DOMULT4().
dbaarda Apr 16, 2020
247992a
Add rabinkarp_perf.c test and optimize rabinkarp.c.
dbaarda Apr 16, 2020
c0ecc2f
Added header to rabinkarp.c.
dbaarda Apr 16, 2020
1d0233a
Add performance benchmark binaries to .gitignore.
dbaarda Apr 17, 2020
57d8b15
Make rabinkarp.c hex constants neater.
dbaarda Apr 20, 2020
652297a
Slightly simplify rabinkarp_pow().
dbaarda Apr 20, 2020
bc5c439
Merge pull request #191 from dbaarda/opt/rabinkarp1
dbaarda Apr 27, 2020
8023ec5
Add a simple k=1 bloom filter to hashtable.[ch]
dbaarda Apr 27, 2020
11ad7e0
Fix _hashtable_free() to also free to bloom filter.
dbaarda Apr 28, 2020
3a54128
Make NAME_find() also count the empty-bucket compare in hashtable stats.
dbaarda Apr 28, 2020
4d92de1
Make the hashtable bloom filter optional by defining HASHTABLE_NBLOOM.
dbaarda Apr 28, 2020
b73520f
Change the hashtable max loadfactor to 70% from 80%.
dbaarda Apr 28, 2020
37ea77e
Fix s/bloom/kbloom/ in hashtable.c
dbaarda Apr 28, 2020
0750228
Merge pull request #192 from dbaarda/opt/hashtable2
dbaarda Apr 29, 2020
21d406b
Use a different hash for the bloomfilter.
dbaarda Apr 30, 2020
f0609ed
Add tmask and bshift attributes to hashtable_t for getting indexes.
dbaarda Apr 30, 2020
e8328e9
Change minimum hashtable size to 2.
dbaarda Apr 30, 2020
9cf9ca3
Merge pull request #193 from dbaarda/opt/hashtable3
dbaarda Apr 30, 2020
eda9ec1
Make the default blocksize a multiple of the 128 byte blake2b block s…
dbaarda May 12, 2020
798dc4f
Update docstrings for rs_sig_args() and rs_sig_file().
dbaarda May 12, 2020
c48cdea
Update TODO and add a heading.
dbaarda May 13, 2020
b35639e
Add exported file utils to docs.
dbaarda May 13, 2020
7dd34f6
Update API docs to include rs_sig_args() and rs_build_hash_table().
dbaarda May 13, 2020
ec4c497
Tidied up links in README.md and renamed rdiff page.
dbaarda May 14, 2020
2773597
Update NEWS.md with all changes since v2.3.0 so far.
dbaarda May 14, 2020
8bf97fc
Update one page_rdiff reference and change from `@ref` to `\ref`.
dbaarda May 14, 2020
63956da
Update doc/Doxyfile.in with `doxygen -u`.
dbaarda May 14, 2020
985b1e3
Update and tidy format.md for new magic types.
dbaarda May 14, 2020
e869de7
Tidy up whole.md documentation.
dbaarda May 14, 2020
58f2535
Update NEWS.md with more changes.
dbaarda May 14, 2020
5cd40a7
Make travis use `dist: bionic` for the docs build.
dbaarda May 14, 2020
992bcf0
Revert "Make travis use `dist: bionic` for the docs build."
dbaarda May 14, 2020
0480f75
Use a const local mask in _for_probe() instead of always referencing …
dbaarda May 14, 2020
6fdc9c6
Fix typo in _for_probe().
dbaarda May 14, 2020
7ae43d1
Add a local ktable pointer in _for_probe() to cache t->ktable referen…
dbaarda May 14, 2020
fe5337a
In hashtable.[ch] use `<type> const` consistently.
dbaarda May 14, 2020
31a8fdf
Merge pull request #196 from dbaarda/opt/hashtable4
dbaarda May 14, 2020
90d384b
Merge branch 'master' into opt/sigargs1
dbaarda May 15, 2020
1bb4ea2
Update NEWS.md with latest merged hashtable improvments.
dbaarda May 15, 2020
99e015b
Remove obsolete todo from mksum.c.
dbaarda May 16, 2020
b005057
Merge pull request #195 from dbaarda/opt/sigargs1
dbaarda May 16, 2020
53dc379
Fix cmake/FindPOPT.cmake use PkgConfig correctly.
dbaarda May 18, 2020
b480a09
Fix stupid debugging typo.
dbaarda May 18, 2020
af1d85e
Fix #199 change only use of /bin/bash to /bin/sh.
dbaarda May 18, 2020
1cfa7a2
Merge pull request #200 from dbaarda/fix/findpopt1
dbaarda May 18, 2020
8bc3be0
Update librsync.spec for release v2.3.1.
dbaarda May 19, 2020
40201d2
Update NEWS.md with changes for release v2.3.1.
dbaarda May 19, 2020
27f7386
Merge pull request #201 from dbaarda/rel/release-v2.3.1
dbaarda May 19, 2020
aab24c8
Prepare for development of the next v2.3.2 release.
dbaarda May 19, 2020
fdadf85
Merge pull request #202 from dbaarda/rel/prepare-v2.3.2
dbaarda May 19, 2020
fa16609
Add rs_warn() for logging warnings.
dbaarda May 31, 2020
c9c9a91
Fix bug handling zero-length copies and improve bad copy_cb() handling.
dbaarda May 31, 2020
130999f
Update NEWS with patch zero-length copy bug and copy_cb() handling info.
dbaarda May 31, 2020
d420a63
Update only use of rs_log(RS_LOG_WARNING,...) to rs_warn().
dbaarda May 31, 2020
d6e4055
Merge pull request #206 from dbaarda/opt/patch1
dbaarda May 31, 2020
1961a4d
Try adding a `os: windows` build to .travis.yml.
dbaarda Jun 1, 2020
ce3d758
Comment out breaking `-Wno-format` when building on Windows.
dbaarda Jun 1, 2020
7486395
For travis use `cmake --build . --target check` instead of `make check`.
dbaarda Jun 1, 2020
8d1a31b
Remove `LIBRSYNC_EXPORT` from functions in trace.c.
dbaarda Jun 1, 2020
f59337e
Add `--config Debug` to cmake --build.
dbaarda Jun 1, 2020
d00af8b
Pass `-C Debug` to ctest instead of `--config Debug` to cmake.
dbaarda Jun 1, 2020
d3c31b8
In mdfour.c add explicit typecasts and make unsigned literals unsigned.
dbaarda Jun 2, 2020
b5de10f
in rabinkarp.c change RABINKARP_MULT2 to a literal.
dbaarda Jun 2, 2020
6cf74cc
In netint.c and util.c add explicit typecasts.
dbaarda Jun 2, 2020
36d0f28
Tidy patch.c and make trace output a little more consistent.
dbaarda Jun 2, 2020
476cab5
Use size_t consistently for buffer sizes and tidy stream related code.
dbaarda Jun 2, 2020
795d1cf
Remove stream.c and move functionality into tube.c
dbaarda Jun 2, 2020
1a50453
Make hashtable.[ch] `-Wconversion` warning free.
dbaarda Jun 2, 2020
0777d57
Make hashtable.[ch] `Wsign-conversion` warning free.
dbaarda Jun 2, 2020
b96c8c8
Make tube.c rs_tube_catchup_write() consistent with other code.
dbaarda Jun 3, 2020
7f2e2c2
Fix and tidy patch.c rs_patch_s_copying() to use rs_long_t for length.
dbaarda Jun 3, 2020
aa499ae
Compile netint_test with `-DLIBRSYNC_STATIC_DEFINE`.
dbaarda Jun 3, 2020
5ff6844
Fix patch to detect invalid literal cmd sizes.
dbaarda Jun 3, 2020
9e5a876
Make hashtable.c fully `-Wconversion` compatible for Windows.
dbaarda Jun 4, 2020
e4db19f
Turn of posix warnings when compiling with MSVC.
dbaarda Jun 4, 2020
a37da2a
Make patch.c fully `-Wconversion` compliant.
dbaarda Jun 4, 2020
3cb591f
Make stats.c `-Wconversion` clean.
dbaarda Jun 4, 2020
ab5d7f7
Make sumset.[ch] `-Wconversion -Wno-sign-conversion` complient.
dbaarda Jun 4, 2020
0118a82
Make fileutil.c include io.h if it exists and prefer _fileno().
dbaarda Jun 4, 2020
e0190a4
Make rabinkarp `-Wconversion -Wno-sign-conversion` compliant.
dbaarda Jun 4, 2020
1d5bd92
Make mdfour.[ch] `-Wconversion -Wno-sign-conversion` compliant.
dbaarda Jun 4, 2020
21c5264
Fix rs_file_copy_cb() error handling.
dbaarda Jun 4, 2020
44e79b2
Make whole.c `-Wconversion -Wno-sign-conversion` compliant.
dbaarda Jun 4, 2020
b31dc5e
Make mksum.c `-Wconversion -Wno-sign-conversion` compliant.
dbaarda Jun 4, 2020
8b54ac7
Make emit.c `-Wconversion -Wno-sign-conversion` compliant.
dbaarda Jun 4, 2020
7982020
Make delta.c `-Wconversion -Wno-sign-conversion` compliant.
dbaarda Jun 4, 2020
7d55054
Make buf.c `-Wconversion -Wno-sign-conversion` compliant.
dbaarda Jun 4, 2020
0fd9931
Make base64.c `-Wconversion -Wno-sign-conversion` compliant.
dbaarda Jun 4, 2020
f551936
Make tests/checksum_test.c `-Wconversion -Wno-sign-conversion` compli…
dbaarda Jun 4, 2020
d1e61fe
Make all tests `-Wconversion -Wno-sign-conversion` compliant.
dbaarda Jun 4, 2020
985add4
Use `-Wconversion -Wno-sign-conversion` when compiling with gcc or cl…
dbaarda Jun 4, 2020
3f62662
Make rdiff.c `-Wconversion -Wno-sign-conversion` compliant for clang.
dbaarda Jun 4, 2020
d6cc274
Use `-Wconversion -Wno-sign-conversion` for clang only.
dbaarda Jun 4, 2020
8498930
Update NEWS.md with changes for #206.
dbaarda Jun 4, 2020
d1938c3
Merge pull request #208 from dbaarda/travis-windows1
dbaarda Jun 4, 2020
d89f2cd
Fix heap corruption from too small kbloom
ljusten Sep 21, 2020
1fd391c
Merge pull request #213 from ljusten/patch-1
dbaarda Sep 23, 2020
8e2f09a
Prepare release v2.3.2.
dbaarda Apr 10, 2021
42b636d
Merge pull request #216 from dbaarda/rel/release-v2.3.2
dbaarda Apr 10, 2021
3060065
Prepare for development of the next v2.3.3 release.
dbaarda Apr 10, 2021
51c99d8
Merge pull request #217 from dbaarda/rel/prepare-v2.3.3
dbaarda Apr 10, 2021
f287d6f
cmake: fix warning for later CMake versions
rizsotto Aug 8, 2021
8a90216
Merge pull request #221 from rizsotto/cmakefix
dbaarda Aug 9, 2021
03e51f8
Remove unusued mdfour.input test data.
dbaarda Aug 8, 2021
4507f6b
Remove unused old perl test script `check-rdiff`.
dbaarda Aug 7, 2021
f6402c6
Tidy and simplify cmake/FindPOPT.cmake.
dbaarda Aug 9, 2021
0cbbaeb
Fix bash test scripts to work on Windows.
dbaarda Aug 9, 2021
2528405
Add .gitattributes to ensure test data is binary.
dbaarda Aug 9, 2021
f3b57eb
Create initial check.yml github action.
dbaarda Aug 5, 2021
9811c8a
Update initial check.yml to include a full build matrix.
dbaarda Aug 9, 2021
1cbd5e7
Add installing ninja-build.
dbaarda Aug 9, 2021
2491beb
Merge pull request #223 from dbaarda/dev/rmtests1
dbaarda Aug 9, 2021
dbfeede
Merge pull request #224 from dbaarda/dev/winrdiff1
dbaarda Aug 9, 2021
286d0b7
Merge branch 'master' into dev/actions3
dbaarda Aug 9, 2021
fa70993
Delete the now unused .travis.yml config.
dbaarda Aug 9, 2021
91d5b65
Merge Ninja and clang test run.
dbaarda Aug 9, 2021
5d4a90e
Change cmake option ENABLE_TRACE default to ON for Debug builds.
dbaarda Aug 10, 2021
41bd2ba
Add BuildType.cmake for managing CMAKE_BUILD_TYPE better.
dbaarda Aug 10, 2021
aac98a3
Merge pull request #225 from dbaarda/dev/actions3
dbaarda Aug 11, 2021
52a3a93
Merge branch 'master' into dev/cmake1
dbaarda Aug 11, 2021
9f9118f
Rename tests/rdiff_bad_option.sh to tests/rdiff_bad_option.test.
dbaarda Aug 12, 2021
20b1d63
Remove `-x` bash argument from delta.test.
dbaarda Aug 12, 2021
f8a69a1
Add bash `-e` argument to tests/triple.test.
dbaarda Aug 12, 2021
72beb5b
Add bash `-e` argument when running tests on Windows.
dbaarda Aug 12, 2021
27bec74
Delete duplicated tests/isprefix.h file.
dbaarda Aug 12, 2021
4991252
Fix windows tests by removing quotes around "bash -e".
dbaarda Aug 12, 2021
bf3e86b
Merge pull request #227 from dbaarda/dev/tests1
dbaarda Aug 12, 2021
3fca937
Merge pull request #226 from dbaarda/dev/cmake1
dbaarda Aug 12, 2021
24cbc5a
Add clang-tidy target to CMakeLists.txt.
dbaarda Aug 18, 2021
404a0ec
Add iwyu build target for running iwyu_tool checks.
dbaarda Aug 18, 2021
beb490b
Add lint.yml github action for running clang-tidy and iwyu checks.
dbaarda Aug 18, 2021
7b33839
Fix install of clang-tidy instead of clang-tools.
dbaarda Aug 18, 2021
53e51e2
Add install of libclang-dev to fix iwyu problem finding headers.
dbaarda Aug 18, 2021
0700bb1
Add iwyu debug line and install llvm-dev.
dbaarda Aug 18, 2021
fde7220
Remove iwyu debugging and install libclang-common-9-dev.
dbaarda Aug 18, 2021
5b0c5d5
Slightly tidy lint.yml and CMakeLists.txt.
dbaarda Aug 18, 2021
41d7922
Add .clang-tidy to turn of a buggy check.
dbaarda Aug 19, 2021
19948b8
Fix all clang-tidy warnings.
dbaarda Aug 19, 2021
b9b0249
Make all existing include guards consistent.
dbaarda Aug 19, 2021
32c8169
Add import guards to all header files that didn't have them.
dbaarda Aug 19, 2021
4649d0f
Fix typo missing '#' on header's final '#endif'.
dbaarda Aug 19, 2021
b2f0e92
Fix all iwyu #include warnings for all files except fileutil.c.
dbaarda Aug 19, 2021
deeda95
Add iwyu-fix build target to fix includes.
dbaarda Aug 19, 2021
49d7cc2
Update and expand CONTRIBUTING.md to include new checks/lints.
dbaarda Aug 20, 2021
d81bb76
Update NEWS.md with changes before and in this pull request.
dbaarda Aug 20, 2021
0b4c21d
Merge pull request #229 from dbaarda/dev/actions4
dbaarda Aug 20, 2021
8731c4f
Rename test inputs from `*.in` to `*.input`.
dbaarda Aug 20, 2021
ed2a803
Rename src/config.h.cmake -> src/config.h.in.
dbaarda Aug 20, 2021
43e4b3e
Update comment on src/config.h.in to reflect new template name.
dbaarda Aug 20, 2021
46f695a
In Doxyfile.in turn on graphviz svg diargrams.
dbaarda Aug 20, 2021
0ce69e7
Change doc target to run in `CMAKE_CURRENT_SOURCE_DIR`.
dbaarda Aug 21, 2021
e72c86e
Install graphviz for generating docs in check.yml githup action.
dbaarda Aug 21, 2021
fae1074
Fix missing `opaque` param docstring in librsync.h.
dbaarda Aug 23, 2021
ad93b2d
Reformat README.md and use markdown links for root docs.
dbaarda Aug 23, 2021
4c5e4c1
Remove unused `{#anchor}` Doxygen anchor from CONTRIBUTING.md.
dbaarda Aug 23, 2021
6eb1665
Rename librsync.md Doxygen anchor to `page_librsync`.
dbaarda Aug 23, 2021
df9425d
Rename versioning.md doxygen anchor to `page_versioning`.
dbaarda Aug 23, 2021
d1ba7c2
Rename utilities.md doxygen anchor to page_utilities.
dbaarda Aug 23, 2021
7285f87
Rename doc/format.md to doc/formats.md.
dbaarda Aug 23, 2021
d13e78d
Change pull.md title to "Pull API".
dbaarda Aug 23, 2021
e43b94d
Change trace.md title to 'Trace output'.
dbaarda Aug 23, 2021
16992dd
Change Doxyfile.in setting `PAGE_TYPE = a4`.
dbaarda Aug 23, 2021
bd53f9e
Make headings of markdown files more consistent.
dbaarda Aug 24, 2021
45adadf
Add doxygen `\file` docs to all headers and state engine files.
dbaarda Aug 24, 2021
95585d1
Merge pull request #230 from dbaarda/dev/docs1
dbaarda Aug 24, 2021
3bb025c
Ignore .cmake directory
sourcefrog Sep 7, 2021
b8609e9
Merge pull request #232 from sourcefrog/ignore-cmake
dbaarda Sep 8, 2021
b8d9421
Make rs_infilebuf_fill() top-up non-empty input buffers.
dbaarda Sep 11, 2021
8ca6145
Only shuffle the scoop buffer if it's necessary to make space.
dbaarda Sep 12, 2021
32d824c
Add functions for getting and consuming contigous buffers from the sc…
dbaarda Sep 14, 2021
f330d5e
Make delta directly process the input stream if it has enough data.
dbaarda Sep 14, 2021
6f7a5f7
Add MAX_DELTA_CMD in job.h for buffer scaling.
dbaarda Sep 14, 2021
902abe2
Remove use of ssize_t which doesn't exist on Windows.
dbaarda Sep 14, 2021
b7787a2
Make rs_scoop_input() only visible inside scoop.c.
dbaarda Sep 14, 2021
b05d78b
Update librsync.h docs about processing directly from large input buf…
dbaarda Sep 14, 2021
50eae28
Add rs_trace call in buf.c to indicate when moving data in buffers.
dbaarda Sep 14, 2021
58214f8
Rename stream.h to scoop.h.
dbaarda Sep 14, 2021
5c2f3a4
Fix the includes and include guard for scoop.h.
dbaarda Sep 14, 2021
4929960
Update scoop.c documentation to reflect the new scoop buffering behav…
dbaarda Sep 14, 2021
29a3b11
Update NEWS.md with changes so far.
dbaarda Sep 15, 2021
c50bd63
Improve documentation in scoop.h.
dbaarda Sep 15, 2021
d202e4e
Merge pull request #234 from dbaarda/dev/scoop1
dbaarda Sep 16, 2021
0f7199e
Upload build and install artifacts from Github actions (#231)
sourcefrog Sep 17, 2021
3cb68d5
Update README.md
AvdN Nov 29, 2021
390c804
Merge pull request #237 from AvdN/patch-1
sourcefrog Nov 29, 2021
8f8de97
Update github actions and fix `iwyu` build target. (#243)
dbaarda Feb 1, 2023
a03b8c1
Fix #244 Add win32 install artifact to release instructions. (#245)
dbaarda Feb 15, 2023
77310a5
Update everything necessary in preparation for release of v2.3.3.
dbaarda Feb 16, 2023
ed6157e
Merge pull request #246 from dbaarda/release-v2.3.3
dbaarda Feb 16, 2023
c1a50ae
Prepare for development of the next v2.3.4 release.
dbaarda Feb 16, 2023
ecd56fe
Merge pull request #247 from dbaarda/prepare-v2.3.4
dbaarda Feb 16, 2023
ec0c93b
Fix #248 by putting `#include "config.h"` in most src/*.c files. (#249)
dbaarda Feb 19, 2023
67176c8
Release v2.3.4.
dbaarda Feb 19, 2023
e364852
Merge pull request #250 from dbaarda/release-v2.3.4
dbaarda Feb 19, 2023
1394e75
Prepare v2.3.5.
dbaarda Feb 19, 2023
ee3df5c
Merge pull request #251 from dbaarda/prepare-v2.3.5
dbaarda Feb 19, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion .ccmalloc
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@

##############################################################################
## (C) 1997-1998 Armin Biere, 1998 Johannes Keukelaar
## $Id$
##############################################################################

%%% `%' and `#' are comments !!!!!!!
Expand Down
2 changes: 2 additions & 0 deletions .clang-tidy
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# clang-analyzer-valist.Uninitialized has a bug https://bugs.llvm.org/show_bug.cgi?id=41311.
Checks: "-clang-analyzer-valist.Uninitialized"
28 changes: 0 additions & 28 deletions .cvsignore

This file was deleted.

6 changes: 6 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# Data files used for tests.
*.data binary
*.input binary
*.sig binary
*.delta binary
*.expect binary
91 changes: 91 additions & 0 deletions .github/workflows/check.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,91 @@
name: Check

on:
push:
branches: [ master ]
pull_request:
branches: [ master ]

defaults:
run:
shell: bash

jobs:
check:
runs-on: ${{matrix.os}}
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
build: [Release]
options: [""]
include:
- os: windows-latest
os_options: "-DCMAKE_TOOLCHAIN_FILE=C:/vcpkg/scripts/buildsystems/vcpkg.cmake"
- os: ubuntu-latest
build_docs: true
- os: ubuntu-latest
build: Release
options: "-DBUILD_SHARED_LIBS=OFF"
- os: ubuntu-latest
build: Release
options: "-DBUILD_RDIFF=OFF"
- os: ubuntu-latest
build: Release
options: "-G Ninja -DCMAKE_C_COMPILER=clang"
- os: ubuntu-latest
build: Debug

steps:
- uses: actions/checkout@v3

- name: Install Dependencies
# Unfortunately available Marketplace Actions for this are in a mess, so we do it manually.
run: |
if [ "$RUNNER_OS" == "Linux" ]; then
sudo apt-get update -y
sudo apt-get install -y libpopt-dev libb2-dev doxygen graphviz ninja-build
elif [ "$RUNNER_OS" == "macOS" ]; then
brew update
brew install popt
elif [ "$RUNNER_OS" == "Windows" ]; then
vcpkg update
vcpkg --triplet x64-windows install libpopt
fi

- name: Configure CMake
# Configure CMake in a 'build' subdirectory.
# See https://cmake.org/cmake/help/latest/variable/CMAKE_BUILD_TYPE.html?highlight=cmake_build_type
run: cmake -B '${{github.workspace}}/build' -DCMAKE_BUILD_TYPE=${{matrix.build}} ${{matrix.os_options}} ${{matrix.options}}

- name: Build all
# Build your program with the given configuration.
run: cmake --build '${{github.workspace}}/build' --config ${{matrix.build}}

- name: Run tests
working-directory: ${{github.workspace}}/build
# Execute tests defined by the CMake configuration.
# See https://cmake.org/cmake/help/latest/manual/ctest.1.html for more detail
run: ctest -C ${{matrix.build}} --output-on-failure

- name: Build install
# Build your program with the given configuration.
run: cmake --install 'build' --config ${{matrix.build}} --prefix 'install'

- name: Build docs
if: ${{matrix.build_docs}}
run: cmake --build '${{github.workspace}}/build' --target doc

- name: Upload build
uses: actions/upload-artifact@v3
with:
name: build results ${{matrix.os}} ${{matrix.build}} ${{matrix.options}}
path: ${{github.workspace}}/build
if-no-files-found: error

- name: Upload install
uses: actions/upload-artifact@v3
with:
name: install results ${{matrix.os}} ${{matrix.build}} ${{matrix.options}}
path: ${{github.workspace}}/install
if-no-files-found: error
25 changes: 25 additions & 0 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: Lint

on: [push, pull_request]

jobs:
lint:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3

- name: Install Dependencies
# Unfortunately available Marketplace Actions for this are in a mess, so we do it manually.
run: |
sudo apt-get update -y
sudo apt-get install -y libpopt-dev libb2-dev clang-tidy iwyu

- name: Configure CMake
run: cmake .

- name: clang-tidy
run: cmake --build . --target clang-tidy

- name: iwyu
run: cmake --build . --target iwyu
103 changes: 67 additions & 36 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,44 +1,75 @@
.*.swp
.deps
Makefile
Makefile.in
aclocal.m4
autom4te.cache
compile
config.guess
config.h
config.h.in
config.log
config.status
config.sub
configure
depcomp
doc/Doxyfile
doc/Makefile
doc/Makefile.in
install-sh
*.o
librsync-config.h
libtool
ltmain.sh
missing
popt/Makefile
popt/Makefile.in
popt/libpopt.a
prototab.c
prototab.h
stamp-h1
*.Po
test-driver
testsuite/mutate.tmp
testsuite/isprefix.driver
testsuite/*.log
testsuite/*.trs
rdiff
*.o
CMakeCache.txt
CTestTestfile.cmake
config.h
*.cbp
librsync.so*
librsync.a
librsync*.dylib
Makefile
CMakeFiles
*.lo
.libs
librsync.la
librsync-[0-9]*tar.gz
librsync-[0-9]*/
/m4/
tags
*.dylib
cmake_install.cmake
*.la
doc/Doxyfile
tests/isprefix.driver
html
latex
Testing
*.user
.cmake

# CMake generated Doxygen files
CMakeDoxyfile.in
CMakeDoxygenDefaults.cmake

# Editor temp files
.sw?
.*.sw?
*~

# OSX build outputs
*.dSYM

# Test binaries
*_test
*_test.exe
*_test.exe.manifest

# Performance benchmark binaries
*_perf
*_perf.exe
*_perf.exe.manifest

*.bak

*.tmp

# for rtags
compile_commands.json

# Cache sometimes leftover by Doxygen,
# similar to https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=758975
doxygen_sqlite3.db

# Coverage reports
*.gcov

# Optional build using http://build-ninja.org
.ninja_deps
.ninja_log
build.ninja
rules.ninja

# Microsoft Visual Studio build files
*.sln
*.vcxproj
*.vcxproj.filters
6 changes: 0 additions & 6 deletions .travis.yml

This file was deleted.

1 change: 1 addition & 0 deletions AUTHORS
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
Martin Pool <[email protected]>
Andrew Tridgell <[email protected]>
Donovan Baarda <[email protected]>
Adam Schubert <[email protected]>
Loading