Levente Uzonyi uploaded a new version of Tools to project The Trunk:
http://source.squeak.org/trunk/Tools-fbs.345.mcz
==================== Summary ====================
Name: Tools-fbs.345
Author: fbs
Time: 26 April 2011, 8:44:19.26 am
UUID: 52e2c842-2c27-0247-8b93-05056b5ab133
Ancestors: Tools-fbs.344
Levente Uzonyi found that deleting the last message in a MessageSet raised an error. This fixes the error by checking the list of messages: if there are no messages in the Browser (or subclass) instance, then explicitly select "no method selected".
=============== Diff against Tools-fbs.344 ===============
Item was changed:
----- Method: Browser>>reformulateList (in category 'message list') -----
reformulateList
"If the receiver has a way of reformulating its message list, here is a chance for it to do so"
super reformulateList.
(self messageList includes: self selectedMessageName)
+ ifFalse: [ self messageList
+ ifEmpty: [ self selectMessageNamed: nil ]
+ ifNotEmpty: [ self selectMessageNamed: self lastMessageName ]].!
- ifFalse: [ self selectMessageNamed: self lastMessageName ].!
Levente Uzonyi uploaded a new version of Tools to project The Trunk:
http://source.squeak.org/trunk/Tools-fbs.345.mcz
==================== Summary ====================
Name: Tools-fbs.345
Author: fbs
Time: 26 April 2011, 8:44:19.26 am
UUID: 52e2c842-2c27-0247-8b93-05056b5ab133
Ancestors: Tools-fbs.344
Levente Uzonyi found that deleting the last message in a MessageSet raised an error. This fixes the error by checking the list of messages: if there are no messages in the Browser (or subclass) instance, then explicitly select "no method selected".
=============== Diff against Tools-fbs.344 ===============
Item was changed:
----- Method: Browser>>reformulateList (in category 'message list') -----
reformulateList
"If the receiver has a way of reformulating its message list, here is a chance for it to do so"
super reformulateList.
(self messageList includes: self selectedMessageName)
+ ifFalse: [ self messageList
+ ifEmpty: [ self selectMessageNamed: nil ]
+ ifNotEmpty: [ self selectMessageNamed: self lastMessageName ]].!
- ifFalse: [ self selectMessageNamed: self lastMessageName ].!
Nicolas Cellier uploaded a new version of Collections to project The Trunk:
http://source.squeak.org/trunk/Collections-nice.442.mcz
==================== Summary ====================
Name: Collections-nice.442
Author: nice
Time: 1 May 2011, 10:16:12.584 pm
UUID: 32919b15-6f79-4990-9277-8267034615d1
Ancestors: Collections-nice.441
Oops, case of elementary arithmetic error...
16r3FC highBit - 16r3FC lowBit + 1 = 8, not 9
(negative leadingChar are not allowed)
Thanks Levente.
=============== Diff against Collections-nice.441 ===============
Item was changed:
----- Method: Character>>leadingChar (in category 'accessing') -----
leadingChar
+ "Answer the value of the 8 highest bits which is used to identify the language.
- "Answer the value of the 9 highest bits which is used to identify the language.
This is mostly used for east asian languages CJKV as a workaround against unicode han-unification."
^ value bitShift: -22!
Nicolas Cellier uploaded a new version of Collections to project The Trunk:
http://source.squeak.org/trunk/Collections-nice.442.mcz
==================== Summary ====================
Name: Collections-nice.442
Author: nice
Time: 1 May 2011, 10:16:12.584 pm
UUID: 32919b15-6f79-4990-9277-8267034615d1
Ancestors: Collections-nice.441
Oops, case of elementary arithmetic error...
16r3FC highBit - 16r3FC lowBit + 1 = 8, not 9
(negative leadingChar are not allowed)
Thanks Levente.
=============== Diff against Collections-nice.441 ===============
Item was changed:
----- Method: Character>>leadingChar (in category 'accessing') -----
leadingChar
+ "Answer the value of the 8 highest bits which is used to identify the language.
- "Answer the value of the 9 highest bits which is used to identify the language.
This is mostly used for east asian languages CJKV as a workaround against unicode han-unification."
^ value bitShift: -22!
Nicolas Cellier uploaded a new version of Collections to project The Trunk:
http://source.squeak.org/trunk/Collections-nice.442.mcz
==================== Summary ====================
Name: Collections-nice.442
Author: nice
Time: 1 May 2011, 10:16:12.584 pm
UUID: 32919b15-6f79-4990-9277-8267034615d1
Ancestors: Collections-nice.441
Oops, case of elementary arithmetic error...
16r3FC highBit - 16r3FC lowBit + 1 = 8, not 9
(negative leadingChar are not allowed)
Thanks Levente.
=============== Diff against Collections-nice.441 ===============
Item was changed:
----- Method: Character>>leadingChar (in category 'accessing') -----
leadingChar
+ "Answer the value of the 8 highest bits which is used to identify the language.
- "Answer the value of the 9 highest bits which is used to identify the language.
This is mostly used for east asian languages CJKV as a workaround against unicode han-unification."
^ value bitShift: -22!
Nicolas Cellier uploaded a new version of Collections to project The Trunk:
http://source.squeak.org/trunk/Collections-nice.441.mcz
==================== Summary ====================
Name: Collections-nice.441
Author: nice
Time: 1 May 2011, 9:55:49.878 pm
UUID: 2137bb66-b2ad-44f8-8414-5dce42a0b79e
Ancestors: Collections-ul.440
Remove the bitAnd: mask from leadingChar as it is mostly useless.
Replace it with a comment.
=============== Diff against Collections-ul.440 ===============
Item was changed:
----- Method: Character>>leadingChar (in category 'accessing') -----
leadingChar
+ "Answer the value of the 9 highest bits which is used to identify the language.
+ This is mostly used for east asian languages CJKV as a workaround against unicode han-unification."
+ ^ value bitShift: -22!
-
- ^ (value bitAnd: (16r3FC00000)) bitShift: -22.
- !
Nicolas Cellier uploaded a new version of Collections to project The Trunk:
http://source.squeak.org/trunk/Collections-nice.441.mcz
==================== Summary ====================
Name: Collections-nice.441
Author: nice
Time: 1 May 2011, 9:55:49.878 pm
UUID: 2137bb66-b2ad-44f8-8414-5dce42a0b79e
Ancestors: Collections-ul.440
Remove the bitAnd: mask from leadingChar as it is mostly useless.
Replace it with a comment.
=============== Diff against Collections-ul.440 ===============
Item was changed:
----- Method: Character>>leadingChar (in category 'accessing') -----
leadingChar
+ "Answer the value of the 9 highest bits which is used to identify the language.
+ This is mostly used for east asian languages CJKV as a workaround against unicode han-unification."
+ ^ value bitShift: -22!
-
- ^ (value bitAnd: (16r3FC00000)) bitShift: -22.
- !