<br><br><div class="gmail_quote">On Thu, Mar 26, 2009 at 1:09 PM, Igor Stasenko <span dir="ltr">&lt;<a href="mailto:siguctua@gmail.com">siguctua@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
2009/3/26 Eliot Miranda &lt;<a href="mailto:eliot.miranda@gmail.com">eliot.miranda@gmail.com</a>&gt;:<br>
<div><div></div><div class="h5">&gt; Hi All,<br>
&gt;     we&#39;re using MC1.5 &amp; I just had cause to reload all my packages in a<br>
&gt; fresh image and I&#39;ve noticed that none of my class categories were moved<br>
&gt; over.  The bug is that the category order exists only implicitly in the<br>
&gt; source/<a href="http://source.st" target="_blank">source.st</a> element of the mcz and doesn&#39;t exist at all in the<br>
&gt; snapshot.bin so when loading loads from snapshot.bin one ends up with some<br>
&gt; essentially random category order.  Anyone have fixes for this?<br>
&gt; TIA<br>
&gt;<br>
</div></div>as a side note, are categoty order are that important?</blockquote><div><br></div><div>For me yes.  I depend on it.  In a big class like StackInterpreter (Interpreter) a good category order is essential to my productivity.  I spent an hour or two changing the category order in StackInterpereter and making sure things were logically laid out and (at least for me) the time was well worth it.  I still have to use find method wildcard... more often than I&#39;d like.  Without the order (StackInterpreter has about 45 categories) finding things is hell.  That&#39;s why I sent the first message,.  When I loaded my package into a new image the category order was gone.  I moved it across by hand, but that&#39;s tedious and shouldn&#39;t be necessary.</div>
<div><br></div><div>Alphabetical order is OK for some classses, especially if it is smart, as Vassili did in VisualWorks where initialize* comes first, then alphabetic nonprivate, then private*.  But for the StackInterpreter I have initialisation/shell related categories, interpreter core categories, bytecode categories, primitive categories and then debuging and translation categories:</div>
<div><br></div><div><div>initialization</div><div>interpreter shell</div><div>message sending</div><div>method lookup cache</div><div>stack pages</div><div>frame access</div><div>handler search</div><div>internal interpreter access</div>
<div>compiled methods</div><div>jump bytecodes</div><div>return bytecodes</div><div>stack bytecodes</div><div>send bytecodes</div><div>common selector sends</div><div>primitive support</div><div>arithmetic integer primitives</div>
<div>arithmetic largeint primitives</div><div>arithmetic float primitives</div><div>comparison float primitives</div><div>arithmetic primitive support</div><div>control primitives</div><div>indexing primitives</div><div>indexing primitive support</div>
<div>I/O primitives</div><div>I/O primitive support</div><div>bitblt support</div><div>image segment in/out</div><div>memory space primitives</div><div>object memory support</div><div>object access primitives</div><div>object format</div>
<div>other primitives</div><div>plugin primitives</div><div>plugin primitive support</div><div>plugin support</div><div>process primitives</div><div>process primitive support</div><div>sound primitives</div><div>system control primitives</div>
<div>image save/restore</div><div>callback support</div><div>debug printing</div><div>debug support</div><div>utilities</div><div>translation support</div><div><br></div></div><div>Without it finding things goes slowly....</div>
<div><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><br>
To me, its a browser who should care to show them in alphabetical<br>
order to ease finding a needed caterory , when they number are big<br>
(like in Object)<br>
&gt;<br>
&gt;<br>
<font color="#888888"><br>
<br>
<br>
--<br>
Best regards,<br>
Igor Stasenko AKA sig.<br>
<br>
</font></blockquote></div><br>