Re: [Pharo-users] SDL2 and fork

2015-04-21 Thread Esteban Lorenzano
> On 21 Apr 2015, at 13:22, Sean P. DeNigris wrote: > > EstebanLM wrote >> stable vm is from march 25 so it will be no difference between stable and >> latest right now > > In http://files.pharo.org/vm/pharo/mac/ : > > Stable: > 1. stable.zip 9/2014 > 2. stable-20150325.zip 3/2015 > 3. stable-

Re: [Pharo-users] SDL2 and fork

2015-04-21 Thread Sean P. DeNigris
EstebanLM wrote > stable vm is from march 25 so it will be no difference between stable and > latest right now In http://files.pharo.org/vm/pharo/mac/ : Stable: 1. stable.zip 9/2014 2. stable-20150325.zip 3/2015 3. stable-20150403.zip 4/15 4. Pharo-VM-mac-stable.zip one day earlier than #1 Lates

Re: [Pharo-users] SDL2 and fork

2015-04-21 Thread Sean P. DeNigris
#40609 + latest VM + 40 sources - works on OS X 10.9.5 - can't find SDL2 library on OS X 10.8.5 - Cheers, Sean -- View this message in context: http://forum.world.st/SDL2-and-fork-tp4818623p4820797.html Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com.

Re: [Pharo-users] SDL2 and fork

2015-04-21 Thread Esteban Lorenzano
> On 21 Apr 2015, at 02:12, Sean P. DeNigris wrote: > > Sean P. DeNigris wrote >> VM latest > > That's odd... I opened the image with the latest VM and still got "Error: > Failed to find SDL2 library" even though I can see libSDL2-2.0.0.dylib in > the Plugins folder it should be ok… at least i

Re: [Pharo-users] SDL2 and fork

2015-04-21 Thread Esteban Lorenzano
> On 20 Apr 2015, at 23:30, Nicolai Hess wrote: > > > 2015-04-20 14:20 GMT+02:00 Esteban Lorenzano >: > Hi, > > I just committed my prototype/experiment for windows with OSWindow, SDL2 and > Athens. > to check them: > > Gofer it > smalltalkhubUser: 'Pha

Re: [Pharo-users] SDL2 and fork

2015-04-21 Thread Esteban Lorenzano
> On 20 Apr 2015, at 22:47, Nicolai Hess wrote: > > > > 2015-04-20 16:56 GMT+02:00 Alexandre Bergel >: > I see the point, but SDL seems to be pretty stable isn’t it? > Only two versions are reported on their website (1.2 and 2.0). Maybe it would > be better t

Re: [Pharo-users] SDL2 and fork

2015-04-20 Thread stepharo
Le 20/4/15 17:56, Alexandre Bergel a écrit : I see the point, but SDL seems to be pretty stable isn’t it? This has nothing to do with stability of SDL. It has to do with layering software. Only two versions are reported on their website (1.2 and 2.0). Maybe it would be better to directly ta

Re: [Pharo-users] SDL2 and fork

2015-04-20 Thread Matthieu Lacaton
Hello, Okay for me the problem was indeed that I had 64bits librairies. After recompiling them for 32bits it worked fine. Also when I use any of Esteban's examples even after I close the window I still have a SDL2 event loop processs active in the process browser. And sometimes (but i have not be

Re: [Pharo-users] SDL2 and fork

2015-04-20 Thread Sean P. DeNigris
Sean P. DeNigris wrote > VM latest That's odd... I opened the image with the latest VM and still got "Error: Failed to find SDL2 library" even though I can see libSDL2-2.0.0.dylib in the Plugins folder - Cheers, Sean -- View this message in context: http://forum.world.st/SDL2-and-fork-tp48

Re: [Pharo-users] SDL2 and fork

