nsf

Clone Tools
  • last updated 18 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
- renamed/removed remaining ::nsf::commands with capitalized names: parametersFromSlots ==> parametersFromSlots unsetUnknownArgs ==> __unset_unknown_args infoError removed - renamed predefined.tcl into nsf.tcl - remaining cmds in nsf (except __*) containing "_": ::nsf::provide_method, ::nsf::require_method

- fixed typo in exithandler definition

- removed capitalization from exit handler interface - reduced interface of exithandler to ::nsf::exithandler set|get|unset ?arg?

- renamed ::nsf::cmd::ObjectInfo into ::nsf::methods::object::info - renamed ::nsf::cmd::ClassInfo into ::nsf::methods::class::info

    • -11
    • +11
    /library/serialize/serializer.tcl
    • -62
    • +62
    /library/xotcl/library/xotcl2.tcl
- added scripted replacement for binary nxsh - new define SKIP_LAMBDA to make apply tests working without SKIP_LEVELS

- provide debugging output when varFramePtr in GetSelfObj() is NULL - filter misleading "proc" entry for "info frame" for nsf-stack entries - add "method" for "info frame" for nsf-stack entries - defnied SKIP_LEVELS to omit optionally skipping of tcl-stack entries in GetSelfObj()

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

- added fake calue for cmdPtr in fakeProc to make "info frame" happy

- changed "info method lookup -application" into "info method lookup -source application" - introduced "info method lookup -source application|baseclasses|all" - updated migration guide - extended regression test

- removed TCL85STACK_TRACE - renamed cscPtr->callType to cscPtr->flags, since this is now more appropriate - some more minor cleanup

- 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()