[Cuis-dev] Compression and SqueakCompatibility packages fail to load
Juan Vuletich
juan at cuis.st
Sat Oct 29 17:21:24 PDT 2022
Hi Folks,
I could load it and make the tests pass. For that:
- I edited the package file and changed references to StandardFileStream
and FileStream to UniFileStream. Trivial.
- added #byteAt: and #byteAt:put: to String. This doesn't look like a
good idea.
- added #asByteString to the 'Hello World' literal in the test. Neither
this looks right.
But this is most likely not a good solution.
It seems that Compression is making the assumption that Strings are made
of Byte characters. I don't know the compression algorithms in detail,
or what is the standard way to deal with UTF-8 content in compression.
Most likely it is byte by byte, right? If so, Compression should be
adapted to work on ByteArrays only, and claim no knowledge of how
Strings are encoded.
If any of you can take a deeper look into this, it would be a great
service to the community.
Thanks,
On 10/29/2022 10:17 AM, Gerald Klix via Cuis-dev wrote:
> Thanks for testing, that saved me a lot of work.
> Cuis without the Compression package is rather useless to me.
>
>
> Best Regards,
>
> Gerald
>
>
>
> On 29.10.22 13:29, Mariano Montone via Cuis-dev wrote:
>> Hi,
>>
>> Compression and SqueakCompatibility packages fail to load in latest
>> image because FileStream and StandardFileStream classes are not
>> available anymore, and they want to add extensions to those classes.
>>
>> Have a fix?
>>
>> Thanks,
>>
>> Mariano
>>
>
--
Juan Vuletich
cuis.st
github.com/jvuletich
researchgate.net/profile/Juan-Vuletich
independent.academia.edu/JuanVuletich
patents.justia.com/inventor/juan-manuel-vuletich
linkedin.com/in/juan-vuletich-75611b3
twitter.com/JuanVuletich
More information about the Cuis-dev
mailing list