[Pharo-users] New Tool: Catalog Browser in Pharo 5.0

2015-06-10 Thread Torsten Bergmann
Hi, maybe you already noticed. The latest update for Pharo 5 which is 50103 (see [1]). includes a new tool called "Catalog Browser". Where to go === You will find it under "Tools" -> "Catalog Browser" and it will display the configs together with the catalog metadata like project descr

Re: [Pharo-users] ZnClient and percent characters

2015-06-10 Thread Sven Van Caekenberghe
@everybody The key method that defines how the query part of a URL is percent encoded is ZnMetaResourceUtils class>>#querySafeSet Years ago, Zinc HTTP Components followed the better safe than sorry approach of encoding almost every character except for the ones that are safe in all contexts.

Re: [Pharo-users] Using GTSpotter how do I find an implementor of #accept ?

2015-06-10 Thread Ben Coman
On Thu, Jun 11, 2015 at 1:05 PM, Paul DeBruicker wrote: > Hi Doru, > > By "the old version of Spotter" I meant whatever was in Pharo 3 that would > produce a list of search results with exact matches at the top I believe that was called Spotlight. cheers -ben

Re: [Pharo-users] Using GTSpotter how do I find an implementor of #accept ?

2015-06-10 Thread Paul DeBruicker
Hi Doru, By "the old version of Spotter" I meant whatever was in Pharo 3 that would produce a list of search results with exact matches at the top when I'd hit shift+enter and then type e.g. 'accept.' Sorry to have said "Pharo 4" & been unnecessarily confusing. I'm just going to use 'accept' fo

Re: [Pharo-users] ZnClient and percent characters

2015-06-10 Thread Jimmie Houchin
Thanks for the reply. I implemented Peter's suggestion as an easy keep moving solution. As I said, I am not expert in what is or is not legal according to the standards. However, looking at Python, their urllib library in the quote and urlencode methods they encode the commas by default. _AL

Re: [Pharo-users] ZnClient and percent characters

2015-06-10 Thread Jimmie Houchin
Thanks, that worked great. That's why I said I am not an expert. I can pull up a page or two. But that doesn't mean I understand all the legal minutiae involved in what is and what isn't legal in an URI or query or path or ... That is why I noted my requirements regardless of legal minutiae a

Re: [Pharo-users] ZnClient and percent characters

2015-06-10 Thread PBKResearch
There is a simpler way than Norbert’s suggestion. Find the class ZnResourceMetaUtils (in the package Zinc-Resource-Meta-Core). Locate the class side method #queryKeyValueSafeSet. Remove the comma from the string. With this change your ‘Google’ example generates the query line with the ‘%2C’ enco

Re: [Pharo-users] ZnClient and percent characters

2015-06-10 Thread Norbert Hartl
Just to clarify: "Characters in the "reserved" set are not reserved in all contexts. The set of characters actually reserved within any given URI component is defined by that component. In general, a character is reserved if the semantics of the URI changes if the character is replaced

Re: [Pharo-users] ZnClient and percent characters

2015-06-10 Thread Jimmie Houchin
I am not an expert on URIs or encoding. However, this is a requirement of the API I am using and I am required to submit an encoded URI with %2C and no commas. As far as commas needing to be escaped, it seems from other sources that they should be. From https://www.ietf.org/rfc/rfc2396.txt

Re: [Pharo-users] World lastKeystroke and openInWorld: aPasteUpMorph

2015-06-10 Thread Alain Plantec via Pharo-users
--- Begin Message --- > >> >> Hence, my question: Is lastKeystroke broken, or how is it meant to be used >> now? >> >> Second problem: In older versions of pharo this would work: >> >> f := PasteUpMorph new openInWorld. >> b := EllipseMorph new. >> b openInWorld: f. >> >> But

Re: [Pharo-users] World lastKeystroke and openInWorld: aPasteUpMorph

2015-06-10 Thread Alain Plantec via Pharo-users
--- Begin Message --- Hello Markus, > With older versions of pharo I was glad that my pupils could track keystrokes > so easily by evaluating > > World lastKeystroke. > > With Pharo3.0/4.0 this only returns '' independently of any keys I'm > typing. > > f := PasteUpMorph new open

Re: [Pharo-users] World lastKeystroke and openInWorld: aPasteUpMorph

2015-06-10 Thread Johan Fabry
Hi Markus, this is probably not how it should be done, but to get the last keystroke I have been doing the following: World activeHand instVarNamed: #lastKeyScanCode If you find a cleaner way I’d be grateful if you can share it. > On Jun 10, 2015, at 18:50, Markus Schlager wrote: > > Hi, >

[Pharo-users] World lastKeystroke and openInWorld: aPasteUpMorph

