nsf

Clone Tools
  • last updated 7 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
- add pthread id to debug message

UnsetTracedVars(): Provide for a two-pass deletion logic during object shutdown, to account for unset traces possibly reviving an object variable under deletion. This corresponds to a recent memleak fix to Tcl itself (see http://core.tcl.tk/tcl/info/4dbdd9af144dbdd9af14).

Optimize refcount mgmt slightly

Add a piece of explanation on the post-mortem trace mgmt

Get scope right

UnsetTracedVars(): We need to make sure that traces newly created from within an unset trace are deactivated

Add some more documentation hints

Add and improve documentation

Add a piece of documentation to the UnsetTracedVars helper

Provide a minimalistic implementation, more in line with the existing environment

Revert "First attempt of an NsfDeleteVars"

This reverts commit c257b73ed943b9c42af0cc632babacfbf3f91ad3.

Revert "Got cleanup semantics right, all tests pass"

This reverts commit 3d48a6501372aa943f56031ab88e646568e18bcd.

Add a to-do on an assertion failure under 8.5

Got cleanup semantics right, all tests pass

First attempt of an NsfDeleteVars

Substitute set for get, which is a tick faster

Adding another Rosetta example: Tree traversal

    • -0
    • +872
    /doc/example-scripts/rosetta-tree.html
    • -0
    • +92
    /doc/example-scripts/rosetta-tree.tcl
Add to-do on variable slots

Harden nx::shell against inlined return statements

Added first additional Rosetta example

    • -0
    • +850
    /doc/example-scripts/rosetta-tokenizer.html
    • -0
    • +59
    /doc/example-scripts/rosetta-tokenizer.tcl
Make src highlighter independent from Tcl version

Adding some minor todos

Keep valgrind settings for the future

ObjectCmdMethodDispatch(): Get refcounting on method-path lists right, fixing one actual (valgrind) and another potential Tcl_Obj leak

ParamDefsNames(): Fix another Tcl_Obj leak and optimize code slightly (Tcl_Obj is only allocated once the string-matching operation suceeded)

NsfForwardPrintError(): Fix another instance of the NsfMethodNamePath leak

NsfMethodName(): Avoid unnecessary append operation between lists, previously leaking the source list Tcl_Obj

merge

ArgumentParse(): Addressing a series of Tcl_Obj leaks (valgrind)

- removing dead assignment