aboutsummaryrefslogtreecommitdiff
path: root/jim-namespace.c
AgeCommit message (Collapse)AuthorFilesLines
2016-09-29Add support for "-commands" to many commandsSteve Bennett1-1/+1
This option returns a list of support subcommands and is useful for command line completion. Support added to: socket, namespace, tcl::prefix, string, dict, info Signed-off-by: Steve Bennett <steveb@workware.net.au>
2014-10-10namespace: restore namespace import supportSteve Bennett1-1/+0
Commit 8e28d066 "fixed" infinite namespace import recursion by simply disabling support for import. This commit restores support by detecting self-import. Signed-off-by: Steve Bennett <steveb@workware.net.au>
2014-01-15namespace: disallow array element syntax for variablesSteve Bennett1-10/+9
Detect and generate an appropriate message if the variable name is an array element (dict sugar syntax) Signed-off-by: Steve Bennett <steveb@workware.net.au>
2014-01-03Remove tabs from source filesSteve Bennett1-2/+2
Tabs accidentally crept into source files in violaton of the style guide Signed-off-by: Steve Bennett <steveb@workware.net.au>
2013-11-18Fix previous incorrect namespace fixSteve Bennett1-3/+4
Signed-off-by: Steve Bennett <steveb@workware.net.au>
2013-11-18Avoid infinite recursion with namespace importSteve Bennett1-3/+3
Reported-By: Sergei Gavrikov <sergei.gavrikov@gmail.com> Signed-off-by: Steve Bennett <steveb@workware.net.au>
2011-12-12Add support for [apply]Steve Bennett1-0/+2
apply has the advantage of not disturbing the proc epoch for short lived commands Signed-off-by: Steve Bennett <steveb@workware.net.au>
2011-12-12Add support for lightweight namespacesSteve Bennett1-0/+333
See README.namespaces Signed-off-by: Steve Bennett <steveb@workware.net.au>