summaryrefslogtreecommitdiffstats
path: root/generic/tclCompile.h
Commit message (Collapse)AuthorAgeFilesLines
* TIP #597 implementation: "string is unicode" and new wtf-8 encodingjan.nijtmans2021-03-101-1/+2
|
* Merge 8.6. Remove tests/safe-stock86.test for win builds too (GIT, what are ↵jan.nijtmans2020-09-111-3/+3
|\ | | | | | | you doing ...!)
| * Fix [https://core.tcl-lang.org/tk/tktview?name=3bc0f44ef3|3bc0f44ef3]: UBSan ↵jan.nijtmans2020-09-111-3/+3
| | | | | | | | | | complains about body.chars[] usage. (Yes, I know, this one is for Tk, but Tcl was using the same construct too ....)
| * Add /* FALLTHRU */ markers in various places (silencing possible GCC ↵jan.nijtmans2019-08-281-4/+4
| | | | | | | | warnings). Eliminate some more "register" keywords. Eliminate (or silence) some unused function parameters.
| * merge 8.6(.9), conflicts resolvedsergey.brester2019-02-071-1/+3
| |\
| * | add missing compile functionality (TclPreserveByteCode/TclReleaseByteCode ↵sebres2017-05-091-0/+19
| | | | | | | | | | | | back-ported as inline from trunk)
* | | Make tclStringClassTable a little bit smaller, and save a pointer access ↵jan.nijtmans2020-06-191-1/+1
| | | | | | | | | | | | when accessing the name of an entry.
* | | Eliminate "register" keyword usage from all header-files (and also ↵jan.nijtmans2019-07-251-2/+2
| | | | | | | | | | | | corresponding implementations).
* | | Eliminate "catch" as variable-name, is a keyword in C++. Also add some ↵jan.nijtmans2019-06-301-1/+1
| | | | | | | | | | | | type-casts, making it more C++-friendly.
* | | Start of implementation of string comparison operators.dkf2019-06-051-1/+7
| | |
* | | Compilation for [dict getwithdefault].dkf2019-04-181-1/+3
| | |
* | | 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.
* | | Add entry for Tcl_StaticPackage in internal stub table, since the public one ↵jan.nijtmans2018-11-151-1/+1
| | | | | | | | | | | | | | | is deprecated and will be removed in 9.0 Clean-up a lot of type-casts, which are not necessary any more.
* | | merge 8.7dgp2018-10-181-1/+1
|\ \ \
| * \ \ Merge 8.6jan.nijtmans2018-09-281-1/+1
| |\ \ \ | | | |/ | | |/|
| | * | Another patch contributed by Gustaf Neumann: shifting negative numbers is ↵jan.nijtmans2018-09-281-1/+1
| | | | | | | | | | | | | | | | | | | | undefined behavior in the C standard https://stackoverflow.com/questions/8415895/is-left-and-right-shifting-negative-integers-defined-behavior
* | | | merge 8.7dgp2018-03-101-7/+2
|\ \ \ \ | |/ / /
| * | | [db36fa5122] Upgrade the index value parsing and encoding machinery. ↵dgp2018-03-101-7/+2
| |\ \ \ | | |/ / | | | | | | | | 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-2/+2
| | | |
| | * | Refactor the index value encode/decode machinery for broader use.dgp2018-03-091-9/+0
| | | | | | | | | | | | Make use of it to fix index value flaws in [lsearch].
| | * | Establish 4 symbols for categories of parsed index values:dgp2018-03-071-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
| | * | try to fix [db36fa5122]: better compiled variants of several indices-related ↵sebres2018-03-061-2/+4
| | | | | | | | | | | | | | | | commands, test-cases extended
* | | | merge 8.7dgp2018-03-051-0/+7
|\ \ \ \ | |/ / /
| * | | merge 8.6dgp2018-03-011-0/+7
| |\ \ \ | | |/ /
| | * | Refactor to eliminate duplicate routine parsing tokens as indices.dgp2018-03-011-0/+7
| | |/
* | | merge 8.7dgp2017-12-191-2/+2
|\ \ \ | |/ /
| * | Make TclEnsureNamespace() MODULE_SCOPE. Also change some refCount fields ↵jan.nijtmans2017-12-191-2/+2
| | | | | | | | | | | | from type "int" to "unsigned int" for increased range.
| * | 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 trunkdgp2017-05-151-12/+12
|\ \ \ | |/ /
| * | merge core-8-6-branchjan.nijtmans2017-05-091-12/+12
| |\ \ | | |/
| | * Let local variables declared from within macro's always start with ↵jan.nijtmans2017-05-091-12/+12
| | | | | | | | | | | | underscore, this fixes some gcc warnings with -Wshadow.
* | | merge trunkdgp2017-03-171-1/+3
|\ \ \ | |/ /
| * | Compile [clock clicks], [clock microseconds], [clock milliseconds] and ↵Kevin B Kenny2017-03-151-1/+3
| |\ \ | | |/ | | | | | | [clock seconds].
| | * Compile [clock clicks], [clock microseconds], [clock milliseconds] and ↵Kevin B Kenny2017-03-151-1/+3
| | | | | | | | | | | | [clock seconds].
* | | merge trunkdgp2017-02-161-1/+1
|\ \ \ | |/ /
| * | More internal use of size_t in stead of int, e.g. for epoch'sjan.nijtmans2017-02-151-1/+1
| | |
* | | merge trunkdgp2016-11-281-1/+1
|\ \ \ | |/ /
| * | Make compileEpoch "unsigned int", and start counting at 1.jan.nijtmans2016-11-241-1/+1
| | |
* | | merge trunkdgp2016-09-081-26/+4
|\ \ \ | |/ /
| * | Fix [d4e7780ca1681cd095dbd81fe264feff75c988f7|d4e7780ca1]: "global" cmd ↵jan.nijtmans2016-09-071-26/+4
| |\ \ | | |/ | | | | | | literal sharing vs. per-interp resolvers
| | * Some patch clean-up, no change in functionalityjan.nijtmans2016-09-051-2/+2
| | |
| | * Proposed patch for [d4e7780ca1681cd095dbd81fe264feff75c988f7|d4e7780ca1], by ↵jan.nijtmans2016-09-021-2/+3
| | | | | | | | | | | | Gustaf Neumann
* | | more revisionsdgp2016-04-291-0/+10
| | |
* | | merge trunkdgp2016-04-291-2/+3
|\ \ \ | |/ /
| * | Parameterize TclInitByteCodeObj to callers sense of typePtr.dgp2016-04-291-2/+2
| | |
| * | Make obj-free bytecode maker available to rest of compile-related files.dgp2016-04-291-0/+1
| | |
* | | repair mergedgp2016-04-221-0/+7
|/ /
* | Refactor bytecode cleanup.dgp2016-04-221-1/+2
|/
* More places where unsigned quantities should be decared such.dgp2016-03-221-1/+1
|
* Don't compare signed and unsigned. Get types right.dgp2016-03-221-2/+2
|