summaryrefslogtreecommitdiffstats
path: root/generic/tclEnsemble.c
Commit message (Collapse)AuthorAgeFilesLines
* 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). FossilOrigin-Name: c64f310d38b977e7ae26a48bcf8bb8c50e453af7
* Various mismatches between Tcl_Panic format string and its arguments,nijtmans2011-01-181-2/+2
| | | | | | discovered thanks to [Bug 3159920] FossilOrigin-Name: 964a1a5a57cc4c71eb25da444d9f804bac32e8d4
* * 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. FossilOrigin-Name: 264ccb78f6fab91cf8c37d3c2f2126be9f368fe3
* 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 FossilOrigin-Name: 4d8a4f639d28df5b5dfabd407be8efbb44454601
* Pure whitespace changes, changing to follow Engineering Manual style.dkf2010-02-241-3/+3
| | | FossilOrigin-Name: c81eddebbb969209a42ab4c210dd62f3080909d4
* 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] FossilOrigin-Name: 0d29245dd5206eba5211a17216e65982d0be8923
* Reduce code nesting in [namespace ensemble] implementation.dkf2010-02-141-139/+116
| | | FossilOrigin-Name: f7436e0a2ccd0333e8c1250a895782fcc1c8ea56
* Hive off the ensemble code into its own file.dkf2010-02-131-0/+2965
Split the [switch] compiler for sanity's sake. FossilOrigin-Name: 4fbc57ea60546fdd2cda8d91ef9ac6203bc67c33