Ok, I jus tried it again, and Shout is definitely unhappy, but it seems to work otherswise.  The walkback I saw appears to be thrown by OB on any right click in the code pane, not just with the workaround applied (DNU OBTextSelection>>isClassNode)..
 
Bill
 
 


From: pharo-project-bounces@lists.gforge.inria.fr [mailto:pharo-project-bounces@lists.gforge.inria.fr] On Behalf Of Mariano Martinez Peck
Sent: Monday, May 18, 2009 10:27 AM
To: Pharo-project@lists.gforge.inria.fr
Subject: Re: [Pharo-project] Underscores in selectors



2009/5/18 Schwab,Wilhelm K <bschwab@anest.ufl.edu>
Mariano,
 
Toolset might not be the correct word - I was wondering whether you did anything special to change browsers.
 

No. I didn't change anything. I just open a new pharo image and run the changeset.
 
Bill
 


 


Sent: Monday, May 18, 2009 10:13 AM

To: Pharo-project@lists.gforge.inria.fr
Subject: Re: [Pharo-project] Underscores in selectors



2009/5/18 Schwab,Wilhelm K <bschwab@anest.ufl.edu>
Mariano,
 
Are you saying that the workaround I posted works for you in Pharo?  I had problems, but will try again if you got along ok.  Does Shout display things correctly?  Which browser/toolset are you using?
 

Yes. It seems to work ok. I am using a shout workspace and OB Package Browser.

I don't know what toolset are.
 
Bill
 

---
Wilhelm K. Schwab, Ph.D.
bschwab AT anest DOT ufl DOT edu

 


Sent: Monday, May 18, 2009 10:03 AM

To: Pharo-project@lists.gforge.inria.fr
Subject: Re: [Pharo-project] Underscores in selectors

Thanks Bill!!!

I just have tested and seems to work ok. Tonight I will test it with Glorp.

However, I wonder if this could break a lot of things. I am scared hahah.

Cheers,

Mariano

2009/5/18 Schwab,Wilhelm K <bschwab@anest.ufl.edu>
I do not think it ever worked in Pharo.  However, we might be able to corrupt the workaround I posted into changes to Pharo's scanner and Shout (if needed) to get it to work.
 
Bill
 
 


Sent: Monday, May 18, 2009 9:19 AM
To: Pharo-project@lists.gforge.inria.fr
Subject: Re: [Pharo-project] Underscores in selectors

mmmm I think I am a bit dizzy with the versions. I just download 10250 again (the one I thought worked) but, as you ask, it isn't working. Sorry for the noise. So, this never worked on pharo? In squeak it works, so I guess it's a pharo change in somewhere. That's why I though in new compiler that Pharo has but squeak doesn't.

Thanks!

Mariano

On Mon, May 18, 2009 at 1:13 PM, Adrian Lienhard <adi@netstyle.ch> wrote:
Mariano, are you sure underscores worked in previous versions of Pharo?

Adrian

On May 18, 2009, at 15:06 , Schwab,Wilhelm K wrote:

> Helloa all,
>
> I'd really like to second Mariano's request for a work-around, and I
> might even be able to post one shortly.  I did not write it, but it
> tweaks (at least the old) scanner to accept underscores in any but
> the first position of a selector.  That might meet Mariano's need,
> and would cover most of mine related to RDBs as well.  For external
> interfacing, it would further be important to be able to use them in
> class names, but nobody gave me a workaround for that :)
>
> One thing that I wonder about is whether Shout will adapt with the
> change???  I will look for it and apply shortly and just see what
> happens.  If it works, I'll spread it around.  I should have tried
> it in Pharo a long time ago.  I'll try to report back in an hour or
> two.
>
> Bill
>
>
>
> ________________________________
> From: pharo-project-bounces@lists.gforge.inria.fr [mailto:pharo-project-bounces@lists.gforge.inria.fr
> ] On Behalf Of Mariano Martinez Peck
> Sent: Monday, May 18, 2009 7:58 AM
> To: Pharo Development
> Subject: [Pharo-project] Underscores in selectors
>
> Hi folks! I am trying to make Glorp work on Pharo but I am having
> problems with '_' in selectors.
>
> The standard of tables with databases involve _ when having more
> than a word. Example TB_BANK_ACCOUNT.
>
> Glorp needs a method like this: tableForTB_BANK_ACCOUNT
>
> In pharo 250 it works, but in latests Pharo releases this doesn't
> work. I know Stef said it could be for 1.1 but I need to ask: is
> there a workaround a hack or a quick fix so that I can progress with
> the port of GLORP ?  can this have to be with new compiler ?
>
> Thanks
>
> Mariano
> _______________________________________________
> 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


_______________________________________________
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


_______________________________________________
Pharo-project mailing list
Pharo-project@lists.gforge.inria.fr
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project