Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Patches to make the proxy code work again. (Why does that always break | Guido van Rossum | 1998-05-05 | 1 | -2/+3 |
| | | | | | | as soon as I change things even just a little bit? :-) Even works when accessing a password-protected page through the proxy. Prompted by complaints from, and correct operation verified by, Nigel O'Brian. | ||||
* | Take out the check for AUTH-LOGIN or AUTH=LOGIN in login() -- some | Guido van Rossum | 1998-05-05 | 1 | -3/+0 |
| | | | | | servers support LOGIN but don't advertise it. If it's not supported the protocol will respond NO. Approved by Piers Lauder. | ||||
* | REMOVE samefile(), sameopenfile(), samestat() -- these cannot be made | Guido van Rossum | 1998-05-02 | 2 | -56/+0 |
| | | | | to work reliably (at least I wouldn't know how). | ||||
* | Change the names of all methods in the Wm class: they are now | Guido van Rossum | 1998-05-01 | 1 | -27/+56 |
| | | | | | | | | | | | | | | | | | | wm_title(), etc. The old names (title() etc.) are still defined as aliases. This brings all methods up to use the same naming convention: whether the Tcl syntax is .window.path.name command subcommand [options] or command subcommand .window.path.name [optins] the Python equivalent is always windowobject.command_subcommand(options) | ||||
* | Use (void) to throw away a function result, not (void *) ! | Guido van Rossum | 1998-05-01 | 1 | -1/+1 |
| | |||||
* | Another optimization, probably of negligeable effect: instead of | Guido van Rossum | 1998-04-30 | 1 | -82/+78 |
| | | | | | | | | | | | | | | calling self.tk.getint() and self.tk.getdouble(), call the globals getint() and getdouble(), which in turn are just names for the Python builtins int() and double(). (Making them globals actually save a dict lookup compared to using the built-in.) The corresponding methods of class Misc have been changed similarly. (Note that getboolean() hasn't been changed because there's no Python equivalent.) The use of int() and float() has another advantage: if/when Tcl calls can actually return Tcl objects with other types than string, use of int() and float() is essential. | ||||
* | Add some help for AIX. (Konrad Hinsen) | Guido van Rossum | 1998-04-30 | 1 | -0/+4 |
| | |||||
* | In _bind(), found a way to test for break without a temp variable. | Guido van Rossum | 1998-04-29 | 1 | -5/+5 |
| | |||||
* | Save a tiny bit of time: self.tk.call takes a tuple argument so it's | Guido van Rossum | 1998-04-29 | 1 | -70/+62 |
| | | | | | | | not needed to say apply(self.tk.call, t); self.tk.call(t) has the same effect. This cuts down tremendously on the number of apply() calls made. No measurable effect, but at the very least it saves the lookup of apply() in the globals! | ||||
* | Import MacOS at the top instead of insize Tk.__init__() -- the latter | Guido van Rossum | 1998-04-29 | 1 | -10/+7 |
| | | | | repeats the I/O for the failed import on each interpreter creation. | ||||
* | cleanup(): Remove *all* the temp files related to index generation! | Fred Drake | 1998-04-29 | 1 | -1/+3 |
| | |||||
* | When following symlinks to the real executable, use a loop so a | Guido van Rossum | 1998-04-29 | 1 | -1/+2 |
| | | | | | symlink to a symlink can work. (Jack) | ||||
* | Work around lack of support for \if... in latex2html. | Fred Drake | 1998-04-29 | 2 | -0/+16 |
| | |||||
* | Set $TEXINPUTS='' to make l2h pick up the right thing from the environment. | Fred Drake | 1998-04-29 | 1 | -0/+2 |
| | |||||
* | Still somewhat experimental speedup. This appears to speed up the | Guido van Rossum | 1998-04-29 | 1 | -9/+110 |
| | | | | | | | | | | | | | | most common interface to Tcl, the call() method, by maybe 20-25%. The speedup code avoids the construction of a Tcl command string from the argument list -- the Tcl argument list is immediately parsed back by Tcl_Eval() into a list that is *guaranteed* (by Tcl_Merge()) to be exactly the same list, so instead we look up the command info and call the command function directly. If the lookup fails, we fall back to the old method (Tcl_Merge() + Tcl_Eval()) so we don't need to worry about special cases like undefined commands or the occasional command ("after") that sets the info.proc pointer to NULL -- let TclEval() deal with these. | ||||
* | Add a new method of interpreter objects, interpaddr(). This returns | Guido van Rossum | 1998-04-29 | 1 | -0/+13 |
| | | | | | | | | the address of the Tcl interpreter object, as an integer. Not very useful for the Python programmer, but this can be called by another C extension that needs to make calls into the Tcl/Tk C API and needs to get the address of the Tcl interpreter object. A simple cast of the return value to (Tcl_Interp *) will do the trick now. | ||||
* | Fix documentation based on comments from Sean Reifschneider | Fred Drake | 1998-04-29 | 2 | -60/+64 |
| | | | | | | <jafo-9804@tummy.com>. Logical markup. | ||||
* | Replace all calls to acquire_lock() and release_lock() with acquire() | Guido van Rossum | 1998-04-29 | 1 | -25/+25 |
| | | | | and release() instead. | ||||
* | Made lint a bit happier. | Fred Drake | 1998-04-29 | 1 | -54/+80 |
| | | | | Fixed a memory leak in an error handler. | ||||
* | Move a bit closer to HTML generation without depending on the temp files | Fred Drake | 1998-04-28 | 1 | -19/+23 |
| | | | | | | | | | | being in the current directory. Be more careful cleaning up. Correct an error in a comment. Add recent additions to the dependencies for lib.dvi. | ||||
* | do_cmd_sectcode(): Obsolete; removed. | Fred Drake | 1998-04-28 | 1 | -5/+0 |
| | |||||
* | Remove extra cruft for texi processing. | Fred Drake | 1998-04-28 | 2 | -10/+0 |
| | |||||
* | Do better hiding of internal names. | Fred Drake | 1998-04-28 | 2 | -25/+25 |
| | |||||
* | do_cmd_key(): Obsolete; removed. | Fred Drake | 1998-04-28 | 1 | -1/+0 |
| | |||||
* | Fixed \code so word wrapping is allowed. | Fred Drake | 1998-04-28 | 1 | -142/+141 |
| | | | | | | Removed some old stuff. Do better hiding of internal names. | ||||
* | Section for bisect module. | Fred Drake | 1998-04-28 | 2 | -0/+110 |
| | |||||
* | Moved popen2 entry to make more sense. | Fred Drake | 1998-04-28 | 2 | -2/+4 |
| | | | | Added bisect entry. | ||||
* | Updated. | Fred Drake | 1998-04-28 | 2 | -26/+0 |
| | |||||
* | Get rid of the unused ifdefed-out old sort code. | Guido van Rossum | 1998-04-28 | 1 | -76/+0 |
| | |||||
* | On the Mac a call to TkMacInitMenus is needed. Also, we pass | Guido van Rossum | 1998-04-28 | 1 | -2/+31 |
| | | | | | appropriate events to Sioux so the console window remains functional. (Jack) | ||||
* | Add a declaration for strdup() for the Mac. | Guido van Rossum | 1998-04-28 | 1 | -0/+3 |
| | | | | (Jack) | ||||
* | Generate the clear() method manually (calling __GLclear(), another | Guido van Rossum | 1998-04-28 | 1 | -1/+12 |
| | | | | | name for clear()). This fixes the name clash with curses. (Jack) | ||||
* | Type casts, and added a strdup() declaration for the Mac. | Guido van Rossum | 1998-04-28 | 1 | -4/+7 |
| | | | | (Jack) | ||||
* | If USE_STACKCHECK is defined use PyOS_CheckStack() in the repr and str | Guido van Rossum | 1998-04-28 | 1 | -0/+12 |
| | | | | | | routines. This catches a slightly different set of crashes than the recursive-repr fix. (Jack) | ||||
* | Enable ftruncate() on the Mac. | Guido van Rossum | 1998-04-28 | 1 | -0/+6 |
| | | | | (Jack) | ||||
* | accept * in return value type and convert it to _ptr after the | Guido van Rossum | 1998-04-28 | 1 | -1/+2 |
| | | | | | typename, as in argument types. (Jack) | ||||
* | Style and StyleParameter are two different types. | Guido van Rossum | 1998-04-28 | 1 | -1/+1 |
| | | | | (Jack) | ||||
* | class ByAddressType, a simple Type but passed by address even on | Guido van Rossum | 1998-04-28 | 1 | -0/+7 |
| | | | | | input. (Jack) | ||||
* | On the Mac, create the Temporary Items folder if it does not exist yet. | Guido van Rossum | 1998-04-28 | 1 | -1/+1 |
| | | | | (Jack) | ||||
* | Put quotes around the filename, so spaces in filenames work. | Guido van Rossum | 1998-04-28 | 2 | -2/+2 |
| | | | | (Jack) | ||||
* | Mac CodeWarrior has faulty declaration for hypot, which we hide with a | Guido van Rossum | 1998-04-28 | 1 | -5/+13 |
| | | | | | #define. (Jack) | ||||
* | typo in error message (fname vs. file). | Guido van Rossum | 1998-04-28 | 3 | -3/+3 |
| | | | | (Jack) | ||||
* | Support byte-swapped dbhash (bsddb) files. Found by Ben Sayer. | Guido van Rossum | 1998-04-28 | 1 | -1/+1 |
| | |||||
* | Document changed semantics -- open() now guesses the db type and error | Guido van Rossum | 1998-04-28 | 2 | -4/+20 |
| | | | | is now a tuple of various and sundry exceptions. | ||||
* | Oops, I had 'n' and 'c' mixed up in my mind. Get rid of the comment | Guido van Rossum | 1998-04-28 | 1 | -5/+4 |
| | | | | that wonders what the difference is and explain them properly. | ||||
* | Inspired by Ben Sayer, rewritten the code and some of the comments to | Guido van Rossum | 1998-04-28 | 1 | -14/+47 |
| | | | | | | be more intelligent when the database already exists (use the module for the existing file, according to whichdb). Noted in the doc strings that there doesn't seem to be a different between 'c' and 'n'. | ||||
* | Hook in the calendar and popen2 sections. | Fred Drake | 1998-04-28 | 2 | -0/+4 |
| | |||||
* | calendar module section for the library reference, by Drew Csillag. | Fred Drake | 1998-04-28 | 2 | -0/+90 |
| | |||||
* | popen2 section for the library reference, contributed by Drew Csillag, with | Fred Drake | 1998-04-28 | 2 | -0/+142 |
| | | | | some reorganization. | ||||
* | Use of \key and \kbd were isolated to one instance each in this file; | Fred Drake | 1998-04-28 | 2 | -10/+10 |
| | | | | normalize to \kbd to allow removal of \key from the document class. |