About Squeak's FFI package ported to Cuis

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

Re: About Squeak's FFI package ported to Cuis

KenDickey
On Sun, 11 Aug 2013 19:13:25 +0200
Bernhard Pieber <[hidden email]> wrote:

> > But this gives us two packages with Feature #'FFI'.  I have not looked into the details of which one package would get selected to load in the case of same name. Same Feature name with different packages is not a good idea.

> Interesting, I thought that the idea of having Feature separate from CodePackage was to allow for a feature to be implemented differently by different packages.

That would be fine, but I want to know which is which!

Having one package load on, say Windows and another on OS-X just because of some randomness in how directories are indexed would be confusing.  As somebody said: the truth arises more naturally from error than from confusion.  ;^)

--
Ken [dot] Dickey [at] whidbey [dot] com

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

Re: About Squeak's FFI package ported to Cuis

Juan Vuletich-4
In reply to this post by bpi
Hi Folks,

Today I did a commit of both Cuis and StyledTextEditor. This, and
several other issues, should be fixed now.

Cheers,
Juan Vuletich

On 8/11/2013 6:47 PM, Bernhard Pieber wrote:

> Hi Juan,
>
> Thanks for moving the package. Installing STE still works very well.
>
> I have a strange effect when loading FFI:
>
> To reproduce:
> 1. Open Installed Packages.
> 2. Execute: Feature require: 'FFI'. Note that it still asks for author initials. Why is that? The ByteArray methods are not there any more.
> 3. Note that in Installed Packages it shows FFI 1.1 as the package name to load and the package shows dirty. Only when loading is finished it shows FFI 1.2.
>
> I wonder why that is.
>
> Cheers,
> Bernhard
>
> Am 11.08.2013 um 23:00 schrieb Juan Vuletich:
>> I added FFI and FFITests to https://github.com/Cuis-Smalltalk/Cuis-Smalltalk-Dev . As Hannes' version was based on a more recent Squeak FFI package, I took it. I fixed a few minor details. I believe this could replace both the FFI at Hannes place, and the one at StyledTextEditor.
>>
>> As Ken already pointed out, a few tests are failing or giving errors. It would be good to investigate this. Especially if the problems also happen in Squeak, and if they affect all or just some VMs. If anyone wants to work on this, it would be great.
>>
>> Please complain if appropriate, or send bug reports, fixes, etc.
>
> _______________________________________________
> 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
12