Bug (or behavior) installing a package

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
6 messages Options
Reply | Threaded
Open this post in threaded view
|

Bug (or behavior) installing a package

garduino
Hi Folks:

I grouped in a package some methods useful to make Cuis compatible with other Smalltalks (aka Pharo, Squeak, VW). The package is Cuis-CompatibilityWithOtherSmalltalks.

In this package I noticed a strange behavior (I don't know if is normal, but guess than not).

To reproduce it, install the package and open the Installed Package utility.

Select the package and press BrowsePackgCd button, then you will find all the code *except* the methods of class side of String in the category *Cuis-CompatibilityWithOtherSmalltalks.

But the methods are correctly installed (opening a browser on class String will show that). May be is a bug in the code browser of installed package utility.

Sorry that I don't have time now to investigate it more deep.

Cheers.

--
============================================
Germán S. Arduino  <gsa @ arsol.net>   Twitter: garduino
Arduino Software  http://www.arduinosoftware.com
PasswordsPro  http://www.passwordspro.com
greensecure.blogspot.com germanarduino.blogspot.com
============================================

_______________________________________________
Cuis mailing list
[hidden email]
http://jvuletich.org/mailman/listinfo/cuis_jvuletich.org
Reply | Threaded
Open this post in threaded view
|

Re: Bug (or behavior) installing a package

Juan Vuletich-4
Hi Germán.

Germán Arduino wrote:
> Hi Folks:
>
> I grouped in a package some methods useful to make Cuis compatible
> with other Smalltalks (aka Pharo, Squeak, VW). The package
> is Cuis-CompatibilityWithOtherSmalltalks.
>

Thanks! Just a comment: Character class cr and lf are wrong. Just
evaluate them.

> In this package I noticed a strange behavior (I don't know if is
> normal, but guess than not).
>
> To reproduce it, install the package and open the Installed Package
> utility.
>
> Select the package and press BrowsePackgCd button, then you will find
> all the code *except* the methods of class side of String in the
> category *Cuis-CompatibilityWithOtherSmalltalks.
>
> But the methods are correctly installed (opening a browser on class
> String will show that). May be is a bug in the code browser of
> installed package utility.
>
> Sorry that I don't have time now to investigate it more deep.

A bug indeed! The fix, and an updated Cuis image are available at Girhub.

Cheers,
Juan Vuletich

> Cheers.
>
> --
> ============================================
> Germán S. Arduino  <gsa @ arsol.net <http://arsol.net>>   Twitter:
> garduino
> Arduino Software  http://www.arduinosoftware.com
> PasswordsPro  http://www.passwordspro.com
> greensecure.blogspot.com <http://greensecure.blogspot.com>
> germanarduino.blogspot.com <http://germanarduino.blogspot.com>
> ============================================
> ------------------------------------------------------------------------
>
> _______________________________________________
> Cuis mailing list
> [hidden email]
> http://jvuletich.org/mailman/listinfo/cuis_jvuletich.org
>  


_______________________________________________
Cuis mailing list
[hidden email]
http://jvuletich.org/mailman/listinfo/cuis_jvuletich.org
Reply | Threaded
Open this post in threaded view
|

Re: Bug (or behavior) installing a package

garduino
Hi Juan:

2012/12/25 Juan Vuletich <[hidden email]>
Hi Germán.


Germán Arduino wrote:
Hi Folks:

I grouped in a package some methods useful to make Cuis compatible with other Smalltalks (aka Pharo, Squeak, VW). The package is Cuis-CompatibilityWithOtherSmalltalks.


Thanks! Just a comment: Character class cr and lf are wrong. Just evaluate them.


Currently I copied the crCharacter method and both (cr and crCharacter or lf and lfCharacter evaluate at the same way).

I could use ^self crCharacter instead of  ^self value: 13 for #cr but still there are not differences.....


 

In this package I noticed a strange behavior (I don't know if is normal, but guess than not).

To reproduce it, install the package and open the Installed Package utility.

Select the package and press BrowsePackgCd button, then you will find all the code *except* the methods of class side of String in the category *Cuis-CompatibilityWithOtherSmalltalks.

But the methods are correctly installed (opening a browser on class String will show that). May be is a bug in the code browser of installed package utility.

Sorry that I don't have time now to investigate it more deep.

A bug indeed! The fix, and an updated Cuis image are available at Girhub.


Thanks.

Germán.

_______________________________________________
Cuis mailing list
[hidden email]
http://jvuletich.org/mailman/listinfo/cuis_jvuletich.org
Reply | Threaded
Open this post in threaded view
|

Re: Bug (or behavior) installing a package

Juan Vuletich-4
Hi Germán,

Just try to inspect

{ Character cr . Character lf }

And see what you get.

Cheers,
Juan Vuletich

Germán Arduino wrote:

> Hi Juan:
>
> 2012/12/25 Juan Vuletich <[hidden email] <mailto:[hidden email]>>
>
>     Hi Germán.
>
>
>     Germán Arduino wrote:
>
>         Hi Folks:
>
>         I grouped in a package some methods useful to make Cuis
>         compatible with other Smalltalks (aka Pharo, Squeak, VW). The
>         package is Cuis-CompatibilityWithOtherSmalltalks.
>
>
>     Thanks! Just a comment: Character class cr and lf are wrong. Just
>     evaluate them.
>
>
> Currently I copied the crCharacter method and both (cr and crCharacter
> or lf and lfCharacter evaluate at the same way).
>
> I could use ^self crCharacter instead of  ^self value: 13 for #cr but
> still there are not differences.....
>
>
>  
>
>
>         In this package I noticed a strange behavior (I don't know if
>         is normal, but guess than not).
>
>         To reproduce it, install the package and open the Installed
>         Package utility.
>
>         Select the package and press BrowsePackgCd button, then you
>         will find all the code *except* the methods of class side of
>         String in the category *Cuis-CompatibilityWithOtherSmalltalks.
>
>         But the methods are correctly installed (opening a browser on
>         class String will show that). May be is a bug in the code
>         browser of installed package utility.
>
>         Sorry that I don't have time now to investigate it more deep.
>
>
>     A bug indeed! The fix, and an updated Cuis image are available at
>     Girhub.
>
>
> Thanks.
>
> Germán.
> ------------------------------------------------------------------------
>
> _______________________________________________
> Cuis mailing list
> [hidden email]
> http://jvuletich.org/mailman/listinfo/cuis_jvuletich.org
>  


_______________________________________________
Cuis mailing list
[hidden email]
http://jvuletich.org/mailman/listinfo/cuis_jvuletich.org
Reply | Threaded
Open this post in threaded view
|

Re: Bug (or behavior) installing a package

garduino


2012/12/26 Juan Vuletich <[hidden email]>
{ Character cr . Character lf }

May be you tried an old version where I did a mistake using value with: if I not bad remember.

Anyway I fixed with the same behavior than crCharacter and lfCharacte (the original ones).

Cheers.

_______________________________________________
Cuis mailing list
[hidden email]
http://jvuletich.org/mailman/listinfo/cuis_jvuletich.org
Reply | Threaded
Open this post in threaded view
|

Re: Bug (or behavior) installing a package

Juan Vuletich-4
Thanks. They work ok now.

Cheers,
Juan Vuletich

Germán Arduino wrote:

>
>
> 2012/12/26 Juan Vuletich <[hidden email] <mailto:[hidden email]>>
>
>     { Character cr . Character lf }
>
>
> May be you tried an old version where I did a mistake using value
> with: if I not bad remember.
>
> Anyway I fixed with the same behavior than crCharacter and lfCharacte
> (the original ones).
>
> Cheers.
> ------------------------------------------------------------------------
>
> _______________________________________________
> Cuis mailing list
> [hidden email]
> http://jvuletich.org/mailman/listinfo/cuis_jvuletich.org
>  


_______________________________________________
Cuis mailing list
[hidden email]
http://jvuletich.org/mailman/listinfo/cuis_jvuletich.org