nsf

Clone Tools
  • last updated 18 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Make library/pkgIndex.tcl traversing three directory levels (instead of just 2). This is necessary to catch the packages and library/xotcl/library. As a symptom, xocomm.test failed. This was because it was picking up comm packages in the install, rather than the source tree which did not reflect the changes in the nested object dispatches: [my connection foo] -> [[self]::connection foo]

- fixed handling of TclNRRunCallbacks, such that coroutines can be easily used (more testing required) - added temporary routine ::nsf::yieldcheck for coro debugging - renamed Tcl85showStack() to TclShowStack()

- regenerated pkgindex files

    • -1
    • +1
    /library/xotcl/library/comm/pkgIndex.tcl
    • -1
    • +1
    /library/xotcl/library/rdf/pkgIndex.tcl
    • -1
    • +1
    /library/xotcl/library/store/pkgIndex.tcl
    • -1
    • +1
    /library/xotcl/library/xml/pkgIndex.tcl
- improved library/lib/make.tcl once more

- fixed again library/xotcl/library/pkgIndex.tcl

- regenerated index files

    • -1
    • +1
    /library/xotcl/library/comm/pkgIndex.tcl
    • -1
    • +1
    /library/xotcl/library/rdf/pkgIndex.tcl
    • -1
    • +1
    /library/xotcl/library/store/pkgIndex.tcl
    • -1
    • +1
    /library/xotcl/library/xml/pkgIndex.tcl
- removed unneeded line

- added explicitly library/xotcl/library/pkgIndex.tcl

    • -0
    • +10
    /library/xotcl/library/pkgIndex.tcl
- make changes for public methods

- fixed a crash for tcl 8.6b1 in return value checking. now it complains about missing cmdPtr; it is not clear, why this is missing at the first place in 8.6b1 while working in 8.5

- merged Stefan's updates into TODO

- made methods (for now just scripted methods) by default protected. - provide methode __default_method_protection to obtain the default method protection when neither protected or public is used. - per default methods are now protected - provide ::nx::configure defaultMethodProtection true|false as conveniant interface - update regression test and serializer to handle default protection

    • -11
    • +11
    /library/serialize/serializer.tcl
- updated todo

- fix typo

- removed obsolete code

- handle next in ensemble with arguments - extended regression test

- new nsf::next cmd. receives 0 or 1 argument, which might be a list of arguments. This avoids ambiguity of ::xotcl::next with "--noArgs". - renamed namespace_copycmds and namespace_copyvars to nscopycmds and nscopyvars (we don't use "_" in nsf::*-names as delimiters elsewhere) - renamed __qualify to qualify (it is a non-exported cmd)

- call internal NextSearchAndInvoke (without NextGetArguments) from the implicit next in ensemble methods - made NsfNextMethod() obsolete to ease different noarg handling policies

- renamed functions in nsfStack.c to follow Tcl naming guidelines

- rennamed tests/subcmd.tcl info tests/submethods.tcl - moved relevant tests from tests/parameters into tests/submethods.tcl

    • -0
    • +216
    /tests/submethods.tcl
- renamed "... info ... subcommands ..." into "... submethods ..."

- refactored next and argument passing (new methods NextGetArguments(), NextSearchAndInvoke() and CallStackFindEnsembleCsc()) - doing an internal next in cases where a method ensemble does not contain the called submethod - added regression tests for partial ensembles

- implemented next within ensemble methods - added regression tests for next within ensembles - added regression tests for upvar with ensembles

- added test case for next in ensemble

- working on next from ensemble

- first steps towards next-handling in ensemble methods

- provide cscPtr in debug output

- updated todo list

- remove useless line

- documented behavior of upvar/uplevel with aliases on scripted procs through regression test