I have been told that yet again, attempts to use lynx 2.8.7dev5 on the page updating function of http://wiki.tcl.tk/18152 has resulted in the page being damaged. Here's a diff of the change - my "real" change was some text added to the bottom of the page (and a blank line added to the top of the page).
What I have provided here is a gdiff -U1 of the before and after of the change. All other changes - white spacing, etc. - were changes that lynx made to the page on its own. This doesn't give lynx a very good reputation... You can see the originals of the pages at http://wiki.tcl.tk/_history/18152 --- /home/lwv27/18152-5.txt Wed Oct 3 08:58:09 2007 +++ /home/lwv27/18152-6.txt Wed Oct 3 08:58:16 2007 @@ -1 +1,2 @@ + [DKF] ''18 May 2007'': At last, after a long hiatus, I've had enough time to finish getting the code smashed into shape as a loadable [TEA] extension. It works for me (as in: successfully runs the test suite) on both Windows and Linux (built with gcc on both) as long as you're using a recent-enough version of Tcl (i.e. more recent than 8.5a6; there was an internal API that had to be modified to prevent crashes when [info frame] was used inside a method). Right now, there's no distribution, but you can check it out of [cvs] using: @@ -36,24 +37,24 @@ oo::class create dog { - method a {} { - puts a1-[namespace current] - puts a2-[namespace path] - foreach x [namespace path] { - puts a3-$x-[info commands ${x}::*] + method a {} { + puts a1-[namespace current] + puts a2-[namespace path] + foreach x [namespace path] { + puts a3-$x-[info commands ${x}::*] } - puts a4-[info vars [namespace current]::*] - my variable e - set e f - puts a5-[info vars [namespace current]::*] - } - self.method b {} { - puts b1-[namespace current] - puts b2-[namespace path] - foreach x [namespace path] { - puts b3-$x-[info commands ${x}::*] + puts a4-[info vars [namespace current]::*] + my variable e + set e f + puts a5-[info vars [namespace current]::*] + } + self.method b {} { + puts b1-[namespace current] + puts b2-[namespace path] + foreach x [namespace path] { + puts b3-$x-[info commands ${x}::*] } - puts b4-[info vars [namespace current]::*] - my variable e - set e f - puts b5-[info vars [namespace current]::*] - } + puts b4-[info vars [namespace current]::*] + my variable e + set e f + puts b5-[info vars [namespace current]::*] + } } @@ -135,11 +136,11 @@ - puts [demo compute 1 2 3] â prints "7" after delay - puts [demo compute2 4 5 6] â prints "26" after delay - puts [demo compute 1 2 3] â prints "7" instantly - puts [demo compute2 4 5 6] â prints "26" instantly - puts [demo compute 4 5 6] â prints "34" after delay - puts [demo compute 4 5 6] â prints "34" instantly - puts [demo compute 1 2 3] â prints "7" instantly + puts [demo compute 1 2 3] -> prints "7" after delay + puts [demo compute2 4 5 6] -> prints "26" after delay + puts [demo compute 1 2 3] -> prints "7" instantly + puts [demo compute2 4 5 6] -> prints "26" instantly + puts [demo compute 4 5 6] -> prints "34" after delay + puts [demo compute 4 5 6] -> prints "34" instantly + puts [demo compute 1 2 3] -> prints "7" instantly demo flushCache - puts [demo compute 1 2 3] â prints "7" after delay + puts [demo compute 1 2 3] -> prints "7" after delay @@ -154,3 +155,3 @@ -| '''OO System''' | '''Objects Made (sâ»Â¹)''' | '''Method Calls (sâ»Â¹)''' | +| '''OO System''' | '''Objects Made (s^-¹)''' | '''Method Calls (s^-¹)''' | | TclOO 0.1 | 32800 | 206000 | @@ -291,2 +292,11 @@ ---- -See also [TIP #257: Object Orientation for Tcl] \ No newline at end of file +See also [TIP #257: Object Orientation for Tcl] +---- + +[LV] 2007 Oct 01 +So, what is the purpose of this code? Is the intention that people will write Tcl object oriented code with this extension? Or is it intended to be a framework for existing and future OO extensions to be more powerful? + + + +---- +[Category Object Orientation] \ No newline at end of file -- Tcl - The glue of a new generation. <URL: http://wiki.tcl.tk/ > Larry W. Virden <mailto:[EMAIL PROTECTED]><URL: http://www.purl.org/NET/lvirden/ > Even if explicitly stated to the contrary, nothing in this posting should be construed as representing my employer's opinions. -><- _______________________________________________ Lynx-dev mailing list [email protected] http://lists.nongnu.org/mailman/listinfo/lynx-dev
