nsf

Clone Tools
  • last updated 19 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
New feature: added support for return value checker for nsf::proc

One can now specify "-returns ...." in nsf::proc commands the same way

as in nx/XOTcl2 methods.

nsf::proc ... /procName/ /arguments/ ?-returns /valueconstraint/? /body/

When return value checkers are defined, these are returned by the

usual introspection interface.

% nsf::proc ::foo {-a:integer} -returns integer {return 1}

% nsf::cmd::info definition ::foo

::nsf::proc ::foo -a:integer -returns integer {return 1}

% nsf::cmd::info returns ::foo

integer

The regression test was extended to cover these cases.

improve spelling

improved documentation

    • -7
    • +17
    /doc/next-tutorial/next-tutorial.txt
improve spelling

fixed omission of checkers in graphic

    • binary
    /doc/next-tutorial/value-checkers.graffle
    • binary
    /doc/next-tutorial/value-checkers.png
extend Tcl9 compatibility

Fix bug, where Tcl's "string is" checker modified result, when used as a return value checker

The new code saves and restores the original result value.

The regression test was extended.

Many thanks to Antonio Pisano for pointing out this issue.

updated version number of github actions to address deprecation warning from Node.js

generalize handling of isTYPE calls by defining CHARTTYPE

The macro was developed earlier on NaviServer, and is used

in nsf for "upper", "space" and "alpha" character checkers

Provide an initializer for the new size_t field of Tcl_ObjType (Tcl 9)

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

removed TCL_OUT_LINE_COMPILE, which is removed in Tcl 9.0 (many thanks to Jan Nijtmans)

Add core-8-6-13-rc for the time being

in NaviServer mode, flush buffers after every file

This avoid potential interger overruns in Tcl, when sending many large files

over slow lines.

* README.release: Clarify how to produce HTML documentation for sourceforge.io [skip ci]

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

release work

* ChangeLog-2.3.0-2.4.0.log: Updated [skip ci]

reduce warnings for other compilers

reduce warnings for clang

clang has no "-Wmaybe-uninitialized" flag

updated announce file

Added a warning, when a name of a slot contains characters hinting a typo (missing ":")

make test more generic

Previously the test failed, since the file, which was read, was

changing its size. Now, the number of expected chunks is computed

depending on the actual file size.

    • -1
    • +2
    /library/mongodb/tests/nsf-gridfs.test
use gcc-11 only for macos, but not for ubuntu-latest

release work

Use gcc-11 instead of gcc-10, which is available on ubuntu-latest

* Announce2.4.0: Completed draft [skip ci]

* ChangeLog-2.3.0-2.4.0.log: Improve wording, formatting [skip ci]

* ChangeLog-2.3.0-2.4.0.log: Updated changelog [skip ci]

address the maybe-uninitialized warnings

I do not really like the approach based on pragmas, but i do even

less like the warnings, when compiled with -pedantic