xotcl.c

Clone Tools
  • last updated 14 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
- removed "nsf::is ... -type ...." - adoped emulation layer in xotcl2 accordingly - extended regression test

  1. … 5 more files in changeset.
- removed "objectproperty .... type" - renamed isSubType() to IsSubType() - adoped emulation layer in xotcl2 accordingly - added two tests for "info has type" in regression test

  1. … 7 more files in changeset.
- removed "objectproperty .... hasmixin" - removed "nsd::is ... -hasmixin ...." - removed type-converter "type=hasmixin" - adoped emulation layer in xotcl2 accordingly - added two tests for "info has mixin" in regression test

  1. … 6 more files in changeset.
- updated interface definitions for info methods, sort these alphabetically

  1. … 2 more files in changeset.
- implemented XOTclObjInfoHasMixinMethod() and XOTclObjInfoHasTypeMethod() - renamed "$obj info hasnamespace" to "$obj info has namespace" - added "$obj info has mixin $class" - added "$obj info has type $class" - extended regression test for parametercheck/objectproperty/is

  1. … 6 more files in changeset.
- fixed silent (scripted) unknown handler. - reavtivated corresponding regression test - extended regression tests (call unknown method with filter with and without unknown handlers)

  1. … 3 more files in changeset.
- fixed test with UnknownClass in xotcl/tests/testx.xotcl

  1. … 2 more files in changeset.
- scripted "info slotobjects" to return only objects of class ::nx::Slot

  1. … 2 more files in changeset.
- factored out DispatchUnknownMethod() - added flag XOTCL_CM_NO_OBJECT_METHOD to ObjectDispatch() and friends - added tests/subcmd.tcl - added methods "defaultmethod" and "unknown" to ::nx::EnsembleObject (together with a set of helper methods to provide user-friendly information)

  1. … 2 more files in changeset.
- backported fix for xotcl 1.6.6 reported by kristoffer lawsow, which helps just partly here - extended regression test

  1. … 1 more file in changeset.
* Fixed bug in filters reported by Kristoffer Lawson. When a filter chain reaches its end without finding the invoked method, the unknown state was not resetted correctly and affected method invocations in the filter after "next".

  1. … 1 more file in changeset.
Merge branch '2.0.0-develop' of ssh://alice.wu-wien.ac.at/usr/local/src/git-repo/xotcl into 2.0.0-develop

  1. … 1 more file in changeset.
- fix requiredness of last argument in parametercheck - return "object" for "info method type ...." when method is an object. - return valid creation command in "info method definition ...." when method is an object. - extend regression test

  1. … 5 more files in changeset.
Removed some print statements and comments

  1. … 1 more file in changeset.
- Fixed a relict of switching from ::nx::core::* to ::nsf::*. Removing the *::unsetUnknowArgs script fragment from proc bodies assumed 29 characters rather than 24 characters. This left proc bodies amputated when e.g. retrieved through [info method definition] in the presence of unknown (non-initialised) proc-local variables. - Corrected the submethod definition of Object->info()->is(): It did not check for the existence of the optional trailing parameter and so info()->is() barfed.

  1. … 1 more file in changeset.
- Changed handling of "child objects": now, they are shown by default. - At the same time, the subobject "slot" was made protected to avoid its listing per default in "info methods" - unified slot parent-object creation handling - changed XOTcl info to new interface

  1. … 5 more files in changeset.
- changed info to new interface (partly done for nx, migration for xotcl to be done)

  1. … 4 more files in changeset.
- added object info methods mixinguard, mixinclasses to objectInfoMethod - added class info methods mixinguard, mixinclasses to classInfoMethod - built a temporary solution for dispatcher "mixin", since forward mangles args - nx: we have now "obj info mixin guard name" instead of "obj info filter -guard name" - nx: we have now "obj info mixin classes ...." instead of "obj info filter ...." - updated migration guide

  1. … 11 more files in changeset.
- started new interface bundles, objectInfoMethod and classInfoMethod for using new infrastructure - added object info methods filterguard, filtermethods, vars to objectInfoMethod - added class info methods filterguard, filtermethods to classInfoMethod - built a temporary solution for dispatcher "filter", since forward mangles args - nx: we have now "obj info filter guard name" instead of "obj info filter -guard name" - nx: we have now "obj info filter methods ...." instead of "obj info filter ...."

  1. … 7 more files in changeset.
- added option "-returns" to Class.method - added subcmd to method/object method in nx - delete class methods in freeAllXOTclObjectsAndClasses() explicitly to handle potential double-deletes - extended regression test for subcmds

  1. … 5 more files in changeset.
- implemented "object-methods-only" as alternative for prefix for invoke "object as a method" - added option "-returns" to Object.method

  1. … 4 more files in changeset.
- use prefix sub= for methods invoked on "object as method" - change further instances of "my connection" to "[self]::connection" in xo*comm*

  1. … 9 more files in changeset.
- implemented experimental delegating version of "object as method" that keeps the original self.

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