Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | -- changed w_more to take an integer instead of a char | Fredrik Lundh | 2000-07-23 | 1 | -2/+2 |
| | | | | (this is what the callers expect). | ||||
* | Recent ANSIfication introduced a couple instances of | Tim Peters | 2000-07-23 | 3 | -7/+27 |
| | | | | | | | | | | | #if RETSIGTYPE != void That isn't C, and MSVC properly refuses to compile it. Introduced new Py_RETURN_FROM_SIGNAL_HANDLER macro in pyport.h to expand to the correct thing based on RETSIGTYPE. However, only void is ANSI! Do we still have platforms that return int? The Unix config mess appears to #define RETSIGTYPE by magic without being asked to, so I assume it's "a problem" across Unices still. | ||||
* | Oops. One of last nights ANSIfication patches accidentily upped the bytecode | Thomas Wouters | 2000-07-23 | 1 | -1/+1 |
| | | | | | | MAGIC number. When updating it next time, be sure it's higher than 50715 * constants. (Shouldn't be a problem if everyone keeps to the proper algorithm.) | ||||
* | Fix prototypes generated by makesetup, so they include '(void)' rather than | Thomas Wouters | 2000-07-23 | 2 | -4/+4 |
| | | | | empty argumentlists. | ||||
* | ANSIfication: remove very-old-varargs code, fix function declarations so | Thomas Wouters | 2000-07-22 | 4 | -38/+4 |
| | | | | they include prototypes. | ||||
* | Even more ANSIfication: fix as many function pointers and declarations as | Thomas Wouters | 2000-07-22 | 10 | -17/+18 |
| | | | | possible. | ||||
* | ANSIfication: add proper prototypes to function-pointers and declarations. | Thomas Wouters | 2000-07-22 | 1 | -24/+13 |
| | | | | | Also, fix a bug found by said declarations, where a string was defined as unsigned char*, but used as signed. | ||||
* | ANSIfication of function-pointers and declarations. Also, make sure to | Thomas Wouters | 2000-07-22 | 1 | -2/+5 |
| | | | | | return something if RETSIGTYPE is not void, in functions that are defined as returning RETSIGTYPE. | ||||
* | Further ANSIfication of functionpointers and declarations. Also, make sure | Thomas Wouters | 2000-07-22 | 1 | -7/+16 |
| | | | | | | to return something if RETSIGTYPE isn't void, in functions that are defined to return RETSIGTYPE. Work around an argumentlist mismatch ('void' vs. 'void *') by using a static wrapper function. | ||||
* | ANSIfy as many declarations as possible. | Thomas Wouters | 2000-07-22 | 5 | -7/+8 |
| | |||||
* | Remember to return something if RETSIGTYPE is not 'void'. Do we still need | Thomas Wouters | 2000-07-22 | 1 | -0/+3 |
| | | | | | to worry about systems that have signal-handlers return 'int' ? Not all of the code does, though nothing will break because of it. | ||||
* | ANSIfications: fix empty arglists, and remove the checks for | Thomas Wouters | 2000-07-22 | 6 | -34/+3 |
| | | | | 'HAVE_STDARG_PROTOTYPES' (consider it true, remove false branch) | ||||
* | Miscelaneous ANSIfications. I'm assuming here 'main' should take (int, | Thomas Wouters | 2000-07-22 | 14 | -145/+109 |
| | | | | | char**) and return an int even on PC platforms. If not, please fix PC/utils/makesrc.c ;-P | ||||
* | Mass ANSIfication. | Thomas Wouters | 2000-07-22 | 16 | -330/+123 |
| | | | | | | Work around intrcheck.c's desire to pass 'PyErr_CheckSignals' to 'Py_AddPendingCall' by providing a (static) wrapper function that has the right number of arguments. | ||||
* | Mass ANSIfication of function definitions. Doesn't cover all 'extern' | Thomas Wouters | 2000-07-22 | 45 | -1526/+704 |
| | | | | declarations yet, those come later. | ||||
* | Fix two instances of empty argument lists, and fix style | Thomas Wouters | 2000-07-22 | 1 | -79/+78 |
| | | | | ('PyObject** x' -> 'PyObject **x') | ||||
* | Remove unused variable. | Thomas Wouters | 2000-07-22 | 1 | -1/+0 |
| | |||||
* | Remove unused helper-function 'posix_strint'. | Thomas Wouters | 2000-07-22 | 1 | -18/+0 |
| | |||||
* | Mark Favas's fix for typos in docstrings. | Thomas Wouters | 2000-07-22 | 1 | -4/+4 |
| | |||||
* | Added a few docstrings | Paul Prescod | 2000-07-21 | 1 | -0/+7 |
| | |||||
* | Added docstrings | Paul Prescod | 2000-07-21 | 1 | -5/+71 |
| | |||||
* | Bunch of minor ANSIfications: 'void initfunc()' -> 'void initfunc(void)', | Thomas Wouters | 2000-07-21 | 59 | -117/+103 |
| | | | | | | | | | | | | | | | | | | 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 ;) | ||||
* | Small fixes by Petru Paler (patch #100946) checked in with esr's approval. | Thomas Wouters | 2000-07-21 | 1 | -2/+2 |
| | |||||
* | added doc for isatty() | Skip Montanaro | 2000-07-19 | 1 | -0/+6 |
| | |||||
* | restructured a bit and added some more content... | Skip Montanaro | 2000-07-19 | 1 | -53/+142 |
| | |||||
* | make TestFailed a class exception | Skip Montanaro | 2000-07-19 | 1 | -1/+2 |
| | |||||
* | added rewritten normpath from Moshe Zadka that does the right thing with | Skip Montanaro | 2000-07-19 | 1 | -23/+18 |
| | | | | paths containing .. | ||||
* | added documentation for new functions {get,set}_history_length | Skip Montanaro | 2000-07-19 | 1 | -0/+11 |
| | |||||
* | added history file truncation based upon code from Johannes Zellner. | Skip Montanaro | 2000-07-19 | 1 | -0/+42 |
| | |||||
* | Enable extra testing now that os.isatty() is in. (Also tests os.isatty ;P) | Thomas Wouters | 2000-07-19 | 2 | -10/+8 |
| | |||||
* | ANSIfy the just-checked-in isatty() wrapper. | Thomas Wouters | 2000-07-19 | 1 | -3/+1 |
| | |||||
* | new method isatty from Thomas Wouters | Skip Montanaro | 2000-07-19 | 1 | -0/+16 |
| | |||||
* | 'carb' resource for carbon application. | Jack Jansen | 2000-07-18 | 1 | -0/+15 |
| | |||||
* | Some thanks weren't checked in yet. | Jack Jansen | 2000-07-18 | 1 | -2/+2 |
| | |||||
* | MacPython on MacOSX DP4 gets started in the wrong directory. The workaround ↵ | Jack Jansen | 2000-07-18 | 2 | -1/+17 |
| | | | | (ifdeffed by USE_ARGV0_CHDIR) is to do a chdir() to the folder part of our executable name. | ||||
* | Define USE_GUSI if USE_GUSI1 or USE_GUSI2 is defined. | Jack Jansen | 2000-07-18 | 1 | -0/+3 |
| | |||||
* | no changes other than indentation level (now 4) and comment reflow. | Greg Stein | 2000-07-18 | 3 | -1218/+1227 |
| | | | | use "cvs diff -b" to verify. | ||||
* | Fixed problems with UTF error reporting macros and some formatting bugs. | Marc-André Lemburg | 2000-07-17 | 1 | -45/+64 |
| | |||||
* | Restore PyXXX_Length() APIs for binary compatibility. | Marc-André Lemburg | 2000-07-17 | 2 | -6/+42 |
| | | | | | | New code will see the macros and therefore use the PyXXX_Size() APIs instead. By Thomas Wouters. | ||||
* | gcc is being stupid with if/else constructs | Greg Stein | 2000-07-17 | 1 | -6/+14 |
| | | | | clean out some other warnings | ||||
* | * split on / or \ | Skip Montanaro | 2000-07-17 | 1 | -3/+5 |
| | | | | * case insensitive comparison | ||||
* | damn! cut-n-paste from ntpath forgot the "import re" | Skip Montanaro | 2000-07-17 | 1 | -0/+1 |
| | |||||
* | * split on / or \ | Skip Montanaro | 2000-07-17 | 1 | -6/+3 |
| | | | | * case insensitive | ||||
* | At GVR's request. | Paul Prescod | 2000-07-16 | 1 | -344/+0 |
| | |||||
* | stop messing around with goto and just write the macro correctly. | Greg Stein | 2000-07-16 | 1 | -7/+6 |
| | |||||
* | Online help facility for the Python interprter and other interactive | Paul Prescod | 2000-07-16 | 1 | -0/+344 |
| | | | | environments. | ||||
* | More of Rob W. W. Hooft's spelling fixes. The only ones left now are the | Thomas Wouters | 2000-07-16 | 5 | -12/+12 |
| | | | | | | | | | | | distutils patches, which I'll leave to the distutils maintainers. Tip: review the patch like this: grep "^[\!+-] " <patchfile> To get a quick and easy way to review the actual changes. Most of the changes are single-line ones, anyway. | ||||
* | Rob W. W. Hooft's spelling fixes for the Library Reference. I hope | Thomas Wouters | 2000-07-16 | 61 | -92/+92 |
| | | | | | | | | | SourceForge doesn't choke on this batch :-) I'm not entirely sure this is 100% correct. The patch changes an \index{persistency} to \index{presistence}, and I don't know what \index{} does. But it seems to do so persi--er, consistently, so I hope it isn't a problem. | ||||
* | - change \x to mean "byte" also in unicode literals | Fredrik Lundh | 2000-07-16 | 1 | -3/+5 |
| | | | | (patch #100912) | ||||
* | Fix fatal compiler (MSVC6) error: | Tim Peters | 2000-07-16 | 1 | -0/+1 |
| | | | | | unicodeobject.c(735) : error C2143: syntax error : missing ';' before '}' |