<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">Hi Ronie, <div class=""><br class=""></div><div class="">First, this is super cool! I want this to happen since a lot of time :)</div><div class="">Second, observation below </div><div class=""><br class=""><div><blockquote type="cite" class=""><div class="">On 24 Nov 2016, at 08:12, Ronie Salgado <<a href="mailto:roniesalg@gmail.com" class="">roniesalg@gmail.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div dir="ltr" class=""><div class=""><div class=""><div class=""><div class=""><div class=""><div class=""><div class=""><div class="">Hello,<br class=""><br class=""></div>I am working on removing most of windowing code from the VM, and in trying to unify the platform specific code of the VM. In the MinimalistHeadless branch of <a href="https://github.com/ronsaldo/opensmalltalk-vm" class="">https://github.com/ronsaldo/opensmalltalk-vm</a> I made the following changes:<br class=""><br class=""></div>- Unified standard CMake building scripts for Unixes. I hate autoconf. I want to use them in Windows too.<br class=""></div></div></div></div></div></div></div></div></blockquote><div><br class=""></div><div>you cannot unilaterally do this. </div><div>I hate autoconf too, but in VM list we have a general agreement on how to manage the VM build process, and unless you manage to convince the rest of people working there (and specially Eliot, who works there more than the rest), you have literally zero chance this will be adopted (and then, your work will be a general lose of timeā€¦). </div><div>In any case, you have my vote :)</div><br class=""><blockquote type="cite" class=""><div class=""><div dir="ltr" class=""><div class=""><div class=""><div class=""><div class=""><div class="">- Refactoring the Unix entry points. I am trying to remove a lot of code for simplfying stuff.<br class=""></div>- Null window driver for true headless.<br class=""></div>- Optional SDL2 based traditional display backend for compatibility reasons, and because the extra Morphic worlds using OSWindow are a bit unstable.<br class=""></div><br class=""></div>So far I managed to run a standard Pharo 6 image using this custom VM in Linux. Windows and Mac are coming next. Hopefully this is going to fix the problems with duplicated events when using OSWindow in Windows.<br class=""></div></div></div></blockquote><div><br class=""></div><div>this is sooo super :)</div><br class=""><blockquote type="cite" class=""><div class=""><div dir="ltr" class=""><div class=""><br class="">I am also planning on making a standard interface for embedding the VM in an application, at least as a static library. With this new building system, this seems to be easy to do.<br class=""></div></div></div></blockquote><div><br class=""></div><div>even more super :)</div><div><br class=""></div><div>where can I see the code?</div><div><br class=""></div><div>Esteban</div><br class=""><blockquote type="cite" class=""><div class=""><div dir="ltr" class=""><div class=""><br class=""></div><div class="">BTW. When I tried the minimalistic Pharo image, in a completely headless VM, I got the following error:<br class=""><br class="">[ "Ugh .... now this is a biggie - a system that does not support<br class="">        any of the display depths at all."<br class="">Smalltalk<br class="">    logError:<br class="">        'Fatal error: This system has no support for any display depth at all.'<br class="">    inContext: thisContext.<br class="">Smalltalk quitPrimitive    "There is no way to continue from here" ] in DisplayScreen>>findAnyDisplayDepth<br class="">DisplayScreen>>findAnyDisplayDepthIfNone:<br class="">DisplayScreen>>findAnyDisplayDepth<br class="">DisplayScreen>>setExtent:depth:<br class="">DisplayScreen class>>startUp<br class=""><br class=""></div><div class="">As a workaround, I am doing the following for ioHasDisplayDepth with the null driver:<br class=""><br class="">sqInt ioHasDisplayDepth(sqInt depth)<br class="">{<br class="">    return true;<br class="">}<br class=""><br class=""></div><div class="">In DisplayScreen class >> startUp we have the following:<br class="">startUp  "DisplayScreen startUp"<br class="">    Display setExtent: self actualScreenSize depth: Display nativeDepth.<br class="">    Display beDisplay<br class=""></div><div class=""><br class=""></div><div class="">Does it make sense, to always trying to create a display in startup time?<br class=""><br class=""></div><div class="">Best regards,<br class=""></div><div class="">Ronie<br class=""></div></div>
</div></blockquote></div><br class=""></div></body></html>