2015-06-10 Thread Markus Schlager
Hi, I'm using pharo to teach smalltalk as first 'real' programming language at school. With older versions of pharo I was glad that my pupils could track keystrokes so easily by evaluating World lastKeystroke. With Pharo3.0/4.0 this only returns '' independently of any keys I'm typi

Re: [Pharo-users] Getting a user input string using Morphs

2015-06-10 Thread stepharo
Yes hilaire ActiveHand as a global is a "bad concept" In blog there is not globals anymore :) Le 10/6/15 10:54, Hilaire a écrit : The needed change for this low level access to morph is probably a small one, related to ActiveHand, but I have not yet move to 4.0. In the other hand, you may want t

Re: [Pharo-users] ZnClient and percent characters

2015-06-10 Thread Norbert Hartl
That's because the comma does not need to be escaped in the query part of the uri. Norbert > Am 10.06.2015 um 22:00 schrieb Jimmie Houchin : > > On 06/10/2015 10:32 AM, Sven Van Caekenberghe wrote: >>> On 10 Jun 2015, at 17:24, David wrote: >>> >>> El Wed, 10 Jun 2015 10:14:37 -0500 >>> Jimmi

Re: [Pharo-users] Using GTSpotter how do I find an implementor of #accept ?

2015-06-10 Thread Tudor Girba
Hi, What do you mean by the old version of Spotter? Just in case: you should know that Spotter is made to be extensible. This means that if you want to play with your own way of searching for objects, you can just do it. Let me know if you to try and if you need help in this direction. Cheers, D

Re: [Pharo-users] ZnClient and percent characters

2015-06-10 Thread Jimmie Houchin
On 06/10/2015 10:32 AM, Sven Van Caekenberghe wrote: On 10 Jun 2015, at 17:24, David wrote: El Wed, 10 Jun 2015 10:14:37 -0500 Jimmie Houchin escribió: Hello, I am attempting to use ZnClient to request data. The request requires a %2C (comma) delimited string as part of the query. Below is a

Re: [Pharo-users] ZnClient and percent characters

2015-06-10 Thread Jimmie Houchin
On 06/10/2015 10:32 AM, Sven Van Caekenberghe wrote: On 10 Jun 2015, at 17:24, David wrote: El Wed, 10 Jun 2015 10:14:37 -0500 Jimmie Houchin escribió: Hello, I am attempting to use ZnClient to request data. The request requires a %2C (comma) delimited string as part of the query. Below is

Re: [Pharo-users] Using GTSpotter how do I find an implementor of #accept ?

2015-06-10 Thread Paul DeBruicker
Is there any way to change back to the old version of Spotter in Pharo 4? Nicolai Hess wrote > 2015-06-10 16:24 GMT+02:00 Paul DeBruicker < > pdebruic@ > >: > >> So by default the search tool is only guaranteed to return an exact term >> match if there are only less than 5 non-exact match

Re: [Pharo-users] Mac Squeak binary virtual machine for Squeak 3.10.2

2015-06-10 Thread Serge Stinckwich
If I remember correctly, it was easy to port Moose from VW to Pharo, because there was a lot of tests. I'm currently working on porting another software from VW to Pharo without any tests and I'm suffering ;-) On Wed, Jun 10, 2015 at 8:36 PM, Trygve Reenskaug wrote: > Stef, > Why be sorry? It's

Re: [Pharo-users] Using GTSpotter how do I find an implementor of #accept ?

2015-06-10 Thread Nicolai Hess
2015-06-10 16:24 GMT+02:00 Paul DeBruicker : > So by default the search tool is only guaranteed to return an exact term > match if there are only less than 5 non-exact match results? > > Yes > > > > > > Nicolai Hess wrote > > 2015-06-10 7:39 GMT+02:00 Paul DeBruicker < > > > pdebruic@ > > > >:

Re: [Pharo-users] Mac Squeak binary virtual machine for Squeak 3.10.2

2015-06-10 Thread Trygve Reenskaug
Stef, Why be sorry? It's great that you have a stable kernel in Pharo. Where do I find the definition of the Pharo public API? In which way is the Pharo technology that underlies Moose more complex than BabyIDE? Porting BabyIDE from Squeak 3.10 to 4.5 was hard because it extends the Squeak P

[Pharo-users] Pratt Parsers for PetitParser

2015-06-10 Thread Camille
Hello Pharoers and Moosers, I did a Pratt parser extension for PetitParser. A Pratt parser (a.k.a top-down operator precedence parser) handles left-recursion and operator precedence. It handles grouping, prefix, postfix, infix (right- or left-associative) and "multifix” operators (e.g. "if ... t

Re: [Pharo-users] ZnClient and percent characters

