TclOO Package

Check-in [902d4a6c2e]
Login
Bounty program for improvements to Tcl and certain Tcl packages.
Tcl 2019 Conference, Houston/TX, US, Nov 4-8
Send your abstracts to [email protected]
or submit via the online form by Sep 9.

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:improve the release notes
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | 0.7-rc
Files: files | file ages | folders
SHA1: 902d4a6c2e6e041c8704d6e4b10714f56f24a762
User & Date: dkf 2012-07-12 09:34:31
Context
2012-07-12
09:38
fix tests check-in: 76da1279e8 user: dkf tags: 0.7-rc
09:34
improve the release notes check-in: 902d4a6c2e user: dkf tags: 0.7-rc
09:00
corrected copyright dates check-in: ce3fddb455 user: dkf tags: 0.7-rc
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to README.txt.

1
2
3
4
5
6
7
8
9
10
..
61
62
63
64
65
66
67





























Object Oriented Programming Package for Tcl (TclOO) Version 0.7

Copyright 2005-2008 Donal K. Fellows

License
=======

See the file "license.terms" for the license under which this software is
made available. This file must have been part of the distribution under
which you received this file.
................................................................................
}
set sum [summation new]
puts "Start with [$sum value]"
for {set i 1} {$i <= 10} {incr i} {
    puts "Add $i to get [$sum add $i]"
}
summation destroy






























|







 







>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
1
2
3
4
5
6
7
8
9
10
..
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
Object Oriented Programming Package for Tcl (TclOO) Version 0.7

Copyright 2005-2012 Donal K. Fellows

License
=======

See the file "license.terms" for the license under which this software is
made available. This file must have been part of the distribution under
which you received this file.
................................................................................
}
set sum [summation new]
puts "Start with [$sum value]"
for {set i 1} {$i <= 10} {incr i} {
    puts "Add $i to get [$sum add $i]"
}
summation destroy

Significant Changes from 0.6 Release
====================================
* Small changes that improve things substantially:
    * Forwarded methods resolve in the object's namespace.
    * Added [info object namespace] to get an object's namespace.
    * Added Tcl_GetObjectName() for fetching the name of an object.
  TIP #354 <URL:http://tip.tcl.tk/354.html>
* Made "varname" method work with array elements.
* Added [info object methodtype] and [info class methodtype].
* Converted configuration of lists of things in classes and objects to work as
  slots, implemented as instances of [oo::Slot] class. 
  TIP #380 <URL:http://tip.tcl.tk/380.html>
* Added introspection of call chains and [nextto] for "skipping ahead" in the
  call chain (useful in "diamond inheritance" situations).
  TIP #381 <URL:http://tip.tcl.tk/381.html>
* Improved the [oo::copy] mechanism to allow greater user control.
  TIP #397 <URL:http://tip.tcl.tk/397.html>

Compatibility Warnings
======================
Names of classes, methods or variables that begin with a hyphen can now cause
issues with some definitions (i.e., they are reserved to slotted operations).
The fix is to precede the name with a "--" argument in the problem definition.

The syntax and semantics of the method called "<cloned>" are now defined.

Some types in the C API have changed from 0.6 to better match the Tcl style of
doing things. ABI compatibility is maintained.