summaryrefslogtreecommitdiffstats
path: root/generic
Commit message (Collapse)AuthorAgeFilesLines
* Updated APIs in the files */tcl*Load*.c according to the guidelinesKevin B Kenny2002-01-097-18/+16
| | | | of TIP 27.
* * generic/tclTest.c (MainLoop):dgp2002-01-091-1/+2
| | | | | * tests/main.test (Tcl_Main-1.{3,4,5,6}): Corrected some non-portable tests from the new Tcl_Main changes. Thanks to Kevin Kenny.
* TclCreatePipeline is in tclIntDecls.h; no need for it in tclInt.h.dgp2002-01-081-8/+1
|
* * typos and formattingdgp2002-01-081-4/+3
|
* * generic/tclEvent.c (TclInExit):dgp2002-01-073-14/+15
| | | | | | | * generic/tclIOUtil.c (SetFsPathFromAbsoluteNormalized, SetFsPathFromAny,Tcl_FSNewNativePath,DupFsPathInternalRep): * generic/tclListObj.c (TclLsetList,TclLsetFlat): Added some type casts to satisfy picky compilers.
* * generic/tclMain.c: Bug fix: neglected the NULL case indgp2002-01-071-2/+7
| | | | TclGetStartupScriptFileName(). Broke Tk/wish.
* * doc/Tcl_Main.3:dgp2002-01-055-185/+462
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * generic/tclMain.c: Substantial rewrite and expanded documentation of Tcl_Main to correct a number of bugs and flaws: * Interactive Tcl_Main can now enter a main loop, exit that loop and continue interactive operations. The loop may even exit in the midst of interactive command typing without loss of the partial command. [Bugs 486453, 474131] * Tcl_Main now gracefully handles deletion of its master interpreter. * Interactive Tcl_Main can now operate with non-blocking stdin * Interactive Tcl_Main can now detect EOF on stdin even in mid-command. [Bug 491341] * Added VFS-aware internal routines for managing the startup script selection. * Tcl variable 'tcl_interactive' is now linked to C variable 'tty' so that one can disable/enable interactive prompts at the script level when there is no startup script. This is meant for use by the test suite. * Consistent use of the Tcl libraries standard channels as returned by Tcl_GetStdChannel(); as opposed to the channels named 'stdin', 'stdout', and 'stderr' in the master interp, which can be different or unavailable. * Tcl_Main now calls Tcl_Exit() if evaluation of [exit] in the master interpreter returns, assuring Tcl_Main does not return. * Documented Tcl_Main's absence from public stub table * Documented that Tcl_Main does not return. * Documented Tcl variables set by Tcl_Main. * All prompts are done from a single procedure, Prompt. * Use of Tcl_Obj-enabled interfaces everywhere. * generic/tclInt.decls (TclGetStartupScriptPath, TclSetStartupScriptPath): New internal VFS-aware routines for managing the startup script of Tcl_Main. * generic/tclIntDecls.h: * generic/tclStubInit.c: make genstubs * generic/tclTest.c (TestsetmainloopCmd,TestexitmainloopCmd, Tcltest_Init,TestinterpdeleteCmd): * tests/main.test (new): Added new file to test suite that thoroughly tests generic/tclMain.c; added some new test commands for testing Tcl_SetMainLoop().
* * generic/tclThreadJoin.c (TclRememberJoinableThread,TclJoinThread):dgp2002-01-041-3/+3
| | | | | Replaced Tcl_Alloc and Tcl_Free calls with ckalloc and ckfree so that memory debugging is supported.
* * doc/FileSystem.3:dgp2002-01-031-19/+19
| | | | | * generic/tclIOUtil.c: Updated some old uses of "fileName" to new VFS terminology, "pathPtr".
* Added fix for Bug #494348; the [foreach] implementation was doing somedkf2002-01-031-16/+15
| | | | | cacheing that didn't seem to be safe, and which wouldn't gain very much performance either. Removing it fixed the bug.
* Fixed fault with case-insensitive string matching (Bug#233257) and rewrotedkf2002-01-022-8/+24
| | | | some tests to test what they claimed to be testing.
* correct static-ness of function declshobbs2001-12-291-5/+5
|
* * generic/tclCkalloc.c (MemoryCmd, TclFinalizeMemorySubsystem):dgp2001-12-285-32/+53
| | | | | | | | | | | | | | | | | | | Added the [memory onexit] command, intended to replace [checkmem]. * doc/DumpActiveMemory.3: * doc/memory.n: Updated documentation for [memory] and related matters. [Bug 487677] * mac/tclMacBOAMain.c (Tcl_Main, CheckmemCmd): Removed all the machinery for the [checkmem] command that is completely duplicated by code in generic/tclCkalloc.c. * generic/tclBinary.c: * generic/tclListObj.c: * generic/tclObj.c: * generic/tclStringObj.c: Removed references to [checkmem] in comments, referencing [memory active] instead, since it is documented.
* * typo corrections in commentsdgp2001-12-201-3/+3
|
* Minor stub-table fixes; see ChangeLog for detailsdkf2001-12-184-23/+24
|
* * Applied #219311 on behalf of Rolf Schroedterandreas_kupries2001-12-171-14/+29
| | | | | <schroedter@users.sourceforge.net> to prevent fcopy on serial ports from flooding the event queue.
* docs and comments corrections [Bug 493412]Miguel Sofer2001-12-141-3/+3
|
* * generic/tclIO.c (Tcl_GetsObj): Applied patch for bug #491341 asandreas_kupries2001-12-121-4/+4
| | | | | provided by Don Porter <dgp@users.sourceforge.net>. Fixes assumption of having an empty Tcl_Obj to work with.
* small change in bytecode instructionsINST_LIST_INDEX_MULTI and INST_LSET_FLATMiguel Sofer2001-12-113-29/+26
|
* fix debug messages in INST_LSET_LIST.Miguel Sofer2001-12-111-3/+3
|
* removed overestimates of necessary stack depth for bytecodes in theMiguel Sofer2001-12-112-4/+22
| | | | fix for [Bug 483611].
* fix background error reporting in the absence of a bgerror proc [Bug 219142].Miguel Sofer2001-12-101-2/+2
|
* fixed the calculation of the maximal stack depth required by bytecodes [Bug ↵Miguel Sofer2001-12-106-453/+228
| | | | 483611].
* restored consistency in refCount accounting by array traces [Bug #4484339]Miguel Sofer2001-12-071-2/+4
|
* More expr syntax error improvementsdkf2001-12-061-15/+43
|
* new algorithm for [array get], safe when there are traces that modify the ↵Miguel Sofer2001-12-051-8/+67
| | | | array [Bug #449893].
* Improved messages produced on getting a syntax error in an expressiondkf2001-12-041-46/+92
|
* Tcl_Preserve'ing VarTrace structures to avoid memory corruption [Bug: 484334]Miguel Sofer2001-11-301-6/+14
|
* * generic/tclBinary.c: Added caching scheme to reduce number of objectdkf2001-11-291-19/+114
| | | | allocations when doing scans of large repetitive binary strings.
* Replace isspace(char) with isspace(UCHAR(char)) for safety...dkf2001-11-271-2/+2
|
* Tightened up the argument passing for [switch] to promote robuster scripts.dkf2001-11-271-31/+59
|
* * generic/tclIntPlatDecls.h: 'make genstubs' after changesdgp2001-11-261-4/+5
| | | | in 2001-11-23 commit from Daniel Steffen.
* ** upport to 8.4 of mac code changes for 8.3.3 & various newdas2001-11-238-43/+56
| | | | | | ** changes for 8.4, some already backported to 8.3.4 (patch #435658) see ChangeLog for details
* ** upport to 8.4 of mac code changes for 8.3.3 & various newdas2001-11-232-10/+26
| | | | | | ** changes for 8.4, some already backported to 8.3.4 (patch #435658) see ChangeLog for details
* * generic/tclBasic.c (Tcl_DeleteCommandFromToken,CallCommandTraces):dgp2001-11-212-4/+8
| | | | | | | * generic/tclCmdMZ>c (Tcl_UntraceCommand): Added Tcl_Preserve and Tcl_Release calls to prevent deletion of CommandTrace structures until all callers are done using them, preventing memory corruption. [Bug 453805]
* added TIP#73 patch #483500 from Kevin Kenny.hobbs2001-11-2111-49/+90
| | | | This deprecates TclpGetTime in favor of new Tcl_GetTime.
* moving all code relative to bytecodes from tclBasic.c to tclExecute.cMiguel Sofer2001-11-203-438/+496
|
* code reorganisation and factorisation.Miguel Sofer2001-11-203-99/+105
|
* a better variant of the previous-to-last commit (restoring numLevels ↵Miguel Sofer2001-11-202-22/+13
| | | | computations)
* missing variable declaration under TCL_COMPILE_DEBUG.Miguel Sofer2001-11-201-2/+4
|
* restoring the computations of iPtr->numLevels to the original logic ↵Miguel Sofer2001-11-202-12/+6
| | | | (previous to buggy modifs on 2001-11-16).
* Code reorganisation: moving all eval functions from tclParse.c to tclBasic.cMiguel Sofer2001-11-192-907/+905
|
* Changes due to TIP#68; memory handling in variable traces is now correct!dkf2001-11-193-75/+238
|
* patch for [Bug 483309]Miguel Sofer2001-11-191-1/+2
|
* * tests/interp.test:hobbs2001-11-161-10/+20
| | | | | * generic/tclInterp.c (SlaveObjCmd): Corrected argument checking for '$interp alias|aliases|issafe'. [Patch #479560] (thoyts, hobbs)
* Removed a rogue C++ comment that inadvertently got left in tclListObj.cKevin B Kenny2001-11-161-2/+2
|
* Moved Tcl_GetCommandFromObj and all defining code for tclCmdNameType objects ↵Miguel Sofer2001-11-163-424/+429
| | | | to tclObj.c
* Code reordering; execution levels made consistent [Bug 480896].Miguel Sofer2001-11-165-235/+112
|
* Reference implementation of TIP's #22, #33 and #45. Adds thehobbs2001-11-1415-133/+1770
| | | | | | ability of the [lindex] command to have multiple index arguments, and adds the [lset] command. Both commands are byte-code compiled. [Patch #471874] (work by Kenny, commited by Hobbs)
* * tests/var.test:dgp2001-11-091-2/+2
| | | | | * generic/tclVar.c: Corrected bug in [global] when dealing with variable names matching :*. [Bug 480176]