summaryrefslogtreecommitdiffstats
path: root/generic/tclInt.h
Commit message (Collapse)AuthorAgeFilesLines
* With no callers left, TclIsLocalScalar() is removed.dgp2014-12-191-1/+0
|
* 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
|\
| * 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
| | |\
| * | \ 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.
| * | | [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.
| * \ \ \ Simplify the core output operations of channels. Reduce duplicative and dead ↵dgp2014-02-041-0/+2
| |\ \ \ \ | | | | | | | | | | | | | | | | | | code.
| * \ \ \ \ 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); ^
| | | * | | | | | | | | Remove TclInitStubTable() function (but keep it in the "initsubsystems" branch).jan.nijtmans2013-06-251-8/+0
| | | | | | | | | | | |
| | | * | | | | | | | | Modify internal TclStubInfoType type: use TclStubs * in stead of ↵jan.nijtmans2013-06-211-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ClientData, so less type casts are needed in the code. Disadvantage: somewhat more code duplication, but it makes the code much more understandable.
| | | * | | | | | | | | Better place to put vsnprintf switch, so it is usable by all *.c files. jan.nijtmans2013-06-181-2/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix comment on _ANSI_ARGS_ which is no longer true since 8.6.
| | | * | | | | | | | | On 32-bit platforms, 12 characters for version is enough, on 64-bit ↵jan.nijtmans2013-06-171-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | platforms it will be aligned to 16 characters anyway.
| | | * | | | | | | | | split off TclInitStubTable() as separate function - which does the actual ↵jan.nijtmans2013-06-161-0/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | stub table initialization - previously part of Tcl_InitStubs().