nsf

Clone Tools
  • last updated 16 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Adding test cases

Adjust tests to match new behavior

Fix collateral in ParseParamOptions

Fix subtle bug

Done with test cases; some cleaning up

- 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
Add some general to-dos on the way

Added missing tests, and cases; WIP (two to-dos, and cleanup pending)

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

Fix leftover from the time, when we could call accessor methods without "get"

* nx.tcl, nx-mongo.tcl (parseParamSpec): Render target parameter non-positional, so that MetaSlot.parseParamSpec() becomes backward compatible. Adjusted callsites of parseParamSpec.

Add missing argument to parseParameterSpec

Improve portability (restict length of literal strings <= 4095)

Adress literal limitaton in ISO C99, that requires compilers to support

only strings up to 4095 bytes. As a consequence, we have to split

the compiled-in literal commands into two parts.

    • -0
    • +218
    /generic/predefined_part1.tcl
    • -0
    • +61
    /generic/predefined_part2.tcl
deactivate two problematic tests for the time being to allow regression test to run

fix typos, updaty copyright years according to commits

prefer boolean test, remove commented-out code

Fix typos

    • -1117
    • +1117
    /doc/example-scripts/bagel.html
    • -1150
    • +1150
    /doc/example-scripts/container.html
    • -812
    • +812
    /doc/example-scripts/rosetta-classes.html
    • -874
    • +874
    /doc/example-scripts/rosetta-clone.html
  1. … 49 more files in changeset.
* nsf.c (ParamParse): Fix crash when ParamParse is called with an empty-string argument, e.g. nsf::parameter::info type "". Tests provided.

Add another to-do item

Add to-do items

* nsf.c (NsfParseArgsCmd): Fix another edge case (empty spec and/or empty argv), added more tests. See also TODO.

WIP, still

* nsf.c (NsfParseArgsCmd): Fix nsf::parseargs for the case of Tcl-only params, otherwise, it crashes due to an uninitialized params structure. Added some tests.

WIP

* nsf.c (ParamDefsParse): Fix small typo "allowedOptinons" -> "allowedOptions"