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

[pull] master from Frommi:master #2

Open
wants to merge 144 commits into
base: master
Choose a base branch
from
Open

Conversation

pull[bot]
Copy link

@pull pull bot commented Jan 31, 2020

See Commits and Changes for more details.


Created by pull[bot]

Can you help keep this open source service alive? 💖 Please sponsor : )

@pull pull bot added the ⤵️ pull label Jan 31, 2020
@pull pull bot added the merge-conflict Resolve conflicts manually label Feb 19, 2020
oyvindln and others added 23 commits March 1, 2020 21:59
Fixed bug causing an infinite loop when compress_to_vec was called with empty or 1-length input.

Closes #75
Fixed bug causing an infinite loop when compress_to_vec was called with empty or 1-length input.

Closes #75
Attempt to fix overflow panic when calling compress with a >4GB large slice. (#74)
Add changelog using clog

fixes #71
* Flag `miniz_oxide` as a `#![no_std]` library

This commit conversion the `miniz_oxide` crate to a `#![no_std]`
library, and is as a result a breaking change for the library. Currently
the only dependency on the `std` crate is the `std::io::Cursor` type,
which is pretty easily replaced with a `usize` parameter in a few
locations.

The goal of this commit is to eventually enable this library to be
included into the standard library itself. Dependencies of the standard
library can't depend on the standard library as well! The reason for
including this in the standard library is that the `backtrace` crate
wants to decompress DWARF information in executables, which can be
compressed with zlib.

* Update with annotations to build in libstd
* Add support for limiting output size when decompressing to Vec

* Document the new functions
* Introduce reset policy to control InflateState::reset

* Update comments per request
* feat: automatic `alloc` detection

* fix: leave the feature in for compatibility
chore: Fix travis link in readme
* Increase the license options.

* Rename license to be the MIT license

* Add text of the new licenses.

* remove the appendix.

* Move the changes to just the intended crate.
phord and others added 3 commits October 4, 2024 22:19
I am implementing Seek for a wrapper that reads deflated files.  To do this, I will
inflate the file once and save the dictionary and inflate state at several points in
the file.  Later, when I want to seek to some random place in the file, I will use the
cloned state+dict to position to a known file position and then inflate until I reach
the data I need.

To support this, I need to be able to Clone the InflateState and its parts (the current
dictionary).  Derive Clone for InflateState, HuffmanTable and DecompressorOxide.
… bits for tiny space/perf saving and fix clippy warnings
…ut reading and change some data types for performance
oyvindln and others added 16 commits November 25, 2024 13:34
…able arrays to make struct smaller, make zlib level 0 if using rle, other minor tweaks
…ve bit rev instruction there, fix clippy warnings and fix conditional in tree_lookup that seemed to break perf
…of zero so we can avoid check in hot code path givin a small performance boost
criterion dep is disabled by default since there is no way to add separate deps for tests and benchmarks
… add copyright info from orig miniz in license files
…improve performance

still needs work to properly fix the performance but this lays the groundwork to sort it
…_normal and commend out accidentally enabled criterion dev dep
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
⤵️ pull merge-conflict Resolve conflicts manually
Projects
None yet
Development

Successfully merging this pull request may close these issues.