xotcl.c

Clone Tools
  • last updated 15 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
- new parameter option "convert" to signal that an application specific parameter checker should convert the value (takes the result of the methods as conversion result) - added parameters for slots "allowemtpy" and "convert" - extended regression test

  1. … 5 more files in changeset.
- added flag -complain to ::nsf::is - removed ::nsf::parametercheck

  1. … 4 more files in changeset.
- fixed reference counting problem with user-defined converters

  1. … 1 more file in changeset.
- minor cleanup

  1. … 5 more files in changeset.
- report "invalid parameter" in nsf::is and parametercheck, even when no-complain is used.

  1. … 2 more files in changeset.
- changed argument order on nsf::is to make it conformant with Tcl conventions - removed objectproperty, replaced it by ::nsf::is - move functionalizy of objectproperty to make "obj info is ..." more efficient

  1. … 13 more files in changeset.
- minimal changes

  1. … 3 more files in changeset.
- replaced argument order on objectproperty to make it conformant with Tcl conventions - updated migration guide

  1. … 11 more files in changeset.
- introduced ::nsf::isobject - replaced in all scripts "::nsf::objectproperty ... object" by isobject

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