nsf

Clone Tools
  • last updated 1 hour ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
- removed method "autoname" from nx.tcl - added "method require autoname" - added "method require exists"

- nsf: provided scripted support for "require/provide methods" - nx: new method ":require namespace" ":require method" "require object method" - added regression test method-require - removed requireNamespace from nx.tcl (still exists in xotcl) - replaced "requireNamespace" by "require namespace" in nx regression tests - updated migration guide

    • -0
    • +58
    /tests/method-require.tcl
- upgraded to TEA 3.9

    • -139
    • +138
    /library/xotcl/library/store/XOTclGdbm/tcl.m4
    • -139
    • +138
    /library/xotcl/library/store/XOTclSdbm/tcl.m4
- fixed typo

- implemented return value checker (for scripted and c-implemented methods) - additional methodproperty returns (for registering a return value checker) - support for incrementally adding stuff to paramDefs (such as slotobj or return value) - new c-function ParamDefsNew() - added regression test for return value checker

    • -0
    • +118
    /tests/returns.tcl
Merge branch '2.0.0-develop' of ssh://alice.wu-wien.ac.at/usr/local/src/git-repo/xotcl into 2.0.0-develop

- commented out XOTCL_CMD_NOT_FOUND, since it seems to be obsolete by now - extended regression test to avoid CallDirectly on dealloc (the last place, where XOTCL_CMD_NOT_FOUND was used)

- implemented parameter option "allowempty" - extended regression test

- 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