loading older athens packages for the athens font problem
by Tudor Girba
Hi,
As you probably know, the latest Athens entails a bug that scrambles text.
For the time being, to work around it, you have to load older versions of
Athens packages. To make it easier, I added a utility in the
Moose-Development-Tools
Please note that this is not a solution. Just a workaround until we manage
to find a solution in Pharo.
See the comments below:
Name: Moose-Development-Tools-TudorGirba.67
Author: TudorGirba
Time: 26 February 2014, 5:34:12.97393 pm
UUID: a2943f1b-a12a-c847-9a91-ce52d016110e
Ancestors: Moose-Development-Tools-TudorGirba.66
added utility for loading older athens packages to correct the font caching
problem described here:
https://pharo.fogbugz.com/f/cases/12777/Athens-font-cacheing-bug
Do:
MooseImageSetupCommandLineHandler new
loadOlderAthensPackagesToCorrectTheFontCachingProblem
Cheers,
Doru
--
www.tudorgirba.com
"Every thing has its own flow"
9 years, 7 months
isInterface = nil when copying a Moose model
by Gustavo Santos
Hi everybody,
I'm currently trying to programatically copy a Moose model
What happens is that only the message isInterface returns nil, when the
original Moose model has this information. All the other "is*" messages
return something or false. I have no problem copying other information from
the model whatsoever.
Looking at the code, this variable is directly set on
FAMIXClass>>#isInterface: and the other ones use the
FAMIXNamedEntity>>modifierSet:for: message (lazy attribution I guess)
So, why this specific information is not set? Can we change this?
Cheers,
--
Gustavo Santos
9 years, 7 months
Moose Dojo - March 4 - Bern
by Tudor Girba
Hi,
On March 4, we will organize a Moose Dojo at the University of Bern. So
far, it looks we will have some 16-20 people joining. The main focus of the
dojo will be on users rather than core code.
If you have a specific issue you want to see addressed (a problem, a
question, etc), please send an email to this mailing list with a short
note. The idea is to prepare a list of issues before the event so that we
can maximize the effectiveness of the interactions. This is particularly
important given that there will be many people around.
More details below.
---------- Forwarded message ----------
From: Mircea Filip Lungu <mircea.lungu(a)gmail.com>
Date: Wed, Feb 26, 2014 at 8:57 AM
Subject: Moose Dojo
To: "SCG (staff)" <scg-staff(a)iam.unibe.ch>, "SCG (all)" <
scg-all(a)iam.unibe.ch>, Andrea Mocci <andrea.mocci(a)usi.ch>, Tommaso <
tommaso.dalsasso(a)gmail.com>, Yuriy Tymchuk <yuriy.tymchuk(a)me.com>, Roberto
Minelli <roberto.minelli(a)usi.ch>, Pattamon.Thamsukati(a)unibe.ch, Roger
Stebler <roger.stebler(a)students.unibe.ch>, cedric.reginster(a)gmail.com,
michu.baertschi(a)students.unibe.ch, christoph.reinhart(a)students.unibe.ch,
dominic.sinu(a)gmx.ch
Cc: Oscar Nierstrasz <oscar(a)iam.unibe.ch>, Tudor Girba <tudor(a)tudorgirba.com>,
Michele Lanza <michele.lanza(a)usi.ch>, Iris Keller <keller(a)iam.unibe.ch>
Hi Folks,
This is a reminder that we are hosting a Moose Dojo at SCG in Bern on
Tuesday, March 4. The start is officially at 10:15 but the informal meeting
starts even earlier.
A tentative program of the day can be found at:
http://scg.unibe.ch/wiki/events/Moose-event-march-4
See you there,
M.
--
www.tudorgirba.com
"Every thing has its own flow"
9 years, 7 months
Roassal Issue with Text Displaying
by Vincent Blondeau
Hello everyone,
Under the latest version of Moose, I am confronted to some problems of
text displaying with Roassal. The text letters are not in the same font.
A first example :
A second example :
And if I zoom in or out, the text is correctly displayed...
That's strange..
I am on Ubuntu x64 and I have the same issue on W7.
Cheers,
Vincent
9 years, 7 months
wishes for GTPlayground
by Alexandre Bergel
Hi!
It would be great to have an historic and managing variables.
Maybe having some button, clickable within the playground.
Cmd-o opens a new pane. Maybe we could have Cmd-O reexcuting the last expression that has been executed?
Alexandre
--
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
9 years, 7 months
Wishes for GTPlayground - Part II
by Alexandre Bergel
It would be great to have a default view.
If I open a playground, and type:
| v s |
v := RTView new.
s := String newFrom: ($A to: $Z), ($a to: $z), ($0 to: $9).
v add: (RTLabel elementOn: s).
v
Cmd-o, then I have the tab ‘State’ selected. Obviously, I want to have ‘View’
How can tab be added? I would like to have an ‘Example’ tab
Cheers,
Alexandre
--
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
9 years, 7 months
tool registry?
by Alexandre Bergel
Hi!
Shouldn’t "GTPlayground registerToolsOn: Smalltalk tools” be in the initialize class method?
I’ve just downloaded the last successful moose image, and opening a workspace does not bring the playground.
Alexandre
--
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
9 years, 7 months
GTPlayground
by Alexandre Bergel
Hi!
Now I am back from holidays, I am catching up with what happens during that February.
My first surprise is GTPlayground, packaged with the Moose image.
This is really cool stuff. I have never thought that the workspace could be such a primitive tool. GTPlayground greatly enhances my workflow when I am in a workspace. Managing variables is still missing apparently, but this is clearly a great match with my dream of a cool Pharo.
Cheers,
Alexandre
--
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
9 years, 7 months
[ANN] FAST Graphic Displayer
by Vincent Blondeau
Hello everyone,
I am developing a API to do some searches and transformations on FAST.
To displaying the FAST AST, I created a tool using Roassal. You can
download it by doing :
Gofer new
smalltalkhubUser: 'VincentBlondeau' project: 'FAST-Refactoring';
package: 'FAST-Displaying';
load.
You can use the tool on a method or a part of a method (ie a FASTEntity)
by generating the FAST models (in a FAST image, right click on a moose
model -> FAST -> generate FAST), and doing, for example :
FASTERDisplay display: MooseModel root first allMethods first
Moreover, I would like to extend this tool to FAMIX and display the
moose model like a forest (group of tree).
For this displaying, I need the children of an entity and its parent.
I found in the MooseModel the functions : children and belongsTo.
Are they dedicated functions for this kind of purpose ?
Because some don't seem to return the right objects like
FAMIXPackage>>children that returning only children Packages and not
children packages and classes.
And in MooseEntity, there is a method "children" whose return is
unexpected...
Thanks for your answers
Cheers,
Vincent Blondeau
9 years, 7 months
minimap in Glamour-Roassal
by Usman Bhatti
Hello,
I am trying to create a roassal minimap in a glamour browser. But I do not
get a minimap when pressing m key.
It might be something to do with how keystrokes are interpreted in Glamour.
can you have a look?
Here's a simple browser with a roassal visualization (adapted from one of
ben's mail on moose-dev).
| browser viewHack |
browser := GLMTabulator new.
browser column: #list; column: #drawing.
browser transmit
to: #list;
andShow: [ :a | a list ].
browser transmit
to: #drawing;
andShow: [ :a | a roassal painting:
[ :moview :collection |
moview raw @ (ROMiniMap new targetView: moview stack).
collection do: [ :x | moview view add: (ROElement spriteOn:
x) + ROLabel + ROBox white ].
ROVerticalLineLayout on: moview view elements.
viewHack := moview view.
] ].
browser transmit
from: #list port:#selection;
to: #drawing;
transformed:
[ :x | | foundElements |
viewHack elements do: [ :el | ROUnhighlightElement on: el ].
targetElement := viewHack elements at: x.
ROFocusView on: targetElement.
ROHighlightElement on: targetElement color: Color red.
viewHack signalUpdate
].
browser openOn: #(1 2 3 4 5 6).
9 years, 7 months