Hi!
Yesterday I identified and solved a bug related to Source Anchors and
friends. Maybe someone can double check why I did.
Test: #testImportFileAnchors
New versions:
Famix-Tests-Core-Alexandre_Bergel.4
Famix-Extensions-Alexandre_Bergel.120
Famix-SourceAnchor-Alexandre_Bergel.18
Cheers,
Alexandre
--
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
It may be of some interest one day.
JavaScript Meta-Object System: http://code.google.com/p/joose-js/
Thanks to Norbert for the link.
Cheers,
Alexandre
--
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
if you take a model and click on an elements I see that the GC is kicked in
each time I change a list element.
There is something strange. We saw that with cyrille.
Stef
HI doru
I have a list of functions, I select the source tab to see its source.
Now when I select the next functions, the source tab gets deselected.
Is it possible to get the tab stay accross element navigation when it makes sense?
Stef
Hi all,
I am looking at srcML, and I see that it make XML files from Java and C++ source code.
Since we use it for C source code, it should be possible to make it works with C++ and java.
This strategy allows us to not us a special tool for each language.
What do you think about it ?
Cheers
---
Jannik Laval
Hi!
I have been looking for a method that give me the depth of the class
hierarchy under a particular class. Doru pointed me the method
FAMIXClass>>maxHierarchyOfChildren. But I was not able to make it work.
I imported Morph into moose, and try to send #maxHierarchyOfChildren
to the famix representation of Canvas or Morph. It simply loops.
#maxHierarchyOfChildren and its unique caller (#ahh) are not tested.
I try to look at the implementation of maxHierarchyOfChildren, but it
was a bit obscure to me (almost midnight here :) I decided to write my
own:
-=-=-=-=-=-=-=-=-=-=-=-=
FAMIXClass>>subclassHierarchyDepth
<property: #SHD longName: 'Subclass hierarchy Depth' description:
'The depth of the class hierarchy for which I am the root'>
^ (self directSubclasses isEmpty or: [ self isStub ])
ifTrue: [ 0 ]
ifFalse:
[ | currentMaxDepth|
currentMaxDepth := 0.
self
subclassesDo:
[ :aClass | currentMaxDepth := currentMaxDepth max: aClass
subclassHierarchyDepth ].
1 + currentMaxDepth ]
-=-=-=-=-=-=-=-=-=-=-=-=
Any one can comment on maxHierarchyOfChildren? Does it make sense to
remove maxHierarchyOfChildren and add my subclassHierarchyDepth?
Cheers,
Alexandre
--
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
I would like really to have a separate windows that would display all the time the
source anchor of the entity under my mouse.
Source is an important artefact and seeing it is important (without getting a new window
or having to click on a menu).
Stef
Hi!
I have a question regarding browseMeta. In the Map depicted in the
lower pane of the browser, I see two distinct hierarchies, where
FAMIXEntity and MooseEntity are the roots, respectively. However,
FAMIXEntity is a subclass of MooseEntity. Why is there two distinct
hierarchies then?
I haven't checked at a deeper level. I am just wondering.
Cheers,
Alexandre
--
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.