summaryrefslogtreecommitdiffstats
path: root/generic/tclCompCmdsGR.c
Commit message (Collapse)AuthorAgeFilesLines
* More int -> Tcl_Size (backported from 9.0)jan.nijtmans2023-10-101-10/+10
|
* Correct spelling errors in comments and documentation, but also a non-comment pooryorick2023-04-121-3/+3
| | | corrections in history.tcl and tcltest.test.
* Deprecate TclpHasSockets(): Every system nowadays has socketsjan.nijtmans2022-11-071-10/+15
|
* Rewrite lreplace4 implementation not to need extra immediate operands.apnadkarni2022-11-031-172/+38
|
* Bytecode compiler for leditapnadkarni2022-10-301-69/+118
|
* New bytecode implementation for lreplaceapnadkarni2022-10-301-138/+53
|
* New bytecode for linsertapnadkarni2022-10-301-36/+5
|
* Implement lreplace4 BCC instructionapnadkarni2022-10-301-0/+69
|
* Merge 8.6jan.nijtmans2022-10-211-1/+1
|\
| * Fix [d554e5554e]: fix typo “defintion”jan.nijtmans2022-10-201-34/+34
| |
| * Tcl_NewObj() -> TclNewObj()jan.nijtmans2022-01-171-9/+10
| |
* | 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
* | Merge 8.6jan.nijtmans2020-10-261-1/+1
|\ \ | |/
| * Fix [48898ab5f6a0d957]: Too few is better than not enough? (Inconsistent ↵jan.nijtmans2020-10-261-1/+1
| | | | | | | | error messages)
* | Merge 8.6jan.nijtmans2020-09-281-1/+1
|\ \ | |/
| * Make Tcl compile warning-free using -Wshadowjan.nijtmans2020-09-281-1/+1
| |
| * Eliminate many "register" keywords (which do nothing with modern compilers)jan.nijtmans2020-09-141-1/+1
| | | | | | Eliminate many unnecessary type-casts to (unsigned)
* | Eliminate many usages of Tcl_NewObj (-> TclNewObj) and Tcl_NewIntObj (-> ↵jan.nijtmans2020-09-171-9/+10
| | | | | | | | TclNewIntObj or Tcl_NewWideIntObj)
* | Merge 8.6jan.nijtmans2020-05-141-21/+21
|\ \ | |/
| * In some places, Tcl_UtfPrev()/Tcl_UtfNext() is used traversing the ↵jan.nijtmans2020-05-141-21/+21
| | | | | | | | | | | | 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-2/+2
| |
* | More TCL_UNUSED().dgp2020-03-061-107/+37
| |
* | Merge tip-548jan.nijtmans2019-08-291-4/+41
|\ \
* \ \ 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-1/+1
|/ /
* | Make more clear that TCL_INDEX_END|TCL_INDEX_NONE not necessary are int's ↵jan.nijtmans2019-05-081-24/+24
| | | | | | | | | | (in Tcl 9 they are not). Eliminate use of (local) list_index_t type
* | More use of (efficient) TclHasIntRep() macro. Also eliminate many (size_t) ↵jan.nijtmans2019-02-271-1/+1
| | | | | | | | and (unsigned) type-casts, which don't make sense any more.
* | More TIP #502 optimizations and improvements, preparing further for the road ↵jan.nijtmans2019-01-161-12/+12
| | | | | | | | | | | | 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.
* | Implementation of TIP 505: Make [lreplace] Accept All Out-of-Range Index Valuesdkf2018-09-271-55/+4
|\ \ | |/
| * Rest of TIP 505 implementation -- mostly undoing dumb things.dgp2018-03-261-56/+4
| |
| * Work in progress implementing TIP 505.dgp2018-03-261-0/+1
| |
* | Purge end-of-line spacingjan.nijtmans2018-08-021-2/+2
| |
* | General code style cleanup.dkf2018-05-131-21/+23
| |
* | [db36fa5122] Upgrade the index value parsing and encoding machinery. ↵dgp2018-03-101-253/+148
|\ \ | |/ | | | | Refactor many systems to make consistent use of it. Repairs many indexing errors in corner cases.
| * Update the command compilers and bytecode execution engine to use new machinery.dgp2018-03-091-109/+19
| |
| * Stop failing error ordering tests in compiled [lreplace].dgp2018-03-081-18/+31
| |
| * Rollback the stealth change to [lreplace a 1 1] in Tcl 8.6.6. [409ea17e37].dgp2018-03-081-203/+77
| | | | | | Scratch rewrite of the [lreplace] compiler.
| * Establish 4 symbols for categories of parsed index values:dgp2018-03-071-52/+64
| | | | | | | | | | | | | | | | | | | | TCL_INDEX_START = 0 The start index. TCL_INDEX_END = -2 The "end" index. TCL_INDEX_BEFORE = -1 All indices less than start. TCL_INDEX_AFTER = INT_MAX All indices greater than "end". Then use these symbols among callers of TclGetIndexFromToken() so that index value parsing can directly implement the callers sense of when out of range indices ought to be treated the same as start or end positions.
| * Rework TclGetIndexFromToken to make use of TclGetEndOffsetFromObj, anddgp2018-03-071-22/+73
| | | | | | to lay out the index value encoding cases.
| * Incorporate sebres work on the same ticket. Good stuff!dgp2018-03-071-11/+46
| |\
| | * try to fix [db36fa5122]: better compiled variants of several indices-related ↵sebres2018-03-061-11/+46
| | | | | | | | | | | | commands, test-cases extended
* | | Merge 8.6jan.nijtmans2018-03-071-3/+22
|\ \ \ | |/ /
| * | various bits of ranting commentarydgp2018-03-061-3/+22
| |/
* | merge 8.6dgp2018-03-011-32/+43
|\ \ | |/
| * Some comments info for the next folks who come wandering in.dgp2018-03-011-1/+13
| |
| * Refactor to eliminate duplicate routine parsing tokens as indices.dgp2018-03-011-31/+30
| |
* | Fix [d4e7780ca1681cd095dbd81fe264feff75c988f7|d4e7780ca1]: "global" cmd ↵jan.nijtmans2016-09-071-1/+1
|\ \ | |/ | | | | literal sharing vs. per-interp resolvers
* | Micro-optimization: Use TclGetStringFromObj in stead of Tcl_GetStringFromObj ↵jan.nijtmans2016-07-081-2/+2
|/ | | | in many places where possible.
* [47ac84309b] Import of aspect's branch from his personal repository on ↵dkf2016-03-301-7/+40
| | | | chiselapp.