summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Patches to make the proxy code work again. (Why does that always breakGuido van Rossum1998-05-051-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() -- someGuido van Rossum1998-05-051-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 madeGuido van Rossum1998-05-022-56/+0
| | | | to work reliably (at least I wouldn't know how).
* Change the names of all methods in the Wm class: they are nowGuido van Rossum1998-05-011-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 Rossum1998-05-011-1/+1
|
* Another optimization, probably of negligeable effect: instead ofGuido van Rossum1998-04-301-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 Rossum1998-04-301-0/+4
|
* In _bind(), found a way to test for break without a temp variable.Guido van Rossum1998-04-291-5/+5
|
* Save a tiny bit of time: self.tk.call takes a tuple argument so it'sGuido van Rossum1998-04-291-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 latterGuido van Rossum1998-04-291-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 Drake1998-04-291-1/+3
|
* When following symlinks to the real executable, use a loop so aGuido van Rossum1998-04-291-1/+2
| | | | | symlink to a symlink can work. (Jack)
* Work around lack of support for \if... in latex2html.Fred Drake1998-04-292-0/+16
|
* Set $TEXINPUTS='' to make l2h pick up the right thing from the environment.Fred Drake1998-04-291-0/+2
|
* Still somewhat experimental speedup. This appears to speed up theGuido van Rossum1998-04-291-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 returnsGuido van Rossum1998-04-291-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 ReifschneiderFred Drake1998-04-292-60/+64
| | | | | | <jafo-9804@tummy.com>. Logical markup.
* Replace all calls to acquire_lock() and release_lock() with acquire()Guido van Rossum1998-04-291-25/+25
| | | | and release() instead.
* Made lint a bit happier.Fred Drake1998-04-291-54/+80
| | | | Fixed a memory leak in an error handler.
* Move a bit closer to HTML generation without depending on the temp filesFred Drake1998-04-281-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 Drake1998-04-281-5/+0
|
* Remove extra cruft for texi processing.Fred Drake1998-04-282-10/+0
|
* Do better hiding of internal names.Fred Drake1998-04-282-25/+25
|
* do_cmd_key(): Obsolete; removed.Fred Drake1998-04-281-1/+0
|
* Fixed \code so word wrapping is allowed.Fred Drake1998-04-281-142/+141
| | | | | | Removed some old stuff. Do better hiding of internal names.
* Section for bisect module.Fred Drake1998-04-282-0/+110
|
* Moved popen2 entry to make more sense.Fred Drake1998-04-282-2/+4
| | | | Added bisect entry.
* Updated.Fred Drake1998-04-282-26/+0
|
* Get rid of the unused ifdefed-out old sort code.Guido van Rossum1998-04-281-76/+0
|
* On the Mac a call to TkMacInitMenus is needed. Also, we passGuido van Rossum1998-04-281-2/+31
| | | | | appropriate events to Sioux so the console window remains functional. (Jack)
* Add a declaration for strdup() for the Mac.Guido van Rossum1998-04-281-0/+3
| | | | (Jack)
* Generate the clear() method manually (calling __GLclear(), anotherGuido van Rossum1998-04-281-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 Rossum1998-04-281-4/+7
| | | | (Jack)
* If USE_STACKCHECK is defined use PyOS_CheckStack() in the repr and strGuido van Rossum1998-04-281-0/+12
| | | | | | routines. This catches a slightly different set of crashes than the recursive-repr fix. (Jack)
* Enable ftruncate() on the Mac.Guido van Rossum1998-04-281-0/+6
| | | | (Jack)
* accept * in return value type and convert it to _ptr after theGuido van Rossum1998-04-281-1/+2
| | | | | typename, as in argument types. (Jack)
* Style and StyleParameter are two different types.Guido van Rossum1998-04-281-1/+1
| | | | (Jack)
* class ByAddressType, a simple Type but passed by address even onGuido van Rossum1998-04-281-0/+7
| | | | | input. (Jack)
* On the Mac, create the Temporary Items folder if it does not exist yet.Guido van Rossum1998-04-281-1/+1
| | | | (Jack)
* Put quotes around the filename, so spaces in filenames work.Guido van Rossum1998-04-282-2/+2
| | | | (Jack)
* Mac CodeWarrior has faulty declaration for hypot, which we hide with aGuido van Rossum1998-04-281-5/+13
| | | | | #define. (Jack)
* typo in error message (fname vs. file).Guido van Rossum1998-04-283-3/+3
| | | | (Jack)
* Support byte-swapped dbhash (bsddb) files. Found by Ben Sayer.Guido van Rossum1998-04-281-1/+1
|
* Document changed semantics -- open() now guesses the db type and errorGuido van Rossum1998-04-282-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 commentGuido van Rossum1998-04-281-5/+4
| | | | that wonders what the difference is and explain them properly.
* Inspired by Ben Sayer, rewritten the code and some of the comments toGuido van Rossum1998-04-281-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 Drake1998-04-282-0/+4
|
* calendar module section for the library reference, by Drew Csillag.Fred Drake1998-04-282-0/+90
|
* popen2 section for the library reference, contributed by Drew Csillag, withFred Drake1998-04-282-0/+142
| | | | some reorganization.
* Use of \key and \kbd were isolated to one instance each in this file;Fred Drake1998-04-282-10/+10
| | | | normalize to \kbd to allow removal of \key from the document class.