summaryrefslogtreecommitdiffstats
path: root/generic
Commit message (Collapse)AuthorAgeFilesLines
* * tests/nre.test: add missing constraints; enable test of foreachMiguel Sofer2008-09-103-5/+12
| | | | | | | | | recursion. * generic/tclBasic.c: * generic/tclCompile.h: * generic/tclExecute.c (INST_EVAL_STK): fix for [Bug 2102930], wrong numLevels when evaling a canonical list.
* Fix efficiency bug detected by Kieran Elby.dkf2008-09-101-2/+11
|
* * generic/tclCompile.c (TclCompileTokens):Miguel Sofer2008-09-082-21/+19
| | | | | | | * generic/tclExecute.c (CompileExprObj): fix a perf bug (found by Alex Ferrieux) where some variables in the LVT where not being accessed by index. Fix missing localCache management in compiled expressions found while analyzing the bug.
* * generic/tclTrace.test (TraceVarProc):Miguel Sofer2008-09-051-2/+15
| | | | | * generic/unsupported.test: insure that unset traces are run even when the coroutine is unwinding [Bug 2093947]
* * generic/tclExecute.c (CACHE_STACK_INFO):Miguel Sofer2008-09-041-2/+3
| | | | | * tests/unsupported.test: restore the execEnv's bottomPtr, fix for [Bug 2093188].
* * generic/tcl.h: Stripped "callers" of the _ANSI_ARGS_ macrodgp2008-09-031-190/+158
| | | | | | * compat/dirent2.h: to support a TCL_NO_DEPRECATED build. * compat/dlfcn.h: * unix/tclUnixPort.h:
* unbreak the build with TCL_NO_DEPRECATED defineddas2008-09-021-1/+3
|
* * generic/tcl.h: Removed the conditional #define ofdgp2008-09-021-9/+15
| | | | | | | _ANSI_ARGS_ that would support pre-prototype C compilers. Since _ANSI_ARGS_ is no longer used in tclDecls.h, it's clear no one compiling against Tcl 8.5 headers is making use of a -DNO_PROTOTYPES configuration.
* * generic/tclCmdAH.c: nre-enabling [eval]; eval scripts are nowMiguel Sofer2008-09-012-25/+32
| | | | | | | * generic/tclOOBasic.c: bytecompiled. Adapted recursion limit tests * tests/interp.test: that were relying on eval not being * tests/nre.test: compiled. Part of the [Bug 2017632] project. * tests/unsupported.test:
* Improve the semantics of C-implemented destructors slightly.dkf2008-09-012-19/+42
|
* * README: Bump version number to 8.6a3dgp2008-08-281-3/+3
| | | | | | | | | | | | * generic/tcl.h: * library/init.tcl: * tools/tcl.wse.in: * unix/configure.in: * unix/tcl.spec: * win/configure.in: * unix/configure: autoconf-2.59 * win/configure:
* * generic/tclBasic.c (InfoCoroutine):Miguel Sofer2008-08-261-1/+32
| | | | | | * tests/unsupported.test: new command that returns the FQN of the currently executing coroutine. Lives as infoCoroutine under unsupported, but is designed to become a subcommand of [info]
* * generic/tclBasic.c (NRInterpCoroutine): store the caller'sMiguel Sofer2008-08-251-2/+2
| | | | | eePtr, stop assuming the coroutine is invoked from the same execEnv where it was created.
* NRE-enable non-compiled [foreach]. [Bug 2017632]dkf2008-08-243-105/+211
|
* * generic/tclBasic.c: Removed unused var; fixed functionMiguel Sofer2008-08-234-9/+7
| | | | | | * generic/tclOOInt.h: pointer declarations (why did gcc start * generic/tclOOMethod.c: complaining all of a sudden?) * generic/tclProc.c:
* NRE-enable the ensemble creator (add extra field!)dkf2008-08-233-282/+364
| | | | Arrange for [dict for] to be NRE-enabled when not compiled. [Bug 2017632]
* Silence some warnings.dkf2008-08-231-5/+5
|
* * generic/tclBasic.c: Set special errocodes: COROUTINE_BUSY,Miguel Sofer2008-08-232-2/+6
| | | | COROUTINE_CANT_YIELD, COROUTINE_ILLEGAL_YIELD.
* * generic/tclBasic.c: Set a special COROUTINE_BUSY errorcodeMiguel Sofer2008-08-231-1/+2
|
* * generic/tcl.h: Drop use of USE_COMPAT85_CONST. That addeddgp2008-08-221-4/+2
| | | | | indirection without value. Use -DCONST86="" to engage source compat support for code written for 8.5 headers.
* * generic/tclUtil.c (TclReToGlob): Added missing set of thedgp2008-08-221-9/+15
| | | | | *exactPtr value to really fix [Bug 2065115]. Also avoid possible DString overflow.
* * generic/tclUtil.c (TclReToGlob): Added missing set of thedgp2008-08-221-1/+4
| | | | | *exactPtr value to really fix [Bug 2065115]. * tests/regexpComp.test: Correct duplicate test names.
* * generic/tclBasic.c: Previous fix, now done right.Miguel Sofer2008-08-213-55/+29
| | | | | | * generic/tclCmdIL.c: * generic/tclInt.h: * tests/unsupported.test:
* really fix translation to escape glob-sensitive charshobbs2008-08-211-13/+24
|
* * tests/regexp.test, tests/regexpComp.test: correct re2glob ***=hobbs2008-08-211-4/+3
| | | | | * generic/tclUtil.c (TclReToGlob): translation from exact to anywhere-in-string match. [Bug 2065115]
* * generic/tcl.h: Reduced the use of CONST86 and eliminateddgp2008-08-213-50/+52
| | | | | | | | | | | | * generic/tcl.decls: the use of CONST86_RETURN to support source code compatibility with Tcl 8.5 on those public routines passing (Tcl_Filesystem *), (Tcl_Timer *), and (Tcl_Objtype *) values which have been const-ified. What remains is the minimum configurability needed to support code written for pre-8.6 headers via the new -DUSE_COMPAT85_CONST compiler directive. *** POTENTIAL INCOMPATIBILITY *** * generic/tclDecls.h: make genstubs
* parts of last commit were not saved :}Miguel Sofer2008-08-211-4/+15
|
* * generic/tclBasic.c: Fix the cmdFrame level count inMiguel Sofer2008-08-213-9/+34
| | | | | * generic/tclCmdIL.c: coroutines. Fix small bug on coroutine * generic/tclInt.h: rewind.
* Added disassembly of TclOO methods.dkf2008-08-211-136/+227
|
* Align variable naming and typing a bit better with tclNamesp.c.dkf2008-08-211-10/+10
|
* Added casts to make MSVC happy and re-enable the debug build.patthoyts2008-08-202-4/+4
|
* Fix performance bug introduced by fix of [Bug 2037727]dkf2008-08-205-21/+53
|
* General whitespace/style policingdkf2008-08-201-281/+271
|
* Squelch warningdkf2008-08-201-2/+2
|
* Remove pointless castsdkf2008-08-201-3/+3
|
* * generic/tclTest.c (TestconcatobjCmd): fix use of internal-onlydas2008-08-201-3/+9
| | | | | TclInvalidateStringRep macro. [Bug 2057479]
* * generic/tclBasic.c: Implementation of [coroutine] and [yield]Miguel Sofer2008-08-175-20/+572
| | | | | | | | * generic/tclCmdAH.c: commands (in tcl::unsupported). * generic/tclCompile.h: * generic/tclExecute.c: * generic/tclInt.h: * tests/unsupported.test:
* * generic/tclTest.c (TestconcatobjCmd):Miguel Sofer2008-08-172-7/+284
| | | | | | | | | | * generic/tclUtil.c (Tcl_ConcatObj): * tests/util.test (util-4.7): fix [Bug 1447328]; the original "fix" turned Tcl_ConcatObj() into a hairy monster. This was exposed by [Bug 2055782]. Additionally, Tcl_ConcatObj could corrupt its input under certain conditions! *** NASTY BUG FIXED ***
* fix last commitMiguel Sofer2008-08-161-1/+4
|
* * generic/tclExecute.c: better cmdFrame managementMiguel Sofer2008-08-161-7/+5
|
* remove overlooked old TCL_DTRACE_PROC_ENTRYdas2008-08-141-9/+1
|
* fix unused variable warnings when USE_DTRACE is not defineddas2008-08-141-4/+4
|
* #define DTraceCmdReturn when USE_DTRACE is not defineddas2008-08-141-1/+3
|
* typodas2008-08-141-2/+4
|
* * generic/tclBasic.c (TclNREvalObjv, Tcl_NRCallObjProc): DTrace probesdas2008-08-144-34/+243
| | | | | | | | | | | | | * generic/tclProc.c (TclNRInterpProcCore, InterpProcNR2): for NRE. [Bug 2017160] * generic/tclBasic.c (TclDTraceInfo): add two extra arguments to * generic/tclCompile.h: DTrace 'info' probes for tclOO * generic/tclDTrace.d: method & class/object info. * generic/tclCompile.h: add support for debug logging of DTrace * generic/tclBasic.c: 'proc', 'cmd' and 'inst' probes (does _not_ require a platform with DTrace).
* * generic/tclCmdIL.c (TclInfoFrame): check fPtr->line beforedas2008-08-141-2/+4
| | | | | | dereferencing as line info may not exists when TclInfoFrame() is called from a DTrace probe.
* * unix/tclUnixThrd.c: remove unused TclpThreadGetStackSize()das2008-08-131-2/+1
| | | | | | * generic/tclInt.h: and related ifdefs and autoconf tests. * unix/tclUnixPort.h: [Bug 2017264] (jenglish) * unix/tcl.m4:
* * generic/tclFileName.c: Fix for errors handling -types {}dgp2008-08-131-1/+5
| | | | | * tests/fileName.test: option to [glob]. [Bug 1750300] Thanks to Matthias Kraft and George Peter Staplin.
* * generic/tclOOInfo.c (InfoObjectDefnCmd, InfoObjectMixinsCmd):hobbs2008-08-121-3/+3
| | | | fix # args displayed. [Bug 2048676]
* * generic/tclOOMethod.c (PushMethodCallFrame): Added missing checkdgp2008-08-121-3/+6
| | | | for bytecode validity. [Bug 2037727]