nsf

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

More code cleanup:

- use Boolean type when appropriate

- reduce implicit conversions

More code cleanup:

- use Boolean type when appropriate

More code cleanup:

- use Boolean type when appropriate

More code cleanup:

- use Boolean type when appropriate

More code cleanup:

- use Boolean type when appropriate

More code cleanup:

- move nonnull assertion to separate line

- use Boolean type when appropriate

remove unused arguments

Use Boolean type on more occasions Fix incorrect comments Fix mixture of Tcl result code and 0/1 integers

Use Boolean type on more occasions

Boolean type introduction

- Define Boolean type in a cross compiler / cross platform compatible way (similar to NaviServer)

- Include type in nsfInt (interal usage) but capable for pushing it to public usage later

- Use Boolean type for the most obvious cases

improve type cleanness for clang 6.0

Align prototypes with function definitons and minor code cleanup

- reduce number of return statements before end of function

- reduce variable scopes

write separate commands in different lines (esp. for control structures)

align naming of variables in function prototypes and definitions

mark unused arguments as UNUSED