Skip to content

bxzstr-v1.1.0 (23 April 2022)

Compare
Choose a tag to compare
@tmaklin tmaklin released this 23 Apr 11:03
· 21 commits to master since this release

New features

  • Added zstd support (see #11)
    • Support is disabled by default.
    • Support can be configured automatically using cmake or manually by changing the include/config.hpp file.

Bugfixes

  • bz_stream_wrapper::decompress() and lzma_stream_wrapper::decompress() now have default values for the unused input parameters. (commits 1e944a4 and f5f34e0)
  • Fixed bounds checking in detect_type() so it doesn't crash when run on only the compression library header is supplied. (commit 0d78f82)
  • Changed the zException constructor to work with only the error message rather than a pointer to the stream containing the error message like the other constructors do. (commit 54c125c)

Improved documentation

  • Documented adding support for new compression types (see #12).
  • Documented building tests for bxzstr (see #13).

Automatic testing

  • Added unit tests for many parts of the code using the googletest framework (see #13).
  • Added some integration tests to check writing/reading compressed and decompressed files using bxz::ifstream and bxz::ofstream.