summaryrefslogtreecommitdiff
path: root/Objects/stringlib/codecs.h
AgeCommit message (Expand)AuthorLines
2022-05-02bpo-36819: Fix crashes in built-in encoders with weird error handlers (GH-28593)Miss Islington (bot)-2/+13
2021-03-31bpo-43179: Generalise alignment for optimised string routines (GH-24624)Jessica Clarke-7/+4
2020-10-18bpo-38252: Use 8-byte step to detect ASCII sequence in 64bit Windows build (G...Ma Lin-15/+15
2020-06-08bpo-29882: Add _Py_popcount32() function (GH-20518)Victor Stinner-1/+1
2020-04-17bpo-40302: UTF-32 encoder SWAB4() macro use a|b rather than a+b (GH-19572)Victor Stinner-1/+1
2020-04-17bpo-40302: Add pycore_byteswap.h header file (GH-19552)Victor Stinner-16/+20
2020-04-11bpo-39943: Add the const qualifier to pointers on non-mutable PyUnicode data....Serhiy Storchaka-1/+1
2020-03-10Update some www.unicode.org URLs to use HTTPS. (GH-18912)Benjamin Peterson-1/+1
2020-02-27bpo-39087: Optimize PyUnicode_AsUTF8AndSize() (GH-18327)Inada Naoki-18/+17
2020-02-11closes bpo-39605: Fix some casts to not cast away const. (GH-18453)Andy Lester-2/+2
2019-06-25bpo-24214: Fixed the UTF-8 and UTF-16 incremental decoders. (GH-14304)Serhiy Storchaka-3/+3
2019-05-02bpo-36775: _PyCoreConfig only uses wchar_t* (GH-13062)Victor Stinner-1/+1
2018-08-29bpo-34523: Support surrogatepass in locale codecs (GH-8995)Victor Stinner-1/+1
2017-08-21bpo-30923: Silence fall-through warnings included in -Wextra since gcc-7.0. (...Stefan Krah-2/+2
2016-10-30Issue #28561: Clean up UTF-8 encoder: remove dead code, update comments, etc.Serhiy Storchaka-10/+4
2016-09-02PEP 7 style for if/else in CVictor Stinner-1/+2
2016-08-30Issue #27895: Spelling fixes (Contributed by Ville Skyttä).Raymond Hettinger-3/+3
2016-05-16Issue #26765: Ensure that bytes- and unicode-specific stringlib files are usedSerhiy Storchaka-3/+3
2015-10-09Optimize error handlers of ASCII and Latin1 encoders when the replacementVictor Stinner-11/+7
2015-10-09Add _PyBytesWriter_WriteBytes() to factorize the codeVictor Stinner-11/+11
2015-10-09_PyBytesWriter: simplify code to avoid "prealloc" parametersVictor Stinner-8/+12
2015-10-09Optimize backslashreplace error handlerVictor Stinner-2/+16
2015-10-09Issue #25318: Add _PyBytesWriter APIVictor Stinner-63/+21
2015-10-01Issue #25267: The UTF-8 encoder is now up to 75 times as fast for errorVictor Stinner-50/+95
2015-05-18Fixed typos in comments.Serhiy Storchaka-4/+4
2015-05-18Fixed typos in comments.Serhiy Storchaka-2/+2
2015-05-12Issue #15027: The UTF-32 encoder is now 3x to 7x faster.Serhiy Storchaka-0/+87
2014-01-04Reverted changeset b72c5573c5e7 (issue #15027).Serhiy Storchaka-87/+0
2014-01-04Issue #15027: Rewrite the UTF-32 encoder. It is now 1.6x to 3.5x faster.Serhiy Storchaka-0/+87
2013-11-19Remove dead code committed in issue #12892.Serhiy Storchaka-104/+0
2013-11-19Issue #12892: The utf-16* and utf-32* codecs now reject (lone) surrogates.Serhiy Storchaka-16/+182
2013-08-13Issue #18722: Remove uses of the "register" keyword in C code.Antoine Pitrou-3/+3
2012-11-05(Merge 3.3) Issue #8271: Fix compilation on WindowsVictor Stinner-1/+1
2012-11-04Issue #8271: Fix compilation on WindowsVictor Stinner-1/+1
2012-11-04#8271: merge with 3.3.Ezio Melotti-30/+62
2012-11-04#8271: the utf-8 decoder now outputs the correct number of U+FFFD characters...Ezio Melotti-30/+62
2012-10-17Issue #16166: Add PY_LITTLE_ENDIAN and PY_BIG_ENDIAN macros and unifiedChristian Heimes-3/+3
2012-09-20Issue #15144: Fix possible integer overflow when handling pointers as integer...Antoine Pitrou-9/+5
2012-07-07Use correct types for ASCII_CHAR_MASK integer constants.Mark Dickinson-2/+2
2012-06-23Issue #14923: Optimize continuation-byte check in UTF-8 decoding. Patch by S...Mark Dickinson-6/+10
2012-06-15Issue #15026: utf-16 encoding is now significantly faster (up to 10x).Antoine Pitrou-0/+64
2012-05-15Issue #14624: UTF-16 decoding is now 3x to 4x faster on various inputs.Antoine Pitrou-1/+148
2012-05-10Issue #14738: Speed-up UTF-8 decoding on non-ASCII data. Patch by Serhiy Sto...Antoine Pitrou-78/+143
2011-12-18Issue #13624: Write a specialized UTF-8 encoder to allow more optimizationVictor Stinner-0/+197
2011-11-21Issue #13417: speed up utf-8 decoding by around 2x for the non-fully-ASCII case.Antoine Pitrou-0/+156