Status: New
Owner: ----
Labels: Type-Defect Priority-Medium Component-VerveineJ Milestone-4.7
New issue 895 by andreho...(a)gmail.com: Lack of entities in verveineJ model
http://code.google.com/p/moose-technology/issues/detail?id=895
I'm parsing the single .java attached file (I have also copied in the end
of this message), and I have some points:
- A stub class FileUtils is not created. As consequence the receiver os the
static invocation "FileUtils.close(ti)" (see last line) is "nil".
- A stub class ArchiveScanner (superclass) is not created.
What do you think about that?
In addition (I believe it is OK):
- A stub class Map is created as FAMIXParameterizableClass (it should just
be used to Generics, no?).
- A 'V' FAMIXParameterType is created
- A Comparable is created as FAMIXParameterizedType
Maybe these three points are coming from the class Map in Java, then it is
OK.
Basically this is the code attached:
=========
public class TarScanner extends ArchiveScanner {
...
protected void fillMapsFromArchive(Resource src, String encoding,
Map fileEntries, Map
matchFileEntries,
Map dirEntries, Map matchDirEntries)
{
TarEntry entry = null;
TarInputStream ti = null;
try {
try {
ti = new TarInputStream(src.getInputStream());
} catch (IOException ex) {
throw new BuildException("problem opening " + srcFile, ex);
}
while ((entry = ti.getNextEntry()) != null) {
Resource r = new TarResource(src, entry);
String name = entry.getName();
if (entry.isDirectory()) {
name = trimSeparator(name);
dirEntries.put(name, r);
if (match(name)) {
matchDirEntries.put(name, r);
}
} else {
fileEntries.put(name, r);
if (match(name)) {
matchFileEntries.put(name, r);
}
}
}
} catch (IOException ex) {
throw new BuildException("problem reading " + srcFile, ex);
} finally {
FileUtils.close(ti);
}
}
...
=========
Hi Doru,
I posted this at the wrong list … probably arrived you, but still. Repost on the proper list.
> Hi Doru,
>
> Feel free to improve on the tool. Some things I agree are not very neatly coded.
>
> Cheers,
> Diego
>
>> Hi Diego,
>>
>> I did not forget about your announcement. I am still going through it. There are things that I would like changed, but nevertheless we now have a first robust solution for in-image configuration development.
>>
>> I will come back with suggestions (and code modifications :)).
>>
>> Cheers,
>> Doru
>>
>
Ok, so I will be able to use "attributes" for a good rendering with
the laggered tree layout.
Well, I did not know that, that's why I've
created a new class which is now called ROCompactTreeNode (or something
like that), but maybe it's not useful to keep it, just a little refactor
of the algorithms, and it will works with regular ROElement.
Igor told
us, that the problem was due to the fact that we keep visualizations
open, while quitting our image, and that when launching it athens try to
draw on a surface (external to pharo) that does not exist any more.
Updating to 2.1 solve the problem, we have an error instead of an
exit.
Regards
Mathieu
Begin forwarded message:
> From: Igor Stasenko <siguctua(a)gmail.com>
> Subject: Re: Else I can do a mail to the moose mailing...
> Date: May 4, 2013 12:45:36 AM GMT+02:00
> To: Stéphane Ducasse <stephane.ducasse(a)inria.fr>
>
> So i spent a little time to make an experiment, how fast i can render
> the tree visualization.
>
> (gray screenshot)
> This one i can zoom& pan in real time without even noticing any sort of delay:
>
> (AthensTreeView
> openOn: Collection extentBlock: [ :cls | (cls allInstVarNames
> size+1)*5 @ (cls methodDict size + 1) ]
> childsBlock: [ :cls | cls subclasses ]).
>
>
> (white screenshot)
> This one a bit sluggish, because of drawing too many curves (but if
> you comment curve drawing - connecting each child with its parent,
> and leave drawing only boxes.. it will be quite fast.. for real-time zoom & pan)
>
> (AthensTreeView
> openOn: Object extentBlock: [ :cls | (cls allInstVarNames
> size+1)*5 @ (cls methodDict size + 1) ]
> childsBlock: [ :cls | cls subclasses ]).
>
> And sure, smart people usually employ different visualizations for
> such large trees, since it makes no sense:
> Object withAllSubclasses size
> 6882
>
> but even without it, if you limit max zoom, you can go very fast (
> there is a lot of literature how you can do geometry culling (by
> occluding unnecessary
> geometry to not waste cycles on it, since it is outside of view anyways)
>
>
> --
> Best regards,
> Igor Stasenko.
Hello, I'm trying to put on the same graph a cloud of points and a straight
line calculated by the method of least squares. Not working very well when
I use a code like what goes down:
|x y data scat line k xx yy renderer|
> x := #(0 1 2 3 4).
> y := #(0 1 2 3 4).
> data := OrderedCollection new.
> k := 0.
> x size timesRepeat: [
> k := k + 1. xx := x at: k. yy := y at: k.
> data add: xx @ yy
> ].
> scat := ESScatterPlot new.
> scat
> x: [:each| each value x];
> y: [:each| each value y];
> baseAxisLine;
> valueAxis;
> models: data.
> line := ESLineDiagram new.
> line
> x: [:each| each value x];
> y: [:each| each value y];
> models: data.
>
> renderer := ESDiagramRenderer new.
> renderer compositeDiagram
> add: scat;
> add: line.
>
> renderer open
The chart can be seen in http://tinypic.com/r/34zeicg/5.
Already grateful for any assistance.
--
Sds.,
Francisco Ary Martins
http://chicoary.wordpress.com
----
"Estes são os meus princípios. Se você não gosta deles, eu tenho outros."
Grouch Marx
Working with Athens and Roassal on Linux, the image crashes with the
following stack error.
Reproducing it not quite easy but its related to taskbar and now we cannot
launch image anymore :-(.
---------- Forwarded message ----------
From: <mathieubmddehouck(a)mailoo.org>
Date: Fri, May 3, 2013 at 4:01 PM
Subject: Bug Pharo
To: Usman Bhatti <usman.bhatti(a)gmail.com>
**
Built from: NBCoInterpreter NativeBoost-CogPlugin-EstebanLorenzano.18 uuid:
a53445f9-c0c0-4015-97a3-be7db8d9ed6b Mar 13 2013
With: NBCogit NativeBoost-CogPlugin-EstebanLorenzano.18 uuid:
a53445f9-c0c0-4015-97a3-be7db8d9ed6b Mar 13 2013
Revision: git://gitorious.org/cogvm/blessed.git Commit:
412abef33cbed05cf1d75329e451d71c0c6aa5a7 Date: 2013-03-13 17:48:50 +0100
By: Esteban Lorenzano <estebanlm(a)gmail.com> Jenkins build #14535
Build host: Linux linux-ubuntu-10 2.6.32-38-server #83-Ubuntu SMP Wed Jan 4
11:26:59 UTC 2012 x86_64 GNU/Linux
plugin path: /home/matisyahu/Bureau/pharo2.0/bin [default:
/home/matisyahu/Bureau/pharo2.0/bin/]
C stack backtrace:
/home/matisyahu/Bureau/pharo2.0/bin/pharo[0x80a0c0c]
/home/matisyahu/Bureau/pharo2.0/bin/pharo[0x80a0f28]
[0xb776d40c]
/home/matisyahu/Bureau/pharo2.0/bin/pharo[0x8120215]
/home/matisyahu/Bureau/pharo2.0/bin/pharo[0x8091d8a]
/home/matisyahu/Bureau/pharo2.0/bin/pharo[0x8092300]
/home/matisyahu/Bureau/pharo2.0/bin/pharo[0x8092417]
[0x7714c711]
/home/matisyahu/Bureau/pharo2.0/bin/pharo(interpret+0x7a6)[0x8094f36]
/home/matisyahu/Bureau/pharo2.0/bin/pharo(main+0x2b3)[0x80a18b3]
/lib/i386-linux-gnu/libc.so.6(__libc_start_main+0xf3)[0xb75764d3]
Smalltalk stack dump:
0xbfe67f44 M NBFFICallout class(NBNativeCodeGen class)>retrySend:
0x777e5098: a(n) NBFFICallout class
0xbfe67f68 I AthensCairoSurface>extent 0x7e24df84: a(n) AthensCairoSurface
0xbfe67f94 I [] in ROAthensCanvas>paintBackground: 0x7eb0f00c: a(n)
ROAthensCanvas
0xbfe67fb4 M BlockClosure>ensure: 0x7eb0f4b4: a(n) BlockClosure
0xbfe67fdc I AthensCairoMatrix>restoreAfter: 0x7e24dfdc: a(n)
AthensCairoMatrix
0xbfe62e0c I ROAthensCanvas>paintBackground: 0x7eb0f00c: a(n) ROAthensCanvas
0xbfe62e30 I ROView>drawOn: 0x7e23cbac: a(n) ROView
0xbfe62e58 I [] in ROViewStack>drawOn: 0x7e23d060: a(n) ROViewStack
0xbfe62e80 I [] in ROViewStack>viewReverseDo: 0x7e23d060: a(n) ROViewStack
0xbfe62ea0 M OrderedCollection>reverseDo: 0x7e23d24c: a(n) OrderedCollection
0xbfe62ec4 I ROViewStack>viewReverseDo: 0x7e23d060: a(n) ROViewStack
0xbfe62ee8 I ROViewStack>drawOn: 0x7e23d060: a(n) ROViewStack
0xbfe62f14 I [] in ROAthensMorph>drawOn: 0x7e2483f0: a(n) ROAthensMorph
0xbfe62f3c I [] in AthensCairoSurface>drawDuring: 0x7e24df84: a(n)
AthensCairoSurface
0xbfe62f5c M BlockClosure>ensure: 0x7eb0b400: a(n) BlockClosure
0xbfe62f80 I AthensCairoSurface>drawDuring: 0x7e24df84: a(n)
AthensCairoSurface
0xbfe62fa4 I ROAthensMorph>drawOn: 0x7e2483f0: a(n) ROAthensMorph
0xbfe62fc0 M FormCanvas(Canvas)>draw: 0x7eb0b08c: a(n) FormCanvas
0xbfe62fdc M FormCanvas(Canvas)>drawMorph: 0x7eb0b08c: a(n) FormCanvas
0xbfe61e50 M [] in ROAthensMorph(Morph)>fullDrawOn: 0x7e2483f0: a(n)
ROAthensMorph
0xbfe61e68 M FormCanvas>roundCornersOf:in:during: 0x7eb0b08c: a(n)
FormCanvas
0xbfe61e8c M FormCanvas(Canvas)>roundCornersOf:during: 0x7eb0b08c: a(n)
FormCanvas
0xbfe61eb0 M [] in ROAthensMorph(Morph)>fullDrawOn: 0x7e2483f0: a(n)
ROAthensMorph
0xbfe61ecc M BlockClosure>on:do: 0x7eb0b1e8: a(n) BlockClosure
0xbfe61eec M ROAthensMorph(Morph)>fullDrawOn: 0x7e2483f0: a(n) ROAthensMorph
0xbfe61f08 M FormCanvas(Canvas)>fullDraw: 0x7eb0b08c: a(n) FormCanvas
0xbfe61f24 M FormCanvas(Canvas)>fullDrawMorph: 0x7eb0b08c: a(n) FormCanvas
0xbfe61f44 M [] in SystemWindow(Morph)>drawSubmorphsOn: 0x7e248620: a(n)
SystemWindow
0xbfe61f64 M Array(SequenceableCollection)>reverseDo: 0x7e24a7c4: a(n) Array
0xbfe61f80 M [] in SystemWindow(Morph)>drawSubmorphsOn: 0x7e248620: a(n)
SystemWindow
0xbfe61f9c M FormCanvas>clipBy:during: 0x7eb0ad44: a(n) FormCanvas
0xbfe61fc0 M SystemWindow(Morph)>drawSubmorphsOn: 0x7e248620: a(n)
SystemWindow
0xbfe61fe0 M [] in SystemWindow(Morph)>fullDrawOn: 0x7e248620: a(n)
SystemWindow
0xbfe60e8c M FormCanvas>roundCornersOf:in:during: 0x7eb0ad44: a(n)
FormCanvas
0xbfe60eb0 M FormCanvas(Canvas)>roundCornersOf:during: 0x7eb0ad44: a(n)
FormCanvas
0xbfe60ed4 M [] in SystemWindow(Morph)>fullDrawOn: 0x7e248620: a(n)
SystemWindow
0xbfe60ef0 M BlockClosure>on:do: 0x7eb0ae30: a(n) BlockClosure
0xbfe60f10 M SystemWindow(Morph)>fullDrawOn: 0x7e248620: a(n) SystemWindow
0xbfe60f2c M FormCanvas(Canvas)>fullDraw: 0x7eb0ad44: a(n) FormCanvas
0xbfe60f48 M FormCanvas(Canvas)>fullDrawMorph: 0x7eb0ad44: a(n) FormCanvas
0xbfe60f9c M [] in WorldState>drawWorld:submorphs:invalidAreasOn:
0x772d559c: a(n) WorldState
0xbfe60fd4 I Rectangle>allAreasOutsideList:startingAt:do: 0x7eaa8a14: a(n)
Rectangle
0xbfe59eb4 I Rectangle>allAreasOutsideList:do: 0x7eaa8a14: a(n) Rectangle
0xbfe59ef8 I [] in WorldState>drawWorld:submorphs:invalidAreasOn:
0x772d559c: a(n) WorldState
0xbfe59f1c M Array(SequenceableCollection)>do: 0x7eab4608: a(n) Array
0xbfe59f54 I WorldState>drawWorld:submorphs:invalidAreasOn: 0x772d559c:
a(n) WorldState
0xbfe59f8c M [] in WorldState>displayWorld:submorphs: 0x772d559c: a(n)
WorldState
0xbfe59fac I FormCanvas>roundCornersOf:in:during: 0x7eab4500: a(n)
FormCanvas
0xbfe59fd8 I FormCanvas(Canvas)>roundCornersOf:during: 0x7eab4500: a(n)
FormCanvas
0xbfe58eec I WorldState>displayWorld:submorphs: 0x772d559c: a(n) WorldState
0xbfe58f14 I PasteUpMorph>privateOuterDisplayWorld 0x772c60c0: a(n)
PasteUpMorph
0xbfe58f34 I PasteUpMorph>displayWorld 0x772c60c0: a(n) PasteUpMorph
0xbfe58f58 I [] in WorldState>displayWorldSafely: 0x772d559c: a(n)
WorldState
0xbfe58f74 M BlockClosure>on:do: 0x7eab437c: a(n) BlockClosure
0xbfe58f94 M BlockClosure>ifError: 0x7eab437c: a(n) BlockClosure
0xbfe58fb8 I WorldState>displayWorldSafely: 0x772d559c: a(n) WorldState
0xbfe58fdc I WorldState>doOneCycleNowFor: 0x772d559c: a(n) WorldState
0x7e2f1720 s WorldState>doOneCycleFor:
0x7e2f177c s PasteUpMorph>doOneCycle
0x7e256bcc s [] in MorphicUIManager>spawnNewProcess
0x7e256b48 s [] in BlockClosure>newProcess
Most recent primitives
basicNew
at:put:
class
class
replaceFrom:to:with:startingAt:
class
class
replaceFrom:to:with:startingAt:
class
class
replaceFrom:to:with:startingAt:
class
class
replaceFrom:to:with:startingAt:
class
class
replaceFrom:to:with:startingAt:
class
class
replaceFrom:to:with:startingAt:
class
class
replaceFrom:to:with:startingAt:
class
class
replaceFrom:to:with:startingAt:
species
basicNew:
replaceFrom:to:with:startingAt:
basicNew
platformId
basicNew
at:
class
class
class
compare:with:collated:
at:
at:
at:
at:
new:
at:put:
at:put:
at:put:
species
basicNew:
replaceFrom:to:with:startingAt:
replaceFrom:to:with:startingAt:
class
stringHash:initialHash:
class
class
compare:with:collated:
perform:
basicNew:
basicNew
at:put:
at:put:
at:put:
at:put:
species
basicNew:
replaceFrom:to:with:startingAt:
species
basicNew:
at:put:
at:put:
at:put:
at:put:
basicNew:
basicNew
class
class
replaceFrom:to:with:startingAt:
class
class
replaceFrom:to:with:startingAt:
at:put:
at:put:
at:put:
at:put:
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
class
at:put:
species
basicNew:
replaceFrom:to:with:startingAt:
objectAt:
basicNew
at:
class
class
class
compare:with:collated:
at:
at:
at:
at:
class
objectAt:
newMethod:header:
at:put:
at:put:
at:put:
at:put:
at:put:
at:put:
at:put:
at:put:
at:put:
at:put:
at:put:
at:put:
at:put:
at:put:
at:put:
at:put:
at:put:
at:put:
at:put:
at:put:
at:put:
at:put:
at:put:
at:put:
at:put:
at:put:
at:put:
at:put:
at:put:
at:put:
at:put:
at:put:
at:put:
at:put:
at:put:
at:put:
at:put:
at:put:
at:put:
at:put:
at:put:
at:put:
at:put:
at:put:
at:put:
at:put:
at:put:
at:put:
at:put:
at:put:
at:put:
at:put:
at:put:
at:put:
at:put:
at:put:
at:put:
at:put:
at:put:
at:put:
at:put:
at:put:
at:put:
at:put:
at:put:
at:put:
at:put:
at:put:
at:put:
at:put:
at:put:
at:put:
at:put:
at:put:
at:put:
at:put:
at:put:
at:put:
at:put:
at:put:
at:put:
at:put:
at:put:
at:put:
at:put:
at:put:
at:put:
at:put:
at:put:
at:put:
at:put:
at:put:
at:put:
at:put:
objectAt:
objectAt:
objectAt:put:
objectAt:
objectAt:put:
objectAt:
objectAt:put:
objectAt:
objectAt:put:
objectAt:
objectAt:put:
objectAt:
objectAt:
shallowCopy
shallowCopy
basicAt:put:
objectAt:
objectAt:put:
at:
at:put:
at:
at:put:
at:
at:put:
at:
at:put:
objectAt:
objectAt:
objectAt:
objectAt:
objectAt:
flushCache
at:put:
objectAt:
objectAt:
new:
terminateTo:
objectAt:
objectAt:
perform:withArguments:
width
stack page bytes 4096 available headroom 3300 minimum unused headroom 3512
(Segmentation fault)
Abandon
Hi!
According to Jenkins there is one failing test: https://ci.inria.fr/moose/job/roassal/169/
In a fresh 2.0 image, all Roassal's tests pass. I've downloaded the Jenkins image to see what's going on.
There is the class RORadialTreeLayout_N. I guess Jenkins is downloading Mathieu package?
Mathieu's work has already been included in Roassal. The class has also been renamed and reworked. No need to install this package.
Cheers,
Alexandre
--
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
Now starting to fix 250 warnings on moose raised by Andre Hora's
migrating rules from Pharo 1.4 to 2.0
"The longuest journey must start with a single step" let's see how far
we can go
nicolas
--
Nicolas Anquetil -- RMod research team (Inria)
See <https://ci.inria.fr/moose/job/moose-latest-dev-4.8/390/>
------------------------------------------
Started by upstream project "glamour" build number 78
originally caused by:
[URLTrigger] A change within the response URL invocation (log)
Building remotely on moose-slave in workspace <https://ci.inria.fr/moose/job/moose-latest-dev-4.8/ws/>
Deleting project workspace... done
[moose-latest-dev-4.8] $ /bin/sh -xe /tmp/hudson4695044469712589725.sh
+ bash
+ wget --quiet -O - http://get.pharo.org/20+vmLatest
bash: line 1: html: No such file or directory
bash: line 2: syntax error near unexpected token `<'
bash: line 2: `<head><title>500 Internal Server Error</title></head>
'
Build step 'Execute shell' marked build as failure
Archiving artifacts
Recording test results
Hello,
Just some more migration warnings in packages related to XML in Moose.
Change from:
SystemNavigation default
to:
SystemNavigation new
Where?
XMLNode class>>notifications
XMLNodeName class>>notifications
XMLObservableList class>>notifications
--
Andre Hora
Hi
We got problems with internet yesterday at INRIA, and so it
seems that my commit (as seen in the image) was not on smalltalkhub.
I
did a new commit, it must be number 9.
Regards
Mathieu
Hi All,
I'm trying to make ConfiguratonOfQuicksilver work.
When running:
*Gofer new*
* smalltalkhubUser: 'Quicksilver' project: 'Quicksilver';*
* package: 'ConfigurationOfQuicksilver';*
* load.*
*ConfigurationOfQuicksilver loadDefault.*
I get:
'Could not resolve: Quicksilver-Core-Tests [Quicksilver-Core-Tests] in
/[...]/package-cache http://smalltalkhub.com/mc/Quicksilver/Quicksilver/main
'
Does anybody have an idea why MetacelloFetchingMCSpecLoader is looking in
my local package-cache for the package and not on smalltalkhub?
Cheers,
Dennis
Hi,
I'm doing a line chart with EyeSee and I didn't manage to find a way to do the following things:
1. change the overall size of the chart
2. have string labels on the y axis, i.e., I create the chart using 1, 2, 3 as y-values but I'd like to have a way to map those 1,2,3 to three strings. Is it possible?
3. related to (1), is it possible to change the yScale? I have only three different values on the yAxis but I'd like the chart to be displayed better (i.e., now it is really squeezed).
I browsed the souce code of EyeSee and the examples but it seems that these three "features" are not clearly accessible.
Thanks in advance,
R
Hi!
Name cloud and Overview pyramid has been migrated into Roassal.
There are two new tests which explains fixes of ROLabel
(ROAbstractLabel>>testSize2 and #testSize3).
Cheers,
Jura
Hi,
I looked over the Roassal blueprint implementation. We start to have a working solution. Good work.
However, there is still some work left :)
What is nice:
- Edges are properly drawn below the nodes
- The implementation layer shows a tree layout
- The morph menus work
- The layers do not capture the interaction
What is not so nice:
- Morph menus are shown even on left click. They should only appear on right click. I fixed this.
- The size of the root node grows too large and we get a little gap at the bottom (see the first attached picture). This has likely something to do with the latest fix from Alex related to padding.
- When dragging a method or attribute node outside of the bounds of the parent, the parent continues to grow (see the second picture). This is not good :). The problem is that the logic depends on setting the parent to have extensible size. Instead, in the case of the blueprint, it should be the responsibility of the layout to grow the parent as needed without actually making the parent to be extensible. This is why in Mondrian the layout could be set to stretch.
- Right now, the edges start and end in the center of the nodes. The convention in the blueprint is to have edges drawn starting from the right side and end on the left side of nodes.
In any case, I already added it to the MooseFinder (the blueprint tab).
Cheers,
Doru
--
www.tudorgirba.com
"There are no old things, there are only old ways of looking at them."
Hi all,
Recently I have been working on some configurations, and I felt the need to have something better (more specific for configurations) to edit my configurations than the standard OB / Nautilus. On the PharoConf Doru told me about GTMetataceller, but this tool needed some work. So I did some work on it, and now I am looking for feedback how you like it. It is built in glamour, and you get it, when you download the latest Moose. Just type GTMetaceller open somewhere in the browser and you are ready to rock. If you know how Metacello works, the editor should be more or less self explaining. In case you run into trouble, there is a help button that explains the tool a bit.
I also did a screencast: http://youtu.be/LaJF_dfGsD8.
If you want to load this in your image, just do:
Gofer new
url: 'http://www.smalltalkhub.com/mc/Moose/GToolkit/main';
package: 'ConfigurationOfGToolkit';
load.
(Smalltalk at: #ConfigurationOfGToolkit) project development load.
(Smalltalk at: #GTMetaceller) open.
Note: I only tested this in Pharo 2.0, this loading does not work in Pharo 1.4. It should work in Pharo 1.4, since loading the GT-Metaceller package in Moose 4.7 works fine. I think I should create a stable version as well … that loads in Pharo 1.4 as well.
Cheers,
Diego
Hi,
I would like to start adopting Athens behind Roassal. I believe there
already is a binding. The question is what keeps us from adding Athens as a
dependency to RoassalMorphic?
Cheers,
Doru
--
www.tudorgirba.com
"Every thing has its own flow"