Clone
 

gustaf neumann <neumann@wu-wien.ac.at> in nsf

- silence static checker

Improve cleanness of compilation with Tcl 8.5

Remove unneeded function

add const declaration

Don't allow bytearrays as name of non-pos args

We try to address the problem, that the argument parser might add string reps to Tcl_Objs

without string reps. This is in particular nasty for pure byte arrays in Tcl 8.6, which

are defined as having no string. We do not want to change purtiy just by passing

such values in arguments,

Adjust print format to recent changes

move GetObj() after tests of non-null asserts

Fix collateral damage of protection changes

Move prototypes to begin of file

Cleanup: Don't shadow variable names.

Minor cleanup: remove commented code, add missin nonnull-assert, shorten overlong lines

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

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

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

fix typo

Add likely/unlikely for NSF_DURING_DELETE checks

Code cleanup

- remove calls to deprecated function Tcl_DStringTrunc

- prefer boolean expressions to avoid signed conversions

- add default statement to switch to ease life of static checkers

Add Valgrind/callgrind support

Improve performance of ObjectSystemsCheckSystemMethod() by over 20%

Optimization for aliases

Optimized AliasAdd() and AliasGet() by avoiding the usage of

Tcl_SetVar2Ex() and Tcl_GetVar2Ex(). This change improves the

performance of AliasAdd() by ~20% and AliasGet() by 10%.

Strangely, Tcl does not provide an interface to the

Tcl_Obj-based TclObjUnsetVar2(), which is used internally

by Tcl_UnsetVar2()), such we could also avoid the latter.

minor cleanup and optimizations

Avoid call of strncmp() in common cases

Various Performance Improvements: - Add cache for compiled locals starting with a colon to avoid repeated linear searches - Reduce number of string comparisons in ParamOptionParse() - Factor out ProcContextRequire() - Extend regression test

Minor cleanup

Remove first argument of MethodDispatch, which is apparently not needed

Avoid mixed declarations and code

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

Added experimental definition of NSF_CONSTANT_COMPILED_LOCAL_LOOKUP

Cleanup and Optimization

- align code with documentation

- remove dead code

- minor optimization

White space changes