Hi,
Because Pharo 4 is getting closer and I can see already improvements on shortcuts (Ctrl and Alt are switched finally and we have consistent behaviour between apps in Linux), I'm moving to moose 5.1 as my base platform for the development of grafoscopio. So far, so good, but I would like some of the behaviours on 5.0 back on 5.1, like the way to embed playgrounds with named nodes. So here is the screenshot of grafoscopio with a code type node open inside an interactive document running on Moose 5.0: http://mutabit.com/deltas/repos.fossil/offray-uvikuo/doc/tip/static/blog/output/galleries/objetos/grafoscopio/grafoscopio-code-nodes-named.png And here is the same interactive document open on Moose 5.1: http://mutabit.com/deltas/repos.fossil/offray-uvikuo/doc/tip/static/blog/output/galleries/objetos/grafoscopio/grafoscopio-code-nodes-unnamed.png As you can see, in the first screenshot, the playground takes the same name of the node that is storing its contents, while the second one has just "Untitled" as title. My code for embedding playgrounds is ======================================== GrafoscopioBrowser>>bodyForCodeIn: constructor for: aNode "Shows the body of a node as an interactive playground. If node is not tagged it will return itself, so it can be rendered properly for other messages" | innerBrowser | aNode tags = 'código' ifFalse: [^self]. innerBrowser := GTPlayground new. constructor custom: innerBrowser. ======================================== How the code needs to be changed so I can get named playgrounds as was happening with 5.0. Cheers and keep the good work. Offray _______________________________________________ Moose-dev mailing list [hidden email] https://www.iam.unibe.ch/mailman/listinfo/moose-dev |
Right now 'Untitled' is kind of hardcoded. We should make it configurable. Cheers, Andrei On Tue, Mar 24, 2015 at 12:48 AM, Offray Vladimir Luna Cárdenas <[hidden email]> wrote: Hi, _______________________________________________ Moose-dev mailing list [hidden email] https://www.iam.unibe.ch/mailman/listinfo/moose-dev |
Do you mean that between 5.1 and 5.0 it became hardcoded? Previously it
just was a matter of naming methods on the GrafoscopioNode object the same that the playground was expecting to get (#title and #content) and I can get playgrounds named as I want. Why this became hardcoded? Cheers, Offray El 23/03/15 a las 18:47, Andrei Chis escribió: > Right now 'Untitled' is kind of hardcoded. > We should make it configurable. > > Cheers, > Andrei > > On Tue, Mar 24, 2015 at 12:48 AM, Offray Vladimir Luna Cárdenas > <[hidden email] <mailto:[hidden email]>> wrote: > > Hi, > > Because Pharo 4 is getting closer and I can see already improvements on > shortcuts (Ctrl and Alt are switched finally and we have consistent > behaviour between apps in Linux), I'm moving to moose 5.1 as my base > platform for the development of grafoscopio. So far, so good, but I would > like some of the behaviours on 5.0 back on 5.1, like the way to embed > playgrounds with named nodes. > > So here is the screenshot of grafoscopio with a code type node open inside > an interactive document running on Moose 5.0: > > http://mutabit.com/deltas/__repos.fossil/offray-uvikuo/__doc/tip/static/blog/output/__galleries/objetos/grafoscopio/__grafoscopio-code-nodes-named.__png > <http://mutabit.com/deltas/repos.fossil/offray-uvikuo/doc/tip/static/blog/output/galleries/objetos/grafoscopio/grafoscopio-code-nodes-named.png> > > And here is the same interactive document open on Moose 5.1: > > http://mutabit.com/deltas/__repos.fossil/offray-uvikuo/__doc/tip/static/blog/output/__galleries/objetos/grafoscopio/__grafoscopio-code-nodes-__unnamed.png > <http://mutabit.com/deltas/repos.fossil/offray-uvikuo/doc/tip/static/blog/output/galleries/objetos/grafoscopio/grafoscopio-code-nodes-unnamed.png> > > As you can see, in the first screenshot, the playground takes the same name > of the node that is storing its contents, while the second one has just > "Untitled" as title. > > My code for embedding playgrounds is > > ==============================__========== > GrafoscopioBrowser>>__bodyForCodeIn: constructor for: aNode > "Shows the body of a node as an interactive playground. If node is > not tagged it will return itself, > so it can be rendered properly for other messages" > > | innerBrowser | > > aNode tags = 'código' > ifFalse: [^self]. > > innerBrowser := GTPlayground new. > constructor custom: innerBrowser. > ==============================__========== > > How the code needs to be changed so I can get named playgrounds as was > happening with 5.0. > > Cheers and keep the good work. > > Offray > > _________________________________________________ > Moose-dev mailing list > [hidden email] <mailto:[hidden email]> > https://www.iam.unibe.ch/__mailman/listinfo/moose-dev > <https://www.iam.unibe.ch/mailman/listinfo/moose-dev> > > > > > _______________________________________________ > Moose-dev mailing list > [hidden email] > https://www.iam.unibe.ch/mailman/listinfo/moose-dev > _______________________________________________ Moose-dev mailing list [hidden email] https://www.iam.unibe.ch/mailman/listinfo/moose-dev |
Not sure how it was on moose 5.0.
Things changed. We'll fix it until the release. Cheers, Andrei On Tue, Mar 24, 2015 at 1:07 AM, Offray Vladimir Luna Cárdenas <[hidden email]> wrote: Do you mean that between 5.1 and 5.0 it became hardcoded? Previously it just was a matter of naming methods on the GrafoscopioNode object the same that the playground was expecting to get (#title and #content) and I can get playgrounds named as I want. Why this became hardcoded? _______________________________________________ Moose-dev mailing list [hidden email] https://www.iam.unibe.ch/mailman/listinfo/moose-dev |
Hi, Can you check that the latest moose version fixes you issue. Cheers, Andrei On Tue, Mar 24, 2015 at 1:08 AM, Andrei Chis <[hidden email]> wrote:
_______________________________________________ Moose-dev mailing list [hidden email] https://www.iam.unibe.ch/mailman/listinfo/moose-dev |
Hi Andrei,
Thanks for your interest. I have checked and is not working. In fact is worse that having the Untitled node because now I besides of not being able to name the playground, I can't neither execute the code inside the node tagged as "code" ("código") via the playground. I have created an easy check procedure for the error. If you execute the code at [1] in the Pharo 4.0 version update #40576 with unnamed nodes (my current dev version right now) you will get behaviour filmed on the video at [2] (no named playgrounds, but at least executable ones). While if you run the same code with the current 5.1 build of Moose, which is Pharo 4 version update #40586 you will get the behaviour in the video at [3], ending in a 'MNU receiver of "title" is nil'. [1] http://ws.stfx.eu/DZ4VUWWL9L5C [2] https://archive.org/details/gfcp-unnamed-playgrounds.mp4 [3] https://archive.org/details/gfcp-unnamed-playgrounds-last.mp4 I can't understand the trace for the error in the stack, but my arachnid sense tells me that there is a timing issue and the title message is send before there is any object created to receive it. But my Pharo superpowers are young and I can be totally wrong :-P. The procedure to create the embedded playground in a node tagged as code is: ============================ Grafoscopio-UI>>bodyForCodeIn: aConstructor for: aNode". "Shows the body of a node as an interactive playground. If node is not tagged it will return itself, so it can be rendered properly for other messages" | innerBrowser | aNode tags = 'código' ifFalse: [^self]. innerBrowser := GTPlayground new. constructor custom: innerBrowser. ============================ and is the one working on Pharo4 #40576 and failing on #40586. Hope this helps to catch the error. By the way, I have two questions: a) If I want to build grafoscopio on a particular update of Pharo 4, instead of the last one, say #40576, while the bug ins hunted, how can I download that particular version? b) I don't want to resize the browser windows to see the tab name (the one called "Arbol Principal"). There is any way to send the browser to show itself maximized? Thanks and keep the good work. Cheers, Offray El 26/03/15 a las 17:40, Andrei Chis escribió: > Hi, > > Can you check that the latest moose version fixes you issue. > > Cheers, > Andrei > > > On Tue, Mar 24, 2015 at 1:08 AM, Andrei Chis <[hidden email] > <mailto:[hidden email]>> wrote: > > Not sure how it was on moose 5.0. > Things changed. We'll fix it until the release. > > > Cheers, > Andrei > > On Tue, Mar 24, 2015 at 1:07 AM, Offray Vladimir Luna Cárdenas > <[hidden email] <mailto:[hidden email]>> wrote: > > Do you mean that between 5.1 and 5.0 it became hardcoded? Previously it > just was a matter of naming methods on the GrafoscopioNode object the > same that the playground was expecting to get (#title and #content) and > I can get playgrounds named as I want. Why this became hardcoded? > > Cheers, > > Offray > > El 23/03/15 a las 18:47, Andrei Chis escribió: > > Right now 'Untitled' is kind of hardcoded. > We should make it configurable. > > Cheers, > Andrei > > On Tue, Mar 24, 2015 at 12:48 AM, Offray Vladimir Luna Cárdenas > <[hidden email] <mailto:[hidden email]> > <mailto:[hidden email] <mailto:[hidden email]>>> wrote: > > Hi, > > Because Pharo 4 is getting closer and I can see already > improvements on > shortcuts (Ctrl and Alt are switched finally and we have > consistent > behaviour between apps in Linux), I'm moving to moose 5.1 as > my base > platform for the development of grafoscopio. So far, so good, > but I would > like some of the behaviours on 5.0 back on 5.1, like the way > to embed > playgrounds with named nodes. > > So here is the screenshot of grafoscopio with a code type node > open inside > an interactive document running on Moose 5.0: > > http://mutabit.com/deltas/____repos.fossil/offray-uvikuo/____doc/tip/static/blog/output/____galleries/objetos/grafoscopio/____grafoscopio-code-nodes-__named.__png > <http://mutabit.com/deltas/__repos.fossil/offray-uvikuo/__doc/tip/static/blog/output/__galleries/objetos/grafoscopio/__grafoscopio-code-nodes-named.__png> > > <http://mutabit.com/deltas/__repos.fossil/offray-uvikuo/__doc/tip/static/blog/output/__galleries/objetos/grafoscopio/__grafoscopio-code-nodes-named.__png <http://mutabit.com/deltas/repos.fossil/offray-uvikuo/doc/tip/static/blog/output/galleries/objetos/grafoscopio/grafoscopio-code-nodes-named.png>> > > And here is the same interactive document open on Moose 5.1: > > http://mutabit.com/deltas/____repos.fossil/offray-uvikuo/____doc/tip/static/blog/output/____galleries/objetos/grafoscopio/____grafoscopio-code-nodes-____unnamed.png > <http://mutabit.com/deltas/__repos.fossil/offray-uvikuo/__doc/tip/static/blog/output/__galleries/objetos/grafoscopio/__grafoscopio-code-nodes-__unnamed.png> > > <http://mutabit.com/deltas/__repos.fossil/offray-uvikuo/__doc/tip/static/blog/output/__galleries/objetos/grafoscopio/__grafoscopio-code-nodes-__unnamed.png <http://mutabit.com/deltas/repos.fossil/offray-uvikuo/doc/tip/static/blog/output/galleries/objetos/grafoscopio/grafoscopio-code-nodes-unnamed.png>> > > As you can see, in the first screenshot, the playground takes > the same name > of the node that is storing its contents, while the second one > has just > "Untitled" as title. > > My code for embedding playgrounds is > > ==============================____========== > GrafoscopioBrowser>>____bodyForCodeIn: constructor for: aNode > "Shows the body of a node as an interactive > playground. If node is > not tagged it will return itself, > so it can be rendered properly for other messages" > > | innerBrowser | > > aNode tags = 'código' > ifFalse: [^self]. > > innerBrowser := GTPlayground new. > constructor custom: innerBrowser. > ==============================____========== > > How the code needs to be changed so I can get named > playgrounds as was > happening with 5.0. > > Cheers and keep the good work. > > Offray > > ___________________________________________________ > Moose-dev mailing list > [hidden email] <mailto:[hidden email]> > <mailto:[hidden email] <mailto:[hidden email]>__> > https://www.iam.unibe.ch/____mailman/listinfo/moose-dev > <https://www.iam.unibe.ch/__mailman/listinfo/moose-dev> > <https://www.iam.unibe.ch/__mailman/listinfo/moose-dev > <https://www.iam.unibe.ch/mailman/listinfo/moose-dev>> > > > > > _________________________________________________ > Moose-dev mailing list > [hidden email] <mailto:[hidden email]> > https://www.iam.unibe.ch/__mailman/listinfo/moose-dev > <https://www.iam.unibe.ch/mailman/listinfo/moose-dev> > > > > _________________________________________________ > Moose-dev mailing list > [hidden email] <mailto:[hidden email]> > https://www.iam.unibe.ch/__mailman/listinfo/moose-dev > <https://www.iam.unibe.ch/mailman/listinfo/moose-dev> > > > > > > _______________________________________________ > Moose-dev mailing list > [hidden email] > https://www.iam.unibe.ch/mailman/listinfo/moose-dev > _______________________________________________ Moose-dev mailing list [hidden email] https://www.iam.unibe.ch/mailman/listinfo/moose-dev |
Any clue on this one? Should I open a bug report pointing to this mail?
Cheers, Offray El 29/03/15 a las 18:34, Offray Vladimir Luna Cárdenas escribió: > Hi Andrei, > > Thanks for your interest. I have checked and is not working. In fact is > worse that having the Untitled node because now I besides of not being > able to name the playground, I can't neither execute the code inside the > node tagged as "code" ("código") via the playground. > > I have created an easy check procedure for the error. If you execute the > code at [1] in the Pharo 4.0 version update #40576 with unnamed nodes > (my current dev version right now) you will get behaviour filmed on the > video at [2] (no named playgrounds, but at least executable ones). While > if you run the same code with the current 5.1 build of Moose, which is > Pharo 4 version update #40586 you will get the behaviour in the video at > [3], ending in a 'MNU receiver of "title" is nil'. > > [1] http://ws.stfx.eu/DZ4VUWWL9L5C > [2] https://archive.org/details/gfcp-unnamed-playgrounds.mp4 > [3] https://archive.org/details/gfcp-unnamed-playgrounds-last.mp4 > > I can't understand the trace for the error in the stack, but my arachnid > sense tells me that there is a timing issue and the title message is > send before there is any object created to receive it. But my Pharo > superpowers are young and I can be totally wrong :-P. The procedure to > create the embedded playground in a node tagged as code is: > > ============================ > Grafoscopio-UI>>bodyForCodeIn: aConstructor for: aNode". > "Shows the body of a node as an interactive playground. If node is > not tagged it will return itself, > so it can be rendered properly for other messages" > > | innerBrowser | > > aNode tags = 'código' > ifFalse: [^self]. > > innerBrowser := GTPlayground new. > constructor custom: innerBrowser. > ============================ > > and is the one working on Pharo4 #40576 and failing on #40586. > > Hope this helps to catch the error. > > By the way, I have two questions: > > a) If I want to build grafoscopio on a particular update of Pharo 4, > instead of the last one, say #40576, while the bug ins hunted, how can I > download that particular version? > > b) I don't want to resize the browser windows to see the tab name (the > one called "Arbol Principal"). There is any way to send the browser to > show itself maximized? > > Thanks and keep the good work. > > Cheers, > > Offray > > > El 26/03/15 a las 17:40, Andrei Chis escribió: >> Hi, >> >> Can you check that the latest moose version fixes you issue. >> >> Cheers, >> Andrei >> >> >> On Tue, Mar 24, 2015 at 1:08 AM, Andrei Chis <[hidden email] >> <mailto:[hidden email]>> wrote: >> >> Not sure how it was on moose 5.0. >> Things changed. We'll fix it until the release. >> >> >> Cheers, >> Andrei >> >> On Tue, Mar 24, 2015 at 1:07 AM, Offray Vladimir Luna Cárdenas >> <[hidden email] <mailto:[hidden email]>> wrote: >> >> Do you mean that between 5.1 and 5.0 it became hardcoded? >> Previously it >> just was a matter of naming methods on the GrafoscopioNode >> object the >> same that the playground was expecting to get (#title and >> #content) and >> I can get playgrounds named as I want. Why this became >> hardcoded? >> >> Cheers, >> >> Offray >> >> El 23/03/15 a las 18:47, Andrei Chis escribió: >> >> Right now 'Untitled' is kind of hardcoded. >> We should make it configurable. >> >> Cheers, >> Andrei >> >> On Tue, Mar 24, 2015 at 12:48 AM, Offray Vladimir Luna >> Cárdenas >> <[hidden email] <mailto:[hidden email]> >> <mailto:[hidden email] <mailto:[hidden email]>>> >> wrote: >> >> Hi, >> >> Because Pharo 4 is getting closer and I can see >> already >> improvements on >> shortcuts (Ctrl and Alt are switched finally and we >> have >> consistent >> behaviour between apps in Linux), I'm moving to >> moose 5.1 as >> my base >> platform for the development of grafoscopio. So >> far, so good, >> but I would >> like some of the behaviours on 5.0 back on 5.1, >> like the way >> to embed >> playgrounds with named nodes. >> >> So here is the screenshot of grafoscopio with a >> code type node >> open inside >> an interactive document running on Moose 5.0: >> >> >> http://mutabit.com/deltas/____repos.fossil/offray-uvikuo/____doc/tip/static/blog/output/____galleries/objetos/grafoscopio/____grafoscopio-code-nodes-__named.__png >> >> >> <http://mutabit.com/deltas/__repos.fossil/offray-uvikuo/__doc/tip/static/blog/output/__galleries/objetos/grafoscopio/__grafoscopio-code-nodes-named.__png> >> >> >> >> <http://mutabit.com/deltas/__repos.fossil/offray-uvikuo/__doc/tip/static/blog/output/__galleries/objetos/grafoscopio/__grafoscopio-code-nodes-named.__png >> <http://mutabit.com/deltas/repos.fossil/offray-uvikuo/doc/tip/static/blog/output/galleries/objetos/grafoscopio/grafoscopio-code-nodes-named.png>> >> >> >> And here is the same interactive document open on >> Moose 5.1: >> >> >> http://mutabit.com/deltas/____repos.fossil/offray-uvikuo/____doc/tip/static/blog/output/____galleries/objetos/grafoscopio/____grafoscopio-code-nodes-____unnamed.png >> >> >> <http://mutabit.com/deltas/__repos.fossil/offray-uvikuo/__doc/tip/static/blog/output/__galleries/objetos/grafoscopio/__grafoscopio-code-nodes-__unnamed.png> >> >> >> >> <http://mutabit.com/deltas/__repos.fossil/offray-uvikuo/__doc/tip/static/blog/output/__galleries/objetos/grafoscopio/__grafoscopio-code-nodes-__unnamed.png >> <http://mutabit.com/deltas/repos.fossil/offray-uvikuo/doc/tip/static/blog/output/galleries/objetos/grafoscopio/grafoscopio-code-nodes-unnamed.png>> >> >> >> As you can see, in the first screenshot, the >> playground takes >> the same name >> of the node that is storing its contents, while the >> second one >> has just >> "Untitled" as title. >> >> My code for embedding playgrounds is >> >> ==============================____========== >> GrafoscopioBrowser>>____bodyForCodeIn: constructor >> for: aNode >> "Shows the body of a node as an interactive >> playground. If node is >> not tagged it will return itself, >> so it can be rendered properly for other >> messages" >> >> | innerBrowser | >> >> aNode tags = 'código' >> ifFalse: [^self]. >> >> innerBrowser := GTPlayground new. >> constructor custom: innerBrowser. >> ==============================____========== >> >> How the code needs to be changed so I can get named >> playgrounds as was >> happening with 5.0. >> >> Cheers and keep the good work. >> >> Offray >> >> ___________________________________________________ >> Moose-dev mailing list >> [hidden email] <mailto:[hidden email]> >> <mailto:[hidden email] >> <mailto:[hidden email]>__> >> https://www.iam.unibe.ch/____mailman/listinfo/moose-dev >> <https://www.iam.unibe.ch/__mailman/listinfo/moose-dev> >> <https://www.iam.unibe.ch/__mailman/listinfo/moose-dev >> <https://www.iam.unibe.ch/mailman/listinfo/moose-dev>> >> >> >> >> >> _________________________________________________ >> Moose-dev mailing list >> [hidden email] <mailto:[hidden email]> >> https://www.iam.unibe.ch/__mailman/listinfo/moose-dev >> <https://www.iam.unibe.ch/mailman/listinfo/moose-dev> >> >> >> >> _________________________________________________ >> Moose-dev mailing list >> [hidden email] <mailto:[hidden email]> >> https://www.iam.unibe.ch/__mailman/listinfo/moose-dev >> <https://www.iam.unibe.ch/mailman/listinfo/moose-dev> >> >> >> >> >> >> _______________________________________________ >> Moose-dev mailing list >> [hidden email] >> https://www.iam.unibe.ch/mailman/listinfo/moose-dev >> > > > _______________________________________________ > Moose-dev mailing list > [hidden email] > https://www.iam.unibe.ch/mailman/listinfo/moose-dev > _______________________________________________ Moose-dev mailing list [hidden email] https://www.iam.unibe.ch/mailman/listinfo/moose-dev |
Hi Offray, Now it the latest version you do not get the error any more but the title of the tab is Untitled. Feel free to open a bug report :) Cheers, Andrei On Fri, Apr 3, 2015 at 6:10 PM, Offray Vladimir Luna Cárdenas <[hidden email]> wrote: Any clue on this one? Should I open a bug report pointing to this mail? _______________________________________________ Moose-dev mailing list [hidden email] https://www.iam.unibe.ch/mailman/listinfo/moose-dev |
Hi Andrei,
Tested last version (Pharo4.0 Latest update: #40594) and now they're working as unnamed nodes. I have filled out my first bug report with details pointing to this thread: https://pharo.fogbugz.com/f/cases/15297/Named-playgrounds-can-not-be-embedded-in-a-Tree Thanks, Offray El 03/04/15 a las 11:16, Andrei Chis escribió: > Hi Offray, > > Now it the latest version you do not get the error any more but the title of the > tab is Untitled. > > Feel free to open a bug report :) > > Cheers, > Andrei > > On Fri, Apr 3, 2015 at 6:10 PM, Offray Vladimir Luna Cárdenas <[hidden email] > <mailto:[hidden email]>> wrote: > > Any clue on this one? Should I open a bug report pointing to this mail? > > Cheers, > > Offray > > El 29/03/15 a las 18:34, Offray Vladimir Luna Cárdenas escribió: > > Hi Andrei, > > Thanks for your interest. I have checked and is not working. In fact is > worse that having the Untitled node because now I besides of not being > able to name the playground, I can't neither execute the code inside the > node tagged as "code" ("código") via the playground. > > I have created an easy check procedure for the error. If you execute the > code at [1] in the Pharo 4.0 version update #40576 with unnamed nodes > (my current dev version right now) you will get behaviour filmed on the > video at [2] (no named playgrounds, but at least executable ones). While > if you run the same code with the current 5.1 build of Moose, which is > Pharo 4 version update #40586 you will get the behaviour in the video at > [3], ending in a 'MNU receiver of "title" is nil'. > > [1] http://ws.stfx.eu/DZ4VUWWL9L5C > [2] https://archive.org/details/__gfcp-unnamed-playgrounds.mp4 > <https://archive.org/details/gfcp-unnamed-playgrounds.mp4> > [3] https://archive.org/details/__gfcp-unnamed-playgrounds-last.__mp4 > <https://archive.org/details/gfcp-unnamed-playgrounds-last.mp4> > > I can't understand the trace for the error in the stack, but my arachnid > sense tells me that there is a timing issue and the title message is > send before there is any object created to receive it. But my Pharo > superpowers are young and I can be totally wrong :-P. The procedure to > create the embedded playground in a node tagged as code is: > > ============================ > Grafoscopio-UI>>bodyForCodeIn: aConstructor for: aNode". > "Shows the body of a node as an interactive playground. If node is > not tagged it will return itself, > so it can be rendered properly for other messages" > > | innerBrowser | > > aNode tags = 'código' > ifFalse: [^self]. > > innerBrowser := GTPlayground new. > constructor custom: innerBrowser. > ============================ > > and is the one working on Pharo4 #40576 and failing on #40586. > > Hope this helps to catch the error. > > By the way, I have two questions: > > a) If I want to build grafoscopio on a particular update of Pharo 4, > instead of the last one, say #40576, while the bug ins hunted, how can I > download that particular version? > > b) I don't want to resize the browser windows to see the tab name (the > one called "Arbol Principal"). There is any way to send the browser to > show itself maximized? > > Thanks and keep the good work. > > Cheers, > > Offray > > > El 26/03/15 a las 17:40, Andrei Chis escribió: > > Hi, > > Can you check that the latest moose version fixes you issue. > > Cheers, > Andrei > > > On Tue, Mar 24, 2015 at 1:08 AM, Andrei Chis > <[hidden email] <mailto:[hidden email]> > <mailto:[hidden email] > <mailto:[hidden email]>>> wrote: > > Not sure how it was on moose 5.0. > Things changed. We'll fix it until the release. > > > Cheers, > Andrei > > On Tue, Mar 24, 2015 at 1:07 AM, Offray Vladimir Luna Cárdenas > <[hidden email] <mailto:[hidden email]> > <mailto:[hidden email] <mailto:[hidden email]>>> wrote: > > Do you mean that between 5.1 and 5.0 it became hardcoded? > Previously it > just was a matter of naming methods on the GrafoscopioNode > object the > same that the playground was expecting to get (#title and > #content) and > I can get playgrounds named as I want. Why this became > hardcoded? > > Cheers, > > Offray > > El 23/03/15 a las 18:47, Andrei Chis escribió: > > Right now 'Untitled' is kind of hardcoded. > We should make it configurable. > > Cheers, > Andrei > > On Tue, Mar 24, 2015 at 12:48 AM, Offray Vladimir Luna > Cárdenas > <[hidden email] <mailto:[hidden email]> > <mailto:[hidden email] <mailto:[hidden email]>> > <mailto:[hidden email] <mailto:[hidden email]> > <mailto:[hidden email] <mailto:[hidden email]>>>> > wrote: > > Hi, > > Because Pharo 4 is getting closer and I can see > already > improvements on > shortcuts (Ctrl and Alt are switched finally and we > have > consistent > behaviour between apps in Linux), I'm moving to > moose 5.1 as > my base > platform for the development of grafoscopio. So > far, so good, > but I would > like some of the behaviours on 5.0 back on 5.1, > like the way > to embed > playgrounds with named nodes. > > So here is the screenshot of grafoscopio with a > code type node > open inside > an interactive document running on Moose 5.0: > > > http://mutabit.com/deltas/______repos.fossil/offray-uvikuo/______doc/tip/static/blog/output/______galleries/objetos/__grafoscopio/____grafoscopio-__code-nodes-__named.__png > <http://mutabit.com/deltas/____repos.fossil/offray-uvikuo/____doc/tip/static/blog/output/____galleries/objetos/grafoscopio/____grafoscopio-code-nodes-__named.__png> > > > <http://mutabit.com/deltas/____repos.fossil/offray-uvikuo/____doc/tip/static/blog/output/____galleries/objetos/grafoscopio/____grafoscopio-code-nodes-__named.__png > <http://mutabit.com/deltas/__repos.fossil/offray-uvikuo/__doc/tip/static/blog/output/__galleries/objetos/grafoscopio/__grafoscopio-code-nodes-named.__png>> > > > > <http://mutabit.com/deltas/____repos.fossil/offray-uvikuo/____doc/tip/static/blog/output/____galleries/objetos/grafoscopio/____grafoscopio-code-nodes-__named.__png > <http://mutabit.com/deltas/__repos.fossil/offray-uvikuo/__doc/tip/static/blog/output/__galleries/objetos/grafoscopio/__grafoscopio-code-nodes-named.__png> > <http://mutabit.com/deltas/__repos.fossil/offray-uvikuo/__doc/tip/static/blog/output/__galleries/objetos/grafoscopio/__grafoscopio-code-nodes-named.__png > <http://mutabit.com/deltas/repos.fossil/offray-uvikuo/doc/tip/static/blog/output/galleries/objetos/grafoscopio/grafoscopio-code-nodes-named.png>>> > > > And here is the same interactive document open on > Moose 5.1: > > > http://mutabit.com/deltas/______repos.fossil/offray-uvikuo/______doc/tip/static/blog/output/______galleries/objetos/__grafoscopio/____grafoscopio-__code-nodes-____unnamed.png > <http://mutabit.com/deltas/____repos.fossil/offray-uvikuo/____doc/tip/static/blog/output/____galleries/objetos/grafoscopio/____grafoscopio-code-nodes-____unnamed.png> > > > <http://mutabit.com/deltas/____repos.fossil/offray-uvikuo/____doc/tip/static/blog/output/____galleries/objetos/grafoscopio/____grafoscopio-code-nodes-____unnamed.png > <http://mutabit.com/deltas/__repos.fossil/offray-uvikuo/__doc/tip/static/blog/output/__galleries/objetos/grafoscopio/__grafoscopio-code-nodes-__unnamed.png>> > > > > <http://mutabit.com/deltas/____repos.fossil/offray-uvikuo/____doc/tip/static/blog/output/____galleries/objetos/grafoscopio/____grafoscopio-code-nodes-____unnamed.png > <http://mutabit.com/deltas/__repos.fossil/offray-uvikuo/__doc/tip/static/blog/output/__galleries/objetos/grafoscopio/__grafoscopio-code-nodes-__unnamed.png> > <http://mutabit.com/deltas/__repos.fossil/offray-uvikuo/__doc/tip/static/blog/output/__galleries/objetos/grafoscopio/__grafoscopio-code-nodes-__unnamed.png > <http://mutabit.com/deltas/repos.fossil/offray-uvikuo/doc/tip/static/blog/output/galleries/objetos/grafoscopio/grafoscopio-code-nodes-unnamed.png>>> > > > As you can see, in the first screenshot, the > playground takes > the same name > of the node that is storing its contents, while the > second one > has just > "Untitled" as title. > > My code for embedding playgrounds is > > ==============================______========== > GrafoscopioBrowser>>______bodyForCodeIn: constructor > for: aNode > "Shows the body of a node as an interactive > playground. If node is > not tagged it will return itself, > so it can be rendered properly for other > messages" > > | innerBrowser | > > aNode tags = 'código' > ifFalse: [^self]. > > innerBrowser := GTPlayground new. > constructor custom: innerBrowser. > ==============================______========== > > How the code needs to be changed so I can get named > playgrounds as was > happening with 5.0. > > Cheers and keep the good work. > > Offray > > > _____________________________________________________ > Moose-dev mailing list > [hidden email] <mailto:[hidden email]> > <mailto:[hidden email] <mailto:[hidden email]>__> > <mailto:[hidden email] > <mailto:[hidden email]> > <mailto:[hidden email] <mailto:[hidden email]>__>__> > https://www.iam.unibe.ch/______mailman/listinfo/moose-dev > <https://www.iam.unibe.ch/____mailman/listinfo/moose-dev> > > <https://www.iam.unibe.ch/____mailman/listinfo/moose-dev > <https://www.iam.unibe.ch/__mailman/listinfo/moose-dev>> > > <https://www.iam.unibe.ch/____mailman/listinfo/moose-dev > <https://www.iam.unibe.ch/__mailman/listinfo/moose-dev> > <https://www.iam.unibe.ch/__mailman/listinfo/moose-dev > <https://www.iam.unibe.ch/mailman/listinfo/moose-dev>>> > > > > > ___________________________________________________ > Moose-dev mailing list > [hidden email] <mailto:[hidden email]> > <mailto:[hidden email] <mailto:[hidden email]>__> > https://www.iam.unibe.ch/____mailman/listinfo/moose-dev > <https://www.iam.unibe.ch/__mailman/listinfo/moose-dev> > <https://www.iam.unibe.ch/__mailman/listinfo/moose-dev > <https://www.iam.unibe.ch/mailman/listinfo/moose-dev>> > > > > ___________________________________________________ > Moose-dev mailing list > [hidden email] <mailto:[hidden email]> > <mailto:[hidden email] <mailto:[hidden email]>__> > https://www.iam.unibe.ch/____mailman/listinfo/moose-dev > <https://www.iam.unibe.ch/__mailman/listinfo/moose-dev> > <https://www.iam.unibe.ch/__mailman/listinfo/moose-dev > <https://www.iam.unibe.ch/mailman/listinfo/moose-dev>> > > > > > > _________________________________________________ > Moose-dev mailing list > [hidden email] <mailto:[hidden email]> > https://www.iam.unibe.ch/__mailman/listinfo/moose-dev > <https://www.iam.unibe.ch/mailman/listinfo/moose-dev> > > > > _________________________________________________ > Moose-dev mailing list > [hidden email] <mailto:[hidden email]> > https://www.iam.unibe.ch/__mailman/listinfo/moose-dev > <https://www.iam.unibe.ch/mailman/listinfo/moose-dev> > > > > _________________________________________________ > Moose-dev mailing list > [hidden email] <mailto:[hidden email]> > https://www.iam.unibe.ch/__mailman/listinfo/moose-dev > <https://www.iam.unibe.ch/mailman/listinfo/moose-dev> > > > > > _______________________________________________ > Moose-dev mailing list > [hidden email] > https://www.iam.unibe.ch/mailman/listinfo/moose-dev > _______________________________________________ Moose-dev mailing list [hidden email] https://www.iam.unibe.ch/mailman/listinfo/moose-dev |
Free forum by Nabble | Edit this page |