Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Replace all calls to fprintf(stderr, ...) with calls to PySys_WriteStderr(...). | Guido van Rossum | 1998-05-12 | 1 | -7/+7 |
| | |||||
* | Trivial little change: timer tokens shouldn't have a Print() function, | Guido van Rossum | 1998-05-12 | 1 | -8/+7 |
| | | | | they should have a Repr() function. | ||||
* | 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. | ||||
* | 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 #ifdefs so Tcl_Finalize isn't referenced when it's not defined. | Guido van Rossum | 1998-04-20 | 1 | -0/+2 |
| | |||||
* | Make new gcc -Wall happy | Guido van Rossum | 1998-04-10 | 1 | -1/+1 |
| | |||||
* | Delete the 'exit' command from the Tcl interpreter -- it would allow | Guido van Rossum | 1998-02-19 | 1 | -0/+3 |
| | | | | | users to exit Python without the normal precautions. (The can do this using os._exit() anyway, but at least that's documented.) | ||||
* | Register Tcl_Finalize as a Python exit handler. | Guido van Rossum | 1998-02-06 | 1 | -1/+4 |
| | |||||
* | Darn. When thread support is disabled, the BEGIN/END macros don't | Guido van Rossum | 1997-10-10 | 1 | -4/+5 |
| | | | | | | save and restore the tstate, but explicitly calling PyEval_SaveThread() does reset it! While I think about how to fix this for real, here's a fix that avoids getting a fatal error. | ||||
* | Mac does support createfilehandler now (Jack) | Guido van Rossum | 1997-10-08 | 1 | -1/+1 |
| | |||||
* | Fix EventHook (the trick to make widgets appear when using GNU | Guido van Rossum | 1997-10-07 | 1 | -3/+19 |
| | | | | | readline) to create and use a new thread state object -- otherwise it would dump core! | ||||
* | Add an optional hack for threads in Tkinter. | Guido van Rossum | 1997-09-28 | 1 | -2/+2 |
| | | | | | | | | | | | | | | | | This one works! However it requires using a modified version of tclNotify.c (provided), which requires access to the Tcl source to compile it. In order to enable this hack, add the following to the Setup line for _tkinter: tclNotify.c -DHAVE_PYTCL_WAITUNTILEVENT -I$(TCL)/generic where TCL points to the source tree of Tcl 8.0. Other versions of Tcl are not supported. The tclNotify.c file is copyrighted by Sun Microsystems; the licensing terms are in the file license.terms. According to this file, no further permission to distribute this is required, provided the file license.terms is included. Hence, I am checking that in, too. | ||||
* | 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 |
| | |||||
* | Remove redundant decl for PyOS_InputHook. | Guido van Rossum | 1997-08-21 | 1 | -3/+0 |
| | |||||
* | 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. | ||||
* | 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. | ||||
* | 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. | ||||
* | Renamed Py_input_hook to PyOS_InputHook. | Guido van Rossum | 1997-08-11 | 1 | -3/+3 |
| | | | | Also cleaned out some CR's left by the VC++ editor. | ||||
* | Rather unsatisfactory temporary hack to get it to run | Guido van Rossum | 1997-08-07 | 1 | -0/+10 |
| | | | | under WIN32 -- remove file handler interface, don't use Py_input_hook. | ||||
* | New mechanism for GNU readline interface, via module | Guido van Rossum | 1997-08-05 | 1 | -9/+3 |
| | |||||
* | Functionality enhancement: allow other threads to use Tk commands | Guido van Rossum | 1997-08-02 | 1 | -243/+211 |
| | | | | | | | | | | | | | | | | | | while one thread is blocked in mainloop(). Also, handle signals (not just interrupts) as soon as they happen. Cleanup: remove support for Tcl/Tk versions 7.4/4.0. (I've confirmed that it works for 7.5/4.1 and 7.6/4.2, as well as 8.0b2.) Coding style change: instead of ``func (args)'', write ``func(args)'' everywhere. Minor functionality change: use PyArg_ParseTuple everywhere. This should only affect the errors reported for bad argument lists; in particular, deletefilehandler() is much clearer about what's going on. (XXX Still to do: Mac and Win ports to 8.0b2.) | ||||
* | Compatibility with Tcl/Tk 8.0b*. | Guido van Rossum | 1997-08-01 | 1 | -14/+28 |
| | |||||
* | Removed remaining support for Tk versions below 4.0. | Guido van Rossum | 1997-07-19 | 1 | -28/+7 |
| | |||||
* | Mac hack to make select() work again... | Guido van Rossum | 1997-06-02 | 1 | -0/+61 |
| | |||||
* | On popular demand, re-enable the readline event hook. | Guido van Rossum | 1997-05-07 | 1 | -1/+0 |
| | |||||
* | Adapt Mac specific code to new universal headers (I think -- this is | Guido van Rossum | 1997-04-29 | 1 | -3/+3 |
| | | | | Jack's code). | ||||
* | New form of PyFPE_END_PROTECT macro. | Guido van Rossum | 1997-03-14 | 1 | -1/+1 |
| | |||||
* | Changes for Lee Busby's SIGFPE patch set. | Guido van Rossum | 1997-02-14 | 1 | -1/+5 |
| | | | | | Two new modules fpectl and fpetest. Surround various and sundry f.p. operations with PyFPE_*_PROTECT macros. | ||||
* | reformatted | Barry Warsaw | 1997-01-16 | 1 | -835/+977 |
| | | | | | | memory leak in Tkapp_(Create|Delete)FileHandler plugged. standard eyeballing | ||||
* | Another fix for Split() -- don't refuse {"} but turn it into ". | Guido van Rossum | 1996-12-17 | 1 | -1/+7 |
| | | | | | | This is needed because if a configure option has " as its value, it will be rendered as {"}; after stripping one level of quoting it's just ", on which splitlist will barf. | ||||
* | Check errors returned by recursive call to Split(). | Guido van Rossum | 1996-12-17 | 1 | -5/+12 |
| | |||||
* | Keep gcc -Wall happy. | Guido van Rossum | 1996-12-05 | 1 | -1/+2 |
| | |||||
* | New permission notice, includes CNRI. | Guido van Rossum | 1996-10-25 | 1 | -13/+20 |
| | |||||
* | Rationalize MS #ifdefs | Guido van Rossum | 1996-09-11 | 1 | -2/+2 |
| | |||||
* | Call __initialize(), not __sinit() on Mac dynamic loading entry. | Guido van Rossum | 1996-08-26 | 1 | -1/+1 |
| | |||||
* | Hacks to support being a Windows DLL | Guido van Rossum | 1996-08-21 | 1 | -2/+5 |
| | |||||
* | Add #define MAC_TCL for Mac. | Guido van Rossum | 1996-08-20 | 1 | -0/+4 |
| | |||||
* | Changes for Windows NT -- this time it works, with Tcl4.1p1 (p1!!!) etc. | Guido van Rossum | 1996-08-13 | 1 | -16/+28 |
| | | | | | | - Use ckalloc(), ckfree() everywhere. - Default FREECAST to (char *). - Added comment with Tcl/Tk version info. | ||||
* | Add optional casts to free() calls. (Jack) | Guido van Rossum | 1996-08-08 | 1 | -5/+24 |
| | | | | Set Tk variable argv0 to classname passed in to Tkapp_New. (Fred) | ||||
* | getprogramname --> Py_GetProgramName | Guido van Rossum | 1996-07-31 | 1 | -3/+3 |
| | |||||
* | Added CWI copyright. | Guido van Rossum | 1996-06-26 | 1 | -18/+46 |
| | | | | | | | | Updated some comments. Fixed bug in Merge() called with NULL args. Get rid of TkDefaultAppName() -- it is not used anywhere. Pass error message on when Appinit fails. Create/Delete FileHandler assume fd is a socket on Windows. | ||||
* | Patch from the net for 4.1 file handler changes. | Guido van Rossum | 1996-05-16 | 1 | -1/+19 |
| | |||||
* | Add __sinit() call according to Jack. | Guido van Rossum | 1996-05-16 | 1 | -0/+1 |
| | |||||
* | Changes needed to build with Tcl/Tk beta 2! | Guido van Rossum | 1996-02-25 | 1 | -16/+38 |
| | |||||
* | Changes to make it work with Tcl/Tk beta 1. | Guido van Rossum | 1996-02-25 | 1 | -33/+48 |
| | |||||
* | get rid of bogus name for init_tkinter() | Guido van Rossum | 1996-02-13 | 1 | -3/+1 |
| | |||||
* | Initialize GUSI on the mac. | Jack Jansen | 1995-11-14 | 1 | -0/+21 |
| | |||||
* | Fix to load needed resources on a mac | Jack Jansen | 1995-10-31 | 1 | -0/+40 |
| |