summaryrefslogtreecommitdiff
path: root/Modules/_lzmamodule.c
Commit message (Collapse)AuthorAgeFilesLines
* Issue #27517: LZMA compressor and decompressor no longer raise exceptions ifSerhiy Storchaka2016-10-311-0/+5
|\ | | | | | | given empty data twice. Patch by Benjamin Fogle.
| * Issue #27517: LZMA compressor and decompressor no longer raise exceptions ifSerhiy Storchaka2016-10-311-0/+5
| | | | | | | | given empty data twice. Patch by Benjamin Fogle.
* | Issue #28275: Fixed possible use adter free in LZMADecompressor.decompress().Serhiy Storchaka2016-09-271-21/+9
|\ \ | |/ |/| | | Original patch by John Leitch.
| * replace PY_LONG_LONG with long longBenjamin Peterson2016-09-061-11/+5
| |
| * - Issue #27332: Fixed the type of the first argument of module-level functionsSerhiy Storchaka2016-07-071-6/+6
| |\ | | | | | | | | | generated by Argument Clinic. Patch by Petr Viktorin.
| * \ Issue #27171: Merge typo fixes from 3.5Martin Panter2016-06-021-10/+4
| |\ \
| | * | Got rid of redundand "self" parameter declarations.Serhiy Storchaka2016-05-021-10/+4
| | | | | | | | | | | | | | | | Argument Clinic is now able to infer all needed information.
* | | | Issue #28275: Fixed possible use adter free in LZMADecompressor.decompress().Serhiy Storchaka2016-09-271-1/+3
| |_|/ |/| | | | | | | | Original patch by John Leitch.
* | | Issue #27332: Fixed the type of the first argument of module-level functionsSerhiy Storchaka2016-07-071-6/+6
|/ / | | | | | | generated by Argument Clinic. Patch by Petr Viktorin.
* | Issue #27171: Fix typos in documentation, comments, and test function namesMartin Panter2016-06-021-1/+1
|/
* Issue #22570: Renamed Py_SETREF to Py_XSETREF.Serhiy Storchaka2016-04-061-1/+1
|
* Issue #20440: Applied yet one patch for using Py_SETREF.Serhiy Storchaka2015-12-271-3/+2
| | | | The patch is automatically generated, it replaces the code that uses Py_CLEAR.
* Issue #23944: Argument Clinic now wraps long impl prototypes at column 78.Larry Hastings2015-04-141-6/+9
|
* Issue #23501: Argumen Clinic now generates code into separate files by default.Serhiy Storchaka2015-04-031-2/+1
|
* Removed unintentional trailing spaces in non-external and non-generated C files.Serhiy Storchaka2015-03-181-10/+10
|
* Regenerated Argument Clinic checksums.Serhiy Storchaka2015-02-201-1/+1
|
* Issue #15955: Add an option to limit output size when decompressing LZMA data.Antoine Pitrou2015-01-171-39/+179
| | | | Patch by Nikolaus Rath and Martin Panter.
* Issue #22207: Fix "comparison between signed and unsigned integers" warning inVictor Stinner2014-08-171-2/+2
| | | | | test checking for integer overflow on Py_ssize_t type: cast explicitly to size_t.
* Issue #20326: Argument Clinic now uses a simple, unique signature toLarry Hastings2014-01-281-9/+9
| | | | | | | | | | annotate text signatures in docstrings, resulting in fewer false positives. "self" parameters are also explicitly marked, allowing inspect.Signature() to authoritatively detect (and skip) said parameters. Issue #20326: Argument Clinic now generates separate checksums for the input and output sections of the block, allowing external tools to verify that the input has not changed (and thus the output is not out-of-date).
* Fix for catestrophic errors in previous checkin (Argument Clinic rollup patch).Larry Hastings2014-01-251-0/+1389
|
* Issue #20390: Small fixes and improvements for Argument Clinic.Larry Hastings2014-01-251-1389/+0
|
* Issue #20193: The _lzma module now uses Argument Clinic.Serhiy Storchaka2014-01-251-146/+203
| | | | LZMACompressor.__init__ is left not converted.
* #19395: Raise exception when pickling a (BZ2|LZMA)(Compressor|Decompressor).Nadeem Vawda2013-10-281-0/+28
|\ | | | | | | | | | | | | The underlying C libraries provide no mechanism for serializing compressor and decompressor objects, so actually pickling these classes is impractical. Previously, these objects would be pickled without error, but attempting to use a deserialized instance would segfault the interpreter.
| * Issue #18227: "Free" function of bz2, lzma and zlib modules has no return ↵Victor Stinner2013-07-071-1/+1
| | | | | | | | value (void)
| * Issue #18227: Use PyMem_RawAlloc() in bz2, lzma and zlib modulesVictor Stinner2013-07-071-0/+28
| |
* | #19395: Raise exception when pickling a (BZ2|LZMA)(Compressor|Decompressor).Nadeem Vawda2013-10-281-0/+18
|/ | | | | | | The underlying C libraries provide no mechanism for serializing compressor and decompressor objects, so actually pickling these classes is impractical. Previously, these objects would be pickled without error, but attempting to use a deserialized instance would segfault the interpreter.
* Make lzma.{encode,decode}_filter_properties private.Nadeem Vawda2012-06-211-20/+14
| | | | | | | | These functions were originally added to support LZMA compression in the zipfile module, and are not of interest for the majority of users. They can be made public in 3.4 if there is user interest, but in the meanwhile, I've opted to present a smaller, simpler API for the module's initial release.
* Silence VS 2010 warning on loss of precision (_int64 -> _int32).Martin v. L?wis2012-05-151-1/+1
| | | | This is safe because the actual value is already range-checked.
* Remove uninitialized compiler warning.Ross Lagerwall2012-05-121-1/+5
|
* Fix buildbot failures in test_lzma.Nadeem Vawda2012-05-071-7/+6
|
* Rename lzma.check_is_supported() to is_check_supported() to avoid ↵Nadeem Vawda2012-05-061-6/+6
| | | | grammatical confusion.
* Add lzma.{encode,decode}_filter_properties().Nadeem Vawda2012-05-061-4/+182
|
* Fix formatting of preset values for exception messages in _lzmamodule.c.Nadeem Vawda2012-05-061-2/+2
|
* Credit Per Øyvind Karlsen for the initial implementation of the lzma module ↵Nadeem Vawda2011-12-011-1/+6
| | | | (issue #6715).
* Issue #6715: Add module for compression using the LZMA algorithm.Nadeem Vawda2011-11-301-0/+1106