[Pharo-project] How to disable development tools on Pharo 1.3
I remember having seen some time in the past a menu that allows to shrink the image and disable the world menu. But, I can't retrieve any thing related. I don't care about the menu per se. I'd be happy with a message to send to some object that does the job. Noury -- http://twitter.com/#!/NouryBouraqadi http://www.kroobe.com/profile/noury Afin de contribuer au respect de l'environnement, merci de n'imprimer ce courriel qu'en cas de necessite Please consider the environment before you print
Some stuff I recover form Esteban and some old code: cleanUpEnvironment Smalltalk cleanUp: true. ScriptLoader new cleanUpForDesktopProduction. cleanUpForDesktopProduction "This is same as cleanUpForProduction, but it does not remove DejaVu fonts" SmalltalkImage checkChangesFileAvailability: false; checkSourcesFileAvailability: false. "No user-interrupt-into-debugger" UserInterruptHandler cmdDotEnabled: false. "turn off shift-click editing" StringMorph editableStringMorph: false. "No halos, etc." Morph cmdGesturesEnabled: false. "No user commands invokable via cmd-key combos in text editor" ParagraphEditor cmdKeysInText: false. Editor cmdKeysInText: false. And then if you have a morphic app: prepareMorph: aMorph World color: Color lightGray lighter lighter. World removeAllMorphs. World layoutPolicy: ProportionalLayout new. World addMorph: aMorph fullFrame: (LayoutFrame fractions: (0@0 corner: 1@1)). aMorph bounds: World bounds. aMorph sticky: true On Mon, Jan 30, 2012 at 5:16 PM, Noury Bouraqadi <bouraqadi@gmail.com>wrote:
I remember having seen some time in the past a menu that allows to shrink the image and disable the world menu. But, I can't retrieve any thing related. I don't care about the menu per se. I'd be happy with a message to send to some object that does the job.
Noury -- http://twitter.com/#!/NouryBouraqadi http://www.kroobe.com/profile/noury
Afin de contribuer au respect de l'environnement, merci de n'imprimer ce courriel qu'en cas de necessite
Please consider the environment before you print
-- Mariano http://marianopeck.wordpress.com
Thanx Mariano On 30 janv. 2012, at 17:21, Mariano Martinez Peck wrote:
Some stuff I recover form Esteban and some old code:
cleanUpEnvironment Smalltalk cleanUp: true. ScriptLoader new cleanUpForDesktopProduction.
cleanUpForDesktopProduction "This is same as cleanUpForProduction, but it does not remove DejaVu fonts"
SmalltalkImage checkChangesFileAvailability: false; checkSourcesFileAvailability: false.
"No user-interrupt-into-debugger" UserInterruptHandler cmdDotEnabled: false. "turn off shift-click editing" StringMorph editableStringMorph: false. "No halos, etc." Morph cmdGesturesEnabled: false. "No user commands invokable via cmd-key combos in text editor" ParagraphEditor cmdKeysInText: false. Editor cmdKeysInText: false.
And then if you have a morphic app:
prepareMorph: aMorph World color: Color lightGray lighter lighter. World removeAllMorphs. World layoutPolicy: ProportionalLayout new. World addMorph: aMorph fullFrame: (LayoutFrame fractions: (0@0 corner: 1@1)). aMorph bounds: World bounds. aMorph sticky: true
On Mon, Jan 30, 2012 at 5:16 PM, Noury Bouraqadi <bouraqadi@gmail.com> wrote: I remember having seen some time in the past a menu that allows to shrink the image and disable the world menu. But, I can't retrieve any thing related. I don't care about the menu per se. I'd be happy with a message to send to some object that does the job.
Noury -- http://twitter.com/#!/NouryBouraqadi http://www.kroobe.com/profile/noury
Afin de contribuer au respect de l'environnement, merci de n'imprimer ce courriel qu'en cas de necessite
Please consider the environment before you print
-- Mariano http://marianopeck.wordpress.com
Noury -- http://twitter.com/#!/NouryBouraqadi http://www.kroobe.com/profile/noury Afin de contribuer au respect de l'environnement, merci de n'imprimer ce courriel qu'en cas de necessite Please consider the environment before you print
Noury Bouraqadi wrote:
I remember having seen some time in the past a menu that allows to shrink the image and disable the world menu. But, I can't retrieve any thing related. I don't care about the menu per se. I'd be happy with a message to send to some object that does the job.
Noury -- http://twitter.com/#!/NouryBouraqadi http://www.kroobe.com/profile/noury
Squeak 3.9 based, but perhaps something useful... "Prepare For Application Deployment" http://squeak.preeminent.org/tut2007/html/205.html
Hi, in fact, what Mariano posted is just a part... disable everything is complicated, because code is everywhere... I'm collection all of this changes in a package, to see in advance if it is possible to abstract that. Ideally, we should have a preference "Disable Development Mode", or something like that to allow desktop developers to easily switch... best, Esteban El 31/01/2012, a las 10:16a.m., Ben Coman escribió:
Noury Bouraqadi wrote:
I remember having seen some time in the past a menu that allows to shrink the image and disable the world menu. But, I can't retrieve any thing related. I don't care about the menu per se. I'd be happy with a message to send to some object that does the job.
Noury -- http://twitter.com/#!/NouryBouraqadi http://www.kroobe.com/profile/noury
Squeak 3.9 based, but perhaps something useful... "Prepare For Application Deployment" http://squeak.preeminent.org/tut2007/html/205.html
Yes.. +100 On Tue, Jan 31, 2012 at 6:53 PM, Esteban Lorenzano <estebanlm@gmail.com>wrote:
Hi,
in fact, what Mariano posted is just a part... disable everything is complicated, because code is everywhere... I'm collection all of this changes in a package, to see in advance if it is possible to abstract that. Ideally, we should have a preference "Disable Development Mode", or something like that to allow desktop developers to easily switch...
best, Esteban
El 31/01/2012, a las 10:16a.m., Ben Coman escribió:
Noury Bouraqadi wrote:
I remember having seen some time in the past a menu that allows to shrink the image and disable the world menu. But, I can't retrieve any thing related. I don't care about the menu per se. I'd be happy with a message to send to some object that does the job.
Noury -- http://twitter.com/#!/NouryBouraqadi http://www.kroobe.com/profile/noury
Squeak 3.9 based, but perhaps something useful... "Prepare For Application Deployment" http://squeak.preeminent.org/tut2007/html/205.html
Hi Esteban, On 31 janv. 2012, at 14:23, Esteban Lorenzano wrote:
Hi,
in fact, what Mariano posted is just a part... disable everything is complicated, because code is everywhere... I'm collection all of this changes in a package, to see in advance if it is possible to abstract that.
Thanks Esteban! Do you have a version of this package already? Otherwise, I'll start packaging what Mariano sent.
Ideally, we should have a preference "Disable Development Mode", or something like that to allow desktop developers to easily switch...
Yes. We should have a menu for this. It's part of dev tools. It's a shame that this critical feature isn't available yet. Noury
best, Esteban
El 31/01/2012, a las 10:16a.m., Ben Coman escribió:
Noury Bouraqadi wrote:
I remember having seen some time in the past a menu that allows to shrink the image and disable the world menu. But, I can't retrieve any thing related. I don't care about the menu per se. I'd be happy with a message to send to some object that does the job.
Noury -- http://twitter.com/#!/NouryBouraqadi http://www.kroobe.com/profile/noury
Squeak 3.9 based, but perhaps something useful... "Prepare For Application Deployment" http://squeak.preeminent.org/tut2007/html/205.html
Noury -- http://twitter.com/#!/NouryBouraqadi http://www.kroobe.com/profile/noury Afin de contribuer au respect de l'environnement, merci de n'imprimer ce courriel qu'en cas de necessite Please consider the environment before you print
Hi Noury, I packaged what I have. And even create a settings configuration for it (under "Deployment" category). Notice that is very hacky and ugly and needs a lot (and I mean A LOT) of polish... but is a start :) see WSSettings class>>#setDeployment: for a start. best, Esteban El 02/02/2012, a las 6:40a.m., Noury Bouraqadi escribió:
Hi Esteban,
On 31 janv. 2012, at 14:23, Esteban Lorenzano wrote:
Hi,
in fact, what Mariano posted is just a part... disable everything is complicated, because code is everywhere... I'm collection all of this changes in a package, to see in advance if it is possible to abstract that.
Thanks Esteban! Do you have a version of this package already? Otherwise, I'll start packaging what Mariano sent.
Ideally, we should have a preference "Disable Development Mode", or something like that to allow desktop developers to easily switch...
Yes. We should have a menu for this. It's part of dev tools. It's a shame that this critical feature isn't available yet.
Noury
best, Esteban
El 31/01/2012, a las 10:16a.m., Ben Coman escribió:
Noury Bouraqadi wrote:
I remember having seen some time in the past a menu that allows to shrink the image and disable the world menu. But, I can't retrieve any thing related. I don't care about the menu per se. I'd be happy with a message to send to some object that does the job.
Noury -- http://twitter.com/#!/NouryBouraqadi http://www.kroobe.com/profile/noury
Squeak 3.9 based, but perhaps something useful... "Prepare For Application Deployment" http://squeak.preeminent.org/tut2007/html/205.html
Noury -- http://twitter.com/#!/NouryBouraqadi http://www.kroobe.com/profile/noury
Afin de contribuer au respect de l'environnement, merci de n'imprimer ce courriel qu'en cas de necessite
Please consider the environment before you print
Hi, I tried it with WorldSwitch-Preferences from SS3. A minor fix was required to have it run on 1.4 (use rehash instead of rehachWithoutBecome not in the system anymore). Attached the fixed version since I can't write on the repo. I get a "closed" image. I don't know how to test it further. Noury Afin de contribuer au respect de l'environnement, merci de n'imprimer ce courriel qu'en cas de necessite Please consider the environment before you print On 2 févr. 2012, at 14:32, Esteban Lorenzano wrote:
Hi Noury,
I packaged what I have. And even create a settings configuration for it (under "Deployment" category). Notice that is very hacky and ugly and needs a lot (and I mean A LOT) of polish... but is a start :)
see WSSettings class>>#setDeployment: for a start.
<WorldSwitch-Preferences-EstebanLorenzano.2.mcz>
best, Esteban
El 02/02/2012, a las 6:40a.m., Noury Bouraqadi escribió:
Hi Esteban,
On 31 janv. 2012, at 14:23, Esteban Lorenzano wrote:
Hi,
in fact, what Mariano posted is just a part... disable everything is complicated, because code is everywhere... I'm collection all of this changes in a package, to see in advance if it is possible to abstract that.
Thanks Esteban! Do you have a version of this package already? Otherwise, I'll start packaging what Mariano sent.
Ideally, we should have a preference "Disable Development Mode", or something like that to allow desktop developers to easily switch...
Yes. We should have a menu for this. It's part of dev tools. It's a shame that this critical feature isn't available yet.
Noury
best, Esteban
El 31/01/2012, a las 10:16a.m., Ben Coman escribió:
Noury Bouraqadi wrote:
I remember having seen some time in the past a menu that allows to shrink the image and disable the world menu. But, I can't retrieve any thing related. I don't care about the menu per se. I'd be happy with a message to send to some object that does the job.
Noury -- http://twitter.com/#!/NouryBouraqadi http://www.kroobe.com/profile/noury
Squeak 3.9 based, but perhaps something useful... "Prepare For Application Deployment" http://squeak.preeminent.org/tut2007/html/205.html
Noury -- http://twitter.com/#!/NouryBouraqadi http://www.kroobe.com/profile/noury
Afin de contribuer au respect de l'environnement, merci de n'imprimer ce courriel qu'en cas de necessite
Please consider the environment before you print
Noury -- http://twitter.com/#!/NouryBouraqadi http://www.kroobe.com/profile/noury
Hi Noury, I opened the project (I don't know why it was closed)... please upload your changes :) best, Esteban On Apr 20, 2012, at 5:14 PM, Noury Bouraqadi wrote:
Hi,
I tried it with WorldSwitch-Preferences from SS3. A minor fix was required to have it run on 1.4 (use rehash instead of rehachWithoutBecome not in the system anymore). Attached the fixed version since I can't write on the repo.
I get a "closed" image. I don't know how to test it further.
Noury
Afin de contribuer au respect de l'environnement,
merci de n'imprimer ce courriel qu'en cas de necessite
Please consider the environment before you print
<WorldSwitch-Preferences-NouryBouraqadi.2.mcz>
On 2 févr. 2012, at 14:32, Esteban Lorenzano wrote:
Hi Noury,
I packaged what I have. And even create a settings configuration for it (under "Deployment" category). Notice that is very hacky and ugly and needs a lot (and I mean A LOT) of polish... but is a start :)
see WSSettings class>>#setDeployment: for a start.
<WorldSwitch-Preferences-EstebanLorenzano.2.mcz>
best, Esteban
El 02/02/2012, a las 6:40a.m., Noury Bouraqadi escribió:
Hi Esteban,
On 31 janv. 2012, at 14:23, Esteban Lorenzano wrote:
Hi,
in fact, what Mariano posted is just a part... disable everything is complicated, because code is everywhere... I'm collection all of this changes in a package, to see in advance if it is possible to abstract that.
Thanks Esteban! Do you have a version of this package already? Otherwise, I'll start packaging what Mariano sent.
Ideally, we should have a preference "Disable Development Mode", or something like that to allow desktop developers to easily switch...
Yes. We should have a menu for this. It's part of dev tools. It's a shame that this critical feature isn't available yet.
Noury
best, Esteban
El 31/01/2012, a las 10:16a.m., Ben Coman escribió:
Noury Bouraqadi wrote:
I remember having seen some time in the past a menu that allows to shrink the image and disable the world menu. But, I can't retrieve any thing related. I don't care about the menu per se. I'd be happy with a message to send to some object that does the job.
Noury -- http://twitter.com/#!/NouryBouraqadi http://www.kroobe.com/profile/noury
Squeak 3.9 based, but perhaps something useful... "Prepare For Application Deployment" http://squeak.preeminent.org/tut2007/html/205.html
Noury -- http://twitter.com/#!/NouryBouraqadi http://www.kroobe.com/profile/noury
Afin de contribuer au respect de l'environnement, merci de n'imprimer ce courriel qu'en cas de necessite
Please consider the environment before you print
Noury -- http://twitter.com/#!/NouryBouraqadi http://www.kroobe.com/profile/noury
thanx. Done. On 20 avr. 2012, at 17:28, Esteban Lorenzano wrote:
Hi Noury,
I opened the project (I don't know why it was closed)... please upload your changes :)
best, Esteban
On Apr 20, 2012, at 5:14 PM, Noury Bouraqadi wrote:
Hi,
I tried it with WorldSwitch-Preferences from SS3. A minor fix was required to have it run on 1.4 (use rehash instead of rehachWithoutBecome not in the system anymore). Attached the fixed version since I can't write on the repo.
I get a "closed" image. I don't know how to test it further.
Noury
Afin de contribuer au respect de l'environnement,
merci de n'imprimer ce courriel qu'en cas de necessite
Please consider the environment before you print
<WorldSwitch-Preferences-NouryBouraqadi.2.mcz>
On 2 févr. 2012, at 14:32, Esteban Lorenzano wrote:
Hi Noury,
I packaged what I have. And even create a settings configuration for it (under "Deployment" category). Notice that is very hacky and ugly and needs a lot (and I mean A LOT) of polish... but is a start :)
see WSSettings class>>#setDeployment: for a start.
<WorldSwitch-Preferences-EstebanLorenzano.2.mcz>
best, Esteban
El 02/02/2012, a las 6:40a.m., Noury Bouraqadi escribió:
Hi Esteban,
On 31 janv. 2012, at 14:23, Esteban Lorenzano wrote:
Hi,
in fact, what Mariano posted is just a part... disable everything is complicated, because code is everywhere... I'm collection all of this changes in a package, to see in advance if it is possible to abstract that.
Thanks Esteban! Do you have a version of this package already? Otherwise, I'll start packaging what Mariano sent.
Ideally, we should have a preference "Disable Development Mode", or something like that to allow desktop developers to easily switch...
Yes. We should have a menu for this. It's part of dev tools. It's a shame that this critical feature isn't available yet.
Noury
best, Esteban
El 31/01/2012, a las 10:16a.m., Ben Coman escribió:
Noury Bouraqadi wrote:
I remember having seen some time in the past a menu that allows to shrink the image and disable the world menu. But, I can't retrieve any thing related. I don't care about the menu per se. I'd be happy with a message to send to some object that does the job.
Noury -- http://twitter.com/#!/NouryBouraqadi http://www.kroobe.com/profile/noury
Squeak 3.9 based, but perhaps something useful... "Prepare For Application Deployment" http://squeak.preeminent.org/tut2007/html/205.html
Noury -- http://twitter.com/#!/NouryBouraqadi http://www.kroobe.com/profile/noury
Afin de contribuer au respect de l'environnement, merci de n'imprimer ce courriel qu'en cas de necessite
Please consider the environment before you print
Noury -- http://twitter.com/#!/NouryBouraqadi http://www.kroobe.com/profile/noury
Noury -- http://twitter.com/#!/NouryBouraqadi http://www.kroobe.com/profile/noury Afin de contribuer au respect de l'environnement, merci de n'imprimer ce courriel qu'en cas de necessite Please consider the environment before you print
Thanx Ben. I was aware of the old squeak stuff. I actually have the code on my disk. But, I was wondering if there is something for Pharo. On 31 janv. 2012, at 14:16, Ben Coman wrote:
Noury Bouraqadi wrote:
I remember having seen some time in the past a menu that allows to shrink the image and disable the world menu. But, I can't retrieve any thing related. I don't care about the menu per se. I'd be happy with a message to send to some object that does the job.
Noury -- http://twitter.com/#!/NouryBouraqadi http://www.kroobe.com/profile/noury
Squeak 3.9 based, but perhaps something useful... "Prepare For Application Deployment" http://squeak.preeminent.org/tut2007/html/205.html
Noury -- http://twitter.com/#!/NouryBouraqadi http://www.kroobe.com/profile/noury Afin de contribuer au respect de l'environnement, merci de n'imprimer ce courriel qu'en cas de necessite Please consider the environment before you print
participants (5)
-
Ben Coman -
Esteban Lorenzano -
Mariano Martinez Peck -
Noury Bouraqadi -
S Krish