[squeak-dev] Re: [Squeak 4.0] A Couple of Methods (PLEASE REVIEW)
ron.spengler at gmail.com
Fri Feb 26 18:25:40 UTC 2010
Remember that we plan to replay all of the changes from Trunk on top
of the 4.0 release artifact in order to create 4.1.
On Friday, February 26, 2010, Alexander Lazarević <laza at blobworks.com> wrote:
> Hi Ronald!
> I published a change  to condenseSources yesterday, but your
> one-liner should fit in there as well.
>  http://lists.squeakfoundation.org/pipermail/packages/2010-February/002800.html
> On Fri, Feb 26, 2010 at 08:53, Ronald Spengler <ron.spengler at gmail.com> wrote:
>> So to avoid pasting the whole license into
>> SystemDictionary>>condenseSources, I added SystemDictionary>>license,
>> which just answers a ByteString containing the license agreement, and
>> makes the change to #condenseSources a one-liner. Note that I pasted
>> verbatim what Andreas sent me; I would like it if folks could make
>> sure I have the right text there. Another advantage to having the
>> license live in it's own method is, it's easy to change if the SFC
>> wants last-minute changes. A third advantage (and this just makes me
>> smile) is you can print:
>> [ Smalltalk license. ]
>> Which answers the ByteString containing the text of the license
>> agreement. Place your bets on how long it'll take Andreas to come up
>> with a one line method that transforms legalese into friendly
>> Andreas recommended the following test case to me:
>> Filein the attachment SystemDictionary-license.st, followed by the
>> attachment SystemDictionary-condenseSources.st.
>> Then do... [ Smalltalk condenseSources. ]
>> Afterwords, make sure it worked with...
>> [ Smalltalk allClassesAndTraits do:[:cls| cls compileAll]. ]
>> If anyone can recommend other interesting test cases around this,
>> please let me know. The changes and sources files are still fairly
>> arcane to the Fancy New Guy:)
More information about the Squeak-dev