History log of /external/python/cpython2/Modules/unicodedata.c
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
b027c6cae0bf591d62348f555116f28e0c081880 02-Mar-2015 Benjamin Peterson <benjamin@python.org> fix possible overflow bugs in unicodedata (closes #23367)
/external/python/cpython2/Modules/unicodedata.c
6d0f0f299b014e79f6079901b560e938e0c5d8df 26-Aug-2013 Ezio Melotti <ezio.melotti@gmail.com> #18803: fix more typos. Patch by Févry Thibault.
/external/python/cpython2/Modules/unicodedata.c
419e23cbb07a624609a219919eaecd3c61d8e9b4 17-Aug-2013 Ezio Melotti <ezio.melotti@gmail.com> #18466: fix more typos. Patch by Févry Thibault.
/external/python/cpython2/Modules/unicodedata.c
67c563e2f196b6e491140632386f0fea90a81e0f 14-Dec-2012 Ezio Melotti <ezio.melotti@gmail.com> #16681: use "bidirectional class" instead of "bidirectional category" in the docstring too.
/external/python/cpython2/Modules/unicodedata.c
44b3b5457a8af636504940f508b2888f6e080ca7 04-Oct-2011 Antoine Pitrou <solipsis@pitrou.net> Remove all other uses of the C tolower()/toupper() which could break with a Turkish locale.
(except in the strop module, which is deprecated anyway)
/external/python/cpython2/Modules/unicodedata.c
dce6cf353cd631629fd204f0eb75c3cec8e8d367 28-Dec-2010 Alexander Belopolsky <alexander.belopolsky@gmail.com> Merged revisions 87442 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
r87442 | alexander.belopolsky | 2010-12-22 21:27:37 -0500 (Wed, 22 Dec 2010) | 1 line

Issue #10254: Fixed a crash and a regression introduced by the implementation of PRI 29.
........
/external/python/cpython2/Modules/unicodedata.c
e03c7787b98f406d65714b0e7c9509131ac5828a 22-Nov-2010 Martin v. Löwis <martin@v.loewis.de> Issue #10459: Update CJK character names to Unicode 5.2.
/external/python/cpython2/Modules/unicodedata.c
c83ea137d7e717f764e2f31fc2544f522de7d857 09-May-2010 Antoine Pitrou <solipsis@pitrou.net> Untabify C files. Will watch buildbots.
/external/python/cpython2/Modules/unicodedata.c
402b73fb8d54ec2b24b52fdd77d389d903fa6c44 25-Mar-2010 Larry Hastings <larry@hastings.org> Backported PyCapsule from 3.1, and converted most uses of
CObject to PyCapsule.
/external/python/cpython2/Modules/unicodedata.c
0d0b80bc3eb92e4abc8ffe26801f88af1a5c5890 23-Mar-2010 Ezio Melotti <ezio.melotti@gmail.com> Link specifically to the UCD version 5.2.0.
/external/python/cpython2/Modules/unicodedata.c
ae735a763e151f277d73eebdfc3b798e4a8b46d2 23-Mar-2010 Ezio Melotti <ezio.melotti@gmail.com> Update the version number of the Unicode Database in a few more places.
/external/python/cpython2/Modules/unicodedata.c
7c924ec9258fd8e324dedcdcc35bb8706aea7922 04-Mar-2010 Victor Stinner <victor.stinner@haypocalc.com> Issue #1054943: Fix unicodedata.normalize('NFC', text) for the Public Review
Issue #29.

PR #29 was released in february 2004!
/external/python/cpython2/Modules/unicodedata.c
d0052d17b1a067e4aa8a69f5564a4b94e0c00502 06-Oct-2009 Amaury Forgeot d'Arc <amauryfa@gmail.com> #1571184: makeunicodedata.py now generates the functions _PyUnicode_ToNumeric,
_PyUnicode_IsLinebreak and _PyUnicode_IsWhitespace.

It now also parses the Unihan.txt for numeric values.
/external/python/cpython2/Modules/unicodedata.c
e988e286b2831382deb7c69b26c74ed185f51696 27-Apr-2009 Antoine Pitrou <solipsis@pitrou.net> Issue #1734234: Massively speedup `unicodedata.normalize()` when the
string is already in normalized form, by performing a quick check beforehand.
Original patch by Rauli Ruohonen.
/external/python/cpython2/Modules/unicodedata.c
24329ba1762688f78ff589d0243683c4afafe096 10-Sep-2008 Martin v. Löwis <martin@v.loewis.de> Issue #3811: The Unicode database was updated to 5.1.
Reviewed by Fredrik Lundh and Marc-Andre Lemburg.
/external/python/cpython2/Modules/unicodedata.c
dd96db63f689e2f0d8ae5a1436b3b3395eec7de5 09-Jun-2008 Gregory P. Smith <greg@mad-scientist.com> This reverts r63675 based on the discussion in this thread:

http://mail.python.org/pipermail/python-dev/2008-June/079988.html

Python 2.6 should stick with PyString_* in its codebase. The PyBytes_* names
in the spirit of 3.0 are available via a #define only. See the email thread.
/external/python/cpython2/Modules/unicodedata.c
a2a89a871260068ca1abe4530229227750c82833 02-Jun-2008 Walter Dörwald <walter@livinglogic.de> Change all functions that expect one unicode character to accept a pair of
surrogates in narrow builds. Fixes issue #1706460.
/external/python/cpython2/Modules/unicodedata.c
593daf545bd9b7e7bcb27b498ecc6f36db9ae395 26-May-2008 Christian Heimes <christian@cheimes.de> Renamed PyString to PyBytes
/external/python/cpython2/Modules/unicodedata.c
e93237dfcc4ee4feee62adafb4e7899487ca864b 19-Dec-2007 Christian Heimes <christian@cheimes.de> #1629: Renamed Py_Size, Py_Type and Py_Refcnt to Py_SIZE, Py_TYPE and Py_REFCNT. Macros for b/w compatibility are available.
/external/python/cpython2/Modules/unicodedata.c
f1e0b3f6307084dc3429bd5a1361a5be7be708bb 28-Jul-2007 Martin v. Löwis <martin@v.loewis.de> Bug #1704793: Return UTF-16 pair if unicodedata.lookup cannot
represent the result in a single character.
/external/python/cpython2/Modules/unicodedata.c
6819210b9e4e5719a6f7f9c1725f8fa70a8936f6 21-Jul-2007 Martin v. Löwis <martin@v.loewis.de> PEP 3123: Provide forward compatibility with Python 3.0, while keeping
backwards compatibility. Add Py_Refcnt, Py_Type, Py_Size, and
PyVarObject_HEAD_INIT.
/external/python/cpython2/Modules/unicodedata.c
6fc2382883516434c5876e768fabd75a0c633d84 09-Nov-2006 Walter Dörwald <walter@livinglogic.de> Replace C++ comment with C comment (fixes SF bug #1593525).
/external/python/cpython2/Modules/unicodedata.c
b45f351832b00c80bf9881e92b12c330324e3116 12-Aug-2006 Neal Norwitz <nnorwitz@gmail.com> I'm not sure why this code allocates this string for the error message.
I think it would be better to always use snprintf and have the format
limit the size of the name appropriately (like %.200s).

Klocwork #340
/external/python/cpython2/Modules/unicodedata.c
789c09d2cd8da14166846f007d53a56585b0d6c3 10-Aug-2006 Martin v. Löwis <martin@v.loewis.de> Update dangling references to the 3.2 database to
mention that this is UCD 4.1 now.
/external/python/cpython2/Modules/unicodedata.c
37f694f21b0f5d5633516ccd8c15f4bd1822c470 27-Jul-2006 Neal Norwitz <nnorwitz@gmail.com> No functional change. Add comment and assert to describe why there cannot be overflow which was reported by Klocwork. Discussed on python-dev
/external/python/cpython2/Modules/unicodedata.c
d004fc810af3e1985686e616763e14a1b0aa60c1 27-May-2006 Martin v. Löwis <martin@v.loewis.de> Patch 1494554: Update numeric properties to Unicode 4.1.
/external/python/cpython2/Modules/unicodedata.c
88c97845c6c5f84bb503c95828055c12c562c623 17-Apr-2006 Neal Norwitz <nnorwitz@gmail.com> No reason to export get_decomp_record, make static
/external/python/cpython2/Modules/unicodedata.c
3c6e4188ed32da96455fe12893d317751721ce48 13-Apr-2006 Martin v. Löwis <martin@v.loewis.de> Support NFD of very long strings.
/external/python/cpython2/Modules/unicodedata.c
65c05b20e97a493b917fa71f10535512c713c662 10-Apr-2006 Neal Norwitz <nnorwitz@gmail.com> Get rid of warnings about using chars as subscripts
on Alpha (and possibly other platforms) by using Py_CHARMASK().
/external/python/cpython2/Modules/unicodedata.c
c3509129900e5446598569cc8c7e78e928000831 11-Mar-2006 Martin v. Löwis <martin@v.loewis.de> Adjust CJK Ideograph range to Unicode 4.1.
/external/python/cpython2/Modules/unicodedata.c
0e2f9b2dfb3b9241e6427c8e196881cb348b6e72 10-Mar-2006 Martin v. Löwis <martin@v.loewis.de> Fix refcounting bug.
/external/python/cpython2/Modules/unicodedata.c
5bd7c0229826bc8b71879a3600a34d21045bc031 10-Mar-2006 Martin v. Löwis <martin@v.loewis.de> Avoid forward-declaring the methods array.
Rename unicodedata.db* to unicodedata.ucd*
/external/python/cpython2/Modules/unicodedata.c
480f1bb67ba8d2857d87921391df278c5569774c 10-Mar-2006 Martin v. Löwis <martin@v.loewis.de> Update Unicode database to Unicode 4.1.
/external/python/cpython2/Modules/unicodedata.c
1e365b265ab77c58d8c8ee8d3341c8c0ad9650c9 01-Mar-2006 Thomas Wouters <thomas@python.org> Remove gcc (4.0.x) warning about uninitialized value by explicitly setting
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?)
/external/python/cpython2/Modules/unicodedata.c
8b291e2d66390b8511b9e9d861e34714d40d5f5b 18-Sep-2005 Martin v. Löwis <martin@v.loewis.de> Patch #1213831: Fix typo in unicodedata._getcode.
Will backport to Python 2.4.
/external/python/cpython2/Modules/unicodedata.c
4c560ea05bb2872cdca2d4abdacd8926fb00b848 04-Jun-2005 Hye-Shik Chang <hyeshik@gmail.com> Correct URL to the official UnicodeData 3.2.0 resource. (Reported
by Darek Suchojad)
/external/python/cpython2/Modules/unicodedata.c
cf18a5d67bc791f7273b7577797f04470e01e42e 04-Apr-2005 Hye-Shik Chang <hyeshik@gmail.com> Fill docstrings for module and functions, extracted from the tex
documentation. (Patch #1173245, Contributed by Jeremy Yallop)
/external/python/cpython2/Modules/unicodedata.c
e9ddfbb41207328d5c89061067f3431e00711fda 04-Aug-2004 Hye-Shik Chang <hyeshik@gmail.com> SF #989185: Drop unicode.iswide() and unicode.width() and add
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
/external/python/cpython2/Modules/unicodedata.c
69dc1c8f6a6deffbc6fa076d9df4ffc3e3d85afa 15-Jul-2004 Hye-Shik Chang <hyeshik@gmail.com> Fix typo.
/external/python/cpython2/Modules/unicodedata.c
61e40bd897da8ab4bf2dffe817d0163e984c1e40 17-Apr-2004 Martin v. Löwis <martin@v.loewis.de> Special case normalization of empty strings. Fixes #924361.
Backported to 2.3.
/external/python/cpython2/Modules/unicodedata.c
d2171d2ba414def2ecf27b694ea27c2e9fde0fcf 06-Nov-2003 Martin v. Löwis <martin@v.loewis.de> Overallocate target buffer for normalization more early. Fixes #834676.
Backported to 2.3.
/external/python/cpython2/Modules/unicodedata.c
e9c571f96847f985ff4abaf1a3f3f9c27f088d6d 28-Feb-2003 Neal Norwitz <nnorwitz@gmail.com> Fix SF bug #694816, remove comparison of unsigned value < 0
/external/python/cpython2/Modules/unicodedata.c
2fb661fb80f30dae6dab01e320103ede275e1653 07-Dec-2002 Martin v. Löwis <martin@v.loewis.de> Remove C++ comment.
/external/python/cpython2/Modules/unicodedata.c
b5c980b8028af0876e40f71c94b82cd02e327bf0 25-Nov-2002 Martin v. Löwis <martin@v.loewis.de> Add unidata_version. Bump generator version number.
/external/python/cpython2/Modules/unicodedata.c
8d93ca138355a85a9dedc2abc225e984ea0e6d29 23-Nov-2002 Martin v. Löwis <martin@v.loewis.de> Verify that the code in CJK UNIFIED IDEOGRAPH- actually denotes an ideograph.
/external/python/cpython2/Modules/unicodedata.c
677bde2dd14ac2c8f170779adcc732f991db8bd6 23-Nov-2002 Martin v. Löwis <martin@v.loewis.de> Patch #626485: Support Unicode normalization.
/external/python/cpython2/Modules/unicodedata.c
ef7fe2e8137824248cf45d316535b76dae302b5a 23-Nov-2002 Martin v. Löwis <martin@v.loewis.de> Implement names for CJK unified ideographs. Add name to KeyError output.
Verify that the lookup for an existing name succeeds.
/external/python/cpython2/Modules/unicodedata.c
2f4be4e38ab0adc8ee6773e920754e7ea8c51e89 23-Nov-2002 Martin v. Löwis <martin@v.loewis.de> Fix off-by-one error.
/external/python/cpython2/Modules/unicodedata.c
7d41e29c589148563ee163d7496b6e18ff401a1f 23-Nov-2002 Martin v. Löwis <martin@v.loewis.de> Patch #626548: Support Hangul syllable names.
/external/python/cpython2/Modules/unicodedata.c
9def6a3a77569214b49d1b54ef138b0e4985a6bd 18-Oct-2002 Martin v. Löwis <martin@v.loewis.de> Update to Unicode 3.2 database.
/external/python/cpython2/Modules/unicodedata.c
62b1ab1b314653c09757c533883447eda437306f 23-Jul-2002 Mark Hammond <mhammond@skippinet.com.au> Replace DL_IMPORT with PyMODINIT_FUNC and remove "/export:init..." link
command line for Windows builds. This should allow MSVC to import and
build the Python MSVC6 project files without error.
/external/python/cpython2/Modules/unicodedata.c
14f8b4cfcb98de74b9c6e9316539be9e2a5cd31f 13-Jun-2002 Martin v. Löwis <martin@v.loewis.de> Patch #568124: Add doc string macros.
/external/python/cpython2/Modules/unicodedata.c
74a3bec592c53078226818e0d732f9f81cfb5d7f 13-Jun-2002 Andrew MacIntyre <andymac@bullseye.apana.org.au> _Py prefix is verboten for static entry points
/external/python/cpython2/Modules/unicodedata.c
a2bd8d3816e35d1d678ba5b47a3666ab6e01f605 03-Apr-2002 Fred Drake <fdrake@acm.org> Remove direct manipulation of the module dict.
/external/python/cpython2/Modules/unicodedata.c
7bf6833e178696b9815fd4e4c6d1cecc8b46bdd2 03-Mar-2002 Andrew MacIntyre <andymac@bullseye.apana.org.au> OS/2 EMX port changes (Modules part of patch #450267):
Modules/
_hotshot.c
dbmmodule.c
fcntlmodule.c
main.c
pwdmodule.c
readline.c
selectmodule.c
signalmodule.c
termios.c
timemodule.c
unicodedata.c
/external/python/cpython2/Modules/unicodedata.c
69b83b113f9e6fed321288ea23bca2aa673a7beb 30-Nov-2001 Tim Peters <tim.peters@gmail.com> unicodedata_decomposition(): sprintf -> PyOS_snprintf.
/external/python/cpython2/Modules/unicodedata.c
6a16ea07b8159c39e3433d32e5d8efb10aec06c8 19-Jul-2001 Fred Drake <fdrake@acm.org> Kill a warning on the SGI compiler.
This is part of SF patch #434992.
/external/python/cpython2/Modules/unicodedata.c
f585bef5043972b042cb324e75c82ee07fd56fa2 03-Mar-2001 Fred Drake <fdrake@acm.org> Be a bit more strict in setting up the export of the C API for this
module; do not attempt to insert the API object into the module dict
if there was an error creating it.
/external/python/cpython2/Modules/unicodedata.c
b95896b2d2592132da97ef93f5583a45d49226a4 18-Feb-2001 Fredrik Lundh <fredrik@pythonware.com> renamed internal functions to avoid name clashes under OpenVMS
(fixes bug #132815)
/external/python/cpython2/Modules/unicodedata.c
ae7636753e15273742515eb123999d23f6b7985e 18-Feb-2001 Fredrik Lundh <fredrik@pythonware.com> stupid typo (for some reason, this only caused problems on OpenVMS).
/external/python/cpython2/Modules/unicodedata.c
06d126803c66515f5cdb272dfd7807716f04d33f 24-Jan-2001 Fredrik Lundh <fredrik@pythonware.com> Move uchhash functionality into unicodedata (after the recent
crop of changes, the files are small enough to do this). Also
adds "name" and "lookup" functions to unicodedata.
/external/python/cpython2/Modules/unicodedata.c
b2dfd73bdce7552e671520a14e4b5a72dc02ce12 22-Jan-2001 Fredrik Lundh <fredrik@pythonware.com> Unicode nits: Don't include unicodedatabase.h no more. And make sure
to build *all* tables in makeunicodedata.py.
/external/python/cpython2/Modules/unicodedata.c
7b7dd107b3654926fb75215805d6c0c8a15bf89e 21-Jan-2001 Fredrik Lundh <fredrik@pythonware.com> compress unicode decomposition tables (this saves another 55k)
/external/python/cpython2/Modules/unicodedata.c
cfcea4921865a922744dc168dde5eaccde8fe50b 25-Sep-2000 Fredrik Lundh <fredrik@pythonware.com> unicode database compression, step 2:

- 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...
/external/python/cpython2/Modules/unicodedata.c
a4287c29b343dec5115672fd1ff1325f322dec1b 24-Sep-2000 Fredrik Lundh <fredrik@pythonware.com> unicode database compression, step 1:

- use unidb compression for the unicodedata module. on Windows,
the new unidatabase module is 120k, down from nearly 600k.
/external/python/cpython2/Modules/unicodedata.c
16b1ad9c7d431975353c06ad952237281e743b39 03-Aug-2000 Guido van Rossum <guido@python.org> Changing the CNRI copyright notice according to CNRI's instructions.
This is a notice without a date, which apparently is not a claim to
copyright but only advice to the reader. IANAL. :-)
/external/python/cpython2/Modules/unicodedata.c
f3f33dcf03eaed3c4e720178f9d69205a66d6a91 21-Jul-2000 Thomas Wouters <thomas@python.org> Bunch of minor ANSIfications: 'void initfunc()' -> 'void initfunc(void)',
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 ;)
/external/python/cpython2/Modules/unicodedata.c
8a160542405aad66433b962e4f9c2c3d51abe237 31-Mar-2000 Guido van Rossum <guido@python.org> Marc-Andre Lemburg: The large unicode database table is broken in
pages of 4k entries each. This should fix compiler problems on some
platforms.
/external/python/cpython2/Modules/unicodedata.c
2a70a3a8fc9b145c3fbf284a3ea422eae5899fdf 11-Mar-2000 Guido van Rossum <guido@python.org> Module unicodedata -- Provides access to the Unicode 3.0 data base.
Written by Marc-Andre Lemburg.
/external/python/cpython2/Modules/unicodedata.c