summaryrefslogtreecommitdiffstats
path: root/generic/tclEnsemble.c
Commit message (Collapse)AuthorAgeFilesLines
* Adjust ckalloc/ckfree macros to greatly reduce number of explicit casts indkf2011-03-121-12/+10
| | | rest of Tcl source code. No ABI change. API change *should* be harmless.
* Turn namespace into an ensemble. Not yet on trunk because of some mysterious ↵dkf2011-03-091-18/+18
| | | | failures that need resolving...
* Now that we're no longer using SCM based on RCS, the RCS Keyword linesdgp2011-03-021-2/+0
| | | cause more harm than good. Purged them (except in zlib files).
* Various mismatches between Tcl_Panic format string and its arguments,nijtmans2011-01-181-2/+2
| | | | discovered thanks to [Bug 3159920]
* * generic/tclCmdAH.c (TclInitFileCmd, TclMakeFileCommandSafe, ...):dkf2010-12-091-6/+37
| | | | | | | | | | | | | | | | | | Break up [file] into an ensemble. Note that the ensemble is safe in itself, but the majority of its subcommands are not. * generic/tclFCmd.c (FileCopyRename,TclFileDeleteCmd,TclFileAttrsCmd) (TclFileMakeDirsCmd): Adjust these subcommand implementations to work inside an ensemble. (TclFileLinkCmd, TclFileReadLinkCmd, TclFileTemporaryCmd): Move these subcommand implementations from tclCmdAH.c, where they didn't really belong. * generic/tclIOCmd.c (TclChannelNamesCmd): Move to more appropriate source file. * generic/tclEnsemble.c (TclMakeEnsemble): Start of code to make partially-safe ensembles. Currently does not function as expected due to various shortcomings in how safe interpreters are constructed. * tests/cmdAH.test, tests/fCmd.test, tests/interp.test: Test updates to take into account systematization of error messages.
* Code Audit results:dkf2010-03-051-14/+14
| | | | | | | | * use do { ... } while (0) in macros * avoid shadowing one local variable with another * use clearer 'foo.bar++;' instead of '++foo.bar;' where result not required (i.e., semantically equivalent) * follow Engineering Manual rules on spacing and declarations
* Pure whitespace changes, changing to follow Engineering Manual style.dkf2010-02-241-3/+3
|
* reverted earlier rename from tcl*Stubs tonijtmans2010-02-151-2/+2
| | | | | | | | tcl*ConstStubs, it's not necessary at all. tclEnsemble.c: Fix signed-unsigned mismatch make tclWinProcs "const" Add first part of mslu support, See [Feature Request #2819611]
* Reduce code nesting in [namespace ensemble] implementation.dkf2010-02-141-139/+116
|
* Hive off the ensemble code into its own file.dkf2010-02-131-0/+2965
Split the [switch] compiler for sanity's sake.