[Pharo-project] A .mcz of Pinesoft's accumulated fixes applicable to Pharo
Hi all. Gary and I decided we ought to give out an MCZ of our fixes that we've put together over the last two years. Obviously some of those we found have been pulled into Pharo already, but the attached MCZ represents those that we think are still relevant :) This is a rough list of the fixes: 1. Fixed flaky borwser comment text area sometime not showing. 2. Added getArgumentPermutation to support RefactoringEngine. 3. Fixes to CanvasCharacterScanner and MultiCanvasCharacterScanner to correctly align the first line of text when centered/justifed etc. 4. Added more constant names to Character class. 5. Modified ConnectionQueue to not accept connections when queue is full. 6. Changed GrafPort to answer a MultiDisplayScanner when appropriate (allows subclasses of MultiNewParagraph). 7. NaturalLanguageTranslator startup postion move to after PasteUpMorph since it will show a progress bar. 8. Fix to Random>>nextInt: to allow large numbers which would be out of range if using Floats (as mentioned recently on dev, use of Floats is dodgy anyway...) 9. Changed TranscriptStream>>clear to use a new buffer (was just reset which could leave a massive collection). 10. Changed RemoteString to handle concurrent processes safely. This one's particularly interesting: we were load-testing our Seaside app here and getting lots of syntax errors when hitting the image with around the 20 concurrent processes due to source file access. After this change we were hitting it with approximately 500 concurrent processes, and the failure was in the Java load tester (it timed out). Hope just submitting a .mcz is OK! :) Cheers, Simon and Gary ****************************************************************************************************************************************** This email is from Pinesoft Limited. Its contents are confidential to the intended recipient(s) at the email address(es) to which it has been addressed. It may not be disclosed to or used by anyone other than the addressee(s), nor may it be copied in anyway. If received in error, please contact the sender, then delete it from your system. Although this email and attachments are believed to be free of virus, or any other defect which might affect any computer or IT system into which they are received and opened, it is the responsibility of the recipient to ensure that they are virus free and no responsibility is accepted by Pinesoft for any loss or damage arising in any way from receipt or use thereof. ******************************************************************************************************************************************* Pinesoft Limited are registered in England, Registered number: 2914825. Registered office: 266-268 High Street, Waltham Cross, Herts, EN8 7EA
This is GREAT! you checked with Pharo, so I will check to see and publish that. Stef On Sep 26, 2008, at 6:36 PM, Simon Kirk wrote:
Hi all.
Gary and I decided we ought to give out an MCZ of our fixes that we've put together over the last two years.
Obviously some of those we found have been pulled into Pharo already, but the attached MCZ represents those that we think are still relevant :)
This is a rough list of the fixes:
1. Fixed flaky borwser comment text area sometime not showing.
2. Added getArgumentPermutation to support RefactoringEngine.
3. Fixes to CanvasCharacterScanner and MultiCanvasCharacterScanner to correctly align the first line of text when centered/justifed etc.
4. Added more constant names to Character class.
5. Modified ConnectionQueue to not accept connections when queue is full.
6. Changed GrafPort to answer a MultiDisplayScanner when appropriate (allows subclasses of MultiNewParagraph).
7. NaturalLanguageTranslator startup postion move to after PasteUpMorph since it will show a progress bar.
8. Fix to Random>>nextInt: to allow large numbers which would be out of range if using Floats (as mentioned recently on dev, use of Floats is dodgy anyway...)
9. Changed TranscriptStream>>clear to use a new buffer (was just reset which could leave a massive collection).
10. Changed RemoteString to handle concurrent processes safely. This one's particularly interesting: we were load-testing our Seaside app here and getting lots of syntax errors when hitting the image with around the 20 concurrent processes due to source file access. After this change we were hitting it with approximately 500 concurrent processes, and the failure was in the Java load tester (it timed out).
Hope just submitting a .mcz is OK! :)
Cheers, Simon and Gary
****************************************************************************************************************************************** This email is from Pinesoft Limited. Its contents are confidential to the intended recipient(s) at the email address(es) to which it has been addressed. It may not be disclosed to or used by anyone other than the addressee(s), nor may it be copied in anyway. If received in error, please contact the sender, then delete it from your system. Although this email and attachments are believed to be free of virus, or any other defect which might affect any computer or IT system into which they are received and opened, it is the responsibility of the recipient to ensure that they are virus free and no responsibility is accepted by Pinesoft for any loss or damage arising in any way from receipt or use thereof. *******************************************************************************************************************************************
Pinesoft Limited are registered in England, Registered number: 2914825. Registered office: 266-268 High Street, Waltham Cross, Herts, EN8 7EA <Pinesoft-Fixes-Misc-gvc.24.mcz> _______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
Simon with which machine did you create you mcz? Because apparently I can see the diffs for other packages. Can somebody else check the pinesoft package I put in the pharoInbox? Stef
Hi all.
Gary and I decided we ought to give out an MCZ of our fixes that we've put together over the last two years.
Obviously some of those we found have been pulled into Pharo already, but the attached MCZ represents those that we think are still relevant :)
This is a rough list of the fixes:
1. Fixed flaky borwser comment text area sometime not showing.
2. Added getArgumentPermutation to support RefactoringEngine.
3. Fixes to CanvasCharacterScanner and MultiCanvasCharacterScanner to correctly align the first line of text when centered/justifed etc.
4. Added more constant names to Character class.
5. Modified ConnectionQueue to not accept connections when queue is full.
6. Changed GrafPort to answer a MultiDisplayScanner when appropriate (allows subclasses of MultiNewParagraph).
7. NaturalLanguageTranslator startup postion move to after PasteUpMorph since it will show a progress bar.
8. Fix to Random>>nextInt: to allow large numbers which would be out of range if using Floats (as mentioned recently on dev, use of Floats is dodgy anyway...)
9. Changed TranscriptStream>>clear to use a new buffer (was just reset which could leave a massive collection).
10. Changed RemoteString to handle concurrent processes safely. This one's particularly interesting: we were load-testing our Seaside app here and getting lots of syntax errors when hitting the image with around the 20 concurrent processes due to source file access. After this change we were hitting it with approximately 500 concurrent processes, and the failure was in the Java load tester (it timed out).
Hope just submitting a .mcz is OK! :)
Cheers, Simon and Gary
****************************************************************************************************************************************** This email is from Pinesoft Limited. Its contents are confidential to the intended recipient(s) at the email address(es) to which it has been addressed. It may not be disclosed to or used by anyone other than the addressee(s), nor may it be copied in anyway. If received in error, please contact the sender, then delete it from your system. Although this email and attachments are believed to be free of virus, or any other defect which might affect any computer or IT system into which they are received and opened, it is the responsibility of the recipient to ensure that they are virus free and no responsibility is accepted by Pinesoft for any loss or damage arising in any way from receipt or use thereof. *******************************************************************************************************************************************
Pinesoft Limited are registered in England, Registered number: 2914825. Registered office: 266-268 High Street, Waltham Cross, Herts, EN8 7EA <Pinesoft-Fixes-Misc-gvc.24.mcz> _______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
I'm trying to understand the problem I have the hypothesis that this is linked with the class extension or the fact that the package does not exist in the image. Can you also check that you can see diff when the changes is in an class extension? Because this is strange with some packages I can see the diff and with the pinesoft-fixes-misc I cannot. Stef On Sep 26, 2008, at 9:20 PM, Stéphane Ducasse wrote:
Simon
with which machine did you create you mcz? Because apparently I can see the diffs for other packages.
Can somebody else check the pinesoft package I put in the pharoInbox?
Stef
Hi all.
Gary and I decided we ought to give out an MCZ of our fixes that we've put together over the last two years.
Obviously some of those we found have been pulled into Pharo already, but the attached MCZ represents those that we think are still relevant :)
This is a rough list of the fixes:
1. Fixed flaky borwser comment text area sometime not showing.
2. Added getArgumentPermutation to support RefactoringEngine.
3. Fixes to CanvasCharacterScanner and MultiCanvasCharacterScanner to correctly align the first line of text when centered/justifed etc.
4. Added more constant names to Character class.
5. Modified ConnectionQueue to not accept connections when queue is full.
6. Changed GrafPort to answer a MultiDisplayScanner when appropriate (allows subclasses of MultiNewParagraph).
7. NaturalLanguageTranslator startup postion move to after PasteUpMorph since it will show a progress bar.
8. Fix to Random>>nextInt: to allow large numbers which would be out of range if using Floats (as mentioned recently on dev, use of Floats is dodgy anyway...)
9. Changed TranscriptStream>>clear to use a new buffer (was just reset which could leave a massive collection).
10. Changed RemoteString to handle concurrent processes safely. This one's particularly interesting: we were load-testing our Seaside app here and getting lots of syntax errors when hitting the image with around the 20 concurrent processes due to source file access. After this change we were hitting it with approximately 500 concurrent processes, and the failure was in the Java load tester (it timed out).
Hope just submitting a .mcz is OK! :)
Cheers, Simon and Gary
****************************************************************************************************************************************** This email is from Pinesoft Limited. Its contents are confidential to the intended recipient(s) at the email address(es) to which it has been addressed. It may not be disclosed to or used by anyone other than the addressee(s), nor may it be copied in anyway. If received in error, please contact the sender, then delete it from your system. Although this email and attachments are believed to be free of virus, or any other defect which might affect any computer or IT system into which they are received and opened, it is the responsibility of the recipient to ensure that they are virus free and no responsibility is accepted by Pinesoft for any loss or damage arising in any way from receipt or use thereof. *******************************************************************************************************************************************
Pinesoft Limited are registered in England, Registered number: 2914825. Registered office: 266-268 High Street, Waltham Cross, Herts, EN8 7EA <Pinesoft-Fixes-Misc-gvc.24.mcz> _______________________________________________ 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
hi Stef. Hmm, strange. How are you viewing the diffs? If I browse the MCZ in a Monticello browser I see extensions to these classes: BrowserCommentTextMorph BrowserRequestor CanvasCharacterScanner Character ConnectionQueue GrafPort MultiCanvasCharacterScanner NaturalLanguageTranslator Random RemoteString TranscriptStream Is this the diffs you're talking about? If so, I think they're correct. It's possible my rough list below may have missed some changes. Cheers, Simon On 26 Sep 2008, at 20:20, Stéphane Ducasse wrote:
Simon
with which machine did you create you mcz? Because apparently I can see the diffs for other packages.
Can somebody else check the pinesoft package I put in the pharoInbox?
Stef
Hi all.
Gary and I decided we ought to give out an MCZ of our fixes that we've put together over the last two years.
Obviously some of those we found have been pulled into Pharo already, but the attached MCZ represents those that we think are still relevant :)
This is a rough list of the fixes:
1. Fixed flaky borwser comment text area sometime not showing.
2. Added getArgumentPermutation to support RefactoringEngine.
3. Fixes to CanvasCharacterScanner and MultiCanvasCharacterScanner to correctly align the first line of text when centered/justifed etc.
4. Added more constant names to Character class.
5. Modified ConnectionQueue to not accept connections when queue is full.
6. Changed GrafPort to answer a MultiDisplayScanner when appropriate (allows subclasses of MultiNewParagraph).
7. NaturalLanguageTranslator startup postion move to after PasteUpMorph since it will show a progress bar.
8. Fix to Random>>nextInt: to allow large numbers which would be out of range if using Floats (as mentioned recently on dev, use of Floats is dodgy anyway...)
9. Changed TranscriptStream>>clear to use a new buffer (was just reset which could leave a massive collection).
10. Changed RemoteString to handle concurrent processes safely. This one's particularly interesting: we were load-testing our Seaside app here and getting lots of syntax errors when hitting the image with around the 20 concurrent processes due to source file access. After this change we were hitting it with approximately 500 concurrent processes, and the failure was in the Java load tester (it timed out).
Hope just submitting a .mcz is OK! :)
Cheers, Simon and Gary
****************************************************************************************************************************************** This email is from Pinesoft Limited. Its contents are confidential to the intended recipient(s) at the email address(es) to which it has been addressed. It may not be disclosed to or used by anyone other than the addressee(s), nor may it be copied in anyway. If received in error, please contact the sender, then delete it from your system. Although this email and attachments are believed to be free of virus, or any other defect which might affect any computer or IT system into which they are received and opened, it is the responsibility of the recipient to ensure that they are virus free and no responsibility is accepted by Pinesoft for any loss or damage arising in any way from receipt or use thereof. *******************************************************************************************************************************************
Pinesoft Limited are registered in England, Registered number: 2914825. Registered office: 266-268 High Street, Waltham Cross, Herts, EN8 7EA <Pinesoft-Fixes-Misc-gvc.24.mcz> _______________________________________________ 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 from Pinesoft Limited. Its contents are confidential to the intended recipient(s) at the email address(es) to which it has been addressed. It may not be disclosed to or used by anyone other than the addressee(s), nor may it be copied in anyway. If received in error, please contact the sender, then delete it from your system. Although this email and attachments are believed to be free of virus, or any other defect which might affect any computer or IT system into which they are received and opened, it is the responsibility of the recipient to ensure that they are virus free and no responsibility is accepted by Pinesoft for any loss or damage arising in any way from receipt or use thereof. ******************************************************************************************************************************************* Pinesoft Limited are registered in England, Registered number: 2914825. Registered office: 266-268 High Street, Waltham Cross, Herts, EN8 7EA
On Sep 26, 2008, at 10:07 PM, Simon Kirk wrote:
hi Stef.
Hmm, strange. How are you viewing the diffs? If I browse the MCZ in a Monticello browser I see extensions to these classes:
BrowserCommentTextMorph BrowserRequestor CanvasCharacterScanner Character ConnectionQueue GrafPort MultiCanvasCharacterScanner NaturalLanguageTranslator Random RemoteString TranscriptStream
Is this the diffs you're talking about? If so, I think they're correct. It's possible my rough list below may have missed some changes.
I see the same but I cannot see the diff between the changes and what is in the image (for example in the merge tools I do not (changed) and the like. Stef
Cheers, Simon
On 26 Sep 2008, at 20:20, Stéphane Ducasse wrote:
Simon
with which machine did you create you mcz? Because apparently I can see the diffs for other packages.
Can somebody else check the pinesoft package I put in the pharoInbox?
Stef
Hi all.
Gary and I decided we ought to give out an MCZ of our fixes that we've put together over the last two years.
Obviously some of those we found have been pulled into Pharo already, but the attached MCZ represents those that we think are still relevant :)
This is a rough list of the fixes:
1. Fixed flaky borwser comment text area sometime not showing.
2. Added getArgumentPermutation to support RefactoringEngine.
3. Fixes to CanvasCharacterScanner and MultiCanvasCharacterScanner to correctly align the first line of text when centered/justifed etc.
4. Added more constant names to Character class.
5. Modified ConnectionQueue to not accept connections when queue is full.
6. Changed GrafPort to answer a MultiDisplayScanner when appropriate (allows subclasses of MultiNewParagraph).
7. NaturalLanguageTranslator startup postion move to after PasteUpMorph since it will show a progress bar.
8. Fix to Random>>nextInt: to allow large numbers which would be out of range if using Floats (as mentioned recently on dev, use of Floats is dodgy anyway...)
9. Changed TranscriptStream>>clear to use a new buffer (was just reset which could leave a massive collection).
10. Changed RemoteString to handle concurrent processes safely. This one's particularly interesting: we were load-testing our Seaside app here and getting lots of syntax errors when hitting the image with around the 20 concurrent processes due to source file access. After this change we were hitting it with approximately 500 concurrent processes, and the failure was in the Java load tester (it timed out).
Hope just submitting a .mcz is OK! :)
Cheers, Simon and Gary
****************************************************************************************************************************************** This email is from Pinesoft Limited. Its contents are confidential to the intended recipient(s) at the email address(es) to which it has been addressed. It may not be disclosed to or used by anyone other than the addressee(s), nor may it be copied in anyway. If received in error, please contact the sender, then delete it from your system. Although this email and attachments are believed to be free of virus, or any other defect which might affect any computer or IT system into which they are received and opened, it is the responsibility of the recipient to ensure that they are virus free and no responsibility is accepted by Pinesoft for any loss or damage arising in any way from receipt or use thereof. *******************************************************************************************************************************************
Pinesoft Limited are registered in England, Registered number: 2914825. Registered office: 266-268 High Street, Waltham Cross, Herts, EN8 7EA <Pinesoft-Fixes-Misc-gvc.24.mcz> _______________________________________________ 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 from Pinesoft Limited. Its contents are confidential to the intended recipient(s) at the email address(es) to which it has been addressed. It may not be disclosed to or used by anyone other than the addressee(s), nor may it be copied in anyway. If received in error, please contact the sender, then delete it from your system. Although this email and attachments are believed to be free of virus, or any other defect which might affect any computer or IT system into which they are received and opened, it is the responsibility of the recipient to ensure that they are virus free and no responsibility is accepted by Pinesoft for any loss or damage arising in any way from receipt or use thereof. *******************************************************************************************************************************************
Pinesoft Limited are registered in England, Registered number: 2914825. Registered office: 266-268 High Street, Waltham Cross, Herts, EN8 7EA
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
Hmm, OK, I've had a dig around. I tried with a Pharo0.1-10074-oneclick package, and I think I see what you mean: viewing changes via the MC browser on the package I attached simply shows the entire method in red - even though if I go and find the equivalent method in the image it exists and should be showing changes instead. I then tried with a Pharo0.1-PolymorphTT package, as I'm more familiar with the diff tool from Gary's work. Again, the same problem. However, if I load the MCZ into the package, then pick, say, BrowserCommentTextMorph>>#hidePane and view the versions of the method, I can then see both the original method (sd 11/20/2005 21:26) and Gary's new version, and the differences between the two. So, perhaps the problem is that the Monticello browser can't show you differences between methods when one method is in the image under one class category, while the one in the Monticello package to be loaded is under a different one (the method in this case is an extension, so the method category for #hidePane would change from "displaying" to "*Pinesoft-Fixes-Misc" I hope that makes sense. I would have thought you would want to keep the original method categories, just keeping the method source from the MCZ. Unfortunately my knowledge of managing such changes falls well short of knowing how to go about that :( Hope this has all made sense and is helpful Cheers, S On 27 Sep 2008, at 06:58, Stéphane Ducasse wrote:
On Sep 26, 2008, at 10:07 PM, Simon Kirk wrote:
hi Stef.
Hmm, strange. How are you viewing the diffs? If I browse the MCZ in a Monticello browser I see extensions to these classes:
BrowserCommentTextMorph BrowserRequestor CanvasCharacterScanner Character ConnectionQueue GrafPort MultiCanvasCharacterScanner NaturalLanguageTranslator Random RemoteString TranscriptStream
Is this the diffs you're talking about? If so, I think they're correct. It's possible my rough list below may have missed some changes.
I see the same but I cannot see the diff between the changes and what is in the image (for example in the merge tools I do not (changed) and the like.
Stef
Cheers, Simon
On 26 Sep 2008, at 20:20, Stéphane Ducasse wrote:
Simon
with which machine did you create you mcz? Because apparently I can see the diffs for other packages.
Can somebody else check the pinesoft package I put in the pharoInbox?
Stef
Hi all.
Gary and I decided we ought to give out an MCZ of our fixes that we've put together over the last two years.
Obviously some of those we found have been pulled into Pharo already, but the attached MCZ represents those that we think are still relevant :)
This is a rough list of the fixes:
1. Fixed flaky borwser comment text area sometime not showing.
2. Added getArgumentPermutation to support RefactoringEngine.
3. Fixes to CanvasCharacterScanner and MultiCanvasCharacterScanner to correctly align the first line of text when centered/justifed etc.
4. Added more constant names to Character class.
5. Modified ConnectionQueue to not accept connections when queue is full.
6. Changed GrafPort to answer a MultiDisplayScanner when appropriate (allows subclasses of MultiNewParagraph).
7. NaturalLanguageTranslator startup postion move to after PasteUpMorph since it will show a progress bar.
8. Fix to Random>>nextInt: to allow large numbers which would be out of range if using Floats (as mentioned recently on dev, use of Floats is dodgy anyway...)
9. Changed TranscriptStream>>clear to use a new buffer (was just reset which could leave a massive collection).
10. Changed RemoteString to handle concurrent processes safely. This one's particularly interesting: we were load-testing our Seaside app here and getting lots of syntax errors when hitting the image with around the 20 concurrent processes due to source file access. After this change we were hitting it with approximately 500 concurrent processes, and the failure was in the Java load tester (it timed out).
Hope just submitting a .mcz is OK! :)
Cheers, Simon and Gary
****************************************************************************************************************************************** This email is from Pinesoft Limited. Its contents are confidential to the intended recipient(s) at the email address(es) to which it has been addressed. It may not be disclosed to or used by anyone other than the addressee(s), nor may it be copied in anyway. If received in error, please contact the sender, then delete it from your system. Although this email and attachments are believed to be free of virus, or any other defect which might affect any computer or IT system into which they are received and opened, it is the responsibility of the recipient to ensure that they are virus free and no responsibility is accepted by Pinesoft for any loss or damage arising in any way from receipt or use thereof. *******************************************************************************************************************************************
Pinesoft Limited are registered in England, Registered number: 2914825. Registered office: 266-268 High Street, Waltham Cross, Herts, EN8 7EA <Pinesoft-Fixes-Misc-gvc.24.mcz> _______________________________________________ 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 from Pinesoft Limited. Its contents are confidential to the intended recipient(s) at the email address(es) to which it has been addressed. It may not be disclosed to or used by anyone other than the addressee(s), nor may it be copied in anyway. If received in error, please contact the sender, then delete it from your system. Although this email and attachments are believed to be free of virus, or any other defect which might affect any computer or IT system into which they are received and opened, it is the responsibility of the recipient to ensure that they are virus free and no responsibility is accepted by Pinesoft for any loss or damage arising in any way from receipt or use thereof. *******************************************************************************************************************************************
Pinesoft Limited are registered in England, Registered number: 2914825. Registered office: 266-268 High Street, Waltham Cross, Herts, EN8 7EA
_______________________________________________ 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 from Pinesoft Limited. Its contents are confidential to the intended recipient(s) at the email address(es) to which it has been addressed. It may not be disclosed to or used by anyone other than the addressee(s), nor may it be copied in anyway. If received in error, please contact the sender, then delete it from your system. Although this email and attachments are believed to be free of virus, or any other defect which might affect any computer or IT system into which they are received and opened, it is the responsibility of the recipient to ensure that they are virus free and no responsibility is accepted by Pinesoft for any loss or damage arising in any way from receipt or use thereof. ******************************************************************************************************************************************* Pinesoft Limited are registered in England, Registered number: 2914825. Registered office: 266-268 High Street, Waltham Cross, Herts, EN8 7EA
Hi simon This is what I meant. I wanted to understand the problem because when we merge this is important to see the diff. stef On Sep 27, 2008, at 10:07 PM, Simon Kirk wrote:
Hmm, OK, I've had a dig around.
I tried with a Pharo0.1-10074-oneclick package, and I think I see what you mean: viewing changes via the MC browser on the package I attached simply shows the entire method in red - even though if I go and find the equivalent method in the image it exists and should be showing changes instead.
I then tried with a Pharo0.1-PolymorphTT package, as I'm more familiar with the diff tool from Gary's work. Again, the same problem.
However, if I load the MCZ into the package, then pick, say, BrowserCommentTextMorph>>#hidePane and view the versions of the method, I can then see both the original method (sd 11/20/2005 21:26) and Gary's new version, and the differences between the two.
So, perhaps the problem is that the Monticello browser can't show you differences between methods when one method is in the image under one class category, while the one in the Monticello package to be loaded is under a different one (the method in this case is an extension, so the method category for #hidePane would change from "displaying" to "*Pinesoft-Fixes-Misc"
I hope that makes sense. I would have thought you would want to keep the original method categories, just keeping the method source from the MCZ.
Unfortunately my knowledge of managing such changes falls well short of knowing how to go about that :(
Hope this has all made sense and is helpful Cheers, S
On 27 Sep 2008, at 06:58, Stéphane Ducasse wrote:
On Sep 26, 2008, at 10:07 PM, Simon Kirk wrote:
hi Stef.
Hmm, strange. How are you viewing the diffs? If I browse the MCZ in a Monticello browser I see extensions to these classes:
BrowserCommentTextMorph BrowserRequestor CanvasCharacterScanner Character ConnectionQueue GrafPort MultiCanvasCharacterScanner NaturalLanguageTranslator Random RemoteString TranscriptStream
Is this the diffs you're talking about? If so, I think they're correct. It's possible my rough list below may have missed some changes.
I see the same but I cannot see the diff between the changes and what is in the image (for example in the merge tools I do not (changed) and the like.
Stef
Cheers, Simon
On 26 Sep 2008, at 20:20, Stéphane Ducasse wrote:
Simon
with which machine did you create you mcz? Because apparently I can see the diffs for other packages.
Can somebody else check the pinesoft package I put in the pharoInbox?
Stef
Hi all.
Gary and I decided we ought to give out an MCZ of our fixes that we've put together over the last two years.
Obviously some of those we found have been pulled into Pharo already, but the attached MCZ represents those that we think are still relevant :)
This is a rough list of the fixes:
1. Fixed flaky borwser comment text area sometime not showing.
2. Added getArgumentPermutation to support RefactoringEngine.
3. Fixes to CanvasCharacterScanner and MultiCanvasCharacterScanner to correctly align the first line of text when centered/justifed etc.
4. Added more constant names to Character class.
5. Modified ConnectionQueue to not accept connections when queue is full.
6. Changed GrafPort to answer a MultiDisplayScanner when appropriate (allows subclasses of MultiNewParagraph).
7. NaturalLanguageTranslator startup postion move to after PasteUpMorph since it will show a progress bar.
8. Fix to Random>>nextInt: to allow large numbers which would be out of range if using Floats (as mentioned recently on dev, use of Floats is dodgy anyway...)
9. Changed TranscriptStream>>clear to use a new buffer (was just reset which could leave a massive collection).
10. Changed RemoteString to handle concurrent processes safely. This one's particularly interesting: we were load-testing our Seaside app here and getting lots of syntax errors when hitting the image with around the 20 concurrent processes due to source file access. After this change we were hitting it with approximately 500 concurrent processes, and the failure was in the Java load tester (it timed out).
Hope just submitting a .mcz is OK! :)
Cheers, Simon and Gary
****************************************************************************************************************************************** This email is from Pinesoft Limited. Its contents are confidential to the intended recipient(s) at the email address(es) to which it has been addressed. It may not be disclosed to or used by anyone other than the addressee(s), nor may it be copied in anyway. If received in error, please contact the sender, then delete it from your system. Although this email and attachments are believed to be free of virus, or any other defect which might affect any computer or IT system into which they are received and opened, it is the responsibility of the recipient to ensure that they are virus free and no responsibility is accepted by Pinesoft for any loss or damage arising in any way from receipt or use thereof. *******************************************************************************************************************************************
Pinesoft Limited are registered in England, Registered number: 2914825. Registered office: 266-268 High Street, Waltham Cross, Herts, EN8 7EA <Pinesoft-Fixes-Misc-gvc.24.mcz> _______________________________________________ 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 from Pinesoft Limited. Its contents are confidential to the intended recipient(s) at the email address(es) to which it has been addressed. It may not be disclosed to or used by anyone other than the addressee(s), nor may it be copied in anyway. If received in error, please contact the sender, then delete it from your system. Although this email and attachments are believed to be free of virus, or any other defect which might affect any computer or IT system into which they are received and opened, it is the responsibility of the recipient to ensure that they are virus free and no responsibility is accepted by Pinesoft for any loss or damage arising in any way from receipt or use thereof. *******************************************************************************************************************************************
Pinesoft Limited are registered in England, Registered number: 2914825. Registered office: 266-268 High Street, Waltham Cross, Herts, EN8 7EA
_______________________________________________ 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 from Pinesoft Limited. Its contents are confidential to the intended recipient(s) at the email address(es) to which it has been addressed. It may not be disclosed to or used by anyone other than the addressee(s), nor may it be copied in anyway. If received in error, please contact the sender, then delete it from your system. Although this email and attachments are believed to be free of virus, or any other defect which might affect any computer or IT system into which they are received and opened, it is the responsibility of the recipient to ensure that they are virus free and no responsibility is accepted by Pinesoft for any loss or damage arising in any way from receipt or use thereof.
*******************************************************************************************************************************************
Pinesoft Limited are registered in England, Registered number: 2914825. Registered office: 266-268 High Street, Waltham Cross, Herts, EN8 7EA
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
Hi Stef, my fault. The override methods are not categorised properly, I'll fix and send a gain if you like. Gary. ----- Original Message ----- From: "Stéphane Ducasse" <stephane.ducasse@inria.fr> To: "An open mailing list to discuss any topics related to an open-sourceSmalltalk" <pharo-project@lists.gforge.inria.fr> Sent: Sunday, September 28, 2008 8:12 AM Subject: Re: [Pharo-project] A .mcz of Pinesoft's accumulated fixes applicableto Pharo Hi simon This is what I meant. I wanted to understand the problem because when we merge this is important to see the diff. stef On Sep 27, 2008, at 10:07 PM, Simon Kirk wrote:
Hmm, OK, I've had a dig around.
I tried with a Pharo0.1-10074-oneclick package, and I think I see what you mean: viewing changes via the MC browser on the package I attached simply shows the entire method in red - even though if I go and find the equivalent method in the image it exists and should be showing changes instead.
I then tried with a Pharo0.1-PolymorphTT package, as I'm more familiar with the diff tool from Gary's work. Again, the same problem.
However, if I load the MCZ into the package, then pick, say, BrowserCommentTextMorph>>#hidePane and view the versions of the method, I can then see both the original method (sd 11/20/2005 21:26) and Gary's new version, and the differences between the two.
So, perhaps the problem is that the Monticello browser can't show you differences between methods when one method is in the image under one class category, while the one in the Monticello package to be loaded is under a different one (the method in this case is an extension, so the method category for #hidePane would change from "displaying" to "*Pinesoft-Fixes-Misc"
I hope that makes sense. I would have thought you would want to keep the original method categories, just keeping the method source from the MCZ.
Unfortunately my knowledge of managing such changes falls well short of knowing how to go about that :(
Hope this has all made sense and is helpful Cheers, S
On 27 Sep 2008, at 06:58, Stéphane Ducasse wrote:
On Sep 26, 2008, at 10:07 PM, Simon Kirk wrote:
hi Stef.
Hmm, strange. How are you viewing the diffs? If I browse the MCZ in a Monticello browser I see extensions to these classes:
BrowserCommentTextMorph BrowserRequestor CanvasCharacterScanner Character ConnectionQueue GrafPort MultiCanvasCharacterScanner NaturalLanguageTranslator Random RemoteString TranscriptStream
Is this the diffs you're talking about? If so, I think they're correct. It's possible my rough list below may have missed some changes.
I see the same but I cannot see the diff between the changes and what is in the image (for example in the merge tools I do not (changed) and the like.
Stef
Cheers, Simon
On 26 Sep 2008, at 20:20, Stéphane Ducasse wrote:
Simon
with which machine did you create you mcz? Because apparently I can see the diffs for other packages.
Can somebody else check the pinesoft package I put in the pharoInbox?
Stef
Hi all.
Gary and I decided we ought to give out an MCZ of our fixes that we've put together over the last two years.
Obviously some of those we found have been pulled into Pharo already, but the attached MCZ represents those that we think are still relevant :)
This is a rough list of the fixes:
1. Fixed flaky borwser comment text area sometime not showing.
2. Added getArgumentPermutation to support RefactoringEngine.
3. Fixes to CanvasCharacterScanner and MultiCanvasCharacterScanner to correctly align the first line of text when centered/justifed etc.
4. Added more constant names to Character class.
5. Modified ConnectionQueue to not accept connections when queue is full.
6. Changed GrafPort to answer a MultiDisplayScanner when appropriate (allows subclasses of MultiNewParagraph).
7. NaturalLanguageTranslator startup postion move to after PasteUpMorph since it will show a progress bar.
8. Fix to Random>>nextInt: to allow large numbers which would be out of range if using Floats (as mentioned recently on dev, use of Floats is dodgy anyway...)
9. Changed TranscriptStream>>clear to use a new buffer (was just reset which could leave a massive collection).
10. Changed RemoteString to handle concurrent processes safely. This one's particularly interesting: we were load-testing our Seaside app here and getting lots of syntax errors when hitting the image with around the 20 concurrent processes due to source file access. After this change we were hitting it with approximately 500 concurrent processes, and the failure was in the Java load tester (it timed out).
Hope just submitting a .mcz is OK! :)
Cheers, Simon and Gary
****************************************************************************************************************************************** This email is from Pinesoft Limited. Its contents are confidential to the intended recipient(s) at the email address(es) to which it has been addressed. It may not be disclosed to or used by anyone other than the addressee(s), nor may it be copied in anyway. If received in error, please contact the sender, then delete it from your system. Although this email and attachments are believed to be free of virus, or any other defect which might affect any computer or IT system into which they are received and opened, it is the responsibility of the recipient to ensure that they are virus free and no responsibility is accepted by Pinesoft for any loss or damage arising in any way from receipt or use thereof. *******************************************************************************************************************************************
Pinesoft Limited are registered in England, Registered number: 2914825. Registered office: 266-268 High Street, Waltham Cross, Herts, EN8 7EA <Pinesoft-Fixes-Misc-gvc.24.mcz> _______________________________________________ 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 from Pinesoft Limited. Its contents are confidential to the intended recipient(s) at the email address(es) to which it has been addressed. It may not be disclosed to or used by anyone other than the addressee(s), nor may it be copied in anyway. If received in error, please contact the sender, then delete it from your system. Although this email and attachments are believed to be free of virus, or any other defect which might affect any computer or IT system into which they are received and opened, it is the responsibility of the recipient to ensure that they are virus free and no responsibility is accepted by Pinesoft for any loss or damage arising in any way from receipt or use thereof. *******************************************************************************************************************************************
Pinesoft Limited are registered in England, Registered number: 2914825. Registered office: 266-268 High Street, Waltham Cross, Herts, EN8 7EA
_______________________________________________ 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 from Pinesoft Limited. Its contents are confidential to the intended recipient(s) at the email address(es) to which it has been addressed. It may not be disclosed to or used by anyone other than the addressee(s), nor may it be copied in anyway. If received in error, please contact the sender, then delete it from your system. Although this email and attachments are believed to be free of virus, or any other defect which might affect any computer or IT system into which they are received and opened, it is the responsibility of the recipient to ensure that they are virus free and no responsibility is accepted by Pinesoft for any loss or damage arising in any way from receipt or use thereof.
*******************************************************************************************************************************************
Pinesoft Limited are registered in England, Registered number: 2914825. Registered office: 266-268 High Street, Waltham Cross, Herts, EN8 7EA
_______________________________________________ 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
Though that seems to make no difference... Gary ----- Original Message ----- From: "Gary Chambers" <gazzaguru2@btinternet.com> To: "An open mailing list to discuss any topics related to anopen-sourceSmalltalk" <pharo-project@lists.gforge.inria.fr> Sent: Thursday, October 02, 2008 10:06 AM Subject: Re: [Pharo-project] A .mcz of Pinesoft's accumulated fixesapplicableto Pharo
Hi Stef, my fault. The override methods are not categorised properly, I'll fix and send a gain if you like.
Gary.
Ok I think that this is a MC "bug" Stef On Oct 2, 2008, at 11:12 AM, Gary Chambers wrote:
Though that seems to make no difference...
Gary ----- Original Message ----- From: "Gary Chambers" <gazzaguru2@btinternet.com
To: "An open mailing list to discuss any topics related to anopen- sourceSmalltalk" <pharo-project@lists.gforge.inria.fr> Sent: Thursday, October 02, 2008 10:06 AM Subject: Re: [Pharo-project] A .mcz of Pinesoft's accumulated fixesapplicableto Pharo
Hi Stef, my fault. The override methods are not categorised properly, I'll fix and send a gain if you like.
Gary.
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
Indeed. I've poked around a bit and it doesn't pick up stuff in image for new packages it would seem. Only changes for previous versions of the package being merged. I think it looks possible to change it to do so though! Gary. ----- Original Message ----- From: "Stéphane Ducasse" <stephane.ducasse@inria.fr> To: "An open mailing list to discuss any topics related to an open-sourceSmalltalk" <pharo-project@lists.gforge.inria.fr> Sent: Thursday, October 02, 2008 11:27 AM Subject: Re: [Pharo-project] A .mcz of Pinesoft's accumulatedfixesapplicableto Pharo
Ok I think that this is a MC "bug"
Stef On Oct 2, 2008, at 11:12 AM, Gary Chambers wrote:
Though that seems to make no difference...
Gary ----- Original Message ----- From: "Gary Chambers" <gazzaguru2@btinternet.com
To: "An open mailing list to discuss any topics related to anopen- sourceSmalltalk" <pharo-project@lists.gforge.inria.fr> Sent: Thursday, October 02, 2008 10:06 AM Subject: Re: [Pharo-project] A .mcz of Pinesoft's accumulated fixesapplicableto Pharo
Hi Stef, my fault. The override methods are not categorised properly, I'll fix and send a gain if you like.
Gary.
_______________________________________________ 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, Oct 02, 2008 at 11:44:21AM +0100, Gary Chambers wrote:
Indeed. I've poked around a bit and it doesn't pick up stuff in image for new packages it would seem. Only changes for previous versions of the package being merged. I think it looks possible to change it to do so though!
http://bugs.squeak.org/view.php?id=7208 I'll look into it. I just rewrote the image snapshotting code, so I think I know what to do. The diff tool takes two snapshots and compares them. Image snapshots are built from the MethodReferences passed in from PackageInfo. To make a diff with overrides, the snapshot will have to additionally snapshot any methods or classes that appear in the compared package. That shouldn't be too hard. -- Matthew Fulmer -- http://mtfulmer.wordpress.com/
Should be useful, especially for Pharo (incoming pakage-less fixes). ----- Original Message ----- From: "Matthew Fulmer" <tapplek@gmail.com> To: <pharo-project@lists.gforge.inria.fr> Sent: Tuesday, October 07, 2008 5:31 PM Subject: Re: [Pharo-project] A .mcz of Pinesoft'saccumulatedfixesapplicableto Pharo
On Thu, Oct 02, 2008 at 11:44:21AM +0100, Gary Chambers wrote:
Indeed. I've poked around a bit and it doesn't pick up stuff in image for new packages it would seem. Only changes for previous versions of the package being merged. I think it looks possible to change it to do so though!
http://bugs.squeak.org/view.php?id=7208
I'll look into it. I just rewrote the image snapshotting code, so I think I know what to do.
The diff tool takes two snapshots and compares them. Image snapshots are built from the MethodReferences passed in from PackageInfo. To make a diff with overrides, the snapshot will have to additionally snapshot any methods or classes that appear in the compared package. That shouldn't be too hard.
-- Matthew Fulmer -- http://mtfulmer.wordpress.com/
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
Hi matthew I'm not sure the fixes of Gary and Simon were overrides. But indeed this would be cool to have. We will start to harvest some Kernel-Extension items Stef On Oct 7, 2008, at 6:31 PM, Matthew Fulmer wrote:
On Thu, Oct 02, 2008 at 11:44:21AM +0100, Gary Chambers wrote:
Indeed. I've poked around a bit and it doesn't pick up stuff in image for new packages it would seem. Only changes for previous versions of the package being merged. I think it looks possible to change it to do so though!
http://bugs.squeak.org/view.php?id=7208
I'll look into it. I just rewrote the image snapshotting code, so I think I know what to do.
The diff tool takes two snapshots and compares them. Image snapshots are built from the MethodReferences passed in from PackageInfo. To make a diff with overrides, the snapshot will have to additionally snapshot any methods or classes that appear in the compared package. That shouldn't be too hard.
-- Matthew Fulmer -- http://mtfulmer.wordpress.com/
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
Latest with the method categories done approppriately for overrides... Regards, Gary. ----- Original Message ----- From: "Stéphane Ducasse" <stephane.ducasse@inria.fr> To: "Pharo Development" <pharo-project@lists.gforge.inria.fr> Sent: Tuesday, October 07, 2008 6:18 PM Subject: Re: [Pharo-project] A .mcz of Pinesoft's accumulatedfixesapplicabletoPharo
Hi matthew
I'm not sure the fixes of Gary and Simon were overrides. But indeed this would be cool to have. We will start to harvest some Kernel-Extension items
Stef
On Oct 7, 2008, at 6:31 PM, Matthew Fulmer wrote:
On Thu, Oct 02, 2008 at 11:44:21AM +0100, Gary Chambers wrote:
Indeed. I've poked around a bit and it doesn't pick up stuff in image for new packages it would seem. Only changes for previous versions of the package being merged. I think it looks possible to change it to do so though!
http://bugs.squeak.org/view.php?id=7208
I'll look into it. I just rewrote the image snapshotting code, so I think I know what to do.
The diff tool takes two snapshots and compares them. Image snapshots are built from the MethodReferences passed in from PackageInfo. To make a diff with overrides, the snapshot will have to additionally snapshot any methods or classes that appear in the compared package. That shouldn't be too hard.
-- Matthew Fulmer -- http://mtfulmer.wordpress.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
On Tue, Oct 07, 2008 at 07:18:27PM +0200, St?phane Ducasse wrote:
Hi matthew
I'm not sure the fixes of Gary and Simon were overrides. But indeed this would be cool to have. We will start to harvest some Kernel-Extension items
ok. I made this work in Monticello.impl-mtf.579 I'll update the LPF script so you can start using it (and yes, I'm still working on freeing LPF from the pbwiki) The merge tool shows anything that overwrites something outside of the package (other than an override) as a conflict. -- Matthew Fulmer -- http://mtfulmer.wordpress.com/
On Tue, Oct 07, 2008 at 04:51:12PM -0700, Matthew Fulmer wrote:
On Tue, Oct 07, 2008 at 07:18:27PM +0200, St?phane Ducasse wrote:
Hi matthew
I'm not sure the fixes of Gary and Simon were overrides. But indeed this would be cool to have. We will start to harvest some Kernel-Extension items
ok. I made this work in Monticello.impl-mtf.579
I'll update the LPF script so you can start using it
Done: HTTPSocket httpFileIn: 'installer.pbwiki.com/f/LPF.st'. -- Matthew Fulmer -- http://mtfulmer.wordpress.com/
participants (4)
-
Gary Chambers -
Matthew Fulmer -
Simon Kirk -
Stéphane Ducasse