summaryrefslogtreecommitdiffstats
path: root/generic
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* fix warningsdas2008-08-091-17/+18
|
* generic/tclExecute.c formatting only: remove spaces at the end of a every ↵nijtmans2008-08-073-57/+57
| | | | | | | | | | | | | | | line generic/tclConfig.c make the internal cfg variable const. generic/tclTrace.c add a "const" keyword, allowing the "traceSubCmds[]" array to be placed by the C- compiler in a code segment in stead of a data segment Those harmless changes are as a preparation for a future change proposal. Unfortunately, my (Eclipse) editor automatically removes spaces at the end of every line. Creating a patch for this proposal should not contain unrelated harmless changes, so therefore this separate check-in. No change in functionality. No risk.
* small modif of last commitMiguel Sofer2008-08-071-10/+7
|
* * generic/tclBasic.c: Fix tailcalls falling out of tebc intoMiguel Sofer2008-08-073-12/+27
| | | | | * generic/tclExecute.c: Tcl_EvalEx [Bug 2017946] * generic/tclInt.h:
* * generic/tclOO.c: Revised TclOO's check for an interpdgp2008-08-061-2/+2
| | | | | | | | | | being deleted during handling of object command deletion. The old code was relying on documented features of command delete traces that do not in fact work. [Bug 2039178]. * tests/oo.test (oo-26.*): Added tests that demonstrate failure of TclOO to check for various kinds of invalid bytecode during method dispatch. [Bug 2037727].
* * generic/tclVar.c (TclLookupSimpleVar): fix bug that the coreMiguel Sofer2008-08-061-3/+2
| | | | | | could not trigger before TclOO: the number of locals was being read from the Proc, which can under some circumstance be out of sync with the localCache's.
* * generic/tclExecute.c: Fix for [Bug 2038069] by dgp.Miguel Sofer2008-08-051-2/+3
| | | | * tests/execute.test:
* fix "bad stack top" bug in last commitMiguel Sofer2008-08-041-1/+5
|
* duh ... committed only the ChangeLog entry, not the restMiguel Sofer2008-08-044-67/+77
|
* * generic/tclExecute.c: Stopped faulty double-logging of errors todgp2008-08-041-1/+11
| | | | | | * tests/execute.test: stack trace when a compile epoch bump triggers fallback to direct evaluation of commands in a compiled script. [Bug 2037338]
* made function staticMiguel Sofer2008-08-032-4/+3
|
* remove unneeded declarationMiguel Sofer2008-08-031-2/+1
|
* * generic/tclBasic.c: new unsupported command atProcExitMiguel Sofer2008-08-036-111/+180
| | | | | | | | | * generic/tclCompile.h: that shares the implementation with * generic/tclExecute.c: tailcall. Fixed a segfault in * generic/tclInt.h: tailcalls. Tests added. * generic/tclInterp.c: * generic/tclNamesp.c: * tests/unsupported.test:
* * doc/Exit.3: do not call Tcl_Finalize implicitlyhobbs2008-08-011-3/+4
| | | | | | | * generic/tclEvent.c: on DLL_PROCESS_DETACH as it may lead * win/tclWin32Dll.c (DllMain): to issues and the user should be explicitly calling Tcl_Finalize before unloading regardless. Clarify the docs to note the explicit need in embedded use.
* * generic/tclBasic.c: Revised timing of the CmdFrame stack managementdgp2008-08-011-12/+17
| | | | | | | | * tests/info.test: in TclEvalEx so that the CmdFrame will still be on the stack at the time Tcl_LogCommandInfo is called to append another level of -errorinfo information. Sets the stage to add file and line data to the stack trace. Added test to check that [info frame] functioning remains unchanged by the revision.
* tclNRE.h die die diedas2008-07-311-0/+0
|
* nr-enabling [for]; [while] made to reuse [for]'s infrastructure.Miguel Sofer2008-07-314-82/+99
|
* nr-enabling [while]Miguel Sofer2008-07-313-25/+52
|
* nr-enabling [if]Miguel Sofer2008-07-313-7/+18
|
* * generic/tclBasic.c: NR-enabling [catch]Miguel Sofer2008-07-313-6/+34
| | | | | | * generic/tclCmdAH.c: * generic/tclInt.h: * tests/NRE.test: