<br><br><div class="gmail_quote">On Thu, Mar 24, 2011 at 8:53 AM, Henrik Johansen <span dir="ltr">&lt;<a href="mailto:henrik.s.johansen@veloxit.no">henrik.s.johansen@veloxit.no</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div class="im"><br>
<br>
On Mar 24, 2011, at 4:15 26PM, Denis Kudriashov wrote:<br>
<br>
&gt; Hello,<br>
&gt;<br>
&gt; I have similar problem when running pharo from windows user with russian letters in login.<br>
&gt; Debugger opened in SecurityManager stuff during image startUp procedure.<br>
&gt; I ask in past why pharo/squeak doing SecurityManager logic. But without explanation.<br>
<br>
</div>It&#39;s hard to tell with that as the only info.<br>
<br>
F.ex:<br>
If you&#39;re using Cog, it&#39;s because it doesn&#39;t convert encoding, but returns your codepage-encoded bytestring.<br>
If you&#39;re using Non-Cog, it&#39;s either because you<br>
        a) use a Locale in Pharo with non-UTF8 systemConverterClass. SecurityPlugin on Windows always returns utf8 strings.<br>
        b) Use Unicode characters in your name  that have have no representation in your local codepage.<br>
        SecurityPlugin uses the non-W api function to get your username, then does codepage -&gt; UTF8 conversion, instead of using the W version and doing UTF16 -&gt; UTF8 conversion.<br></blockquote><div><br></div><div>
Clearly we need to do a careful merge of the <a href="http://www.squeakvm.org/svn/squeak/branches/Cog/platforms">http://www.squeakvm.org/svn/squeak/branches/Cog/platforms</a> tree with <a href="http://squeakvm.org/svn/squeak/trunk/platforms">http://squeakvm.org/svn/squeak/trunk/platforms</a> tree.  There are important improvements from Cog:</div>
<div>- time based on 64-bit microseconds</div><div>- better crash/logging stack backtrace reporting</div><div>- concurrent lock-free external semaphore signalling</div><div>- threaded stdio</div><div>- vm version info</div>
<div>- others?</div><div><br></div><div>There are necessary support functions for Cog</div><div>- heartbeat</div><div>- making method zone executable</div><div><br></div><div>There are a raft of Teleplace-specific changes.  I&#39;m not sure which ones we want to cherry-pick.  Andreas, I&#39;d appreciate any views you have here.  But things like the host-window and sound plugins I think we have to simply discard the Teleplace changes.  I don&#39;t have the cycles to maintain or port these improvements as typically they require a more specific environment than the current environment of the standard Squeak VM.</div>
<div><br></div><div>I&#39;m happy to do this work; it will just take time (I&#39;ve at least merged my VMMaker with trunk VMMaker&#39;s HostWindowPlugin and SoundPlugin but have yet to commit).  I&#39;m very happy to discuss with others who want to have a go at doing this themselves.  But I would like some editorial control; at least a chane to review.</div>
<div><br></div><div>best,</div><div>Eliot</div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<br>
Cheers,<br>
Henry<br>
<br>
</blockquote></div><br>