nsf

Clone Tools
  • last updated 16 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
FreeFunPtrEntry is not needed actually

Fix refcounting

FreeFunPtrEntry(): Add deletion handler for cmddef and enumeration-type hash entries

nsfCmdDefinitions.c: Fix typos

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

Provide for releasing/deleting the hash tables for cmd definitions and enumeration-type converters in ExitHandler

remove various code smells: - add const declarations - prefer boolean tests - don't write "for" loops without a block - don't pass non-initialized value in an array on index [0] - reduce variable scope - prefer single returns statements in functions - dont't use CONST unless defined by Tcl-API

- make effects of namespace-imported classes more local

FilterSearchAgain(): Avoid running into an invalid pointer access, when the physical deletion of "del" conflicts with following the next link in the cmdList in the loop's increment statement (only iff del == cmdList). Re-organized for into a while loop, to avoid redundant code.

GetClassFromObj(): Fix invalid memory access (valgrind)

- make intentions about clientData clear to static checker

- remove commented code from the previous implementation

- move declarations to the begin of a code block - remove debug code

- add pre-8.7 Makefile.in (missed in last commit)

- use consistent comment styles

- NsfProcStubDeleteProc(): Protect against potentially dangling namespace references from within ::nsf::procs::*. The wrapper cmd's namespace of an nsf::proc might already have been deleted when ::nsf::procs::* shuts down finally. This showed up during a Tcl_Exit (NSF's ExitHandler) as an invalid memory access via (dangling) namespace pointers (valgrind).

- let nsf compile under tcl 8.7 (current trunk version of Tcl)

    • -0
    • +362
    /generic/stubs8.7/nsfDecls.h
    • -0
    • +89
    /generic/stubs8.7/nsfIntDecls.h
    • -0
    • +130
    /generic/stubs8.7/nsfStubInit.c
cmd resolver work - fix test, when OS specific cmd resolver is used from a NSF_CSC_CALL_IS_COMPILE frame - improved output from __db_show_obj: put results into one line instead of multiple lines - new debug function __db_get_obj: return into about a tcl_obj in form of a dict (in general, one should not rely on Tcl_Obj internals, especially when upgrading over major Tcl versions, but for testing/understanding behavior etc., such a command is helpful). - extend regression test

Shift some atomic tests into test case

Revive and include test case on Bug 3418547

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

- add test for the global cmd literal sharing - keep experimental code for disassembling methods

    • -0
    • +104
    /tests/cmdresolution.test
NsfParseArgsCmd: Fix memory leak

memcount: correct book-keeping in SetInstVar

Avoid inline comment style

Suppress cppcheck warning: adding explicit int cast

Promote log statement to Tcl panic

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

NsfDStringVPrintf: Make log statement conditional on NDEBUG

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