Hi,
I enhanced Glamour with a first version of a Watcher browser that offers a behavior similar to Quick Preview on Mac.
For example, if you run the code below in a Moose image, and then press Ctrl+Shift+Space you will get a preview of source code in a window floating above the current one. See the attachment.
| browser |
browser := GLMTabulator new.
browser column: #methods.
browser transmit to: #methods; andShow: [:a | a list display: #methods; format: #selector ].
browser transmit from: #methods; toWatcher; andShow: [:a |
a smalltalkCode
smalltalkClass: [ :method | method methodClass ];
display: [:method | method getSource ] ].
browser openOn: GLMBrowser
To get it 100% useable I would need help with some Morphic magic:
- to make the Watcher window not appear in the taskbar
- to make the rendering of Watcher happen in another thread so that it does not block the current UI
Cheers,
Doru
--
www.tudorgirba.com
"Not knowing how to do something is not an argument for how it cannot be done."
Status: New
Owner: ----
Labels: Type-Defect Priority-Medium
New issue 767 by sean.p.d...(a)gmail.com: Book: presentation names are
confusing
http://code.google.com/p/moose-technology/issues/detail?id=767
For example, on
http://www.themoosebook.org/book/internals/glamour/presentations/action-list
ActionListPresentation is referenced, but the class name is
GLMActionListPresentation. So, when I pasted it into a workspace, it was
highlighted red as an unrecognized class. I think it'd be clearer to either
use full presentation class names or spaces between camel case
(e.g. "Action List Presentation").
The same is true for some of the other presentations e.g. DiffPresentation
Status: New
Owner: ----
Labels: Type-Defect Priority-Medium
New issue 644 by cy.delau...(a)gmail.com: A fly by help to show each time the
source code of an entity
http://code.google.com/p/moose-technology/issues/detail?id=644
Maybe it would be interesting when navigating in moose, to always have a
fly by help that show the source code of an element
Status: New
Owner: ----
CC: georgega...(a)gmail.com
Labels: Type-Defect Priority-Medium Component-ExternalTools
New issue 782 by tudor.gi...(a)gmail.com: inFamix should export basic metrics
for methods
http://code.google.com/p/moose-technology/issues/detail?id=782
inFamix should export basic method metrics:
- LOC (lines of code)
- NOS (number of statements)
- CYCLO (cyclomatic complexity)
Status: New
Owner: ----
CC: alexandr...(a)gmail.com
Labels: Type-Defect Priority-Medium Component-Roassal Milestone-4.7
New issue 797 by tudor.gi...(a)gmail.com: ROLine should support width
http://code.google.com/p/moose-technology/issues/detail?id=797
Right now we cannot assign the width of a line. We need this mechanism.
Hi,
In Pharo 1.4, Glamour has a problem with selecting an element in the tree when the element is nested.
The following snippet shows the problem:
browser := GLMBasicExamples new treeWithInitialSelection.
browser openOn: {
#first->{$a->{}. $c->{}. $d->{}}.
#second->{$e->{}. $f->{}}.
#third->{$h->{}}
}.
(browser panes first port: #selection) value: (browser panes first port: #entity) value first value first.
Cheers,
Doru
--
www.tudorgirba.com
"What we can governs what we wish."
Hi,
Here is how to install Athens (I also added this comment to the ConfigurationOfAthens):
1. Install Cairo on your machine
For example, for Mac, you open the terminal and run:
sudo port install -f cairo +universal
More information can be found here:
http://cairographics.org/download/
2. Download the NativeBoost enabled Cog VM from:
https://ci.lille.inria.fr/pharo/view/NativeBoost/
3. Get a Pharo image and run:
Gofer new
squeaksource: 'Athens';
package: 'ConfigurationOfAthens';
load.
(Smalltalk at: #ConfigurationOfAthens) loadDevelopment
4. Play with it. For example:
VGTigerDemo runDemo
Thanks Igor!
Cheers,
Doru
--
www.tudorgirba.com
"Live like you mean it."
Hi!
I've spent a bit of time in trying to port DSM to Roassal. Unfortunately not everything goes as smooth as I wished. The task is clearly doable, but it is a bit more than merely changing MOViewRenderer for ROMondrianViewBuilder.
For example, there is code like:
shapeOfDetailedHeader
^ MOFixedRectangleShape new width: 36; height: 10; withoutBorder; fontSize: 8; fontFamily: 'Accuny'
In Roassal, the width and the height is defined on the element, and not the shape. A ROBox does not know how to display text, it has to be added a ROLabel in it.
Well... I feel the safer is to revert what I have done yesterday, and leaving DSM use Mondrian. Else if someone wants to rethink DSM a bit.
Cheers,
Alexandre
--
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
Hi guys
I would like to take the opportunity that we will be present at PharoConf to organize a Moose
meeting.
- I would like to see how we (INRIA) can allocate some time to improve the configuration of moose.
- and I would like to come with 3 other items where we will invest
- Arki
- so what are the other two that are important for the community?
Stef