| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
option -join does not stop option processing in the core builtin,
so the emulation must not do that either.
|
|
|
|
|
| |
extending the actual glob command with a -directory flag to when
we actually have a proper untranslated path,
|
|
|
|
| |
working condition.
|
| |
|
|
|
|
| |
file correctly.
|
|
|
|
| |
and [info nameofexecutable].
|
|
|
|
|
| |
feature set supported, but stricter with path management. It also now has an
error pattern more like the standard [glob] command.
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
contents of the state array. Also killed the 'InterpState'
procedure with its upleveled variable/upvar combination, and
replaced all uses with 'namespace upvar'.
|
|
|
|
|
|
|
| |
up to date with code guidelines, Tcl's features, also eliminating
a number of inefficiencies along the way.
(11) Fixed bug 2854929. Recurse into all subdirs under all TM root
dirs and put them on the access path.
|
|
|
|
|
|
|
|
|
|
| |
up to date with code guidelines, Tcl's features, also eliminating
a number of inefficiencies along the way.
(10) Misc. cleanup. Inlined IsInterp into CheckInterp, its only
user. Consistent 'return -code error' for error reporting. Updated
to use modern features (lassign, in/ni, dicts). The latter are
used to keep a reverse path -> token map and quicker check of
existence.
|
|
|
|
|
|
|
| |
up to date with code guidelines, Tcl's features, also eliminating
a number of inefficiencies along the way.
(9) Changed the log command setup so that logging is compiled out
completely when disabled (default).
|
|
|
|
|
|
|
|
|
| |
up to date with code guidelines, Tcl's features, also eliminating
a number of inefficiencies along the way.
(8) Converted the path token system to cache normalized paths and
path <-> token conversions. Removed more procedures not used any
longer. Removed the test cases 4.3 and 4.4 from safe.test. They
were testing the now deleted command "InterpStateName".
|
|
|
|
|
|
|
|
| |
up to date with code guidelines, Tcl's features, also eliminating
a number of inefficiencies along the way.
(7) Replaced the remaining uses of 'Set' and others outside of the
path/token handling, and deleted a number of procedures related to
state array access which are not used any longer.
|
|
|
|
|
|
|
| |
up to date with code guidelines, Tcl's features, also eliminating
a number of inefficiencies along the way.
(6) Replaced several uses of 'Set' with calls to the new procedure
'InterpState' and direct access to the per-slave state array.
|
|
|
|
|
|
|
| |
up to date with code guidelines, Tcl's features, also eliminating
a number of inefficiencies along the way.
(5) Moved the argument parsing setup into a procedure called when
the code is loaded. Easier management of temporary data.
|
|
|
|
|
|
|
|
| |
up to date with code guidelines, Tcl's features, also eliminating
a number of inefficiencies along the way.
(4) Moved the multiple namespace eval's around. Command export at
the top, everything else (var decls, argument parsing setup) at
the bottom.
|
|
|
|
|
|
|
| |
up to date with code guidelines, Tcl's features, also eliminating
a number of inefficiencies along the way.
(3) Reindent the code. Just lots of whitespace
changes. Functionality unchanged.
|
|
|
|
|
|
|
|
| |
up to date with code guidelines, Tcl's features, also eliminating
a number of inefficiencies along the way.
(2) Move the procedures out of the namespace eval. Keep their
locations. IOW, break the namespace eval apart into small
sectionsnot covering the procedure definitions.
|
|
|
|
|
|
| |
up to date with code guidelines, Tcl's features, also eliminating
a number of inefficiencies along the way.
(1) Change all procedure names to be fully qualified.
|
|
|
|
|
|
| |
try/finally, it had an 'on ok msg' branch missing, causing a
silent error immediately, and bogus glob results, breaking
search for Tcl modules.
|
| |
|
|
|
|
|
|
| |
* 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].
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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/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:
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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:
|
|
|
|
| |
comparison. [Bug 759607] (myers)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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:
|
| |
|
|
|
|
|
|
| |
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].
|
|
|
|
| |
with some directory names. Fixes Bug #123313 in Tcl.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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).
|
| |
|
| |
|
| |
|
| |
|
|
|