Pharo-users
By thread
pharo-users@lists.pharo.org
By month
Messages by month
- ----- 2026 -----
- July
- June
- May
- April
- March
- February
- January
- ----- 2025 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2024 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2023 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2022 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2021 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2020 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2019 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2018 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2017 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2016 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2015 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2014 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2013 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2012 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2011 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2010 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
December 2014
- 70 participants
- 473 messages
Re: [Pharo-users] Left mouse button not working in Pharo 3.0
by dboeren
OK, some progress. I made a copy of Pharo to experiment with and found
World->Windows->DeleteAllWindowsDiscardingEdits.
This destroyed the three rogue windows and at least to a first glance the
system is working correctly again.
But, I also still have the original copy which is still malfunctioning.
Ready for more weird? The broken copy of Pharo is 99.5MB. The working copy
is only 70.2MB.
Here is the full list of what I did to create the working copy:
1. Copy/paste the Pharo3.0 file in OSX Finder, rename it to "Pharo 3.0
test"
2. Open Pharo 3.0 Test
3. World->Windows->DeleteAllWindowsDiscardingEdits
4. Recreate my 3 windows (Workspace, Transcript, Browser) and resize them
to approximately the same layout I had before
5. Quit and save the new image
So whatever was wrong with those three windows was taking up 29.3MB? That's
really bizarre...
If someone knows how to debug this sort of thing I can upload my corrupted
copy to you and perhaps that would be the best way to shed some light, but
at least I seem to have a working environment again so I can proceed on the
next step of my program :)
--
View this message in context: http://forum.world.st/Left-mouse-button-not-working-in-Pharo-3-0-tp4795107p…
Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com.
Dec. 9, 2014
Re: [Pharo-users] Left mouse button not working in Pharo 3.0
by dboeren
Thanks for your reply, Johan.
I'm not sure what caused this. As best I recall, it was working last night
when I went to bed and today it is not.
The only unusual thing I recall doing late last night was importing the
XMLSupport library. I haven't used it yet, this is just preparation for
future tasks. Of course I also worked on some code and ran tests, but this
to me is fairly normal and unlikely to cause problems. The program I'm
working on fetches HTML or JSON data from a url, parses it with NeoJSON (or
manually in the case of HTML), and produces a text file in a tab-delimited
format based on the parsed data. Nothing I have done since I first
installed Pharo has anything to do with the GUI system and the only packages
I've installed are NeoJSON, NeoCSV, and XMLSupport.
I have three windows open. A workspace, a transcript and a browser. I tend
to keep the same windows up all the time so all three are long-lived windows
if that seems relevant.
If I create a new window of any of the three types, they seem to behave
normally. Based on your comment that a right-click in the background
*should* bring up the World menu, it sounds like the bug must be something
to do with which window receives and processes the click event. If there is
any diagnostic I can run to help gather more data just let me know and I
will be glad to run it and post the results.
In the meantime, is there a way (perhaps through keyboard shortcuts or
something) to go through the list of open windows, select them, and close
them? Or even to do a a "close all windows"? I ask because it seems like
new windows behave correctly so maybe if I can kill off the misbehaving ones
that will solve the issue. I can also open a new Workspace and paste in any
code to collect info or close the windows.
Or finally, if we cannot find a way to recover things properly then I
suppose I could learn how to file out my code and start again with a fresh
installation, redoing the installs of the couple of libraries I've added.
--
View this message in context: http://forum.world.st/Left-mouse-button-not-working-in-Pharo-3-0-tp4795107p…
Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com.
Dec. 9, 2014
Re: [Pharo-users] Left mouse button not working in Pharo 3.0
by Johan Fabry
Hi,
to clarify: itâs normal that left-clicking outside of any active window (i.e. in the gray background) brings up the world menu.
However, also getting the world menu on left-clicks inside browsers is not. If this is happening it is a bug that should be treated and it would be best that you explain how you get/got to that situation.
greetings,
> On Dec 9, 2014, at 17:13, dboeren <boerend(a)gmail.com> wrote:
>
> Sorry to have to introduce myself to the community this way :)
>
> I downloaded Pharo 3.0 recently for OSX and have been working on learning it
> and writing some simple programs to get accustomed to the language and
> environment.
>
> Now it's doing something odd and I don't know what's wrong or how to fix it.
>
> When I left-click anywhere in Pharo it brings up the World menu, as if I had
> right-clicked instead. I'm pretty sure it can't be a problem with my
> trackpad or O/S because it works fine in other apps.
>
> The really odd part is that if I select "System Browser" off the World menu
> the new browser window response to mouse clicks normally! So, while my old
> browser, workspace, transcript, and main window all treat left-clicks as
> right-clicks, the new window is fine.
>
> Does anyone know what could be causing this issue and more importantly how
> to fix it? I've tried rebooting my laptop, and of course restarting Pharo
> numerous times. Doesn't seem to make a difference.
>
> Thanks!
>
>
>
>
> --
> View this message in context: http://forum.world.st/Left-mouse-button-not-working-in-Pharo-3-0-tp4795107.…
> Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com.
>
>
---> Save our in-boxes! http://emailcharter.org <---
Johan Fabry - http://pleiad.cl/~jfabry
PLEIAD lab - Computer Science Department (DCC) - University of Chile
Dec. 9, 2014
Left mouse button not working in Pharo 3.0
by dboeren
Sorry to have to introduce myself to the community this way :)
I downloaded Pharo 3.0 recently for OSX and have been working on learning it
and writing some simple programs to get accustomed to the language and
environment.
Now it's doing something odd and I don't know what's wrong or how to fix it.
When I left-click anywhere in Pharo it brings up the World menu, as if I had
right-clicked instead. I'm pretty sure it can't be a problem with my
trackpad or O/S because it works fine in other apps.
The really odd part is that if I select "System Browser" off the World menu
the new browser window response to mouse clicks normally! So, while my old
browser, workspace, transcript, and main window all treat left-clicks as
right-clicks, the new window is fine.
Does anyone know what could be causing this issue and more importantly how
to fix it? I've tried rebooting my laptop, and of course restarting Pharo
numerous times. Doesn't seem to make a difference.
Thanks!
--
View this message in context: http://forum.world.st/Left-mouse-button-not-working-in-Pharo-3-0-tp4795107.…
Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com.
Dec. 9, 2014
Re: [Pharo-users] Working with zipped files
by Hernán Morales Durand
| zipArchive fileRef |
zipArchive := ZipArchive new.
fileRef := 'myFile.zip' asFileReference.
[ zipArchive
readFrom: fileRef fullName;
extractAllTo: FileSystem workingDirectory ]
ensure: [ zipArchive close ].
2014-12-09 15:03 GMT-03:00 Markus Fritsche <mfritsche(a)reauktion.de>:
> On 2014-12-09 18:19, ЮÑий ÐиÑоненко wrote:
>
>> Do you want to work with ZIP files, or specifically with MCZ ?
>>
>
> Just a zip file with a member called project.xml which I want to extract,
> change and rezip...
>
> Best regards,
> Markus
>
>
Dec. 9, 2014
Re: [Pharo-users] Working with zipped files
by Markus Fritsche
On 2014-12-09 18:19, ЮÑий ÐиÑоненко wrote:
> Do you want to work with ZIP files, or specifically with MCZ ?
Just a zip file with a member called project.xml which I want to
extract, change and rezip...
Best regards,
Markus
Dec. 9, 2014
Re: [Pharo-users] Working with zipped files
by ЮÑий ÐиÑоненко
Do you want to work with ZIP files, or specifically with MCZ ?
2014-12-09 15:03 GMT+03:00 Markus Fritsche <mfritsche(a)reauktion.de>:
> Hi,
>
> by peeking around in "Deep into Pharo" I thought that
>
> | zf fr |
> fr := 'I:\SAS_Projekte\project.egp' asFileReference.
> zf := FileSystem zip: fr.
> zf store open.
>
> should be used to open a zip file programmatically. That fails with
> "ZnInvalidUTF8: Invalid utf8 input detected"
>
> Looking at MCMczReader, it skips the FileSystem API completely.
>
> In FileSystem-Tests-* I find DiskFileSystemTest and MemoryFileSystemTest,
> no ZipFileSystemTest to see how it's supposed to be done.
>
> Did I do it wrong? Or is FileSystem not yet "finalized" in that area?
>
> Best regards,
> Markus
>
>
Dec. 9, 2014
PetitParser and PPBrowser in Pharo 3.0
by Hartmut
Hi to all,
I'm working with PetitParser in a Pharo 3 image.
Until now I had to do without the PPBrowser which I loved in Pharo 2.
On forum.world.st I now found the hint by Jan Kurs to install all of the
Petit suite:
> "Configuration should be loaded like this:"
> Gofer new smalltalkhubUser: 'Moose' project: 'PetitParser';
> configurationOf: #PetitParser; load.
>
> "All the petit parser suite:"
> ConfigurationOfPetitParser loadDevelopment.
Apart from the fact that this installed a real lot into my image, I
notice the following problems
in PPBrowser:
1. The map of none of the 18 parsers included, is displayed (it becomes
red crossed).
However, this was the most useful part of it
2. My interrelated parsers consist of a tree of parsers where each leave
has its own start clause.
They define related languages. It makes no sense to add a /start/
clause to the root.
However, without such a meaningless /start/ clause, only the
/source/ is displayed,
neither /graph, example, first/ or /follow/ of any clause.
(this can be reproduced when you move PPJsonGrammar>>start to
PPJsonParser)
I like the style of having a grammar class above a parser (or compiler)
class.
This is as seen in most of the accompanying parsers.
My preferred petit parser style comprises:
a) keeping grammar rules (without ==>) in the upper classes of the
grammar hierarchy tree,
such that we find the complete grammar there (without the
/start/ clause).
b) keeping replacement rules (using ==>) as low as possible the
grammar hierarchy tree
c) writing the start clause to the class that is actually called.
(this gives different entries
in a grammar allowing for different languages with grammar subsets)
Is there an idea to have 1. and/or 2. resolved?
Hartmut
--
Hartmut Krasemann?
Königsberger Str. 41 c
?D 22869 Schenefeld?
Tel. 040.8307097?
Mobil 0171.6451283?
krasemann(a)acm.org
Dec. 9, 2014
Re: [Pharo-users] [Esug-list] [ann] gtspotter: a moldable interface for spotting objects
by kilon alios
yes I must mistyped it or something. I can find the method now and the 4
implementors. Bad day I guess.
ah yes of course gtinspector can already find those shortcuts and display
them nicely. So that means that we can already do that , nice.
I am really impressed. Great work, I am back to exploring.
On Tue, Dec 9, 2014 at 2:23 PM, Tudor Girba <tudor(a)tudorgirba.com> wrote:
> In the Moose image, you should have 4 implementors. They represent the
> underlying implementation for the keymapping overview in GTInspector:
>
> http://www.humane-assessment.com/blog/managing-morph-keybindings-with-gtins…
>
> Doru
>
> On Tue, Dec 9, 2014 at 12:44 PM, kilon alios <kilon.alios(a)gmail.com>
> wrote:
>
>> cant find such method , i tried spotter and finder .
>>
>> On Tue, Dec 9, 2014 at 1:26 PM, Tudor Girba <tudor(a)tudorgirba.com> wrote:
>>
>>> Look at the implementors of
>>>
>>> gtInspectorMappingsIn:
>>>
>>> Doru
>>>
>>> On Tue, Dec 9, 2014 at 12:24 PM, kilon alios <kilon.alios(a)gmail.com>
>>> wrote:
>>>
>>>> "What do you need to know. At the bottom of the post, there is an
>>>> example of how the classes and methods search is done. Do you need more
>>>> information?"
>>>>
>>>> Yes I noticed, give me time to really dive into the code and see what
>>>> new questions I have.
>>>>
>>>> "Why not? Give it a try. You probably should extend Morph for that :)"
>>>>
>>>> I dont remember if it was Sven once offered a piece of code to return
>>>> all defined shortcuts, will dig it out.
>>>>
>>>> On Tue, Dec 9, 2014 at 1:16 PM, Tudor Girba <tudor(a)tudorgirba.com>
>>>> wrote:
>>>>
>>>>> Hi,
>>>>>
>>>>>
>>>>>
>>>>> On Tue, Dec 9, 2014 at 12:05 PM, kilon alios <kilon.alios(a)gmail.com>
>>>>> wrote:
>>>>>
>>>>>> yeap thats a great feature to have too. I would love also more info (
>>>>>> when you find the time I am in no rush ) about customizing GTSpotter. Now
>>>>>> back to having fun with this tool and reading its code :)
>>>>>>
>>>>>
>>>>> What do you need to know. At the bottom of the post, there is an
>>>>> example of how the classes and methods search is done. Do you need more
>>>>> information?
>>>>>
>>>>> PS: makes me wonder if I could use it to search for keyboard shortcuts
>>>>>>
>>>>>
>>>>> Why not? Give it a try. You probably should extend Morph for that :)
>>>>>
>>>>> Cheers,
>>>>> Doru
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>> On Tue, Dec 9, 2014 at 12:59 PM, Tudor Girba <tudor(a)tudorgirba.com>
>>>>>> wrote:
>>>>>>
>>>>>>> Hi,
>>>>>>>
>>>>>>> At the moment, you can easily get back to the previous context
>>>>>>> through the history category.
>>>>>>>
>>>>>>> Doru
>>>>>>>
>>>>>>> On Tue, Dec 9, 2014 at 11:51 AM, kilon alios <kilon.alios(a)gmail.com>
>>>>>>> wrote:
>>>>>>>
>>>>>>>> no that was 100% my fault , its clear in your blog post I just did
>>>>>>>> not get it at first read.
>>>>>>>>
>>>>>>>> It works using Ubuntu its alt+shift+rightarrow
>>>>>>>>
>>>>>>>> I am seriously impressed with your work guys, this takes pharo to
>>>>>>>> another level. Thank you.
>>>>>>>>
>>>>>>>> If I could make some early requests, I would like the option to pin
>>>>>>>> the GTSpotter window and also move it around if I want to keep it as
>>>>>>>> reference. Since this could work as an excellent finder replacement too.
>>>>>>>>
>>>>>>>> On Tue, Dec 9, 2014 at 12:39 PM, Tudor Girba <tudor(a)tudorgirba.com>
>>>>>>>> wrote:
>>>>>>>>
>>>>>>>>> This is described briefly in the post, but Johan had also a
>>>>>>>>> problem with the description.
>>>>>>>>>
>>>>>>>>> So, if you want to see all 30 classes, you dive in the category
>>>>>>>>> through Cmd+Shift+RightArrow. This spawns the collection with the results
>>>>>>>>> and you can continue searching.
>>>>>>>>>
>>>>>>>>> Let me know if it works for you.
>>>>>>>>>
>>>>>>>>> Doru
>>>>>>>>>
>>>>>>>>> On Tue, Dec 9, 2014 at 11:28 AM, kilon alios <
>>>>>>>>> kilon.alios(a)gmail.com> wrote:
>>>>>>>>>
>>>>>>>>>> thanks but that was not necessary, apparently GTSpotter is not
>>>>>>>>>> added to the world menus and it can only be triggered with a shortcut that
>>>>>>>>>> the blog post does not mention which is alt+enter.
>>>>>>>>>>
>>>>>>>>>> This an awesome tool. love it :)
>>>>>>>>>>
>>>>>>>>>> Question : how I expand the search results , for example it gives
>>>>>>>>>> a 5/30 classes how I can see all 30 classes that are the search result ?
>>>>>>>>>>
>>>>>>>>>> On Tue, Dec 9, 2014 at 12:14 PM, Sven Van Caekenberghe <
>>>>>>>>>> sven(a)stfx.eu> wrote:
>>>>>>>>>>
>>>>>>>>>>> There is a pre-built image here http://gt.moosetechnology.org
>>>>>>>>>>>
>>>>>>>>>>> > On 09 Dec 2014, at 11:08, kilon alios <kilon.alios(a)gmail.com>
>>>>>>>>>>> wrote:
>>>>>>>>>>> >
>>>>>>>>>>> > So how I can give this a try, I downloaded latest moose 5.0
>>>>>>>>>>> and there is no GTSpotter inside
>>>>>>>>>>> >
>>>>>>>>>>> > On Tue, Dec 9, 2014 at 10:27 AM, kilon alios <
>>>>>>>>>>> kilon.alios(a)gmail.com> wrote:
>>>>>>>>>>> > sounds very interesting cant wait to try it and take a look
>>>>>>>>>>> also at Brick.
>>>>>>>>>>> >
>>>>>>>>>>> > On Tue, Dec 9, 2014 at 1:35 AM, Andrei Chis <
>>>>>>>>>>> chisvasileandrei(a)gmail.com> wrote:
>>>>>>>>>>> >
>>>>>>>>>>> >
>>>>>>>>>>> > On Mon, Dec 8, 2014 at 8:02 PM, kilon alios <
>>>>>>>>>>> kilon.alios(a)gmail.com> wrote:
>>>>>>>>>>> > Dont know if this is auto completion replacement or not, from
>>>>>>>>>>> the looks of it seem a lot more than that. Auto completion is one of the
>>>>>>>>>>> thing that annoys me in Pharo and this looks like a very good replacement.
>>>>>>>>>>> >
>>>>>>>>>>> > So the gui is also made with Glamour ?
>>>>>>>>>>> >
>>>>>>>>>>> > No it's in Brick. Brick is a small extension that we made to
>>>>>>>>>>> Morphic to make it a little more faster and to control resizing better.
>>>>>>>>>>> > So it's Morphic not Glamour :)
>>>>>>>>>>> >
>>>>>>>>>>> >
>>>>>>>>>>> > Cheers,
>>>>>>>>>>> > Andrei
>>>>>>>>>>> >
>>>>>>>>>>> >
>>>>>>>>>>> > Look very good looking and very useful cant wait to try it :)
>>>>>>>>>>> >
>>>>>>>>>>> > On Tue, Dec 9, 2014 at 12:36 AM, Tudor Girba <
>>>>>>>>>>> tudor(a)tudorgirba.com> wrote:
>>>>>>>>>>> > Thanks for the suggestions, Johan. I will change the text and
>>>>>>>>>>> we will definitely look into making the shortcuts more apparent.
>>>>>>>>>>> >
>>>>>>>>>>> > Cheers,
>>>>>>>>>>> > Doru
>>>>>>>>>>> >
>>>>>>>>>>> > On Mon, Dec 8, 2014 at 5:17 PM, Johan Fabry <
>>>>>>>>>>> jfabry(a)dcc.uchile.cl> wrote:
>>>>>>>>>>> >
>>>>>>>>>>> > OK now I get it ⦠thanks for clarifying!
>>>>>>>>>>> > I think my confusion stems from the use of âcategory' and then
>>>>>>>>>>> talking about 'the collection objectâ, which made me think about
>>>>>>>>>>> collections and source code and protocols and packages and I got lost.
>>>>>>>>>>> >
>>>>>>>>>>> > I think that the sentence of the blog would be clearer like
>>>>>>>>>>> this (uppercase to show changes):
>>>>>>>>>>> >
>>>>>>>>>>> > To do this, GTSpotter offers an extra action: diving in a
>>>>>>>>>>> RESULTS category. Pressing Cmd+Shift+ArrowRight dives in the collection OF
>>>>>>>>>>> RESULTS OF that category. Thus, we can continue refining the search inside
>>>>>>>>>>> the category.
>>>>>>>>>>> >
>>>>>>>>>>> > So then, my suggestion for a legend at the bottom of the
>>>>>>>>>>> results list would be:
>>>>>>>>>>> > Cmd+Shift+ArrowUp/ArrowDown = Next/Prev category,
>>>>>>>>>>> Cmd+RightArrow = Dive into Result, Cmd+Shift+RightArrow = Dive into Category
>>>>>>>>>>> >
>>>>>>>>>>> > > On Dec 8, 2014, at 12:48, Tudor Girba <tudor(a)tudorgirba.com>
>>>>>>>>>>> wrote:
>>>>>>>>>>> > >
>>>>>>>>>>> > > Hi,
>>>>>>>>>>> > >
>>>>>>>>>>> > > Ok. Let's take it step by step and see if we cannot find a
>>>>>>>>>>> better way of explaining.
>>>>>>>>>>> > >
>>>>>>>>>>> > > Take a look at the first picture in the blog post. Entering
>>>>>>>>>>> GTSpo shows results both for Classes and for Packages. These "Classes" and
>>>>>>>>>>> "Packages" are what we call search categories, and they have associated a
>>>>>>>>>>> query processor that can populate them with results (see the "Spotting your
>>>>>>>>>>> objects" section from the bottom of the post).
>>>>>>>>>>> > >
>>>>>>>>>>> > > In our case, we get 39 classes (of which only 5 are shown)
>>>>>>>>>>> and 1 package that match the query. If you want to look at all those 39
>>>>>>>>>>> classes, you can dive in the whole collection behind the category in a
>>>>>>>>>>> separate step. This is achieved through Cmd+Shift+ArrowRight. Does it make
>>>>>>>>>>> more sense now?
>>>>>>>>>>> > >
>>>>>>>>>>> > > I did not consider the category to be confusing. Would you
>>>>>>>>>>> propose another name?
>>>>>>>>>>> > >
>>>>>>>>>>> > > Cheers,
>>>>>>>>>>> > > Doru
>>>>>>>>>>> > >
>>>>>>>>>>> > >
>>>>>>>>>>> > > On Mon, Dec 8, 2014 at 4:02 PM, Johan Fabry <
>>>>>>>>>>> jfabry(a)dcc.uchile.cl> wrote:
>>>>>>>>>>> > > Sorry, but no :-(
>>>>>>>>>>> > >
>>>>>>>>>>> > > I am always confused when people say âcategoryâ because the
>>>>>>>>>>> word has so many overloaded meanings. The same happens in the blog post, it
>>>>>>>>>>> is not clear to me what category means here, and what does it have to do
>>>>>>>>>>> with the collection object?
>>>>>>>>>>> > >
>>>>>>>>>>> > > > On Dec 7, 2014, at 11:16, Tudor Girba <
>>>>>>>>>>> tudor(a)tudorgirba.com> wrote:
>>>>>>>>>>> > > >
>>>>>>>>>>> > > > Hi,
>>>>>>>>>>> > > >
>>>>>>>>>>> > > > Yes, we will still evolve the UI. At the very least you
>>>>>>>>>>> will get the shortkeys directly on the actions.
>>>>>>>>>>> > > >
>>>>>>>>>>> > > > The answer to your question is in the blog post:
>>>>>>>>>>> > > > GTSpotter offers an extra action: diving in a category.
>>>>>>>>>>> Pressing Cmd+Shift+ArrowRight dives in the collection object containing
>>>>>>>>>>> only the items from that category. Thus, we can continue refining the
>>>>>>>>>>> search inside the category.
>>>>>>>>>>> > > >
>>>>>>>>>>> > > > So, you will open the collection of that sub-category and
>>>>>>>>>>> you will see more items at once (not just 5). Is it clearer now?
>>>>>>>>>>> > > >
>>>>>>>>>>> > > > Cheers,
>>>>>>>>>>> > > > Doru
>>>>>>>>>>> > >
>>>>>>>>>>> > >
>>>>>>>>>>> > >
>>>>>>>>>>> > > ---> Save our in-boxes! http://emailcharter.org <---
>>>>>>>>>>> > >
>>>>>>>>>>> > > Johan Fabry - http://pleiad.cl/~jfabry
>>>>>>>>>>> > > PLEIAD lab - Computer Science Department (DCC) -
>>>>>>>>>>> University of Chile
>>>>>>>>>>> > >
>>>>>>>>>>> > >
>>>>>>>>>>> > >
>>>>>>>>>>> > >
>>>>>>>>>>> > > --
>>>>>>>>>>> > > www.tudorgirba.com
>>>>>>>>>>> > >
>>>>>>>>>>> > > "Every thing has its own flow"
>>>>>>>>>>> >
>>>>>>>>>>> >
>>>>>>>>>>> >
>>>>>>>>>>> > ---> Save our in-boxes! http://emailcharter.org <---
>>>>>>>>>>> >
>>>>>>>>>>> > Johan Fabry - http://pleiad.cl/~jfabry
>>>>>>>>>>> > PLEIAD lab - Computer Science Department (DCC) -
>>>>>>>>>>> University of Chile
>>>>>>>>>>> >
>>>>>>>>>>> >
>>>>>>>>>>> >
>>>>>>>>>>> >
>>>>>>>>>>> > --
>>>>>>>>>>> > www.tudorgirba.com
>>>>>>>>>>> >
>>>>>>>>>>> > "Every thing has its own flow"
>>>>>>>>>>> >
>>>>>>>>>>> >
>>>>>>>>>>> >
>>>>>>>>>>> >
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> --
>>>>>>>>> www.tudorgirba.com
>>>>>>>>>
>>>>>>>>> "Every thing has its own flow"
>>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> --
>>>>>>> www.tudorgirba.com
>>>>>>>
>>>>>>> "Every thing has its own flow"
>>>>>>>
>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> www.tudorgirba.com
>>>>>
>>>>> "Every thing has its own flow"
>>>>>
>>>>
>>>>
>>>
>>>
>>> --
>>> www.tudorgirba.com
>>>
>>> "Every thing has its own flow"
>>>
>>
>>
>
>
> --
> www.tudorgirba.com
>
> "Every thing has its own flow"
>
Dec. 9, 2014
Re: [Pharo-users] [Esug-list] [ann] gtspotter: a moldable interface for spotting objects
by Tudor Girba
In the Moose image, you should have 4 implementors. They represent the
underlying implementation for the keymapping overview in GTInspector:
http://www.humane-assessment.com/blog/managing-morph-keybindings-with-gtins…
Doru
On Tue, Dec 9, 2014 at 12:44 PM, kilon alios <kilon.alios(a)gmail.com> wrote:
> cant find such method , i tried spotter and finder .
>
> On Tue, Dec 9, 2014 at 1:26 PM, Tudor Girba <tudor(a)tudorgirba.com> wrote:
>
>> Look at the implementors of
>>
>> gtInspectorMappingsIn:
>>
>> Doru
>>
>> On Tue, Dec 9, 2014 at 12:24 PM, kilon alios <kilon.alios(a)gmail.com>
>> wrote:
>>
>>> "What do you need to know. At the bottom of the post, there is an
>>> example of how the classes and methods search is done. Do you need more
>>> information?"
>>>
>>> Yes I noticed, give me time to really dive into the code and see what
>>> new questions I have.
>>>
>>> "Why not? Give it a try. You probably should extend Morph for that :)"
>>>
>>> I dont remember if it was Sven once offered a piece of code to return
>>> all defined shortcuts, will dig it out.
>>>
>>> On Tue, Dec 9, 2014 at 1:16 PM, Tudor Girba <tudor(a)tudorgirba.com>
>>> wrote:
>>>
>>>> Hi,
>>>>
>>>>
>>>>
>>>> On Tue, Dec 9, 2014 at 12:05 PM, kilon alios <kilon.alios(a)gmail.com>
>>>> wrote:
>>>>
>>>>> yeap thats a great feature to have too. I would love also more info (
>>>>> when you find the time I am in no rush ) about customizing GTSpotter. Now
>>>>> back to having fun with this tool and reading its code :)
>>>>>
>>>>
>>>> What do you need to know. At the bottom of the post, there is an
>>>> example of how the classes and methods search is done. Do you need more
>>>> information?
>>>>
>>>> PS: makes me wonder if I could use it to search for keyboard shortcuts
>>>>>
>>>>
>>>> Why not? Give it a try. You probably should extend Morph for that :)
>>>>
>>>> Cheers,
>>>> Doru
>>>>
>>>>
>>>>
>>>>
>>>>> On Tue, Dec 9, 2014 at 12:59 PM, Tudor Girba <tudor(a)tudorgirba.com>
>>>>> wrote:
>>>>>
>>>>>> Hi,
>>>>>>
>>>>>> At the moment, you can easily get back to the previous context
>>>>>> through the history category.
>>>>>>
>>>>>> Doru
>>>>>>
>>>>>> On Tue, Dec 9, 2014 at 11:51 AM, kilon alios <kilon.alios(a)gmail.com>
>>>>>> wrote:
>>>>>>
>>>>>>> no that was 100% my fault , its clear in your blog post I just did
>>>>>>> not get it at first read.
>>>>>>>
>>>>>>> It works using Ubuntu its alt+shift+rightarrow
>>>>>>>
>>>>>>> I am seriously impressed with your work guys, this takes pharo to
>>>>>>> another level. Thank you.
>>>>>>>
>>>>>>> If I could make some early requests, I would like the option to pin
>>>>>>> the GTSpotter window and also move it around if I want to keep it as
>>>>>>> reference. Since this could work as an excellent finder replacement too.
>>>>>>>
>>>>>>> On Tue, Dec 9, 2014 at 12:39 PM, Tudor Girba <tudor(a)tudorgirba.com>
>>>>>>> wrote:
>>>>>>>
>>>>>>>> This is described briefly in the post, but Johan had also a problem
>>>>>>>> with the description.
>>>>>>>>
>>>>>>>> So, if you want to see all 30 classes, you dive in the category
>>>>>>>> through Cmd+Shift+RightArrow. This spawns the collection with the results
>>>>>>>> and you can continue searching.
>>>>>>>>
>>>>>>>> Let me know if it works for you.
>>>>>>>>
>>>>>>>> Doru
>>>>>>>>
>>>>>>>> On Tue, Dec 9, 2014 at 11:28 AM, kilon alios <kilon.alios(a)gmail.com
>>>>>>>> > wrote:
>>>>>>>>
>>>>>>>>> thanks but that was not necessary, apparently GTSpotter is not
>>>>>>>>> added to the world menus and it can only be triggered with a shortcut that
>>>>>>>>> the blog post does not mention which is alt+enter.
>>>>>>>>>
>>>>>>>>> This an awesome tool. love it :)
>>>>>>>>>
>>>>>>>>> Question : how I expand the search results , for example it gives
>>>>>>>>> a 5/30 classes how I can see all 30 classes that are the search result ?
>>>>>>>>>
>>>>>>>>> On Tue, Dec 9, 2014 at 12:14 PM, Sven Van Caekenberghe <
>>>>>>>>> sven(a)stfx.eu> wrote:
>>>>>>>>>
>>>>>>>>>> There is a pre-built image here http://gt.moosetechnology.org
>>>>>>>>>>
>>>>>>>>>> > On 09 Dec 2014, at 11:08, kilon alios <kilon.alios(a)gmail.com>
>>>>>>>>>> wrote:
>>>>>>>>>> >
>>>>>>>>>> > So how I can give this a try, I downloaded latest moose 5.0 and
>>>>>>>>>> there is no GTSpotter inside
>>>>>>>>>> >
>>>>>>>>>> > On Tue, Dec 9, 2014 at 10:27 AM, kilon alios <
>>>>>>>>>> kilon.alios(a)gmail.com> wrote:
>>>>>>>>>> > sounds very interesting cant wait to try it and take a look
>>>>>>>>>> also at Brick.
>>>>>>>>>> >
>>>>>>>>>> > On Tue, Dec 9, 2014 at 1:35 AM, Andrei Chis <
>>>>>>>>>> chisvasileandrei(a)gmail.com> wrote:
>>>>>>>>>> >
>>>>>>>>>> >
>>>>>>>>>> > On Mon, Dec 8, 2014 at 8:02 PM, kilon alios <
>>>>>>>>>> kilon.alios(a)gmail.com> wrote:
>>>>>>>>>> > Dont know if this is auto completion replacement or not, from
>>>>>>>>>> the looks of it seem a lot more than that. Auto completion is one of the
>>>>>>>>>> thing that annoys me in Pharo and this looks like a very good replacement.
>>>>>>>>>> >
>>>>>>>>>> > So the gui is also made with Glamour ?
>>>>>>>>>> >
>>>>>>>>>> > No it's in Brick. Brick is a small extension that we made to
>>>>>>>>>> Morphic to make it a little more faster and to control resizing better.
>>>>>>>>>> > So it's Morphic not Glamour :)
>>>>>>>>>> >
>>>>>>>>>> >
>>>>>>>>>> > Cheers,
>>>>>>>>>> > Andrei
>>>>>>>>>> >
>>>>>>>>>> >
>>>>>>>>>> > Look very good looking and very useful cant wait to try it :)
>>>>>>>>>> >
>>>>>>>>>> > On Tue, Dec 9, 2014 at 12:36 AM, Tudor Girba <
>>>>>>>>>> tudor(a)tudorgirba.com> wrote:
>>>>>>>>>> > Thanks for the suggestions, Johan. I will change the text and
>>>>>>>>>> we will definitely look into making the shortcuts more apparent.
>>>>>>>>>> >
>>>>>>>>>> > Cheers,
>>>>>>>>>> > Doru
>>>>>>>>>> >
>>>>>>>>>> > On Mon, Dec 8, 2014 at 5:17 PM, Johan Fabry <
>>>>>>>>>> jfabry(a)dcc.uchile.cl> wrote:
>>>>>>>>>> >
>>>>>>>>>> > OK now I get it ⦠thanks for clarifying!
>>>>>>>>>> > I think my confusion stems from the use of âcategory' and then
>>>>>>>>>> talking about 'the collection objectâ, which made me think about
>>>>>>>>>> collections and source code and protocols and packages and I got lost.
>>>>>>>>>> >
>>>>>>>>>> > I think that the sentence of the blog would be clearer like
>>>>>>>>>> this (uppercase to show changes):
>>>>>>>>>> >
>>>>>>>>>> > To do this, GTSpotter offers an extra action: diving in a
>>>>>>>>>> RESULTS category. Pressing Cmd+Shift+ArrowRight dives in the collection OF
>>>>>>>>>> RESULTS OF that category. Thus, we can continue refining the search inside
>>>>>>>>>> the category.
>>>>>>>>>> >
>>>>>>>>>> > So then, my suggestion for a legend at the bottom of the
>>>>>>>>>> results list would be:
>>>>>>>>>> > Cmd+Shift+ArrowUp/ArrowDown = Next/Prev category,
>>>>>>>>>> Cmd+RightArrow = Dive into Result, Cmd+Shift+RightArrow = Dive into Category
>>>>>>>>>> >
>>>>>>>>>> > > On Dec 8, 2014, at 12:48, Tudor Girba <tudor(a)tudorgirba.com>
>>>>>>>>>> wrote:
>>>>>>>>>> > >
>>>>>>>>>> > > Hi,
>>>>>>>>>> > >
>>>>>>>>>> > > Ok. Let's take it step by step and see if we cannot find a
>>>>>>>>>> better way of explaining.
>>>>>>>>>> > >
>>>>>>>>>> > > Take a look at the first picture in the blog post. Entering
>>>>>>>>>> GTSpo shows results both for Classes and for Packages. These "Classes" and
>>>>>>>>>> "Packages" are what we call search categories, and they have associated a
>>>>>>>>>> query processor that can populate them with results (see the "Spotting your
>>>>>>>>>> objects" section from the bottom of the post).
>>>>>>>>>> > >
>>>>>>>>>> > > In our case, we get 39 classes (of which only 5 are shown)
>>>>>>>>>> and 1 package that match the query. If you want to look at all those 39
>>>>>>>>>> classes, you can dive in the whole collection behind the category in a
>>>>>>>>>> separate step. This is achieved through Cmd+Shift+ArrowRight. Does it make
>>>>>>>>>> more sense now?
>>>>>>>>>> > >
>>>>>>>>>> > > I did not consider the category to be confusing. Would you
>>>>>>>>>> propose another name?
>>>>>>>>>> > >
>>>>>>>>>> > > Cheers,
>>>>>>>>>> > > Doru
>>>>>>>>>> > >
>>>>>>>>>> > >
>>>>>>>>>> > > On Mon, Dec 8, 2014 at 4:02 PM, Johan Fabry <
>>>>>>>>>> jfabry(a)dcc.uchile.cl> wrote:
>>>>>>>>>> > > Sorry, but no :-(
>>>>>>>>>> > >
>>>>>>>>>> > > I am always confused when people say âcategoryâ because the
>>>>>>>>>> word has so many overloaded meanings. The same happens in the blog post, it
>>>>>>>>>> is not clear to me what category means here, and what does it have to do
>>>>>>>>>> with the collection object?
>>>>>>>>>> > >
>>>>>>>>>> > > > On Dec 7, 2014, at 11:16, Tudor Girba <tudor(a)tudorgirba.com>
>>>>>>>>>> wrote:
>>>>>>>>>> > > >
>>>>>>>>>> > > > Hi,
>>>>>>>>>> > > >
>>>>>>>>>> > > > Yes, we will still evolve the UI. At the very least you
>>>>>>>>>> will get the shortkeys directly on the actions.
>>>>>>>>>> > > >
>>>>>>>>>> > > > The answer to your question is in the blog post:
>>>>>>>>>> > > > GTSpotter offers an extra action: diving in a category.
>>>>>>>>>> Pressing Cmd+Shift+ArrowRight dives in the collection object containing
>>>>>>>>>> only the items from that category. Thus, we can continue refining the
>>>>>>>>>> search inside the category.
>>>>>>>>>> > > >
>>>>>>>>>> > > > So, you will open the collection of that sub-category and
>>>>>>>>>> you will see more items at once (not just 5). Is it clearer now?
>>>>>>>>>> > > >
>>>>>>>>>> > > > Cheers,
>>>>>>>>>> > > > Doru
>>>>>>>>>> > >
>>>>>>>>>> > >
>>>>>>>>>> > >
>>>>>>>>>> > > ---> Save our in-boxes! http://emailcharter.org <---
>>>>>>>>>> > >
>>>>>>>>>> > > Johan Fabry - http://pleiad.cl/~jfabry
>>>>>>>>>> > > PLEIAD lab - Computer Science Department (DCC) -
>>>>>>>>>> University of Chile
>>>>>>>>>> > >
>>>>>>>>>> > >
>>>>>>>>>> > >
>>>>>>>>>> > >
>>>>>>>>>> > > --
>>>>>>>>>> > > www.tudorgirba.com
>>>>>>>>>> > >
>>>>>>>>>> > > "Every thing has its own flow"
>>>>>>>>>> >
>>>>>>>>>> >
>>>>>>>>>> >
>>>>>>>>>> > ---> Save our in-boxes! http://emailcharter.org <---
>>>>>>>>>> >
>>>>>>>>>> > Johan Fabry - http://pleiad.cl/~jfabry
>>>>>>>>>> > PLEIAD lab - Computer Science Department (DCC) - University
>>>>>>>>>> of Chile
>>>>>>>>>> >
>>>>>>>>>> >
>>>>>>>>>> >
>>>>>>>>>> >
>>>>>>>>>> > --
>>>>>>>>>> > www.tudorgirba.com
>>>>>>>>>> >
>>>>>>>>>> > "Every thing has its own flow"
>>>>>>>>>> >
>>>>>>>>>> >
>>>>>>>>>> >
>>>>>>>>>> >
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> --
>>>>>>>> www.tudorgirba.com
>>>>>>>>
>>>>>>>> "Every thing has its own flow"
>>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>
>>>>>>
>>>>>> --
>>>>>> www.tudorgirba.com
>>>>>>
>>>>>> "Every thing has its own flow"
>>>>>>
>>>>>
>>>>>
>>>>
>>>>
>>>> --
>>>> www.tudorgirba.com
>>>>
>>>> "Every thing has its own flow"
>>>>
>>>
>>>
>>
>>
>> --
>> www.tudorgirba.com
>>
>> "Every thing has its own flow"
>>
>
>
--
www.tudorgirba.com
"Every thing has its own flow"
Dec. 9, 2014