nsf

Clone Tools
  • last updated 7 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
align prototypes with function definitions

whitespace changes

prefer bool over int, white space changes

More code cleanup

- make nsf compilable with tcl 8.7.2 and TCL_NO_DEPRECATED turned on

- prefer bool over int

- reduce nr of returns before end of function

- line bread overlong function definitions

update genstub path to recent versions of Tcl releases

prefer boolean over int

Reduce number of return statements beofre end of function

cleanup: fix regression, prefer boolean over int, reduce number of returns befor end of function

ease life of colon cmd cachier

Don't pass colon-prefixed method names from setter cmd to SetInstVar() to avoid potential shimmering.

- add Tcl_Obj caching to cget argument - redued usage of goto statements - reduced size of largish function

introduce macro ObjTypeStr for commonly used idiom

prefer boolean over int

coloncmd reform (part 4): perform validation for per-object cases, provide more detailed statistics (when compiled with COLON_CMD_STATS)

Reduce memory consumption for cache by caching just cmds in non-volatile Tcl_Objs. Add optional statistics, when COLON_CMD_STATS is defined.

simplify expression

remove unneeded variable

add NsfDList functions similar to Tcl_DString, but operating on void* instead of char and use it for ColonCmdCache data

Simplify handling of "returns" object. no need to require paramdefs, when just returnsObj is needed

coloncmd reform (part 3): keep a per-interp list of colon command cache entries to avoid memory leaks in cases the objects are converted

coloncmd reform (part 2): generalize code and apply for object specific commands as well

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

coloncmd reform (part 1): improve dispatch of [:method ...] by up to 30%

* msgcat.test: Added a small collection of basic tests covering msgcat usage from within NSF/NX objects and classes. Tested successfully with mainline Tcl 8.6 and the TIP-490 branch "tip490-msgcat-oo-2".

    • -0
    • +102
    /tests/msgcat.test
whitespace changes

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

pass execNsPtr to byte-compiler (which might be different to procPtr->cmd->nsPtr)

* nsf.c (NextSearchAndInvoke): Relax the pre-conditions, objv can actually be NULL (see test cases). Besides, the assertion was not reflected by a corresponding nonnull constraints on the NextSearchAndInvoke prototype.

More code cleanup:

- use Boolean type when appropriate

- add missing comments

More code cleanup:

- use Boolean type when appropriate

- reduce implicit conversions