nsf

Clone Tools
  • last updated 5 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
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

TopoSortSub(): Make intended true/false comparisons based on int explicit

TopoSort(): cleanup (pt. 3): re-factored TransitiveSubClasses() and DependentSubClasses() into one caller function of TopoSortSub()

TopoSort(): cleanup (pt. 2): renamed TopoSort() TopoSortSub() (to match TopoSortSuper)

TopoSort(): cleanup (pt. 1)

Leave a TODO

Provide draft TopoSort2 and helpers

Add TODO

GetNextArguments(): Address CID 102646

Removed two unused functions: NsfObjInfoObjectparameterMethod() and NsfParamDefsFilter(). Makes CID 88775 obsolete

Merge branch 'master' of ssh://alice.wu-wien.ac.at/usr/local/src/git-repo/nsf

Address CID 88770

- Remove occurrences of deprecated Tcl Call Tcl_AppendResult() in overall code

- improve variable for logging from "debugLevel" to "logSeverity" (print logging messages which have a severity larger equal the then given value; so; "nsf::configure debugLevel 0" will print everything, and "nsf::configure debugLevel 3" will print just error messages and omit warnings etc.) - this is not a change in sematics, but removes some confusion in the code. therefore the configure name was not changed - Remove 2 occurrences of deprecated Tcl Call Tcl_AppendResult() in nsfStubLib

- don't compute string length twice

Address potential double freeing problem of runtime states: - the ExitHander() should never be called twice on the same interp. Therefore delete in the ExitProc the ExitHandler AND the ThreadExitHandler and in the ThreadExitProc also both.