summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Updated APIs in the files */tcl*Load*.c according to the guidelinesKevin B Kenny2002-01-0918-39/+61
| | | | of TIP 27.
* More changes for test portability. Using euro symbol.dgp2002-01-091-7/+7
|
* * generic/tclTest.c (MainLoop):dgp2002-01-093-17/+29
| | | | | * 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-074-14/+21
| | | | | | | * 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-072-3/+12
| | | | TclGetStartupScriptFileName(). Broke Tk/wish.
* * doc/Tcl_Main.3:dgp2002-01-058-200/+1609
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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-042-3/+9
| | | | | 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-042-1/+8
|
* * expanded abbreviations in previous log entriesdgp2002-01-041-13/+29
|
* * doc/FileSystem.3:dgp2002-01-033-22/+28
| | | | | * 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-033-42/+39
| | | | | 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-032-1/+30
|
* Fixed fault with case-insensitive string matching (Bug#233257) and rewrotedkf2002-01-025-61/+97
| | | | some tests to test what they claimed to be testing.
* * library/init.tcl: make sure env(COMSPEC) on Windows is executedhobbs2001-12-292-3/+15
| | | | with the right case, as it may otherwise fail inexplicably.
* correct static-ness of function declshobbs2001-12-291-5/+5
|
* * generic/tclCkalloc.c (MemoryCmd, TclFinalizeMemorySubsystem):dgp2001-12-289-120/+123
| | | | | | | | | | | | | | | | | | | 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-277-58/+95
| | | | | | | | | | | | | | * 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
* * typo corrections in commentsdgp2001-12-201-3/+3
|
* * unix/tcl.m4 (SC_PATH_TCLCONFIG, SC_PATH_TKCONFIG):mdejong2001-12-202-2/+8
| | | | | Search for config file using exec_prefix instead of prefix when no --with-tcl or --with-tk argument is used. [Bug 492418]
* * unix/mkLinks.tcl: improved case-insensitivedas2001-12-202-5/+5
| | | | | filesystem support. * unix/mkLinks: Regen.
* * unix/tcl.m4: fixed incorrect SHLIB_LD_LIBSdas2001-12-205-17/+27
| | | | | | | | 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-202-3/+8
| | | | working files. It should operate on distributed files. [Bug 495120]
* no messagedavygrvy2001-12-201-0/+7
|
* Fix for #495120. tcl.wse.in was stored in cvs with improper <eol>. Thisdavygrvy2001-12-201-2378/+2376
| | | | resulted in corrupted <eol> when checked-out.
* * unix/configure:mdejong2001-12-193-23/+38
| | | | | | * 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-192-15/+13
| | | | | 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-192-3/+9
| | | | | fix problem where lib files were not getting built because dltest/ directory already existed.
* * win/tclWinSerial.c (SerialCheckProc): corrected timehobbs2001-12-192-5/+11
| | | | calculations to be unsigned. (schroedter)
* * commit tools/tcl.wse.in after a 'make dist'dgp2001-12-191-0/+1
|
* * make mklinksdgp2001-12-192-0/+3
|
* * unix/Makefile.in: Define new dltest target thatmdejong2001-12-198-885/+37
| | | | | | | | | | | | | | | 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-185-23/+36
|
* note about Preserve.3 checkinhobbs2001-12-181-0/+4
|
* * Applied #219311 on behalf of Rolf Schroedterandreas_kupries2001-12-175-23/+120
| | | | | <schroedter@users.sourceforge.net> to prevent fcopy on serial ports from flooding the event queue.
* docs and comments corrections [Bug 493412]Miguel Sofer2001-12-143-7/+14
|
* * win/tclWinNotify.c (Tcl_FinalizeNotifier): Stop Tcl on Windowsdkf2001-12-142-1/+23
| | | | | | | 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...
* * Repaired some fractured phrasing.dgp2001-12-141-2/+2
|
* * win/tclWinSock.c (TcpGetOptionProc): Fix for tcl bug itemandreas_kupries2001-12-132-12/+24
| | | | | | #478565 reported by an unknown person. Bypasses all calls to "gethostbyaddr" for address "0.0.0.0" to prevent delays on Win/NT.
* docd TCL_DYNAMIC use. [Patch #483989] (porter)hobbs2001-12-131-1/+10
|
* * generic/tclIO.c (Tcl_GetsObj): Applied patch for bug #491341 asandreas_kupries2001-12-122-11/+17
| | | | | 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-114-29/+37
|
* fix debug messages in INST_LSET_LIST.Miguel Sofer2001-12-112-3/+7
|
* removed overestimates of necessary stack depth for bytecodes in theMiguel Sofer2001-12-113-4/+29
| | | | fix for [Bug 483611].
* * unix/tclUnixPipe.c (TclpCreateProcess): Applied Don Porter'sandreas_kupries2001-12-112-2/+7
| | | | patch fixing bug #437489.
* fix background error reporting in the absence of a bgerror proc [Bug 219142].Miguel Sofer2001-12-103-3/+23
|
* * Several typo and formatting corrections discovereddgp2001-12-1014-68/+51
| | | | 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-107-453/+239
| | | | 483611].
* fixed typodgp2001-12-071-2/+2
|