summaryrefslogtreecommitdiffstats
path: root/generic/tclTrace.c
Commit message (Collapse)AuthorAgeFilesLines
* merge trunk. jan.nijtmans2013-02-271-42/+2
|\ | | | | Implement Tcl_VarTraceInfo and Tcl_UpVar as macro.
| * Some VOID -> void, Tcl_TraceVar -> Tcl_TraceVar2 and Tcl_VarTraceInfo -> ↵jan.nijtmans2013-02-271-2/+4
| | | | | | | | Tcl_VarTraceInfo2 conversions.
* | Merge trunk. jan.nijtmans2013-02-221-32/+0
|\ \ | |/ | | Convert Tcl_UntraceVar to macro, calling Tcl_UntraceVar2 in stead. No change of functionality.
* | Merge trunk. jan.nijtmans2013-02-201-38/+0
|\ \ | |/ | | Convert Tcl_SetVar/Tcl_UnsetVar/Tcl_GetVar/Tcl_TraceVar to macros, calling the *2 variants of the function. No change of functionality.
* | Merge trunk. jan.nijtmans2013-02-191-1/+5
|\ \ | |/ | | Tranform Tcl_SaveResult/Tcl_RestoreResult/Tcl_DiscardResult to macros, and remove them from the stub table
| * Fix bug #2438181: Incorrect error reporting in traces. jan.nijtmans2013-02-191-1/+5
| |\ | | | | | | Test-case and fix provided by Poor Yorick.
| | * revert mangling with "code" variable. This caused unrelated var.test failures.jan.nijtmans2013-02-191-3/+3
| | |
| | * Fix bug #2438181: Incorrect error reporting in traces. jan.nijtmans2013-02-191-3/+7
| | | | | | | | | Test-case and fix provided by Poor Yorick.
* | | more Tcl_NewIntObj/Tcl_NewBooleanObj -> Tcl_NewLongObj conversionsjan.nijtmans2013-02-111-1/+1
| | |
* | | merge trunkjan.nijtmans2013-01-251-1/+1
|\ \ \ | |/ / | | | Add -Wwrite-strings to compiler options, so we can guarantee correct "const" usage.
| * | Eliminate some unneeded usages of Tcl_SetResult, Tcl_AddObjErrorInfojan.nijtmans2013-01-251-1/+1
| | | | | | | | | Fix "make test-packages" on cygwin
* | | Convert Tcl_Eval and Tcl_GlobalEval to a macrojan.nijtmans2013-01-171-2/+2
| | |
* | | remove unnecessary struct names, which only pollute the "struct" namespace ↵jan.nijtmans2012-08-201-1/+1
|/ / | | | | | | for te compiler.
* | more result generation conversiondkf2012-08-031-2/+3
| |
* | converting to using Tcl_Obj API for error message generation; part donedkf2012-08-031-8/+11
| |
* | Factor out a number of common patterns of use of Tcl_DStringAppend.dkf2012-07-031-11/+11
| |
* | make some more internal tables constjan.nijtmans2012-04-231-1/+1
|\ \ | |/
| * make some more internal tables constjan.nijtmans2012-04-231-2/+2
| |
* | fix for [Bug 3484621], take 3mig2012-02-061-3/+2
|\ \ | |/
| * fix for [Bug 3484621], take 3mig2012-02-061-3/+2
| |
* | fix for [Bug 3484621], take 2mig2012-02-061-8/+9
|\ \ | |/
| * fix for [Bug 3484621], take 2mig2012-02-061-8/+9
| |
* | Fix for [Bug 3484621]: insure that execution traces on bytecoded commands ↵mig2012-02-061-0/+19
|\ \ | |/ | | | | bump the interp's compile epoch.
| * Fix for [Bug 3484621]: insure that execution traces on bytecoded commandsmig2012-02-061-0/+19
| | | | | | bump the interp's compile epoch.
* | Merg [3148192] implementation fix, and caveat commentjan.nijtmans2011-06-201-0/+10
|\ \ | |/
| * 3062331 Caveat added to comments.dgp2011-06-171-0/+10
| |
* | More generation of error codes ([format], [after], [trace], RE optimizer).dkf2011-04-041-0/+8
| |
* | Adjust ckalloc/ckfree macros to greatly reduce number of explicit casts indkf2011-03-121-28/+26
| | | | | | rest of Tcl source code. No ABI change. API change *should* be harmless.
* | 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.
| * * generic/tclTrace.c (TraceExecutionObjCmd, TraceCommandObjCmd)dkf2010-08-191-4/+4
| | | | | | | | | | | | (TraceVariableObjCmd): [Patch 3048354]: Use memcpy() instead of strcpy() to avoid buffer overflow; we have the correct length of data to copy anyway since we've just allocated the target buffer.
| * Fix [Bug 2629338]: Stop evil unset traces from accessing freed memory.dkf2009-10-171-1/+2
| |
| * * generic/tclTrace.c: Corrected handling of errors returned bydgp2008-10-081-36/+24
| | | | | | | | | | | | | | | | | | variable traces so that the errorInfo value contains the original error message. [Bug 2151707] * generic/tclVar.c: Revised implementation of TclObjVarErrMsg so that error message construction does not disturb an existing iPtr->errorInfo that may be in progress.
* | [Bug 3129448]: possible over-allocation on 64-bit platformsnijtmans2010-12-061-14/+13
| |
* | Remove many type casts which are no longernecessary as a result of [Patch ↵nijtmans2010-08-221-2/+2
| | | | | | | | 3009403]: Signature of Tcl_GetHashKey, Tcl_(Create|Find)HashEntry
* | * generic/tclTrace.c (TraceExecutionObjCmd, TraceCommandObjCmd)dkf2010-08-191-4/+4
| | | | | | | | | | | | (TraceVariableObjCmd): [Patch 3048354]: Use memcpy() instead of strcpy() to avoid buffer overflow; we have the correct length of data to copy anyway since we've just allocated the target buffer.
* | More tidying up (whitespace, spelling, useless parentheses, useless casts)dkf2010-02-241-4/+3
| |
* | Fix [Bug 2881259].dkf2009-10-211-2/+2
| |
* | Fix [Bug 2629338]: Stop evil unset traces from accessing freed memory.dkf2009-10-171-7/+8
| |
* | - eliminate some unnessary type castsnijtmans2009-02-101-17/+18
| | | | | | | | | | - some internal const decorations - spacing
* | Style improvements - invoking callbacks without visual junk.dkf2008-10-261-9/+9
| |
* | Add "const" to many internalnijtmans2008-10-161-7/+7
| | | | | | | | | | const tables. No functional or API change.
* | * generic/tclTrace.c: Corrected handling of errors returned bydgp2008-10-081-36/+24
| | | | | | | | | | | | | | | | | | variable traces so that the errorInfo value contains the original error message. [Bug 2151707] * generic/tclVar.c: Revised implementation of TclObjVarErrMsg so that error message construction does not disturb an existing iPtr->errorInfo that may be in progress.
* | * 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 formatting only: remove spaces at the end of a every ↵nijtmans2008-08-071-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | fix [2021443] inconsistant "wrong # args" messagesnijtmans2008-07-191-3/+3
| |
* | Small clarifications that code a bit nicer to read.dkf2008-05-301-135/+124
|/
* merge stable branch onto HEADdgp2007-12-131-1/+1
|
* Add comments for clarity.dkf2007-11-151-120/+131
|
* Generate literal values more efficiently using TclNewLiteralStringObj macro.dkf2007-09-171-36/+34
|