2015-04-20 Thread Sean P. DeNigris
EstebanLM wrote > I just committed my prototype/experiment for windows with OSWindow, SDL2 > and Athens. I got an error because my VM (via Launcher 0.2.4 - I can't upgrade due to a previously-reported error) doesn't have SDL2. I guess Launcher is using stable from 9/2014. How stable is VM latest?

Re: [Pharo-users] SDL2 and fork

2015-04-20 Thread Nicolai Hess
2015-04-20 14:20 GMT+02:00 Esteban Lorenzano : > Hi, > > I just committed my prototype/experiment for windows with OSWindow, SDL2 > and Athens. > to check them: > > Gofer it > smalltalkhubUser: 'Pharo' project: 'OSWindow'; > package: 'OSWindow-Core'; > package: 'OSWindow-SDL2'; > package: 'OSWindo

Re: [Pharo-users] SDL2 and fork

2015-04-20 Thread Nicolai Hess
2015-04-20 16:56 GMT+02:00 Alexandre Bergel : > I see the point, but SDL seems to be pretty stable isn’t it? > Only two versions are reported on their website (1.2 and 2.0). Maybe it > would be better to directly talk to SDL. Just wondering... > > Alexandre > If you use SDL directly -> you will h

Re: [Pharo-users] SDL2 and fork

2015-04-20 Thread Nicolai Hess
2015-04-20 13:55 GMT+02:00 Nicolai Hess : > > > 2015-04-20 13:13 GMT+02:00 : > >> Hello, >> >> We don’t lose all keystroke events, but they are replaced by keydown >> events. >> > > Yes, KeyDown/KeyUp are working and instead of a keystroke event another > keydown is sent. > This is strange, I don'

Re: [Pharo-users] SDL2 and fork

2015-04-20 Thread Alexandre Bergel
I see the point, but SDL seems to be pretty stable isn’t it? Only two versions are reported on their website (1.2 and 2.0). Maybe it would be better to directly talk to SDL. Just wondering... Alexandre -- _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;: Alexandre Bergel http://www.bergel.eu ^

Re: [Pharo-users] SDL2 and fork

2015-04-20 Thread Esteban Lorenzano
Hi, I just committed my prototype/experiment for windows with OSWindow, SDL2 and Athens. to check them: Gofer it smalltalkhubUser: 'Pharo' project: 'OSWindow'; package: 'OSWindow-Core'; package: 'OSWindow-SDL2'; package: 'OSWindow-SDL2-Canvases';

Re: [Pharo-users] SDL2 and fork

2015-04-20 Thread Nicolai Hess
2015-04-20 13:13 GMT+02:00 : > Hello, > > We don’t lose all keystroke events, but they are replaced by keydown > events. > Yes, KeyDown/KeyUp are working and instead of a keystroke event another keydown is sent. This is strange, I don't know exactly how the SDL event processing can influence the

Re: [Pharo-users] SDL2 and fork

2015-04-20 Thread merwanouddane
Hello, We don’t lose all keystroke events, but they are replaced by keydown events. Merwan De : Nicolai Hess Envoyé : ‎lundi‎ ‎20‎ ‎avril‎ ‎2015 ‎09‎:‎36 À : Any question about pharo is welcome; Esteban Lorenzano 2015-04-20 8:38 GMT+02:00 Matthieu Lacaton : Hello, Tha

Re: [Pharo-users] SDL2 and fork

2015-04-20 Thread Nicolai Hess
2015-04-20 8:38 GMT+02:00 Matthieu Lacaton : > Hello, > > Thanks for your answers ! I have multiple remarks here : > > On my computer (which is probably not the fastest I must admit) running it > with a fork slows the whole operating system. > What you could do, add a wait time in your event pro

Re: [Pharo-users] SDL2 and fork

2015-04-20 Thread Nicolai Hess
2015-04-20 8:38 GMT+02:00 Matthieu Lacaton : > Hello, > > Thanks for your answers ! I have multiple remarks here : > > 1) I know that SDL2 should not be used "as is" in Pharo and I should use > OSWindow instead, that's why I won't use SDL2 directly anymore. > On windows there is currently an issu

Re: [Pharo-users] SDL2 and fork

2015-04-20 Thread Nicolai Hess
2015-04-20 8:38 GMT+02:00 Matthieu Lacaton : > Hello, > ... > Could it be that I compiled it for 64bits (my ubuntu is 64 bits) and Pharo > does not support it so I should recompile it for 32 bits ? > Yes. > > Thanks you all ! > > Matthieu > > > 2015-04-20 1:57 GMT+02:00 Alexandre Bergel : > >>

Re: [Pharo-users] SDL2 and fork

2015-04-20 Thread stepharo
Alex Just to make sure we are clear on this: pay attention NOBODY should directly use SDL. OSWindow is the API, SDL is a BACKEND. Athens is the API, CAIRO a BACKEND Stef Le 20/4/15 02:57, Alexandre Bergel a écrit : Hi Matthieu, This is important: Binding SDL with Pharo will help R

Re: [Pharo-users] SDL2 and fork

2015-04-19 Thread Matthieu Lacaton
Hello, Thanks for your answers ! I have multiple remarks here : 1) I know that SDL2 should not be used "as is" in Pharo and I should use OSWindow instead, that's why I won't use SDL2 directly anymore. 2) But for the moment OSWindow uses SDL2 anyway so for experimentation purposes I will try to s

Re: [Pharo-users] SDL2 and fork

2015-04-19 Thread Alexandre Bergel
Hi Matthieu, This is important: Binding SDL with Pharo will help Roassal to get better. Please, let us know how it goes Alexandre > On Apr 9, 2015, at 12:54 PM, Matthieu Lacaton > wrote: > > Hello everyone, > > I tried to use the SDL2 binding to Pharo to create a very basic 2D > applicati

Re: [Pharo-users] SDL2 and fork

2015-04-19 Thread Nicolai Hess
Hi Matthieu 2015-04-09 17:54 GMT+02:00 Matthieu Lacaton : > Hello everyone, > > I tried to use the SDL2 binding to Pharo to create a very basic 2D > application (just some sprites and events) and it worked great. > The issue I have is that when I start my application, as long as I have an > activ