summaryrefslogtreecommitdiffstats
path: root/ChangeLog
Commit message (Collapse)AuthorAgeFilesLines
* * doc/Tcl_Main.3:dgp2002-01-051-0/+45
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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-0/+6
| | | | | Replaced Tcl_Alloc and Tcl_Free calls with ckalloc and ckfree so that memory debugging is supported.
* * mac/tclMacTime.c (TclpGetTZName): fix for daylight savings TZName bugdas2002-01-041-0/+4
|
* * expanded abbreviations in previous log entriesdgp2002-01-041-13/+29
|
* * doc/FileSystem.3:dgp2002-01-031-0/+6
| | | | | * 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-0/+11
| | | | | cacheing that didn't seem to be safe, and which wouldn't gain very much performance either. Removing it fixed the bug.
* Added test from Bug #494348, but solution still far off.dkf2002-01-031-0/+4
|
* Fixed fault with case-insensitive string matching (Bug#233257) and rewrotedkf2002-01-021-0/+12
| | | | some tests to test what they claimed to be testing.
* * library/init.tcl: make sure env(COMSPEC) on Windows is executedhobbs2001-12-291-1/+6
| | | | with the right case, as it may otherwise fail inexplicably.
* * generic/tclCkalloc.c (MemoryCmd, TclFinalizeMemorySubsystem):dgp2001-12-281-1/+20
| | | | | | | | | | | | | | | | | | | 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.
* * mac/tclMacInit.c:das2001-12-271-0/+15
| | | | | | | | | | | | | | * mac/tclMacTclCode.r: synced up tclInit features to unix/win: implemented TclSetPreInitScript support, use of existing tclInit proc if defined, check of default encoding dir if set. Changed script library resource names to lowercase (i.e. same as corresponding files). Used Tcl_JoinPath instead of string append. Check that system encoding could be loaded before utf translating the LibraryPath. * mac/tclMacApplication.r: * mac/tclMacLibrary.r: * mac/tclMacOSA.r: * mac/tclMacResource.r: minor version resources cleanup
* * unix/tcl.m4 (SC_PATH_TCLCONFIG, SC_PATH_TKCONFIG):mdejong2001-12-201-0/+6
| | | | | Search for config file using exec_prefix instead of prefix when no --with-tcl or --with-tk argument is used. [Bug 492418]
* * unix/tcl.m4: fixed incorrect SHLIB_LD_LIBSdas2001-12-201-0/+9
| | | | | | | | setting for MacOSX / Darwin. * unix/configure: Regen. * unix/mkLinks.tcl: improved case-insensitive filesystem support. * unix/mkLinks: Regen.
* * corrected use of eolFix.tcl ondgp2001-12-201-0/+5
| | | | working files. It should operate on distributed files. [Bug 495120]
* no messagedavygrvy2001-12-201-0/+7
|
* * unix/configure:mdejong2001-12-191-0/+7
| | | | | | * unix/tcl.m4 (SC_CONFIG_CFLAGS): Update SunOS 5.[0-6] target so that correct linker options are passed to gcc or ld. [Tk Bug 220863]
* * unix/README: Update to account for changesmdejong2001-12-191-0/+6
| | | | | in the unix/dltest directory, the way autoconf is run, and the new "make shell" target.
* * unix/Makefile.in: Rename dltest to dlpkgs tomdejong2001-12-191-0/+6
| | | | | fix problem where lib files were not getting built because dltest/ directory already existed.
* * win/tclWinSerial.c (SerialCheckProc): corrected timehobbs2001-12-191-0/+5
| | | | calculations to be unsigned. (schroedter)
* * make mklinksdgp2001-12-191-0/+1
|
* * unix/Makefile.in: Define new dltest target thatmdejong2001-12-191-0/+16
| | | | | | | | | | | | | | | simply does a cd to dltest/ before running make. There is no need for the separate configure script that was previously being used. * unix/configure: Regen. * unix/configure.in: Subst into dltest/Makefile. * unix/dltest/Makefile.in: Define LIBS using DL_LIBS, LIBS, and MATH_LIBS variables instead of TCL_LIBS variable from tclConfig.sh. * unix/dltest/README: Update readme to account for new configure free implementation. * unix/dltest/configure: Removed. * unix/dltest/configure.in: Removed.
* Minor stub-table fixes; see ChangeLog for detailsdkf2001-12-181-0/+12
|
* note about Preserve.3 checkinhobbs2001-12-181-0/+4
|
* * Applied #219311 on behalf of Rolf Schroedterandreas_kupries2001-12-171-0/+6
| | | | | <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-0/+7
|
* * win/tclWinNotify.c (Tcl_FinalizeNotifier): Stop Tcl on Windowsdkf2001-12-141-0/+8
| | | | | | | from crashing when shutdown from a non-Tcl thread. Fixes Bug #217982 [orig. 5804] reported by Hugh Vu and Gene Leache. I'm not convinced that the shutdown process is right even with this, but it was definitely wrong without...
* * win/tclWinSock.c (TcpGetOptionProc): Fix for tcl bug itemandreas_kupries2001-12-131-5/+8
| | | | | | #478565 reported by an unknown person. Bypasses all calls to "gethostbyaddr" for address "0.0.0.0" to prevent delays on Win/NT.
* * generic/tclIO.c (Tcl_GetsObj): Applied patch for bug #491341 asandreas_kupries2001-12-121-7/+13
| | | | | 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-111-0/+11
|
* fix debug messages in INST_LSET_LIST.Miguel Sofer2001-12-111-0/+4
|
* removed overestimates of necessary stack depth for bytecodes in theMiguel Sofer2001-12-111-0/+7
| | | | fix for [Bug 483611].
* * unix/tclUnixPipe.c (TclpCreateProcess): Applied Don Porter'sandreas_kupries2001-12-111-0/+5
| | | | patch fixing bug #437489.
* fix background error reporting in the absence of a bgerror proc [Bug 219142].Miguel Sofer2001-12-101-0/+6
|
* * Several typo and formatting corrections discovereddgp2001-12-101-2/+18
| | | | during conversion to TMML. Thanks to Joe English. [Patch 490514]
* fixed the calculation of the maximal stack depth required by bytecodes [Bug ↵Miguel Sofer2001-12-101-0/+11
| | | | 483611].
* restored consistency in refCount accounting by array traces [Bug #4484339]Miguel Sofer2001-12-071-0/+6
|
* More expr syntax error improvementsdkf2001-12-061-0/+11
|
* new algorithm for [array get], safe when there are traces that modify the ↵Miguel Sofer2001-12-051-0/+6
| | | | array [Bug #449893].
* Improved messages produced on getting a syntax error in an expressiondkf2001-12-041-0/+15
|
* Improved expr documentation.dkf2001-12-031-0/+6
|
* no messagedavygrvy2001-12-031-0/+7
|
* Tcl_Preserve'ing VarTrace structures to avoid memory corruption [Bug: 484334]Miguel Sofer2001-11-301-0/+5
|
* Modified test namespace-41.2, added 41.3Miguel Sofer2001-11-291-0/+5
|
* added new test for bug 231259Miguel Sofer2001-11-291-0/+5
|
* * generic/tclBinary.c: Added caching scheme to reduce number of objectdkf2001-11-291-0/+9
| | | | allocations when doing scans of large repetitive binary strings.
* Manpage fix (RE syntax now in separate page.)dkf2001-11-281-0/+5
| | | | Resolves Bug486159 reported by Larry Virden.
* Fix a coredump in the filename normalizer code for Win95/98.drh2001-11-281-0/+5
|
* no messagedavygrvy2001-11-281-0/+6
|
* Made test cmdAH-24.2 more robust.dkf2001-11-271-0/+4
|
* Tightened up the argument passing for [switch] to promote robuster scripts.dkf2001-11-271-0/+10
|