summaryrefslogtreecommitdiffstats
path: root/generic/tclInt.h
Commit message (Collapse)AuthorAgeFilesLines
* improve LocalizeFormat, internal caching of localized formats inside msgcat ↵sebres2017-01-101-0/+1
| | | | | | for locale and format objects smart reference introduced in dict (smart pointer with 0 object reference but increase dict-reference, provide changeable locale dict)
* missing entry of tclInt.h addedsebres2017-01-091-0/+3
|
* 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/]
| * - Undo unix notifier changes: too risky at this moment. jan.nijtmans2016-03-251-1/+3
| |\ | |/ |/| | | - Merge trunk - (cherry-pick from dhr-micro-optimization): Micro-optimization: remove double checked lock from TclGetAllocCache in favour of initialization in TclInitSubsystems
| * (experiment) Use TclpMasterLock() in stead of a separate notifierInitMutex. ↵jan.nijtmans2016-03-211-0/+1
|/ | | | One less mutex to be worried about.
* Make function TclDisassembleByteCodeObj() static, since it is only used in a ↵jan.nijtmans2016-01-181-2/+0
| | | | single source file.
* Put the file location information that Tcl has into the disassembled code. ↵dkf2016-01-181-1/+2
| | | | Important for tclquadcode.
* Cherrypick [812a81812ebf89d2416059d45fabd27e45603f5e|812a81812e]: Turn off ↵jan.nijtmans2015-11-221-1/+3
| | | | NRE asserts by default. About a 5% speedup on [clock format].
* Expose some of the TclBN operations through the internal API, so clients of ↵dkf2015-10-281-6/+1
| | | | the bignum code don't need to use tclTomMath.h directly.
* Fix [5d170b5ca5e12743006d737c79f959f3efabc644|5d170b5ca5]: checkin ↵jan.nijtmans2015-09-241-3/+0
|\ | | | | | | 9f8b7bea5344f1b0 broke netbsd's thread notifier
| * Fix [5d170b5ca5e12743006d737c79f959f3efabc644|5d170b5ca5]: checkin ↵jan.nijtmans2015-09-241-3/+0
| |\ | | | | | | | | | 9f8b7bea5344f1b0 broke netbsd's thread notifier
| | * merge trunk. jan.nijtmans2015-08-191-3/+0
| |/ |/| | | Remove now unused internal functions.
* | Fix bug [57945b574a6df0332efc4ac96b066f7c347b28f7|57945b574a]: lock in ↵jan.nijtmans2015-07-231-0/+3
|\ \ | |/ | | | | forking process under heavy multithreading. Thanks to Joe Mistachkin for the implementation of the fix, and Gustaf Neumann for the original report and testing the fix.