summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordkf <donal.k.fellows@manchester.ac.uk>2008-06-28 23:43:45 (GMT)
committerdkf <donal.k.fellows@manchester.ac.uk>2008-06-28 23:43:45 (GMT)
commitb7039216edc04a41ff927d0a7db948edeb2a29a3 (patch)
treebaa90ba36ec39cba237292bc28ad5f7c73df897a
parentdccac44164436d0d0cb0ca2765837a813ccd4d0c (diff)
downloadtcl-b7039216edc04a41ff927d0a7db948edeb2a29a3.zip
tcl-b7039216edc04a41ff927d0a7db948edeb2a29a3.tar.gz
tcl-b7039216edc04a41ff927d0a7db948edeb2a29a3.tar.bz2
Fix [Bug 2004480]
-rw-r--r--ChangeLog37
-rw-r--r--doc/object.n6
2 files changed, 24 insertions, 19 deletions
diff --git a/ChangeLog b/ChangeLog
index 2e88ec7..3540c93 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,14 +1,19 @@
+2008-06-29 Donal K. Fellows <dkf@users.sf.net>
+
+ * doc/object.n (EXAMPLES): Fix incorrect usage of oo::define to be
+ done with oo::objdefine instead. [Bug 2004480]
+
2008-06-28 Don Porter <dgp@users.sourceforge.net>
- * generic/tclPathObj.c: Plug memory leak in [Bug 1972879] fix. Thanks
- Rolf Ade for detecting and Dan Steffen for the fix [Bug 2004654].
+ * generic/tclPathObj.c: Plug memory leak in [Bug 1972879] fix. Thanks
+ to Rolf Ade for detecting and Dan Steffen for the fix. [Bug 2004654]
2008-06-26 Andreas Kupries <andreask@activestate.com>
* unix/Makefile.in: Followup to my change of 2008-06-25, make code
generated by the Makefile and put into the installed tm.tcl
- conditional on interpreter safeness as well. Thanks to Daniel
- Steffen for reminding me of that code.
+ conditional on interpreter safeness as well. Thanks to Daniel Steffen
+ for reminding me of that code.
2008-06-25 Don Porter <dgp@users.sourceforge.net>
@@ -20,10 +25,10 @@
2008-06-25 Andreas Kupries <andreask@activestate.com>
- * library/tm.tcl: Modified the handling of Tcl Modules and of the
+ * library/tm.tcl: Modified the handling of Tcl Modules and of the
* library/safe.tcl: Safe Base to interact nicely with each other,
* library/init.tcl: enabling requiring Tcl Modules in safe
- * tests/safe.test: interpreters. Fixes [Bug 1999119].
+ * tests/safe.test: interpreters. [Bug 1999119]
2008-06-25 Pat Thoyts <patthoyts@users.sourceforge.net>
@@ -32,21 +37,21 @@
2008-06-24 Don Porter <dgp@users.sourceforge.net>
- * generic/tclPathObj.c: Fixed some internals management in the "path"
- Tcl_ObjType for the empty string value. Problem led to a crash in
- the command [glob -dir {} a]. [Bug 1999176].
+ * generic/tclPathObj.c: Fixed some internals management in the "path"
+ Tcl_ObjType for the empty string value. Problem led to a crash in the
+ command [glob -dir {} a]. [Bug 1999176].
2008-06-24 Pat Thoyts <patthoyts@users.sourceforge.net>
- * doc/fileevent.n: bug #1995063 fix examples and comment on eof use.
+ * doc/fileevent.n: Fix examples and comment on eof use. [Bug 1995063]
2008-06-23 Don Porter <dgp@users.sourceforge.net>
- * generic/tclPathObj.c: Fixed bug in Tcl_GetTranslatedPath() when
+ * generic/tclPathObj.c: Fixed bug in Tcl_GetTranslatedPath() when
operating on the "Special path" variant of the "path" Tcl_ObjType
- intrep. A full normalization was getting done, in particular, coercing
- relative paths to absolute, contrary to what the function of
- producing the "translated path" is supposed to do. [Bug 1972879].
+ intrep. A full normalization was getting done, in particular, coercing
+ relative paths to absolute, contrary to what the function of producing
+ the "translated path" is supposed to do. [Bug 1972879]
2008-06-20 Don Porter <dgp@users.sourceforge.net>
@@ -54,7 +59,7 @@
* generic/tclInterp.c: Fixed completely boneheaded mistake that
* tests/interp.test: [interp bgerror $slave] and [$slave bgerror]
- would always act like [interp bgerror {}]. [Bug 1999035].
+ would always act like [interp bgerror {}]. [Bug 1999035]
* tests/chanio.test: Corrected flawed tests revealed by a -debug 1
* tests/cmdAH.test: -singleproc 1 test suite run.
@@ -64,7 +69,7 @@
* tests/ioTrans.test:
* tests/namespace.test:
- * tests/encoding.test: Make failing tests pass again. [Bug 1972867]
+ * tests/encoding.test: Make failing tests pass again. [Bug 1972867]
2008-06-19 Donal K. Fellows <dkf@users.sf.net>
diff --git a/doc/object.n b/doc/object.n
index 79038db..eec3219 100644
--- a/doc/object.n
+++ b/doc/object.n
@@ -1,10 +1,10 @@
'\"
-'\" Copyright (c) 2007 Donal K. Fellows
+'\" Copyright (c) 2007-2008 Donal K. Fellows
'\"
'\" See the file "license.terms" for information on usage and redistribution
'\" of this file, and for a DISCLAIMER OF ALL WARRANTIES.
'\"
-'\" RCS: @(#) $Id: object.n,v 1.1 2008/05/31 11:42:13 dkf Exp $
+'\" RCS: @(#) $Id: object.n,v 1.2 2008/06/28 23:43:45 dkf Exp $
'\"
.so man.macros
.TH object n 0.1 TclOO "TclOO Commands"
@@ -80,7 +80,7 @@ This example demonstrates basic use of an object.
.CS
set obj [\fBoo::object\fR new]
$obj foo \fI\(-> error "unknown method foo"\fR
-oo::define $obj method foo {} {
+oo::objdefine $obj method foo {} {
my \fBvariable\fR count
puts "bar[incr count]"
}