nsf

Clone Tools
  • last updated 10 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Deactivate support of TIP 629 for the time being

When NS_TCL_HAVE_TIP629 (TIP supporting > 2^31 elements in object

vectors) is activated, Tcl defines different objProcs (Tcl_ObjCmdProc

and Tcl_ObjCmdProc2) for the old and new API, where the usage of these

depends on a cmdWrapperProc. Unfortunately, the resolving of these API

calls is performed through the wrapper via CmdWrapperInfo, which is

not exported. We have to think how to resolve these to make this

working as with prior Tcl versions.

Added missing dependency for forcing recompilation

Provide support for TIP 627 (Tcl 8.7a6+ and Tcl 9)

TIP 627 introduces support for > 2^31 elements in object vectors

(e.g., number of words in a single Tcl command). For details, see

https://core.tcl-lang.org/tips/doc/trunk/tip/627.md

To provide also backwards compatibility, this change uses the macros

TCL_COMMAND_OBJPROC, TCL_CREATEOBJCOMMAND, TCL_NRCALLOBJPROC,

TCL_NRCREATECOMMAND, TCL_OBJCMDPROC_T, and TCL_OBJC_T.

  1. … 7 more files in changeset.
updated copyright notice

change encoding to UTF-8 to improve robustness in various Tcl9 variants (e.g. tip-657)

    • -1
    • +1
    /library/xotcl/library/lib/Script.xotcl
nx-zip.tcl: Added optional parameter channel to returnZipFile to ease usage in the background

Many thanks to Antonio Pisano for the suggestion!

improve spelling

    • -2
    • +2
    /library/xotcl/library/lib/trace.xotcl
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