Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Remove gcc (4.0.x) warning about uninitialized value by explicitly setting | Thomas Wouters | 2006-03-01 | 1 | -2/+1 |
| | | | | | | | the sentinel value in the main function, rather than the helper. This function could possibly do with an early-out if any of the helper calls ends up with a len of 0, but I doubt it really matters (how common are malformed hangul syllables, really?) | ||||
* | Patch #1213831: Fix typo in unicodedata._getcode. | Martin v. Löwis | 2005-09-18 | 1 | -1/+1 |
| | | | | Will backport to Python 2.4. | ||||
* | Correct URL to the official UnicodeData 3.2.0 resource. (Reported | Hye-Shik Chang | 2005-06-04 | 1 | -1/+1 |
| | | | | by Darek Suchojad) | ||||
* | Fill docstrings for module and functions, extracted from the tex | Hye-Shik Chang | 2005-04-04 | 1 | -13/+108 |
| | | | | documentation. (Patch #1173245, Contributed by Jeremy Yallop) | ||||
* | SF #989185: Drop unicode.iswide() and unicode.width() and add | Hye-Shik Chang | 2004-08-04 | 1 | -0/+21 |
| | | | | | | | | | | | | unicodedata.east_asian_width(). You can still implement your own simple width() function using it like this: def width(u): w = 0 for c in unicodedata.normalize('NFC', u): cwidth = unicodedata.east_asian_width(c) if cwidth in ('W', 'F'): w += 2 else: w += 1 return w | ||||
* | Fix typo. | Hye-Shik Chang | 2004-07-15 | 1 | -1/+1 |
| | |||||
* | Special case normalization of empty strings. Fixes #924361. | Martin v. Löwis | 2004-04-17 | 1 | -0/+7 |
| | | | | Backported to 2.3. | ||||
* | Overallocate target buffer for normalization more early. Fixes #834676. | Martin v. Löwis | 2003-11-06 | 1 | -5/+7 |
| | | | | Backported to 2.3. | ||||
* | Fix SF bug #694816, remove comparison of unsigned value < 0 | Neal Norwitz | 2003-02-28 | 1 | -2/+2 |
| | |||||
* | Remove C++ comment. | Martin v. Löwis | 2002-12-07 | 1 | -1/+1 |
| | |||||
* | Add unidata_version. Bump generator version number. | Martin v. Löwis | 2002-11-25 | 1 | -0/+2 |
| | |||||
* | Verify that the code in CJK UNIFIED IDEOGRAPH- actually denotes an ideograph. | Martin v. Löwis | 2002-11-23 | 1 | -3/+12 |
| | |||||
* | Patch #626485: Support Unicode normalization. | Martin v. Löwis | 2002-11-23 | 1 | -15/+279 |
| | |||||
* | Implement names for CJK unified ideographs. Add name to KeyError output. | Martin v. Löwis | 2002-11-23 | 1 | -1/+39 |
| | | | | Verify that the lookup for an existing name succeeds. | ||||
* | Fix off-by-one error. | Martin v. Löwis | 2002-11-23 | 1 | -1/+1 |
| | |||||
* | Patch #626548: Support Hangul syllable names. | Martin v. Löwis | 2002-11-23 | 1 | -2/+109 |
| | |||||
* | Update to Unicode 3.2 database. | Martin v. Löwis | 2002-10-18 | 1 | -3/+3 |
| | |||||
* | Replace DL_IMPORT with PyMODINIT_FUNC and remove "/export:init..." link | Mark Hammond | 2002-07-23 | 1 | -1/+1 |
| | | | | | command line for Windows builds. This should allow MSVC to import and build the Python MSVC6 project files without error. | ||||
* | Patch #568124: Add doc string macros. | Martin v. Löwis | 2002-06-13 | 1 | -1/+1 |
| | |||||
* | _Py prefix is verboten for static entry points | Andrew MacIntyre | 2002-06-13 | 1 | -4/+4 |
| | |||||
* | Remove direct manipulation of the module dict. | Fred Drake | 2002-04-03 | 1 | -9/+3 |
| | |||||
* | OS/2 EMX port changes (Modules part of patch #450267): | Andrew MacIntyre | 2002-03-03 | 1 | -4/+4 |
| | | | | | | | | | | | | | | | Modules/ _hotshot.c dbmmodule.c fcntlmodule.c main.c pwdmodule.c readline.c selectmodule.c signalmodule.c termios.c timemodule.c unicodedata.c | ||||
* | unicodedata_decomposition(): sprintf -> PyOS_snprintf. | Tim Peters | 2001-11-30 | 1 | -2/+4 |
| | |||||
* | Kill a warning on the SGI compiler. | Fred Drake | 2001-07-19 | 1 | -1/+1 |
| | | | | This is part of SF patch #434992. | ||||
* | Be a bit more strict in setting up the export of the C API for this | Fred Drake | 2001-03-03 | 1 | -6/+6 |
| | | | | | module; do not attempt to insert the API object into the module dict if there was an error creating it. | ||||
* | renamed internal functions to avoid name clashes under OpenVMS | Fredrik Lundh | 2001-02-18 | 1 | -17/+18 |
| | | | | (fixes bug #132815) | ||||
* | stupid typo (for some reason, this only caused problems on OpenVMS). | Fredrik Lundh | 2001-02-18 | 1 | -1/+1 |
| | |||||
* | Move uchhash functionality into unicodedata (after the recent | Fredrik Lundh | 2001-01-24 | 1 | -19/+226 |
| | | | | | crop of changes, the files are small enough to do this). Also adds "name" and "lookup" functions to unicodedata. | ||||
* | Unicode nits: Don't include unicodedatabase.h no more. And make sure | Fredrik Lundh | 2001-01-21 | 1 | -1/+0 |
| | | | | to build *all* tables in makeunicodedata.py. | ||||
* | compress unicode decomposition tables (this saves another 55k) | Fredrik Lundh | 2001-01-21 | 1 | -79/+94 |
| | |||||
* | unicode database compression, step 2: | Fredrik Lundh | 2000-09-25 | 1 | -28/+18 |
| | | | | | | | | | | - fixed attributions - moved decomposition data to a separate table, in preparation for step 3 (which won't happen before 2.0 final, promise!) - use relative paths in the generator script I have a lot more stuff in the works for 2.1, but let's leave that for another day... | ||||
* | unicode database compression, step 1: | Fredrik Lundh | 2000-09-24 | 1 | -11/+1 |
| | | | | | - use unidb compression for the unicodedata module. on Windows, the new unidatabase module is 120k, down from nearly 600k. | ||||
* | Changing the CNRI copyright notice according to CNRI's instructions. | Guido van Rossum | 2000-08-03 | 1 | -1/+1 |
| | | | | | This is a notice without a date, which apparently is not a claim to copyright but only advice to the reader. IANAL. :-) | ||||
* | Bunch of minor ANSIfications: 'void initfunc()' -> 'void initfunc(void)', | Thomas Wouters | 2000-07-21 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | | | and a couple of functions that were missed in the previous batches. Not terribly tested, but very carefully scrutinized, three times. All these were found by the little findkrc.py that I posted to python-dev, which means there might be more lurking. Cases such as this: long func(a, b) long a; long b; /* flagword */ { and other cases where the last ; in the argument list isn't followed by a newline and an opening curly bracket. Regexps to catch all are welcome, of course ;) | ||||
* | Marc-Andre Lemburg: The large unicode database table is broken in | Guido van Rossum | 2000-03-31 | 1 | -7/+17 |
| | | | | | pages of 4k entries each. This should fix compiler problems on some platforms. | ||||
* | Module unicodedata -- Provides access to the Unicode 3.0 data base. | Guido van Rossum | 2000-03-10 | 1 | -0/+269 |
Written by Marc-Andre Lemburg. |