| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
| |
* generic/tclInt.h: ExecEnv now stores two Tcl_Obj* pointing to
the constants "0" and "1", for use by TEBC.
|
|
|
|
|
|
|
|
|
| |
* generic/tclInt.h:
* generic/tclObj.c:
* generic/tclStringObj.c: defined new internal macros for creating
and setting frequently used obj types (int,long, wideInt, double,
string). Changed TEBC to use eg 'TclNewIntObj(objPtr, i)' to avoid
the function call in 'objPtr = Tcl_NewIntObj(i)'
|
|
|
|
| |
"test and branch" with "compute index into table"
|
|
|
|
|
|
|
|
|
|
| |
* generic/tclInt.h: tclCompile.h to tclInt.h. Should have
been done as part of the 1115904 bug fix on 2005-03-18.
* generic/tclThreadTest.c: Stop providing the phony package
"Thread 1.0" when the [::testthread] command is defined. It's
never used by anything, and conflicts with loading the real
"Thread" package.
|
| |
|
|
|
|
|
|
|
|
| |
* generic/tclParse.c (TclSubstTokens): testing in nested command
* tests/basic.test (basic-46.4): substitutions within direct
* tests/parse.test (parse-19.*): script evaluation (Tcl_EvalEx)
that got lost in the parser reforms of Tcl 8.1. Added tests for
correct behavior. [Bug 1115904]
|
|
|
|
|
| |
for immediate operand usage to permit leading space and sign
characters. [Bug 1165671]
|
| |
|
|
|
|
| |
ok on unix
|
|
|
|
| |
ok on unix
|
| |
|
|
|
|
| |
obj ref passed to TRACE_WITH_OBJ).
|
|
|
|
| |
tclInstructionTable (-1 instead of -2)
|
| |
|
|
|
|
|
|
|
|
|
| |
cast of ClientData to (TraceCommandInfo *) when not warranted.
Thanks to Yuri Victorovich for the report. [Bug 1153871]
* generic/tcl.h: Moved flag values TCL_TRACE_ENTER_EXEC and
* generic/tclInt.h: TCL_TRACE_LEAVE_EXEC from public interface
into private. Should be used only by internal workings of
execution traces.
|
| |
|
|
|
|
|
| |
fixed the peephole opt in INST_POP so that it is not used when
TCL_COMPILE_DEBUG is defined.
|
|
|
|
|
|
| |
* tests/basic.test (basic-26.2): preserve the arguments passed to
TEOV in the pure-list branch, in case the list shimmers away. Fix
for [Bug 1119369], reported by Peter MacDonald.
|
| |
|
|
|
|
|
|
|
| |
* doc/FileSystem.3: Cleaned up typo in Tcl_FSNewNativePath
documentation.
* generic/tclPathObj.c: Cleaned up typo in comment.
|
| |
|
|
|
|
|
|
|
|
|
|
| |
Add check for type of the framePtr->procPtr->bodyPtr
passed to TclInitCompiledLocals and panic if
it is not the correct type. If the body of the proc
is not of the compiled byte code type then the
code will crash. This was discovered while tracking
down a crash in Itcl, that crash is fixed by
Itcl patch 1115085.
|
|
|
|
| |
left behind in prior code reorganization.
|
| |
|
|
|
|
| |
(Tcl_ExprLong): Fix to recognize Tcl_WideInt type. [Bug 1109484]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* generic/tclDecls.h: Regenerated from tcl.decls.
* generic/tclStubInit.c:
* doc/CrtChannel.3: Documentation of extended API,
* generic/tcl.decls: extended testsuite, and
* generic/tcl.h: implementation. Removal of old
* generic/tclIO.c: driver-specific TclpCut/Splice
* generic/tclInt.h: functions. Replaced with generic
* tests/io.test: thread-action calls through the
* unix/tclUnixChan.c: new hooks. Update of all builtin
* unix/tclUnixPipe.c: channel drivers to version 4.
* unix/tclUnixSock.c: Windows drivers extended to
* win/tclWinChan.c: manage thread state in a thread
* win/tclWinConsole.c: action handler.
* win/tclWinPipe.c:
* win/tclWinSerial.c:
* win/tclWinSock.c:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* generic/tclDecls.h: the modified tcl.decls (TIP #233, see below).
* doc/GetTime.3: Implemented TIP #233, i.e. the
* generic/tcl.decls: 'Virtualization of Tcl's Sense of Time'.
* generic/tcl.h: Declared, implemented, and documented the
* generic/tclInt.h: specified new API functions. Moved the
* unix/tclUnixEvent.c: native (OS) access to time information
* unix/tclUnixNotfy.c: into standard handler functions. Inserted
* unix/tclUnixTime.c: hooks calling on the handlers where native
* win/tclWinNotify.c: access was done before, and where scaling
* win/tclWinTime.c: between domains (real/virtual) is required.
|
|
|
|
|
|
| |
* generic/tclCmdAH.c: in header comments of functions.
* generic/tclBasic.c: (Missing --).
* generic/tclFileName.c:
|
| |
|
|
|
|
| |
Ensembles now have a C API. :^)
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
the TclRegisterNewLiteral macro [Patch 1090905]
|
| |
|
|
|
|
|
|
|
|
| |
* generic/tclProc.c: new static InitCompiledLocals to allow for a
single pass over the proc's arguments at proc load time (instead of
two as previously). TclObjInterpProc() now allocates the
compiledLocals on the tcl execution stack, using the new
TclStackAlloc/Free functions.
|
|
|
|
| |
of the processing of the event loop or during a blocking [after]. [Bug 1085023]
|
|
|
|
|
|
|
|
|
|
| |
from the execution stack (TclStackAlloc, TclStackFree). Added
functions TclPushStackFrame and TclPopStackFrame that do the work
of Tcl_PushCallFrame and Tcl_PopCallFrame, but using frames
allocated in the execution stack - i.e., heap instead of
C-stack. The core uses these two new functions exclusively; the
old ones remain for backwards compat, as at least two popular
extensions (itcl, xotcl) are known to use them.
|
|
|
|
| |
to flags. Should be perfectly backwards compatible.
|
|
|
|
|
| |
sees function pointer typedef linkage consistent with earlier Tcl
releases. [Bug 1082349].
|
|
|
|
| |
* generic/tclUtil.c: Rolf Ade for reports and testing [Bug 1083082]
|
|
|
|
| |
1084111] - thanks to Rolf Ade.
|
|
|
|
| |
command names (as in fix [Patch 456668]).
|
|
|
|
| |
TclGetNamespaceFromObj().
|
| |
|
|
|
|
| |
variables, removing tests from inner loops.
|