nsf

Clone Tools
  • last updated 14 mins ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
- make one more instproc context explicit

- make capitalization in comments consistent

- make resolving context explicit in migration guide

- added object-parameter sections to migration guide

- use testfile name as additional prefix in test reports

- sketch next migratin guide examples

- continue work on migration guide

- replaced several occurrences of "eval" in nx.tcl and xotcl2.tcl

- Implemented "interp alias" support for classes. In some cases. interp-aliased classes worked already without additional code, but e.g. in "... -superclass C ..." it failed. Without this feature, one could not reuse a class with a different namespace, unless it was explicitely "namespace exported" in the source. The problem was the implementation of "::nx::Attribute", which should not be exported in nx (most people do a "namespace import ::nx::*") because there is no need to do so, but ::xotcl::Attribute should reuse it - without subclassing). .... However, we still seem to have a problem, when the interp-aliased Class is exported and imported to a different namespace.

- removed definition of slots from nx, changed regression tests

examples to to ::attribute instead of -slots

- adjusted path in documentation system for nx/nx.tcl

- moved all exports of nsf to predefined.tcl - made imports in xotcl2 and nx explicit

- updated to TEA 3.8

    • -286
    • +73
    /library/xotcl/library/store/XOTclGdbm/tcl.m4
    • -286
    • +73
    /library/xotcl/library/store/XOTclSdbm/tcl.m4
- some updates

- made the "next scripting laguage" a own, loadable tcl package (currently named nx, name is subject of change) - predefined.tcl is now pretty minimal.

    • -1
    • +1
    /library/lib/doc-assets/object.html.tmpl
    • -0
    • +1404
    /library/nx/nx.tcl
  1. … 18 more files in changeset.
- fix further pathnames

- refactor make file to better separate xotcl from the rest

    • -0
    • +41
    /library/xotcl/library/COPYRIGHT
- changed more self/current

- added interp alias "nx::self" to "nx::core::current method" - changed "current proc" into "current method" in scripts and tests

- Introduced $xotcl_target_doc_dir for generated xotcl documentation. Generate xotcl documentation in this directory. - moved more (hopefully all) xotcl doc components into library/xotcl/doc

  1. … 81 more files in changeset.
- updated migration guide, added section for callstack introspection - updated serializer for new names

    • -19
    • +19
    /library/serialize/serializer.tcl
- xotcl.c: * new function GetObjectFromNsName() to obtail object or class from a fully qualified namespace name used in method handles (such as e.g. ::nx::core::classes::X) * new function MethodHandleObj() to return a tcl_obj containing the methodhandle * removed obsolete method getFullProcQualifier() * info methods obtain now object and/or class from fully qualified method names (method handles) if possible * return message handles in "current next", "current filterreg" and "... info filter ... -order", which can be used in "info method .... " for obtaining more details. * change all occurrances of "self" in next regression tests to current. - xotcl2.tcl * implemented "self" as a proc to provide extensibility and full backward compatibilty; this opens opportunity to replace now e.g. "self proc" by "current method", etc. * provide full compatibility for "self next", "self filterreg" and "... info filter ... -order", returning old-style multiword method handles (such as e.g. "::C instproc foo") - changed "next" to current in documentation framework and templates

    • -3
    • +3
    /library/lib/doc-assets/entity.html.tmpl
    • -10
    • +10
    /library/xotcl/tests/testx.xotcl
  1. … 5 more files in changeset.
- iterated through doc.tcl-TODOs - changed CheckVarName to allow array names like e.g. a(::b) - extended regression test - fixed serializer to handle subobjects of explicitely exported objects

- deactivated __next for now - iterated thought doc.tcl-TODOs - fixed path in invocation of xotcl doc script

- moved slottest to library/xotcl - added new Makefile target test-xotcl - finished test migration for now

    • -0
    • +630
    /library/xotcl/tests/slottest.xotcl
- moved some more xotcl specfic tests to library/xotcl - transformed forwardtest from xotcl to next

    • -0
    • +48
    /library/xotcl/tests/UNIVERSAL.test
    • -0
    • +83
    /library/xotcl/tests/actiweb.test
    • -0
    • +401
    /library/xotcl/tests/persistence.test
    • -0
    • +547
    /library/xotcl/tests/speedtest.xotcl
    • -0
    • +1661
    /library/xotcl/tests/xoRDF.test
    • -0
    • +390
    /tests/forwardtest.tcl
- created own directory structure xotcl under library containing doc, tests, apps, lib etc. and moved obvious content here. - adjusted regression test and old documentation system to work with new structure

    • -205
    • +0
    /apps/actiweb/FormsWithState.xotcl
    • -82
    • +0
    /apps/actiweb/securePlaceDemo.xotcl
  1. … 390 more files in changeset.
- added redefine-protected to the object template - added methodtype to object template - some documentation updates - some indentation/spacing improvements on xotcl.c - let ".... info method .... METHOD" return values, when METHOD contains namespace prefix. This can be used to obtain the parmeter definitions from nx::core - get forward definition from the original command

    • -5
    • +12
    /library/lib/doc-assets/object.html.tmpl
- added @properties and has_property to the documentation classes. Current primary purpose: define, which methods are internally-called - added interanlly-called to the method object template

    • -0
    • +4
    /library/lib/doc-assets/object.html.tmpl
- renamed mk_predefined.xotcl -> mk_predefined.tcl - renamed predefined.xotcl -> predefined.tcl - additional subcommand "info method parametersyntax <methodname>" returns parameters in a syntax similar to the tcl man pages - added ability to pass syntax for forwarded methods via set ::nx::core::signature(::nx::Object-method-forward) (experimental) - fixed documentation system to work with actual version - added undocumented methods for quality control in documentation - added checks for documented, but unavailable methods in documentation - added comparison of documented parameters vs. actual parameters in documentation

    • -0
    • +26
    /generic/mk_predefined.tcl
    • -0
    • +1456
    /generic/predefined.tcl
    • -5
    • +5
    /library/lib/doc-assets/command.html.tmpl
    • -16
    • +20
    /library/lib/doc-assets/object.html.tmpl
    • -0
    • +1817
    /library/lib/doc-tools.tcl
  1. … 3 more files in changeset.
- changed "Serializer.xotcl" to "serializer.tcl" (package name from xotcl::serializer to nx::serializer) - added stub for xotcl::serializer for backward compatibility - changed serializer to new namespaces - renamed xotcl.tcl to xotcl2.tcl - added proc finalize to xotcl2.tcl

    • -0
    • +812
    /library/lib/xotcl2.tcl
    • -849
    • +2
    /library/serialize/Serializer.xotcl
    • -0
    • +864
    /library/serialize/serializer.tcl