| |
48 |
48 |
commands can be executed at creation time. The current solution for |
| |
49 |
49 |
parseing, whether the default contains [] or $ is rather ugly. |
| |
50 |
50 |
- the old semantic of __initcmd is gone. |
| |
51 |
51 |
|
| |
52 |
52 |
|
| |
53 |
53 |
incompatible change: |
| |
54 |
54 |
====== |
| |
55 |
55 |
Class O -parameter { |
| |
56 |
56 |
{a -default 0} |
| |
57 |
57 |
{b -default {[cmd 3 4]}} c d |
| |
58 |
58 |
{e -default 3} |
| |
59 |
59 |
{Self -default [self]} |
| |
60 |
60 |
} |
| |
61 |
61 |
Class Meta -superclass Class |
| |
62 |
62 |
Meta C -superclass O -parameter {a {b -default ""} {c -default 1}} |
| |
63 |
63 |
C c1 ;# c1 has no no default value for "a", before it had |
| |
64 |
64 |
====== |
| |
65 |
65 |
|
| |
66 |
66 |
2009-06-27 <Gustaf.Neumann@wu-wien.ac.at> |
| |
67 |
67 |
- changed method name "instdestroy" into "dealloc" |
| |
|
68 |
- replaced occurances of "instdestroy" by "dealloc" in documentation |
| |
68 |
69 |
- new file: tclAPI.h |
| |
|
70 |
- added generator for tclAPI.h |
| |
|
71 |
- defined 8 info methods based on the new objv parseing infrastructure |
| |
69 |
72 |
|
| |
70 |
73 |
2009-06-25 <Gustaf.Neumann@wu-wien.ac.at> |
| |
71 |
74 |
- new command: |
| |
72 |
75 |
|
| |
73 |
76 |
::xotcl::createobjectsystem <rootClass> <rootMetaClass> |
| |
74 |
77 |
|
| |
75 |
78 |
This command creates a basic object system with the specified |
| |
76 |
79 |
<rootClass> as most general root class and the specified |
| |
77 |
80 |
metaclass as most general meta class. |
| |
78 |
81 |
|
| |
79 |
82 |
Example: |
| |
80 |
83 |
::xotcl::createobjectsystem ::oo::object ::oo::class |
| |
81 |
84 |
|
| |
82 |
85 |
In general, it would be possible to remove an objects system at |
| |
83 |
86 |
runtime, but there is so far no tcl interface for this. |
| |
84 |
87 |
|
| |
85 |
88 |
- extended framework to work with multiple root classes |
| |
86 |
89 |
|
| |
87 |
90 |
- the basic root class of XOTcl is now ::xotcl::Object again |
| |
88 |
91 |
(instead of ::oo::object) as before. The old setup can be |