summaryrefslogtreecommitdiffstats
path: root/library/init.tcl
Commit message (Collapse)AuthorAgeFilesLines
* Move the implementation of [try] from Tcl to C. Not yet bytecoded.dkf2009-03-091-183/+1
|
* * generic/tcl.h: Bump patchlevel to 8.6b1.1 to distinguishdgp2009-01-161-2/+2
| | | | | | | | * library/init.tcl: CVS snapshots from the 8.6b1 and 8.6b2 releases * unix/configure.in: and to deal with the fact that the HEAD of * win/configure.in: init.tcl will not [source] in Tcl 8.6b1 . * unix/configure: autoconf-2.59
* Move [throw] implementation into C.dkf2009-01-131-18/+5
|
* * README: Bump version number to 8.6b1dgp2008-12-191-2/+2
| | | | | | | | | | | | * generic/tcl.h: * library/init.tcl: * tools/tcl.wse.in: * unix/configure.in: * unix/tcl.spec: * win/configure.in: * unix/configure: autoconf-2.59 * win/configure:
* Fix bug in 'trap' handlers (introduced by DKF's editing originally)dkf2008-12-161-2/+2
|
* First implementation of TIP#329dkf2008-12-161-19/+214
|
* * library/init.tcl: Revised [unknown] so that it carefullydgp2008-10-161-2/+5
| | | | | | preserves the state of the ::errorInfo and ::errorCode variables at the start of auto-loading and restores that state before the autoloaded command is evaluated. [Bug 2140628]
* * library/init.tcl: Revised [unknown] so that it carefullydgp2008-10-161-3/+8
| | | | | | preserves the state of the ::errorInfo and ::errorCode variables at the start of auto-loading and restores that state before the autoloaded command is evaluated. [Bug 2140628]
* * README: Bump version number to 8.6a4dgp2008-10-141-2/+2
| | | | | | | | | | | | * generic/tcl.h: * library/init.tcl: * tools/tcl.wse.in: * unix/configure.in: * unix/tcl.spec: * win/configure.in: * unix/configure: autoconf-2.59 * win/configure:
* * library/init.tcl: export min and max commands from the mathfuncMiguel Sofer2008-09-171-1/+2
| | | | namespace [Bug 2116053]
* * README: Bump version number to 8.6a3dgp2008-08-281-2/+2
| | | | | | | | | | | | * generic/tcl.h: * library/init.tcl: * tools/tcl.wse.in: * unix/configure.in: * unix/tcl.spec: * win/configure.in: * unix/configure: autoconf-2.59 * win/configure:
* * README: Bump version number to 8.6a2dgp2008-08-121-2/+2
| | | | | | | | | | | | * generic/tcl.h: * library/init.tcl: * tools/tcl.wse.in: * unix/configure.in: * unix/tcl.spec: * win/configure.in: * unix/configure: autoconf-2.59 * win/configure:
* missed some nukeable comments re [namespace inscope]Miguel Sofer2008-08-061-8/+3
|
* * library/init.tcl (::unknown): removed the [namespace inscope]Miguel Sofer2008-08-061-12/+3
| | | | | | | | | hack that was maintained for Itcl *** POTENTIAL INCOMPATIBILITY *** for Itcl Itcl users will need a new release with Itcl's [Patch 2040295], or else load the tiny script in that patch by themselves (rewrite ::unknown). Note that it is a script-only patch.
* * library/tm.tcl: Modified the handling of Tcl Modules and of theandreas_kupries2008-06-251-2/+2
| | | | | | * library/safe.tcl: Safe Base to interact nicely with each other, * library/init.tcl: enabling requiring Tcl Modules in safe * tests/safe.test: interpreters. Fixes [Bug 1999119].
* * README: Bump version number to 8.6a1dgp2008-06-191-2/+2
| | | | | | | | | | | | * generic/tcl.h: * library/init.tcl: * tools/tcl.wse.in: * unix/configure.in: * unix/tcl.spec: * win/configure.in: * unix/configure: autoconf-2.59 * win/configure:
* * README: Bump version number to 8.6a0dgp2008-04-011-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * generic/tcl.h: * library/init.tcl: * macosx/Tcl-Common.xcconfig: * macosx/Tcl.pbproj/default.pbxuser: * macosx/Tcl.pbproj/project.pbxproj: * tools/tcl.wse.in: * unix/configure.in: * unix/tcl.spec: * win/README: * win/configure.in: * win/makefile.bc: * win/tcl.m4: * unix/configure: autoconf-2.59 * win/configure: * generic/tclBasic.c: Revised stubs-generation tool and interp * tools/genStubs.tcl: creation so that "tclStubsPtr" is not present * unix/Makefile.in: in libtcl.so, but is present only in libtclstub.a. This tightens up the rules for users of the stubs interfaces. [Bug 1819422] * generic/tclDecls.h: make genstubs * generic/tclIntDecls.h: * generic/tclIntPlatDecls.h: * generic/tclPlatDecls.h: * generic/tclTomMathDecls.h:
* * generic/tcl.h: Bump to 8.5.2 for release.core_8_5_2dgp2008-03-281-2/+2
| | | | | | | | | | | * library/init.tcl: * tools/tcl.wse.in: * unix/configure.in: * unix/tcl.spec: * win/configure.in: * unix/configure: autoconf-2.59 * win/configure:
* * generic/tcl.h: Bump version number to 8.5.2b1 to distinguishdgp2008-02-131-2/+2
| | | | | | | | | | | * library/init.tcl: CVS development snapshots from the 8.5.1 and * unix/configure.in: 8.5.2 releases. * unix/tcl.spec: * win/configure.in: * README * unix/configure: autoconf (2.59) * win/configure:
* *** 8.5.1 TAGGED FOR RELEASE ***dgp2008-02-041-2/+2
| | | | | | | | | | | | * generic/tcl.h: Bump to 8.5.1 for release. * library/init.tcl: * tools/tcl.wse.in: * unix/configure.in: * unix/tcl.spec: * win/configure.in: * unix/configure: autoconf-2.59 * win/configure:
* * generic/tcl.h: Bump version number to 8.5.1b1 to distinguishdgp2008-01-021-2/+2
| | | | | | | | | | | * library/init.tcl: CVS development snapshots from the 8.5.0 and * unix/configure.in: 8.5.1 releases. * unix/tcl.spec: * win/configure.in: * README * unix/configure: autoconf (2.59) * win/configure:
* merge stable branch onto HEADdgp2007-12-131-2/+2
|
* Simplify code for setting up the [chan] ensemble now that we can leveragedkf2007-12-061-26/+1
| | | | TclMakeEnsemble to do most of the work.
* * README: Bump version number to 8.5b3.dgp2007-11-191-2/+2
| | | | | | | | | | | | * generic/tcl.h: * library/init.tcl: * tools/tcl.wse.in: * unix/configure.in: * unix/tcl.spec: * win/configure.in: * unix/configure: autoconf (2.59) * win/configure:
* * generic/tcl.h: Bump version number to 8.5b2.1 to distinguishdgp2007-10-301-2/+2
| | | | | | | | | | * library/init.tcl: CVS development snapshots from the 8.5b2 * unix/configure.in: release. * unix/tcl.spec: * win/configure.in: * unix/configure: autoconf (2.59) * win/configure:
* * README: Bump version number to 8.5b2.dgp2007-10-261-2/+2
| | | | | | | | | | | | * generic/tcl.h: * library/init.tcl: * tools/tcl.wse.in: * unix/configure.in: * unix/tcl.spec: * win/configure.in: * unix/configure: autoconf (2.59) * win/configure:
* * generic/tcl.h: Bump version number to 8.5b1.1 to distinguishdgp2007-10-021-2/+2
| | | | | | | | | | * library/init.tcl: CVS development snapshots from the 8.5b1 * unix/configure.in: release. * unix/tcl.spec: * win/configure.in: * unix/configure: autoconf (2.59) * win/configure:
* * README: Bump version number to 8.5b1dgp2007-09-191-2/+2
| | | | | | | | | * generic/tcl.h: Merge from core-stabilizer-branch. * library/init.tcl: Stabilizing toward 8.5b1 release now done * tools/tcl.wse.in: on the HEAD. core-stabilizer-branch is * unix/configure.in: now suspended. * unix/tcl.spec: * win/configure.in:
* * library/init.tcl ([auto_load_index]): Delete stray "]" that createddgp2007-08-231-2/+2
| | | | an expr syntax error (masked by a [catch]).
* * library/init.tcl (unknown): Corrected inconsistent error messagedgp2007-07-051-13/+11
| | | | in interactive [unknown] when empty command is invoked. [Bug 1743676]
* * unix/configure: autoconf-2.59 (FC6 fork)dgp2007-05-181-2/+2
| | | | | | | | | | | | | | | | | * win/configure: * README: Bump version number to 8.5a7 * generic/tcl.h: * library/init.tcl: * tools/tcl.wse.in: * unix/configure.in: * unix/tcl.spec: * win/configure.in: * generic/tclParse.c: Disable and remove the ALLOW_EXPAND sections * tests/info.test: that continued to support the deprecated * tests/mathop.test: {expand} syntax. Updated the few remaining users of that syntax in the test suite.
* TIP#287 IMPLEMENTATIONdgp2006-12-011-1/+3
| | | | | | | | | | * doc/chan.n: New subcommand [chan pending]. * generic/tclBasic.c: Thanks to Michael Cleverly for proposal * generic/tclInt.h: and implementation. * generic/tclIOCmd.c: * library/init.tcl: * tests/chan.test: * tests/ioCmd.test:
* Make the guts of [chan] more robust.dkf2006-11-201-13/+13
|
* * doc/ParseCmd.3, doc/Tcl.n, doc/eval.n, doc/exec.n:hobbs2006-11-031-3/+3
| | | | | | | | | | | | | | | | | | * doc/fconfigure.n, doc/interp.n, doc/unknown.n: * library/auto.tcl, library/init.tcl, library/package.tcl: * library/safe.tcl, library/tm.tcl, library/msgcat/msgcat.tcl: * tests/all.tcl, tests/basic.test, tests/cmdInfo.test: * tests/compile.test, tests/encoding.test, tests/execute.test: * tests/fCmd.test, tests/http.test, tests/init.test: * tests/interp.test, tests/io.test, tests/ioUtil.test: * tests/iogt.test, tests/namespace-old.test, tests/namespace.test: * tests/parse.test, tests/pkg.test, tests/pkgMkIndex.test: * tests/proc.test, tests/reg.test, tests/trace.test: * tests/upvar.test, tests/winConsole.test, tests/winFCmd.test: * tools/tclZIC.tcl: * generic/tclParse.c (Tcl_ParseCommand): Replace {expand} with {*} officially (TIP #293). Leave -DALLOW_EXPAND=0|1 option to keep {expand} syntax for transition users. [Bug 1589629]
* * README: Bump version number to 8.5a6dgp2006-10-231-2/+2
| | | | | | | | | | | | | * generic/tcl.h: * library init.tcl: * tools/tcl.wse.in: * unix/configure.in: * unix/tcl.spec: * win/README.binary: * win/configure.in: * unix/configure: autoconf-2.59 * win/configure:
* TIP#268 IMPLEMENTATIONandreas_kupries2006-09-221-2/+2
| | | | | | | | | | | | | | | | | | | | * generic/tclDecls.h: Regenerated from tcl.decls. * generic/tclStubInit.c: * doc/PkgRequire.3: Documentation of extended API, * doc/package.n: extended testsuite. * tests/pkg.test: * generic/tcl.decls: Implementation. * generic/tclBasic.c: * generic/tclConfig.c: * generic/tclInt.h: * generic/tclPkg.c: * generic/tclTest.c: * generic/tclTomMathInterface.c: * library/init.tcl: * library/package.tcl: * library/tm.tcl:
* TIP#258 IMPLEMENTATIONdgp2006-02-081-6/+8
| | | | | | | | | | | | | | | | | | | | | * doc/Encoding.3: New subcommand [encoding dirs]. * doc/encoding.n: New routine Tcl_GetEncodingNameFromEnvironment. * generic/tcl.decls: Made public: * generic/tclBasic.c: TclGetEncodingFromObj * generic/tclCmdAH.c: -> Tcl_GetEncodingFromObj * generic/tclEncoding.c:TclGetEncodingSearchPath * generic/tclInt.decls: -> Tcl_GetEncodingSearchPath * generic/tclInt.h: TclSetEncodingSearchPath * generic/tclTest.c: -> Tcl_SetEncodingSearchPath * library/init.tcl: Removed commands: * tests/cmdAH.test: [tcl::unsupported::EncodingDirs] * tests/encoding.test: [testencoding path] (Tcltest) * unix/tclUnixInit.c: [Patch 1413934]. * win/tclWinInit.c: * generic/tclDecls.h: make genstubs * generic/tclIntDecls.h: * generic/tclStubInit.c:
* fix comment typohobbs2005-09-301-3/+3
|
* init value to (-)Inf for min/max expr functions to simplify codehobbs2005-09-301-15/+9
|
* implementation for TIP #255, expr min/maxhobbs2005-09-291-1/+43
|
* * generic/tclStringObj.c: Bug fixes: ObjPrintfVA needed todgp2005-09-141-3/+3
| | | | | | | | | | | | | support "*" fields and needed to interpret precision limits on %s conversions as a number of bytes, not Tcl_UniChars, to take from the (char *) argument. * generic/tclBasic.c: Updated several callers to use * generic/tclCmdMZ.c: TclFormatToErrorInfo(). * generic/tclIOUtil.c: * library/init.tcl: Keep [unknown] in sync with errorInfo formatting rules.
* TIP#219 IMPLEMENTATIONandreas_kupries2005-08-241-18/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | * doc/SetChanErr.3: ** New File **. Documentation of the new channel API functions. * generic/tcl.decls: Stub declarations of the new channel API. * generic/tclDecls.h: Regenerated * generic/tclStubInit.c: * tclIORChan.c: ** New File **. Implementation of the reflected channel. * generic/tclInt.h: Integration of reflected channel and new error * generic/tclIO.c: propagation into the generic I/O core. * generic/tclIOCmd.c: * generic/tclIO.h: * library/init.tcl: * tests/io.test: Extended testsuite. * tests/ioCmd.test: * tests/chan.test: * generic/tclTest.c: * generic/tclThreadTest.c: * unix/Makefile.in: Integration into the build machinery. * win/Makefile.in: * win/Makefile.vc:
* * library/init.tcl ([unknown]): Corrected return code handlingdgp2005-07-271-4/+14
| | | | | in the portions of [unknown] that expand incomplete commands during interactive operations. [Bug 1214462].
* * library/auto.tcl: Updates to the Tcl script library to makedgp2005-07-231-27/+30
| | | | | | | | * library/history.tcl: use of Tcl 8.4 features. Forward port of * library/init.tcl: appropriate portions of [Patch 1237755]. * library/package.tcl: * library/safe.tcl: * library/word.tcl:
* TIP#208 implementationdkf2005-06-061-1/+21
| | | | It's crude (especially in the tests and docs department) and incomplete (no truncation on non-POSIX platforms).
* * library/init.tcl: Updated [unknown] to be sure the [return]dgp2005-05-241-2/+3
| | | | | * tests/init.test: options from an auto-loaded command are seen correctly by the caller.
* Merged kennykb-numerics-branch back to the head; TIPs 132 and 232Kevin B Kenny2005-05-101-1/+1
|
* * library/init.tcl: Corrected flaw in interactive commanddgp2005-04-281-2/+2
| | | | * tests/main.test: auto-completion. [Bug 1191409].
* * library/init.tcl: Use "ni" and "in" operators.dgp2005-04-251-7/+7
|
* typodgp2005-04-191-2/+2
|