summaryrefslogtreecommitdiffstats
path: root/Modules/zlibmodule.c
Commit message (Collapse)AuthorAgeFilesLines
* Added (binaryfunc) casts to function pointers in method lists.Guido van Rossum1997-08-281-4/+4
|
* Casts by Jack to shut up the Mac compiler.Guido van Rossum1997-08-181-9/+9
|
* Several bug fixes.Jeremy Hylton1997-08-141-52/+70
| | | | | | | | -- initialize length to DEFAULTALLOC and not 0 -- resize string before returning (to remove '\000' padding) Also converted some compression routines to use PyString instead of buffer.
* Many changes.Jeremy Hylton1997-08-131-98/+82
| | | | | | | | | | | | | | | | | | | | | | Change default alloc size for uncompressing to 16K. Remove comment about core dumps when an invalid window sizes is used. This bug has been fixed in zlib 1.0.4. Two new optional arguments to decompress, wbits and bufsize. wbits specifies the window size and bufsize specifies the initial output string size. In decompression code -- decompress and decompressobj methods -- use a Python string (and _PyString_Resize) to collect the uncompressed stream. Replaces a separate buffer that was copied into a string. Fix bug in decompress that caused it to always realloc the buffer when it was finished decompressing. Modernized handling of optional arguments to compressobj. Updated doc strings.
* Must update the available space in the output buffer afterJeremy Hylton1997-08-131-0/+3
| | | | realloc. (Fixed in PyZlib_unflush.)
* Small changes (casts etc.) by Jack, for Mac compilation.Guido van Rossum1997-06-031-12/+16
|
* Doc strings (AMK).Guido van Rossum1997-06-031-11/+88
|
* Added Andrew Kuchling's zlib module.Guido van Rossum1997-04-291-0/+670