summaryrefslogtreecommitdiffstats
path: root/generic/tclInt.h
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* 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.
| * 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.
| | * merge trunkbug_57945b574a_without_stubjan.nijtmans2015-07-151-19/+19
| | |\ | |_|/ |/| |
| | * Rename the new API to TclMutexUnlockAndFinalize as it is not platform-specific.Joe Mistachkin2015-06-171-1/+1
| | |
| | * Change Tcl_MutexUnlockAndFinalize() to internal function ↵jan.nijtmans2015-06-161-0/+1
| | | | | | | | | | | | TclpMutexUnlockAndFinalize(). This does not require a TIP, and still should fix the reported bug.
| | * Merge updates from trunk.Joe Mistachkin2015-05-171-1/+2
| | |\
| | * | Draft fix for a potential race condition in the new ↵Joe Mistachkin2015-05-171-0/+2
| | | | | | | | | | | | | | | | Tcl_MutexUnlockAndFinalize API. Not yet tested.
* | | | Don't use internalRep.otherValuePtr any more, twoPtrValue.ptr1 is always a ↵jan.nijtmans2015-07-011-2/+2
| | | | | | | | | | | | | | | | | | | | better idea. A few more consistancies in refcount management.
* | | | Member field which should not have been const, because it is dynamically ↵jan.nijtmans2015-06-231-17/+17
|\ \ \ \ | |/ / / | | | / | |_|/ |/| | allocated. Some end-of-line spacing in header files.
| * | With no callers left, TclIsLocalScalar() is removed.dgp2014-12-191-1/+0
| | |
* | | Reduce the list walking by keeping lastPtr fields.zippy_fifodgp2015-04-161-1/+2
| |/ |/|
* | Eliminate TclIsLocalScalar(). No callers left.dgp2014-12-231-1/+0
| |
* | Rework the *FinalizeThread*() routines so that the quick exit preferencebug_af08e89777dgp2014-12-171-1/+1
| | | | | | | | is respected without need to run afoul of encoding finalizations. tests pass now. All changes are fully internal.
* | [d2ffcca163] Limit parsing results that are documented to accept only ASCII ↵dgp2014-12-051-0/+1
|\ \ | |/ | | | | chars to actually follow that constraint. This requires not trusting isalnum(.) and isalpha(.) to deliver portable identical results.
| * Stop using isalnum(.). Its results are not portable. Replace with ourdgp2014-12-041-0/+1
| | | | | | own private routine TclIsBareword() that does exactly what we want.
| * Backport the cheaper Preserve/Release on channels.dgp2014-08-011-0/+2
| |\
| * \ merge 8.5dgp2014-05-011-0/+18
| |\ \
| | * | Fix more corner-cases like ↵jan.nijtmans2014-05-011-0/+18
| | | | | | | | | | | | | | | | [0e92c404f19ede5b2eb06e6db27647d3138cc56|0e92c404f1]: The only place where a type of &tclByteArrayType can be trusted is when determining its length, because the character length of a (UTF-8) string is always equal to the byte length of the byte array.
| * | | merge 8.5dgp2014-04-241-0/+1
| |\ \ \ | | |/ /
* | | | comment fixdgp2014-09-251-1/+1
| | | |
* | | | [84af1192f5]: [regsub] compiler no longer confused by quantification handling.dkf2014-09-091-1/+2
| | | |
* | | | TIP 429 Implementation: [string cat]ferrieux2014-08-021-0/+3
| |_|/ |/| |
* | | Reduce the cost of Preserve/Release on channelsdgp2014-07-301-0/+2
| | |
* | | Improved the error messages. dkf2014-06-071-0/+4
| | | | | | | | | | | | We do not want parsing an invalid dictionary to give errors about lists! As compensation, we get greater precision in the errorcode.
* | | Possible fix for [47d66253c92197d30bff280b02e0a9e62f07cee2|47d66253c9]: ↵bug_47d66253c9jan.nijtmans2014-05-121-0/+24
| | | | | | | | | | | | "lsearch -sorted -integer" on 64bit system
* | | merge trunkdgp2014-04-241-0/+1
|\ \ \
| * \ \ [3493120] Plug memory leak in thread exit.dgp2014-04-241-0/+1
| |\ \ \ | | | |/ | | |/|
| | * | Memory leak after thread exit, fixed (alloc cache released by exit), belong ↵sebres2014-04-221-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | to ticket [3493120] Moved over to branch bug-3493120. This is not ready for the core-8-5-branch. Segfaults all over the place in a thread-enabled build on a CentOS system.
* | | | Merge the checkins of the dgp-read-bytes branch onto the trunk, up todgp2014-03-231-0/+2
|\ \ \ \ | |/ / / |/| | / | | |/ | |/| | | | and including checkin a1e82fb63e . Do not merge checkin bae1c688f2 which starts to take the dgp-read-bytes branch into directions apparently unfriendly to stacked channels, which tests for [chan push] on the trunk help us to detect.
| * | merge 8.5dgp2014-02-121-0/+1
| |\ \ | | |/
| * | Revised ReadChars to restore an attempt to make sure we do not short readdgp_may_be_pointlessdgp2014-02-061-0/+2
| | | | | | | | | | | | | | | because of a false notion of limited storage space. The test suite does not appear to demonstrate any case where this matters. Could be an incomplete test suite, or an example of pointless code.
| * | merge 8.5dgp2014-02-061-0/+2
| |\ \
| * | | Backport of bytearray append machinery to support bug fixes in ReadBytes.dgp2014-01-211-0/+2
| | | |
* | | | [a4494e28ed] Use flag bit instead of NULL pointer to suppressdgp2014-02-061-0/+1
|\ \ \ \ | | |_|/ | |/| | | | | | | | | | | | | | teardown list of imported commands when the original command gets re-created. This prevents the panic otherwise possible when the invalid state represented by the NULL pointer is encountered during a command delete trace.
| * | | Change the flag value to avoid merge conflict with trunk.dgp2014-02-061-1/+1
| | | |
| * | | [a4494e28ed] Use flag bit instead of NULL pointer to suppress teardown list ofdgp2014-02-061-0/+1
| | |/ | |/| | | | | | | | | | imported commands when the original command gets re-created. This prevents the panic otherwise possible when the invalid state represented by the NULL pointer is encountered during a command delete trace.
* | | Simplify the core output operations of channels. Reduce duplicative and dead ↵dgp2014-02-041-0/+2
|\ \ \ | |/ / | | | | | | code.
| * | Refactor WriteChars() and WriteBytes() into simple wrappers of a commondgp2014-01-301-0/+2
| |/ | | | | routine Write().
* | merge principal development branchdkf2014-01-251-0/+6
|\ \
| * | implementation of [yieldto] in bytecodedkf2014-01-211-0/+3
| | |
| * | added compilation for [nextto]dkf2014-01-191-0/+3
| | |