xotcl.c

Clone Tools
  • last updated 10 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
- fix getAllSubClasses - fix "info mixinof -closure", when pattern was provided - streamline code (AppendMatchingElement) - new info option "-closure" for "info instances" (equiv. to "allinstances", but 5 times faster) - new info option "-closure" for "info superclass" (equiv. to "info heritage")

- fixed softcrecreate for subclasses of recreated classes - fixed softcrecreate when recreate defines different superclasses - extended test cases for mixinoftest

  1. … 2 more files in changeset.
- Add closure option to mixinofinfo - Enhance getAllClassMixinofs

- saveing object->id in cl->opt->id (probably a temporary solution) - new function: MixinResetOrderForAllInstances (transitive version of MixinResetOrderForInstances() - use MixinResetOrderForAllInstances for resetting instances - extended regression test

  1. … 3 more files in changeset.
- fixed evaluation context in guard expressions ([self callingproc] returned "" in cases, where the callingproc was possible to determine)

  1. … 2 more files in changeset.
name change to reduce confusion: * mixinofs -> isObjectMixinOf * instmixinofs -> isClassMixinOf * getAllInstMixinofs -> getAllClassMixinsOf * RemoveFromMixinofs -> removeFromObjectMixinsOf * RemoveFromInstmixinsofs -> removeFromClassMixinsOf

  1. … 3 more files in changeset.
- fixed crash for deleted classes in new code - changed name from MixinResetInstanceOrder() to MixinResetOrderForInstances() - imporving documentation - made code more local - activate assertion during development

  1. … 1 more file in changeset.
- new function from Martin MixinResetInstanceOrder() - better cleanup when classes are deleted

Adding Martin's patches for instmixinof

fix alias command for aliasing to tcl procs

- change panic() to Tcl_Panic() - panic, when cmdlist contains deleted command

- set clopt->assertions to NULL on class cleanup

- do not remove class from mixinof and instmixinof lists on recreate - fix deletion of clopt on Class recreate - fix street address in file header

syntactical cleanup

  1. … 6 more files in changeset.
syntactical cleanup

  1. … 1 more file in changeset.
follow tcl coding convention to make merge easier

  1. … 7 more files in changeset.
synchronized with head version xotcl-2007-10-30

  1. … 69 more files in changeset.
* change Tcl_ObjSetVar2() to Tcl_SetVar2Ex() to address problem in setting variables from C. The set variable was not seen in an eval. * extended regression test

  1. … 2 more files in changeset.
Don't though error when the last argument of "obj info class <...>" or "cl info superclass <....>" is a non-existing class, but return false instead. This leaves room for pattern matching.

  1. … 1 more file in changeset.
return mixins before procs in procsearch added regression test for this case

  1. … 2 more files in changeset.
minor cleanup and variable renaming

some code refactoring making new code more robust

  1. … 4 more files in changeset.
Adding mixinof and instmixinof - new class info options: mixinof instmixinof - on class destroy entry is now removed from mixin and instmixin lists

  1. … 3 more files in changeset.
importing experimental xotcl version

  1. … 74 more files in changeset.
restructured directory to remove superfluous directory xotcl

  1. … 749 more files in changeset.