summaryrefslogtreecommitdiffstats
path: root/library/safe.tcl
Commit message (Collapse)AuthorAgeFilesLines
* [Bug 2964715]: fixes to globbing in safe interpretersdkf2012-05-171-17/+30
|
* Now that we're no longer using SCM based on RCS, the RCS Keyword lines causedgp2011-03-021-2/+0
|\ | | | | more harm than good. Purged them.
| * Now that we're no longer using SCM based on RCS, the RCS Keyword lines causedgp2011-03-011-2/+0
| | | | | | more harm than good. Purged them.
| * * library/auto.tcl: Updates to the Tcl script library to makedgp2005-07-221-14/+14
| | | | | | | | | | | | | | | | * library/history.tcl: use of Tcl 8.4 feautures. Thanks to * library/init.tcl: Patrick Fradin for prompting on this. * library/package.tcl: [Patch 1237755]. * library/safe.tcl: * library/word.tcl:
| * Fix [Bug 981733]; bizarre resolver brokenness strikes again!dkf2004-06-291-2/+6
| |
| * * library/safe.tcl (FileInAccessPath): normalize paths beforehobbs2003-07-161-2/+10
| | | | | | | | comparison. [Bug 759607] (myers)
* | Improved handling of non-standard module path lists, empty path lists in ↵stwo2010-11-021-4/+4
| | | | | | | | particular.
* | * library/safe.tcl (::safe::AliasGlob): Fixed another problem, theandreas_kupries2010-09-021-2/+2
| | | | | | | | | | option -join does not stop option processing in the core builtin, so the emulation must not do that either.
* | * library/safe.tcl (::safe::AliasGlob): Moved the commandandreas_kupries2010-09-021-2/+2
| | | | | | | | | | extending the actual glob command with a -directory flag to when we actually have a proper untranslated path,
* | [Bug 2923613]: Make the safer [source] handle a [return] at the end of the filedkf2009-12-301-6/+8
| | | | | | | | correctly.
* | [Bug 2913625]: Stop information about paths from leaking through [info script]dkf2009-12-231-9/+38
| | | | | | | | and [info nameofexecutable].
* | Upgrade to Safe Base's handling of [glob] to be more permissive with thedkf2009-12-161-25/+77
| | | | | | | | | | feature set supported, but stricter with path management. It also now has an error pattern more like the standard [glob] command.
* | * library/safe.tcl: Backport of the streamlined safe base fromandreas_kupries2009-12-091-872/+850
| | | | | | | | | | * tests/safe.test: head to the 8.5 branch (See head changelog entries 2009-11-05, 2009-11-06, 2009-12-03).
* | 2009-11-03 Andreas Kupries <andreask@activestate.com>dgp2009-11-041-2/+22
| | | | | | | | | | | | | | | | * library/safe.tcl (::safe::InterpSetConfig): [Bug 2854929]. Added code to recursively find deeper paths which may contain modules. Required to handle modules with names like 'platform::shell', which translate into 'platform/shell-X.tm', i.e arbitrarily deep subdirectories.
* | * library/tm.tcl: Modified the handling of Tcl Modules and of theandreas_kupries2008-06-251-12/+138
| | | | | | | | | | | | * library/safe.tcl: Safe Base to interact nicely with each other, * library/init.tcl: enabling requiring Tcl Modules in safe interpreters. Fixes [Bug 1999119].
* | * doc/ParseCmd.3, doc/Tcl.n, doc/eval.n, doc/exec.n:hobbs2006-11-031-8/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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/auto.tcl: Updates to the Tcl script library to makedgp2005-07-231-11/+10
| | | | | | | | | | | | | | | | * 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:
* | Fix [Bug 981733]; bizarre resolver brokenness strikes again!dkf2004-06-291-2/+6
| |
* | Removed support for Mac OS Classic platform [Patch 918142]das2004-03-171-15/+1
| |
* | * doc/ParseCmd.3: Implementation of TIP 157. Adds recognitiondgp2003-11-141-9/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * doc/Tcl.n: of the new leading {expand} syntax on words. * generic/tcl.h: Parses such words as the new Tcl_Token type * generic/tclBasic.c: TCL_TOKEN_EXPAND_WORD. Updated Tcl_EvalEx * generic/tclCompile.c: and the bytecode compiler/execution engine * generic/tclCompile.h: to recognize the new token type. New opcodes * generic/tclExecute.c: INST_LIST_VERIFY and INST_INVOKE_EXP and a new * generic/tclParse.c: operand type OPERAND_ULIST1 are defined. Docs * generic/tclTest.c: and tests are included. * tests/basic.test: * tests/compile.test: * tests/parse.test: * library/auto.tcl: Replaced several [eval]s used to perform * library/package.tcl: argument expansion with the new syntax. * library/safe.tcl: In the test files lindex.test and lset.test, * tests/cmdInfo.test: replaced use of [eval] to force direct * tests/encoding.test: string evaluation with use of [testevalex] * tests/execute.test: which more directly and robustly serves the * tests/fCmd.test: same purpose. * tests/http.test: * tests/init.test: * tests/interp.test: * tests/io.test: * tests/ioUtil.test: * tests/iogt.test: * tests/lindex.test: * tests/lset.test: * tests/namespace-old.test: * tests/namespace.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:
* | * library/safe.tcl (FileInAccessPath): normalize paths beforehobbs2003-07-161-2/+10
| | | | | | | | comparison. [Bug 759607] (myers)
* | * library/auto.tcl: Replaced [regexp] and [regsub] withdgp2003-03-191-2/+2
|/ | | | | | | | | | | | | | | * library/history.tcl: [string map] where possible. Thanks * library/ldAout.tcl: to David Welton. [Bugs 667456,667558] * library/safe.tcl: Bumped to http 2.4.3, opt 0.4.5, and * library/http/http.tcl: tcltest 2.2.3. * library/http/pkgIndex.tcl: * library/opt/optparse.tcl: * library/opt/pkgIndex.tcl: * library/tcltest/tcltest.tcl: * library/tcltest/pkgIndex.tcl: * tools/genStubs.tcl: * tools/tcltk-man2html.tcl: * unix/mkLinks.tcl:
* code cleanup of eval and string comp usehobbs2003-02-081-7/+7
|
* * library/safe.tcl (CheckFileName): removed the limit onhobbs2002-02-221-16/+6
| | | | | | sourceable file names (was only *.tcl or tclIndex files with no more than one dot and 14 chars). There is enough internal protection in a safe interpreter already. Fixes [Tk Bug #521560].
* [glob] uses -directory instead of unsafe [file join] to stop problemsdkf2000-11-241-2/+2
| | | | with some directory names. Fixes Bug #123313 in Tcl.
* 1999-08-18 Jeff Hobbs <hobbs@scriptics.com>hobbs1999-08-191-171/+162
| | | | | | | | | | | | | * library/auto.tcl: * library/init.tcl: * library/ldAout.tcl: * library/package.tcl: * library/safe.tcl: * library/word.tcl: * library/http2.1/http.tcl: * library/msgcat1.0/msgcat.tcl: updated libraries to better Tcl style guide (no more string comparisons with == or !=, spacing changes).
* merged tcl 8.1 branch back into the main trunkstanton1999-04-161-2/+46
|
* Removed lint (thanks, procheck!)welch1998-11-111-7/+1
|
* Replaced SCCS strings, fixed binary filescore_8_0_3stanton1998-09-141-1/+1
|
* plugin updateswelch1998-06-271-4/+4
|
* Initial revisionrjohnson1998-03-261-0/+893