nsf

Clone Tools
  • last updated 9 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Fix typo in ::nsf::deprecated

Extend backport of handling of dashses in XOTcl's configure method to perform a more eager search for command begins. Extended regression test.

- Added exerpimental object property "allowmethoddispatch" for 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

Don't overwrite error messages from __unknown handler in several situations (superclass, parameter class, mixin class)

remove namespace import nx::*

- removed TODOs from keepcallerself in destroy.test; calls were truely recursive, behavior was correct.

- simplified usage of ObjectName() and ClassName() macros (no caller parenthesis needed) - added exerpimental object property keepcaller self (currently only evaluated by aliased objects)

Version generated for Tcl 8.5 - maybe we keep this out from the repo in the future

Allow to pass casts to macros ClassName and ObjectName

- Commented Change in ChangeLog - bumped version number

Backport from nsf: when processing arguments with leading dashes in "configure", accept only method names without spaces. This solves a problem with Tcl8.4 + ns_eval where the output of the serializer could not be processed by eval (a [list ..] was lost).

Fixed wrong release level

Bump version number to 2.0 to avoid confusions with the serializer from XOTcl 1

- library/serialize/serializer.tcl: Remove uses of ::nsf::method::property to handle "returns", now redundant because "returns" are properly reported by "info method definition"

- TODO: updated

- generic/nsf.c: Have NsfNSCopyCmdsCmd() handle "returns" method 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.

- Make sure "info method definition" includes the "-returns" clause. - generic/nsf.c: Added a helper function AppendReturnsClause()

- Adding support for "cls|obj info method returns" - generic/nsf.c: ListMethod() now handles a InfomethodsubcmdReturnsIdx subcmd. - generic/nsfAPI.decls|nsfAPI.h|nsfDecls.h: Registerung a new "info method" subcmd: "returns"

- remove leftover from merge

- remove file which was placed into generic/asm

- added two files to the asm directory (one needed for compilation, one for documentary purpose)

    • -0
    • +487
    /generic/asm/nsfAssemble.c
    • -0
    • +214
    /generic/asm/threaded.c
Merge branch 'assemble'

Conflicts:

generic/nsf.c

Some initial changes for providing a valgrind target

- initialize result properly

    • -1
    • +1
    /generic/asm/asmExecuteTemplateLabelThreading.c
    • -1
    • +1
    /generic/asm/nsfAsmExecuteLabelThreading.c
- updates for the tutorial (mustly typos and stilistic changes)

- xotcl/library/comm/Httpd.xotcl: force dates in GMT as HTTP RFCs require

    • -1
    • +1
    /library/xotcl/library/comm/Httpd.xotcl
- Httpd: force GMT dates as required by RFC

- added README file

    • -0
    • +240
    /generic/asm/README
- restructured directories, added configure options, some more cleanup

    • -0
    • +311
    /generic/asm/asm.tcl
    • -0
    • +274
    /generic/asm/asmAssembleTemplate.c
    • -0
    • +70
    /generic/asm/asmExecuteTemplate.c
    • -0
    • +62
    /generic/asm/asmExecuteTemplateCallThreading.c
    • -0
    • +68
    /generic/asm/asmExecuteTemplateLabelThreading.c
    • -0
    • +682
    /generic/asm/genAssemble.tcl
    • -0
    • +580
    /generic/asm/nsfAsmAssemble.c
    • -0
    • +313
    /generic/asm/nsfAsmExecuteCallThreading.c
    • -0
    • +362
    /generic/asm/nsfAsmExecuteLabelThreading.c
    • -344
    • +0
    /generic/asmExecuteTemplateLabelThreading.c
- generate AsmAssemble() from definition file as well (currently included in LabelThreading template)

    • -7
    • +266
    /generic/asmExecuteTemplateLabelThreading.c