generic

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

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

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

add const and pure declarations

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

- 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

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

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

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