Trygve,
Trygve Reenskaug wrote:
Hannes, I tried Squeak3.8a-5987.image and the collaboration worked.
I then tried Squeak3.8g-6527 and the loading of connectors failed due to an array out of bounds bug in StrikeFontSet>>maxWidth.
Try to compile this change before you load Connectors 1.9. StrikeFontSet>>maxWidth ^ (fontArray at: (2 min: fontArray size)) maxWidth. Load Connectors 1.9 Load BabySRE-TRee11
Yes this worked! The collaboration diagram tool is very useful. It emphasizes the fact that everything is an object in Smalltalk. It allows mind-map like browsing/navigating and documentation of designs. On can think of having graphical browsers now.
I did an example today and put the diagram here http://minnow.cc.gatech.edu/squeak/1934
It is very easy and straightforward to use. Not more than 10 minutes to learn using it. It extends the IDE in an important way.
The downside so far: The installation process is not smooth. I have installed in a 3.8g-6527 image - Monticello223 - RefactoringBrowser3.8.10 (or was it 11?) (RFB) - Fix for RFB - maxWidth-Fix in StrikeFontSet (see other thread) - Connectors 1.9 - and finally SRE
Remarks:
a) SRE works fine. But when I develop the decompiler does not work correctly anymore. The parameters and local variables are replaced by t1,t2,t3.... I do not know where this comes from.
b) RefactoringBrowser Today Marcus Denker put out 3.8.12 where you no longer need to install the fix (mentioned in another thread today).
c) Redoing an 3.8base image with additional packages I then tried to redo the same thing from scratch again this evening but this time SRE didn't load anymore.
d) Current work method So for the time beeing I will use the image with SRE that works by loading my code from the Monticello repository do draw the diagrams wheras I will develop it in another image. Not ideal but a big step forward in any case.
e) base image plus MC, RFB, Conn1.9, SRE If somebody other is successful assembling a 3.8gamma image with Monticello, RFB, Connectors and SRE without the aforementioned limit I will happily provide webspace that other poeple can get started right away. This will be for a few months as I think later we will have better solutions (New version of SqueakMap).
Thank you , Trygve, for this path-leading contribution!
Hannes
On Tuesday 21 December 2004 12:37 pm, hjh-sqlist@lexdb.net wrote:
e) base image plus MC, RFB, Conn1.9, SRE If somebody other is successful assembling a 3.8gamma image with Monticello, RFB, Connectors and SRE without the aforementioned limit I will happily provide webspace that other poeple can get started right away. This will be for a few months as I think later we will have better solutions (New version of SqueakMap).
I routinely use a 3.8g image with MC, RFB, and Connectors2. It happens to be derived from the Squeakland image, but it still works.
Quoting Ned Konz ned@squeakland.org:
On Tuesday 21 December 2004 12:37 pm, hjh-sqlist@lexdb.net wrote:
e) base image plus MC, RFB, Conn1.9, SRE If somebody other is successful assembling a 3.8gamma image with Monticello, RFB, Connectors and SRE without the aforementioned limit I
will
happily provide webspace that other poeple can get started right away.
This
will be for a few months as I think later we will have better solutions (New version of SqueakMap).
I routinely use a 3.8g image with MC, RFB, and Connectors2. It happens to be
derived from the Squeakland image, but it still works.
Ned, Yes I can confirm in addition that 3.8g (most recent, main stream), MC, RFB and Connectors1.9 work fine.
Trygve currently builds his SRE tools on Connectors1.9. But of course I would prefer to see that your rewrite Connectors 2.0 is used. But these kinds of things depend on timing issues. You have to take something existing and to build on it. I suppose that a lot of additional expertise gained through the process went into Connectors2.0 and I will read in the code, when I have time . Are there any things to say about API changes?
On the other side from a user point of view SRE is just fine as is.
In any case, thank you Ned for this wonderful contribution of Connectors, with which you put others into a position to develop exciting things. (Jacaranda, SRE ...)
Hannes
On Wednesday 22 December 2004 12:36 am, hjh-sqlist@lexdb.net wrote:
I suppose that a lot of additional expertise gained through the process went into Connectors2.0 and I will read in the code, when I have time . Are there any things to say about API changes?
From the point of view of simple use (creation, subclassing, etc.), the API is about the same. As Stephane Rollandin points
I have added hooks for connecting and maintaining a graph model that parallels the structure of the connectors and morphs in your drawing. This is the biggest change to the API in v2. I originally had a version that included the model classes themselves (with a property dictionary for end-user extension). However, as I worked on it I removed all of the graph model stuff except for the hooks. The problem was that the uses I have and see for Connectors have different models of what a hierarchical graph is. I couldn't figure out a way to model the differing views of hierarchical graphs without getting in the way of later extension and use.
I've been reading and trying to digest a PhD thesis paper by Giorgio Busatto that is a kind of "grand unified theory" of hierarchical graphs. He describes a considerably more intricate structure that can represent all the different kinds of hierarchical graphs that he was aware of by reading other work and using other software. I haven't done any work with it besides reading and taking notes, though, as I've been busy with other things.
On the other side from a user point of view SRE is just fine as is.
In any case, thank you Ned for this wonderful contribution of Connectors, with which you put others into a position to develop exciting things. (Jacaranda, SRE ...)
You're welcome!
Hi,
I took a fresh Squeak3.8g-6527 image. I opened a SqueakMap Package Loader. I installed MCInstaller 11, Monticello 223, Refactoring Browser 3.8.13 . Then I tried to install Connectors 2.1-173 and I got this message :
--- Message begin --- This package depends on the following classes: AlansTextPlusMorph You must resolve these dependencies before you will be able to load these definitions: AlansTextPlusMorph class>>initialize AlansTextPlusMorph class>>unload AlansTextPlusMorph>>releaseCachedState AlansTextPlusMorph>>step AlansTextPlusMorph>>visibleMorphs AlansTextPlusMorph>>visibleMorphs:
Select Proceed to continue, or close this window to cancel the operation. --- Message end ---
I will try to find that class.
Joseph
----- Original Message ----- From: "Ned Konz" ned@squeakland.org To: "The general-purpose Squeak developers list" squeak-dev@lists.squeakfoundation.org Sent: Wednesday, December 22, 2004 5:25 AM Subject: Re: [ANN] BabySRE (Squeak Reverse Engineering) posted on SqueakMap
On Tuesday 21 December 2004 12:37 pm, hjh-sqlist@lexdb.net wrote:
e) base image plus MC, RFB, Conn1.9, SRE If somebody other is successful assembling a 3.8gamma image with Monticello, RFB, Connectors and SRE without the aforementioned limit I will happily provide webspace that other poeple can get started right away. This will be for a few months as I think later we will have better solutions (New version of SqueakMap).
I routinely use a 3.8g image with MC, RFB, and Connectors2. It happens to be derived from the Squeakland image, but it still works.
-- Ned Konz http://bike-nomad.com/squeak/
-- No virus found in this incoming message. Checked by AVG Anti-Virus. Version: 7.0.298 / Virus Database: 265.6.4 - Release Date: 22/12/2004
On 28/12/04 15:09, "Joseph Frippiat" joseph.frippiat@skynet.be wrote:
Hi,
I took a fresh Squeak3.8g-6527 image. I opened a SqueakMap Package Loader. I installed MCInstaller 11, Monticello 223, Refactoring Browser 3.8.13 . Then I tried to install Connectors 2.1-173 and I got this message :
--- Message begin --- This package depends on the following classes: AlansTextPlusMorph You must resolve these dependencies before you will be able to load these definitions: AlansTextPlusMorph class>>initialize AlansTextPlusMorph class>>unload AlansTextPlusMorph>>releaseCachedState AlansTextPlusMorph>>step AlansTextPlusMorph>>visibleMorphs AlansTextPlusMorph>>visibleMorphs:
Select Proceed to continue, or close this window to cancel the operation. --- Message end ---
I will try to find that class.
Joseph
----- Original Message ----- From: "Ned Konz" ned@squeakland.org To: "The general-purpose Squeak developers list" squeak-dev@lists.squeakfoundation.org Sent: Wednesday, December 22, 2004 5:25 AM Subject: Re: [ANN] BabySRE (Squeak Reverse Engineering) posted on SqueakMap
On Tuesday 21 December 2004 12:37 pm, hjh-sqlist@lexdb.net wrote:
e) base image plus MC, RFB, Conn1.9, SRE If somebody other is successful assembling a 3.8gamma image with Monticello, RFB, Connectors and SRE without the aforementioned limit I will happily provide webspace that other poeple can get started right away. This will be for a few months as I think later we will have better solutions (New version of SqueakMap).
I routinely use a 3.8g image with MC, RFB, and Connectors2. It happens to be derived from the Squeakland image, but it still works.
-- Ned Konz http://bike-nomad.com/squeak/
-- No virus found in this incoming message. Checked by AVG Anti-Virus. Version: 7.0.298 / Virus Database: 265.6.4 - Release Date: 22/12/2004
-- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.298 / Virus Database: 265.6.5 - Release Date: 26/12/2004
Joseph : AlansTextPlusMorph was removed because changes to ScrollPane. I send a fileOut , fileIn in your image and try again. Hope not other changed or removed class was needed, but if load stop again look missing class in earlier Squeak images (3.7 or 3.6), fileOut and fileOut for a quick and dirty solution until Ned changes code.
Edgar
Quoting "Lic. Edgar J. De Cleene" edgardec2001@yahoo.com.ar:
On 28/12/04 15:09, "Joseph Frippiat" joseph.frippiat@skynet.be wrote:
Hi,
I took a fresh Squeak3.8g-6527 image. I opened a SqueakMap Package Loader. I installed MCInstaller 11, Monticello 223, Refactoring Browser 3.8.13 . Then I tried to install Connectors 2.1-173 and I got this message :
--- Message begin --- This package depends on the following classes: AlansTextPlusMorph You must resolve these dependencies before you will be able to load these definitions: AlansTextPlusMorph class>>initialize AlansTextPlusMorph class>>unload AlansTextPlusMorph>>releaseCachedState AlansTextPlusMorph>>step AlansTextPlusMorph>>visibleMorphs AlansTextPlusMorph>>visibleMorphs:
Select Proceed to continue, or close this window to cancel the operation. --- Message end ---
I will try to find that class.
Joseph
----- Original Message ----- From: "Ned Konz" ned@squeakland.org To: "The general-purpose Squeak developers list" squeak-dev@lists.squeakfoundation.org Sent: Wednesday, December 22, 2004 5:25 AM Subject: Re: [ANN] BabySRE (Squeak Reverse Engineering) posted on
SqueakMap
On Tuesday 21 December 2004 12:37 pm, hjh-sqlist@lexdb.net wrote:
e) base image plus MC, RFB, Conn1.9, SRE If somebody other is successful assembling a 3.8gamma image with Monticello, RFB, Connectors and SRE without the aforementioned limit I will happily provide webspace that other poeple can get started right away. This will be for a few months as I think later we will have better solutions (New version of SqueakMap).
I routinely use a 3.8g image with MC, RFB, and Connectors2. It happens to be derived from the Squeakland image, but it still works.
-- Ned Konz http://bike-nomad.com/squeak/
-- No virus found in this incoming message. Checked by AVG Anti-Virus. Version: 7.0.298 / Virus Database: 265.6.4 - Release Date: 22/12/2004
-- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.298 / Virus Database: 265.6.5 - Release Date: 26/12/2004
Joseph : AlansTextPlusMorph was removed because changes to ScrollPane. I send a fileOut , fileIn in your image and try again. Hope not other changed or removed class was needed, but if load stop again look missing class in earlier Squeak images (3.7 or 3.6), fileOut and fileOut for a quick and dirty solution until Ned changes code.
Edgar
If I remember correctly I just hit 'proceed' . As far as I understand only some methods regarding the 'AlansTextPlusMorph' are not loaded. Anyhow SRE works fine for me currently in 3.8g.
Hannes
Hannes, First a piece of magic: Yesterday, I used SqueakMap to load Connectors 2.0 followed by BabySRE. It failed. I then tried Connectors1.9, BabySRE. It failed because SqueakMap did not retrieve all of the Baby Monticello file. There is some invisible interference. May be through the Monticello cache??
Today, I started again with a fresh 3.7-5989 image, fixed the maxWidth bug and loaded Connectors 1.9, BabySRE. It worked! Mysteriouser and mysteriouser. I clearly have to look into the installation process. I probably do something horribly illegal somewhere.
I do not understand your queation about decompiler. The decompiler is used when there is no source code. It converts the bytecodes of the CompiledMethod to text, using t1, t2, ... as names for the formal parameters and local variables.
I need more info to be of use...
Cheers --Trygve
--
At 21:37 21.12.2004, Hannes wrote:
Trygve,
Trygve Reenskaug wrote:
Hannes, I tried Squeak3.8a-5987.image and the collaboration worked.
I then tried Squeak3.8g-6527 and the loading of connectors failed due to an array out of bounds bug in StrikeFontSet>>maxWidth.
Try to compile this change before you load Connectors 1.9. StrikeFontSet>>maxWidth ^ (fontArray at: (2 min: fontArray size)) maxWidth. Load Connectors 1.9 Load BabySRE-TRee11
Yes this worked! The collaboration diagram tool is very useful. It emphasizes the fact that everything is an object in Smalltalk. It allows mind-map like browsing/navigating and documentation of designs. On can think of having graphical browsers now.
I did an example today and put the diagram here http://minnow.cc.gatech.edu/squeak/1934
It is very easy and straightforward to use. Not more than 10 minutes to learn using it. It extends the IDE in an important way.
The downside so far: The installation process is not smooth. I have installed in a 3.8g-6527 image
- Monticello223
- RefactoringBrowser3.8.10 (or was it 11?) (RFB)
- Fix for RFB
- maxWidth-Fix in StrikeFontSet (see other thread)
- Connectors 1.9
- and finally SRE
Remarks:
a) SRE works fine. But when I develop the decompiler does not work correctly anymore. The parameters and local variables are replaced by t1,t2,t3.... I do not know where this comes from.
b) RefactoringBrowser Today Marcus Denker put out 3.8.12 where you no longer need to install the fix (mentioned in another thread today).
c) Redoing an 3.8base image with additional packages I then tried to redo the same thing from scratch again this evening but this time SRE didn't load anymore.
d) Current work method So for the time beeing I will use the image with SRE that works by loading my code from the Monticello repository do draw the diagrams wheras I will develop it in another image. Not ideal but a big step forward in any case.
e) base image plus MC, RFB, Conn1.9, SRE If somebody other is successful assembling a 3.8gamma image with Monticello, RFB, Connectors and SRE without the aforementioned limit I will happily provide webspace that other poeple can get started right away. This will be for a few months as I think later we will have better solutions (New version of SqueakMap).
Thank you , Trygve, for this path-leading contribution!
Hannes
On Wednesday 22 December 2004 3:34 am, Trygve Reenskaug wrote:
First a piece of magic: Yesterday, I used SqueakMap to load Connectors 2.0 followed by BabySRE. It failed. I then tried Connectors1.9, BabySRE. It failed because SqueakMap did not retrieve all of the Baby Monticello file. There is some invisible interference. May be through the Monticello cache??
Trygve, I'm happy you're finding Connectors useful. I'd like to get Connectors 2 usable for your project as well.
Could you try the Connectors 2.1 version that I just registered with SqueakMap and is downloadable from http://bike-nomad.com/squeak/ConnectorsBasic-173-Squeak37g.sar ?
I should note that Connectors 2 does not yet have dashed lines, though it does have bitmap fill patterns that could work for some uses. If you're trying to copy the UML drawing style, this could be a drawback for you.
Today, I started again with a fresh 3.7-5989 image, fixed the maxWidth bug and loaded Connectors 1.9, BabySRE. It worked!
Are you using the Full image or the Basic image?
Thanks,
Trygve
Quoting Trygve Reenskaug trygver@ifi.uio.no:
Hannes, First a piece of magic: Yesterday, I used SqueakMap to load Connectors 2.0 followed by BabySRE. It failed. I then tried Connectors1.9, BabySRE. It failed because SqueakMap did not retrieve all of the Baby Monticello file. There is some invisible interference. May be through the Monticello cache??
I don't know. However I made the same experience - when I tried to rebuild an image loading packages into a base image it didn't work the second time.
Today, I started again with a fresh 3.7-5989 image, fixed the maxWidth bug and loaded Connectors 1.9, BabySRE. It worked! Mysteriouser and mysteriouser. I clearly have to look into the installation process. I probably do something horribly illegal somewhere.
We will have to find out .....
I do not understand your queation about decompiler. The decompiler is used when there is no source code. It converts the bytecodes of the CompiledMethod to text, using t1, t2, ... as names for the formal parameters and local variables.
I need more info to be of use...
In the 3.8gamma image where I have SRE working,
I write for example the follwoing method:
showTab: anInteger self removeMorph: currentTab. currentTab := panes at: anInteger. self addMorph: currentTab frame: (0 @ 0.1 corner: 1.0 @ 1.1)
After I have choosen 'Accept' the method is displayed as
showTab: t1 self removeMorph: currentTab. currentTab := panes at: t1. self addMorph: currentTab frame: (0 @ 0.1 corner: 1.0 @ 1.1)
So parameters and local variables are replaced by other names (t1,t2,t3.....)
I have checked that the sources and changes files are there.
This has not necessarily something to do with SRE, it just means, that I cannot fully use that image and as redoing an 3.8gamma image with SRE seems to be difficult I am somewhat limited. I would like to use SRE in my current working environment. Currently I use is a as a tool to analyse code I have written elsewhere. I load it with Monticello then. And for the time beeing this is fine.
On this list John Pierce did a loader script for 3.8 which he put at http://www.saltypickle.com/Home/10
I will try to use that next week.
Kind regards Hannes
squeak-dev@lists.squeakfoundation.org