Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Use wcscoll for _locale.strcoll if available. | Martin v. Löwis | 2002-12-21 | 1 | -5/+79 |
| | |||||
* | We need macglue on MacPython-OS9 too. | Jack Jansen | 2002-12-13 | 1 | -1/+1 |
| | |||||
* | Patch #632973: Implement _getdefaultlocale for OS X. | Martin v. Löwis | 2002-11-26 | 1 | -3/+3 |
| | |||||
* | Excise DL_EXPORT/DL_IMPORT from Modules/*. Required adding a prototype | Mark Hammond | 2002-08-02 | 1 | -1/+1 |
| | | | | | | for Py_Main(). Thanks to Kalle Svensson and Skip Montanaro for the patches. | ||||
* | WINDOWS_LEAN_AND_MEAN: There is no such symbol, although a very few | Tim Peters | 2002-07-14 | 1 | -1/+1 |
| | | | | | | | MSDN sample programs use it, apparently in error. The correct name is WIN32_LEAN_AND_MEAN. After switching to the correct name, in two cases more was needed because the code actually relied on things that disappear when WIN32_LEAN_AND_MEAN is defined. | ||||
* | Patch #569753: Remove support for WIN16. | Martin v. Löwis | 2002-06-30 | 1 | -3/+3 |
| | | | | Rename all occurrences of MS_WIN32 to MS_WINDOWS. | ||||
* | Patch #568124: Add doc string macros. | Martin v. Löwis | 2002-06-13 | 1 | -26/+21 |
| | |||||
* | 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 |