nsf

Clone Tools
  • last updated 22 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
- changed debug command __db_yield (unporable between various 8.6b* version) into __db_show_stack

- changed internal method name requireNamespace to "require_namespace"

- added tcl-cool as an additional sample-object-system for nsf

    • -0
    • +325
    /library/tcl-cool/tcl-cool.tcl
- minimal cleanup

- make "createobjectsystem" more robust (allow to provided not fully qualified names).

- simplification and unification of unknown handling and method finalization - some cleanup

- save snapshot; refactoring in order to ease NRE development with unified method and dipatch exit. - named debugging cmds __db_* - new cmd __db_run_assertions to perform checking of the internal state

    • -15
    • +29
    /library/xotcl/tests/testx.xotcl
- some refactoring for making code structure more sane for NRE (but not done yet)

- removed third level from libary/pkgIndex.tcl (not needed)

    • -3
    • +2
    /library/xotcl/apps/comm/webserver.xotcl
- make coloncmd are NRE-enabled - make every internal method invokation (NsfCallMethodWithArgs() and CallMethod()) NRE-configurable - use "Nsf" prefix for global vars to avoid potential conflicts - minimal support for sane-NRE patch - failed so far to make my NRE-enabled - new compile-flag for tracing: NRE_CALLBACK_TRACE - extended regression test (added test for 8.6 apply) - renamed tests/coroutines.tcl to tests/tcl86.tcl

- provide comments for NextInvokeFinalize()

- make ::nsf::next and ::xotcl::next NRE-enabled

- some cleanup concerning TCL_STACK_ALLOC_TRACE

- passing part of dispatch flags in cscPtr->callType - runs now full regression test NRE enabled, but still much debugging and options for less conservative behaviour

- make comparison slightly simpler (C style)

Merge branch '2.0.0-develop' of ssh://alice.wu-wien.ac.at/usr/local/src/git-repo/xotcl into 2.0.0-develop

- Big internal changes for handling nre-enabled procs in more situations. Handles now all nx regression tests, but fails in testx.xotcl (just nre-enabled)

    • -0
    • +33
    /tests/coroutines.tcl
Fixed the bitwise flag comparison in ProtectionMatches() which failed to yield a boolean result. This resulted in unanticipated [obj info methods -callprotection] behaviour, with the -callprotection filter seemingly being ignored. Added some tests to tests/info-method.tcl.

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