[Pharo-project] [newbee] How do I save the contents of a Workspace?
I remember I used a menu item in Squeak, but I cannot find in Pharo. Thanks! -- View this message in context: http://n2.nabble.com/newbee-How-do-I-save-the-contents-of-a-Workspace-tp4174... Sent from the Pharo Smalltalk mailing list archive at Nabble.com.
On Wed, Dec 16, 2009 at 9:29 AM, alesch <alex@schenkman.info> wrote:
I remember I used a menu item in Squeak, but I cannot find in Pharo.
You can't. Do you misss that feature? -- Damien Cassou http://damiencassou.seasidehosting.st "Lambdas are relegated to relative obscurity until Java makes them popular by not having them." James Iry
On Wed, Dec 16, 2009 at 11:45, Damien Cassou [via Smalltalk] < ml-node+4174806-1407633224@n2.nabble.com<ml-node%2B4174806-1407633224@n2.nabble.com>
wrote:
On Wed, Dec 16, 2009 at 9:29 AM, alesch <[hidden email]<http://n2.nabble.com/user/SendEmail.jtp?type=node&node=4174806&i=0>> wrote:
I remember I used a menu item in Squeak, but I cannot find in Pharo.
You can't. Do you misss that feature?
Yes I do.
-- View this message in context: http://n2.nabble.com/newbee-How-do-I-save-the-contents-of-a-Workspace-tp4174... Sent from the Pharo Smalltalk mailing list archive at Nabble.com.
I think this is a valuable feature. Should we save in a particular file extension (.wst ? or simply text files ?) so that we can also have load opening from a a list of files of that format. This would be nice for tutorials instead of saving workspace content in a method. Cédrick 2009/12/16 alesch <alex@schenkman.info>
On Wed, Dec 16, 2009 at 11:45, Damien Cassou [via Smalltalk] <[hidden email]<http://n2.nabble.com/user/SendEmail.jtp?type=node&node=4174972&i=0>
wrote:
On Wed, Dec 16, 2009 at 9:29 AM, alesch <[hidden email]<http://n2.nabble.com/user/SendEmail.jtp?type=node&node=4174806&i=0>>
wrote:
I remember I used a menu item in Squeak, but I cannot find in Pharo.
You can't. Do you misss that feature?
Yes I do.
------------------------------ View this message in context: Re: [Pharo-project] [newbee] How do I save the contents of a Workspace?<http://n2.nabble.com/newbee-How-do-I-save-the-contents-of-a-Workspace-tp4174...>
Sent from the Pharo Smalltalk mailing list archive<http://n2.nabble.com/Pharo-Smalltalk-f2305563.html>at Nabble.com.
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
for me it was political/educational to remove it. I saw too many people having expressions in workspace and not in class methods (not versioned with the code). because if this is really important why not put it in a class method? Then you load the code and of course you do not get the magic example beacuse they were in the wonderfull scripts left in the other images..... Stef On Dec 16, 2009, at 12:51 PM, Cédrick Béler wrote:
I think this is a valuable feature.
Should we save in a particular file extension (.wst ? or simply text files ?) so that we can also have load opening from a a list of files of that format. This would be nice for tutorials instead of saving workspace content in a method.
Cédrick
2009/12/16 alesch <alex@schenkman.info> On Wed, Dec 16, 2009 at 11:45, Damien Cassou [via Smalltalk] <[hidden email]> wrote:
On Wed, Dec 16, 2009 at 9:29 AM, alesch <[hidden email]> wrote:
I remember I used a menu item in Squeak, but I cannot find in Pharo.
You can't. Do you misss that feature?
Yes I do.
View this message in context: Re: [Pharo-project] [newbee] How do I save the contents of a Workspace?
Sent from the Pharo Smalltalk mailing list archive at Nabble.com.
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
I really miss that feature. In my oppinion it is very useful when you regularly use different images, or when you frequently rebuild your development image from newer versions. Also, I wonder if the Package Browser should be removed completely since it does not even open now when you select it as preferred. Cheers r -----Original Message----- From: pharo-project-bounces@lists.gforge.inria.fr [mailto:pharo-project-bounces@lists.gforge.inria.fr] On Behalf Of Stéphane Ducasse Sent: 16 December 2009 12:07 To: Pharo-project@lists.gforge.inria.fr Subject: Re: [Pharo-project] [newbee] How do I save the contents of a Workspace? for me it was political/educational to remove it. I saw too many people having expressions in workspace and not in class methods (not versioned with the code). because if this is really important why not put it in a class method? Then you load the code and of course you do not get the magic example beacuse they were in the wonderfull scripts left in the other images..... Stef On Dec 16, 2009, at 12:51 PM, Cédrick Béler wrote:
I think this is a valuable feature.
Should we save in a particular file extension (.wst ? or simply text files ?) so that we can also have load opening from a a list of files of that format. This would be nice for tutorials instead of saving workspace content in a method.
Cédrick
2009/12/16 alesch <alex@schenkman.info> On Wed, Dec 16, 2009 at 11:45, Damien Cassou [via Smalltalk] <[hidden email]> wrote:
On Wed, Dec 16, 2009 at 9:29 AM, alesch <[hidden email]> wrote:
I remember I used a menu item in Squeak, but I cannot find in Pharo.
You can't. Do you misss that feature?
Yes I do.
View this message in context: Re: [Pharo-project] [newbee] How do I save the contents of a Workspace?
Sent from the Pharo Smalltalk mailing list archive at Nabble.com.
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project This email is confidential and subject to important disclaimers and conditions including on offers for the purchase or sale of securities, accuracy and completeness of information, viruses, confidentiality, legal privilege, and legal entity disclaimers, available at http://www.jpmorgan.com/pages/disclosures/email.
Stef, I also miss the ready ability to save a workspace. With respect, it is not your place to dictate working methods. You are correct that one can easily over-use workspaces and under-use class methods. However, one can also over-use class methods when a new test case is more appropriate. Rather than removing basic features, we should add capabilities to encourage good practice by making things as easy as possible. Dolphin's IDE extensions are a nice feature that I *really* miss in Pharo. One thing I added is a way to create test case methods based on a currently selected method. Each class can specify a TestCase subclass, and the methods were automatically named based on the selected method's name; the code is generated and proposed for optional compiling with warning of conflicts. Bill -----Original Message----- From: pharo-project-bounces@lists.gforge.inria.fr [mailto:pharo-project-bounces@lists.gforge.inria.fr] On Behalf Of Ramiro Diaz Trepat Sent: Wednesday, December 16, 2009 8:44 AM To: Pharo-project@lists.gforge.inria.fr Subject: Re: [Pharo-project] [newbee] How do I save the contents of a Workspace? I really miss that feature. In my oppinion it is very useful when you regularly use different images, or when you frequently rebuild your development image from newer versions. Also, I wonder if the Package Browser should be removed completely since it does not even open now when you select it as preferred. -----Original Message----- From: pharo-project-bounces@lists.gforge.inria.fr [mailto:pharo-project-bounces@lists.gforge.inria.fr] On Behalf Of Stéphane Ducasse Sent: 16 December 2009 12:07 To: Pharo-project@lists.gforge.inria.fr Subject: Re: [Pharo-project] [newbee] How do I save the contents of a Workspace? for me it was political/educational to remove it. I saw too many people having expressions in workspace and not in class methods (not versioned with the code). because if this is really important why not put it in a class method? Then you load the code and of course you do not get the magic example beacuse they were in the wonderfull scripts left in the other images..... Stef On Dec 16, 2009, at 12:51 PM, Cédrick Béler wrote:
I think this is a valuable feature.
Should we save in a particular file extension (.wst ? or simply text files ?) so that we can also have load opening from a a list of files of that format. This would be nice for tutorials instead of saving workspace content in a method.
Cédrick
2009/12/16 alesch <alex@schenkman.info> On Wed, Dec 16, 2009 at 11:45, Damien Cassou [via Smalltalk] <[hidden email]> wrote:
On Wed, Dec 16, 2009 at 9:29 AM, alesch <[hidden email]> wrote:
I remember I used a menu item in Squeak, but I cannot find in Pharo.
You can't. Do you misss that feature?
Yes I do.
View this message in context: Re: [Pharo-project] [newbee] How do I save the contents of a Workspace?
Sent from the Pharo Smalltalk mailing list archive at Nabble.com.
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project This email is confidential and subject to important disclaimers and conditions including on offers for the purchase or sale of securities, accuracy and completeness of information, viruses, confidentiality, legal privilege, and legal entity disclaimers, available at http://www.jpmorgan.com/pages/disclosures/email. _______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
So send it back and we will integrate it. No problem. But really you should use class side methods and versioned these damned scripts. Stef
Stef,
I also miss the ready ability to save a workspace. With respect, it is not your place to dictate working methods. You are correct that one can easily over-use workspaces and under-use class methods. However, one can also over-use class methods when a new test case is more appropriate.
Rather than removing basic features, we should add capabilities to encourage good practice by making things as easy as possible. Dolphin's IDE extensions are a nice feature that I *really* miss in Pharo. One thing I added is a way to create test case methods based on a currently selected method. Each class can specify a TestCase subclass, and the methods were automatically named based on the selected method's name; the code is generated and proposed for optional compiling with warning of conflicts.
Bill
-----Original Message----- From: pharo-project-bounces@lists.gforge.inria.fr [mailto:pharo-project-bounces@lists.gforge.inria.fr] On Behalf Of Ramiro Diaz Trepat Sent: Wednesday, December 16, 2009 8:44 AM To: Pharo-project@lists.gforge.inria.fr Subject: Re: [Pharo-project] [newbee] How do I save the contents of a Workspace?
I really miss that feature. In my oppinion it is very useful when you regularly use different images, or when you frequently rebuild your development image from newer versions. Also, I wonder if the Package Browser should be removed completely since it does not even open now when you select it as preferred.
-----Original Message----- From: pharo-project-bounces@lists.gforge.inria.fr [mailto:pharo-project-bounces@lists.gforge.inria.fr] On Behalf Of Stéphane Ducasse Sent: 16 December 2009 12:07 To: Pharo-project@lists.gforge.inria.fr Subject: Re: [Pharo-project] [newbee] How do I save the contents of a Workspace?
for me it was political/educational to remove it.
I saw too many people having expressions in workspace and not in class methods (not versioned with the code). because if this is really important why not put it in a class method? Then you load the code and of course you do not get the magic example beacuse they were in the wonderfull scripts left in the other images.....
Stef
On Dec 16, 2009, at 12:51 PM, Cédrick Béler wrote:
I think this is a valuable feature.
Should we save in a particular file extension (.wst ? or simply text files ?) so that we can also have load opening from a a list of files of that format. This would be nice for tutorials instead of saving workspace content in a method.
Cédrick
2009/12/16 alesch <alex@schenkman.info> On Wed, Dec 16, 2009 at 11:45, Damien Cassou [via Smalltalk] <[hidden email]> wrote:
On Wed, Dec 16, 2009 at 9:29 AM, alesch <[hidden email]> wrote:
I remember I used a menu item in Squeak, but I cannot find in Pharo.
You can't. Do you misss that feature?
Yes I do.
View this message in context: Re: [Pharo-project] [newbee] How do I save the contents of a Workspace?
Sent from the Pharo Smalltalk mailing list archive at Nabble.com.
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project This email is confidential and subject to important disclaimers and conditions including on offers for the purchase or sale of securities, accuracy and completeness of information, viruses, confidentiality, legal privilege, and legal entity disclaimers, available at http://www.jpmorgan.com/pages/disclosures/email.
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
Stef, No argument, and thanks! Bill -----Original Message----- From: pharo-project-bounces@lists.gforge.inria.fr [mailto:pharo-project-bounces@lists.gforge.inria.fr] On Behalf Of Stéphane Ducasse Sent: Wednesday, December 16, 2009 12:16 PM To: Pharo-project@lists.gforge.inria.fr Subject: Re: [Pharo-project] [newbee] How do I save the contents of a Workspace? So send it back and we will integrate it. No problem. But really you should use class side methods and versioned these damned scripts. Stef
Stef,
I also miss the ready ability to save a workspace. With respect, it is not your place to dictate working methods. You are correct that one can easily over-use workspaces and under-use class methods. However, one can also over-use class methods when a new test case is more appropriate.
Rather than removing basic features, we should add capabilities to encourage good practice by making things as easy as possible. Dolphin's IDE extensions are a nice feature that I *really* miss in Pharo. One thing I added is a way to create test case methods based on a currently selected method. Each class can specify a TestCase subclass, and the methods were automatically named based on the selected method's name; the code is generated and proposed for optional compiling with warning of conflicts.
Bill
-----Original Message----- From: pharo-project-bounces@lists.gforge.inria.fr [mailto:pharo-project-bounces@lists.gforge.inria.fr] On Behalf Of Ramiro Diaz Trepat Sent: Wednesday, December 16, 2009 8:44 AM To: Pharo-project@lists.gforge.inria.fr Subject: Re: [Pharo-project] [newbee] How do I save the contents of a Workspace?
I really miss that feature. In my oppinion it is very useful when you regularly use different images, or when you frequently rebuild your development image from newer versions. Also, I wonder if the Package Browser should be removed completely since it does not even open now when you select it as preferred.
-----Original Message----- From: pharo-project-bounces@lists.gforge.inria.fr [mailto:pharo-project-bounces@lists.gforge.inria.fr] On Behalf Of Stéphane Ducasse Sent: 16 December 2009 12:07 To: Pharo-project@lists.gforge.inria.fr Subject: Re: [Pharo-project] [newbee] How do I save the contents of a Workspace?
for me it was political/educational to remove it.
I saw too many people having expressions in workspace and not in class methods (not versioned with the code). because if this is really important why not put it in a class method? Then you load the code and of course you do not get the magic example beacuse they were in the wonderfull scripts left in the other images.....
Stef
On Dec 16, 2009, at 12:51 PM, Cédrick Béler wrote:
I think this is a valuable feature.
Should we save in a particular file extension (.wst ? or simply text files ?) so that we can also have load opening from a a list of files of that format. This would be nice for tutorials instead of saving workspace content in a method.
Cédrick
2009/12/16 alesch <alex@schenkman.info> On Wed, Dec 16, 2009 at 11:45, Damien Cassou [via Smalltalk] <[hidden email]> wrote:
On Wed, Dec 16, 2009 at 9:29 AM, alesch <[hidden email]> wrote:
I remember I used a menu item in Squeak, but I cannot find in Pharo.
You can't. Do you misss that feature?
Yes I do.
View this message in context: Re: [Pharo-project] [newbee] How do I save the contents of a Workspace?
Sent from the Pharo Smalltalk mailing list archive at Nabble.com.
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project This email is confidential and subject to important disclaimers and conditions including on offers for the purchase or sale of securities, accuracy and completeness of information, viruses, confidentiality, legal privilege, and legal entity disclaimers, available at http://www.jpmorgan.com/pages/disclosures/email.
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
send code :) Stef
Stef,
No argument, and thanks!
Bill
-----Original Message----- From: pharo-project-bounces@lists.gforge.inria.fr [mailto:pharo-project-bounces@lists.gforge.inria.fr] On Behalf Of Stéphane Ducasse Sent: Wednesday, December 16, 2009 12:16 PM To: Pharo-project@lists.gforge.inria.fr Subject: Re: [Pharo-project] [newbee] How do I save the contents of a Workspace?
So send it back and we will integrate it. No problem. But really you should use class side methods and versioned these damned scripts.
Stef
Stef,
I also miss the ready ability to save a workspace. With respect, it is not your place to dictate working methods. You are correct that one can easily over-use workspaces and under-use class methods. However, one can also over-use class methods when a new test case is more appropriate.
Rather than removing basic features, we should add capabilities to encourage good practice by making things as easy as possible. Dolphin's IDE extensions are a nice feature that I *really* miss in Pharo. One thing I added is a way to create test case methods based on a currently selected method. Each class can specify a TestCase subclass, and the methods were automatically named based on the selected method's name; the code is generated and proposed for optional compiling with warning of conflicts.
Bill
-----Original Message----- From: pharo-project-bounces@lists.gforge.inria.fr [mailto:pharo-project-bounces@lists.gforge.inria.fr] On Behalf Of Ramiro Diaz Trepat Sent: Wednesday, December 16, 2009 8:44 AM To: Pharo-project@lists.gforge.inria.fr Subject: Re: [Pharo-project] [newbee] How do I save the contents of a Workspace?
I really miss that feature. In my oppinion it is very useful when you regularly use different images, or when you frequently rebuild your development image from newer versions. Also, I wonder if the Package Browser should be removed completely since it does not even open now when you select it as preferred.
-----Original Message----- From: pharo-project-bounces@lists.gforge.inria.fr [mailto:pharo-project-bounces@lists.gforge.inria.fr] On Behalf Of Stéphane Ducasse Sent: 16 December 2009 12:07 To: Pharo-project@lists.gforge.inria.fr Subject: Re: [Pharo-project] [newbee] How do I save the contents of a Workspace?
for me it was political/educational to remove it.
I saw too many people having expressions in workspace and not in class methods (not versioned with the code). because if this is really important why not put it in a class method? Then you load the code and of course you do not get the magic example beacuse they were in the wonderfull scripts left in the other images.....
Stef
On Dec 16, 2009, at 12:51 PM, Cédrick Béler wrote:
I think this is a valuable feature.
Should we save in a particular file extension (.wst ? or simply text files ?) so that we can also have load opening from a a list of files of that format. This would be nice for tutorials instead of saving workspace content in a method.
Cédrick
2009/12/16 alesch <alex@schenkman.info> On Wed, Dec 16, 2009 at 11:45, Damien Cassou [via Smalltalk] <[hidden email]> wrote:
On Wed, Dec 16, 2009 at 9:29 AM, alesch <[hidden email]> wrote:
I remember I used a menu item in Squeak, but I cannot find in Pharo.
You can't. Do you misss that feature?
Yes I do.
View this message in context: Re: [Pharo-project] [newbee] How do I save the contents of a Workspace?
Sent from the Pharo Smalltalk mailing list archive at Nabble.com.
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project This email is confidential and subject to important disclaimers and conditions including on offers for the purchase or sale of securities, accuracy and completeness of information, viruses, confidentiality, legal privilege, and legal entity disclaimers, available at http://www.jpmorgan.com/pages/disclosures/email.
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
OK. I agree that this advice is important enough to make part of the Welcome message we're suggesting to bring back too. OTOH, is we could version the scripts that would be very nice! Em 16/12/2009 15:16, Stéphane Ducasse < stephane.ducasse@inria.fr > escreveu: So send it back and we will integrate it. No problem. But really you should use class side methods and versioned these damned scripts. Stef
Stef,
I also miss the ready ability to save a workspace. With respect, it is not your place to dictate working methods. You are correct that one can easily over-use workspaces and under-use class methods. However, one can also over-use class methods when a new test case is more appropriate.
Rather than removing basic features, we should add capabilities to encourage good practice by making things as easy as possible. Dolphin's IDE extensions are a nice feature that I *really* miss in Pharo. One thing I added is a way to create test case methods based on a currently selected method. Each class can specify a TestCase subclass, and the methods were automatically named based on the selected method's name; the code is generated and proposed for optional compiling with warning of conflicts.
Bill
-----Original Message----- From: pharo-project-bounces@lists.gforge.inria.fr [mailto:pharo-project-bounces@lists.gforge.inria.fr] On Behalf Of Ramiro Diaz Trepat Sent: Wednesday, December 16, 2009 8:44 AM To: Pharo-project@lists.gforge.inria.fr Subject: Re: [Pharo-project] [newbee] How do I save the contents of a Workspace?
I really miss that feature. In my oppinion it is very useful when you regularly use different images, or when you frequently rebuild your development image from newer versions. Also, I wonder if the Package Browser should be removed completely since it does not even open now when you select it as preferred.
-----Original Message----- From: pharo-project-bounces@lists.gforge.inria.fr [mailto:pharo-project-bounces@lists.gforge.inria.fr] On Behalf Of Stéphane Ducasse Sent: 16 December 2009 12:07 To: Pharo-project@lists.gforge.inria.fr Subject: Re: [Pharo-project] [newbee] How do I save the contents of a Workspace?
for me it was political/educational to remove it.
I saw too many people having expressions in workspace and not in class methods (not versioned with the code). because if this is really important why not put it in a class method? Then you load the code and of course you do not get the magic example beacuse they were in the wonderfull scripts left in the other images.....
Stef
On Dec 16, 2009, at 12:51 PM, Cédrick Béler wrote:
I think this is a valuable feature.
Should we save in a particular file extension (.wst ? or simply text files ?) so that we can also have load opening from a a list of files of that format. This would be nice for tutorials instead of saving workspace content in a method.
Cédrick
2009/12/16 alesch On Wed, Dec 16, 2009 at 11:45, Damien Cassou [via Smalltalk] <[hidden email]> wrote:
On Wed, Dec 16, 2009 at 9:29 AM, alesch <[hidden email]> wrote:
I remember I used a menu item in Squeak, but I cannot find in Pharo.
You can't. Do you misss that feature?
Yes I do.
View this message in context: Re: [Pharo-project] [newbee] How do I save the contents of a Workspace?
Sent from the Pharo Smalltalk mailing list archive at Nabble.com.
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project This email is confidential and subject to important disclaimers and conditions including on offers for the purchase or sale of securities, accuracy and completeness of information, viruses, confidentiality, legal privilege, and legal entity disclaimers, available at http://www.jpmorgan.com/pages/disclosures/email.
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
On Dec 17, 2009, at 12:34 AM, csrabak@bol.com.br wrote:
OK. I agree that this advice is important enough to make part of the Welcome message we're suggesting to bring back too.
OTOH, is we could version the scripts that would be very nice!
We can: you have class methods.
Em 16/12/2009 15:16, Stéphane Ducasse < stephane.ducasse@inria.fr > escreveu:
So send it back and we will integrate it. No problem. But really you should use class side methods and versioned these damned scripts.
Stef
Stef,
I also miss the ready ability to save a workspace. With respect, it is not your place to dictate working methods. You are correct that one can easily over-use workspaces and under-use class methods. However, one can also over-use class methods when a new test case is more appropriate.
Rather than removing basic features, we should add capabilities to encourage good practice by making things as easy as possible. Dolphin's IDE extensions are a nice feature that I *really* miss in Pharo. One thing I added is a way to create test case methods based on a currently selected method. Each class can specify a TestCase subclass, and the methods were automatically named based on the selected method's name; the code is generated and proposed for optional compiling with warning of conflicts.
Bill
-----Original Message----- From: pharo-project-bounces@lists.gforge.inria.fr [mailto:pharo-project-bounces@lists.gforge.inria.fr] On Behalf Of Ramiro Diaz Trepat Sent: Wednesday, December 16, 2009 8:44 AM To: Pharo-project@lists.gforge.inria.fr Subject: Re: [Pharo-project] [newbee] How do I save the contents of a Workspace?
I really miss that feature. In my oppinion it is very useful when you regularly use different images, or when you frequently rebuild your development image from newer versions. Also, I wonder if the Package Browser should be removed completely since it does not even open now when you select it as preferred.
-----Original Message----- From: pharo-project-bounces@lists.gforge.inria.fr [mailto:pharo-project-bounces@lists.gforge.inria.fr] On Behalf Of Stéphane Ducasse Sent: 16 December 2009 12:07 To: Pharo-project@lists.gforge.inria.fr Subject: Re: [Pharo-project] [newbee] How do I save the contents of a Workspace?
for me it was political/educational to remove it.
I saw too many people having expressions in workspace and not in class methods (not versioned with the code). because if this is really important why not put it in a class method? Then you load the code and of course you do not get the magic example beacuse they were in the wonderfull scripts left in the other images.....
Stef
On Dec 16, 2009, at 12:51 PM, Cédrick Béler wrote:
I think this is a valuable feature.
Should we save in a particular file extension (.wst ? or simply text files ?) so that we can also have load opening from a a list of files of that format. This would be nice for tutorials instead of saving workspace content in a method.
Cédrick
2009/12/16 alesch On Wed, Dec 16, 2009 at 11:45, Damien Cassou [via Smalltalk] <[hidden email]> wrote:
On Wed, Dec 16, 2009 at 9:29 AM, alesch <[hidden email]> wrote:
I remember I used a menu item in Squeak, but I cannot find in Pharo.
You can't. Do you misss that feature?
Yes I do.
View this message in context: Re: [Pharo-project] [newbee] How do I save the contents of a Workspace?
Sent from the Pharo Smalltalk mailing list archive at Nabble.com.
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project This email is confidential and subject to important disclaimers and conditions including on offers for the purchase or sale of securities, accuracy and completeness of information, viruses, confidentiality, legal privilege, and legal entity disclaimers, available at http://www.jpmorgan.com/pages/disclosures/email.
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
2009/12/16 Ramiro Diaz Trepat <ramiro.diaz.trepat@jpmorgan.com>:
I really miss that feature. In my oppinion it is very useful when you regularly use different images, or when you frequently rebuild your development image from newer versions. Also, I wonder if the Package Browser should be removed completely since it does not even open now when you select it as preferred. Cheers
What prevents you from copying the workspace text, open your favorite text editor, paste text there and save it in a file?
r
-----Original Message----- From: pharo-project-bounces@lists.gforge.inria.fr [mailto:pharo-project-bounces@lists.gforge.inria.fr] On Behalf Of Stéphane Ducasse Sent: 16 December 2009 12:07 To: Pharo-project@lists.gforge.inria.fr Subject: Re: [Pharo-project] [newbee] How do I save the contents of a Workspace?
for me it was political/educational to remove it.
I saw too many people having expressions in workspace and not in class methods (not versioned with the code). because if this is really important why not put it in a class method? Then you load the code and of course you do not get the magic example beacuse they were in the wonderfull scripts left in the other images.....
Stef
On Dec 16, 2009, at 12:51 PM, Cédrick Béler wrote:
I think this is a valuable feature.
Should we save in a particular file extension (.wst ? or simply text files ?) so that we can also have load opening from a a list of files of that format. This would be nice for tutorials instead of saving workspace content in a method.
Cédrick
2009/12/16 alesch <alex@schenkman.info> On Wed, Dec 16, 2009 at 11:45, Damien Cassou [via Smalltalk] <[hidden email]> wrote:
On Wed, Dec 16, 2009 at 9:29 AM, alesch <[hidden email]> wrote:
I remember I used a menu item in Squeak, but I cannot find in Pharo.
You can't. Do you misss that feature?
Yes I do.
View this message in context: Re: [Pharo-project] [newbee] How do I save the contents of a Workspace?
Sent from the Pharo Smalltalk mailing list archive at Nabble.com.
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project This email is confidential and subject to important disclaimers and conditions including on offers for the purchase or sale of securities, accuracy and completeness of information, viruses, confidentiality, legal privilege, and legal entity disclaimers, available at http://www.jpmorgan.com/pages/disclosures/email.
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
-- Best regards, Igor Stasenko AKA sig.
On Wed, 16 Dec 2009, Igor Stasenko wrote:
2009/12/16 Ramiro Diaz Trepat <ramiro.diaz.trepat@jpmorgan.com>: I really miss that feature. In my oppinion it is very useful when you regularly use different images, or when you frequently rebuild your development image from newer versions. Also, I wonder if the Package Browser should be removed completely since it does not even open now when you select it as preferred. Cheers
What prevents you from copying the workspace text, open your favorite text editor, paste text there and save it in a file?
r
Or use the File Browser, that's why it's there, even though it's a bit broken in pharo. Levente
-----Original Message----- From: pharo-project-bounces@lists.gforge.inria.fr [mailto:pharo-project-bounces@lists.gforge.inria.fr] On Behalf Of Stéphane Ducasse Sent: 16 December 2009 12:07 To: Pharo-project@lists.gforge.inria.fr Subject: Re: [Pharo-project] [newbee] How do I save the contents of a Workspace?
for me it was political/educational to remove it.
I saw too many people having expressions in workspace and not in class methods (not versioned with the code). because if this is really important why not put it in a class method? Then you load the code and of course you do not get the magic example beacuse they were in the wonderfull scripts left in the other images.....
Stef
On Dec 16, 2009, at 12:51 PM, Cédrick Béler wrote:
I think this is a valuable feature.
Should we save in a particular file extension (.wst ? or simply text files ?) so that we can also have load opening from a a list of files of that format. This would be nice for tutorials instead of saving workspace content in a method.
Cédrick
2009/12/16 alesch <alex@schenkman.info> On Wed, Dec 16, 2009 at 11:45, Damien Cassou [via Smalltalk] <[hidden email]> wrote:
On Wed, Dec 16, 2009 at 9:29 AM, alesch <[hidden email]> wrote:
I remember I used a menu item in Squeak, but I cannot find in Pharo.
You can't. Do you misss that feature?
Yes I do.
View this message in context: Re: [Pharo-project] [newbee] How do I save the contents of a Workspace?
Sent from the Pharo Smalltalk mailing list archive at Nabble.com.
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project This email is confidential and subject to important disclaimers and conditions including on offers for the purchase or sale of securities, accuracy and completeness of information, viruses, confidentiality, legal privilege, and legal entity disclaimers, available at http://www.jpmorgan.com/pages/disclosures/email.
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
-- Best regards, Igor Stasenko AKA sig. _______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
On 16 Dec 2009, at 16:21, Levente Uzonyi wrote:
On Wed, 16 Dec 2009, Igor Stasenko wrote:
2009/12/16 Ramiro Diaz Trepat <ramiro.diaz.trepat@jpmorgan.com>: I really miss that feature. In my oppinion it is very useful when you regularly use different images, or when you frequently rebuild your development image from newer versions. Also, I wonder if the Package Browser should be removed completely since it does not even open now when you select it as preferred. Cheers
What prevents you from copying the workspace text, open your favorite text editor, paste text there and save it in a file?
r
Or use the File Browser, that's why it's there, even though it's a bit broken in pharo.
Levente
A fix for this was posted to Mantis for Squeak 3.10 (search for workspace), allowing save, and revert. The workspace is able to mirror a text file and respond to cmd-S to save to the file. Keith
Hi levente
What prevents you from copying the workspace text, open your favorite text editor, paste text there and save it in a file?
r
Or use the File Browser, that's why it's there, even though it's a bit broken in pharo.
can you explain what is broken? => open a bug entry
On Wed, 16 Dec 2009, Stéphane Ducasse wrote:
Hi levente
What prevents you from copying the workspace text, open your favorite text editor, paste text there and save it in a file?
r
Or use the File Browser, that's why it's there, even though it's a bit broken in pharo.
can you explain what is broken? => open a bug entry
For example: right click on a text file in the upper right panel, the first 3 menuitems are the same "compress file". (And I'm missing the zip viewer which was super cool IMO) Levente
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
Thanks for reporting it. Now I tried to reproduce it and I get that. Can you show what you get? I'm on 1.1-11104
For example: right click on a text file in the upper right panel, the first 3 menuitems are the same "compress file". (And I'm missing the zip viewer which was super cool IMO)
But I thought that we kept the archiveViewer. We should not lose it since I was good. Stef
Levente
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
Quoting Stéphane Ducasse <stephane.ducasse@inria.fr>:
Can you show what you get?
Sure, I attached it. The screenshot was taken from an 1.1-11105 image. (Note that the mouse pointer is on the first list item, but you can't see it, because it's a windows machine...) Levente
Thanks this is really strange. I do not see why on windows it would be different but good catch. Can you enter a bug entry ? Stef On Dec 16, 2009, at 10:12 PM, Levente Uzonyi wrote:
Quoting Stéphane Ducasse <stephane.ducasse@inria.fr>:
Can you show what you get?
Sure, I attached it. The screenshot was taken from an 1.1-11105 image. (Note that the mouse pointer is on the first list item, but you can't see it, because it's a windows machine...)
Levente<pharofilebrowser.png>_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
If you go to more... you get this in a Windows machine. HTH -- Cesar Rabak Em 16/12/2009 19:19, Stéphane Ducasse < stephane.ducasse@inria.fr > escreveu: Thanks this is really strange. I do not see why on windows it would be different but good catch. Can you enter a bug entry ? Stef On Dec 16, 2009, at 10:12 PM, Levente Uzonyi wrote:
Quoting Stéphane Ducasse :
Can you show what you get?
Sure, I attached it. The screenshot was taken from an 1.1-11105 image. (Note that the mouse pointer is on the first list item, but you can't see it, because it's a windows machine...)
Levente_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
FWIW it happens the same way in the image updated to 11105. Em 16/12/2009 22:06, csrabak@bol.com.br escreveu: If you go to more... you get this in a Windows machine. HTH -- Cesar Rabak Em 16/12/2009 19:19, Stéphane Ducasse < stephane.ducasse@inria.fr > escreveu: Thanks this is really strange. I do not see why on windows it would be different but good catch. Can you enter a bug entry ? Stef On Dec 16, 2009, at 10:12 PM, Levente Uzonyi wrote:
Quoting Stéphane Ducasse :
Can you show what you get?
Sure, I attached it. The screenshot was taken from an 1.1-11105 image. (Note that the mouse pointer is on the first list item, but you can't see it, because it's a windows machine...)
Levente_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
On Wed, 16 Dec 2009, csrabak@bol.com.br wrote:
If you go to more... you get this in a Windows machine.
Note that other items a repeated too, like "decompress to file", "changelist browser", "fileIn entire file", etc Levente HTH -- Cesar Rabak Em 16/12/2009 19:19, Stéphane Ducasse < stephane.ducasse@inria.fr > escreveu: Thanks this is really strange. I do not see why on windows it would be different but good catch. Can you enter a bug entry ? Stef On Dec 16, 2009, at 10:12 PM, Levente Uzonyi wrote:
Quoting Stéphane Ducasse :
Can you show what you get?
Sure, I attached it. The screenshot was taken from an 1.1-11105 image. (Note that the mouse pointer is on the first list item, but you can't see it, because it's a windows machine...)
Levente_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
2009/12/17 Levente Uzonyi <leves@elte.hu>
On Wed, 16 Dec 2009, csrabak@bol.com.br wrote:
If you go to more... you get this in a Windows machine.
Note that other items a repeated too, like "decompress to file", "changelist browser", "fileIn entire file", etc
weird....maybe we should use a Set for that collection ?
Levente
HTH
-- Cesar Rabak
Em 16/12/2009 19:19, Stéphane Ducasse < stephane.ducasse@inria.fr > escreveu:
Thanks this is really strange. I do not see why on windows it would be different but good catch. Can you enter a bug entry ?
Stef
On Dec 16, 2009, at 10:12 PM, Levente Uzonyi wrote:
Quoting Stéphane Ducasse :
Can you show what you get?
Sure, I attached it. The screenshot was taken from an 1.1-11105 image. (Note that the mouse pointer is on the first list item, but you can't see it, because it's a windows machine...)
Levente_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
On Thu, 17 Dec 2009, Mariano Martinez Peck wrote:
2009/12/17 Levente Uzonyi <leves@elte.hu>
On Wed, 16 Dec 2009, csrabak@bol.com.br wrote:
If you go to more... you get this in a Windows machine.
Note that other items a repeated too, like "decompress to file", "changelist browser", "fileIn entire file", etc
weird....maybe we should use a Set for that collection ?
What about finding the cause and fixing the bug? Levente
Levente
HTH
-- Cesar Rabak
Em 16/12/2009 19:19, Stéphane Ducasse < stephane.ducasse@inria.fr > escreveu:
Thanks this is really strange. I do not see why on windows it would be different but good catch. Can you enter a bug entry ?
Stef
On Dec 16, 2009, at 10:12 PM, Levente Uzonyi wrote:
Quoting Stéphane Ducasse :
Can you show what you get?
Sure, I attached it. The screenshot was taken from an 1.1-11105 image. (Note that the mouse pointer is on the first list item, but you can't see it, because it's a windows machine...)
Levente_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
2009/12/17 Levente Uzonyi <leves@elte.hu>
On Thu, 17 Dec 2009, Mariano Martinez Peck wrote:
2009/12/17 Levente Uzonyi <leves@elte.hu>
On Wed, 16 Dec 2009, csrabak@bol.com.br wrote:
If you go to more... you get this in a Windows machine.
Note that other items a repeated too, like "decompress to file", "changelist browser", "fileIn entire file", etc
weird....maybe we should use a Set for that collection ?
What about finding the cause and fixing the bug?
Of course that would be better. It is always easy to say that. In addition, for Windows-only bugs we are very limited. Seems few pharo people use windows, or at least that are active in the community. There are bugs that may be since a lot of time and nobody said nothing.
Levente
Levente
HTH
-- Cesar Rabak
Em 16/12/2009 19:19, Stéphane Ducasse < stephane.ducasse@inria.fr > escreveu:
Thanks this is really strange. I do not see why on windows it would be different but good catch. Can you enter a bug entry ?
Stef
On Dec 16, 2009, at 10:12 PM, Levente Uzonyi wrote:
Quoting Stéphane Ducasse :
Can you show what you get?
Sure, I attached it. The screenshot was taken from an 1.1-11105 image.
(Note that the mouse pointer is on the first list item, but you can't see it, because it's a windows machine...)
Levente_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
On Dec 17, 2009, at 10:09 AM, Levente Uzonyi wrote:
On Thu, 17 Dec 2009, Mariano Martinez Peck wrote:
2009/12/17 Levente Uzonyi <leves@elte.hu>
On Wed, 16 Dec 2009, csrabak@bol.com.br wrote:
If you go to more... you get this in a Windows machine.
Note that other items a repeated too, like "decompress to file", "changelist browser", "fileIn entire file", etc
weird....maybe we should use a Set for that collection ?
What about finding the cause and fixing the bug?
Yes I was thinking the same :) I have only macs around me so I cannot try. May be we get a match in the file list for ZIP, zip, ZiP or something like that. Stef
2009/12/17 Stéphane Ducasse <stephane.ducasse@inria.fr>:
On Dec 17, 2009, at 10:09 AM, Levente Uzonyi wrote:
On Thu, 17 Dec 2009, Mariano Martinez Peck wrote:
2009/12/17 Levente Uzonyi <leves@elte.hu>
On Wed, 16 Dec 2009, csrabak@bol.com.br wrote:
If you go to more... you get this in a Windows machine.
Note that other items a repeated too, like "decompress to file", "changelist browser", "fileIn entire file", etc
weird....maybe we should use a Set for that collection ?
What about finding the cause and fixing the bug?
Yes I was thinking the same :)
I have only macs around me so I cannot try. May be we get a match in the file list for ZIP, zip, ZiP or something like that.
Stef
I didn't look at all, but just a guess: anything to do with keys not returning a Set anymore ? Nicolas
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
On Wed, 16 Dec 2009, Stéphane Ducasse wrote:
Thanks this is really strange. I do not see why on windows it would be different but good catch. Can you enter a bug entry ?
I don't have a google account, so someone else will have to. Levente
Stef
On Dec 16, 2009, at 10:12 PM, Levente Uzonyi wrote:
Quoting Stéphane Ducasse <stephane.ducasse@inria.fr>:
Can you show what you get?
Sure, I attached it. The screenshot was taken from an 1.1-11105 image. (Note that the mouse pointer is on the first list item, but you can't see it, because it's a windows machine...)
Levente<pharofilebrowser.png>_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
2009/12/17 Levente Uzonyi <leves@elte.hu>
On Wed, 16 Dec 2009, Stéphane Ducasse wrote:
Thanks this is really strange.
I do not see why on windows it would be different but good catch. Can you enter a bug entry ?
I don't have a google account, so someone else will have to.
http://code.google.com/p/pharo/issues/detail?id=1620
Levente
Stef
On Dec 16, 2009, at 10:12 PM, Levente Uzonyi wrote:
Quoting Stéphane Ducasse <stephane.ducasse@inria.fr>:
Can you show what you get?
Sure, I attached it. The screenshot was taken from an 1.1-11105 image. (Note that the mouse pointer is on the first list item, but you can't see it, because it's a windows machine...)
Levente<pharofilebrowser.png>_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
normally you do not need to have one. may be somebody will infirm that (this would be stupid that people are forced to have a gmail account). Stef On Dec 17, 2009, at 8:27 AM, Levente Uzonyi wrote:
On Wed, 16 Dec 2009, Stéphane Ducasse wrote:
Thanks this is really strange. I do not see why on windows it would be different but good catch. Can you enter a bug entry ?
I don't have a google account, so someone else will have to.
Levente
Stef
On Dec 16, 2009, at 10:12 PM, Levente Uzonyi wrote:
Quoting Stéphane Ducasse <stephane.ducasse@inria.fr>:
Can you show what you get?
Sure, I attached it. The screenshot was taken from an 1.1-11105 image. (Note that the mouse pointer is on the first list item, but you can't see it, because it's a windows machine...)
Levente<pharofilebrowser.png>_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
levente can you print FileList allRegistered allRegisteredServices On my image I get SimpleServiceEntry: (ChangeSet --- fileIntoNewChangeSet:) SimpleServiceEntry: (ChangeList --- browseStream:) SimpleServiceEntry: (ChangeList --- browseRecentLogOnPath:) SimpleServiceEntry: (ChangeList --- browseCompressedChangesFile:) SimpleServiceEntry: (FileContentsBrowser --- browseStream:) SimpleServiceEntry: (FilePackage --- conflictsWithUpdatedMethods:) FileModifyingSimpleServiceEntry: (FileStream --- removeLineFeeds:) SimpleServiceEntry: (FileStream --- fileIn:) SimpleServiceEntry: (Form --- importImage:) SimpleServiceEntry: (Form --- openImageInWindow:) SimpleServiceEntry: (Form --- setBackgroundFromImageFileNamed:) SimpleServiceEntry: (GZipReadStream --- viewContents:) FileModifyingSimpleServiceEntry: (GZipReadStream --- saveContents:) FileModifyingSimpleServiceEntry: (GZipWriteStream --- compressFile:) SimpleServiceEntry: (MCVersionReader --- loadVersionStream:fromDirectory:) SimpleServiceEntry: (MCVersionReader --- mergeVersionStream:) SimpleServiceEntry: (MCVersionReader --- openVersionFromStream:) SimpleServiceEntry: (MczInstaller --- loadVersionFile:) SimpleServiceEntry: (Morph --- fromFileName:) SimpleServiceEntry: (NaturalLanguageTranslator --- mergeTranslationFileNamed:) SimpleServiceEntry: (SARInstaller --- installSAR:) SimpleServiceEntry: (TTCFont --- newTextStyleFromTTFile:) SimpleServiceEntry: (TTFontReader --- openTTFFile:)) On Dec 16, 2009, at 10:12 PM, Levente Uzonyi wrote:
Quoting Stéphane Ducasse <stephane.ducasse@inria.fr>:
Can you show what you get?
Sure, I attached it. The screenshot was taken from an 1.1-11105 image. (Note that the mouse pointer is on the first list item, but you can't see it, because it's a windows machine...)
Levente<pharofilebrowser.png>_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
This code: Transcript open. FileList allRegisteredServices do: [ :each | Transcript show: each; cr ] Prints this: SimpleServiceEntry: (ChangeSet --- fileIntoNewChangeSet:) SimpleServiceEntry: (ChangeList --- browseStream:) SimpleServiceEntry: (ChangeList --- browseRecentLogOnPath:) SimpleServiceEntry: (ChangeList --- browseCompressedChangesFile:) SimpleServiceEntry: (FileContentsBrowser --- browseStream:) SimpleServiceEntry: (FilePackage --- conflictsWithUpdatedMethods:) FileModifyingSimpleServiceEntry: (FileStream --- removeLineFeeds:) SimpleServiceEntry: (FileStream --- fileIn:) SimpleServiceEntry: (Form --- importImage:) SimpleServiceEntry: (Form --- openImageInWindow:) SimpleServiceEntry: (Form --- setBackgroundFromImageFileNamed:) SimpleServiceEntry: (GZipReadStream --- viewContents:) FileModifyingSimpleServiceEntry: (GZipReadStream --- saveContents:) FileModifyingSimpleServiceEntry: (GZipWriteStream --- compressFile:) SimpleServiceEntry: (MCVersionReader --- loadVersionStream:fromDirectory:) SimpleServiceEntry: (MCVersionReader --- mergeVersionStream:) SimpleServiceEntry: (MCVersionReader --- openVersionFromStream:) SimpleServiceEntry: (MczInstaller --- loadVersionFile:) SimpleServiceEntry: (Morph --- fromFileName:) SimpleServiceEntry: (NaturalLanguageTranslator --- mergeTranslationFileNamed:) SimpleServiceEntry: (SARInstaller --- installSAR:) SimpleServiceEntry: (TTCFont --- newTextStyleFromTTFile:) SimpleServiceEntry: (TTFontReader --- openTTFFile:) FileModifyingSimpleServiceEntry: (NSGZipWriteStream --- compressFile:) FileModifyingSimpleServiceEntry: (NSDecoderGZipWriteStream --- compressFile:) SimpleServiceEntry: (AnimatedImageMorph --- openGIFInWindow:) SimpleServiceEntry: (Form --- setBackgroundFromImageFileNamed:) SimpleServiceEntry: (ScorePlayerMorph --- playMidiFile:) SimpleServiceEntry: (NSGZipReadStream --- viewContents:) FileModifyingSimpleServiceEntry: (NSGZipReadStream --- saveContents:) SimpleServiceEntry: (NSDecoderGZipReadStream --- viewContents:) FileModifyingSimpleServiceEntry: (NSDecoderGZipReadStream --- saveContents:) Levente On Thu, 17 Dec 2009, Stéphane Ducasse wrote:
levente can you print
FileList allRegistered allRegisteredServices
On my image I get
SimpleServiceEntry: (ChangeSet --- fileIntoNewChangeSet:) SimpleServiceEntry: (ChangeList --- browseStream:) SimpleServiceEntry: (ChangeList --- browseRecentLogOnPath:) SimpleServiceEntry: (ChangeList --- browseCompressedChangesFile:) SimpleServiceEntry: (FileContentsBrowser --- browseStream:) SimpleServiceEntry: (FilePackage --- conflictsWithUpdatedMethods:) FileModifyingSimpleServiceEntry: (FileStream --- removeLineFeeds:) SimpleServiceEntry: (FileStream --- fileIn:) SimpleServiceEntry: (Form --- importImage:) SimpleServiceEntry: (Form --- openImageInWindow:) SimpleServiceEntry: (Form --- setBackgroundFromImageFileNamed:) SimpleServiceEntry: (GZipReadStream --- viewContents:) FileModifyingSimpleServiceEntry: (GZipReadStream --- saveContents:) FileModifyingSimpleServiceEntry: (GZipWriteStream --- compressFile:) SimpleServiceEntry: (MCVersionReader --- loadVersionStream:fromDirectory:) SimpleServiceEntry: (MCVersionReader --- mergeVersionStream:) SimpleServiceEntry: (MCVersionReader --- openVersionFromStream:) SimpleServiceEntry: (MczInstaller --- loadVersionFile:) SimpleServiceEntry: (Morph --- fromFileName:) SimpleServiceEntry: (NaturalLanguageTranslator --- mergeTranslationFileNamed:) SimpleServiceEntry: (SARInstaller --- installSAR:) SimpleServiceEntry: (TTCFont --- newTextStyleFromTTFile:) SimpleServiceEntry: (TTFontReader --- openTTFFile:))
On Dec 16, 2009, at 10:12 PM, Levente Uzonyi wrote:
Quoting Stéphane Ducasse <stephane.ducasse@inria.fr>:
Can you show what you get?
Sure, I attached it. The screenshot was taken from an 1.1-11105 image. (Note that the mouse pointer is on the first list item, but you can't see it, because it's a windows machine...)
Levente<pharofilebrowser.png>_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
thanks. It seems that nile registered its own streams which makes sense. Stef On Dec 17, 2009, at 10:19 PM, Levente Uzonyi wrote:
This code: Transcript open. FileList allRegisteredServices do: [ :each | Transcript show: each; cr ]
Prints this: SimpleServiceEntry: (ChangeSet --- fileIntoNewChangeSet:) SimpleServiceEntry: (ChangeList --- browseStream:) SimpleServiceEntry: (ChangeList --- browseRecentLogOnPath:) SimpleServiceEntry: (ChangeList --- browseCompressedChangesFile:) SimpleServiceEntry: (FileContentsBrowser --- browseStream:) SimpleServiceEntry: (FilePackage --- conflictsWithUpdatedMethods:) FileModifyingSimpleServiceEntry: (FileStream --- removeLineFeeds:) SimpleServiceEntry: (FileStream --- fileIn:) SimpleServiceEntry: (Form --- importImage:) SimpleServiceEntry: (Form --- openImageInWindow:) SimpleServiceEntry: (Form --- setBackgroundFromImageFileNamed:) SimpleServiceEntry: (GZipReadStream --- viewContents:) FileModifyingSimpleServiceEntry: (GZipReadStream --- saveContents:) FileModifyingSimpleServiceEntry: (GZipWriteStream --- compressFile:) SimpleServiceEntry: (MCVersionReader --- loadVersionStream:fromDirectory:) SimpleServiceEntry: (MCVersionReader --- mergeVersionStream:) SimpleServiceEntry: (MCVersionReader --- openVersionFromStream:) SimpleServiceEntry: (MczInstaller --- loadVersionFile:) SimpleServiceEntry: (Morph --- fromFileName:) SimpleServiceEntry: (NaturalLanguageTranslator --- mergeTranslationFileNamed:) SimpleServiceEntry: (SARInstaller --- installSAR:) SimpleServiceEntry: (TTCFont --- newTextStyleFromTTFile:) SimpleServiceEntry: (TTFontReader --- openTTFFile:) FileModifyingSimpleServiceEntry: (NSGZipWriteStream --- compressFile:) FileModifyingSimpleServiceEntry: (NSDecoderGZipWriteStream --- compressFile:) SimpleServiceEntry: (AnimatedImageMorph --- openGIFInWindow:) SimpleServiceEntry: (Form --- setBackgroundFromImageFileNamed:) SimpleServiceEntry: (ScorePlayerMorph --- playMidiFile:) SimpleServiceEntry: (NSGZipReadStream --- viewContents:) FileModifyingSimpleServiceEntry: (NSGZipReadStream --- saveContents:) SimpleServiceEntry: (NSDecoderGZipReadStream --- viewContents:) FileModifyingSimpleServiceEntry: (NSDecoderGZipReadStream --- saveContents:)
Levente
On Thu, 17 Dec 2009, Stéphane Ducasse wrote:
levente can you print
FileList allRegistered allRegisteredServices
On my image I get
SimpleServiceEntry: (ChangeSet --- fileIntoNewChangeSet:) SimpleServiceEntry: (ChangeList --- browseStream:) SimpleServiceEntry: (ChangeList --- browseRecentLogOnPath:) SimpleServiceEntry: (ChangeList --- browseCompressedChangesFile:) SimpleServiceEntry: (FileContentsBrowser --- browseStream:) SimpleServiceEntry: (FilePackage --- conflictsWithUpdatedMethods:) FileModifyingSimpleServiceEntry: (FileStream --- removeLineFeeds:) SimpleServiceEntry: (FileStream --- fileIn:) SimpleServiceEntry: (Form --- importImage:) SimpleServiceEntry: (Form --- openImageInWindow:) SimpleServiceEntry: (Form --- setBackgroundFromImageFileNamed:) SimpleServiceEntry: (GZipReadStream --- viewContents:) FileModifyingSimpleServiceEntry: (GZipReadStream --- saveContents:) FileModifyingSimpleServiceEntry: (GZipWriteStream --- compressFile:) SimpleServiceEntry: (MCVersionReader --- loadVersionStream:fromDirectory:) SimpleServiceEntry: (MCVersionReader --- mergeVersionStream:) SimpleServiceEntry: (MCVersionReader --- openVersionFromStream:) SimpleServiceEntry: (MczInstaller --- loadVersionFile:) SimpleServiceEntry: (Morph --- fromFileName:) SimpleServiceEntry: (NaturalLanguageTranslator --- mergeTranslationFileNamed:) SimpleServiceEntry: (SARInstaller --- installSAR:) SimpleServiceEntry: (TTCFont --- newTextStyleFromTTFile:) SimpleServiceEntry: (TTFontReader --- openTTFFile:))
On Dec 16, 2009, at 10:12 PM, Levente Uzonyi wrote:
Quoting Stéphane Ducasse <stephane.ducasse@inria.fr>:
Can you show what you get?
Sure, I attached it. The screenshot was taken from an 1.1-11105 image. (Note that the mouse pointer is on the first list item, but you can't see it, because it's a windows machine...)
Levente<pharofilebrowser.png>_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
I tried to open a zip file and I do not get a proposal to open the archive viewer. When I use decompress file I get a GZIP....error telling me that this is not a zipped stream Funny http://code.google.com/p/pharo/issues/list?thanks=1618 http://code.google.com/p/pharo/issues/detail?id=1619
Nothing prevents copy/paste/save (though there are line-end weirdnesses to consider), but why should one have to do that? -----Original Message----- From: pharo-project-bounces@lists.gforge.inria.fr [mailto:pharo-project-bounces@lists.gforge.inria.fr] On Behalf Of Igor Stasenko Sent: Wednesday, December 16, 2009 11:05 AM To: Pharo-project@lists.gforge.inria.fr Subject: Re: [Pharo-project] [newbee] How do I save the contents of a Workspace? 2009/12/16 Ramiro Diaz Trepat <ramiro.diaz.trepat@jpmorgan.com>:
I really miss that feature. In my oppinion it is very useful when you regularly use different images, or when you frequently rebuild your development image from newer versions. Also, I wonder if the Package Browser should be removed completely since it does not even open now when you select it as preferred. Cheers
What prevents you from copying the workspace text, open your favorite text editor, paste text there and save it in a file?
r
-----Original Message----- From: pharo-project-bounces@lists.gforge.inria.fr [mailto:pharo-project-bounces@lists.gforge.inria.fr] On Behalf Of Stéphane Ducasse Sent: 16 December 2009 12:07 To: Pharo-project@lists.gforge.inria.fr Subject: Re: [Pharo-project] [newbee] How do I save the contents of a Workspace?
for me it was political/educational to remove it.
I saw too many people having expressions in workspace and not in class methods (not versioned with the code). because if this is really important why not put it in a class method? Then you load the code and of course you do not get the magic example beacuse they were in the wonderfull scripts left in the other images.....
Stef
On Dec 16, 2009, at 12:51 PM, Cédrick Béler wrote:
I think this is a valuable feature.
Should we save in a particular file extension (.wst ? or simply text files ?) so that we can also have load opening from a a list of files of that format. This would be nice for tutorials instead of saving workspace content in a method.
Cédrick
2009/12/16 alesch <alex@schenkman.info> On Wed, Dec 16, 2009 at 11:45, Damien Cassou [via Smalltalk] <[hidden email]> wrote:
On Wed, Dec 16, 2009 at 9:29 AM, alesch <[hidden email]> wrote:
I remember I used a menu item in Squeak, but I cannot find in Pharo.
You can't. Do you misss that feature?
Yes I do.
View this message in context: Re: [Pharo-project] [newbee] How do I save the contents of a Workspace?
Sent from the Pharo Smalltalk mailing list archive at Nabble.com.
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project This email is confidential and subject to important disclaimers and conditions including on offers for the purchase or sale of securities, accuracy and completeness of information, viruses, confidentiality, legal privilege, and legal entity disclaimers, available at http://www.jpmorgan.com/pages/disclosures/email.
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
-- Best regards, Igor Stasenko AKA sig. _______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
Hi Igor, nothing "stops" your cut / paste ability, but I believe that is not the right question. I work with VW Smalltalk and at wrok we also have different images for different sides of the busines. It may be dirty and arguable to use scripts instead of a class for your scripts full of class methods, but if you do want to save quite a few scripts/workspaces, it is much more handy to keep them in a directory of saved workspeces, than start opening and closing a whole lot of old images until you find the one that bit of code that you wanted and then, yes, copy and paste it to your new image. Cheers r On Wed, Dec 16, 2009 at 4:04 PM, Igor Stasenko <siguctua@gmail.com> wrote:
2009/12/16 Ramiro Diaz Trepat <ramiro.diaz.trepat@jpmorgan.com>:
I really miss that feature. In my oppinion it is very useful when you regularly use different images, or when you frequently rebuild your development image from newer versions. Also, I wonder if the Package Browser should be removed completely since it does not even open now when you select it as preferred. Cheers
What prevents you from copying the workspace text, open your favorite text editor, paste text there and save it in a file?
r
-----Original Message----- From: pharo-project-bounces@lists.gforge.inria.fr [mailto:
pharo-project-bounces@lists.gforge.inria.fr] On Behalf Of Stéphane Ducasse
Sent: 16 December 2009 12:07 To: Pharo-project@lists.gforge.inria.fr Subject: Re: [Pharo-project] [newbee] How do I save the contents of a Workspace?
for me it was political/educational to remove it.
I saw too many people having expressions in workspace and not in class methods (not versioned with the code). because if this is really important why not put it in a class method? Then you load the code and of course you do not get the magic example beacuse they were in the wonderfull scripts left in the other images.....
Stef
On Dec 16, 2009, at 12:51 PM, Cédrick Béler wrote:
I think this is a valuable feature.
Should we save in a particular file extension (.wst ? or simply text files ?) so that we can also have load opening from a a list of files of that format. This would be nice for tutorials instead of saving workspace content in a method.
Cédrick
2009/12/16 alesch <alex@schenkman.info> On Wed, Dec 16, 2009 at 11:45, Damien Cassou [via Smalltalk] <[hidden email]> wrote:
On Wed, Dec 16, 2009 at 9:29 AM, alesch <[hidden email]> wrote:
I remember I used a menu item in Squeak, but I cannot find in Pharo.
You can't. Do you misss that feature?
Yes I do.
View this message in context: Re: [Pharo-project] [newbee] How do I save the contents of a Workspace?
Sent from the Pharo Smalltalk mailing list archive at Nabble.com.
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project This email is confidential and subject to important disclaimers and conditions including on offers for the purchase or sale of securities, accuracy and completeness of information, viruses, confidentiality, legal privilege, and legal entity disclaimers, available at http://www.jpmorgan.com/pages/disclosures/email.
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
-- Best regards, Igor Stasenko AKA sig.
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
If a brave soul send the code we will just add it. No doubt. If this is useful it does not hurt us. Stef On Dec 17, 2009, at 2:15 AM, Ramiro Diaz Trepat wrote:
Hi Igor, nothing "stops" your cut / paste ability, but I believe that is not the right question. I work with VW Smalltalk and at wrok we also have different images for different sides of the busines. It may be dirty and arguable to use scripts instead of a class for your scripts full of class methods, but if you do want to save quite a few scripts/workspaces, it is much more handy to keep them in a directory of saved workspeces, than start opening and closing a whole lot of old images until you find the one that bit of code that you wanted and then, yes, copy and paste it to your new image. Cheers
r
On Wed, Dec 16, 2009 at 4:04 PM, Igor Stasenko <siguctua@gmail.com> wrote: 2009/12/16 Ramiro Diaz Trepat <ramiro.diaz.trepat@jpmorgan.com>:
I really miss that feature. In my oppinion it is very useful when you regularly use different images, or when you frequently rebuild your development image from newer versions. Also, I wonder if the Package Browser should be removed completely since it does not even open now when you select it as preferred. Cheers
What prevents you from copying the workspace text, open your favorite text editor, paste text there and save it in a file?
r
-----Original Message----- From: pharo-project-bounces@lists.gforge.inria.fr [mailto:pharo-project-bounces@lists.gforge.inria.fr] On Behalf Of Stéphane Ducasse Sent: 16 December 2009 12:07 To: Pharo-project@lists.gforge.inria.fr Subject: Re: [Pharo-project] [newbee] How do I save the contents of a Workspace?
for me it was political/educational to remove it.
I saw too many people having expressions in workspace and not in class methods (not versioned with the code). because if this is really important why not put it in a class method? Then you load the code and of course you do not get the magic example beacuse they were in the wonderfull scripts left in the other images.....
Stef
On Dec 16, 2009, at 12:51 PM, Cédrick Béler wrote:
I think this is a valuable feature.
Should we save in a particular file extension (.wst ? or simply text files ?) so that we can also have load opening from a a list of files of that format. This would be nice for tutorials instead of saving workspace content in a method.
Cédrick
2009/12/16 alesch <alex@schenkman.info> On Wed, Dec 16, 2009 at 11:45, Damien Cassou [via Smalltalk] <[hidden email]> wrote:
On Wed, Dec 16, 2009 at 9:29 AM, alesch <[hidden email]> wrote:
I remember I used a menu item in Squeak, but I cannot find in Pharo.
You can't. Do you misss that feature?
Yes I do.
View this message in context: Re: [Pharo-project] [newbee] How do I save the contents of a Workspace?
Sent from the Pharo Smalltalk mailing list archive at Nabble.com.
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project This email is confidential and subject to important disclaimers and conditions including on offers for the purchase or sale of securities, accuracy and completeness of information, viruses, confidentiality, legal privilege, and legal entity disclaimers, available at http://www.jpmorgan.com/pages/disclosures/email.
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
-- Best regards, Igor Stasenko AKA sig.
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
2009/12/17 Stéphane Ducasse <stephane.ducasse@inria.fr>:
If a brave soul send the code we will just add it. No doubt. If this is useful it does not hurt us.
So I did it :). See on the tracker http://code.google.com/p/pharo/issues/detail?id=1859. I started from the changes, mentioned here by Keith Hodges, but it turns out that I used them for inspiration almost :) (Thanks Keith!). The result is completely different from what you have now in Squeak. You have now association with the file and you don't have to enter file name every time you want to save file as you do in Squeak. And as someone suggested here the default extension is .ws. I hope it will be useful. Cheers, George
Thanks for doing this! How did you modify the menu? I have *no* clue how to do that. Two comments, the first horribly pedantic. The prompt for the file name reads "Enter file name to save the workspace to" - we have no shortage of dangling prepositions. "Ener file name" would be preferable. More substantively, it does not prompt for a directory. I agree that the image directory is the most likely default, but Pinesoft probably has given us a suitable file dialog, and if not, we should identify the omission. Bill -----Original Message----- From: pharo-project-bounces@lists.gforge.inria.fr [mailto:pharo-project-bounces@lists.gforge.inria.fr] On Behalf Of George Herolyants Sent: Thursday, January 21, 2010 11:07 AM To: Pharo-project@lists.gforge.inria.fr Subject: Re: [Pharo-project] [newbee] How do I save the contents of a Workspace? 2009/12/17 Stéphane Ducasse <stephane.ducasse@inria.fr>:
If a brave soul send the code we will just add it. No doubt. If this is useful it does not hurt us.
So I did it :). See on the tracker http://code.google.com/p/pharo/issues/detail?id=1859. I started from the changes, mentioned here by Keith Hodges, but it turns out that I used them for inspiration almost :) (Thanks Keith!). The result is completely different from what you have now in Squeak. You have now association with the file and you don't have to enter file name every time you want to save file as you do in Squeak. And as someone suggested here the default extension is .ws. I hope it will be useful. Cheers, George _______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
Cool George! Thanks! On Thu, Jan 21, 2010 at 5:47 PM, Schwab,Wilhelm K <bschwab@anest.ufl.edu>wrote:
Thanks for doing this! How did you modify the menu? I have *no* clue how to do that.
Two comments, the first horribly pedantic. The prompt for the file name reads "Enter file name to save the workspace to" - we have no shortage of dangling prepositions. "Ener file name" would be preferable. More substantively, it does not prompt for a directory. I agree that the image directory is the most likely default, but Pinesoft probably has given us a suitable file dialog, and if not, we should identify the omission.
Bill
-----Original Message----- From: pharo-project-bounces@lists.gforge.inria.fr [mailto: pharo-project-bounces@lists.gforge.inria.fr] On Behalf Of George Herolyants Sent: Thursday, January 21, 2010 11:07 AM To: Pharo-project@lists.gforge.inria.fr Subject: Re: [Pharo-project] [newbee] How do I save the contents of a Workspace?
2009/12/17 Stéphane Ducasse <stephane.ducasse@inria.fr>:
If a brave soul send the code we will just add it. No doubt. If this is useful it does not hurt us.
So I did it :). See on the tracker http://code.google.com/p/pharo/issues/detail?id=1859.
I started from the changes, mentioned here by Keith Hodges, but it turns out that I used them for inspiration almost :) (Thanks Keith!). The result is completely different from what you have now in Squeak. You have now association with the file and you don't have to enter file name every time you want to save file as you do in Squeak. And as someone suggested here the default extension is .ws.
I hope it will be useful.
Cheers, George
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
Bill, Mariano thanks for the feedback! 2010/1/21 Schwab,Wilhelm K <bschwab@anest.ufl.edu>:
Thanks for doing this! Â How did you modify the menu? Â I have *no* clue how to do that.
There is a method addModelItemsToWindowMenu:, which do the job.
Two comments, the first horribly pedantic. Â The prompt for the file name reads "Enter file name to save the workspace to" - we have no shortage of dangling prepositions. Â "Ener file name" would be preferable.
I agree.
More substantively, it does not prompt for a directory. Â I agree that the image directory is the most likely default, but Pinesoft probably > has given us a suitable file dialog, and if not, we should identify the omission.
There is such a dialog. FileDialogWindow. I use it when I ask user for file name to open. But I didn't find any way to force this dialog to ask for the new file name. I may be wrong, but it only allows user to choose from existing file names. Some comments from more experienced people would be helpful though. George
George, Thanks for the tip on the menus. If FileDialogWindow is indeed missing a way to create a new name, I suspect Gary will eventually add that ability because it is important for end users wanting to save files. Bill -----Original Message----- From: pharo-project-bounces@lists.gforge.inria.fr [mailto:pharo-project-bounces@lists.gforge.inria.fr] On Behalf Of George Herolyants Sent: Monday, January 25, 2010 6:07 AM To: Pharo-project@lists.gforge.inria.fr Subject: Re: [Pharo-project] [newbee] How do I save the contents of a Workspace? Bill, Mariano thanks for the feedback! 2010/1/21 Schwab,Wilhelm K <bschwab@anest.ufl.edu>:
Thanks for doing this! Â How did you modify the menu? Â I have *no* clue how to do that.
There is a method addModelItemsToWindowMenu:, which do the job.
Two comments, the first horribly pedantic. Â The prompt for the file name reads "Enter file name to save the workspace to" - we have no shortage of dangling prepositions. Â "Ener file name" would be preferable.
I agree.
More substantively, it does not prompt for a directory. Â I agree that the image directory is the most likely default, but Pinesoft probably > has given us a suitable file dialog, and if not, we should identify the omission.
There is such a dialog. FileDialogWindow. I use it when I ask user for file name to open. But I didn't find any way to force this dialog to ask for the new file name. I may be wrong, but it only allows user to choose from existing file names. Some comments from more experienced people would be helpful though. George _______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
The base UIManager code has no accessors for file saving, though Polymorph does support such a dialog... Try UITheme builder fileSave: "Your dialog title here' Regards, Gary ----- Original Message ----- From: "George Herolyants" <george.herolyants@gmail.com> To: <Pharo-project@lists.gforge.inria.fr> Sent: Monday, January 25, 2010 11:07 AM Subject: Re: [Pharo-project] [newbee] How do I save the contents of aWorkspace? Bill, Mariano thanks for the feedback! 2010/1/21 Schwab,Wilhelm K <bschwab@anest.ufl.edu>:
Thanks for doing this! How did you modify the menu? I have *no* clue how to do that.
There is a method addModelItemsToWindowMenu:, which do the job.
Two comments, the first horribly pedantic. The prompt for the file name reads "Enter file name to save the workspace to" - we have no shortage of dangling prepositions. "Ener file name" would be preferable.
I agree.
More substantively, it does not prompt for a directory. I agree that the image directory is the most likely default, but Pinesoft probably > has given us a suitable file dialog, and if not, we should identify the omission.
There is such a dialog. FileDialogWindow. I use it when I ask user for file name to open. But I didn't find any way to force this dialog to ask for the new file name. I may be wrong, but it only allows user to choose from existing file names. Some comments from more experienced people would be helpful though. George _______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
2010/1/25 Gary Chambers <gazzaguru2@btinternet.com>:
The base UIManager code has no accessors for file saving, though Polymorph does support such a dialog...
Try
UITheme builder fileSave: "Your dialog title here'
Thanks Gary! But is there a way to force this dialog to return just file name and not to create a file stream?
Not at present. Have a look at FileDialogWindow. Perhaps you could add a couple of methods... saveSelectedFile "Answer the name of the selected file or new filename or nil if blank." |d f| d := self selectedFileDirectory ifNil: [^nil]. f := self selectedFileName ifNil: [self fileNameText withBlanksTrimmed]. ^f ifEmpty: [nil]. answerSaveFileName "Set the receiver to answer the selected/entered file name." self actionSelector: #saveSelectedFileName. self changed: #okEnabled Then, to open one... |fd| fd := FileDialogWindow new title: title; answerSaveFileName. ^(modalParentMorph openModal: fd) answer Choosing an appropriate modal owner. If you want, you could add the convenience methods to TEasilyThemed also... Regards, Gary ----- Original Message ----- From: "George Herolyants" <george.herolyants@gmail.com> To: <Pharo-project@lists.gforge.inria.fr> Sent: Monday, January 25, 2010 12:37 PM Subject: Re: [Pharo-project] [newbee] How do I save the contents ofaWorkspace?
2010/1/25 Gary Chambers <gazzaguru2@btinternet.com>:
The base UIManager code has no accessors for file saving, though Polymorph does support such a dialog...
Try
UITheme builder fileSave: "Your dialog title here'
Thanks Gary! But is there a way to force this dialog to return just file name and not to create a file stream?
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
Actually rather more complicated than that... You'll want the full path I expect, also the correct OK button enablement... Any reason not to have the FileStream? Regards, Gary ----- Original Message ----- From: "Gary Chambers" <gazzaguru2@btinternet.com> To: <Pharo-project@lists.gforge.inria.fr> Sent: Monday, January 25, 2010 2:50 PM Subject: Re: [Pharo-project] [newbee] How do I save the contentsofaWorkspace?
Not at present. Have a look at FileDialogWindow. Perhaps you could add a couple of methods...
saveSelectedFile "Answer the name of the selected file or new filename or nil if blank."
|d f| d := self selectedFileDirectory ifNil: [^nil]. f := self selectedFileName ifNil: [self fileNameText withBlanksTrimmed]. ^f ifEmpty: [nil].
answerSaveFileName "Set the receiver to answer the selected/entered file name."
self actionSelector: #saveSelectedFileName. self changed: #okEnabled
Then, to open one...
|fd| fd := FileDialogWindow new title: title; answerSaveFileName. ^(modalParentMorph openModal: fd) answer
Choosing an appropriate modal owner. If you want, you could add the convenience methods to TEasilyThemed also...
Regards, Gary
----- Original Message ----- From: "George Herolyants" <george.herolyants@gmail.com> To: <Pharo-project@lists.gforge.inria.fr> Sent: Monday, January 25, 2010 12:37 PM Subject: Re: [Pharo-project] [newbee] How do I save the contents ofaWorkspace?
2010/1/25 Gary Chambers <gazzaguru2@btinternet.com>:
The base UIManager code has no accessors for file saving, though Polymorph does support such a dialog...
Try
UITheme builder fileSave: "Your dialog title here'
Thanks Gary! But is there a way to force this dialog to return just file name and not to create a file stream?
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
Gary, IMHO, the correct result is the file name. First, Squeak's streams are, how do I put this nicely... Second, there are some plaform dependencies re ownership. Finally, somebody might want to try Nile. Bill -----Original Message----- From: pharo-project-bounces@lists.gforge.inria.fr [mailto:pharo-project-bounces@lists.gforge.inria.fr] On Behalf Of Gary Chambers Sent: Monday, January 25, 2010 9:57 AM To: Pharo-project@lists.gforge.inria.fr Subject: Re: [Pharo-project] [newbee] How do I save the contentsofaWorkspace? Actually rather more complicated than that... You'll want the full path I expect, also the correct OK button enablement... Any reason not to have the FileStream? Regards, Gary ----- Original Message ----- From: "Gary Chambers" <gazzaguru2@btinternet.com> To: <Pharo-project@lists.gforge.inria.fr> Sent: Monday, January 25, 2010 2:50 PM Subject: Re: [Pharo-project] [newbee] How do I save the contentsofaWorkspace?
Not at present. Have a look at FileDialogWindow. Perhaps you could add a couple of methods...
saveSelectedFile "Answer the name of the selected file or new filename or nil if blank."
|d f| d := self selectedFileDirectory ifNil: [^nil]. f := self selectedFileName ifNil: [self fileNameText withBlanksTrimmed]. ^f ifEmpty: [nil].
answerSaveFileName "Set the receiver to answer the selected/entered file name."
self actionSelector: #saveSelectedFileName. self changed: #okEnabled
Then, to open one...
|fd| fd := FileDialogWindow new title: title; answerSaveFileName. ^(modalParentMorph openModal: fd) answer
Choosing an appropriate modal owner. If you want, you could add the convenience methods to TEasilyThemed also...
Regards, Gary
----- Original Message ----- From: "George Herolyants" <george.herolyants@gmail.com> To: <Pharo-project@lists.gforge.inria.fr> Sent: Monday, January 25, 2010 12:37 PM Subject: Re: [Pharo-project] [newbee] How do I save the contents ofaWorkspace?
2010/1/25 Gary Chambers <gazzaguru2@btinternet.com>:
The base UIManager code has no accessors for file saving, though Polymorph does support such a dialog...
Try
UITheme builder fileSave: "Your dialog title here'
Thanks Gary! But is there a way to force this dialog to return just file name and not to create a file stream?
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
I suggest simple text files with a known extension (.ws is normally used by some Smalltalks, so we could use it to avoid extension pollution...) Em 16/12/2009 09:51, Cédrick Béler < cdrick65@gmail.com > escreveu: I think this is a valuable feature. Should we save in a particular file extension (.wst ? or simply text files ?) so that we can also have load opening from a a list of files of that format. This would be nice for tutorials instead of saving workspace content in a method. Cédrick 2009/12/16 alesch <alex@schenkman.info> On Wed, Dec 16, 2009 at 11:45, Damien Cassou [via Smalltalk] <[hidden email]> wrote: On Wed, Dec 16, 2009 at 9:29 AM, alesch <[hidden email]> wrote:
I remember I used a menu item in Squeak, but I cannot find in Pharo.
You can't. Do you misss that feature? Yes I do. View this message in context: Re: [Pharo-project] [newbee] How do I save the contents of a Workspace? Sent from the Pharo Smalltalk mailing list archive at Nabble.com. _______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
I miss, perhaps because I'm used to in other Smalltalks. . . Em 16/12/2009 08:45, Damien Cassou < damien.cassou@gmail.com > escreveu: On Wed, Dec 16, 2009 at 9:29 AM, alesch wrote:
I remember I used a menu item in Squeak, but I cannot find in Pharo.
You can't. Do you misss that feature? -- Damien Cassou http://damiencassou.seasidehosting.st "Lambdas are relegated to relative obscurity until Java makes them popular by not having them." James Iry _______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
Hi Alex, Notice that you don't need files to save workspaces, you may like the ScriptManager package, to install simply evaluate: Gofer new squeaksource: 'DeveloperWorkspace'; package: 'ScriptManager'; load. and open it from Tools -> More -> Script Manager Cheers, Hernán 2009/12/16 alesch <alex@schenkman.info>:
I remember I used a menu item in Squeak, but I cannot find in Pharo.
Thanks! -- View this message in context: http://n2.nabble.com/newbee-How-do-I-save-the-contents-of-a-Workspace-tp4174... Sent from the Pharo Smalltalk mailing list archive at Nabble.com.
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
participants (16)
-
alesch -
csrabak@bol.com.br -
Cédrick Béler -
Damien Cassou -
Gary Chambers -
George Herolyants -
Hernán Morales Durand -
Igor Stasenko -
keith -
Levente Uzonyi -
Mariano Martinez Peck -
Nicolas Cellier -
Ramiro Diaz Trepat -
Ramiro Diaz Trepat -
Schwab,Wilhelm K -
Stéphane Ducasse