generic

Clone Tools
  • last updated 38 mins ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
- return from "nsf::current callinglevel" the value 0 (instead of 1), when it is called outside of a frame, which has a nsf object associated.

  1. … 1 more file in changeset.
UnsetTracedVars(): Silence compiler warning under 8.5 by providing an explicit cast

ParamOptionParse(): 'virtualobjectargs' and 'virtualclassargs' defaulted to ConvertViaCmd when parsed from Tcl spec; explicitly set ConvertToNothing to match the intended semantics and to avoid false warnings (e.g., missing type=virtualobjectargs type checker)

NsfParameterInfoCmd(): Correct two typos in in-code comment

- make nsf compilable with "-DTCL_NO_DEPRECATED"

  1. … 1 more file in changeset.
RemoveInstance(): Fix typo and improve wording of nsf::log warning slightly

DispatchUnknownMethod(): Make sure that arcane method names make it into proper unknown error mesages (incl. names representing invalid Tcl lists); tests included; checked by valgrind

  1. … 2 more files in changeset.
Having a working version, test for leaks

  1. … 1 more file in changeset.
First attempt

- add thread IDs to debug lines

Nsf_CmdDefinitionRelease(): Fix documentation

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

- Remove manually mixinRegObjs during cleanup to silence sanity checking for object refcounts.

- fix typo

- 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.

Got cleanup semantics right, all tests pass

First attempt of an NsfDeleteVars

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)