nsf

Clone Tools
  • last updated 23 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
momgoDB interface: add option "-asJSON" to "find all" to ease interaction e.g. with single page applications.

improve spelling

xotcl regression test: Added a more complex test for testing "new" + volatile

    • -0
    • +10
    /library/xotcl/tests/speedtest.xotcl
add minimal regression test for object property "autonamed"

make code assumptions clear by adding asserts.

This was triggered by a report of Ashok running into a

crash during startup on windows (Visual Studio 2017)

Adjust regression test to more specific error message

- improved error message "not allowed to have default": make clear, this is from a parameter specification - added object property "autonamed" (set automatically for objects created via "new") - xotcl2 volatile: improved backward compatibility with XOTcl 1 - extended regression test

    • -0
    • +25
    /library/xotcl/tests/speedtest.xotcl
- added new variant of "volatile" trying to mimick the XOTcl1 volatile behavior. - added experimental feature NSF_WITH_TCL_OBJ_TYPES_AS_CONVERTER, which uses registered TclObjTypes as value checkers (currently deactivated)

whitespace change

WIP

protect legacy HTTPd against XSS on error messages

    • -2
    • +6
    /library/xotcl/library/comm/Httpd.xotcl
base package nx::zip on Tcl 8.6 builtins instead of relying on the Trf package

use "nonnull_assert" only in combination with "nonnull" declaration

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

* .travis.yml, appveyor.yml: Update build array to 8.6.9

* nsf-cmd.test: Make new tests 8.5-savy

* nsf.c (NsfProcStub): Re-order logic, so that the availability of a shadow proc cmd is tested first (re-fetch) and the parameter passing comes second, conditional on an available dispatch target.

* nsf-cmd.test: Add test rename (target) conflicts for the shadowed procs; improve test formatting

nsf.c (NsfStubProc): Improve comment formatting

* nsf-cmd.test: Modernize tests to work on error codes.

* nsf.c, nsf-cmd.test: Fixed nsf::procs for (unintended) deletes of the shadowed proc, plus test cases.

* nsf.c, nsf-cmd.test: Fixed nsf::procs for (unintended) deletes of the shadowed proc, plus test cases.

* nsf.c, nsfShadow.c (NsfProcStubDeleteProc, Nsf_RenameObjCmd): Provide for coupled renaming of the nsf::proc pairs; and coupled deletion.

* nsf.c, nsfShadow.c (NsfProcStubDeleteProc, Nsf_RenameObjCmd): Provide for coupled renaming of the nsf::proc pairs; and coupled deletion.

* nsf.c (NsfProcStub, InvokeShadowedProc): Provide for re-fetching (e.g., deleted) ::nsf::procs::* commands, to allow for renamed nsf::procs to run. * nsf-cmd.test: Added test to cover re-fetch

* nsf.c (NsfProcStub, InvokeShadowedProc): Provide for re-fetching (e.g., deleted) ::nsf::procs::* commands, to allow for renamed nsf::procs to run. * nsf-cmd.test: Added test to cover re-fetch

* nsf.c, nsfInt.h (NsfProcStub, NsfProcClientData): Apply namespace reform to nsf::procs, to prevent proc redefinition after a proc rename to fail. * nsf-cmd.test: Add test case to document/ to cover failing rename + redefine.

* nsf.c, nsfInt.h (NsfProcStub, NsfProcClientData): Apply namespace reform to nsf::procs, to prevent proc redefinition after a proc rename to fail. * nsf-cmd.test: Add test case to document/ to cover failing rename + redefine.

improve code documentation

remove unneeded assignment