Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Guard gettext and friends with HAVE_LIBINTL_H. Fixes #549907. | Martin v. Löwis | 2002-05-02 | 1 | -1/+1 |
| | |||||
* | Patch #546194: Check constants individually. Fixes 534143 on OpenBSD. | Martin v. Löwis | 2002-04-19 | 1 | -2/+19 |
| | | | | Will backport to 2.2. | ||||
* | Expose C library's gettext. Fixes #516412. | Martin v. Löwis | 2002-03-27 | 1 | -2/+96 |
| | |||||
* | Don't imply XPG4 constants from CODESET presence. Fixes #534153. | Martin v. Löwis | 2002-03-27 | 1 | -1/+4 |
| | | | | 2.2.2 candiate. | ||||
* | Remove many uses of PyArg_NoArgs macro, change METH_OLDARGS to METH_NOARGS. | Neal Norwitz | 2002-03-25 | 1 | -11/+5 |
| | |||||
* | Verify arguments for nl_langinfo. Fixes #528879. | Martin v. Löwis | 2002-03-12 | 1 | -84/+106 |
| | |||||
* | sprintf -> PyOS_snprintf in some "obviously safe" cases. | Tim Peters | 2001-11-28 | 1 | -1/+1 |
| | | | | | Also changed <>-style #includes to ""-style in some places where the former didn't make sense. | ||||
* | PyLocale_setlocale(): silence compiler warning about free() of a const | Guido van Rossum | 2001-09-20 | 1 | -1/+1 |
| | | | | char *. | ||||
* | Patch #449815: Set filesystemencoding based on CODESET. | Martin v. Löwis | 2001-09-05 | 1 | -1/+20 |
| | |||||
* | Fix portability problems with glibc 2.0, as reported in #449157. | Martin v. Löwis | 2001-08-15 | 1 | -0/+3 |
| | |||||
* | _DATE_FMT does not always accompany CODESET. | Martin v. Löwis | 2001-08-10 | 1 | -0/+3 |
| | |||||
* | Expose nl_langinfo through locale where available. | Martin v. Löwis | 2001-08-10 | 1 | -0/+103 |
| | |||||
* | RISCOS changes by dschwertberger | Guido van Rossum | 2001-03-02 | 1 | -0/+4 |
| | |||||
* | Rationalize use of limits.h, moving the inclusion to Python.h. | Fred Drake | 2000-09-26 | 1 | -1/+0 |
| | | | | | | | | Add definitions of INT_MAX and LONG_MAX to pyport.h. Remove includes of limits.h and conditional definitions of INT_MAX and LONG_MAX elsewhere. This closes SourceForge patch #101659 and bug #115323. | ||||
* | Don't call Py_FatalError in module initialization | Jeremy Hylton | 2000-09-01 | 1 | -3/+0 |
| | | | | (leaving the rest of the modules for Barry) | ||||
* | init_locale(): This file defines the _locale module, so the | Barry Warsaw | 2000-08-18 | 1 | -1/+1 |
| | | | | Py_FatalError() should reflect that. | ||||
* | Clean up compiler warning exposed by GCC's -Wall option: make sure | Fred Drake | 2000-08-10 | 1 | -2/+2 |
| | | | | | Python.h is included before standard headers since we set _GNU_SOURCE there. This ensures that strdup() is prototyped. | ||||
* | Use METH_VARARGS instead of numeric constant 1 in method def. tables | Andrew M. Kuchling | 2000-08-03 | 1 | -4/+8 |
| | |||||
* | 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 ;) | ||||
* | Implemented getdefaultlocale() for macintosh, after an idea by Fredrik. | Jack Jansen | 2000-07-15 | 1 | -2/+10 |
| | |||||
* | - _getdefaultlocale shouldn't accept arguments | Fredrik Lundh | 2000-07-08 | 1 | -8/+11 |
| | | | | - some more spacification... | ||||
* | - added _getdefaultlocale implementation for WIN32 | Fredrik Lundh | 2000-07-08 | 1 | -269/+351 |
| | | | | - ansified, reindentified, spacified, nullified | ||||
* | Trent Mick: use size_t instead of int where appropriate (in strxfrm(), | Guido van Rossum | 2000-06-28 | 1 | -1/+1 |
| | | | | to hold strlen() outcome). | ||||
* | Vladimir Marangozov: | Guido van Rossum | 2000-05-03 | 1 | -5/+5 |
| | | | | | Change Py_Malloc/Realloc/Free calls to PyMem_Malloc/Realloc/Free + PyErr_Nomemory on error check. Py_Malloc c.s. are obsolete. | ||||
* | Massive patch by Skip Montanaro to add ":name" to as many | Guido van Rossum | 2000-02-29 | 1 | -3/+3 |
| | | | | PyArg_ParseTuple() format string arguments as possible. | ||||
* | Add DL_EXPORT() to all modules that could possibly be used | Guido van Rossum | 1998-12-04 | 1 | -1/+1 |
| | | | | on BeOS or Windows. | ||||
* | Changes for BeOS, QNX and long long, by Chris Herborth. | Guido van Rossum | 1998-08-04 | 1 | -3/+3 |
| | |||||
* | Added <ctype.h>, needed for Windows. | Guido van Rossum | 1998-06-19 | 1 | -0/+1 |
| | |||||
* | Type casts, and added a strdup() declaration for the Mac. | Guido van Rossum | 1998-04-28 | 1 | -4/+7 |
| | | | | (Jack) | ||||
* | LC_MESSAGES is not defined on all systems; use #ifdef LC_MESSAGES. | Guido van Rossum | 1997-12-09 | 1 | -0/+2 |
| | |||||
* | Martin von Loewis' _locale module (locale.py follows tomorrow). | Guido van Rossum | 1997-11-18 | 1 | -0/+355 |