|
| |
1 |
|
Dear XOTcl Community, |
|
| |
2 |
|
|
|
| |
3 |
|
XOTcl 1.6.0 is available. This release provides in short: |
|
| |
4 |
|
- orthogonality improvements for introspection, |
|
| |
5 |
|
- more introspection methods (one can now e.g. query, into which |
|
| |
6 |
|
classes a mixin class is mixed into) and |
|
| |
7 |
|
- performance improvements (some methods are significantly |
|
| |
8 |
|
faster. e.g. by a factor of 1000 for larger systems). |
|
| |
9 |
|
|
|
| |
10 |
|
In addition, the XOTcl source code follows now closer the Tcl |
|
| |
11 |
|
source code guidelines (e.g. variable naming), a few potential |
|
| |
12 |
|
crashes have been fixed. |
|
| |
13 |
|
|
|
| |
14 |
|
See below for more details. |
|
| |
15 |
|
Best regards |
|
| |
16 |
|
|
|
| |
17 |
|
-gustaf neumann |
|
| |
18 |
|
|
|
| |
19 |
|
Announcing XOTcl 1.6.0 |
|
| |
20 |
|
************************* |
|
| |
21 |
|
|
|
| |
22 |
|
We are pleased to announce the availability of XOTcl 1.6.0. |
|
| |
23 |
|
|
|
| |
24 |
|
Major changes relative to 1.5.6 are: |
|
| |
25 |
|
|
|
| |
26 |
|
* Provide a uniform interface to the following info subcommands |
|
| |
27 |
|
|
|
| |
28 |
|
<class> info superclass ?-closure? ?pattern? |
|
| |
29 |
|
<class> info subclass ?-closure? ?pattern? |
|
| |
30 |
|
<class> info instances ?-closure? ?pattern? |
|
| |
31 |
|
<class> info instmixin ?-closure? ?pattern? |
|
| |
32 |
|
|
|
| |
33 |
|
The new option "-closure" returns the transitive set of the |
|
| |
34 |
|
relation (e.g. .. info subclass -closure) returns the subclasses |
|
| |
35 |
|
and the subclasses of the subclasses. For "info instances |
|
| |
36 |
|
-closure" the instances of the subclasses are returned as |
|
| |
37 |
|
well. For more details, please see the language reference manual. |
|
| |
38 |
|
|
|
| |
39 |
|
In cases, where a pattern is specified, and the pattern contains |
|
| |
40 |
|
meta-characters, a list of results is returned matching the |
|
| |
41 |
|
pattern (like "string match"). When no matching value is found, |
|
| |
42 |
|
an empty list is returned. |
|
| |
43 |
|
|
|
| |
44 |
|
In cases, where a pattern is specified, and the pattern contains |
|
| |
45 |
|
no meta-characters, a single value is returned corresponding to |
|
| |
46 |
|
the specified value. The pattern is used to lookup an object or |
|
| |
47 |
|
class, such it is not necessary to provide fully qualified |
|
| |
48 |
|
names). if there is no match, empty is returned. Previously, |
|
| |
49 |
|
"info superclass" and "info subclass" returned a boolean value |
|
| |
50 |
|
and performed always a transitive search. Returning "" is more |
|
| |
51 |
|
consistent and more in line with Tcl. |
|
| |
52 |
|
|
|
| |
53 |
|
Note that "<class> info superclass -closure" is a replacement for |
|
| |
54 |
|
"<class> info heritage", and "<class> info instances -closure" |
|
| |
55 |
|
is a replacement for "<class> allinstances". The old commands |
|
| |
56 |
|
will be marked as deprecated in the near future. |
|
| |
57 |
|
|
|
| |
58 |
|
Please note, that the behavior of the match pattern has |
|
| |
59 |
|
changed and is therefor not completely compatible with |
|
| |
60 |
|
prior versions. |
|
| |
61 |
|
|
|
| |
62 |
|
* New info subcommands: |
|
| |
63 |
|
|
|
| |
64 |
|
<class> info instmixinof ?-closure? ?pattern? |
|
| |
65 |
|
<class> info mixinof ?pattern? |
|
| |
66 |
|
|
|
| |
67 |
|
These info subcommands are used to determine, into |
|
| |
68 |
|
which classes a mixin class was mixed into. |
|
| |
69 |
|
|
|
| |
70 |
|
These inverse functions of mixin and instmixin are used as well |
|
| |
71 |
|
internally. These functions help to speed certain operations |
|
| |
72 |
|
(e.g. superclass, or registering a mixin class) up by a factor of |
|
| |
73 |
|
1000 (!) or more, when a large number of objects exist. |
|
| |
74 |
|
|
|
| |
75 |
|
This functionality was primarily implemented by Martin Matuska. |
|
| |
76 |
|
Many thanks! |
|
| |
77 |
|
|
|
| |
78 |
|
* Made the behavior "pattern" in the following calls identical |
|
| |
79 |
|
concerning wild cards and object lookups |
|
| |
80 |
|
|
|
| |
81 |
|
<object> mixin delete pattern |
|
| |
82 |
|
<class> instmixin delete pattern |
|
| |
83 |
|
<class> superclass delete pattern |
|
| |
84 |
|
<object> info mixin ?pattern? |
|
| |
85 |
|
|
|
| |
86 |
|
* Fix to preserve var traces when copying objects |
|
| |
87 |
|
(Many thanks to Florian Murr for reporting) |
|
| |
88 |
|
|
|
| |
89 |
|
* Fix problem in Tcl 8.5.* when setting variables |
|
| |
90 |
|
from C (problem with Tcl_ObjSetVar2()?); many |
|
| |
91 |
|
thanks to Florian Murr and Neophytos Demetriou |
|
| |
92 |
|
for reporting) |
|
| |
93 |
|
|
|
| |
94 |
|
* Improved documentation |
|
| |
95 |
|
|
|
| |
96 |
|
* Extended regression tests |
|
| |
97 |
|
|
|
| |
98 |
|
|
|
| |
99 |
|
For more details about the changes, please consult the ChangeLog and |
|
| |
100 |
|
documentation. |
|
| |
101 |
|
|
|
| |
102 |
|
MORE INFO |
|
| |
103 |
|
General and more detailed information about XOTcl and its components |
|
| |
104 |
|
can be found at http://www.xotcl.org |
|
| |
105 |
|
|