Re: [Pharo-dev] OSWindow in Pharo 6.1 stable

2017-10-26 Thread Tudor Girba
Thanks Ronie. Please keep us posted with the progress. Cheers, Doru > On Oct 19, 2017, at 7:48 PM, Ronie Salgado wrote: > > Hi Clément, > > Last night I was checking again the VM. If I remove the hack in the > ioProcessEvents, I can receive the events with SDL2, but as

Re: [Pharo-dev] OSWindow in Pharo 6.1 stable

2017-10-20 Thread Stephane Ducasse
Tx ronie. On Thu, Oct 19, 2017 at 7:48 PM, Ronie Salgado wrote: > Hi Clément, > > Last night I was checking again the VM. If I remove the hack in the > ioProcessEvents, I can receive the events with SDL2, but as soon as I type > on the main Pharo window I get a crash in an

Re: [Pharo-dev] OSWindow in Pharo 6.1 stable

2017-10-19 Thread Ronie Salgado
Hi Clément, Last night I was checking again the VM. If I remove the hack in the ioProcessEvents, I can receive the events with SDL2, but as soon as I type on the main Pharo window I get a crash in an objective-c message send by SDL2. I still need to debug SDL2 itself with debugging symbols. I am

Re: [Pharo-dev] OSWindow in Pharo 6.1 stable

2017-10-18 Thread Clément Bera
Hi again, I made many more attempts since those mails: I wrote this page showing how to deploy my game in native app at 50fps on Linux, Mac and Windows. Currently I deploy with: Ubuntu 64 bits: Pharo61-64 (Pharo61-32 also works with the right

Re: [Pharo-dev] OSWindow in Pharo 6.1 stable

2017-09-29 Thread Ronie Salgado
Hi Clément, I just checked on my machine and it is also not working. It seems to be a VM bug. It will take me some time to debug it. I have some suspicious on ioProcessEvents . Best regards, Ronie 2017-09-29 10:39 GMT+02:00 Clément Bera : > > > On Fri, Sep 29, 2017 at

Re: [Pharo-dev] OSWindow in Pharo 6.1 stable

2017-09-29 Thread Clément Bera
On Fri, Sep 29, 2017 at 10:29 AM, Hilaire wrote: > Hi, > > IMHO, it will make Pharo much more robust if core libraries as sdl, cairo, > etc will be shipped with each plateform dependent virtual machine and the > image modified accordingly to use these core libraries. > That's

Re: [Pharo-dev] OSWindow in Pharo 6.1 stable

2017-09-29 Thread Hilaire
Hi, IMHO, it will make Pharo much more robust if core libraries as sdl, cairo, etc will be shipped with each plateform dependent virtual machine and the image modified accordingly to use these core libraries. The delivery of Pharo application to end users is an issue because of these

Re: [Pharo-dev] OSWindow in Pharo 6.1 stable

2017-09-29 Thread Clément Bera
Hi Ronie... I need help again. In fact I am still not able to work with SDL2 events in Mac with Pharo 6 nor 7. In Pharo 6 and Pharo 7, 32 and 64 bits I need to run this code: 'FFIExternalStructure allSubclassesDo: #rebuildFieldAccessors'. In all cases I can open the window and draw on it with

Re: [Pharo-dev] OSWindow in Pharo 6.1 stable

2017-09-28 Thread Clément Béra
Ok I used the other lib (libSDL2 instead of libSDL2-2.0.0) and it worked. 2017-09-28 16:07 GMT+02:00 Clément Béra : > > > 2017-09-28 15:33 GMT+02:00 Ronie Salgado : > >> Hi Clement, >> >> The last time I checked, the 64 bits Mac VM version is eating

Re: [Pharo-dev] OSWindow in Pharo 6.1 stable

2017-09-28 Thread Clément Béra
2017-09-28 15:33 GMT+02:00 Ronie Salgado : > Hi Clement, > > The last time I checked, the 64 bits Mac VM version is eating the keyboard > events, but not the mouse and other events. I guess that for the > minheadless this is not required. The 32 bits version of Mac works by >

Re: [Pharo-dev] OSWindow in Pharo 6.1 stable

2017-09-28 Thread Ronie Salgado
Hi Clement, The last time I checked, the 64 bits Mac VM version is eating the keyboard events, but not the mouse and other events. I guess that for the minheadless this is not required. The 32 bits version of Mac works by running the folowing script: FFIExternalStructure allSubclassesDo: