Clone Tools
  • last updated 1 hour ago
Constraints: committers
Constraints: files
Constraints: dates
add const declarations, whitespace changes

* nsf.c (Nsf_Init): Mark the namespace "::nsf::classes" and its children using "NS_SUPPRESS_COMPILATION". In 8.6+, this guards any commands in these auxiliary namespaces to be picked up by the bytecode compiler (if accessed in an unintended manner).

* nsf.c (ByteCompiled): Patch the proc command's namespace unconditionally, for 8.5 and 8.6.

avoid potentially dangerous call strcat(); remove unneeded assignment

whitespace changes

break overlong lines

polish and comment the execNs change for Tcl 8.5

Quickfix fot Tcl 8.5 (needs still more investigation)

add const declarations, reduce variable scopes, break longish lines

Fix call example

Leave some to-dos

* dtrace/README: Updated instructions to cover SIP deactivation, minor corrections. Added one more D script (nsf_calltime.d). * nsfDTrace.h: Re-generated.

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

* nsf.c (NsfConfigureCmd): Fix NSF_DTRACE=1 builds.

* gentclAPI.tcl, nsfAPI.decls (createconverter): Support for "-global 1" flag that will cause the options array corresponding to an enumeration to become available as a global, properly Nsf_* prefixed symbol. Used for NsfConfigureCmd and the corresponding DTrace probe, for now.

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

add const and pure declarations

* source-doc-beautifier.tcl: Remove in-block range markers within test bodies to prettify the ADOC output.

    • -1
    • +10
adding const declarations, variable name cleanup

more code cleanup: - reuduce number of returns before end of function - ease live for static checker - use more "const" declarations

add comment and improve linebreak

- prefer bool over int - reduce number of gotos - reduce number of returns before end of function - reduce variable scopes - add "const" declaration - white-space changes

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