2015-06-10 Thread Sven Van Caekenberghe
> On 10 Jun 2015, at 17:24, David wrote: > > El Wed, 10 Jun 2015 10:14:37 -0500 > Jimmie Houchin > escribió: >> Hello, >> >> I am attempting to use ZnClient to request data. The request requires >> a %2C (comma) delimited string as part of the query. Below is a >> snippet. >> >> znClient >>

Re: [Pharo-users] ZnClient and percent characters

2015-06-10 Thread David
El Wed, 10 Jun 2015 10:14:37 -0500 Jimmie Houchin escribió: > Hello, > > I am attempting to use ZnClient to request data. The request requires > a %2C (comma) delimited string as part of the query. Below is a > snippet. > > znClient > addPath: '/v1/instruments'; > queryAt: 'fie

[Pharo-users] ZnClient and percent characters

2015-06-10 Thread Jimmie Houchin
Hello, I am attempting to use ZnClient to request data. The request requires a %2C (comma) delimited string as part of the query. Below is a snippet. znClient addPath: '/v1/instruments'; queryAt: 'fields' putAll: 'displayName%2Cinstrument%2Cpip'; get ; contents)

Re: [Pharo-users] Using GTSpotter how do I find an implementor of #accept ?

2015-06-10 Thread Paul DeBruicker
So by default the search tool is only guaranteed to return an exact term match if there are only less than 5 non-exact match results? Nicolai Hess wrote > 2015-06-10 7:39 GMT+02:00 Paul DeBruicker < > pdebruic@ > >: > >> when I hit shift+enter and type 'accept' I get things that are not >>

Re: [Pharo-users] Using PluggableTextFieldMorph

2015-06-10 Thread stepharo
better use rubric because we will remove PluggableTextField... and friends. Le 10/6/15 11:40, Jigyasa Grover a écrit : Hi With reference to my earlier query 'Getting a user input string using Morphs' I have come ac

Re: [Pharo-users] Using PluggableTextFieldMorph

2015-06-10 Thread Alain Plantec via Pharo-users
--- Begin Message --- Hello, you can have a look at Rubric too. see RubTextFieldExample. also RubPluggableTextMorphExample. to see rubric text field in action within a user interface. Cheers Alain > On 10 Jun 2015, at 13:35, Sean P. DeNigris wrote: > > Jigyasa Grover wrote >> Could anyone pls

Re: [Pharo-users] Using PluggableTextFieldMorph

2015-06-10 Thread Sean P. DeNigris
Jigyasa Grover wrote > Could anyone pls help so as to how could I use the 'getText' method to > retrieve the user input string. The best Smalltalk teacher is usually the image :) Browsing references to PluggableTextFieldMorph (cmd-shift-N on Mac), it seems that many users send #on:text:accept:read

[Pharo-users] Using PluggableTextFieldMorph

2015-06-10 Thread Jigyasa Grover
Hi With reference to my earlier query 'Getting a user input string using Morphs' I have come across 'PluggableTextFieldMorph' which seems to be the one I was looking for. Could anyone pls help so as to how could I u

Re: [Pharo-users] Getting a user input string using Morphs

2015-06-10 Thread Jigyasa Grover
Yep, still exploring ... Thanks Jigyasa -- View this message in context: http://forum.world.st/Getting-a-user-input-string-using-Morphs-tp4831121p4831363.html Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com.

Re: [Pharo-users] Fuel and graph update

2015-06-10 Thread Hilaire
Le 09/06/2015 14:48, Mariano Martinez Peck a écrit : > For Quuve app, when it runs on Pharo (for development and testing), we > have a fuel backend and we do 2) and 3) of above. Quuve itself is > split in different/isolated conceptual databases: clients, advisory, > securities, system, application,

Re: [Pharo-users] Getting a user input string using Morphs

2015-06-10 Thread Hilaire
The needed change for this low level access to morph is probably a small one, related to ActiveHand, but I have not yet move to 4.0. In the other hand, you may want to use higher level approaches suggested by Pharo fellows. Hilaire Le 10/06/2015 09:20, Jigyasa Grover a écrit : > Yes > I am curren

Re: [Pharo-users] Getting a user input string using Morphs

2015-06-10 Thread Jigyasa Grover
Yes I am currently developing it in Pharo 4.0 Thanks :) -- View this message in context: http://forum.world.st/Getting-a-user-input-string-using-Morphs-tp4831121p4831320.html Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com.

Re: [Pharo-users] Using GTSpotter how do I find an implementor of #accept ?

2015-06-10 Thread Nicolai Hess
2015-06-10 7:39 GMT+02:00 Paul DeBruicker : > when I hit shift+enter and type 'accept' I get things that are not > #accept, e.g. #accept: and AbstractAcceptor. > > If I add a space after accept it doesn't help. > > > What do I not understand? > the result list is not sorted and the result list is