summaryrefslogtreecommitdiffstats
path: root/generic/tclInt.h
Commit message (Collapse)AuthorAgeFilesLines
* Add TCL_NORETURN attribute to TclpThreadExit() and Tcl_ExitThread()jan.nijtmans2017-03-241-1/+1
|
* If Tcl is compiled with -DTCL_NO_DEPRECATED, make sure that ↵jan.nijtmans2017-03-171-0/+10
| | | | iPtr->(resultSpace|appendResult|appendAvl|appendUsed) are not used any more.
* Compile [clock clicks], [clock microseconds], [clock milliseconds] and ↵Kevin B Kenny2017-03-151-0/+6
|\ | | | | | | [clock seconds].
| * Compile [clock clicks], [clock microseconds], [clock milliseconds] and ↵Kevin B Kenny2017-03-151-0/+6
| | | | | | | | [clock seconds].
* | Make 'clock' and 'encoding' into compilable ensembles that play with safe ↵Kevin B Kenny2017-03-141-4/+2
|\ \ | |/ | | | | interps
| * Make 'clock' and 'encoding' into compilable ensembles that play with safe ↵kbk_clock_encoding_ensemblesKevin B Kenny2017-03-141-0/+1
| | | | | | | | interps
| * Make 'clock' and 'encoding' into proper compilable ensemblesKevin B Kenny2017-03-141-4/+1
| |
* | Eliminate internal use of ↵jan.nijtmans2017-03-131-26/+0
| | | | | | | | TclNewBooleanObj()/TclSetBooleanObj()/TclSetIntObj(). Replace Tcl_DbNewBooleanObj() with trivial macro.
* | More internal use of size_t in stead of int, e.g. for epoch'sjan.nijtmans2017-02-151-6/+6
| |
* | In TclGetNumberFromObj() macro (tclExecute.c): Don't fill in type if ↵jan.nijtmans2017-02-031-5/+4
| | | | | | | | | | TCL_ERROR is returned: The caller doesn't do anything with this. Don't access (non-const) variable tclEmptyStringRep any more, use its value (&tclEmptyString) directly. Only keep it in tclPkg.c, for error checking.
* | If TCL_NO_DEPRECATED is defined, remove the "case" statement, and use much ↵jan.nijtmans2017-01-251-0/+2
| | | | | | | | less interp->result. Implementation mostly taken over from "novem". If TCL_NO_DEPRECATED is not defined, nothing changes.
* | Introduce new function TclInitThreadAlloc(), symmetric with ↵notifierjan.nijtmans2017-01-131-0/+1
| | | | | | | | TclFinalizeThreadAlloc()
* | TIP [http://www.tcl.tk/cgi-bin/tct/tip/459|459] implementation, but (for ↵jan.nijtmans2017-01-041-0/+5
|\ \ | | | | | | | | | now) without the "source -nopkg" part.
| * \ Bring back stub table in original state.jan.nijtmans2016-12-081-2/+6
| |\ \ | | | | | | | | Merge trunk
| * | | Complete implementation, tests and documentationjan.nijtmans2016-11-281-0/+1
| | | |
| * | | Starting implementing the "package files" command. TIP still to be written.jan.nijtmans2016-11-241-0/+1
| | | |
* | | | Eliminate the internal macro/function TclNewIntObj: In all cases ↵jan.nijtmans2016-12-231-9/+2
| |/ / |/| | | | | | | | TclNewLongObj is just as good.
* | | Created a new "proper bytearray" Tcl_ObjType so we can use bytearraysdgp2016-12-011-2/+1
| | | | | | | | | as bytearrays without all this fussing about over purity.
* | | Route all [string repeat] operations through a common implementation.dgp2016-11-301-0/+2
|/ / | | | | | | | | Code that to preserve bytearrays, eliminate unnecessary string rep generation, increase efficiency, and encapsulate access to internal rep details.
* | Make compileEpoch "unsigned int", and start counting at 1.jan.nijtmans2016-11-241-1/+1
| |
* | Use more "size_t" in stead of "int" internall. Also eliminate a lot of ↵jan.nijtmans2016-11-161-13/+13
| | | | | | | | type-casts which are not necessary any more.
* | Route all [string last] operations through a common implementation.dgp2016-11-081-1/+3
| |
* | First draft refactoring the [string first] functionality.dgp2016-11-041-0/+2
| |
* | WIPdgp2016-10-281-2/+3
| |
* | Start bringing all `string cat` operations into one place so it can be codeddgp2016-10-271-0/+2
| | | | | | correctly one time instead of badly multiple times.
* | Fix [d4e7780ca1681cd095dbd81fe264feff75c988f7|d4e7780ca1]: "global" cmd ↵jan.nijtmans2016-09-071-4/+6
|\ \ | |/ | | | | literal sharing vs. per-interp resolvers
| * Proposed patch for [d4e7780ca1681cd095dbd81fe264feff75c988f7|d4e7780ca1], by ↵jan.nijtmans2016-09-021-4/+6
| | | | | | | | Gustaf Neumann
* | [0363f0146c] Fix [array startsearch] id handling to support var name variationsdgp2016-07-191-1/+0
| |
* | New private flag value INDEX_TEMP_TABLE.dgp2016-07-131-0/+9
| | | | | | | | | | | | | | Used to signal to Tcl_GetIndexFromObj*() routines that the table in which lookups are done has a fleeting existence. Thus there is no value in caching any results, since the cache can never be useful. Improvement over existing hackery where cache is stored and then freed to avoid bogus results. Likely candidate to eventually push to the public interface.
* | Make hash type changable by compiling with -DTCL_HASH_TYPE=size_t (for ↵jan.nijtmans2016-07-121-1/+1
| | | | | | | | example). Default (unsigned) cannot be changed in Tcl 8.x, that must wait until Tcl 9.
* | merge 8.6dgp2016-07-091-0/+15
|\ \ | |/
| * [1493a43044] Make [namespace upvar] ignore variable resolvers; the previous ↵dkf2016-07-091-0/+15
| |\ | | | | | | | | | situation was completely unintuitive.
| | * Expose the AVOID_RESOLVERS flag to [namespace upvar] implementations, which ↵bug_1493a43044dkf2016-07-071-0/+15
| | | | | | | | | | | | seem to need it.
* | | Merge core-8-6-branch: jan.nijtmans2016-07-071-2/+2
|\ \ \ | |/ / | | | | | | | | | | | | | | | New tests to demo the remaining flaw in ensemble dispatch revisions. Itcl 4 also demonstrated these [bd7f17bce8] Revise ensemble dispatch to call TclNREvalObjv() which supports the TCL_EVAL_INVOKE Simplify all the Tcl_NRPostProc declarations Create and use a utility Tcl_NRPostProc when decr ref count of values is all that is needed Bugfix [5d7ea04580]. Treat .cmd and .ps1 files are executable on Windows
| * | Create and use a utility Tcl_NRPostProc when decr ref count of values isdgp2016-07-061-0/+1
| | | | | | | | | all that is needed.
| * | Simplify all the Tcl_NRPostProc declarations.dgp2016-07-061-2/+1
| |/
* | [4402cfa58c] Rework the spell check machinery into something that will not ↵dgp2016-07-011-21/+5
|\ \ | |/ | | | | be foiled by value sharing.
| * The EnsembleCmdRep struct that is the internal rep for caching ensembledgp2016-07-011-17/+0
| | | | | | dispatches and spelling corrections can now be file static.
| * [4402cfa58c] Rework the spell check machinery into something that will not bedgp2016-07-011-1/+4
| | | | | | foiled by value sharing.
| * Encapsulate the fetching of the ensemble rewrite root, used by [namespace].dgp2016-07-011-0/+2
| |
| * merge 8.6dgp2016-06-281-1/+2
| |\
| * | Don't see why the intrep should make and keep copies of things alreadydgp2016-05-121-5/+3
| | | | | | | | | stored in the hash table.
| * | Remove the nsPtr field from the EnsembleCmdRep struct. Cannot see anydgp2016-05-121-2/+0
| | | | | | | | | justification for keeping it (can get via token), and test suite doesn't care.
* | | Disable special hacks for Itcl 3 ensemble error message generation.dgp2016-07-011-0/+13
| | | | | | | | | Migration paths are in place to bring this to an end.
* | | Fix [e14c77b845] for MSVC6: Compilation error over typedefjan.nijtmans2016-06-091-3/+2
|\ \ \ | | |/ | |/|
| * | Fix [e14c77b845] for MSVC6: Compilation error over typedefjan.nijtmans2016-06-091-3/+2
| | |
* | | Fix [e14c77b845]: Compilation error over typedef.jan.nijtmans2016-06-021-1/+3
|\ \ \ | |/ /
| * | Fix [e14c77b845]: Compilation error over typedef.jan.nijtmans2016-06-021-1/+3
| |/
* | Rename UtfCount() to TclUtfCount() and use it in more places. Suggested by ↵jan.nijtmans2016-04-051-0/+1
| | | | | | | | pspjuth here: [e99a79a32650e7e5]
* | Two micro-optimizations in Win and UNIX notifier. See: ↵jan.nijtmans2016-04-011-0/+1
|\ \ | |/ |/| | | [http://code.activestate.com/lists/tcl-core/15645/]