summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* -- changed w_more to take an integer instead of a charFredrik Lundh2000-07-231-2/+2
| | | | (this is what the callers expect).
* Recent ANSIfication introduced a couple instances ofTim Peters2000-07-233-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 bytecodeThomas Wouters2000-07-231-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 thanThomas Wouters2000-07-232-4/+4
| | | | empty argumentlists.
* ANSIfication: remove very-old-varargs code, fix function declarations soThomas Wouters2000-07-224-38/+4
| | | | they include prototypes.
* Even more ANSIfication: fix as many function pointers and declarations asThomas Wouters2000-07-2210-17/+18
| | | | possible.
* ANSIfication: add proper prototypes to function-pointers and declarations.Thomas Wouters2000-07-221-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 toThomas Wouters2000-07-221-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 sureThomas Wouters2000-07-221-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 Wouters2000-07-225-7/+8
|
* Remember to return something if RETSIGTYPE is not 'void'. Do we still needThomas Wouters2000-07-221-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 forThomas Wouters2000-07-226-34/+3
| | | | 'HAVE_STDARG_PROTOTYPES' (consider it true, remove false branch)
* Miscelaneous ANSIfications. I'm assuming here 'main' should take (int,Thomas Wouters2000-07-2214-145/+109
| | | | | char**) and return an int even on PC platforms. If not, please fix PC/utils/makesrc.c ;-P
* Mass ANSIfication.Thomas Wouters2000-07-2216-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 Wouters2000-07-2245-1526/+704
| | | | declarations yet, those come later.
* Fix two instances of empty argument lists, and fix styleThomas Wouters2000-07-221-79/+78
| | | | ('PyObject** x' -> 'PyObject **x')
* Remove unused variable.Thomas Wouters2000-07-221-1/+0
|
* Remove unused helper-function 'posix_strint'.Thomas Wouters2000-07-221-18/+0
|
* Mark Favas's fix for typos in docstrings.Thomas Wouters2000-07-221-4/+4
|
* Added a few docstringsPaul Prescod2000-07-211-0/+7
|
* Added docstringsPaul Prescod2000-07-211-5/+71
|
* Bunch of minor ANSIfications: 'void initfunc()' -> 'void initfunc(void)',Thomas Wouters2000-07-2159-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 Wouters2000-07-211-2/+2
|
* added doc for isatty()Skip Montanaro2000-07-191-0/+6
|
* restructured a bit and added some more content...Skip Montanaro2000-07-191-53/+142
|
* make TestFailed a class exceptionSkip Montanaro2000-07-191-1/+2
|
* added rewritten normpath from Moshe Zadka that does the right thing withSkip Montanaro2000-07-191-23/+18
| | | | paths containing ..
* added documentation for new functions {get,set}_history_lengthSkip Montanaro2000-07-191-0/+11
|
* added history file truncation based upon code from Johannes Zellner.Skip Montanaro2000-07-191-0/+42
|
* Enable extra testing now that os.isatty() is in. (Also tests os.isatty ;P)Thomas Wouters2000-07-192-10/+8
|
* ANSIfy the just-checked-in isatty() wrapper.Thomas Wouters2000-07-191-3/+1
|
* new method isatty from Thomas WoutersSkip Montanaro2000-07-191-0/+16
|
* 'carb' resource for carbon application.Jack Jansen2000-07-181-0/+15
|
* Some thanks weren't checked in yet.Jack Jansen2000-07-181-2/+2
|
* MacPython on MacOSX DP4 gets started in the wrong directory. The workaround ↵Jack Jansen2000-07-182-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 Jansen2000-07-181-0/+3
|
* no changes other than indentation level (now 4) and comment reflow.Greg Stein2000-07-183-1218/+1227
| | | | use "cvs diff -b" to verify.
* Fixed problems with UTF error reporting macros and some formatting bugs.Marc-André Lemburg2000-07-171-45/+64
|
* Restore PyXXX_Length() APIs for binary compatibility.Marc-André Lemburg2000-07-172-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 constructsGreg Stein2000-07-171-6/+14
| | | | clean out some other warnings
* * split on / or \Skip Montanaro2000-07-171-3/+5
| | | | * case insensitive comparison
* damn! cut-n-paste from ntpath forgot the "import re"Skip Montanaro2000-07-171-0/+1
|
* * split on / or \Skip Montanaro2000-07-171-6/+3
| | | | * case insensitive
* At GVR's request.Paul Prescod2000-07-161-344/+0
|
* stop messing around with goto and just write the macro correctly.Greg Stein2000-07-161-7/+6
|
* Online help facility for the Python interprter and other interactivePaul Prescod2000-07-161-0/+344
| | | | environments.
* More of Rob W. W. Hooft's spelling fixes. The only ones left now are theThomas Wouters2000-07-165-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 hopeThomas Wouters2000-07-1661-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 literalsFredrik Lundh2000-07-161-3/+5
| | | | (patch #100912)
* Fix fatal compiler (MSVC6) error:Tim Peters2000-07-161-0/+1
| | | | | unicodeobject.c(735) : error C2143: syntax error : missing ';' before '}'