summaryrefslogtreecommitdiffstats
path: root/generic/tclInt.h
Commit message (Collapse)AuthorAgeFilesLines
* New internal routines TclScanElement() and TclConvertElement().dgp2011-05-101-2/+6
|\ | | | | Rewritten guts of machinery to produce string rep of lists. [Bug 3173086]
| * Completed patch with mucho comments. Merge 8.5.bug_3173086dgp2011-05-101-3/+29
| |
| * Significant rewrite of the Tcl*(Scan|Convert)*Element() system, and revisionsdgp2011-03-031-0/+4
| | | | | | | | to the callers. Needs more work on comments, and testing to check for any performance impact in either direction. Fixes reported bug.
* | fix USE_TCLALLOC so that it can be enabled without editing the Makefilemig2011-05-071-0/+7
|\ \
| * \ fix USE_TCLALLOC so that it can be enabled without editing the Makefilemig2011-05-071-0/+7
| |\ \
| | * | fix USE_TCLALLOC so that it can be enabled without editing the Makefilemig2011-05-071-0/+7
| | | |
| | * | fix for [Bug 3288345]: Wrong Tcl_StatBuf used on MinGW. Follow-up: get it ↵jan2011-04-201-1/+1
| | | | | | | | | | | | | | | | right for cygwin and WIN64 as well.
* | | | Replace TclCountSpaceRuns() with TclMaxListLength() which is the function wedgp2011-05-021-2/+2
|\ \ \ \ | |/ / / | | | | actually want.
| * | | Replace TclCountSpaceRuns() with TclMaxListLength() which is the function wedgp2011-05-021-2/+2
| | | | | | | | | | | | actually want.
* | | | New utility routines: TclIsSpaceProc() and TclCountSpaceRuns()dgp2011-04-281-0/+3
|\ \ \ \ | |/ / / | | | | Use to replace calls to isspace() and their /* INTL */ risk.
| * | | New utility routines: TclIsSpaceProc() and TclCountSpaceRuns()dgp2011-04-281-0/+3
| | | | | | | | | | | | Use to replace calls to isspace() and their /* INTL */ risk.
* | | | TclFreeIntRep() correction & cleanup.dgp2011-04-271-3/+4
| | | |
* | | | Use macro to set List intrepsdgp2011-04-211-0/+6
|\ \ \ \ | |/ / /
| * | | Use macro to set List intrepsdgp2011-04-211-0/+6
| | | |
* | | | Limits on list length were too strict. Revised panics to errors where possible.dgp2011-04-211-0/+3
|\ \ \ \ | |/ / /
| * | | Limits on list length were too strict. Revised panics to errors where possible.dgp2011-04-211-0/+3
| | | |
* | | | Define and use macros that test whether a Tcl list value is canonical.dgp2011-04-181-0/+6
|\ \ \ \ | |/ / /
| * | | Define and use macros that test whether a Tcl list value is canonical.dgp2011-04-181-0/+6
| | | |
* | | | [Bug 3285375]: Rewrite Tcl_Concat*() and [string trim*].dgp2011-04-131-0/+4
|\ \ \ \ | |/ / /
| * | | [Bug 3285375]: Rewrite Tcl_Concat*() and [string trim*].dgp2011-04-131-0/+4
| | | |
* | | | remove one level of allocator indirection in non-memdebug builds, imported ↵mig2011-03-211-0/+6
|\ \ \ \ | | | | | | | | | | | | | | | from mig-alloc-reform.
| * | | | fix last commitmig2011-03-211-3/+3
| | | | |
| * | | | remove one level of indirection in non-mem-debug buildsmig2011-03-211-0/+6
| | | | |
| * | | | some cleanup re obj deletionmig2011-03-211-7/+0
| | | | |
| * | | | get purify and native to build by removing ref to ckalloc and friendsmig2011-03-191-3/+3
| | | | |
| * | | | getting aPURIFY to build?mig2011-03-181-0/+1
| | | | |
| * | | | remove TclpAlloc and friends from internal stubsmig2011-03-181-96/+95
| | | | |
| * | | | move the allocator stuff to the end of tclInt.h, in order not to interfere ↵mig2011-03-181-95/+96
| | | | | | | | | | | | | | | | | | | | with tclIntDecls.h
| * | | | New function TclAllocMaximize(). Let tclListObj.c find out the real ↵mig2011-03-181-0/+2
| | | | | | | | | | | | | | | | | | | | allocated size, thus reducing the number of reallocs. It's good to avoid the interplay between List and Alloc both doubling just-in-case.
| * | | | development branch for allocator changesmig2011-03-181-217/+93
|/ / / /
* | | | Turn namespace into an ensemble. Not yet on trunk because of some mysterious ↵dkf2011-03-091-5/+2
| | | | | | | | | | | | | | | | failures that need resolving...
* | | | * generic/tclInt.h: Remove TclMarkList() routine, an experimentaldgp2011-03-081-3/+0
|\ \ \ \ | |/ / / | | | | * generic/tclUtil.c: dead-end from the 8.5 alpha days.
| * | | * generic/tclInt.h: Remove TclMarkList() routine, an experimentaldgp2011-03-081-3/+0
| | |/ | |/| | | | * generic/tclUtil.c: dead-end from the 8.5 alpha days.
* | | merge trunkdogeen_assembler_branchKevin B Kenny2011-03-051-15/+13
|\ \ \
| * | | Renamed struct TEOV_callback to the more descriptive NRE_callback.Miguel Sofer2011-03-051-13/+13
| | | |
| * | | Now that we're no longer using SCM based on RCS, the RCS Keyword linesdgp2011-03-021-2/+0
| |\ \ \ | | |/ / | | | | cause more harm than good. Purged them (except in zlib files).
| | * | Now that we're no longer using SCM based on RCS, the RCS Keyword lines causedgp2011-03-021-2/+0
| | |\ \ | | | |/ | | | | more harm than good. Purged them.
| | | * Now that we're no longer using SCM based on RCS, the RCS Keyword lines causedgp2011-03-011-2/+0
| | | | | | | | | | | | more harm than good. Purged them.
| | | * [Bug 3030870] make itcl 3.x built with pre-8.6 work in 8.6:nijtmans2010-07-251-4/+1
| | | | | | | | | | | | | | | | revert tclInt.h to what it was before, and relax the relation between Tcl_CallFrame and CallFrame.
| | | * [Bug 3030870] make itcl 3.x built with pre-8.6 work in 8.6nijtmans2010-07-171-1/+4
| | | |
| | | * * generic/tclBasic.c (Tcl_CreateInterp, Tcl_EvalTokensStandard,andreas_kupries2009-08-251-2/+60
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | EvalTokensStandard, Tcl_EvalEx, EvalEx, TclAdvanceContinuations, TclEvalObjEx): * generic/tclCmdMZ.c (Tcl_SwitchObjCmd, ListLines): * generic/tclCompCmds.c (*): * generic/tclCompile.c (TclSetByteCodeFromAny, TclInitCompileEnv, TclFreeCompileEnv, TclCompileScript): * generic/tclCompile.h (CompileEnv): * generic/tclInt.h (ContLineLoc, Interp): * generic/tclObj.c (ThreadSpecificData, ContLineLocFree, TclThreadFinalizeObjects, TclInitObjSubsystem, TclContinuationsEnter, TclContinuationsEnterDerived, TclContinuationsCopy, TclContinuationsGet, TclFreeObj): * generic/tclProc.c (TclCreateProc): * generic/tclVar.c (TclPtrSetVar): * tests/info.test (info-30.0-22): Extended parser, compiler, and execution with code and attendant data structures tracking the positions of continuation lines which are not visible in script's, to properly account for them while counting lines for #280, during direct and compiled execution.
| | | * * generic/tclBasic.c (DeleteInterpProc,TclArgumentBCEnter,andreas_kupries2009-07-141-12/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | TclArgumentBCRelease, TclArgumentGet): * generic/tclCompile.c (EnterCmdWordIndex, TclCleanupByteCode, TclInitCompileEnv, TclCompileScript): * generic/tclCompile.h (ExtCmdLoc): * generic/tclExecute.c (TclExecuteByteCode): * generic/tclInt.h (ExtIndex, CFWordBC): * tests/info.test (info-39.0): Backport of some changes made to the Tcl head, to handle literal sharing better. The code here is much simpler (trimmed down) compared to the head as the 8.4 branch is not bytecode compiling whole files, and doesn't compile eval'd code either. Reworked the handling of literal command arguments in bytecode to be saved (compiler) and used (execution) per command (See the TCL_INVOKE_STK* instructions), and not per the whole bytecode. This removes the problems with location data caused by literal sharing in proc bodies. Simplified the associated datastructures (ExtIndex is gone, as is the function EnterCmdWordIndex).
| | | * Backport fix for [Bug 1028264]: WSACleanup() too early. The fix introduces ↵ferrieux2009-04-271-1/+5
| | | | | | | | | | | | | | | | "late exit handlers" for similar late process-wide cleanups.
| | | * * generic/tclBasic.c: Reworked the handling of bytecode literalsandreas_kupries2008-07-221-1/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * generic/tclCompile.c: for #280 to fix the abysmal performance * generic/tclCompile.h: for deep recursion, replaced the linear * generic/tclExecute.c: search through the whole stack with * generic/tclInt.h: another hashtable and simplified the data structure used by the compiler (array instead of hashtable). Incidentially this also fixes the memory leak reported via [Bug 2024937].
| | | * * generic/tclBasic.c: Extended the existing TIP #280 system (infoandreas_kupries2008-07-211-3/+38
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * generic/tclCmdAH.c: frame), added the ability to track the * generic/tclCompCmds.c: absolute location of literal procedure * generic/tclCompile.c: arguments, and making this information * generic/tclCompile.h: available to uplevel, eval, and * generic/tclInterp.c: siblings. This allows proper tracking of * generic/tclInt.h: absolute location through custom (Tcl-coded) * generic/tclNamesp.c: control structures based on uplevel, etc. * generic/tclProc.c:
| | | * * generic/tclDTrace.d (new file): add DTrace provider for Tcl; allowsdas2007-09-131-3/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * generic/tclCompile.h: tracing of proc and command entry & * generic/tclBasic.c: return, bytecode execution, object * generic/tclExecute.c: allocation and more; with essentially * generic/tclInt.h: zero cost when tracing is inactive; * generic/tclObj.c: enable with --enable-dtrace configure * generic/tclProc.c: arg (disabled by default, will only * unix/Makefile.in: enable if DTrace is present). * unix/configure.in: [Patch 1793984] * macosx/Makefile: enable DTrace support. * unix/configure: autoconf-2.13
| | | * ensure WORDS_BIGENDIAN redefinition is consistent with autoconf definitiondas2007-08-231-2/+2
| | | |
| | | * * generic/tclInt.h: TclFinalizeThreadAlloc() is always defined,dgp2007-05-101-2/+2
| | | | | | | | | | | | | | | | so make sure it is also always declared.
| | | * * generic/tclInt.decls: Yet another round of attemptingKevin B Kenny2007-04-211-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * generic/tclInt.h: to get the correct type signature * unix/tclUnixPort.h: for TclpLocaltime and TclpGmtime. * unix/tclUnixTime.c: CONST TclpTime_t is a 'time_t *CONST' * win/tclWinTime.c: and not a 'CONST time_t*'! * generic/tclIntDecls.h: [Bug 1677275] * generic/tclIntPlatDecls.h: Regenerated.
| | | * * generic/tclBasic.c: TIP #280 implementation, conditional on the define ↵andreas_kupries2006-11-281-2/+164
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | TCL_TIP280. * generic/tclCmdAH.c: * generic/tclCmdIL.c: * generic/tclCmdMZ.c: * generic/tclCompCmds.c: * generic/tclCompExpr.c: * generic/tclCompile.c: * generic/tclCompile.h: * generic/tclExecute.c: * generic/tclIOUtil.c: * generic/tclInt.h: * generic/tclInterp.c: * generic/tclNamesp.c: * generic/tclObj.c: * generic/tclProc.c: * tests/compile.test: * tests/info.test: * tests/platform.test: * tests/safe.test: