-
-
Notifications
You must be signed in to change notification settings - Fork 68
Comparing changes
Open a pull request
base repository: trifectatechfoundation/bzip2-rs
base: v0.5.0
head repository: trifectatechfoundation/bzip2-rs
compare: v0.5.1
- 18 commits
- 9 files changed
- 7 contributors
Commits on Dec 16, 2024
-
write::BzDecoder: Fix infinite loop on drop when no data is read or w…
…ritten If writes to the BzDecoder end before it has been fed the entire stream and the output buffer has already been flushed to the wrapped writer, then the Drop implementation will loop forever. On drop, try_finish() is called, which repeatedly tries to write() until BZ_STREAM_END is returned or an error occurs, but neither scenario happens if there's no input nor output data to process. This commit makes try_finish() return an UnexpectedEof error in this scenario. Signed-off-by: Andrew Gunnerson <accounts+github@chiller3.com>
Configuration menu - View commit details
-
Copy full SHA for 0523b92 - Browse repository at this point
Copy the full SHA 0523b92View commit details -
Configuration menu - View commit details
-
Copy full SHA for 130c589 - Browse repository at this point
Copy the full SHA 130c589View commit details -
Configuration menu - View commit details
-
Copy full SHA for 66b6f7e - Browse repository at this point
Copy the full SHA 66b6f7eView commit details -
Configuration menu - View commit details
-
Copy full SHA for fa38606 - Browse repository at this point
Copy the full SHA fa38606View commit details -
Co-authored-by: bjorn3 <17426603+bjorn3@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 427c709 - Browse repository at this point
Copy the full SHA 427c709View commit details -
Configuration menu - View commit details
-
Copy full SHA for 15b56b6 - Browse repository at this point
Copy the full SHA 15b56b6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 15258fe - Browse repository at this point
Copy the full SHA 15258feView commit details
Commits on Dec 27, 2024
-
use
core::ffi::{c_int, c_uint}in favor oflibclibc does not expose those types for some targets (notable wasm32-unknown-unknown)
Configuration menu - View commit details
-
Copy full SHA for 3f84eaf - Browse repository at this point
Copy the full SHA 3f84eafView commit details
Commits on Jan 13, 2025
-
Add finisher drop implementation to BzEncoder
This ensures that finish will always be attempted to be called, for example when operating as a `Box<dyn Writer>`.
Configuration menu - View commit details
-
Copy full SHA for 3f3bb54 - Browse repository at this point
Copy the full SHA 3f3bb54View commit details -
Add test that ensures the Drop implementation for BzEncoder will not …
…regress Without the `impl<W: Write> Drop for BzEncoder<W>` the test fails with the error message: called `Result::unwrap()` on an `Err` value: Custom { kind: UnexpectedEof, error: "Input EOF reached before logical stream end" }Configuration menu - View commit details
-
Copy full SHA for c495204 - Browse repository at this point
Copy the full SHA c495204View commit details -
als use a bit less memory; it's not really needed to prove the point
Configuration menu - View commit details
-
Copy full SHA for 81e2bb5 - Browse repository at this point
Copy the full SHA 81e2bb5View commit details -
Configuration menu - View commit details
-
Copy full SHA for b4a143b - Browse repository at this point
Copy the full SHA b4a143bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 09a87db - Browse repository at this point
Copy the full SHA 09a87dbView commit details
Commits on Feb 10, 2025
-
Update rand requirement from 0.8 to 0.9
Updates the requirements on [rand](https://github.com/rust-random/rand) to permit the latest version. - [Release notes](https://github.com/rust-random/rand/releases) - [Changelog](https://github.com/rust-random/rand/blob/master/CHANGELOG.md) - [Commits](rust-random/rand@0.8.0...0.9.0) --- updated-dependencies: - dependency-name: rand dependency-type: direct:production ... Signed-off-by: dependabot[bot] <support@github.com>
Configuration menu - View commit details
-
Copy full SHA for af06fd1 - Browse repository at this point
Copy the full SHA af06fd1View commit details
Commits on Feb 11, 2025
-
Disable bzip2-sys build script if rust backend is enabled (#125)
* Disable bzip2-sys build script if rust backend is enabled Currently if one is to enable rust backend without disabling default features, the bzip2-sys build script would build the bzip2 again, making it meaningless to enable the feature. In many cases disabling default-features is hard (breaking backwards compatibility), so it'd be better to disable the bzip2-sys bulid-script, if the rust backend is enabled' It would still pull in cc-rs and pkg-config, but at least it won't compile the bzip2 c code again.' Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com> * Disable bzip2-sys build script if rust backend is enabled Currently if one is to enable rust backend without disabling default features, the bzip2-sys build script would build the bzip2 again, making it meaningless to enable the feature. In many cases disabling default-features is hard (breaking backwards compatibility), so it'd be better to disable the bzip2-sys bulid-script, if the rust backend is enabled' It would still pull in cc-rs and pkg-config, but at least it won't compile the bzip2 c code again.' Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com> * Disable bzip2-sys build script if rust backend is enabled Currently if one is to enable rust backend without disabling default features, the bzip2-sys build script would build the bzip2 again, making it meaningless to enable the feature. In many cases disabling default-features is hard (breaking backwards compatibility), so it'd be better to disable the bzip2-sys bulid-script, if the rust backend is enabled' It would still pull in cc-rs and pkg-config, but at least it won't compile the bzip2 c code again.' Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com> --------- Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
Configuration menu - View commit details
-
Copy full SHA for 6bd7c68 - Browse repository at this point
Copy the full SHA 6bd7c68View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1818419 - Browse repository at this point
Copy the full SHA 1818419View commit details -
Co-authored-by: bjorn3 <17426603+bjorn3@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 55e3805 - Browse repository at this point
Copy the full SHA 55e3805View commit details -
Configuration menu - View commit details
-
Copy full SHA for dbbc3b4 - Browse repository at this point
Copy the full SHA dbbc3b4View commit details
This comparison is taking too long to generate.
Unfortunately it looks like we can’t render this comparison for you right now. It might be too big, or there might be something weird with your repository.
You can try running this command locally to see the comparison on your machine:
git diff v0.5.0...v0.5.1