| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
* generic/tclPanic.c: analyzer and redefine Tcl_Panic to
* generic/tclStubInit.c: assert after panic in clang PURIFY
builds.
* generic/tclCmdIL.c: add clang assert for false positive
from static analyzer.
|
| | |
| | |
| | |
| | |
| | | |
- some internal const decorations
- spacing
|
| | |
| | |
| | |
| | | |
etc.)
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
* generic/tclExecute.c: to simply be "const", not CONST86.
* generic/tclCmdAH.c: whitespace.
* generic/tclCmdIL.c: Uninitialized variable warning.
* generic/tclTest.c: const correctness warning.
|
| | |
| | |
| | |
| | |
| | | |
const tables. No functional
or API change.
|
| | |
| | |
| | |
| | |
| | | |
* generic/tclCmdIL.c: Fix write to unallocated memory whenever
[lrepeat] returns an empty list.
|
| | |
| | |
| | |
| | |
| | |
| | | |
* generic/tclCmdIL.c: [yield] out of ::tcl::unsupported
* tests/info.test: and into global scope: TIPs #327
* tests/unsupported.test: and #328
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | | |
* doc/linsert.n: Revise [linsert] to accept zero elements.
* generic/tclCmdIL.c:
* tests/linsert.test:
|
| | | |
|
| | | |
|
| | | |
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | | |
* doc/lrepeat.n: Revise [lrepeat] to accept both zero
* generic/tclCmdIL.c: repetitions and zero elements to be repeated.
* tests/lrepeat.test:
|
| | |
| | |
| | |
| | |
| | |
| | | |
* doc/lassign.n: Revise [lassign] to accept zero variable names.
* generic/tclCmdIL.c:
* tests/cmdIL.test:
|
| | |
| | |
| | |
| | |
| | |
| | | |
* generic/tclCmdIL.c:
* generic/tclInt.h:
* tests/unsupported.test:
|
| | | |
|
| | |
| | |
| | |
| | |
| | | |
* generic/tclCmdIL.c: coroutines. Fix small bug on coroutine
* generic/tclInt.h: rewind.
|
| | |
| | |
| | |
| | |
| | |
| | | |
dereferencing as line info may
not exists when TclInfoFrame()
is called from a DTrace probe.
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
* generic/tclCmdIL.c: immediately, without search. Reworked setup
* generic/tclCompile.c: of eoFramePtr, doesn't need the line
* tests/info.test: information, more sensible to have everything
on line 1 when eval'ing a pure list. Updated the users of the line
information to special case this based on the frame type (i.e.
TCL_LOCATION_EVAL_LIST). Added a testcase demonstrating the new
behaviour.
|
| | | |
|
| | |
| | |
| | |
| | | |
?options? to the form ?-option value ...?
|
| | |
| | |
| | |
| | | |
the interp result found by Don Porter.
|
| | | |
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
* tests/info.test: information for key 'proc' out of the
TCL_LOCATION_BC branch to after the switch, this is common to all
frame types. Updated the testsuite to match. This was exposed by
the 2008-06-08 commit (Miguel), switching uplevel from direct eval
to compilation. Fixes [Bug 1987851].
|
| | | |
|
|/ / |
|
| |
| |
| |
| |
| | |
SortElement arrays instead of TclStackAlloc() which isn't getting
alignment right. Workaround for [Bug 1914503].
|
| |
| |
| |
| |
| | |
* tests/cmdIL.test (cmdIL-7.7): fix crash on reversing an empty
list [Bug 1876793].
|
| |
| |
| |
| |
| |
| |
| |
| | |
function MergeSort is gone, essentially inlined into
Tcl_LsortObjCmd. It is not a straight inlining, two loops over all
lists elements where merged in the process: the linked list
elements are now built and merged into the temporary sublists in
the same pass.
|
| |
| |
| |
| |
| |
| | |
Extra mem reqs of latest patches removed, restored to previous mem
profile. Improved -unique handling, now eliminating repeated elems
immediately instead of marking them to avoid reinsertion at the end.
|
| | |
|
| |
| |
| |
| | |
calling SelectObjFromSublist when there are no sublists.
|
| |
| |
| |
| |
| |
| | |
sufficient length for the sorted list instead of growing
it. Second commit replaces calls to Tcl_ListObjAppenElement with
direct access to the internal rep.
|
| |
| |
| |
| | |
sufficient length for the sorted list instead of growing it.
|
| | |
|
| |
| |
| |
| | |
[Bug 1844789]
|
| | |
|
| |
| |
| |
| |
| | |
It is usually not enabled though; only worth it when a subcommand is actually
expected to undergo bytecode compilation.
|
| | |
|
| |
| |
| |
| | |
objTypes.
|
| |
| |
| |
| | |
TclInfoFrame() for use by DTrace probes.
|
| |
| |
| |
| | |
*** POTENTIAL INCOMPATIBILITY *** (tclInt.h and tclCompile.h)
|
| | |
|
| |
| |
| |
| | |
[Bug 1717186]
|
| |
| |
| |
| | |
* generic/tclScan.c:
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
* generic/tclExecute.c: TclStackAlloc and TclStackFree to make them
easier for callers to use (or more precisely, harder to misuse).
TclStackFree now takes a (void *) argument which is the pointer
intended to be freed. TclStackFree will panic if that's not actually
the memory the call will free. TSA/TSF also now tolerate receiving
(interp == NULL), in which case they simply fall back to be calls to
Tcl_Alloc/Tcl_Free.
* generic/tclIntDecls.h: make genstubs
* generic/tclBasic.c: Updated callers
* generic/tclCmdAH.c:
* generic/tclCmdIL.c:
* generic/tclCompCmds.c:
* generic/tclCompExpr.c:
* generic/tclCompile.c:
* generic/tclFCmd.c:
* generic/tclFileName.c:
* generic/tclIOCmd.c:
* generic/tclIndexObj.c:
* generic/tclInterp.c:
* generic/tclNamesp.c:
* generic/tclProc.c:
* generic/tclTrace.c:
* unix/tclUnixPipe.c:
|
| |
| |
| |
| |
| |
| |
| | |
* generic/tclCmdMZ.c (Tcl_SwitchObjCmd):
* generic/tclCompile.c (TclInitCompileEnv):
* generic/tclProc.c (Tcl_ProcObjCmd, SetLambdaFromAny): Moved the
CmdFrame off the C stack and onto the Tcl stack.
|