summaryrefslogtreecommitdiff
path: root/ext/zlib
Commit message (Collapse)AuthorAgeFilesLines
* Update the depend filesMatt Valentine-House2023-02-281-1/+0
|
* Remove intern/gc.h from Make depsMatt Valentine-House2023-02-271-1/+0
|
* Extract include/ruby/internal/attr/packed_struct.hNobuyoshi Nakada2023-02-081-0/+1
| | | | | | | | | 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`
* [ruby/zlib] Check for functions with arguments and the headerNobuyoshi Nakada2023-01-091-4/+3
| | | | | | With arguments, mkmf skips compilation check for the function as RHS. https://github.com/ruby/zlib/commit/9ed9d6d36e
* [ruby/zlib] Bump version to 3.0.0Hiroshi SHIBATA2022-12-051-1/+1
| | | | https://github.com/ruby/zlib/commit/f1ce5e3e8d
* Removed mswin patch for zlib-1.2.11Hiroshi SHIBATA2022-04-051-95/+0
|
* [ruby/zlib] Use `z_size_t` version functionsNobuyoshi Nakada2022-04-022-3/+13
| | | | https://github.com/ruby/zlib/commit/1ce6625fff
* [ruby/zlib] Mask checksums to lower 32bits on also IL32 platformsNobuyoshi Nakada2022-04-021-1/+1
| | | | https://github.com/ruby/zlib/commit/e1ead85113
* [ruby/zlib] Mask checksums to lower 32bitsNobuyoshi Nakada2022-04-021-3/+9
| | | | | | Upper bits affect the result of `crc32` in zlib 1.2.12. https://github.com/ruby/zlib/commit/9ab6d04af1
* [Feature #18249] Update dependenciesPeter Zhu2022-02-221-0/+1
|
* [ruby/zlib] [DOC] Fix typo in Zlib.adler32_combineMau Magnaguagno2022-02-221-1/+1
| | | | https://github.com/ruby/zlib/commit/5e8f0b4164
* Prevent installing zlib libraryNARUSE, Yui2021-12-251-8/+0
|
* [ruby/zlib] [Bug #18358] Fix crash in zlib when in progressPeter Zhu2021-11-241-40/+77
| | | | | | | | 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
* Update dependenciesNobuyoshi Nakada2021-11-211-1/+0
|
* [Feature #18290] Remove all usages of rb_gc_force_recyclePeter Zhu2021-11-081-4/+0
| | | | | This commit removes usages of rb_gc_force_recycle since it is a burden to maintain and makes changes to the GC difficult.
* [ruby/zlib] Bump up zlib version to 2.1.1Hiroshi SHIBATA2021-10-191-1/+1
| | | | https://github.com/ruby/zlib/commit/82e9a636a6
* [ruby/zlib] Fix a bug that GZipReader#gets may return incomplete lineSutou Kouhei2021-10-151-6/+6
| | | | | | | | | | | | | | | | | 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
* [ruby/zlib] Bump up zlib version to 2.1.0Hiroshi SHIBATA2021-10-141-1/+1
| | | | https://github.com/ruby/zlib/commit/dd593acaee
* [ruby/zlib] Bump version to v2.0.0Hiroshi SHIBATA2021-10-141-1/+1
| | | | https://github.com/ruby/zlib/commit/434eba55ae
* ruby tool/update-deps --fix卜部昌平2021-10-051-14/+23
|
* [ruby/zlib] Don't print out warnings when finalizingNobuyoshi Nakada2021-08-311-0/+2
| | | | https://github.com/ruby/zlib/commit/44a56d36e7
* [ruby/zlib] Revert "Don't print out warnings when freeing."Nobuyoshi Nakada2021-08-311-1/+12
| | | | https://github.com/ruby/zlib/commit/931aa7a272
* [ruby/zlib] Don't print out warnings when freeing.Samuel Williams2021-08-311-12/+1
| | | | https://github.com/ruby/zlib/commit/098c50255d
* [ruby/zlib] Synchronize access to zstream to prevent segfault in ↵Jeremy Evans2021-07-281-1/+32
| | | | | | | | | | | | | | | | | 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
* Found library is not usable if the header is not foundNobuyoshi Nakada2021-07-061-1/+2
|
* Fix linking bundled zlibNobuyoshi Nakada2021-07-031-2/+2
| | | | | | | * Prefix "./" to the import library name to expanded when static linking exts. * Copy zlib shared library to the top build directory.
* Fix -Wundef warnings for HAVE_RB_EXT_RACTOR_SAFEBenoit Daloze2021-05-041-1/+1
| | | | * See [Feature #17752]
* [ruby/zlib] gemspec: Remove unused filesOlle Jonsson2021-04-201-2/+2
| | | | | | Remove the list of executables. https://github.com/ruby/zlib/commit/6a70725b8e
* dependency updates卜部昌平2021-04-131-1/+0
|
* Adjusted indents [ci skip]Nobuyoshi Nakada2021-03-171-5/+5
|
* zlib: fix Gzip{Writer,Reader}.new fails with a O_TMPFILE fileSorah Fukumori2021-03-171-4/+14
|
* [ruby/zlib] Resume zstream if available [Bug #10961]wanabe2021-03-091-0/+6
|
* [ruby/zlib] Don't use gemspec for gem dependecyHiroshi SHIBATA2021-02-101-4/+0
| | | | https://github.com/ruby/zlib/commit/7d3d19710f
* zlib is ractor-safeKoichi Sasada2020-12-181-0/+4
|
* [ruby/zlib] Add Zlib::Inflate#inflate :buffer keyword argumentJeremy Evans2020-12-041-14/+69
| | | | | | | | | | 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
* [ruby/zlib] Allow Zlib.crc32 and .adler32 to accept IO instanceJeremy Evans2020-12-041-3/+16
| | | | | | | | | 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
* [ruby/zlib] Document that gets can return nil when eof? returns falseJeremy Evans2020-12-041-0/+2
| | | | | | | | This behavior differs from File#gets. Fixes [Bug #13904] https://github.com/ruby/zlib/commit/448e41efdd
* delete deprecated IO-like methods卜部昌平2020-12-031-30/+0
| | | | | | | | | 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.
* zlib: patches for mswin64Nobuyoshi Nakada2020-11-243-1/+101
| | | | | | | | * 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.
* zlib: extlibs to download zlib-1.2.11Nobuyoshi Nakada2020-11-241-0/+7
|
* [ruby/zlib] Add Zlib::GzipReader.zcat for handling multiple gzip streams in ↵Jeremy Evans2020-09-141-0/+55
| | | | | | | | | | | | | 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
* sed -i '/rmodule.h/d'卜部昌平2020-08-271-1/+0
|
* sed -i '/r_cast.h/d'卜部昌平2020-08-271-1/+0
|
* sed -i '\,2/extern.h,d'卜部昌平2020-08-271-1/+0
|
* Update the license for the default gems to dual licensesHiroshi SHIBATA2020-08-181-1/+1
|
* sed -i 's|ruby/impl|ruby/internal|'卜部昌平2020-05-111-140/+140
| | | | To fix build failures.
* sed -i s|ruby/3|ruby/impl|g卜部昌平2020-05-111-140/+140
| | | | This shall fix compile errors.
* Merge pull request #2991 from shyouhei/ruby.h卜部昌平2020-04-081-0/+152
| | | Split ruby.h
* [ruby/zlib] Bump version to 1.1.0Hiroshi SHIBATA2019-11-301-1/+1
| | | | https://github.com/ruby/zlib/commit/5af77c1ee8
* Adjust a fucntion signatureNobuyoshi Nakada2019-11-051-2/+8
|