| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
|
|
|
|
|
|
|
|
| |
Split `PACKED_STRUCT` and `PACKED_STRUCT_UNALIGNED` macros into the
macros bellow:
* `RBIMPL_ATTR_PACKED_STRUCT_BEGIN`
* `RBIMPL_ATTR_PACKED_STRUCT_END`
* `RBIMPL_ATTR_PACKED_STRUCT_UNALIGNED_BEGIN`
* `RBIMPL_ATTR_PACKED_STRUCT_UNALIGNED_END`
|
|
|
|
|
|
| |
With arguments, mkmf skips compilation check for the function as RHS.
https://github.com/ruby/zlib/commit/9ed9d6d36e
|
|
|
|
| |
https://github.com/ruby/zlib/commit/f1ce5e3e8d
|
| |
|
|
|
|
| |
https://github.com/ruby/zlib/commit/1ce6625fff
|
|
|
|
| |
https://github.com/ruby/zlib/commit/e1ead85113
|
|
|
|
|
|
| |
Upper bits affect the result of `crc32` in zlib 1.2.12.
https://github.com/ruby/zlib/commit/9ab6d04af1
|
| |
|
|
|
|
| |
https://github.com/ruby/zlib/commit/5e8f0b4164
|
| |
|
|
|
|
|
|
|
|
| |
When Zlib::Inflate#inflate or Zlib::Deflate#deflate is called
recursively inside the block, a crash can occur because of an
use-after-free bug.
https://github.com/ruby/zlib/commit/50fb8a0338
|
| |
|
|
|
|
|
| |
This commit removes usages of rb_gc_force_recycle since it is a burden
to maintain and makes changes to the GC difficult.
|
|
|
|
| |
https://github.com/ruby/zlib/commit/82e9a636a6
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
See also: https://github.com/ruby/csv/issues/117#issuecomment-933289373
How to reproduce with x.csv.gz in the issue comment:
Zlib::GzipReader.open("x.csv.gz") do |rio|
rio.gets(nil, 1024)
while line = rio.gets(nil, 8192)
raise line unless line.valid_encoding?
end
end
Reported by Dimitrij Denissenko. Thanks!!!
https://github.com/ruby/zlib/commit/b1f182e98f
|
|
|
|
| |
https://github.com/ruby/zlib/commit/dd593acaee
|
|
|
|
| |
https://github.com/ruby/zlib/commit/434eba55ae
|
| |
|
|
|
|
| |
https://github.com/ruby/zlib/commit/44a56d36e7
|
|
|
|
| |
https://github.com/ruby/zlib/commit/931aa7a272
|
|
|
|
| |
https://github.com/ruby/zlib/commit/098c50255d
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
multithreaded use
I'm not sure whether this handles all multithreaded use cases,
but this handles the example that crashes almost immediately
and does 10,000,000 total deflates using 100 separate threads.
To prevent the tests from taking forever, the committed test
for this uses only 10,000 deflates across 10 separate threads,
which still causes a segfault in the previous implementation
almost immediately.
Fixes [Bug #17803]
https://github.com/ruby/zlib/commit/4b1023b3f2
|
| |
|
|
|
|
|
|
|
| |
* Prefix "./" to the import library name to expanded when static
linking exts.
* Copy zlib shared library to the top build directory.
|
|
|
|
| |
* See [Feature #17752]
|
|
|
|
|
|
| |
Remove the list of executables.
https://github.com/ruby/zlib/commit/6a70725b8e
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
https://github.com/ruby/zlib/commit/7d3d19710f
|
| |
|
|
|
|
|
|
|
|
|
|
| |
If a buffer keyword argument is given, it is used as the buffer,
instead of creating new strings. This can result in significantly
lower memory usage during inflation.
Implements #19
https://github.com/ruby/zlib/commit/dac9a9b57d
|
|
|
|
|
|
|
|
|
| |
This reads from the IO in 8192 byte chunks, so you don't need to
have the entire string in memory.
Fixes #16
https://github.com/ruby/zlib/commit/ba9793c550
|
|
|
|
|
|
|
|
| |
This behavior differs from File#gets.
Fixes [Bug #13904]
https://github.com/ruby/zlib/commit/448e41efdd
|
|
|
|
|
|
|
|
|
| |
This commit deletes
{IO,ARGF,StringIO,Zib::GZipReader}#{bytes,chars,lines,codepoints}, which
have been deprecated since c47c095b9740e7c19d6fdca29ab661c1089221d4.
Note that String also has those methods. They are neither depreacted
nor deleted because they are not aliases of counterpart each_something.
|
|
|
|
|
|
|
|
| |
* cast to suppress C4267 warnings; no possible loss of data as
following the comparison.
* shift base address to suppress LNK4281; although /DYNAMICBASE is
preferable, not sure from which version of link.exe supports it.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
gz file
Most gzip tools support concatenated gz streams in a gz file. This
offers a way to handle such gz files in Ruby.
Fixes [Bug #9790]
Fixes [Bug #11180]
Fixes [Bug #14804]
https://github.com/ruby/zlib/commit/e2ce56de7d
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
To fix build failures.
|
|
|
|
| |
This shall fix compile errors.
|
|
|
| |
Split ruby.h
|
|
|
|
| |
https://github.com/ruby/zlib/commit/5af77c1ee8
|
| |
|