summaryrefslogtreecommitdiffstats
path: root/generic/tclInt.h
Commit message (Collapse)AuthorAgeFilesLines
* cleaning up option processing throughout Tcl to use common functions/languagedkf2014-06-231-0/+8
|
* 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
| | |
* | | merge main working branchdkf2014-01-071-1/+0
|\ \ \ | |/ /
| * | make function static once more; not needed outside of source filedkf2014-01-071-1/+0
| | |
* | | merge main working branchdkf2014-01-021-0/+4
|\ \ \ | |/ /
| * | merge main working branchdkf2013-12-301-164/+140
| |\ \
| * \ \ merge main dev branchdkf2013-01-031-1/+1
| |\ \ \
| * \ \ \ merge main dev branchdkf2012-11-051-0/+21
| |\ \ \ \
| * \ \ \ \ merge dkf-compile-misc-infodkf2012-11-021-0/+6
| |\ \ \ \ \
| * | | | | | Working towards a BCCed [next].dkf2012-11-011-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | This version <i>almost</i> works, except for a problem with restoring the context namespace upon return (which produces very strange results!)
* | | | | | | merge main working branchdkf2013-12-301-164/+140
|\ \ \ \ \ \ \ | | |_|_|_|/ / | |/| | | | |
| * | | | | | implement [namespace origin] in bytecodedkf2013-12-301-0/+3
| | | | | | |
| * | | | | | merge trunkdkf2013-12-231-1/+8
| |\ \ \ \ \ \
| | * | | | | | Making the optimizer pluggable by extensions; please review for committing ↵mig_tmp_optimizemig2013-12-181-1/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | to trunk
| * | | | | | | simple compilation of [string replace]dkf2013-12-121-0/+3
| | | | | | | |
| * | | | | | | merge trunkdkf2013-11-191-2/+3
| |\ \ \ \ \ \ \ | | |/ / / / / /
| | * | | | | | Revert [3c0b0bbda6]. If this really is a problem, it needs to get fixed by ↵max2013-11-181-2/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | other means than covering behind void pointers.
| * | | | | | | Now do [string toupper], [string tolower] and [string totitle]. Only handles ↵dkf2013-10-291-0/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | the no-indices case; that's the only case anyone actually commonly uses.
| * | | | | | | First step in compiling [concat]: the trivial cases.dkf2013-10-241-0/+3
| | | | | | | |
| * | | | | | | Added 'linsert' compiler. Factored out constant list index parser.dkf2013-10-051-0/+3
| | | | | | | |
| * | | | | | | First attempt at [string trim] compilation.dkf2013-09-301-0/+9
| |/ / / / / /
| * | | | | | [219226]: Rewrote how ::env is synchronized to the environment so it no longerdkf2013-09-271-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | smashes the array or its elements flat, This affects traces on env, links to env, and iterations over env: it makes them work as naïvely expected.
| * | | | | | New internal eval flag value so that all TclNREvalObjv() callers thatbug_2502002dgp2013-08-291-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | pre-resolve command names can choose whether or not TclNREvalObjv() should attempt to re-do the resolution from objv[0] when something goes wrong.
| * | | | | | merge trunkdgp2013-08-141-63/+50
| |\ \ \ \ \ \
| | * | | | | | Consolidate some helper routines.dgp_bye_ctx_eval_flagdgp2013-08-141-2/+0
| | | | | | | |
| | * | | | | | Use a new flag value TCL_EVAL_SOURCE_IN_FRAME passed in by callers todgp2013-08-121-5/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | determine whether the pre-subst source information in a CmdFrame is to be used. This takes the place of numLevels cross checking, so that field is removed. Routines are consolidated as well.
| | * | | | | | Arrange for both execution traces and [info frame] to get their pre-substdgp2013-08-101-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | source strings from a common routine, with care taken to reduce copying by that routine.
| | * | | | | | All use of the evalFlag value TCL_EVAL_CTX is unused by the code anddgp2013-08-061-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | unreachable by extensions. This checkin removes all the code supporting that flag value. The consequence is that all the calls to TclNREvalObjEx() and its callers that are currently choosing not to pass the TCL_EVAL_DIRECT flag in when they pass in a non-NULL invoker will no longer be free to change their mind. That might be reason not to adopt this change.
| | * | | | | | Drop TCL_LOCATION_EVAL_LIST now that it is unused.dgp_bye_location_eval_listdgp2013-08-061-4/+0
| | | | | | | |
| | * | | | | | Eliminate the union that is no longer needed.dgp2013-08-061-6/+2
| | | | | | | |
| | * | | | | | The value TCL_LOCATION_EVAL_LIST in the type field of a CmdFrame appears todgp2013-08-061-22/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | exist only for the sake of taking great pains to make sure that pure list values remain pure list values. The value of pure list values is no longer what it once was. For a long long time now, any canonical list values have been equally good. This branch is Work In Progress eliminating the complication of the additional type value. Currently some minor botches are breaking execution tracing tests.
| | * | | | | | Eliminate the litInfo table and all the code tending to its care and feeding.dgp2013-07-161-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The pc -> command index mapping function it provided can be achieved using other data already in the ByteCode struct.
| | * | | | | | Fix compiler warning when compiling Itcl 4.0:jan.nijtmans2013-07-031-3/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In file included from ./generic/itcl2TclOO.c:12:0: /Tcl/include/tclInt.h:3012:8: warning: ‘struct addrinfo’ declared inside parameter list [enabled by default] const char **errorMsgPtr); ^