library

Clone Tools
  • last updated 1 hour ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
- use prefix sub= for methods invoked on "object as method" - change further instances of "my connection" to "[self]::connection" in xo*comm*

  1. … 3 more files in changeset.
- changed requireNamespace to "require namespace" in lib/make.tcl

- implemented experimental delegating version of "object as method" that keeps the original self.

    • -40
    • +40
    ./xotcl/library/comm/Httpd.xotcl
  1. … 6 more files in changeset.
- deactivated "abstract"

  1. … 1 more file in changeset.
- replaced "obj|cls mixinguard name cond" by "obj|cls mixin guard name cond" - replaced "obj|cls info mixinguard name" by "obj|cls info mixin -guard name" - replaced "cls object info mixinguard name" by "cls object info mixin -guard name" - removed XOTclObjInfoMixinguardMethod() - removed XOTclClassInfoMixinguardMethod() - extended regression test - updated migration guide

  1. … 8 more files in changeset.
- replaced "obj|cls filterguard name cond" by "obj|cls filter guard name cond" - replaced "obj|cls info filterguard name" by "obj|cls info filter -guard name" - replaced "cls object info filterguard name" by "cls object info filter -guard name" - removed XOTclObjInfoFilterguardMethod() - removed XOTclClassInfoFilterguardMethod() - extended regression test - updated migration guide

  1. … 6 more files in changeset.
- use now class-only for all methods methods of meta-classes. Methods of meta-classes are intended to be applied on classes, one should not change this via per-object mixins. - respect class-only in "info callable methods|method" - extended regression test - provided relation name "object-filter" to slot filter.

  1. … 5 more files in changeset.
- experimental method-property "class-only": this allows to make object save against per-object mixins of meta-classes. the flag is only used in the mixin-resolver - used for the time being in nx only for Class.info, but would apply as well for methods defined on both Object and Class.

  1. … 4 more files in changeset.
- changed __invalidateobjectparameter from a method of class to framework primitiv ::nsf::invalidateobjectparameter

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