summaryrefslogtreecommitdiffstats
path: root/generic/tclEnsemble.c
Commit message (Collapse)AuthorAgeFilesLines
* Use TclDuplicatePureObj() in stead of TclListObjCopy() where appropriate. ↵jan.nijtmans2023-05-311-1/+5
| | | | Backported from 9.0
* More int/Tcl_Size backportjan.nijtmans2023-05-201-36/+37
|
* Correct spelling errors in comments and documentation, but also a non-comment pooryorick2023-04-121-1/+1
| | | corrections in history.tcl and tcltest.test.
* Reduce shimmering: If a conclusion can be drawn about the number of list ↵jan.nijtmans2022-11-281-2/+10
| | | | elements, don't get the elements before the list length is checked
* Merge 8.6jan.nijtmans2022-10-211-14/+14
|\
| * Fix [d554e5554e]: fix typo “defintion”jan.nijtmans2022-10-201-14/+14
| |
* | More TclGetStringFromObj() usagejan.nijtmans2022-07-211-173/+159
| |
* | Don't use TCL_HASH_TYPE for epoch/refCount type variables, keep it the same ↵jan.nijtmans2022-06-241-1/+1
| | | | | | | | as it was in Tcl 8.6
* | Rename macro's TclListObjGetElements -> TclListObjGetElementsM and ↵jan.nijtmans2022-05-171-19/+19
| | | | | | | | TclListObjLength -> TclListObjLengthM (prevent conflict with TIP #616)
* | Merge 8.6jan.nijtmans2022-02-101-6/+6
|\ \ | |/
| * Use TclListObjLength/TclListObjGetElements in stead of ↵jan.nijtmans2022-02-101-6/+6
| | | | | | | | Tcl_ListObjLength/Tcl_ListObjGetElements everywhere. This is slightly more efficient if the refered list already has the correct type
| * Tcl_NewObj() -> TclNewObj()jan.nijtmans2022-01-171-3/+5
| |
| * Merge fixes for [ccc448a6bfd5], namespace ensemble subcommand name prefixpooryorick2021-09-021-1/+19
| | | | | | matching and a subsequent error results in a segmentation fault.
* | Change "IntRep" to "InternalRep", as discussed in the Tcl Core mailing listjan.nijtmans2021-10-061-12/+12
| |
* | Backport fixes for [ccc448a6bfd5], namespace ensemble subcommand name prefixpooryorick2021-09-021-1/+19
| | | | | | matching and a subsequent error results in a segmentation fault.
* | Fix for issue [e39cb3f462631a99], namespace is removed from other namespacepooryorick2021-05-181-2/+2
| | | | | | paths before deletion is complete
* | Add -finput-charset=UTF-8 and -fextended-identifiers to gcc (and clang). All ↵jan.nijtmans2020-12-081-1/+1
| | | | | | | | C sources can now use UTF-8, as far as gcc/clang/msvc support it. Not used yet
* | Eliminate many usages of Tcl_NewObj (-> TclNewObj) and Tcl_NewIntObj (-> ↵jan.nijtmans2020-09-171-3/+5
| | | | | | | | TclNewIntObj or Tcl_NewWideIntObj)
* | Fix for [c1a376375e0e6488], imported namespace ensemble command name distortedpooryorick2020-09-011-4/+4
| | | | | | during deletion trace on the import
* | Merge 8.6jan.nijtmans2020-05-141-3/+3
|\ \ | |/
| * In some places, Tcl_UtfPrev()/Tcl_UtfNext() is used traversing the ↵jan.nijtmans2020-05-141-6/+6
| | | | | | | | | | | | individual bytes of a string searching for '(', ')', '::' or other single bytes. It is overkill to use Tcl_UtfPrev/Tcl_UtfNext for that, since those characters can only appear as their ASCII byte, not as any other sequence. This effectively removes the last Tcl_UtfNext() call from the core, the only ones left are in tclTest.c for test commands. So the TclUtfNext() macro doesn't make sense any more. Remove "register" keyword from many files.
| * Merge 8.5jan.nijtmans2019-06-261-4/+4
| |
* | (no comment)dgp2020-03-061-6/+3
| |
* | Merge tip-548jan.nijtmans2019-08-291-3/+6
|\ \
* \ \ Merge tip-548jan.nijtmans2019-08-151-2/+2
|\ \ \ | |/ /
| * | Merge 8.7jan.nijtmans2019-08-141-3/+3
| |\ \
| * | | Eliminate "register" keyword _everywhere_ in Tcl. This keyword is deprecated ↵jan.nijtmans2019-07-171-3/+3
| | | | | | | | | | | | | | | | in C++ (removed in C++17, even), and essentially does nothing with most modern compilers.
* | | | Merge 8.7. Continue implementation for win32jan.nijtmans2019-08-021-3/+3
|\ \ \ \ | | |/ / | |/| |
| * | | Add some "const" keywords, in places where strings are really const.jan.nijtmans2019-07-301-3/+3
| |/ /
* | | Merge 8.7, and continue implementation. Almost donejan.nijtmans2019-07-101-27/+27
|/ /
* | merge 8.6dgp2019-06-171-1/+5
|\ \ | |/
| * Fix Bug 8b9854c3d8. Now 4 test failures require examination.dgp2019-06-131-1/+5
| |
* | More use of (efficient) TclHasIntRep() macro. Also eliminate many (size_t) ↵jan.nijtmans2019-02-271-2/+2
| | | | | | | | and (unsigned) type-casts, which don't make sense any more.
* | New internal macro TclFetchIntRep, which is faster than Tcl_FetchIntRep. jan.nijtmans2019-01-281-1/+1
| | | | | | But ... don't use this function when the result is only compared to NULL: that's just overkill.
* | Merge 8.6jan.nijtmans2018-11-291-12/+25
|\ \ | |/
| * Make the type casting in TclSpellFix less horrific. It's still bad, but it ↵dkf2018-11-281-16/+35
| | | | | | | | is no longer ghastly.
| * Add TCL_CREATE_NS_IF_UNKNOWN back into Tcl_CreateEnsemble().pooryorick2018-02-151-5/+1
| |
| * Fix segmentation fault in TclOO that was noted in [16fe1b5807]. Updatepooryorick2018-02-141-0/+3709
| | | | | | coroutine and TclOO object creation routines to use TclCreateObjCommandInNs.
| * Lift the restriction on command names names that begin with ":".pooryorick2018-02-141-3696/+0
| |
* | merge 8.7dgp2018-10-181-21/+20
|\ \
| * \ merge core-8-branchdkf2018-09-041-333/+557
| |\ \
| * \ \ merge trunkdkf2013-07-261-126/+69
| |\ \ \
| * | | | Added a mechanism for discovering the "type" of a command.dkf2013-07-071-21/+20
| | | | |
* | | | | merge 8.7dgp2018-05-241-51/+57
|\ \ \ \ \ | | |_|/ / | |/| | |
| * | | | General code style cleanup.dkf2018-05-131-51/+57
| | | | |
* | | | | merge 8.7dgp2017-12-191-1/+1
|\ \ \ \ \ | |/ / / /
| * | | | Revert a few more (int -> size_t) transitions, which could effect extensions ↵jan.nijtmans2017-12-151-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | (such as Itcl 3.4) which use internal Tcl header files. Better wait until 9.0 for this. What we _can_ do is change some (internal) fields to 'unsigned': that doubles the epoch range without further danger. Thanks, Don, for pointing this out!
* | | | | merge 8.7dgp2017-12-061-114/+116
|\ \ \ \ \ | |/ / / /
| * | | | [4f6a1ebd64] Stop crash when same value passed to the -map and -subcommands ↵dgp2017-12-051-114/+116
| |\ \ \ \ | | | | | | | | | | | | | | | | | | options of ensemble configuration.
| | * | | | [4f6a1ebd64] Stop crash when same value passed to the -map and -subcommands ↵dgp2017-12-051-154/+173
| | | | | | | | | | | | | | | | | | | | | | | | options of ensemble configuration.