summaryrefslogtreecommitdiffstats
path: root/generic/tkConsole.c
Commit message (Collapse)AuthorAgeFilesLines
* * generic/tkConsole.c: Relax the runtime version requirements on Tcldgp2009-10-151-2/+2
| | | | | | | | | * generic/tkMain.c: so that Tk 8.5.8 can [load] into Tcl 8.6 (and * generic/tkWindow.c: later 8.*) interps. * library/tk.tcl * unix/Makefile.in: * win/Makefile.in: * win/makefile.vc:
* merge stable branch onto HEADdgp2007-12-131-1/+1
|
* * generic/tkConsole.c: Revised callers of Tcl_InitStubs() to accountdgp2007-09-171-2/+2
| | | | | | | | | | | | * generic/tkMain.c: for restored compatible support for the call * generic/tkWindow.c: Tcl_InitStubs(interp, TCL_VERSION, 1). Also revised Tcl_PkgRequire() call for Tcl so that, for example, a Tk library built against Tcl 8.5.1 headers will not refuse to [load] into a Tcl 8.5.0 interpreter. [Tcl Bug 1578344]. * generic/tk.h: Revised Tk_InitStubs() to restore Tk 8.4 * generic/tkStubLib.c: source compatibility with callers of * generic/tkWindow.c: Tk_InitStubs(interp, TK_VERSION, 1).
* * generic/tkConsole.c: Revised calls to Tcl_InitStubs() anddgp2007-09-111-2/+2
| | | | | | | | | * generic/tkMain.c: [package require Tcl] so that Tk Says What * generic/tkWindow.c: It Means using the new facilties of [package] * library/tk.tcl: in Tcl 8.5 about what version(s) of Tcl it * unix/Makefile.in: is willing to work with. [Bug 1578344]. * win/Makefile.in: * win/makefile.vc:
* * generic/tkConsole.c: Revise all Tcl_InitStubs() calls to restoredgp2007-09-101-2/+2
| | | | | | | * generic/tkMain.c: the traditional practice that a Tk shared * generic/tkWindow.c: library may [load] into a Tcl 8.5 interp at any patchlevel. This practice also matches the compile time checks of TCL_MAJOR_VERSION and TCL_MINOR_VERSION in tk.h. [Bug 1723622]
* * generic/tkConsole.c: TIP #268 update regarding registered packageandreas_kupries2006-09-221-2/+2
| | | | | | | | | | | | | | * generic/tkMain.c: version, now using full patchlevel instead of * generic/tkWindow.c: major.minor * library/tk.tcl: * unix/configure: * unix/Makefile.in: * unix/tcl.m4: * win/configure: * win/Makefile.in: * win/makefile.vc: * win/rules.vc: * win/tcl.m4:
* * generic/tkConsole.c: Added Tcl_RegisterChannel() calls to bumpdgp2006-06-011-2/+11
| | | | | the refcount of channels passed to Tcl_SetStdChannel(). This prevents early free-ing of the channels that leads to crashes. [Bug 912571].
* * generic/tkConsole.c: Added exit handler to clean up the interpdgp2006-03-211-8/+27
| | | | | | | where the console window lives. Also added code to handle multiple calls to Tk_CreateConsoleWindow so that the console channels connect to the last console window opened, in compatibility with the previous implementation.
* * generic/tkConsole.c: Added exit handler to clean up the interpdgp2006-03-201-5/+27
| | | | where the console window lives.
* corrected silly cut/paste/forget to modify error in the name of thedgp2006-03-161-2/+2
| | | | stderr console channel.
* Revisions to Tk_CreateConsoleWindow to tolerate case when no console channelsdgp2006-03-161-26/+27
| | | | have been created.
* * generic/tkConsole.c: Substantial rewrite of [console] support.dgp2006-03-161-299/+356
| | | | | | | * generic/tkInt.h: Included Obj-ification of the [console] and [consoleinterp] commands, and reworking of all the supporting data structures for cleaner sharing and lifetime management especially in multi-threaded configurations.
* More bits of ANSIfyingdkf2005-11-111-195/+197
|
* * generic/tkConsole.c (TkConsolePrint): prevent potential NULL deref.das2005-06-231-2/+2
|
* Use Tcl_Set/GetAssocData to remove use of fragile Tcl_GetCommandInfodkf2005-03-191-35/+34
| | | | from TkConsolePrint. [Bug 1016385]
* Fix for [Bug 756840]Joe Mistachkin2004-06-261-1/+16
|
* Removed support for Mac OS Classic platform [Patch 918139]das2004-03-171-5/+1
|
* Fixed memory leak (bug 802435)chengyemao2003-09-201-11/+11
|
* Applied companion patch for Tcl Patch 585105,dgp2002-08-051-5/+5
| | | | | | | | | | | | | | | | | | | | | updating Tk to use Tcl 8.4's fully CONST-ified interface, and fully CONSTifying Tk at the same time. This patch includes purging Tk of its last direct access to interp->result. [Bug 589853] The substantial changes include copying event sequence strings into Tcl_DStrings in tkBind.c, and copying [text] indices into Tcl_DStrings because parsing them involved overwriting them. If this causes performance trouble, that can be resolved by further converting them to Tcl_Obj's. The #defines USE_NON_CONST and USE_COMPAT_CONST have the same effect for Tk as they do for Tcl. (They actually change tcl.h)
* * generic/tkConsole.c (ConsoleCmd): correct return that shouldhobbs2002-04-121-2/+2
| | | | have just set result code.
* * Updated Tk's console to CONSTified channel driver interface.dgp2002-01-151-4/+1
| | | | [Tcl Patch 503565, Tk Patch 503983]
* * Updated Tk's console to CONSTified channel driver interface.dgp2002-01-151-4/+4
| | | | [Tcl Patch 503565, Tk Patch 503983]
* ** upport to 8.4 of mac code changes for 8.3.3 & various newdas2001-11-231-2/+5
| | | | | | ** changes for 8.4, some already backported to 8.3.4 (patch #435660) see ChangeLog for details
* * TIP 44 changes specific to the Mac anddgp2001-08-061-6/+6
| | | | | | Windows platforms that were overlooked before: tkOpenDocument, tkConsoleExit, tkConsoleOutput, unsupported1 out of namespace :: . Thanks to Vince Darley for prompting another look.
* Just added comments about a Win2K OS bug with GetStdHandle(STD_OUTPUT_HANDLE).davidg2000-07-181-1/+18
| | | | No change was made to the code.
* * generic/tkColor.c:hobbs1999-11-191-2/+2
| | | | | | | | * generic/tkColor.h: fixed Tk_NameOfColor to work correctly, with minor change to TkColor struct. * generic/tkConsole.c: added static declaration to ConsoleDeleteProc function (proto already had it)
* * generic/tkConsole.c: Allow tcl to open CON and NUL, even for stdredman1999-07-301-16/+104
| | | | | | channels. Checking for bad/unusable std channels was moved to Tk since its only purpose was to check whether to use the Tk Console Window for the std channels. [Bug: 2393 2392 2209 2458]
* Cast third argument of Tcl_DStringAppend to (int) value in case thewart1999-06-171-2/+2
| | | | strlen() function returned a different type.
* Updated aclocal.m4 to reflect recent changes in tcl.m4wart1999-06-171-3/+3
| | | | | Changed type of strncmp() parameter from int to size_t in tkConsole.c to remove compiler warnings about bad types.
* * generic/tkStubLib.c:stanton1999-05-251-1/+22
| | | | | | | | | | * generic/tkStubInit.c: * generic/tkIntXlibDecls.h: * generic/tkIntPlatDecls.h: * generic/tkIntDecls.h: * generic/tkInt.decls: * generic/tkConsole.c: Various changes to try to get the Mac builds working.
* Rename TkConsoleCreate_() to Tk_InitConsoleChannels() and make theredman1999-04-281-53/+73
| | | | | | function public. Add an interp argument and init the Tcl stubs. Rename TkConsoleInit() to Tk_CreateConsoleWindow() Remove TkConsoleCreate() (no underbar)
* * Merged 8.1 branch into the main trunkstanton1999-04-161-38/+77
|
* integrated stubs into 8.0 main branchstanton1999-03-101-2/+16
|
* * generic/tkConsole.c: Fixed so errors in console eval arestanton1999-02-041-4/+7
| | | | reported properly. Eliminated duplicate result messages. [Bug: 973]
* Replaced SCCS strings, fixed binary filesstanton1998-09-141-1/+1
|
* Initial revisionrjohnson1998-04-011-0/+616