On Tue, Apr 27, 2010 at 7:32 PM, Tim Mackinnon <tamackinnon@gmail.com>wrote:
Hi Mariano - I see that you have been working on Algernon - I haven't use Pharo that much (not Squeak to be honest - but I remember trying one of Damien's dev images that had Algernon and I thought it was pretty cool, and quite helpful for getting up to speed with Pharo).
Me too. That's why I suggested to include it again in PharoDev 1.1 when this is done.
Anyway - I am not sure how to get it running? Do I need a 1.1 image
- or will it work in 1.0?
I don't know 1.1. For the moment I use 1.0
Do I load the ConfigurationOfAlgernon - and then should it work?
yes, try: Gofer new squeaksource: 'MetacelloRepository'; package: 'ConfigurationOfAlgernon'; load. ((Smalltalk at: #ConfigurationOfAlgernon) project version: '0.9.1') load does it work ?
When I do this - Shift-Return doesn't work (nor control-space). If I browse monticello for just Algnernon, I see there is a later version of Algernon, but if I load that I seem to get a walkback about a hand not understanding something.
Do you have any tips to get me going? And is it possible to update the Squeaksource text to help newbies like me get going?
At some point, the welcome workspace was opened once after installing it. I don't know why it dissapear. Should we put it again ? Evaliuate 'Algernon openWelcomeWorkspace' Cheers mariano
Tim
On 16 Jan 2010, at 23:16, Mariano Martinez Peck wrote:
On Sat, Jan 16, 2010 at 10:48 PM, Romain Robbes <romain.robbes@gmail.com>wrote:
Hi Mariano,
From a cursory look, it seems that it would be enough. I'll try to find some time next week to make a version that works using this infrastructure.
Cool !! Let me know so that we can integrate this change in PharoCore and ask other people for the impact it can bring. I am not sure about that. Do you know?
Cheers,
Romain
On Jan 16, 2010, at 11:43 AM, Mariano Martinez Peck wrote:
Hi guys: Of course I would like having keymapper or similar working in Pharo, but as I always say, I rather go step by step.
Last night, I was up to 2 am trying to get this working. I was almost there, but as I don't know everything about Morphic, I ask to you.
What Simon said about the binary changeset of Algernon, is true. However, I took the time to analyze the changeset and from my point of view (nil knowledge in Morphic) it seemed a very good change. I fix it (it has underscore assignment) and I was easily merged to Pharo. No conflicts. The main change does the simplest modifications to HandMorph for it to support various focus holders. And I think this is cool.
So, suppose we integrate this changeset, Algernon, wouldn't have any override the method sendKeyboardEvent:
Now Romain, do you think that you can manage to get WorkingSet working with this change without overriding? Algernon does, so maybe we can see how it do it. I saw this: Algernon >> registerWithSystem
There you will see it does a self activeHand addAdditionalKeyboardFocus: self.
That method was part of the Morphic changes.
I commit the Mprhic changes in http://www.squeaksource.com/MarianoPhD
Name: Morphic-MarianoMartinezPeck.396 Author: MarianoMartinezPeck Time: 16 January 2010, 3:42:18 pm UUID: 3587e1b2-36b4-4751-bcdb-ca6f4073788e Ancestors: Morphic-MarianoMartinezPeck.395
Romain, can you take a look and if this is not enough, how can we solve easily this problem in Pharo?
Thanks
Mariano
2010/1/15 Simon Denier <Simon.Denier@inria.fr>
On 15 janv. 2010, at 23:03, Mariano Martinez Peck wrote:
2010/1/15 Simon Denier <Simon.Denier@inria.fr>
On 15 janv. 2010, at 21:20, Mariano Martinez Peck wrote:
On Fri, Jan 15, 2010 at 5:55 PM, Romain Robbes <romain.robbes@gmail.com
wrote:
yes it has overrides ...
that's because as far as I know, there's no keyboard shortcut management facility in Pharo. If there was one, I suppose Algernon and WorkingSet would coexist.
So...all your overrides are due to the shortcuts? I think it is not fear to "forbid" a package to be included in a Dev image if we don't provide from the core a way to manage shortcuts. So:
1) Or we let this projects to be installed in the Dev image
2) We fix the problem with the shortcuts.
Romain: can you tell us where exactly the problem is ? maybe someone can give you a hand.
Taking a look at that, there are 2 overrides in WorkingSet
How did you detect that ?
Manually, using an extension-aware browser (O2Package, MC browse package, or the package environment) to detect extensions, then check history in the versions browser.
Impressive. You should be a detective :)
A few years ago, I was called the human debugger during a project :) Now I try to restrain from this kind of sessions though, it's time consuming.
-- Simon
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
-- Romain Robbes http://www.inf.unisi.ch/phd/robbes
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project