summaryrefslogtreecommitdiffstats
path: root/generic
Commit message (Collapse)AuthorAgeFilesLines
* * 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]
* * generic/tclProc.c (TclProcCompileProc): On recompile ofdgp2008-08-121-1/+25
| | | | | | a proc, clear away any entries on the CompiledLocal list from the previous compile. This will prevent compile of temporary variables in the proc body from growing the localCache arbitrarily large.
* * README: Bump version number to 8.6a2dgp2008-08-121-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/tclProc.c (Tcl_ProcObjCmd): Fixed memory leak triggeredandreas_kupries2008-08-111-3/+23
| | | | | | * tests/proc.test: by procbody::test::proc. See [Bug 2043636]. Added a test case demonstrating the leak before the fix. Fixed a few spelling errors in test descriptions as well.
* made variable Tcl_ChannelType *parentType in TransFormSeek(Wide)?Proc a ↵nijtmans2008-08-101-3/+3
| | | | | | | const. This variable is only used in a Tcl_Channel(Wide)?SeekProc call, where it is handled as a const, so we might as well consider it a const a few lines earlier.
* remove unused varsMiguel Sofer2008-08-101-3/+1
|
* * generic/tclProc.c: completely removed ProcCompileProc, which wasMiguel Sofer2008-08-101-85/+4
| | | | | | a fix for [Bug 1482718]. This is not needed at least since varReform, where the local variable data at runtime is read from the CallFrame and/or the LocalCache.
* * generic/tclBasic.c: slight cleanupMiguel Sofer2008-08-093-51/+64
| | | | | * generic/tclCompile.h: * generic/tclExecute.c:
* (PushMethodCallFrame): fix uninitialized efi name fielddas2008-08-091-1/+2
|