Closed JanBliznicenko closed 3 years ago
Yes, I can confirm the issue. Actually the only way to get rid of the errors in Calypso was to disable the UML in Settings. I did forked and renamed the classes plus some methods in the version of Geometry which is used by Roassal2. Part of it could be automated and some parts not, so here it is the relevant repository: https://github.com/hernanmd/geometry
I have not tried, but maybe there is no need to load Geometry in the baseline of Roassal2.
It is used by RTBorderAttachPoint - directly and indirectly via methods used only by RTBorderAttachPoint.
I have remove the dependency to old geometry, currently roassal2 depends on https://github.com/pharo-contributions/Geometry
Do you agree with the changes?
Can you maintain this dependency when installing on Pharo 8? It should be easy to have this behavior.
It seems to work fine in both Pharo 8 and 9, great. Maybe locking Pharo 8 version of Roassal2 (I mean using specific tag/branch when loading to Pharo 8) would be neccessary soon, just like with Pharo 7, but I don't see that as major issue.
Tests are green now I will create a new release
Well done Milton!
I noticed one issue. RTBorderAttachPoints cannot be created between elements where one of them has 0 size. It is usually not a problem, but I had to increase size (from 0) of my invisible "helping" boxes (where line has to go from or to empty space)
Hello, Roassal2 has dependency on Geometry project from https://github.com/peteruhnak/geometry. Modified version of Geometry project has been recently adopted by Pharo ( https://github.com/pharo-contributions/Geometry ) and integrated into the main image. Roassal3 depends on this new Geometry repository from pharo-contributions and the same Roassal3 is used for drawing diagrams in Calypso.
Loading Roassal2 causes replacing the new Geometry repository by the old one, causing Roassal3, and therefore Calypso, to not work properly and causing errors when using the Calypso.
Steps to reproduce:
It is possible that Roassal2 would work even with current implementation of Geometry, but that would require multiple modifications. @hernanmd attempted to solve this by making fork of Peter Uhnak's repo and renaming everything to prevent names conflicts in his fork of Roassal2: https://github.com/hernanmd/Roassal2/commits/master His solution seems to be working.