library

Clone Tools
  • last updated 17 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

  1. … 11 more files in changeset.
- removed capitalization from exit handler interface - reduced interface of exithandler to ::nsf::exithandler set|get|unset ?arg?

  1. … 8 more files in changeset.
- renamed ::nsf::cmd::ObjectInfo into ::nsf::methods::object::info - renamed ::nsf::cmd::ClassInfo into ::nsf::methods::class::info

  1. … 5 more files in changeset.
- 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()

    • -2
    • +3
    ./xotcl/library/lib/staticMetadata.xotcl
  1. … 4 more files in changeset.
- 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

  1. … 6 more files in changeset.
- changed internal method name requireNamespace to "require_namespace"

  1. … 3 more files in changeset.
- added tcl-cool as an additional sample-object-system for nsf

    • -0
    • +325
    ./tcl-cool/tcl-cool.tcl
  1. … 1 more file in changeset.
- simplification and unification of unknown handling and method finalization - some cleanup

  1. … 7 more files in changeset.
- 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

  1. … 7 more files in changeset.
- removed third level from libary/pkgIndex.tcl (not needed)

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

  1. … 10 more files in changeset.
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]

- regenerated pkgindex files

- improved library/lib/make.tcl once more

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

- regenerated index files

- removed unneeded line

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

    • -0
    • +10
    ./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

  1. … 3 more files in changeset.
- 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

  1. … 14 more files in changeset.
- 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)

  1. … 5 more files in changeset.
- 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

  1. … 4 more files in changeset.
- remove useless line

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

  1. … 2 more files in changeset.
- renamed "parameter" into "attributes" in nx - renamed "info parameter" into "info attributes" in nx - updated migration guide - fixed several common typos

    • -2
    • +2
    ./xotcl/library/actiweb/WebAgent.xotcl
  1. … 7 more files in changeset.
- removed overhead on ::nsf::dispatch when called with absolute paths - absolute paths have to start with ":".

  1. … 2 more files in changeset.
- changed "cls object method ..." and friends into "cls class-object method ..."

  1. … 12 more files in changeset.
- changed "info available" into "info lookup" (and accordingly c definitions, migration guide)

  1. … 10 more files in changeset.
- handle aliases to (sub)ensemble objects during final cleanup to improve sharing of logic. - share definition of "info callable" and "info has" ensemble between object info and class info

  1. … 2 more files in changeset.