Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Reordered and reformatted, and added some cool new features: | Guido van Rossum | 1997-09-26 | 1 | -62/+183 |
| | | | | | | | | | | set_completer(function) parse_and_bind(string) read_init_file(filename) The first is the most exciting feature: with an appropriate Python completer function, it can do dynamic completion based on the contents of your namespace! | ||||
* | Fix by Sjoerd: don't want to resize to zero length. | Guido van Rossum | 1997-09-22 | 1 | -2/+7 |
| | |||||
* | Move the "import readline" to an earlier place so it is also done when | Guido van Rossum | 1997-09-16 | 1 | -8/+10 |
| | | | | | "-i" is given. (Yes, I know, giving in to Marc Lemburg who wanted this :-) | ||||
* | Add strerror() interface. | Guido van Rossum | 1997-09-15 | 1 | -2/+30 |
| | |||||
* | Export names for the types defined by this module: TkappType and TkttType. | Guido van Rossum | 1997-09-13 | 1 | -0/+3 |
| | |||||
* | Indent the #error so that a strict K&R cpp doesn't complain. | Guido van Rossum | 1997-09-08 | 1 | -1/+1 |
| | |||||
* | Change the names of the subdirectories tkinter and stdwin to | Guido van Rossum | 1997-09-08 | 1 | -2/+2 |
| | | | | | | lib-tk and lib-stdwin. (BTW this was also done in the previous checkin of (toplevel)/Makefile.in, though not noted in the checkin message.) | ||||
* | Reverse the order in which Setup and Setup.local are passed to the | Guido van Rossum | 1997-09-07 | 1 | -1/+1 |
| | | | | | | makesetup script. (Sorry Sjoerd -- I know you proposed this a while ago and I didn't think it would work then. I looked again and it does work.) | ||||
* | Contribution by Hannu Krosing (with some changes). | Guido van Rossum | 1997-09-05 | 1 | -0/+38 |
| | | | | | | | Added 'p' format character for Pascal string (i.e. leading length byte). This uses the count prefix line 's' does, except that the count includes the length byte; i.e. '10p' takes 10 bytes packed but has space for a length byte and 9 data bytes. | ||||
* | Don't use ANSI string literal concatenation (everything is K&R compatible). | Guido van Rossum | 1997-09-05 | 1 | -4/+4 |
| | |||||
* | Get rid of most silly #include and #ifdefs near the top; these are all | Guido van Rossum | 1997-09-05 | 1 | -55/+59 |
| | | | | | | obsolete now it includes Python.h. Make all functions K&R compatible (Sue Williams). | ||||
* | Several changes: | Jeremy Hylton | 1997-09-04 | 1 | -125/+188 |
| | | | | | | | | | | | | | | | | | 1. Fix bug in (de)compression objects. The final string resize used zst.total_out to determine the length of the string, but the (de)compression object will output data a little bit at a time, which means total_out is not the string size. Fix: save original value of total_out at the start of the call. 2. Be sure to Py_DECREF the result value if you exit with an exception. 3. Use PyInt_FromLong instead of Py_BuildValue 4. include more constants from the zlib header file 5. Use PyErr_Format instead of using a local buffer and sprintf. | ||||
* | Added first line to set Emacs makefile mode (pretty colors :-) | Barry Warsaw | 1997-09-04 | 1 | -0/+1 |
| | |||||
* | #Plug small memory leaks in constructors. | Guido van Rossum | 1997-09-03 | 3 | -6/+15 |
| | |||||
* | Plug small leaks: the [de]compress object itself was never freed. | Guido van Rossum | 1997-09-03 | 1 | -0/+2 |
| | |||||
* | Change [_Py_]re_compile_pattern() to return a char*. | Guido van Rossum | 1997-09-03 | 3 | -12/+12 |
| | | | | | Since it only returns an error message (or NULL) there's no reason for it to be unsigned char *, and various compilers like this better. | ||||
* | Mod suggested by Donn Cave -- invoke makexp_aix relative to $0 | Guido van Rossum | 1997-09-03 | 1 | -2/+4 |
| | | | | so it doesn't have to be on $PATH. | ||||
* | Disable the portable multimedia modules (audioop, imageop, rgbimg) by | Guido van Rossum | 1997-09-03 | 1 | -4/+5 |
| | | | | default since they don't work on 64-bit platforms. | ||||
* | Fix the bug Jeremy was experiencing: both the close() and the | Guido van Rossum | 1997-09-03 | 1 | -4/+19 |
| | | | | | | | | | | | dealloc() functions contained code to free/DECREF the buffer (there were differences between I and O objects but the logic bug was the same). Fixed this be setting the buffer pointer to NULL and testing for that. (This also makes it safe to call close() more than once.) XXX Worry: what if you try to read() or write() once the thing is closed? | ||||
* | Added -X option to suppress default import of site.py. Also split the | Guido van Rossum | 1997-08-29 | 1 | -5/+13 |
| | | | | | usage message in *three* parts under 510 bytes, for low-end ANSI compatibility. | ||||
* | Swap the sense of the -X option vis-a-vis Py_UseClassExceptionsFlag so | Barry Warsaw | 1997-08-29 | 1 | -2/+3 |
| | | | | | that class based exceptions are enabled by default. -X disables them in favor of the old-style string exceptions. | ||||
* | Parse new command line option -X which enables exception classes. | Barry Warsaw | 1997-08-29 | 1 | -1/+6 |
| | |||||
* | Added (binaryfunc) casts to function pointers in method lists. | Guido van Rossum | 1997-08-28 | 1 | -4/+4 |
| | |||||
* | Some long variables should have been int to match the 'i' format specifier. | Guido van Rossum | 1997-08-28 | 1 | -3/+3 |
| | |||||
* | Ignore whitespace between formats (not internal to a count+format). | Guido van Rossum | 1997-08-26 | 1 | -0/+7 |
| | |||||
* | Add unsupported variable EXE which can be set to .exe on systems where | Guido van Rossum | 1997-08-22 | 1 | -1/+4 |
| | | | | | | the executable must have that suffix. Note that there is no corresponding support in the top-level Makefile because I'm not sure that the install targets there make sense under these circumstances. | ||||
* | Added configuration tests for presence of alarm(), pause(), and getpwent() | Guido van Rossum | 1997-08-22 | 2 | -4/+8 |
| | |||||
* | Removed JF's dollar-Log-dollar RCS turd that caused compilation to | Barry Warsaw | 1997-08-21 | 1 | -52/+0 |
| | | | | | crash due to GvR's last check in message :-). Will try to convince JF to remove all this evilness. | ||||
* | Remove redundant decl for PyOS_InputHook. | Guido van Rossum | 1997-08-21 | 1 | -3/+0 |
| | |||||
* | Added /**/ around #end tags | Guido van Rossum | 1997-08-21 | 2 | -2/+5 |
| | |||||
* | Must remove conflicting files from archive | Guido van Rossum | 1997-08-21 | 1 | -4/+6 |
| | | | | | *before* adding signalmodule.o, because some ar programs are too smart for us... | ||||
* | Globally renamed join() to joinpath() to avoid compilation error on Cray. | Guido van Rossum | 1997-08-20 | 1 | -22/+22 |
| | |||||
* | Renamed strndup to pystrndup, to avoid conflicting prototype | Guido van Rossum | 1997-08-20 | 1 | -5/+9 |
| | | | | in GNU libc on some platforms. | ||||
* | When we have signalmodule.o, remove intrcheck.o as well as sigcheck.o. | Guido van Rossum | 1997-08-20 | 1 | -3/+4 |
| | |||||
* | Alas, the thread support for Tk didn't work. Withdraw it, until I | Guido van Rossum | 1997-08-19 | 1 | -0/+4 |
| | | | | figure out how to do this right. | ||||
* | Moved inclusion of PURIFY in LINKCC to configure | Guido van Rossum | 1997-08-18 | 1 | -1/+1 |
| | |||||
* | Casts by Jack to shut up the Mac compiler. | Guido van Rossum | 1997-08-18 | 4 | -32/+32 |
| | |||||
* | DeleteTimerHandler was accidentally #ifdef'ed out for macintosh with | Guido van Rossum | 1997-08-18 | 1 | -3/+0 |
| | | | | Tk 8.0; this was a mistake. | ||||
* | When making all, don't make sharedmods. That's now called separately | Guido van Rossum | 1997-08-18 | 1 | -1/+1 |
| | | | | from the toplevel Makefile. (For AIX, but doesn't hurt elsewhere.) | ||||
* | Use a trick to make the test for GMP v2 to work when GMP v1 defines | Guido van Rossum | 1997-08-17 | 1 | -1/+1 |
| | | | | | __GNU_MP__ as empty: #if __GNU_MP__ + 0 == 2 (Untested.) | ||||
* | Different strategy regarding whether to declare getrusage() and | Guido van Rossum | 1997-08-17 | 1 | -11/+9 |
| | | | | | | getpagesize() -- #ifdef doesn't work, Linux has conflicting decls in its headers. Choice: only declare the return type, not the argument prototype, and not on Linux. | ||||
* | Last minute changes for \B. AMK. | Guido van Rossum | 1997-08-15 | 1 | -2/+2 |
| | |||||
* | Keep gcc -Wall happy | Guido van Rossum | 1997-08-15 | 3 | -2/+2 |
| | |||||
* | Added std copyright notice. | Guido van Rossum | 1997-08-15 | 1 | -0/+31 |
| | |||||
* | Fixed refcount bug (thank you, Purify and AMK). | Guido van Rossum | 1997-08-14 | 1 | -0/+1 |
| | |||||
* | Several bug fixes. | Jeremy Hylton | 1997-08-14 | 1 | -52/+70 |
| | | | | | | | | -- initialize length to DEFAULTALLOC and not 0 -- resize string before returning (to remove '\000' padding) Also converted some compression routines to use PyString instead of buffer. | ||||
* | Added a bunch of XXX comments about things I'd like to see changed... | Guido van Rossum | 1997-08-14 | 1 | -1/+8 |
| | |||||
* | Merge Mac and Windows mods (which mostly affect the same problem -- no | Guido van Rossum | 1997-08-14 | 1 | -9/+32 |
| | | | | | usable createfilehandler). Define HAVE_CREATEFILEHANDLER to test later. Also other Mac specific patches by Jack. | ||||
* | Use _Py_re_match/search instead of re_match/search; these may become | Guido van Rossum | 1997-08-14 | 1 | -2/+3 |
| | | | | different in a future version. | ||||
* | Many changes. | Jeremy Hylton | 1997-08-13 | 1 | -98/+82 |
| | | | | | | | | | | | | | | | | | | | | | | Change default alloc size for uncompressing to 16K. Remove comment about core dumps when an invalid window sizes is used. This bug has been fixed in zlib 1.0.4. Two new optional arguments to decompress, wbits and bufsize. wbits specifies the window size and bufsize specifies the initial output string size. In decompression code -- decompress and decompressobj methods -- use a Python string (and _PyString_Resize) to collect the uncompressed stream. Replaces a separate buffer that was copied into a string. Fix bug in decompress that caused it to always realloc the buffer when it was finished decompressing. Modernized handling of optional arguments to compressobj. Updated doc strings. |