summaryrefslogtreecommitdiffstats
path: root/Modules/cjkcodecs
Commit message (Collapse)AuthorAgeFilesLines
* Backport of r60793:Martin v. Löwis2008-03-021-3/+17
| | | | | | Added checks for integer overflows, contributed by Google. Some are only available if asserts are left in the code, in cases where they can't be triggered from Python code.
* Revert the following revisions, as they don't fix securityMartin v. Löwis2008-03-021-5/+1
| | | | | | | problems: 52448, 52468, 52472, 52475, 52646, 52797, 52802, 52863, 52999, 53001, 53101, 53371, 53373, 53383, 53384, 53736, 53812, 53921, 55578, 55580, 55581, 55772, 55775, 56557, 57093, 57094, 58630, 60114
* (Backport from r55770)Hye-Shik Chang2007-06-051-1/+5
| | | | | | Bug #1728403: Fix a bug that CJKCodecs StreamReader hangs when it reads a file that ends with incomplete sequence and sizehint argument for .read() is specified.
* Backport from trunk r52223:Hye-Shik Chang2006-10-081-14/+22
| | | | | Bug #1572832: fix a bug in ISO-2022 codecs which may cause segfault when encoding non-BMP unicode characters. (Submitted by Ray Chason)
* Backport from trunk r51737:Hye-Shik Chang2006-09-073-28/+39
| | | | | | | | | Fixed a few bugs on cjkcodecs: - gbk and gb18030 codec now handle U+30FB KATAKANA MIDDLE DOT correctly. - iso2022_jp_2 codec now encodes into G0 for KS X 1001, GB2312 codepoints to conform the standard. - iso2022_jp_3 and iso2022_jp_2004 codec can encode JIS X 0213:2 codepoints now.
* (Backport from trunk) Fix a potentially invalid memory access ofHye-Shik Chang2006-06-051-1/+2
| | | | CJKCodecs' shift-jis decoder.
* Ubuntu bug #29289: Fixed a bug that the gb18030 codec raisesHye-Shik Chang2006-03-281-4/+1
| | | | | RuntimeError on encoding surrogate pair area on UCS4 build. This is a partial backport of r43320. (Approved by Anthony Baxter)
* Backport from trunk r42989:Hye-Shik Chang2006-03-131-1/+1
| | | | | Bug #1448490: Fixed a bug that ISO-2022 codecs could not handle SS2 (single-shift 2) escape sequences correctly.
* Bug #1290333: Added a workaround for cjkcodecs' _codecs_cn moduleHye-Shik Chang2005-12-121-0/+8
| | | | build problem on AIX.
* Backport fix for patch #1297028, cjkcodecs does not initialize type pointerNeal Norwitz2005-09-231-0/+4
|
* [ 1243081 ] repair typosGeorg Brandl2005-07-221-1/+1
|
* Bug #1005737, #1007249: Fix several build problems and warningsHye-Shik Chang2004-08-195-42/+45
| | | | | found on legacy C compilers of HP-UX, IRIX and Tru64. (Reported by roadkill, Richard Townsend, Maik Hertha and Minsik Kim)
* Remove CJKCodecs implementation of UTF-7 and UTF-8 codec whichHye-Shik Chang2004-07-281-560/+0
| | | | | | aren't intended to be part of Python distributiuon. This was accidently imported on mass converting from standalone version of CJKCodecs.
* Replace an extern magic to assigning declared pointer from array's.Hye-Shik Chang2004-07-181-26/+12
| | | | And unifdef(1) compatibility blocks.
* Remove unused CNS-11643 mapping which shouldn't merged into main PythonHye-Shik Chang2004-07-181-11864/+0
| | | | yet.
* Repair MS compiler warning about signed-vs-unsigned mismatch. The planeTim Peters2004-07-181-2/+2
| | | | and width clearly don't need to be signed.
* Added a comment explaining the extern ugliness.Tim Peters2004-07-181-0/+6
|
* Changed the "predefinitions" of codec_list and mapping_list from staticTim Peters2004-07-181-2/+2
| | | | | | | | to extern. It's not legal C to say static whatever[]; because the size isn't given. Presumably this is a gcc extension.
* Bring CJKCodecs 1.1 into trunk. This completely reorganizes sourceHye-Shik Chang2004-07-1867-40161/+34069
| | | | | | and installed layouts to make maintenance simple and easy. And it also adds four new codecs; big5hkscs, euc-jis-2004, shift-jis-2004 and iso2022-jp-2004.
* Remove warning (static not being first) when building with -WNeal Norwitz2004-06-131-2/+2
|
* Fix MSVC6 warnings. (spotted by Tim Peters)Hye-Shik Chang2004-01-2320-48/+48
|
* Add CJK codecs support as discussed on python-dev. (SF #873597)Hye-Shik Chang2004-01-1751-0/+40542
Several style fixes are suggested by Martin v. Loewis and Marc-Andre Lemburg. Thanks!