Hi,
The smalltalk superclass of 'FAMIXSourceAnchor' is 'MooseEntity'. But in its
method #annotation, the superclass described in the pragma #MSEClass:super:
is 'FAMIXEntity'.
I guess it's a problem but my lack of knowledge in Fame doesn't allow me to
be sure.(?)
Hi,
I created a convenience subclass of MooseTask called MooseCustomTask
that allows you to easily display a progress bar. Here is an example:
MooseCustomTask
runWithProgress: [:task |
(1 to: 500000) do: [:each | task increment ] ]
description: 'Demo'
length: 500000
Cheers,
Doru
--
www.tudorgirba.com
"Every thing has its own flow."
Dear List,
While programming with Simon, we bumped into a sensible issue.
Consider the two following methods:
SetupStorage>>selectAllWithType: aSmalltalkClass
^ self select:
[ :each |
"-- select returns an ArrayList"
each isKindOf: aSmalltalkClass ]
RuntimeStorage>>selectAllWithType: aSmalltalkClass
^ byGroup
at: aSmalltalkClass
ifAbsent: [ OrderedCollection new ]
These two methods do not have the same behavior.
We could have something starting with "(byGroup keys select: [:cls |
cls isKindOf: aSmalltalkClass]) ..."
But that would defeat the whole idea of having different storages...
Cheers,
Alexandre
--
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
The problem is due to the repository of Lukas which is not responsive.
Cheers,
Doru
On 29 Nov 2009, at 20:11, Fabrizio Perin wrote:
> Hi Doru,
> I'm not able to load Moose. I think that there are some problem with
> the repository. The whole day I had back a message like: HTTP error
> timout, or something like that. The last time that I tried out I get
> this message: can't find EOCD position. At the end there is the full
> stack. It's a problem of the repository or a problem of my script to
> load moose?
> I'm using the configuration for MooseJEE that you create. has
> something changed in the loading system?
>
> Thanks in advance,
>
> Fabrizio
>
>
> --- The full stack ---
> ZipArchive(Object)>>error:
> ZipArchive>>readFrom:
> MCMczReader>>zip
> MCMczReader>>parseMember:
> MCMczReader>>loadPackage
> MCMczReader(MCVersionReader)>>package
> MCMczReader(MCVersionReader)>>basicVersion
> MCMczReader(MCVersionReader)>>version
> [] in
> MCHttpRepository(MCFileBasedRepository)>>loadVersionFromFileNamed:
> BlockClosure>>valueWithPossibleArgs:
> MCMczReader(ProtoObject)>>ifNotNil:
> MCHttpRepository>>versionReaderForFileNamed:do:
> MCHttpRepository(MCFileBasedRepository)>>loadVersionFromFileNamed:
> GoferVersionReference>>version
> GoferLoad>>addReference:
> [] in GoferLoad>>initializeOn:
> OrderedCollection>>do:
> GoferLoad>>initializeOn:
> GoferLoad class(GoferOperation class)>>on:
> [] in Gofer>>execute:do:
> BlockClosure>>on:do:
> GoferVersionCache class>>during:
> Gofer>>execute:do:
> Gofer>>execute:
> Gofer>>load
> [] in [] in ConfigurationOfMooseJEE class>>ensureMetacello
> SystemDictionary(Dictionary)>>at:ifPresent:
> [] in ConfigurationOfMooseJEE class>>ensureMetacello
> SystemDictionary(Dictionary)>>at:ifAbsent:
> ConfigurationOfMooseJEE class>>ensureMetacello
> ConfigurationOfMooseJEE>>project
> ConfigurationOfMooseJEE class>>project
> ConfigurationOfMooseJEE class>>loadDefault
> ImageSetup>>perinWorkspace
> ImageSetup>>perinSetup
> UndefinedObject>>DoIt
> Compiler>>evaluate:in:to:notifying:ifFail:logged:
> [] in TextMorphForShoutEditor(ParagraphEditor)>>evaluateSelection
> BlockClosure>>on:do:
> - - - - - - - - - - - - - - -
> - - - - - - - - - - - - - - - - - -
> TextMorphForShoutEditor(ParagraphEditor)>>evaluateSelection
> TextMorphForShoutEditor(ParagraphEditor)>>doIt
> [] in TextMorphForShoutEditor(ParagraphEditor)>>doIt:
> TextMorphForShoutEditor
> (ParagraphEditor)>>terminateAndInitializeAround:
> TextMorphForShoutEditor(ParagraphEditor)>>doIt:
> TextMorphForShoutEditor(ParagraphEditor)>>dispatchOnKeyEvent:with:
> TextMorphForShoutEditor(TextMorphEditor)>>dispatchOnKeyEvent:with:
> TextMorphForShoutEditor(ParagraphEditor)>>keystroke:
> TextMorphForShoutEditor(TextMorphEditor)>>keystroke:
> [] in [] in TextMorphForShout(TextMorph)>>keyStroke:
> TextMorphForShout(TextMorph)>>handleInteraction:
> TextMorphForShout(TextMorphForEditView)>>handleInteraction:
> [] in TextMorphForShout(TextMorph)>>keyStroke:
> ECToolSet class>>codeCompletionAround:textMorph:keyStroke:
> DEVToolSet class>>codeCompletionAround:textMorph:keyStroke:
> ToolSet class>>codeCompletionAround:textMorph:keyStroke:
> TextMorphForShout(TextMorph)>>keyStroke:
> TextMorphForShout(TextMorphForEditView)>>keyStroke:
> TextMorphForShout(TextMorph)>>handleKeystroke:
> KeyboardEvent>>sentTo:
> TextMorphForShout(Morph)>>handleEvent:
> TextMorphForShout(Morph)>>handleFocusEvent:
> [] in HandMorph>>sendFocusEvent:to:clear:
> [] in PasteUpMorph>>becomeActiveDuring:
> BlockClosure>>on:do:
> PasteUpMorph>>becomeActiveDuring:
> HandMorph>>sendFocusEvent:to:clear:
> HandMorph>>sendEvent:focus:clear:
> HandMorph>>sendKeyboardEvent:
> HandMorph>>handleEvent:
> HandMorph>>processEvents
> [] in WorldState>>doOneCycleNowFor:
> Array(SequenceableCollection)>>do:
> WorldState>>handsDo:
> WorldState>>doOneCycleNowFor:
> WorldState>>doOneCycleFor:
> PasteUpMorph>>doOneCycle
> [] in Project class>>spawnNewProcess
> [] in BlockClosure>>newProcess
> ------------------------------------------------------------
>
>
>
>
--
www.tudorgirba.com
"Not knowing how to do something is not an argument for how it cannot
be done."
hi all
I would like to display files and folders. I did something like that but it only display folder and I do not like the first nesting (the first folder got the other nested in).
I also found FolderGroup rather boring because it is not polymorphic to folder.
May be we should really start to consider trait for Famix40.
view shape rectangle
width: #numberOfFiles;
height: #numberOfFunctions.
view nodes: folderGroup
forEach: [:each |
view node: each.
view shape rectangle
width: #numberOfFiles;
height: #numberOfFunctions.
view nodes: each allRecursiveFolders.
view nodes: each allRecursiveFiles.
view edgesFrom: #belongsTo.
view treeLayout.
view interaction
popupText: [:aFile | aFile entities first numberOfVariables printString, ' variables x ',
aFile entities first numberOfFunctions printString, ' functions ' ].
]
any suggestion how to code that in a better way?
Mondrian looks too magic for me.
Stef
Hi,
I worked a bit on the FileStructureImporter to work with Filesystem.
The metric calculations are still wrong (see the red test in
FileStructureImporterTest).
In the process, I also refactored a bit FAMIXFile to make it work with
Filesystem. Perhaps this will impact CAnalyzer, but given that it was
not really working before, I guess not in a bad sense. Please let me
know if it broke anything.
There is one conflict in FAMIXFile>>readStream. Currently, there is an
override in CAnalyzer with a wrong implementation. I wanted to commit
the removal of the method, but I do not have commit rights.
Cheers,
Doru
--
www.tudorgirba.com
"Value is always contextual."
Hi all,
I made a DSM visualization of iText (a java open-source project).
In the screenshot there are only inheritances and invocations,
I load the code with inFusion.
But the created mse is not complete, I think.
I posted an issue (223) on moose bug tracker.
Cheers
---
Jannik Laval
---
hi!
Today I worked with Simon on type resolution and struct constructs of C
Version 155 in SqueakSource
Cheers,
Alexandre
--
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.