Christoph Thiede uploaded a new version of Collections to project The Trunk:
http://source.squeak.org/trunk/Collections-ct.1046.mcz
==================== Summary ====================
Name: Collections-ct.1046
Author: ct
Time: 15 June 2023, 7:07:03.73828 pm
UUID: de94f084-3e97-de4c-a498-39a097a8ebd9
Ancestors: Collections-ct.1045
Fixes regression in #asCommaStringAnd for two-item collections. Thanks to Levente (ul) for the report!
=============== Diff against Collections-ct.1045 ===============
Item was changed:
----- Method: Collection>>asCommaStringAnd (in category 'printing - obsolete') -----
asCommaStringAnd
+ "Return collection printed as 'a, b, and c' (Oxford comma)"
- "Return collection printed as 'a, b, and c' "
self flag: #deprecate.
+ ^ String streamContents: [:s |
+ self size = 2
+ ifTrue: [self asStringOn: s delimiter: ' and ']
+ ifFalse: [self asStringOn: s delimiter: ', ' last: ', and ']]!
- ^String streamContents: [:s | self asStringOn: s delimiter: ', ' last: ', and ']
- !
Marcel Taeumel uploaded a new version of ToolsTests to project The Trunk:
http://source.squeak.org/trunk/ToolsTests-mt.122.mcz
==================== Summary ====================
Name: ToolsTests-mt.122
Author: mt
Time: 14 June 2023, 9:23:31.13519 am
UUID: fad51405-ac66-8b4b-bc0c-a9c86b77c64a
Ancestors: ToolsTests-ct.121
Fixes #textBrowseHierarchy* tests.
=============== Diff against ToolsTests-ct.121 ===============
Item was changed:
----- Method: BrowseTest>>currentHierarchyBrowsers (in category 'private') -----
currentHierarchyBrowsers
^ (Project current world submorphsSatisfying: [:each |
+ each isSystemWindow
+ and: [each model respondsTo: #isHierarchy]
+ and: [each model isHierarchy]]) asSet!
- (each isKindOf: SystemWindow)
- and: [each model isKindOf: HierarchyBrowser]]) asSet!
Christoph Thiede uploaded a new version of Collections to project The Trunk:
http://source.squeak.org/trunk/Collections-ct.1045.mcz
==================== Summary ====================
Name: Collections-ct.1045
Author: ct
Time: 13 June 2023, 11:23:46.884003 pm
UUID: 79db8083-31b4-554f-83bd-42c6aac35e64
Ancestors: Collections-ct.1044
Fixes comment in asCommaStringAnd. Sorry for the noise.
=============== Diff against Collections-ct.1044 ===============
Item was changed:
----- Method: Collection>>asCommaStringAnd (in category 'printing - obsolete') -----
asCommaStringAnd
+ "Return collection printed as 'a, b, and c' "
- "Return collection printed as 'a, b and c' "
self flag: #deprecate.
^String streamContents: [:s | self asStringOn: s delimiter: ', ' last: ', and ']
!
Christoph Thiede uploaded a new version of Collections to project The Trunk:
http://source.squeak.org/trunk/Collections-ct.930.mcz
==================== Summary ====================
Name: Collections-ct.930
Author: ct
Time: 11 March 2021, 10:56:52.528559 am
UUID: 6b1a0ee3-8c2d-a547-9ee2-f029a32d07b7
Ancestors: Collections-nice.929
Uses oxford comma in #asCommaStringAnd.
Full discussion is here: http://forum.world.st/The-Inbox-Tools-ct-1015-mcz-tp5124286p5127654.html
=============== Diff against Collections-nice.929 ===============
Item was changed:
----- Method: Collection>>asCommaStringAnd (in category 'printing - obsolete') -----
asCommaStringAnd
"Return collection printed as 'a, b and c' "
self flag: #deprecate.
+ ^String streamContents: [:s | self asStringOn: s delimiter: ', ' last: ', and ']
- ^String streamContents: [:s | self asStringOn: s delimiter: ', ' last: ' and ']
!
Christoph Thiede uploaded a new version of Collections to project The Trunk:
http://source.squeak.org/trunk/Collections-ct.1044.mcz
==================== Summary ====================
Name: Collections-ct.1044
Author: ct
Time: 13 June 2023, 11:07:20.689003 pm
UUID: 4944371b-f79b-5540-b1af-b1bb641f6a6f
Ancestors: Collections-mt.1043, Collections-ct.930
Merges Collections-ct.930:
Uses oxford comma in #asCommaStringAnd.
=============== Diff against Collections-mt.1043 ===============
Item was changed:
----- Method: Collection>>asCommaStringAnd (in category 'printing - obsolete') -----
asCommaStringAnd
"Return collection printed as 'a, b and c' "
self flag: #deprecate.
+ ^String streamContents: [:s | self asStringOn: s delimiter: ', ' last: ', and ']
- ^String streamContents: [:s | self asStringOn: s delimiter: ', ' last: ' and ']
!
Marcel Taeumel uploaded a new version of Collections to project The Trunk:
http://source.squeak.org/trunk/Collections-mt.1043.mcz
==================== Summary ====================
Name: Collections-mt.1043
Author: mt
Time: 12 June 2023, 1:42:34.426515 pm
UUID: 9cd16a22-7109-e245-8472-6666db485ccc
Ancestors: Collections-ct.1042
Fix typo in comment
=============== Diff against Collections-ct.1042 ===============
Item was changed:
SignedIntegerArray variableWordSubclass: #SignedWordArray
instanceVariableNames: ''
classVariableNames: ''
poolDictionaries: ''
category: 'Collections-Arrayed'!
+ !SignedWordArray commentStamp: 'mt 6/12/2023 13:42' prior: 0!
+ A SignedWordArray store 32bit signed Integer values in the range -16r80000000 (-2,147,483,648) to 16r7FFFFFFF (2,147,483,647)
- !SignedWordArray commentStamp: 'nice 5/10/2020 17:22' prior: 0!
- A SignedWordArray store 64bit signed Integer values in the range -16r80000000 (-2,147,483,648) to 16r7FFFFFFF (2,147,483,647)
Negative values are stored as 2's complement.!