<div dir="ltr">Good work<div><br></div><div>Karl</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Aug 6, 2013 at 12:24 AM, Bert Freudenberg <span dir="ltr">&lt;<a href="mailto:bert@freudenbergs.de" target="_blank">bert@freudenbergs.de</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">... and that has appeared to work fine (except for Character DNU #null).<br>
<br>
So Collections-nice.527 is back, and the newly generated mcd works (I deleted the older mcds).<br>
<br>
Great job, Nicolas! We&#39;re back in business.<br>
<br>
- Bert -<br>
<div class="HOEnZb"><div class="h5"><br>
On 2013-08-06, at 00:02, Bert Freudenberg &lt;<a href="mailto:bert@freudenbergs.de">bert@freudenbergs.de</a>&gt; wrote:<br>
<br>
&gt; I applied Nicolas&#39; changes to the squeaksource server image and will temporarily un-delete the mcz for testing.<br>
&gt;<br>
&gt; - Bert - (back from vacation now)<br>
&gt;<br>
&gt;<br>
&gt; On 2013-08-05, at 19:48, Frank Shearar &lt;<a href="mailto:frank.shearar@gmail.com">frank.shearar@gmail.com</a>&gt; wrote:<br>
&gt;<br>
&gt;&gt; I&#39;ve deleted this commit from the update stream, just so that we<br>
&gt;&gt; unbreak the update stream.<br>
&gt;&gt;<br>
&gt;&gt; Then we can test the change, and reapply it at a later point.<br>
&gt;&gt;<br>
&gt;&gt; frank<br>
&gt;&gt;<br>
&gt;&gt; On 2 August 2013 22:26, Nicolas Cellier<br>
&gt;&gt; &lt;<a href="mailto:nicolas.cellier.aka.nice@gmail.com">nicolas.cellier.aka.nice@gmail.com</a>&gt; wrote:<br>
&gt;&gt;&gt; Bert, I prepared a patch for a 3.10.2 image in two folds:<br>
&gt;&gt;&gt; - 1) decode UTF8 from mcz sources<br>
&gt;&gt;&gt; - 2) encode mcd and mcz sources in UTF8<br>
&gt;&gt;&gt; I&#39;ve rapidly tested, and the image seems OK after applying 1) or both.<br>
&gt;&gt;&gt; If only first one is applied, then old images can continue to read new Mcd<br>
&gt;&gt;&gt; from <a href="http://source.squeak.org" target="_blank">source.squeak.org</a><br>
&gt;&gt;&gt; I don&#39;t know if this is a real requirement<br>
&gt;&gt;&gt; If not, then you can load 2) too. In doubt, a bit of conservatism don&#39;t<br>
&gt;&gt;&gt; hurt.<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; As for loading that in a non official 3.11, then you&#39;ll have to test a<br>
&gt;&gt;&gt; bit...<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; Cheers<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; Nicolas<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt; 2013/8/1 Nicolas Cellier &lt;<a href="mailto:nicolas.cellier.aka.nice@gmail.com">nicolas.cellier.aka.nice@gmail.com</a>&gt;<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; But Bert, where to find a Squeak 3.11alpha image #8824 ?<br>
&gt;&gt;&gt;&gt; The 3.11 stuff on <a href="http://ftp.squeak.org/" target="_blank">http://ftp.squeak.org/</a> is declared obsolete, and I did<br>
&gt;&gt;&gt;&gt; find anything but Level Playing Field there...<br>
&gt;&gt;&gt;&gt; The updates (stream) stop at 7159 (3.10) with Monticello-edc.312<br>
&gt;&gt;&gt;&gt; Then squeak4.1 starts at #9957 with Monticello-bp-387...<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; 2013/7/31 Nicolas Cellier &lt;<a href="mailto:nicolas.cellier.aka.nice@gmail.com">nicolas.cellier.aka.nice@gmail.com</a>&gt;<br>
&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt; Yes, it&#39;s a small change<br>
&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt; 2013/7/30 Bert Freudenberg &lt;<a href="mailto:bert@freudenbergs.de">bert@freudenbergs.de</a>&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt; FWIW, the server image is a Squeak 3.11alpha image #8824 with<br>
&gt;&gt;&gt;&gt;&gt;&gt; Monticello-bf.356. I&#39;m afraid simply loading a current MC version is not<br>
&gt;&gt;&gt;&gt;&gt;&gt; going to work, but maybe the utf8 changes could be backported?<br>
&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt; - Bert -<br>
&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt; On 30.07.2013, at 22:26, Nicolas Cellier<br>
&gt;&gt;&gt;&gt;&gt;&gt; &lt;<a href="mailto:nicolas.cellier.aka.nice@gmail.com">nicolas.cellier.aka.nice@gmail.com</a>&gt; wrote:<br>
&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt; To me, the server should try and read in utf8, then fallback to old<br>
&gt;&gt;&gt;&gt;&gt;&gt; encoding like current trunk does.<br>
&gt;&gt;&gt;&gt;&gt;&gt; Then, whether it should continue to write with old encoding or utf8 is a<br>
&gt;&gt;&gt;&gt;&gt;&gt; question of how we want to support serving older images.<br>
&gt;&gt;&gt;&gt;&gt;&gt; Would it be possible to provide a hackish transition: create mcd with<br>
&gt;&gt;&gt;&gt;&gt;&gt; same encoding as mcz?<br>
&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt; 2013/7/30 Nicolas Cellier &lt;<a href="mailto:nicolas.cellier.aka.nice@gmail.com">nicolas.cellier.aka.nice@gmail.com</a>&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt; A possible scenario:<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt; For some reason (?) the snapshot.bin fails. In that case, the server<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt; used the sources in .st format.<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt; But newly produced sources are in utf8 and the server is probably not<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt; utf8 aware...<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt; In which case the server re-interprets bad characters for building the<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt; .mcd and put them in patch.bin stone<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt; Makes sense?<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt; Is it possible to backport the utf8 correction to the server ?<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt; I mean, is it going to cause forward compatibility problems ?<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt; 2013/7/30 Bert Freudenberg &lt;<a href="mailto:bert@freudenbergs.de">bert@freudenbergs.de</a>&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; If the MCZ works and the MCD does not, then whatever fix we make needs<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; to be applied to our squeaksource server image, which generates the MCDs.<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; - Bert -<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; On 2013-07-30, at 14:59, Nicolas Cellier<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; &lt;<a href="mailto:nicolas.cellier.aka.nice@gmail.com">nicolas.cellier.aka.nice@gmail.com</a>&gt; wrote:<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; I tried to debug late at night and it seems to come from the patch.bin<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; member of a .mcd<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; I&#39;m not an expert of MC and I do not really know when a .mcd is used<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; vs a .mcz, nor how this binary member is created.<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; But presumably, there is an extra or missing utf8 conversion in some<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; path...<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; I had to stop to get some sleep...<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; I suggest we keep trying a couple of days and solve the problem while<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; under our hands.<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; Nicolas<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; 2013/7/30 Frank Shearar &lt;<a href="mailto:frank.shearar@gmail.com">frank.shearar@gmail.com</a>&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; On 30 July 2013 02:17, Nicolas Cellier<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; &lt;<a href="mailto:nicolas.cellier.aka.nice@gmail.com">nicolas.cellier.aka.nice@gmail.com</a>&gt; wrote:<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; Hmm it looks like some UTF8 mess<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; I did only change Base64MimeConverter... Did I break it?<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; Yep, I&#39;m afraid so. When it loads it throws a SyntaxError:<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; asCharacter<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; &quot;Answer the receiver&#39;s first character, or &#39;*&#39; if none.<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; Idiosyncratic, provisional.&quot;<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; ^ self size &gt; 0 ifTrue: [self first] ifFalse:[$·Argument expected<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; -&gt;]<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; Is that supposed to be a middle dot just before &quot;Argument&quot; ? Note how<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; the original source doesn&#39;t show the A-with-caret.<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; frank<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; 2013/7/30 &lt;<a href="mailto:commits@source.squeak.org">commits@source.squeak.org</a>&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; Nicolas Cellier uploaded a new version of Collections to project<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; The<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; Trunk:<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; <a href="http://source.squeak.org/trunk/Collections-nice.527.mcz" target="_blank">http://source.squeak.org/trunk/Collections-nice.527.mcz</a><br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; ==================== Summary ====================<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; Name: Collections-nice.527<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; Author: nice<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; Time: 30 July 2013, 2:13:07.506 am<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; UUID: 17e38fb5-76dd-499b-aa6d-bfe07045c28d<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; Ancestors: Collections-fbs.526<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; Simplify Base64MimeConverter class initialization with<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; Character&gt;&gt;to:<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt;&gt; =============== Diff against Collections-fbs.526 ===============<br>
&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt;&gt;<br>
&gt;&gt;<br>
&gt;<br>
&gt; - Bert -<br>
&gt;<br>
&gt;<br>
&gt;<br>
<br>
</div></div><span class="HOEnZb"><font color="#888888">- Bert -<br>
<br>
<br>
<br>
</font></span></blockquote></div><br></div>