summaryrefslogtreecommitdiffstats
path: root/generic/tclCompile.c
Commit message (Collapse)AuthorAgeFilesLines
* Some -1 -> TCL_INDEX_NONE. Update fossil's ignore-globjan.nijtmans2022-06-131-43/+44
|
* Fix merge conflict previous commitjan.nijtmans2022-01-171-1/+0
|
* Merge 8.6jan.nijtmans2022-01-171-0/+1
|\
| * Tcl_NewObj() -> TclNewObj()jan.nijtmans2022-01-171-2/+3
| |
* | Merge 8.6jan.nijtmans2022-01-141-1/+1
|\ \ | |/
| * Fix [816913a65e]: GrowStringBuffer(): signed integer overflow. And a few ↵jan.nijtmans2022-01-131-1/+1
| | | | | | | | similar situations in other place
| * IntRep -> InternalRep. Internal changes only.jan.nijtmans2021-10-191-2/+2
| |
* | Merge 8.7jan.nijtmans2021-10-111-2/+2
|\ \ | |/
| * Eliminate many "register" keywords (which do nothing with modern compilers)jan.nijtmans2020-09-141-1/+1
| | | | | | Eliminate many unnecessary type-casts to (unsigned)
* | Change "IntRep" to "InternalRep", as discussed in the Tcl Core mailing listjan.nijtmans2021-10-061-7/+7
| |
* | Rewrite comments for clarity and conciseness.pooryorick2021-10-041-189/+178
| |
* | Add -finput-charset=UTF-8 and -fextended-identifiers to gcc (and clang). All ↵jan.nijtmans2020-12-081-2/+2
| | | | | | | | 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-2/+3
| | | | | | | | TclNewIntObj or Tcl_NewWideIntObj)
* | Fix for [c1a376375e0e6488], imported namespace ensemble command name distortedpooryorick2020-09-011-1/+1
| | | | | | during deletion trace on the import
* | Merge 8.6. More documentation updatesjan.nijtmans2020-08-311-1/+1
|\ \ | |/
| * Implement TIP #581: Master/Slavejan.nijtmans2020-08-311-1/+1
| |
| * Eliminate many unnecessary type-casts, mostly (size_t) when value is already ↵jan.nijtmans2020-08-111-4/+4
| | | | | | | | size_t or int
* | Merge 8.6jan.nijtmans2020-05-141-3/+3
|\ \ | |/
| * In some places, Tcl_UtfPrev()/Tcl_UtfNext() is used traversing the ↵jan.nijtmans2020-05-141-31/+31
| | | | | | | | | | | | 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.
* | More TCL_UNUSED().dgp2020-03-061-12/+5
| |
* | Merge 8.7jan.nijtmans2020-01-071-1/+1
|\ \
| * | Remove type-casts in many Tcl_LinkVar() calls, which is no longer necessary ↵jan.nijtmans2020-01-071-1/+1
| | | | | | | | | | | | | | | since 8.7. Small missing piece in Tcl_LinkArray() implementation, handling (unsigned) longs on 64-bit platforms.
* | | Merge 8.7jan.nijtmans2019-09-141-0/+23
|\ \ \ | |/ /
| * | Merge 8.6jan.nijtmans2019-09-121-2/+2
| |\ \ | | |/
| | * Code cleanup: Add some initialization to "Tcl_UniChar ch" declaration, ↵jan.nijtmans2019-09-121-2/+2
| | | | | | | | | | | | | | | making the chance higher that 4-byte UTF-8 sequences are handled more reasonable internally (see: [https://core.tcl-lang.org/tk/tktview?name=a179564826|a179564826]). Use more TclGetString() in stead of Tcl_GetString(), which is slightly more efficient.
| * | merge 8.6dgp2019-09-111-0/+23
| |\ \ | | |/
| | * Expand acronym in comment.dgp2019-09-031-2/+2
| | |
| | * extends [fec0c17d39]: restrict nested compilations using same limit (interp ↵sebres2019-08-301-0/+23
| | | | | | | | | | | | | | | recursionlimit) like the evaluation, this must protect against unexpected stack exhaustion (avoid SO by deeply recursive call stack)
* | | Merge tip-548jan.nijtmans2019-09-031-18/+29
|\ \ \ | |/ /
| * | Merge 8.6jan.nijtmans2019-09-031-18/+29
| |\ \ | | |/
| | * closes [fec0c17d39]: fixed stack overflow (followed by SF) by compilation of ↵sebres2019-08-291-18/+29
| | | | | | | | | | | | too many nested bodies (don't use system stack, size of Tcl_Parse is ca. 400 bytes and compiler proc's of commands are reserving stack too)
| | * Backport [bd94500678e837d7] from 8.7, preventing endless loops in UTF-8 ↵jan.nijtmans2019-03-021-2/+2
| | | | | | | | | | | | 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-4/+7
|\ \ \ | |/ /
* | | Merge tip-548jan.nijtmans2019-08-151-30/+30
|\ \ \ | |/ /
| * | Eliminate "register" keyword _everywhere_ in Tcl. This keyword is deprecated ↵jan.nijtmans2019-07-171-30/+30
| | | | | | | | | | | | in C++ (removed in C++17, even), and essentially does nothing with most modern compilers.
* | | Merge 8.7, and continue implementation. Almost donejan.nijtmans2019-07-101-25/+25
|\ \ \ | |/ /
* | | Experiment: compile Tcl with C++ compiler. WIPjan.nijtmans2019-07-041-3/+3
|/ /
* | TIP 461: text comparison operators for [expr]dkf2019-06-151-0/+9
|\ \
| * | Start of implementation of string comparison operators.dkf2019-06-051-0/+9
| | |
* | | Eliminate (internal) TclOffset() usage, just use offsetof() in stead.jan.nijtmans2019-06-121-1/+1
|/ /
* | Compilation for [dict getwithdefault].dkf2019-04-181-0/+8
| |
* | Make all internal small buffer related to Tcl_UtfBackslash() length 4, not ↵jan.nijtmans2019-03-241-2/+2
| | | | | | | | | | 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
* | Fix [bd94500678e837d7]: SEGFAULT by conversion of unicode (out of BMP) to ↵jan.nijtmans2019-02-271-2/+2
|\ \ | | | | | | | | | byte-array
| * | Finish complete fix, all corner-cases correct now. Also spurious UTF-8 ↵jan.nijtmans2019-02-251-2/+2
| | | | | | | | | | | | testcase failure (as seen on travis) fixed now.
* | | More use of (efficient) TclHasIntRep() macro. Also eliminate many (size_t) ↵jan.nijtmans2019-02-271-5/+5
|/ / | | | | | | and (unsigned) type-casts, which don't make sense any more.
* | merge trunkdgp2017-03-171-0/+5
|\ \
| * \ Compile [clock clicks], [clock microseconds], [clock milliseconds] and ↵Kevin B Kenny2017-03-151-0/+5
| |\ \ | | |/ | | | | | | [clock seconds].
| | * Compile [clock clicks], [clock microseconds], [clock milliseconds] and ↵Kevin B Kenny2017-03-151-0/+5
| | | | | | | | | | | | [clock seconds].
* | | merge trunkdgp2016-12-231-3/+6
|\ \ \ | |/ /
| * | more internal use of size_t in stead of int.jan.nijtmans2016-12-201-3/+6
| | |