From b7039216edc04a41ff927d0a7db948edeb2a29a3 Mon Sep 17 00:00:00 2001 From: dkf Date: Sat, 28 Jun 2008 23:43:45 +0000 Subject: Fix [Bug 2004480] --- ChangeLog | 37 +++++++++++++++++++++---------------- doc/object.n | 6 +++--- 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 + + * doc/object.n (EXAMPLES): Fix incorrect usage of oo::define to be + done with oo::objdefine instead. [Bug 2004480] + 2008-06-28 Don Porter - * 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 * 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 @@ -20,10 +25,10 @@ 2008-06-25 Andreas Kupries - * 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 @@ -32,21 +37,21 @@ 2008-06-24 Don Porter - * 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 - * 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 - * 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 @@ -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 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]" } -- cgit v0.12