Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fix more ssize_t problems. | Martin v. Löwis | 2006-04-22 | 1 | -1/+1 |
| | |||||
* | Backport p3yk r45619: | Hye-Shik Chang | 2006-04-21 | 1 | -4/+28 |
| | | | | | | Add empty __init__ methods for stateful multibytecodec instances. This resolves a problem found by Thomas Wouters: http://mail.python.org/pipermail/python-dev/2006-April/064051.html | ||||
* | Try to get rid of a Coverity warning by consistently using origpending. | Neal Norwitz | 2006-03-28 | 1 | -1/+1 |
| | |||||
* | Fix reference leaks introduced by the recent incremental codec | Hye-Shik Chang | 2006-03-27 | 2 | -41/+52 |
| | | | | changes. | ||||
* | Utilize %zd for Py_ssize_t formatting instead of casting to long. | Hye-Shik Chang | 2006-03-26 | 1 | -4/+4 |
| | |||||
* | Allow long objects as a position value of error callbacks returned. | Hye-Shik Chang | 2006-03-26 | 1 | -8/+12 |
| | |||||
* | Patch #1443155: Add the incremental codecs support for CJK codecs. | Hye-Shik Chang | 2006-03-26 | 3 | -316/+826 |
| | | | | (reviewed by Walter Dörwald) | ||||
* | Bug #1448490: Fix a bug that ISO-2022 codecs could not handle | Hye-Shik Chang | 2006-03-13 | 1 | -1/+1 |
| | | | | SS2 (single-shift 2) escape sequences correctly. | ||||
* | Check NULL if Py_InitModule fails. | Hye-Shik Chang | 2006-03-06 | 1 | -1/+2 |
| | |||||
* | - Modernize code to use Py_ssize_t more intensively. | Hye-Shik Chang | 2006-03-04 | 18 | -168/+131 |
| | | | | - Do some minor code clean-ups. | ||||
* | More unconsting. | Martin v. Löwis | 2006-02-27 | 1 | -2/+2 |
| | |||||
* | Merge ssize_t branch. | Martin v. Löwis | 2006-02-15 | 1 | -1/+1 |
| | |||||
* | Bug #1290333: Added a workaround for cjkcodecs' _codecs_cn module | Hye-Shik Chang | 2005-12-12 | 1 | -0/+8 |
| | | | | build problem on AIX. | ||||
* | Add const to several API functions that take char *. | Jeremy Hylton | 2005-12-10 | 1 | -2/+2 |
| | | | | | | | | | | | | | | | | | | | In C++, it's an error to pass a string literal to a char* function without a const_cast(). Rather than require every C++ extension module to put a cast around string literals, fix the API to state the const-ness. I focused on parts of the API where people usually pass literals: PyArg_ParseTuple() and friends, Py_BuildValue(), PyMethodDef, the type slots, etc. Predictably, there were a large set of functions that needed to be fixed as a result of these changes. The most pervasive change was to make the keyword args list passed to PyArg_ParseTupleAndKewords() to be a const char *kwlist[]. One cast was required as a result of the changes: A type object mallocs the memory for its tp_doc slot and later frees it. PyTypeObject says that tp_doc is const char *; but if the type was created by type_new(), we know it is safe to cast to char *. | ||||
* | Change the internal "undefined codepoint" mark for CJKCodecs decoders | Hye-Shik Chang | 2005-10-06 | 1 | -1/+4 |
| | | | | | from U+FFFD to U+FFFE which is considered more appropriate. (from MAL's comment) | ||||
* | SF Patch #1297028, cjkcodecs does not initialize type pointer | Neal Norwitz | 2005-09-21 | 1 | -0/+4 |
| | | | | | | | Fix segfault. I tried to write a test, but it wouldn't crash when running regrtest. This really should have some sort of test. Should definitely be backported. | ||||
* | [ 1243081 ] repair typos | Georg Brandl | 2005-07-22 | 1 | -1/+1 |
| | |||||
* | Bug #1005737, #1007249: Fix several build problems and warnings | Hye-Shik Chang | 2004-08-19 | 5 | -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 which | Hye-Shik Chang | 2004-07-28 | 1 | -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 Chang | 2004-07-18 | 1 | -26/+12 |
| | | | | And unifdef(1) compatibility blocks. | ||||
* | Remove unused CNS-11643 mapping which shouldn't merged into main Python | Hye-Shik Chang | 2004-07-18 | 1 | -11864/+0 |
| | | | | yet. | ||||
* | Repair MS compiler warning about signed-vs-unsigned mismatch. The plane | Tim Peters | 2004-07-18 | 1 | -2/+2 |
| | | | | and width clearly don't need to be signed. | ||||
* | Added a comment explaining the extern ugliness. | Tim Peters | 2004-07-18 | 1 | -0/+6 |
| | |||||
* | Changed the "predefinitions" of codec_list and mapping_list from static | Tim Peters | 2004-07-18 | 1 | -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 source | Hye-Shik Chang | 2004-07-18 | 67 | -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 -W | Neal Norwitz | 2004-06-13 | 1 | -2/+2 |
| | |||||
* | Fix MSVC6 warnings. (spotted by Tim Peters) | Hye-Shik Chang | 2004-01-23 | 20 | -48/+48 |
| | |||||
* | Add CJK codecs support as discussed on python-dev. (SF #873597) | Hye-Shik Chang | 2004-01-17 | 51 | -0/+40542 |
Several style fixes are suggested by Martin v. Loewis and Marc-Andre Lemburg. Thanks! |