Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | bpo-33781: audioop: enhance rounding double as int (GH-7447) | Victor Stinner | 2018-06-06 | 1 | -11/+17 |
| | | | | | | Move the floor() call into fbound() to call floor() on a double rather than an int. The change should enhance the rounding. Document also (int)double rounding mode. | ||||
* | bpo-28261: Fixed err msgs where PyArg_ParseTuple is used to parse normal ↵ | Oren Milman | 2017-08-20 | 1 | -7/+23 |
| | | | | tuples. (#3119) | ||||
* | Use uint16_t instead of short in audioop. | Serhiy Storchaka | 2016-09-11 | 1 | -14/+14 |
| | |||||
* | replace PyInt16 with int16_t | Benjamin Peterson | 2016-09-08 | 1 | -14/+11 |
| | |||||
* | replace PY_SIZE_MAX with SIZE_MAX | Benjamin Peterson | 2016-09-07 | 1 | -1/+1 |
| | |||||
* | Fix some warnings from MSVC | Steve Dower | 2016-09-07 | 1 | -1/+2 |
| | |||||
* | replace Python aliases for standard integer types with the standard integer ↵ | Benjamin Peterson | 2016-09-06 | 1 | -4/+4 |
| | | | | types (#17884) | ||||
* | Issue #1621: Avoid signed int negation overflow in audioop | Martin Panter | 2016-07-19 | 1 | -1/+3 |
| | |||||
* | - Issue #27332: Fixed the type of the first argument of module-level functions | Serhiy Storchaka | 2016-07-07 | 1 | -53/+52 |
|\ | | | | | | | generated by Argument Clinic. Patch by Petr Viktorin. | ||||
| * | Issue #27332: Fixed the type of the first argument of module-level functions | Serhiy Storchaka | 2016-07-07 | 1 | -53/+52 |
| | | | | | | | | generated by Argument Clinic. Patch by Petr Viktorin. | ||||
* | | Merge typo fixes from 3.5 | Martin Panter | 2016-05-08 | 1 | -2/+2 |
|\ \ | |/ | |||||
| * | Corrections for a/an in code comments and documentation | Martin Panter | 2016-05-08 | 1 | -2/+2 |
| | | |||||
* | | Issue #25923: Added the const qualifier to static constant arrays. | Serhiy Storchaka | 2015-12-25 | 1 | -9/+11 |
|/ | |||||
* | Issue #25523: Merge "a" to "an" fixes from 3.4 into 3.5 | Martin Panter | 2015-11-02 | 1 | -2/+2 |
|\ | |||||
| * | Issue #25523: Correct "a" article to "an" article | Martin Panter | 2015-11-02 | 1 | -2/+2 |
| | | | | | | | | | | | | This changes the main documentation, doc strings, source code comments, and a couple error messages in the test suite. In some cases the word was removed or edited some other way to fix the grammar. | ||||
* | | Issue #24456: Fixed possible buffer over-read in adpcm2lin() and lin2adpcm() | Serhiy Storchaka | 2015-06-28 | 1 | -13/+26 |
|\ \ | |/ | | | | | functions of the audioop module. | ||||
| * | Issue #24456: Fixed possible buffer over-read in adpcm2lin() and lin2adpcm() | Serhiy Storchaka | 2015-06-28 | 1 | -13/+26 |
| | | | | | | | | functions of the audioop module. | ||||
* | | Issue #24326: Fixed audioop.ratecv() with non-default weightB argument. | Serhiy Storchaka | 2015-05-29 | 1 | -1/+1 |
|\ \ | |/ | | | | | Original patch by David Moore. | ||||
| * | Issue #24326: Fixed audioop.ratecv() with non-default weightB argument. | Serhiy Storchaka | 2015-05-29 | 1 | -1/+1 |
| | | | | | | | | Original patch by David Moore. | ||||
* | | Issue #23944: Argument Clinic now wraps long impl prototypes at column 78. | Larry Hastings | 2015-04-14 | 1 | -26/+40 |
| | | |||||
* | | Issue #23501: Argumen Clinic now generates code into separate files by default. | Serhiy Storchaka | 2015-04-03 | 1 | -2/+1 |
|/ | |||||
* | Issue #20326: Argument Clinic now uses a simple, unique signature to | Larry Hastings | 2014-01-28 | 1 | -27/+27 |
| | | | | | | | | | | 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). | ||||
* | Issue #20394: Attempt to silence CID 1164423: Division or modulo by zero in ↵ | Christian Heimes | 2014-01-27 | 1 | -1/+2 |
| | | | | | | audioop_ratecv_impl() Serhiy and I had the same idea so it's most likely right. ;) | ||||
* | fix refleak on error | Benjamin Peterson | 2014-01-26 | 1 | -4/+7 |
| | |||||
* | Fix for catestrophic errors in previous checkin (Argument Clinic rollup patch). | Larry Hastings | 2014-01-26 | 1 | -1/+1 |
| | |||||
* | Issue #20390: Small fixes and improvements for Argument Clinic. | Larry Hastings | 2014-01-26 | 1 | -1/+0 |
| | |||||
* | Issue #20133: The audioop module now uses Argument Clinic. | Serhiy Storchaka | 2014-01-25 | 1 | -486/+591 |
| | |||||
* | fix refleak in the error case | Benjamin Peterson | 2014-01-13 | 1 | -2/+2 |
| | |||||
* | audioop: adpcm2lin() and lin2adpcm() now raises a TypeError instead of a | Victor Stinner | 2014-01-03 | 1 | -0/+6 |
| | | | | SystemError if the state type is invalid. | ||||
* | Issue #19641: Added the audioop.byteswap() function to convert big-endian | Serhiy Storchaka | 2013-11-23 | 1 | -0/+32 |
| | | | | samples to little-endian and vice versa. | ||||
* | Fixed compile error on Windows caused by arithmetic with void * pointers | Serhiy Storchaka | 2013-11-11 | 1 | -3/+3 |
| | | | | (issue #16685). | ||||
* | Issue #16685: Added support for any bytes-like objects in the audioop module. | Serhiy Storchaka | 2013-11-10 | 1 | -288/+378 |
| | | | | Removed support for strings. | ||||
* | Issue #19418 Fix some warnings on Win64 | Tim Golden | 2013-10-31 | 1 | -2/+5 |
| | |||||
* | Issue #12866: Fix bias() for 24-bit. Add more tests. | Serhiy Storchaka | 2013-10-20 | 1 | -4/+8 |
| | |||||
* | Issue #12866: The audioop module now supports 24-bit samples. | Serhiy Storchaka | 2013-10-19 | 1 | -223/+200 |
| | |||||
* | Issue #18203: Replace malloc() with PyMem_Malloc() in Python modules | Victor Stinner | 2013-07-07 | 1 | -6/+4 |
| | | | | | Replace malloc() with PyMem_Malloc() when the GIL is held, or with PyMem_RawMalloc() otherwise. | ||||
* | audioop: explicit cast to fix a compiler warning | Victor Stinner | 2013-05-07 | 1 | -1/+1 |
| | |||||
* | Issue #16686: Fixed a lot of bugs in audioop module. | Serhiy Storchaka | 2013-02-09 | 1 | -156/+154 |
|\ | | | | | | | | | | | | | | | | | | | | | | | * avgpp() and maxpp() no more crash on empty and 1-samples input fragment. They now work when peak-peak values are greater INT_MAX. * ratecv() no more crashes on empty input fragment. * Fixed an integer overflow in ratecv(). * Fixed an integer overflow in add() and bias() for 32-bit samples. * reverse(), lin2lin() and ratecv() no more lose precision for 32-bit samples. * max() and rms() no more returns negative result for 32-bit sample -0x80000000. * minmax() now returns correct max value for 32-bit sample -0x80000000. * avg(), mul(), tomono() and tostereo() now round negative result down and can return 32-bit sample -0x80000000. * add() now can return 32-bit sample -0x80000000. | ||||
| * | Issue #16686: Fixed a lot of bugs in audioop module. | Serhiy Storchaka | 2013-02-09 | 1 | -156/+154 |
| | | | | | | | | | | | | | | | | | | | | | | | | * avgpp() and maxpp() no more crash on empty and 1-samples input fragment. They now work when peak-peak values are greater INT_MAX. * ratecv() no more crashes on empty input fragment. * Fixed an integer overflow in ratecv(). * Fixed an integer overflow in add() and bias() for 32-bit samples. * reverse(), lin2lin() and ratecv() no more lose precision for 32-bit samples. * max() and rms() no more returns negative result for 32-bit sample -0x80000000. * minmax() now returns correct max value for 32-bit sample -0x80000000. * avg(), mul(), tomono() and tostereo() now round negative result down and can return 32-bit sample -0x80000000. * add() now can return 32-bit sample -0x80000000. | ||||
* | | Issue #16096: Fix several occurrences of potential signed integer overflow. ↵ | Mark Dickinson | 2012-10-06 | 1 | -2/+2 |
| | | | | | | | | Thanks Serhiy Storchaka. | ||||
* | | Issue #13806: The size check in audioop decompression functions was too ↵ | Antoine Pitrou | 2012-01-28 | 1 | -3/+3 |
|\ \ | |/ | | | | | | | | | strict and could reject valid compressed data. Patch by Oleg Plakhotnyuk. | ||||
| * | Issue #13806: The size check in audioop decompression functions was too ↵ | Antoine Pitrou | 2012-01-28 | 1 | -3/+3 |
| | | | | | | | | | | | | strict and could reject valid compressed data. Patch by Oleg Plakhotnyuk. | ||||
* | | Issue #8914: fix various warnings from the Clang static analyzer v254. | Brett Cannon | 2011-02-22 | 1 | -4/+0 |
|/ | |||||
* | Issue #9566: use Py_ssize_t instead of int | Victor Stinner | 2011-01-04 | 1 | -1/+1 |
| | |||||
* | Fix refleak in Modules/audioop.c. | Mark Dickinson | 2010-07-04 | 1 | -2/+7 |
| | |||||
* | Merged revisions 82492 via svnmerge from | Victor Stinner | 2010-07-03 | 1 | -73/+71 |
| | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r82492 | victor.stinner | 2010-07-03 15:36:19 +0200 (sam., 03 juil. 2010) | 3 lines Issue #7673: Fix security vulnerability (CVE-2010-2089) in the audioop module, ensure that the input string length is a multiple of the frame size ........ | ||||
* | Issue #8657: Make the audioop module PY_SSIZE_T_CLEAN. | Mark Dickinson | 2010-05-11 | 1 | -64/+70 |
| | |||||
* | Merged revisions 81079 via svnmerge from | Mark Dickinson | 2010-05-11 | 1 | -17/+8 |
| | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r81079 | mark.dickinson | 2010-05-11 14:05:30 +0100 (Tue, 11 May 2010) | 1 line Issue #8674: fix another bogus overflow check in audioop module. ........ | ||||
* | Merged revisions 81045 via svnmerge from | Mark Dickinson | 2010-05-10 | 1 | -28/+21 |
| | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r81045 | mark.dickinson | 2010-05-10 17:07:42 +0100 (Mon, 10 May 2010) | 3 lines Issue #8674: Fix incorrect and UB-inducing overflow checks in audioop module. Thanks Tomas Hoger for the patch. ........ | ||||
* | Recorded merge of revisions 81029 via svnmerge from | Antoine Pitrou | 2010-05-09 | 1 | -1255/+1255 |
| | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r81029 | antoine.pitrou | 2010-05-09 16:46:46 +0200 (dim., 09 mai 2010) | 3 lines Untabify C files. Will watch buildbots. ........ |