library

Clone Tools
  • last updated 4 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Fixed some more [info callable] occurrences

- removed XOTCL_METHODTYPE_OBJECT from XOTCL_METHODTYPE_BUILTIN - default methodtype returns now everything, which is a true method (except objects) - methodtype -all includes objects - the object "slot" does not appear now in the method listing per default for classes having slots

  1. … 4 more files in changeset.
- removed methods object-mixin and object-filter from the interface. (Caused some duplication of logic in the method "object") _ added option noforwarder to RelationSlots - some minor cleanup

  1. … 2 more files in changeset.
- Accomplished major rewrite and cleanup of the comment block parser. The revised design allows us to express parsing states (context, description, part) as well as their substates reflecting the comment line processed (tag, text, space) directly. The design follows a METHODS-FOR-STATES strategy. Also, the parsing logic is now self-contained and is not interwoven with the class hierarchy documentation entities anymore (i.e., the former process() method of Entity and its subclasses). - The modal/reactive design of the comment block parser has been streamlined: There is a CommentBlockParser class which acts as the event source. The actual parsing is achieved by the mixin-refined entity objects by reacting upon the parsing events (process, parse, next). - Adjusted the tests in doc.tcl accordingly. - Changed occurrences of [info callable] to reflect the latest changes.

  1. … 1 more file in changeset.
- made slot optimizer more robust

  1. … 1 more file in changeset.
- checked saftey of Class.method, Class.alias, Class.setter, Class.forward - made Class.filterguard, Class.mixinguard, Class.attribute robust against per-object mixins from meta-classes - fixed mixin/filter delete methods with guarded operations - extended regression test - all methods defined on both, Object and Class are now safe in respect to per-object mixins with meta-classes

  1. … 2 more files in changeset.
- made Class.info, Class.mixin, Class.filter robust against per-object mixins from meta-classes - extended regression test

  1. … 5 more files in changeset.
- changed "info method filter ...." into "info callable filter ..." - fixed "o info callable method" in some cases with mixins - extended regression test - updated migration guide

  1. … 6 more files in changeset.
- renamed "info method name ..." into "info method handle ...", since it returned already the handle - renamed ListMethodName() to ListMethodHandle() - changed output of "info callable -which ..." from definition to method handle - renamed "info callable -which ..." into "info callable method ..." - updated regression test to reflect the changes

  1. … 10 more files in changeset.
- removed method "filtersearch" from nx.tcl - added "obj info method filter methodName" to nx - updated xotcl.2 to use new filtersearch imprementation - updated migration guide

  1. … 5 more files in changeset.
- removed method "autoname" from nx.tcl - added "method require autoname" - added "method require exists"

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

  1. … 9 more files in changeset.
- upgraded to TEA 3.9

    • -2
    • +1
    ./xotcl/library/store/XOTclGdbm/configure.in
    • -139
    • +138
    ./xotcl/library/store/XOTclGdbm/tcl.m4
    • -213
    • +55
    ./xotcl/library/store/XOTclSdbm/configure
    • -2
    • +1
    ./xotcl/library/store/XOTclSdbm/configure.in
    • -139
    • +138
    ./xotcl/library/store/XOTclSdbm/tcl.m4
    • -3
    • +0
    ./xotcl/library/xml/TclExpat-1.1/Makefile.in
    • -213
    • +56
    ./xotcl/library/xml/TclExpat-1.1/configure
    • -2
    • +1
    ./xotcl/library/xml/TclExpat-1.1/configure.in
    • -139
    • +138
    ./xotcl/library/xml/TclExpat-1.1/tcl.m4
  1. … 5 more files in changeset.
- use testfile name as additional prefix in test reports

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

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

  1. … 4 more files in changeset.
- moved all exports of nsf to predefined.tcl - made imports in xotcl2 and nx explicit

  1. … 4 more files in changeset.
- updated to TEA 3.8

    • -537
    • +61
    ./xotcl/library/store/XOTclGdbm/configure
    • -286
    • +73
    ./xotcl/library/store/XOTclGdbm/tcl.m4
    • -537
    • +61
    ./xotcl/library/store/XOTclSdbm/configure
    • -286
    • +73
    ./xotcl/library/store/XOTclSdbm/tcl.m4
    • -537
    • +61
    ./xotcl/library/xml/TclExpat-1.1/configure
    • -286
    • +73
    ./xotcl/library/xml/TclExpat-1.1/tcl.m4
  1. … 4 more files in changeset.
- made the "next scripting laguage" a own, loadable tcl package (currently named nx, name is subject of change) - predefined.tcl is now pretty minimal.

    • -113
    • +114
    ./xotcl/library/xotcl2.tcl
  1. … 22 more files in changeset.
- refactor make file to better separate xotcl from the rest

    • -0
    • +41
    ./xotcl/library/COPYRIGHT
  1. … 1 more file in changeset.
- changed more self/current

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

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

    • -0
    • +57
    ./xotcl/doc/Announce-0.9.3
    • -0
    • +100
    ./xotcl/doc/Announce-0.9.4
    • -0
    • +51
    ./xotcl/doc/Announce-1.0
    • -0
    • +57
    ./xotcl/doc/Announce-1.0.1
    • -0
    • +76
    ./xotcl/doc/Announce-1.0.2
    • -0
    • +87
    ./xotcl/doc/Announce-1.1.0
    • -0
    • +52
    ./xotcl/doc/Announce-1.1.1
    • -0
    • +199
    ./xotcl/doc/Announce-1.2.0
    • -0
    • +76
    ./xotcl/doc/Announce-1.3.0
    • -0
    • +13
    ./xotcl/doc/Announce-1.3.1
    • -0
    • +54
    ./xotcl/doc/Announce-1.3.3
    • -0
    • +55
    ./xotcl/doc/Announce-1.3.4
  1. … 81 more files in changeset.
- updated migration guide, added section for callstack introspection - updated serializer for new names

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

  1. … 15 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

  1. … 3 more files in changeset.
- deactivated __next for now - iterated thought doc.tcl-TODOs - fixed path in invocation of xotcl doc script

  1. … 11 more files in changeset.
- moved slottest to library/xotcl - added new Makefile target test-xotcl - finished test migration for now

    • -0
    • +630
    ./xotcl/tests/slottest.xotcl
  1. … 3 more files in changeset.
- moved some more xotcl specfic tests to library/xotcl - transformed forwardtest from xotcl to next

    • -0
    • +48
    ./xotcl/tests/UNIVERSAL.test
    • -0
    • +83
    ./xotcl/tests/actiweb.test
    • -0
    • +401
    ./xotcl/tests/persistence.test
    • -0
    • +547
    ./xotcl/tests/speedtest.xotcl
    • -0
    • +1661
    ./xotcl/tests/xoRDF.test
  1. … 9 more files in changeset.
- 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

  1. … 390 more files in changeset.