nsf.c

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

  1. … 1 more file in changeset.
More code cleanup:

- use Boolean type when appropriate

- add missing comments

More code cleanup:

- use Boolean type when appropriate

- reduce implicit conversions

  1. … 1 more file in changeset.
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

  1. … 1 more file in changeset.
remove unused arguments

  1. … 4 more files in changeset.
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

  1. … 1 more file in changeset.
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

  1. … 3 more files in changeset.
write separate commands in different lines (esp. for control structures)

align naming of variables in function prototypes and definitions

  1. … 5 more files in changeset.
mark unused arguments as UNUSED

  1. … 1 more file in changeset.
make argument names more regular improve alignment of prototype names with function definitions

  1. … 3 more files in changeset.
fix typos

Improve alignment of prototypes with function definitions improve regularity of variable names

  1. … 10 more files in changeset.
prefer meaningful name in function prototypes align names in .decls file with prototypes in the .c and .h files

  1. … 6 more files in changeset.
Remove unused arguments

  1. … 2 more files in changeset.
remove unused argument

  1. … 2 more files in changeset.
Remove unused argument

  1. … 2 more files in changeset.
minor cleanup (adjust comments, reduce variable scope)

execution namespace reform: - add execution namespace to proc context instead of altering the namespace of the command - this fixes strange behavior of "info commands ::o::p", which might have returned "::p" - provide compatibility with Tcl 8.7a2 - extend regression test

  1. … 3 more files in changeset.
get the "int" type from the Tcl_Obj directly, which will continue to work in Tcl 9.0