| Commit message (Collapse) | Author | Age | Files | Lines |
|\
| |
| |
| | |
TIP #422 is adapted accordingly.
|
| |\ |
|
| | |\ |
|
| | | |\
| | | | |
| | | | | |
Tranform Tcl_SaveResult/Tcl_RestoreResult/Tcl_DiscardResult to macros, and remove them from the stub table
|
| | | |\ \
| | | | |/
| | | | | |
Add -Wwrite-strings to compiler options, so we can guarantee correct "const" usage.
|
| | | |\ \
| | | | | |
| | | | | |
| | | | | | |
for the compiler.
|
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
for te compiler.
|
| | |/ / /
| | | | |
| | | | |
| | | | | |
Tcl_SetErrorCodeVA, Tcl_PanicVA, and dependancy of tcl.h on <stdarg.h>. TIP required.
|
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
a crash immediately, when an extention tries to call it, in stead
of crashing some time later....
Remove some more legacy regarding accessing interp->result
|
| | |\ \ \
| | | |/ / |
|
| | | | | |
|
| | | | |
| | | | |
| | | | |
| | | | | |
and all simplifications that makes possible are done. Seems this can at best
be a Tcl 9 reform.
|
| | | | |
| | | | |
| | | | |
| | | | | |
Tcl_SaveResult/Tcl_RestoreResult/Tcl_DiscardResult by no longer assuming that Tcl_SavedResult is a struct. Backported from "novem" branch.
|
| | | | | |
|
|/ / / /
| | | |
| | | |
| | | | |
This makes the Tcl_Interp struct fully opaque.
No interp->result or interp->errorline
|
| | | |
| | | |
| | | |
| | | | |
iPtr->(resultSpace|appendResult|appendAvl|appendUsed) are not used any more.
|
| | | |
| | | |
| | | |
| | | |
| | | | |
TCL_ERROR is returned: The caller doesn't do anything with this.
Don't access (non-const) variable tclEmptyStringRep any more, use its value (&tclEmptyString) directly. Only keep it in tclPkg.c, for error checking.
|
| | | |
| | | |
| | | |
| | | | |
less interp->result. Implementation mostly taken over from "novem". If TCL_NO_DEPRECATED is not defined, nothing changes.
|
| | | | |
|
| | | |
| | | |
| | | |
| | | | |
redefined as macros.
|
| |_|/
|/| | |
|
| |/
|/|
| | |
Fix "make test-packages" on cygwin
|
| |
| |
| |
| | |
clarification of #endifs, reduction of unnecessary casts, use of array syntax
for reading array elements, etc.)
|
|/ |
|
|
|
|
| |
errostack when compiling a syntax error.
|
| |
|
|
|
| |
pipeline creation, package handling, procedures, [scan] formats)
|
|
|
| |
rest of Tcl source code. No ABI change. API change *should* be harmless.
|
|
|
| |
invalid intrep. Thanks to Colin McDonald. [Bug 3202905]
|
| |
|
|\
| |
| | |
cause more harm than good. Purged them (except in zlib files).
|
| |\
| | |
| | | |
more harm than good. Purged them.
|
| | |
| | |
| | | |
more harm than good. Purged them.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
* tests/namespace.test (namespace-8.5,6): the save/restore
of ::errorInfo and ::errorCode during global namespace teardown.
Revised the comment to clarify why this is done, and added tests
that will fail if this is not done.
* generic/tclResult.c (TclTransferResult): Added safety
checks so that unexpected undefined ::errorInfo or ::errorCode
will not lead to a segfault.
* generic/tclVar.c (CallVarTraces): Save/restore the flag
* tests/var.test (var-16.1): values that define part of the
interpreter state during variable traces. [Bug 10381021].
|
| | |
| | |
| | |
| | |
| | | |
* generic/tclUtil.c: assume that ckfree == free, as that is not
* generic/tclResult.c: always true. [Bug 756791] (fuller)
|
| | |
| | |
| | |
| | | |
* tests/result.test: that it rejects illegal non-list values.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
* generic/tclEnv.c, generic/tclLoad.c, generic/tclNamesp.c,
* generic/tclObj.c, generic/tclRegexp.c, generic/tclResolve.c,
* generic/tclResult.c, generic/tclUtil.c, macosx/tclMacOSXFCmd.c:
More purging of strcpy() from locations where we already know the
length of the data being copied.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
* generic/tclVar.c (TclLookupSimpleVar, CompareVarKeys):
* generic/tclPathObj.c (Tcl_FSGetNormalizedPath, Tcl_FSEqualPaths):
* generic/tclExecute.c (TclExecuteByteCode):
* generic/tclIOUtil.c (TclFSCwdPointerEquals): peephole opt
* generic/tclResult.c (TclMergeReturnOptions): use memcmp where
applicable as possible speedup on some libc variants.
|
| | | |
|
| | |
| | |
| | |
| | | |
further optimization, making use of indexType.
|
| | | |
|
| | |
| | |
| | |
| | | |
* tests/result.test: that it rejects illegal non-list values.
|
| | | |
|
| | | |
|
| | |
| | |
| | |
| | | |
manifestations in the future. Add tcltest support for finalization.
|
| | |
| | |
| | |
| | |
| | | |
don't use ckfree((void *)...) but
ckfree((char *)...)
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
* generic/tcl.decls: New routines Tcl_(Get|Set)ErrorLine.
* generic/tcl.h: Dropped default access to interp->errorLine.
* generic/tclCmdAH.c: Restore it with -DUSE_INTERP_ERRORLINE.
* generic/tclCmdMZ.c: Updated callers.
* generic/tclDictObj.c:
* generic/tclIOUtil.c:
* generic/tclNamesp.c:
* generic/tclOOBasic.c:
* generic/tclOODefinedCmds.c:
* generic/tclOOMethod.c:
* generic/tclProc.c:
* generic/tclResult.c:
* generic/tclDecls.h: make genstubs
* generic/tclStubInit.c:
|
| | | |
|
| | |
| | |
| | |
| | |
| | | |
const tables. No functional
or API change.
|