Nicolas Cellier uploaded a new version of Multilingual to project The Trunk: http://source.squeak.org/trunk/Multilingual-nice.139.mcz
==================== Summary ====================
Name: Multilingual-nice.139 Author: nice Time: 30 March 2011, 10:52:57.838 pm UUID: 113356c1-c621-944f-9e35-c3cc5ed0d195 Ancestors: Multilingual-ul.138
minor ifNil refactoring
=============== Diff against Multilingual-ul.138 ===============
Item was changed: ----- Method: ByteTextConverter>>nextFromStream: (in category 'conversion') ----- nextFromStream: aStream | character1 | aStream isBinary ifTrue: [^ aStream basicNext]. + character1 := aStream basicNext ifNil: [^ nil]. - character1 := aStream basicNext. - character1 isNil ifTrue: [^ nil]. ^ self toSqueak: character1!
Item was changed: ----- Method: MultiByteBinaryOrTextStream>>upTo: (in category 'public') ----- upTo: delim
| out ch | out := WriteStream on: (String new: 1000). self atEnd ifTrue: [^ '']. + [(ch := self next) == nil] whileFalse: [ - [(ch := self next) isNil] whileFalse: [ (ch = delim) ifTrue: [ ^ out contents "terminator is not doubled; we're done!!" ]. out nextPut: ch. ]. ^ out contents. !
Item was changed: ----- Method: TTCFont class>>registry (in category 'other') ----- registry + ^ Registry + ifNil: [Registry := IdentityDictionary new] - - ^ Registry isNil - ifTrue: [Registry := IdentityDictionary new] - ifFalse: [Registry]. !
Item was changed: ----- Method: TTCFont>>emphasis: (in category 'accessing') ----- emphasis: code
code > 3 ifTrue: [^ self]. code = 0 ifTrue: [^ self]. + derivatives ifNil: [^ self]. - derivatives isNil ifTrue: [^ self]. ^ (derivatives at: code) ifNil: [self]. !
Item was changed: ----- Method: TTCFontSet class>>registry (in category 'as yet unclassified') ----- registry + ^ Registry + ifNil: [Registry := IdentityDictionary new]! - - ^ Registry isNil - ifTrue: [Registry := IdentityDictionary new] - ifFalse: [Registry]. - !
packages@lists.squeakfoundation.org