ChangeLog

Clone Tools
  • last updated 20 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
* Continued with info orthogonality change

<object> info mixin ?pattern?

<class> info instmixin ?pattern?

?pattern? behaves exactly like in the change of two days

ago. Preceding colons in the name of the queried class are not

required.

Still to do "-closure" in

<class> info instmixin -closure ?pattern?

* In all mentioned calls, where pattern refers to an object/class

and it contains wild-cards, a preceding :: is added automatically

to the search pattern, if it is missing. Since all object names

start with ::, an omitted leading :: in a search pattern is an

obvious mistake

* Made the behavior "pattern" in the following calls identical

concerning wild cards and object lookups

<object> mixin delete pattern

<class> instmixin delete pattern

<class> superclass delete pattern

* extended regresson test

  1. … 5 more files in changeset.
- fix getAllClassMixinsOf to handle combinations of transitive per class mixins and inheriting per-class mixin via the class hierarchy, removed getAllSubClasses - extend test cases

  1. … 3 more files in changeset.
Complete todos in Changelog

Merge branch 'master' of ssh://alice.wu-wien.ac.at/usr/local/src/git-repo/xotcl

Conflicts:

ChangeLog

* Potential incompatibility: provide a uniform interface to the following info subcommands

<class> info superclass ?-closure? ?pattern?

<class> info subclass ?-closure? ?pattern?

<class> info instances ?-closure? ?pattern?

<class> info instmixinof ?-closure? ?pattern?

<class> info mixinof ?pattern?

In cases, where the option "-closure" is defined,

the values are computed transitively.

In cases, where a pattern is specified, and

the pattern contains meta-characters, a list

of results is returned matching the pattern

(like "string match"). When no matching value

is found, an empty list is returned.

In cases, where a pattern is specified, and

the pattern contains no meta-characters,

a single value is returned korrespinding to

the specified value. The pattern is used

to lookup an object or class, such it is

not necessary to provide fully qualified names).

if there is no match, empty is returned.

Previously, "info superclass" and "info subclass"

returned a boolean value and performed

always a transitive search. Returning ""

is more consistent and more in line with Tcl.

By using the option "-closure" one can

perform the lookup in the transitive

or in the intransitive sets.

Still to do:

children

parent

classchildren

classparent

  1. … 6 more files in changeset.
- update ChangeLog

- don't call unset traces during an object move

- preserving var traces when copying objects

  1. … 2 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.
updated recent changes

added missing file (install.sh from tclconfig)

fixed typo

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.
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.