I'm looking at it now.. <br><br><br><div><span class="gmail_quote">On 7/9/07, <b class="gmail_sendername">P T Withington</b> <<a href="mailto:ptw@pobox.com">ptw@pobox.com</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
[Resent: Henry, will you have a chance to look at this, or do you<br>want me to check in so you can review 'in situ'?]<br><br>Change 20070705-ptw-R by <a href="mailto:ptw@dueling-banjos.local">ptw@dueling-banjos.local
</a> on 2007-07-05<br>14:42:10 EDT<br> in /Users/ptw/OpenLaszlo/legals<br> for <a href="http://svn.openlaszlo.org/openlaszlo/branches/legals">http://svn.openlaszlo.org/openlaszlo/branches/legals</a><br><br>Summary: Move formatToString into LFC
<br><br>New Features: lz.text has a new method, `format` that implements most<br>of `printf` for setting the text (content).<br><br>Bugs Fixed:<br>LPP-3073 'Move Format and formatToString from Debug to LFC'<br><br>
Technical Reviewer: hminsky (pending)<br>QA Reviewer: frisco (pending)<br>Doc Reviewer: jgrandy, jsundman (pending)<br><br>Documentation:<br> Here is an example of using the text `format` method to set the<br> contents of a text node.
<br><br> <canvas><br> <class name="clickClock" extends="text"><br> <attribute name="dayTable"<br> value='["Sunday", "Monday", "Tuesday",
<br>"Wednesday", "Thursday", "Friday", "Saturday"]'<br> /><br> <handler name="onclick"><br> var now = new Date;<br>
this.format("You clicked me at %02d:%02d:%02d on %s",<br> now.getHours(),<br> now.getMinutes(),<br> now.getSeconds(),<br> dayTable[
now.getDay()]);<br> </handler><br> </class><br> <clickClock><br> Click Me!<br> </clickClock><br> </canvas><br><br>Release Notes:<br><br>Details:<br> lztext: Duplicated debugger format tests for text
<br><br> debugger/LzFormat, compiler/LzFormatter: moved pad and<br> formatToString out of debugger into compiler as a mixin.<br><br> core/Library: moved class support to compiler.<br><br> LzText: mix in LzFormatter, add format method.
<br><br> LaszloLibrary, compiler/Library: compiler runtime support is 3<br> files now: runtime, class, and formatter.<br><br> Parser.jjt: add `mixin` as an alias for `trait` and `with` as an<br> alias for `inherits`. This will allow us to transition to the new
<br> approved syntax for mixins.<br><br>Tests:<br> ant lztest, smokecheck<br><br>Files:<br>M test/smoke/lztext.lzl<br>M WEB-INF/lps/lfc/debugger/LzFormat.lzs<br>M WEB-INF/lps/lfc/core/Library.lzs<br>
D WEB-INF/lps/lfc/core/Class.lzs<br>M WEB-INF/lps/lfc/views/LzText.lzs<br>M WEB-INF/lps/lfc/LaszloLibrary.lzs<br>A WEB-INF/lps/lfc/compiler/LzFormatter.lzs<br>A WEB-INF/lps/lfc/compiler/Library.lzs
<br>A + WEB-INF/lps/lfc/compiler/Class.lzs<br>M WEB-INF/lps/server/sc/src/org/openlaszlo/sc/Parser.jjt<br><br>Changeset: <a href="http://svn.openlaszlo.org/openlaszlo/patches/20070705-ptw-">http://svn.openlaszlo.org/openlaszlo/patches/20070705-ptw-
</a><br>R.tar<br></blockquote></div><br><br clear="all"><br>-- <br>Henry Minsky<br>Software Architect<br><a href="mailto:hminsky@laszlosystems.com">hminsky@laszlosystems.com</a><br><br>