summaryrefslogtreecommitdiffstats
path: root/library/tm.tcl
Commit message (Collapse)AuthorAgeFilesLines
* * library/tm.tcl: Modified the handling of Tcl Modules and of theandreas_kupries2008-06-251-5/+9
| | | | | | * library/safe.tcl: Safe Base to interact nicely with each other, * library/init.tcl: enabling requiring Tcl Modules in safe interpreters. Fixes [Bug 1999119].
* * library/tm.tcl (::tcl::tm::UnknownHandler): Changed 'source' toandreas_kupries2008-03-181-1/+1
| | | | | | | | | | | | | | 'source -encoding utf-8'. This fixes a portability problem of Tcl Modules pointed out by Don Porter. By using plain 'source' we were at the mercy of 'encoding system', making modules less portable than they could be. The exact scenario: A writes a TM in some weird encoding which is A's system encoding, distributes it, and somewhere else it cannot be read/used because the system encoding is different. Forcing the use of utf-8 makes the module portable. ***INCOMPATIBILITY*** for all Tcl Modules already written in non-utf-8 compatible encodings.
* Fix oops. Use ::list, not list, prevent use of the namespace local command.andreas_kupries2008-03-181-1/+1
|
* * library/tm.tcl (::tcl::tm::Defaults): Modified handling ofandreas_kupries2008-03-181-2/+5
| | | | | | | environment variables. See [Bug 1914604]. Solution slightly different than proposed in the report. Using the underscored form TCLX_y_TM_PATH even if TCLX.y_TM_PATH exists. Also using a loop to cut prevent code replication.
* * doc/ParseCmd.3, doc/Tcl.n, doc/eval.n, doc/exec.n:hobbs2006-11-031-1/+1
| | | | | | | | | | | | | | | | | | * 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]
* * library/tm.tcl: Fixed bug in TIP #189 implementation, nowandreas_kupries2006-10-061-1/+1
| | | | allowing '_' in module names.
* TIP#268 IMPLEMENTATIONandreas_kupries2006-09-221-6/+4
| | | | | | | | | | | | | | | | | | | | * 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:
* * library/tm.tcl (::tcl::tm::Defaults): Fixed handling ofandreas_kupries2006-03-141-1/+1
| | | | | environment variable TCLX.y_TM_PATH, bad variable reference. See [SF Tcl Bug 1448251]. Thanks to Julian Noble.
* * library/tm.tcl (::tcl::tm::roots): Accepted Don Porter's patchandreas_kupries2005-08-291-1/+1
| | | | | for [Tcl SF Bug 1189657]. Syncs the implementation to the specification (TIP #189).
* * library/init.tcl: Use auto-loading to bring in Tcl Moduledgp2005-04-151-1/+0
| | | | | | * library/tclIndex: support as needed. This reduces startup * library/tm.tcl: time by delaying this initialization to a later time.
* Allow ensembles to rewrite their subcommands' error messages to be moredkf2004-10-291-18/+5
| | | | | | relevant to users. [Patch 1056864] Also patches to core to take advantage of this Also other general cleaning up of Tcl_WrongNumArgs usage
* * tests/tm.test: Expanded on the testsuite entered by Donal.andreas_kupries2004-10-271-18/+29
| | | | * library/tm.tcl: Even found bugs, these have been corrected.
* * library/tm.tcl (::tcl::tm::Defaults): Added a second [fileandreas_kupries2004-10-261-1/+1
| | | | | | dirname] around the location of the executable. This fixes [Tcl SF Bug 1038705]. Instable of a bogus "foo/bin/lib" we now have the correct "foo/lib" as a base path for modules.
* Flesh out tests and transform the TM manager API into an ensembledkf2004-10-251-94/+115
|
* * library/init.tcl: Integrated TIP #189. We source a separate fileandreas_kupries2004-08-181-0/+346
(see below), instead of inlining the contents of that file. This should beeasier to maintain, and easier to backport/install in 8.4 installations. Note: Usage of Tcl Modules is restricted to non-safe interps. It cannot be loaded into a safe interp. * library/tm.tcl: New file, the v2 reference implementation for TIP #189, Tcl Modules.