| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
| | |
| | |
| | |
| | | |
[Bug 1017299]
|
| | |
| | |
| | |
| | |
| | | |
* tests/namespace.test: logic that relied exclusively on string
matching and failed in the presence of [rename]s. [Bug 560297]
|
| | |
| | |
| | |
| | |
| | | |
* generic/tclNamesp.c (Tcl_Export): removed erroneous comments
[Bug 756744]
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
* generic/tclCmdAH.c: frame), added the ability to track the
* generic/tclCompCmds.c: absolute location of literal procedure
* generic/tclCompile.c: arguments, and making this information
* generic/tclCompile.h: available to uplevel, eval, and
* generic/tclInterp.c: siblings. This allows proper tracking of
* generic/tclInt.h: absolute location through custom (Tcl-coded)
* generic/tclNamesp.c: control structures based on uplevel, etc.
* generic/tclProc.c:
|
| | |
| | |
| | |
| | |
| | | |
handle the argument value length = -1. Thanks to Chris Darroch for
discovering the bug and providing the fix. [Bug 1968245].
|
| | | |
|
| | |
| | |
| | |
| | |
| | | |
[Bug 3111059]
(Correct fix this time around)
|
| | |
| | |
| | |
| | | |
[Bug 3111059]
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
* 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/tclCmdAH.c: it now schedules the command and returns
* generic/tclCmdMZ.c: TCL_RETURN. This fixes all issues with
* generic/tclExecute.c: [catch] and [try] - [Bug 3046594],
* generic/tclInt.h: [Bug 3047235] and [Bug 3048771]. Thanks
* generic/tclNamesp.c: dgp for exploring the dark corners.
* tests/tailcall.test: More thorough testing is required.
|
| | |
| | |
| | |
| | |
| | |
| | | |
* generic/tclExecute.c: errors early on, so that errorInfo
* generic/tclInt.h: contains the proper info [Bug 3047235]
* generic/tclNamesp.c:
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
* generic/tclCmdAH.c: (a) fix #3047235
* generic/tclCompile.h: (b) enable fix for #3046594
* generic/tclExecute.c: (c) enable recursive tailcalls
* generic/tclInt.h:
* generic/tclNamesp.c:
* tests/tailcall.test:
|
| | | |
|
| | |
| | |
| | |
| | | |
with errors.
|
| | |
| | |
| | |
| | | |
offsets no longer overestimated.
|
| | |
| | |
| | |
| | |
| | | |
Only depend on callerPtr chaining now.
Needed for upcoming coro patch.
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
* use do { ... } while (0) in macros
* avoid shadowing one local variable with another
* use clearer 'foo.bar++;' instead of '++foo.bar;' where result not
required (i.e., semantically equivalent)
* follow Engineering Manual rules on spacing and declarations
|
| | | |
|
| | |
| | |
| | |
| | | |
reliably call the object's destructor.
|
| | | |
|
| | |
| | |
| | |
| | | |
Split the [switch] compiler for sanity's sake.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
* generic/tclCompile.h: deletion, [Bug 2724403]. Added a test
* generic/tclNamesp.c: for this leak, and also a test for
* tests/coroutine.test: leaks on namespace deletion.
* tests/namespace.test:
|
| | |
| | |
| | |
| | |
| | | |
* generic/tclExecute.c: tailcall-management duties
* generic/tclNamesp.c:
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
* generic/tclNamesp.c: properly out of a coroutine.
* tests/tailcall.test:
* generic/tclInterp.c: Fixed tailcalls for same-interp aliases (no
test)
|
| | | |
|
| | |
| | |
| | |
| | | |
manifestations in the future. Add tcltest support for finalization.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
* generic/tclExecute.c: that they set the typePtr field to
* generic/tclIO.c: NULL so that the Tcl_Obj is not left
* generic/tclIndexObj.c: in an inconsistent state.
* generic/tclInt.h: [Bug 2857044]
* generic/tclListObj.c:
* generic/tclNamesp.c:
* generic/tclOOCall.c:
* generic/tclObj.c:
* generic/tclPathObj.c:
* generic/tclProc.c:
* generic/tclRegexp.c:
* generic/tclStringObj.c:
|
| | |
| | |
| | |
| | | |
Also added code from itcl-ng for better separation of concerns.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
* generic/tclInt.h: ensembles. Only remaining known leak
* generic/tclInterp.c: is in ensemble unknown dispatch (as it
* generic/tclNamesp.c: not NR-enabled)
* tests/tailcall.test:
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
* generic/tclInt.h:
* generic/tclBasic.c:
* generic/tclExecute.c:
* generic/tclNamesp.c (Tcl_PopCallFrame): Rewritten tailcall
implementation, ::unsupported::atProcExit is (temporarily?)
gone. The new approach is much simpler, and also closer to being
correct. This commit fixes [Bug 2649975] and [Bug 2695587].
* tests/coroutine.test: Moved the tests to their own files,
* tests/tailcall.test: removed the unsupported.test. Added
* tests/unsupported.test: tests for the fixed bugs.
|
| | |
| | |
| | |
| | |
| | | |
- some internal const decorations
- spacing
|
| | | |
|
| | | |
|
| | |
| | |
| | |
| | | |
only the objProc case was handled and not the nreProc case.
|
| | | |
|
| | |
| | |
| | |
| | | |
etc.)
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
* 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:
|
| | |
| | |
| | |
| | |
| | |
| | | |
incompatible pointer type
reverted change from 2008-11-06 (was under the impression that
"-Wno-implicit-int" added an extra warning)
|
| | |
| | |
| | |
| | |
| | | |
Applied a patch from Duoas which extends the TclMakeEnsemble command to
handle sub-ensembles from tables. Cleaned up the original patch a bit.
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
const tables, so those will be
put by the C-compiler in the
TEXT segment in stead of the
DATA segment. This makes those
table sharable in shared libraries.
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | | |
* doc/namespace.n: Revise [namespace upvar] to accept zero
* generic/tclNamesp.c: variable names.
* tests/upvar.test:
|
| | |
| | |
| | |
| | | |
Arrange for [dict for] to be NRE-enabled when not compiled. [Bug 2017632]
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
* 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:
|