summaryrefslogtreecommitdiffstats
path: root/generic/tclCompCmdsSZ.c
Commit message (Collapse)AuthorAgeFilesLines
* Merge 8.6jan.nijtmans2022-10-211-11/+11
|\
| * Fix [d554e5554e]: fix typo “defintion”jan.nijtmans2022-10-201-51/+51
| |
* | Merge 8.6jan.nijtmans2022-08-231-1/+1
|\ \ | |/
| * Patch (8) from [37108037b9]: Code cleanups to support CHERIjan.nijtmans2022-08-231-1/+1
| |
* | Rename macro's TclListObjGetElements -> TclListObjGetElementsM and ↵jan.nijtmans2022-05-171-6/+6
| | | | | | | | TclListObjLength -> TclListObjLengthM (prevent conflict with TIP #616)
* | Merge 8.7jan.nijtmans2022-04-261-0/+3
|\ \
| * \ merge 8.6 (fixes [27520c9b17])sebres2022-04-261-0/+3
| |\ \ | | |/
| | * closes bug [27520c9b17]sebres2022-04-261-0/+3
| | |\
| | | * fixes compilation of try-command [27520c9b17]: compile only if finaly token ↵sebres2022-04-261-0/+3
| | | | | | | | | | | | | | | | is simple
* | | | Handle Tcl_GetCharLengthjan.nijtmans2022-03-161-1/+1
|/ / /
* | | 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-6/+8
| | |
| * | Eliminate many unnecessary type-casts, mostly (size_t) when value is already ↵jan.nijtmans2020-08-111-1/+1
| | | | | | | | | | | | size_t or int
* | | TIP #597 implementation: "string is unicode" and new wtf-8 encodingjan.nijtmans2021-03-101-10/+14
| | |
* | | Add -finput-charset=UTF-8 and -fextended-identifiers to gcc (and clang). All ↵jan.nijtmans2020-12-081-4/+4
| | | | | | | | | | | | C sources can now use UTF-8, as far as gcc/clang/msvc support it. Not used yet
* | | Use TCL_ERROR to signal inability to compile.dgp2020-10-271-1/+1
| | |
* | | Fix -Wshadow warnings, when compiling with a C++ compilerjan.nijtmans2020-10-021-2/+2
| | |
* | | Eliminate many usages of Tcl_NewObj (-> TclNewObj) and Tcl_NewIntObj (-> ↵jan.nijtmans2020-09-171-8/+10
| | | | | | | | | | | | TclNewIntObj or Tcl_NewWideIntObj)
* | | Make tclStringClassTable a little bit smaller, and save a pointer access ↵jan.nijtmans2020-06-191-1/+1
| | | | | | | | | | | | when accessing the name of an entry.
* | | Merge 8.6jan.nijtmans2020-05-141-17/+17
|\ \ \ | |/ /
| * | In some places, Tcl_UtfPrev()/Tcl_UtfNext() is used traversing the ↵jan.nijtmans2020-05-141-20/+20
| | | | | | | | | | | | | | | | | | 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.
| * | A few more "break" statements, so any compiler knows these are no ↵jan.nijtmans2020-01-151-0/+1
| | | | | | | | | | | | FALLTHROUGH situations.
* | | a few moredgp2020-03-171-2/+2
| | |
* | | More TCL_UNUSED().dgp2020-03-061-165/+57
| | |
* | | Merge 8.7jan.nijtmans2020-02-131-0/+1
|\ \ \
| * \ \ Merge 8.6jan.nijtmans2020-01-131-0/+1
| |\ \ \ | | |/ /
| | * | Merge 8.5jan.nijtmans2019-06-261-7/+7
| | |/
| | * Backport [bd94500678e837d7] from 8.7, preventing endless loops in UTF-8 ↵jan.nijtmans2019-03-021-1/+1
| | | | | | | | | | | | conversions when handling surrogates. Only effective when compiling with -DTCL_UTF_MAX=4|6 (default: 3). Meant for benefit of Androwish.
* | | Merge tip-548jan.nijtmans2019-08-291-10/+61
|\ \ \ | |/ /
* | | Merge tip-548jan.nijtmans2019-08-151-2/+2
|\ \ \ | |/ /
| * | Merge 8.7jan.nijtmans2019-08-141-1/+1
| |\ \
| * | | Eliminate "register" keyword _everywhere_ in Tcl. This keyword is deprecated ↵jan.nijtmans2019-07-171-4/+4
| | | | | | | | | | | | | | | | 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-1/+1
|\ \ \ \ | | |/ / | |/| |
| * | | Add some "const" keywords, in places where strings are really const.jan.nijtmans2019-07-301-1/+1
| |/ /
* | | Merge 8.7, and continue implementation. Almost donejan.nijtmans2019-07-101-29/+29
|/ /
* | And the command version of the new operators too.dkf2019-06-051-0/+44
| |
* | Make more clear that TCL_INDEX_END|TCL_INDEX_NONE not necessary are int's ↵jan.nijtmans2019-05-081-18/+18
| | | | | | | | | | (in Tcl 9 they are not). Eliminate use of (local) list_index_t type
* | merge 8.7dgp2019-04-081-1/+1
|\ \
| * | Make all internal small buffer related to Tcl_UtfBackslash() length 4, not ↵jan.nijtmans2019-03-241-1/+1
| | | | | | | | | | | | | | | TCL_UTF_MAX: For TCL_UTF_MAX=6 it was overkill, for TCL_UTF_MAX=3 not enough. Prove that this works by adding a Travis CI build configuration using TCL_UTF_MAX=3
| * | Finish complete fix, all corner-cases correct now. Also spurious UTF-8 ↵jan.nijtmans2019-02-251-1/+1
| | | | | | | | | | | | testcase failure (as seen on travis) fixed now.
* | | merge 8.7dgp2019-02-141-26/+23
|\ \ \ | |/ /
| * | More TIP #502 optimizations and improvements, preparing further for the road ↵jan.nijtmans2019-01-161-22/+19
| | | | | | | | | | | | | | | | | | to Tcl 9. No longer use INT_MAX for TCL_INDEX_AFTER, because INT_MAX can be a normal index in Tcl 9. TclGetIntForIndex now clips between -1 and INT_MAX. In Tcl 9 size_t will be used for the index data type.
| * | Internal minor optimization of TIP #502 implementation. No difference in any ↵jan.nijtmans2018-12-181-6/+6
| | | | | | | | | | | | outcome.
* | | merge 8.7dgp2018-11-191-3/+15
|\ \ \ | |/ /
| * | merge core-8-branchdkf2018-11-061-150/+193
| |\ \
| * | | Ok.. that was all it neededhypnotoad2018-02-131-1/+0
| | | |
| * | | Implemetation of tip 501.hypnotoad2018-02-131-3/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Note: The build fails with: bad stack depth computations: is 0, should be 1 Abort trap: 6 When "string is dict" is called
* | | | merge 8.7dgp2018-10-171-5/+2
|\ \ \ \ | | |/ / | |/| |
| * | | isspace -> TclIsSpaceProc in various places.jan.nijtmans2018-10-091-1/+1
| | | | | | | | | | | | Re-generate tclDate.c with Bision 3.1