Hi,
I've encountered a bug with TRMouseMove.
When registered on canvas it doesn't get fired when mouse is over an
element which has any callback registered.
In TRMorph>>rtMouseMoving:
line shape := self shapeWithActionForPositionInPixels: relativePosition.
doesn't respect what kind of event is actually registered to the shape - so
if I register TRMouseClick on a box, TRMouseMove on canvas will not work.
I would expect the event to always get fired for canvas.
Peter
demo:
------------
view := RTView new.
lbl := RTLabel new elementOn: 'position'.
view add: lbl.
badBox := RTBox new size: 50; color: Color red; element.
badBox translateBy: -50 @ -50.
view add: badBox.
goodBox := RTBox new size: 50; color: Color green; element.
goodBox translateBy: 50 @ -50.
view add: goodBox.
badBox
when: TRMouseClick
do: [ ].
view
when:TRMouseMove
do: [ :evt |
lbl shape text: (view canvas camera fromPixelToSpace: evt position)
printString. lbl update.
view signalUpdate ].
view open.
----------------
Hi,
I am trying to work with composite shapes, but I cannot get anything
meaningful to work. I tried the examples, but they do not work either.
For example, RTComposedShapeExample>>exampleInnerShapes does not lay the
nodes.
Cheers,
Doru
--
www.tudorgirba.com
"Every thing has its own flow"
Hi,
I removed both versions of Graph-ET from the Moose and Glamour
configurations. They are still loadable as separate projects.
Cheers,
Doru
--
www.tudorgirba.com
"Every thing has its own flow"
Hi,
I tried to use the RTUmlClassBuilder, but I realized that it is hardcoded
for Pharo classes. Could we work on making it more customizable?
Cheers,
Doru
--
www.tudorgirba.com
"Every thing has its own flow"
Hi,
I promised to follow with suggestions for improvement in Roassal.
Currently, my main concern is about the fact that RTNest is not explicit.
Let me explain. I want to debug things related to nesting, and for that I
would like to extend the Elements tab of the view with nesting information
(essentially, I would like a tree). I cannot build this easily, and this
shows me that we have a model problem. This is the side-effect of building
custom tools: if the tool costs too much, you might have to think again
about the model (it's similar with the relationship between tests and
models).
RTNest works at the Trachel level, but it should work at the Roassal level.
I would prefer to have in the RTElement links to the nested elements and
have the nesting not done via a loose Trachel callback but by an explicit
relationship. Alex?
Cheers,
Doru
--
www.tudorgirba.com
"Every thing has its own flow"
Hi!
It would be great to be able to add some new menu entry when I right-click on a selected piece of code in a playground.
Can I do that?
Alexandre
--
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
Hi Jan,
Your last commit removed PPContext>>root:, and this made the tests be red.
Could you look at it? :)
Cheers,
Doru
--
www.tudorgirba.com
"Every thing has its own flow"
Doru wrote:
>Indeed. For Pharo models, we should ideally run it on allModelPackages.
When would allModelNamespaces be the correct one?
For java projects, I get an off-by-one (1 extra package for
unpackaged classes).
Stephan
I wonder about this calculation:
nop := aMooseModel allModelNamespaces size.
When I run it on all Glamour packages, I get:
Instead of the 21 packages
Stephan
Hi
When I attach TRMouseClick event on an edge it gets fired but the event
element is nil so I have no reference to the original object. Since RTEdge
is subclass of RTAnnouncableObject I would expect it to work correctly.
-------------
view := RTView new.
el1 := RTEllipse new size: 30; elementOn: 'a'.
el2 := RTEllipse new size: 30; elementOn: 'b'.
el1 translateTo: -50 @ 0.
el2 translateTo: 50 @ 0.
line := RTArrowwedLine edgeFrom: el1 to: el2.
el1 when: TRMouseClick do: [ :event | event element inspect ]. "returns el1"
line when: TRMouseClick do: [ :event | event element inspect ]. "returns
nil"
view add: el1; add:el2; add: line.
view open.
------------------
Thanks,
Peter
Hi,
I am going through the changes made to Moose-RoassalPaintings and some of
the are just broken.
For example:
viewBlueprintOn: was not migrated, but viewBlueprintComplexity was changed
to use Roassal2. This makes it crash.
Please test these changes by trying to generate actual visualizations.
Cheers,
Doru
--
www.tudorgirba.com
"Every thing has its own flow"
Uhm, they are still in PetitParser, and therefore Moose.
I don't have commit rights to the ObjectProfile projects.
Name: ConfigurationOfGraphET2-StephanEggermont.27
Author: StephanEggermont
Time: 4 October 2014, 2:42:44.476823 pm
UUID: 0b8450c8-6656-487c-947b-56d64c2eb82e
Ancestors: ConfigurationOfGraphET2-PabloEstefo.26
development uses baseline
Stephan
Status: New
Owner: ----
Labels: Type-Defect Priority-Critical
New issue 1034 by alexandr...(a)gmail.com: Glamour easel and GTDebugger
http://code.google.com/p/moose-technology/issues/detail?id=1034
Hi!
I have spotted an important bug. If I enter the following in the Glamour
Roassal easel:
view nodes: (1 to: 20).
self halt.
A debugger is open, but I cannot step in. Apparently the code source is not
accessible. This is a major regression...
--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings
Hi,
I would need help for reimplementing the Class Blueprint. The challenge
here is to get the ability to set the height of the boxes to be based on
the maximum height of any of the sybling boxes.
Who can help?
Cheers,
Doru
--
www.tudorgirba.com
"Every thing has its own flow"
Hi all,
I am encountering a regression in Roassal2: before when I had an arrowed line with a label and I removed that line, the label would also disappear. This is no longer the case. :-(
I tried to figure out how to fix it, but the RTEdge I get from the view does not seem to have any link to the label, so I cannot remove it by hand either. What can I do?
BTW: RTArrowwedLine ? Should that not be RTArrowedLine ?
More detailed code below:
“construction"
edge := (RTEdge from: efrom to: eto) model: trans name.
arrow := RTArrowwedLine new color: trans color.
arrow line width: 2.
arrow head width: 2.
arrow withOffsetIfMultiple.
view add: ( (edge + arrow) @ (RTLabelled new color: trans color; view: view; offsetOnEdge: 0.3)) .
“destruction”
(view edgeFromModel: trans name) remove
---> Save our in-boxes! http://emailcharter.org <---
Johan Fabry - http://pleiad.cl/~jfabry
PLEIAD lab - Computer Science Department (DCC) - University of Chile
Dear all,
We are happy to release Hapao2 for Pharo. Ricard Jacas and Alejandro Infante put quite some work on Spy2 (an über cool profiling framework for Pharo) and Hapao2.
Hapao2 is about assessing the test coverage of your code and is a major revamp of Hapao1, which was presented a couple of years ago by Vanessa.
Hapao2 does not only list covered and uncovered methods, as most test coverage tool on Earth will do. Hapao gives a great visualization to easily navigate in your code, assess its complexity, and give you a great visual output telling its coverage.
You need Roassal in your image:
Gofer new smalltalkhubUser: 'ObjectProfile'
project: 'Roassal2';
package: 'ConfigurationOfRoassal2';
load.
(Smalltalk at: #ConfigurationOfRoassal2) load
and you need S2py:
MCHttpRepository
location: 'http://smalltalkhub.com/mc/ObjectProfile/S2py/main'
user: ''
password: ''
New entries will appear in the world menu:
You can run the test coverage on :
- the class classes you have modified,
- on a particular
- on a particular class category
- on the last class categories you have modified
- on the last packages you have modified
Here is a portion of a large coverage:
A technical description of Hapao may be found on http://bergel.eu/download/papers/Berg12c-HapaoSCP.pdf
We are daily using Hapao to help us understand our tests.
Cheers,
Ricardo, Alejandro & Alexandre
--
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
Hi!
I am not sure if other have seen this. Select a piece of text in a workspace, and type:
cmd-shift-‘
=> insert ‘ … ‘ around the selected text
cmd-shift-[
=> insert [ … ]
Cool!
Are there other shortcuts?
Alexandre
--
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.