summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordkf <donal.k.fellows@manchester.ac.uk>2009-07-24 08:23:00 (GMT)
committerdkf <donal.k.fellows@manchester.ac.uk>2009-07-24 08:23:00 (GMT)
commit8569a517d4490cb136c99a73fb036eef3d05bd25 (patch)
treeed214fc71bb32db5221f9d64be8a23ab6070f3a9
parent2bab3ed49e96d767dafcf287960de0598225dfa1 (diff)
downloadtcl-8569a517d4490cb136c99a73fb036eef3d05bd25.zip
tcl-8569a517d4490cb136c99a73fb036eef3d05bd25.tar.gz
tcl-8569a517d4490cb136c99a73fb036eef3d05bd25.tar.bz2
Made it clearer what most people want instead of [self class].
-rw-r--r--ChangeLog28
-rw-r--r--doc/self.n11
2 files changed, 26 insertions, 13 deletions
diff --git a/ChangeLog b/ChangeLog
index e81578a..12ff42e 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,15 +1,20 @@
+2009-07-24 Donal K. Fellows <dkf@users.sf.net>
+
+ * doc/self.n (self class): [Bug 2704302]: Add some text to make it
+ clearer how to get the name of the current object's class.
+
2009-07-23 Andreas Kupries <andreask@activestate.com>
- * generic/tclIO.c (Tcl_GetChannelHandle): Do not crash for
- * generic/tclPipe.c (FileForRedirect): getHandleProc == NULL, this
- is allowed. Provide a nice error message in the bypass
- area. Updated caller to check the bypass for a mesage. This fixes
- the bug [Bug 2826248] reported by Andy Sonnenburg
- <andy22286@users.sourceforge.net>
+ * generic/tclIO.c (Tcl_GetChannelHandle): [Bug 2826248]: Do not crash
+ * generic/tclPipe.c (FileForRedirect): for getHandleProc == NULL, this
+ is allowed. Provide a nice error message in the bypass area. Updated
+ caller to check the bypass for a mesage. Bug reported by Andy
+ Sonnenburg <andy22286@users.sourceforge.net>
2009-07-23 Joe Mistachkin <joe@mistachkin.com>
- * generic/tclNotify.c: Fix for [Bug 2820349].
+ * generic/tclNotify.c: [Bug 2820349]: Ensure that queued events are
+ freed once processed.
2009-07-22 Jan Nijtmans <nijtmans@users.sf.net>
@@ -17,17 +22,16 @@
* generic/tclGetDate.y:
* generic/tclDate.c:
* generic/tclLiteral.c: (char *) cast in ckfree call
- * generic/tclPanic.c: Feature Request 2814786: remove TclpPanic
+ * generic/tclPanic.c: [Feature Request 2814786]: remove TclpPanic
* generic/tclInt.h
* unix/tclUnixPort.h
* win/tclWinPort.h
2009-07-22 Alexandre Ferrieux <ferrieux@users.sourceforge.net>
- * generic/tclEvent.c: Refined the 20090617 patch on [exit]
- streamlining, so that it now correctly calls thread exit handlers
- for the calling thread, which includes <Destroy> bindings in Tk
- [Bug 2001201 again].
+ * generic/tclEvent.c: [Bug 2001201 again]: Refined the 20090617 patch
+ on [exit] streamlining, so that it now correctly calls thread exit
+ handlers for the calling thread, including <Destroy> bindings in Tk.
2009-07-21 Kevin B. Kenny <kennykb@acm.org>
diff --git a/doc/self.n b/doc/self.n
index a82be96..a616d30 100644
--- a/doc/self.n
+++ b/doc/self.n
@@ -4,7 +4,7 @@
'\" See the file "license.terms" for information on usage and redistribution
'\" of this file, and for a DISCLAIMER OF ALL WARRANTIES.
'\"
-'\" RCS: @(#) $Id: self.n,v 1.3 2009/03/24 10:46:04 dkf Exp $
+'\" RCS: @(#) $Id: self.n,v 1.4 2009/07/24 08:23:00 dkf Exp $
'\"
.so man.macros
.TH self n 0.1 TclOO "TclOO Commands"
@@ -43,6 +43,15 @@ This returns the name of the class that the current method was defined within.
Note that this will change as the chain of method implementations is traversed
with \fBnext\fR, and that if the method was defined on an object then this
will fail.
+.RS
+.PP
+If you want the class of the current object, you need to use this other
+construct:
+.PP
+.CS
+info object class [\fBself object\fR]
+.CE
+.RE
.TP
\fBself filter\fR
.