Unicode patch

Janko Mivšek janko.mivsek at eranova.si
Thu Jun 14 18:23:25 UTC 2007


Hi Damien,

Damien Cassou wrote:
> did you try to load your changeset in a Squeak 3.10 image? What is the
> status of the tests?
> 
> If your changeset is good enough and if you write unit tests, it may
> be interesting to put your changeset into 3.10.

That will be nice. I just don't  know yet a procedure how patches from 
community goes through all tests and careful eyes to be included in main 
image. Is this written down somewhere. And for start, where can I find 3.10?

Best regards
Janko


> Bye
> 
> 2007/6/12, Janko Mivšek <janko.mivsek at eranova.si>:
>> Dear Squeakers,
>>
>> Please find attached an Unicode patch, which deals with improvements of
>> internal representation of Unicode characters. It:
>>
>> 1. introduce new class TwoByteString
>> 2. change at:put: on ByteString and other such methods to "scale" string
>>     to TwoByteString or FourByteString, depending on width of a character
>> 3. rename WideString to FourByteString for consistency, also
>>     rename all related methods
>> 2. add category CollectionTests-Unicode with tests
>> 3. add class UnicodeBenchmarking for measuring speed of
>>     Unicode handling like at:put speed and UTF8 conversions on included
>>     English, French, Slovenian, Russian and Chinese text.
>>
>> ByteString and TwoByteString also include UTF8 conversion methods, which
>> will probably be moved to UTF8TextConverter later.
>>
>> I hope this patch will help improving Squeak Unicode support a bit.
>>
>> Best regards
>> Janko


-- 
Janko Mivšek
AIDA/Web
Smalltalk Web Application Server
http://www.aidaweb.si



More information about the Squeak-dev mailing list