Clone
 

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

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

Fix overseen error in regression test

extend regression test

    • -0
    • +173
    /tests/double-alias.tcl
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

get the "int" type from the Tcl_Obj directly, which will continue to work in Tcl 9.0

Provide compatibility with TIP #484

deactivate solution to the tcl87a2 problem for now, since we need a different solution with this for recursive aliases

improve woring in comment

remove shadowing variable

reduce implicit conversions

transitional fix for tcl87a2 problem

substdefault code cleanup

extend regression test, make assumptions explicit

- remove stripping of substdefault from properties

- add handling of extended substdefault options to per-object variables - improve default value checking for slot-less variables - transfor associated array into a dict - extend regression tests

delete pre-existing commands explicitly

- provide fully qualified names to Tcl_ProcObjCmd() to avoid potential problems in newer Tcl versions

- make it possible to use error code for cmd result comparison - add some NSF specifc error code

provide error hint for "invalid value constraints" errors

add error message, when present

Reduce number of strlen() operations

whitespace changes

Fold "substdefault" and "substdefaultoptions" into a single parameter option "substdefault"

- new command "tnsf::definitionnamespace" - experiment with command in regression test

fix typo in comment

- implement substdefaultoptions (for now, just providing the bitmask) - add substdefault.test - rename static function ParamParse() to ParamDefinitionParse() - break overlong lines

    • -0
    • +208
    /tests/substdefault.test
Silence gcc8

Use snprintf() instead of sprintf() to protect better against potential buffer overflows

Remove old-style CompiledColonLocalsLookup and use colonLocalVarCache variant instead.

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