summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* After variable expansion, what was formerly a single word can nowGuido van Rossum1998-05-061-7/+8
| | | | | | contain multiple words, all of which may have to be joined with the path of the extension directory. (Sjoerd)
* Remove Emacs cruft at end.Guido van Rossum1998-05-061-4/+0
|
* Added table of WSA error codes.Guido van Rossum1998-05-061-0/+19
|
* Version for 1.5.1Jack Jansen1998-05-061-1/+1
|
* Final projects for 1.5.1Jack Jansen1998-05-069-1052/+953
|
* Mods by JustJack Jansen1998-05-061-5/+5
|
* Fix typo in example found by Anthony Starks <anthony_starks@merck.com>,Fred Drake1998-05-062-2/+2
| | | | reported to me by Piers Lauder <piers@cs.su.oz.au>.
* Ugly band-aid to work around a bug in Linux ftell().Guido van Rossum1998-05-051-1/+3
|
* Avoid using cut; sed can do this just as well...Guido van Rossum1998-05-051-1/+1
|
* Avoid using dirname; sed can do this just as well...Guido van Rossum1998-05-051-1/+2
|
* 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)