nsf

Clone Tools
  • last updated 7 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
- Let nsf create classes with ::nsf::object::unknown handler in the fly, when c-function are called with objects of type class. This is necessary for triggering creation attempts in ttrace via ::nsf::object::alloc SOMECLASS SOMEOBJ

- bump version number of XOTcl to 2.1

- turned all for-loops controlled over a nonnull value into while loops - updated TODO, copyright notices, version number

- add editor hint

- move assignment aster nonnull assertions

- turned all for-loops controlled over a nonnull value into while loops.

- upadte version numbers in README

- fix description

Merge branch 'nx-slot-trace-handler'

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

Slot trace reform: - redesign of slot interface of traces from * variables contains cmds and variable references to * slot specific methods with the same interface as slot-setters - new: * specify flag "-trace" with a list of values "get", "set", "default" * when flag is set, a trace will be registered calling methods value=get obj variable value=set obj variable value value=default obj variable on the slot (actually the first two are identical with the methods used for slot-defined accessors) - updated regression test * new flag "-notrace" for "nsf::var::set" and "nsf::var::get"

    • -118
    • +28
    /library/xotcl/tests/slottest.xotcl
xotclsh, xowish: Make sure minor versions >2.1 are accepted

nx::shell: Have xotclsh and xowish use nx::shell

nx::shell: Have nxsh and nxwish use nx::shell

nx::shell: Avoid poluting global namespace

Started refactoring scripted shell environment into a single, package location (nx::shell) to ease sharing between nxsh & friends, as well as to facilitate implementingNX/XOTcl shells in wrapped applications (tclkits)

    • -0
    • +46
    /library/lib/nx-shell.tcl
- update release hints

- make sure to reset prevPreventRecursionFlags to value before the call

- added flags "-debug" and "-deprecated" to XOTcl 2 "instproc", "proc", "instforward" and "forward" methods

- changed interface of NsfDStringEval to control behavior via bitflags (this is after all more readable than a argument list of "0" and "1"s) - added optional recursion prevention for functions called via NsfDStringEval (handling NSF_EVAL_DEBUG, NSF_EVAL_LOG, NSF_EVAL_DEPRECATED) - added regression tests for potential recursive calls

- add absolute path in returned proc defintion to regression test

- add result in debug exit calls

- return fully qualified name for "::nsf::cmd::info definition" when called on plain procs

- generalize method serialization of forwarders

    • -100
    • +120
    /library/serialize/serializer.tcl
- fix compilation when DTRACE but no PROFILE is activated

- prefer boolean expressions in assert() statements

- make sure, we do not pass null values to nonnull arguments

- add etags target

- replace all remaning ObjectName and ClassName with variant with trailing "_" when appropriate - allow nsf::procs with zero arguments or plain arguments (when "-debug" is used - extended regression test - bump version number to 2.1

- provide backward compatibility in method-serializer