[Pharo-project] Open window out of my pharo environment
Hi! all my question is in the object ^^ Does exist the possibility to open a window out of my pharo environment? (Or someone know the way to do that?) I'm working on a graphic framework and at my work they need a multi screen support. It's needed to validate Pharo as the smalltalk they will use! Thanks! Tristan
Hi, Well, I'm working on that (for Athens, with Igor) :) But is still work in progress... it still needs some iterations. If you can wait a bit, it will be ready to test more ore less soon (for mac sooner than other platforms). Esteban On Apr 12, 2013, at 9:49 AM, Tristan Bourgois <tristan.bourgois@gmail.com> wrote:
Hi!
all my question is in the object ^^
Does exist the possibility to open a window out of my pharo environment? (Or someone know the way to do that?)
I'm working on a graphic framework and at my work they need a multi screen support. It's needed to validate Pharo as the smalltalk they will use!
Thanks!
Tristan
2013/4/12 Esteban Lorenzano <estebanlm@gmail.com>
Hi,
Well, I'm working on that (for Athens, with Igor) :)
yeah super :) But is still work in progress... it still needs some iterations. If you can
wait a bit, it will be ready to test more ore less soon (for mac sooner than other platforms).
I'm not an expert in this domain but if you need some help for some iteration ask me :) (Also to test it on a windows OS)
Esteban
On Apr 12, 2013, at 9:49 AM, Tristan Bourgois <tristan.bourgois@gmail.com> wrote:
Hi!
all my question is in the object ^^
Does exist the possibility to open a window out of my pharo environment? (Or someone know the way to do that?)
I'm working on a graphic framework and at my work they need a multi screen support. It's needed to validate Pharo as the smalltalk they will use!
Thanks!
Tristan
Hi 2013/4/12 Esteban Lorenzano <estebanlm@gmail.com>
Hi,
Well, I'm working on that (for Athens, with Igor) :) But is still work in progress... it still needs some iterations. If you can wait a bit, it will be ready to test more ore less soon (for mac sooner than other platforms).
It is really great news. Is this work includes moving windows management from VM to image side?
Esteban
On Apr 12, 2013, at 9:49 AM, Tristan Bourgois <tristan.bourgois@gmail.com> wrote:
Hi!
all my question is in the object ^^
Does exist the possibility to open a window out of my pharo environment? (Or someone know the way to do that?)
I'm working on a graphic framework and at my work they need a multi screen support. It's needed to validate Pharo as the smalltalk they will use!
Thanks!
Tristan
yes... it is some-kind related to Mars too (I will finish it, one of this years... :P) Esteban On Apr 12, 2013, at 10:56 AM, Denis Kudriashov <dionisiydk@gmail.com> wrote:
Hi
2013/4/12 Esteban Lorenzano <estebanlm@gmail.com> Hi,
Well, I'm working on that (for Athens, with Igor) :) But is still work in progress... it still needs some iterations. If you can wait a bit, it will be ready to test more ore less soon (for mac sooner than other platforms).
It is really great news. Is this work includes moving windows management from VM to image side?
Esteban
On Apr 12, 2013, at 9:49 AM, Tristan Bourgois <tristan.bourgois@gmail.com> wrote:
Hi!
all my question is in the object ^^
Does exist the possibility to open a window out of my pharo environment? (Or someone know the way to do that?)
I'm working on a graphic framework and at my work they need a multi screen support. It's needed to validate Pharo as the smalltalk they will use!
Thanks!
Tristan
There is also the possibility of running a webapp inside pharo and use that on a second display showing some content in a web browser. In fact,you could use as many displays as you want that way. Phil 2013/4/12 Esteban Lorenzano <estebanlm@gmail.com>
Hi,
Well, I'm working on that (for Athens, with Igor) :) But is still work in progress... it still needs some iterations. If you can wait a bit, it will be ready to test more ore less soon (for mac sooner than other platforms).
Esteban
On Apr 12, 2013, at 9:49 AM, Tristan Bourgois <tristan.bourgois@gmail.com> wrote:
Hi!
all my question is in the object ^^
Does exist the possibility to open a window out of my pharo environment? (Or someone know the way to do that?)
I'm working on a graphic framework and at my work they need a multi screen support. It's needed to validate Pharo as the smalltalk they will use!
Thanks!
Tristan
On Fri, Apr 12, 2013 at 9:49 AM, Tristan Bourgois < tristan.bourgois@gmail.com> wrote:
I'm working on a graphic framework and at my work they need a multi screen support. It's needed to validate Pharo as the smalltalk they will use!
what is your dead-line Tristan? An alternative could be to launch a new Pharo image. -- Damien Cassou http://damiencassou.seasidehosting.st "Success is the ability to go from one failure to another without losing enthusiasm." Winston Churchill
2013/4/12 Damien Cassou <damien.cassou@gmail.com>
On Fri, Apr 12, 2013 at 9:49 AM, Tristan Bourgois < tristan.bourgois@gmail.com> wrote:
I'm working on a graphic framework and at my work they need a multi screen support. It's needed to validate Pharo as the smalltalk they will use!
what is your dead-line Tristan?
Concretly I don't have dead-line but sooner will be great to test it, porting one of their big model to Pharo and make a demo to the big boss (To validate Pharo). It will be great too to have it while I'm at Thalès. Actually I have porting 2 of their 3 tools they used so before the demo of validation I have to finish all porting. (the last one is based on the 2 other tool so normally it will be fast).
An alternative could be to launch a new Pharo image.
Yes I thinking about this alternative. Do I risk to loose lot of performance for the 2nd window? --
Damien Cassou http://damiencassou.seasidehosting.st
"Success is the ability to go from one failure to another without losing enthusiasm." Winston Churchill
You've probably considered this, but I wonder if for demo purposes you could combine the two screens as the OS level, spread one Pharo window across and have two main windows inside Pharo that are fixed to each side. cheers -ben Tristan Bourgois wrote:
2013/4/12 Damien Cassou <damien.cassou@gmail.com>
On Fri, Apr 12, 2013 at 9:49 AM, Tristan Bourgois < tristan.bourgois@gmail.com> wrote:
I'm working on a graphic framework and at my work they need a multi screen support. It's needed to validate Pharo as the smalltalk they will use!
what is your dead-line Tristan?
Concretly I don't have dead-line but sooner will be great to test it, porting one of their big model to Pharo and make a demo to the big boss (To validate Pharo). It will be great too to have it while I'm at Thalès.
Actually I have porting 2 of their 3 tools they used so before the demo of validation I have to finish all porting. (the last one is based on the 2 other tool so normally it will be fast).
An alternative could be to launch a new Pharo image.
Yes I thinking about this alternative. Do I risk to loose lot of performance for the 2nd window?
--
Damien Cassou http://damiencassou.seasidehosting.st
"Success is the ability to go from one failure to another without losing enthusiasm." Winston Churchill
From immediate perspective, why not hook up with NativeBoost to a C DLL one can easily parametrize to serve as viable alternative / proof of concept till Igor / Esteban's work becomes core to Pharo.
Is this Windows / Mac / Linux or multi OS..? For Pharo, they will have to ensure it multi OS compatible so may take time stabilizing. On Fri, Apr 12, 2013 at 1:19 PM, Tristan Bourgois < tristan.bourgois@gmail.com> wrote:
Hi!
all my question is in the object ^^
Does exist the possibility to open a window out of my pharo environment? (Or someone know the way to do that?)
I'm working on a graphic framework and at my work they need a multi screen support. It's needed to validate Pharo as the smalltalk they will use!
Thanks!
Tristan
2013/4/12 S Krish <krishnamachari.sudhakar@gmail.com>
From immediate perspective, why not hook up with NativeBoost to a C DLL one can easily parametrize to serve as viable alternative / proof of concept till Igor / Esteban's work becomes core to Pharo.
Can you explain me fastly how to do that? (Sorry but I'm a terribly newbie on low-level programming) Is this Windows / Mac / Linux or multi OS..? For Pharo, they will have to
ensure it multi OS compatible so may take time stabilizing.
I develop on Windows but we have to be compatible with Linux. (The demo to the client are on Linux machine).
On Fri, Apr 12, 2013 at 1:19 PM, Tristan Bourgois < tristan.bourgois@gmail.com> wrote:
Hi!
all my question is in the object ^^
Does exist the possibility to open a window out of my pharo environment? (Or someone know the way to do that?)
I'm working on a graphic framework and at my work they need a multi screen support. It's needed to validate Pharo as the smalltalk they will use!
Thanks!
Tristan
One crappy hack would be to have two host windows started by the VM and the Pharo Display bitmap split in two and each half being painted in its own window at the VM level. Which could even be extented to 'n' windows. The current display code uses a nxn matrix to repaint, refreshing in two windows is doable without too much fuss. For a Proof of Concept, that's workable. Phil 2013/4/12 Tristan Bourgois <tristan.bourgois@gmail.com>
2013/4/12 S Krish <krishnamachari.sudhakar@gmail.com>
From immediate perspective, why not hook up with NativeBoost to a C DLL one can easily parametrize to serve as viable alternative / proof of concept till Igor / Esteban's work becomes core to Pharo.
Can you explain me fastly how to do that? (Sorry but I'm a terribly newbie on low-level programming)
Is this Windows / Mac / Linux or multi OS..? For Pharo, they will have to
ensure it multi OS compatible so may take time stabilizing.
I develop on Windows but we have to be compatible with Linux. (The demo to the client are on Linux machine).
On Fri, Apr 12, 2013 at 1:19 PM, Tristan Bourgois < tristan.bourgois@gmail.com> wrote:
Hi!
all my question is in the object ^^
Does exist the possibility to open a window out of my pharo environment? (Or someone know the way to do that?)
I'm working on a graphic framework and at my work they need a multi screen support. It's needed to validate Pharo as the smalltalk they will use!
Thanks!
Tristan
On Apr 12, 2013, at 1:08 PM, phil@highoctane.be wrote:
One crappy hack would be to have two host windows started by the VM and the Pharo Display bitmap split in two and each half being painted in its own window at the VM level.
Which could even be extented to 'n' windows.
The current display code uses a nxn matrix to repaint, refreshing in two windows is doable without too much fuss.
For a Proof of Concept, that's workable. Phil
The painting itself isn't the real bear though, but event handling/distribution with multiple concurrent "worlds" and/or displays (or, in another term, WindowManagers). I mean, Areithfa Ffenestri (http://wiki.squeak.org/squeak/3862) has provided a workable multiple-windows API / VM implementation (on MacOS at least) for years, but the image-side code changes needed to make it work with source-aware events are still MIA. And that's not just due to lack of interest. Cheers, Henry
On Apr 12, 2013, at 2:35 PM, Henrik Johansen wrote:
On Apr 12, 2013, at 1:08 PM, phil@highoctane.be wrote:
One crappy hack would be to have two host windows started by the VM and the Pharo Display bitmap split in two and each half being painted in its own window at the VM level.
Which could even be extented to 'n' windows.
The current display code uses a nxn matrix to repaint, refreshing in two windows is doable without too much fuss.
For a Proof of Concept, that's workable. Phil
The painting itself isn't the real bear though, but event handling/distribution with multiple concurrent "worlds" and/or displays (or, in another term, WindowManagers). I mean, Areithfa Ffenestri (http://wiki.squeak.org/squeak/3862) has provided a workable multiple-windows API / VM implementation (on MacOS at least) for years, but the image-side code changes needed to make it work with source-aware events are still MIA. And that's not just due to lack of interest.
Cheers, Henry
On a positive note, I should say; there HAS been progress in Pharo lately that would make this work easier than it used to; for example. the move away from use of a global Sensor :) Cheers, Henry
Henrik Johansen wrote:
On Apr 12, 2013, at 2:35 PM, Henrik Johansen wrote:
On Apr 12, 2013, at 1:08 PM, phil@highoctane.be wrote:
One crappy hack would be to have two host windows started by the VM and the Pharo Display bitmap split in two and each half being painted in its own window at the VM level.
Which could even be extented to 'n' windows.
The current display code uses a nxn matrix to repaint, refreshing in two windows is doable without too much fuss.
For a Proof of Concept, that's workable. Phil
The painting itself isn't the real bear though, but event handling/distribution with multiple concurrent "worlds" and/or displays (or, in another term, WindowManagers). I mean, Areithfa Ffenestri (http://wiki.squeak.org/squeak/3862) has provided a workable multiple-windows API / VM implementation (on MacOS at least) for years, but the image-side code changes needed to make it work with source-aware events are still MIA. And that's not just due to lack of interest.
Cheers, Henry
On a positive note, I should say; there HAS been progress in Pharo lately that would make this work easier than it used to; for example. the move away from use of a global Sensor :)
Cheers, Henry
Just musing.... The comment from that web page says ""*NO* support yet exists for Morphic since there is a vast amount of code and class cleanup needed." I wonder if a second native window would be the place to start experimenting with Morphic3 in Pharo, leaving the existing Morphic running in parallel. cheers -ben
On 12 April 2013 14:38, Henrik Johansen <henrik.s.johansen@veloxit.no> wrote:
On Apr 12, 2013, at 2:35 PM, Henrik Johansen wrote:
On Apr 12, 2013, at 1:08 PM, phil@highoctane.be wrote:
One crappy hack would be to have two host windows started by the VM and the Pharo Display bitmap split in two and each half being painted in its own window at the VM level.
Which could even be extented to 'n' windows.
The current display code uses a nxn matrix to repaint, refreshing in two windows is doable without too much fuss.
For a Proof of Concept, that's workable. Phil
The painting itself isn't the real bear though, but event handling/distribution with multiple concurrent "worlds" and/or displays (or, in another term, WindowManagers). I mean, Areithfa Ffenestri (http://wiki.squeak.org/squeak/3862) has provided a workable multiple-windows API / VM implementation (on MacOS at least) for years, but the image-side code changes needed to make it work with source-aware events are still MIA. And that's not just due to lack of interest.
Cheers, Henry
On a positive note, I should say; there HAS been progress in Pharo lately that would make this work easier than it used to; for example. the move away from use of a global Sensor :)
yes.. we know where we going and what we want :) Actually i always wanted to do a nice multi-window support for squeak.. and even started writing new plugin prototype once in a while.. but then switched to something else. I could try to find this code, if i not lost it under tons of other started/drafted and then quickly abandoned hacks.
Cheers, Henry
-- Best regards, Igor Stasenko.
On 12 April 2013 14:35, Henrik Johansen <henrik.s.johansen@veloxit.no> wrote:
On Apr 12, 2013, at 1:08 PM, phil@highoctane.be wrote:
One crappy hack would be to have two host windows started by the VM and the Pharo Display bitmap split in two and each half being painted in its own window at the VM level.
Which could even be extented to 'n' windows.
The current display code uses a nxn matrix to repaint, refreshing in two windows is doable without too much fuss.
For a Proof of Concept, that's workable. Phil
The painting itself isn't the real bear though, but event handling/distribution with multiple concurrent "worlds" and/or displays (or, in another term, WindowManagers).
indeeeed!
I mean, Areithfa Ffenestri (http://wiki.squeak.org/squeak/3862) has provided a workable multiple-windows API / VM implementation (on MacOS at least) for years, but the image-side code changes needed to make it work with source-aware events are still MIA. And that's not just due to lack of interest.
the last time i checked this stuff, the platform support code exists only for windoze and mac, but no avail for linux.
Cheers, Henry
-- Best regards, Igor Stasenko.
MMh, didn't saw the Windows thing. I am used to the OSX VM. 2013/4/12 Tristan Bourgois <tristan.bourgois@gmail.com>
2013/4/12 S Krish <krishnamachari.sudhakar@gmail.com>
From immediate perspective, why not hook up with NativeBoost to a C DLL one can easily parametrize to serve as viable alternative / proof of concept till Igor / Esteban's work becomes core to Pharo.
Can you explain me fastly how to do that? (Sorry but I'm a terribly newbie on low-level programming)
Is this Windows / Mac / Linux or multi OS..? For Pharo, they will have to
ensure it multi OS compatible so may take time stabilizing.
I develop on Windows but we have to be compatible with Linux. (The demo to the client are on Linux machine).
On Fri, Apr 12, 2013 at 1:19 PM, Tristan Bourgois < tristan.bourgois@gmail.com> wrote:
Hi!
all my question is in the object ^^
Does exist the possibility to open a window out of my pharo environment? (Or someone know the way to do that?)
I'm working on a graphic framework and at my work they need a multi screen support. It's needed to validate Pharo as the smalltalk they will use!
Thanks!
Tristan
For the multi monitor support there will be a non trivial work involved. Maybe VW MultiMonitor.pcl maybe nice to start with and its corresponding dll to check on. But why not do a programming workaround for demo.. divide the tasks and displays between n VMs each displaying on their respective monitors. Use Fuel to proxy required objects between VMs if they need to share memory of objects..? bit of the Ruby simplified drb magic.. Anyways let me work on this a bit more and see if I can give a concrete code to work with atleast on one OS. On Fri, Apr 12, 2013 at 4:18 PM, Tristan Bourgois < tristan.bourgois@gmail.com> wrote:
2013/4/12 S Krish <krishnamachari.sudhakar@gmail.com>
From immediate perspective, why not hook up with NativeBoost to a C DLL one can easily parametrize to serve as viable alternative / proof of concept till Igor / Esteban's work becomes core to Pharo.
Can you explain me fastly how to do that? (Sorry but I'm a terribly newbie on low-level programming)
Is this Windows / Mac / Linux or multi OS..? For Pharo, they will have to
ensure it multi OS compatible so may take time stabilizing.
I develop on Windows but we have to be compatible with Linux. (The demo to the client are on Linux machine).
On Fri, Apr 12, 2013 at 1:19 PM, Tristan Bourgois < tristan.bourgois@gmail.com> wrote:
Hi!
all my question is in the object ^^
Does exist the possibility to open a window out of my pharo environment? (Or someone know the way to do that?)
I'm working on a graphic framework and at my work they need a multi screen support. It's needed to validate Pharo as the smalltalk they will use!
Thanks!
Tristan
tristan I do not think that without help we will be able to get multiwindowing working within the time of your intern. Now if one guy at your place wants to help it can really change. Stef
2013/4/12 S Krish <krishnamachari.sudhakar@gmail.com>
From immediate perspective, why not hook up with NativeBoost to a C DLL one can easily parametrize to serve as viable alternative / proof of concept till Igor / Esteban's work becomes core to Pharo.
Can you explain me fastly how to do that? (Sorry but I'm a terribly newbie on low-level programming)
Is this Windows / Mac / Linux or multi OS..? For Pharo, they will have to ensure it multi OS compatible so may take time stabilizing.
I develop on Windows but we have to be compatible with Linux. (The demo to the client are on Linux machine).
On Fri, Apr 12, 2013 at 1:19 PM, Tristan Bourgois <tristan.bourgois@gmail.com> wrote: Hi!
all my question is in the object ^^
Does exist the possibility to open a window out of my pharo environment? (Or someone know the way to do that?)
I'm working on a graphic framework and at my work they need a multi screen support. It's needed to validate Pharo as the smalltalk they will use!
Thanks!
Tristan
2013/4/13 stephane ducasse <stephane.ducasse@free.fr>
tristan
I do not think that without help we will be able to get multiwindowing working within the time of your intern.
I can give some of my freetime to help on this! But I don't think I can spend my work time because of I'm under Thalès licence for the moment (I will ask to my tutor). On the other side nothing forbid me to make an alternative at work! Now if one guy at your place wants to help it can really change.
Stef
2013/4/12 S Krish <krishnamachari.sudhakar@gmail.com>
From immediate perspective, why not hook up with NativeBoost to a C DLL one can easily parametrize to serve as viable alternative / proof of concept till Igor / Esteban's work becomes core to Pharo.
Can you explain me fastly how to do that? (Sorry but I'm a terribly newbie on low-level programming)
Is this Windows / Mac / Linux or multi OS..? For Pharo, they will have to
ensure it multi OS compatible so may take time stabilizing.
I develop on Windows but we have to be compatible with Linux. (The demo to the client are on Linux machine).
On Fri, Apr 12, 2013 at 1:19 PM, Tristan Bourgois < tristan.bourgois@gmail.com> wrote:
Hi!
all my question is in the object ^^
Does exist the possibility to open a window out of my pharo environment? (Or someone know the way to do that?)
I'm working on a graphic framework and at my work they need a multi screen support. It's needed to validate Pharo as the smalltalk they will use!
Thanks!
Tristan
On Apr 13, 2013, at 2:14 PM, Tristan Bourgois <tristan.bourgois@gmail.com> wrote:
2013/4/13 stephane ducasse <stephane.ducasse@free.fr> tristan
I do not think that without help we will be able to get multiwindowing working within the time of your intern.
I can give some of my freetime to help on this! But I don't think I can spend my work time because of I'm under Thalès licence for the moment (I will ask to my tutor). On the other side nothing forbid me to make an alternative at work!
to me it looks like some people want the butter and the money for the butterâ¦.
Now if one guy at your place wants to help it can really change.
Stef
2013/4/12 S Krish <krishnamachari.sudhakar@gmail.com>
From immediate perspective, why not hook up with NativeBoost to a C DLL one can easily parametrize to serve as viable alternative / proof of concept till Igor / Esteban's work becomes core to Pharo.
Can you explain me fastly how to do that? (Sorry but I'm a terribly newbie on low-level programming)
Is this Windows / Mac / Linux or multi OS..? For Pharo, they will have to ensure it multi OS compatible so may take time stabilizing.
I develop on Windows but we have to be compatible with Linux. (The demo to the client are on Linux machine).
On Fri, Apr 12, 2013 at 1:19 PM, Tristan Bourgois <tristan.bourgois@gmail.com> wrote: Hi!
all my question is in the object ^^
Does exist the possibility to open a window out of my pharo environment? (Or someone know the way to do that?)
I'm working on a graphic framework and at my work they need a multi screen support. It's needed to validate Pharo as the smalltalk they will use!
Thanks!
Tristan
On 12 April 2013 12:22, S Krish <krishnamachari.sudhakar@gmail.com> wrote:
From immediate perspective, why not hook up with NativeBoost to a C DLL one can easily parametrize to serve as viable alternative / proof of concept till Igor / Esteban's work becomes core to Pharo.
Is this Windows / Mac / Linux or multi OS..? For Pharo, they will have to ensure it multi OS compatible so may take time stabilizing.
On Windoze i can create a window like a piece of cake (see NBOpenGL code which does that).. the only problem which i think will inevitably hit us is handling events for that window.. for that we will need to modify VM (even in case if we decide to handle events by image-side callback). It works in NBOpenGL case, simply because it creating a hidden window which is never shown on screen and never receives any events...and i using it to create an offscreen opengl context.
On Fri, Apr 12, 2013 at 1:19 PM, Tristan Bourgois <tristan.bourgois@gmail.com> wrote:
Hi!
all my question is in the object ^^
Does exist the possibility to open a window out of my pharo environment? (Or someone know the way to do that?)
I'm working on a graphic framework and at my work they need a multi screen support. It's needed to validate Pharo as the smalltalk they will use!
Thanks!
Tristan
-- Best regards, Igor Stasenko.
Tristan Bourgois-2 wrote
Does exist the possibility to open a window out of my pharo environment?
How about Phobos (https://code.google.com/p/phobos-framework/)? ----- Cheers, Sean -- View this message in context: http://forum.world.st/Open-window-out-of-my-pharo-environment-tp4681003p4681... Sent from the Pharo Smalltalk mailing list archive at Nabble.com.
On Fri, Apr 12, 2013 at 12:49 AM, Tristan Bourgois < tristan.bourgois@gmail.com> wrote:
Hi!
all my question is in the object ^^
Does exist the possibility to open a window out of my pharo environment? (Or someone know the way to do that?)
google: Squeak VNC server
I'm working on a graphic framework and at my work they need a multi screen support. It's needed to validate Pharo as the smalltalk they will use!
Thanks!
Tristan
-- best, Eliot
Thanks for all your advice! I will try them this week :) Tristan 2013/4/13 Eliot Miranda <eliot.miranda@gmail.com>
On Fri, Apr 12, 2013 at 12:49 AM, Tristan Bourgois < tristan.bourgois@gmail.com> wrote:
Hi!
all my question is in the object ^^
Does exist the possibility to open a window out of my pharo environment? (Or someone know the way to do that?)
google: Squeak VNC server
I'm working on a graphic framework and at my work they need a multi screen support. It's needed to validate Pharo as the smalltalk they will use!
Thanks!
Tristan
-- best, Eliot
participants (12)
-
Ben Coman -
Damien Cassou -
Denis Kudriashov -
Eliot Miranda -
Esteban Lorenzano -
Henrik Johansen -
Igor Stasenko -
phil@highoctane.be -
S Krish -
Sean P. DeNigris -
stephane ducasse -
Tristan Bourgois