Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Commits on Jan 23, 2012
  1. @gustafn
Commits on Jan 21, 2012
  1. @gustafn

    - extend regression test for interactions between "keepcallerself" and

    gustafn authored
      "perobjectdispatch"
    - some minor cleanup
Commits on Jan 20, 2012
  1. @gustafn

    - fixed potential crash from method caching, when permissions on cmds…

    gustafn authored
    … are
    
      changed and become e.g. unresolvable
    - removed flag allowmethoddispatch, since behavior can be achived via
      private flag.
    - extended regression test
  2. @gustafn
  3. @gustafn

    - deacitivate for the time being allowmethoddispatch

    gustafn authored
      (make it behave always like true)
    - added instead new flag "perobjectdispatch" to make
      behavior of ensembleobjects configurable.
    - The behavior for keepcallerself is currently
      only activated for the method-interface
      for object dispatch, since otherwise the following
      would be dangerous, since "o2 foo" would destroy o2
         nx::Object create o1
         nsf::object::property o1 keepcallerself true
         nx::Object create o2 {
           ::public method foo {} {o1 destroy}
         }
         o2 foo
  4. - Used "gcc -ansi" to test ANSI compatibility (with MSVC in mind)

    ssoberni authored
    - generic/nsf.c, generic/nsfShadow.c: Fixed some non-ANSI comments
    - generic/nsfError.c: Relocated a declaration to the beginning of the
      scope block (MSVC shouted here)
    - generic/nsfInt.h: Made sure that NSF_INLINE is only set in non-ANSI
      gcc builds, added a tiny portability wrapper for va_copy (to support
      MSVC and the gcc/clang ANSI mode)
  5. @gustafn

    - nsf.c: start all error messages with a lower case word for consistency

    gustafn authored
      and to follow closer to Tcl's conventions
  6. @gustafn

    - use alias-stubs for aliases pointing to objects. This allows

    gustafn authored
      us to distinguish between cases, where an object is dispatchable
      due to the alias or due to allowmethoddispatch (when the object
      happens to be a subobject and has therefore its cmd in the same
      namespace). The semantics are now:
       - aliases to objects are always dispatchable, no matter, how
         allowmethoddispatch is set.
       - direct subobjects of objects are currently on dispatchable
         when allowmethoddispatch is set.
Commits on Jan 19, 2012
  1. @gustafn

    - alias reform: instead of calling first an alias with a stack frame

    gustafn authored
      followed by the dispatched of the aliased cmd, resolve aliases
      internally in dispatch. This has the advantage that we do not
      have to ignore the "transparent" stack frame in some sitations,
      and we have much less problems with the names of the aliased cmds
      (e.g. objects) in the introspection methods. Additionally, several
      problem cases disappeared from the regression test cases.
      In addition, the new approach is faster.
    - eliminating obsolete flag NSF_CSC_CALL_IS_TRANSPARENT
Commits on Jan 16, 2012
  1. @gustafn
  2. @gustafn

    Extend handling of dashses in XOTcl's configure method to perform a m…

    gustafn authored
    …ore eager search for command begins (same change as in XOTcl 1)
  3. @gustafn

    Fix typo in nsf::predefined

    gustafn authored
  4. @gustafn

    Fix typo in ::nsf::deprecated

    gustafn authored
Commits on Jan 15, 2012
  1. @gustafn

    - Added exerpimental object property "allowmethoddispatch" for

    gustafn authored
      child-objects to be called from parent objects via method interface.
      Background: both, per-object methods and childobjects are
      implemented via cmds in the same tcl namespace. Without special
      care, both are callable via the standard dispatch. Apparently, this
      is not always wanted.
    - handled allowmethoddispatch and keepcallerself in copy/move
    - set allowmethoddispatch per-default in XOTcl
    - removed visablilty of objects with "allowmethoddispatch" false in
      "info methods" and "info search methods"
    - extended regression test
Commits on Jan 14, 2012
  1. @gustafn

    remove namespace import nx::*

    gustafn authored
Commits on Jan 13, 2012
  1. @gustafn

    - removed TODOs from keepcallerself in destroy.test; calls were truel…

    gustafn authored
    …y recursive,
    
      behavior was correct.
  2. @gustafn

    - simplified usage of ObjectName() and ClassName() macros (no caller …

    gustafn authored
    …parenthesis needed)
    
    - added exerpimental object property keepcaller self (currently only evaluated by aliased objects)
  3. @gustafn
  4. @gustafn
Commits on Jan 10, 2012
  1. @gustafn
Commits on Jan 2, 2012
  1. - library/serialize/serializer.tcl: Remove uses of

    ssoberni authored
      ::nsf::method::property to handle "returns", now redundant because
      "returns" are properly reported by "info method definition"
  2. - TODO: updated

    ssoberni authored
  3. - generic/nsf.c: Have NsfNSCopyCmdsCmd() handle "returns" method

    ssoberni authored
      properties for scripted methods. Note that aliases and forwards are
      not yet covered by the copying procedure as implemented by
      NsfNSCopyCmdsCmd().
    - tests/info-method.test: Added tests for "info method returns" and
      "info method defintion" covering "returns" method properties.
  4. - Make sure "info method definition" includes the

    ssoberni authored
      "-returns" clause.
    - generic/nsf.c: Added a helper function AppendReturnsClause()
  5. - Adding support for "cls|obj info method returns"

    ssoberni authored
    - generic/nsf.c: ListMethod() now handles a InfomethodsubcmdReturnsIdx
      subcmd.
    - generic/nsfAPI.decls|nsfAPI.h|nsfDecls.h: Registerung a new "info method"
      subcmd: "returns"
Commits on Dec 25, 2011
  1. @gustafn

    - remove leftover from merge

    gustafn authored
Commits on Dec 24, 2011
  1. @gustafn
  2. @gustafn

    - added two files to the asm directory (one needed for compilation, o…

    gustafn authored
    …ne for documentary purpose)
Commits on Dec 23, 2011
  1. @gustafn

    Merge branch 'assemble'

    gustafn authored
    Conflicts:
    	generic/nsf.c
Commits on Dec 22, 2011
  1. @gustafn

    - initialize result properly

    gustafn authored
  2. @gustafn
  3. @gustafn
  4. @gustafn

    - added README file

    gustafn authored
  5. @gustafn
Commits on Dec 18, 2011
  1. @gustafn

    - generate AsmAssemble() from definition file as well (currently incl…

    gustafn authored
    …uded in LabelThreading template)
Something went wrong with that request. Please try again.