Marcel Taeumel uploaded a new version of System to project The Trunk:
http://source.squeak.org/trunk/System-mt.1166.mcz
==================== Summary ====================
Name: System-mt.1166
Author: mt
Time: 29 June 2020, 9:01:56.145853 am
UUID: 6ec090d8-b6b4-0442-b6d9-ad7cb1e05983
Ancestors: System-dtl.1165
Adds Tim Johnson (tcj) to the in-image list of contributors.
=============== Diff against System-dtl.1165 ===============
Item was changed:
----- Method: SystemNavigation class>>privateAuthorsRaw (in category 'class initialization') -----
(excessive size, no diff calculated)
Item was changed:
+ (PackageInfo named: 'System') postscript: 'SystemNavigation initializeAuthors. "new: Tim Johnson (tcj)"'!
- (PackageInfo named: 'System') postscript: 'Preferences removePreference: #bigDisplay.'!
Levente Uzonyi uploaded a new version of Collections to project The Trunk:
http://source.squeak.org/trunk/Collections-ul.901.mcz
==================== Summary ====================
Name: Collections-ul.901
Author: ul
Time: 29 June 2020, 2:08:55.776619 am
UUID: 8df577a2-3856-4432-b54c-25c93831b5a8
Ancestors: Collections-ul.900
Fix regression in ReadStream >> #match:. When the subCollection is not present in the receiver, the stream's position must be set to the end to match the original behavior.
=============== Diff against Collections-ul.900 ===============
Item was changed:
----- Method: ReadStream>>match: (in category 'positioning') -----
match: subCollection
"Faster version than the one implemented by super, but due to my subclasses breaking various invariants true for actual ReadStreams, only use it when the receiver's class is ReadStream."
| matchPosition |
self class == ReadStream ifFalse: [ ^super match: subCollection ].
subCollection isEmpty ifTrue: [ ^true ].
matchPosition := collection indexOfSubCollection: subCollection startingAt: position + 1.
+ matchPosition = 0 ifTrue: [
+ position := readLimit.
+ ^false ].
- matchPosition = 0 ifTrue: [ ^false ].
matchPosition <= readLimit ifFalse: [ ^false ].
position := matchPosition + subCollection size - 1.
^true!
Levente Uzonyi uploaded a new version of Collections to project The Trunk:
http://source.squeak.org/trunk/Collections-ul.900.mcz
==================== Summary ====================
Name: Collections-ul.900
Author: ul
Time: 23 June 2020, 10:48:18.28482 pm
UUID: ff11e218-b6f4-44db-bd02-2e2284158946
Ancestors: Collections-mt.898
- enable the use of primitive 158 in String >> #compareWith:collated: because when collation is specified, the VM does not use the jitted version
- fix: String >> #compare:caseSensitive: needs to transform the return value of String >> #compareWith:collated:
- speed up ReadStream >> #match: when the receiver's class is ReadStream
=============== Diff against Collections-mt.898 ===============
Item was added:
+ ----- Method: ReadStream>>match: (in category 'positioning') -----
+ match: subCollection
+ "Faster version than the one implemented by super, but due to my subclasses breaking various invariants true for actual ReadStreams, only use it when the receiver's class is ReadStream."
+
+ | matchPosition |
+ self class == ReadStream ifFalse: [ ^super match: subCollection ].
+ subCollection isEmpty ifTrue: [ ^true ].
+ matchPosition := collection indexOfSubCollection: subCollection startingAt: position + 1.
+ matchPosition = 0 ifTrue: [ ^false ].
+ matchPosition <= readLimit ifFalse: [ ^false ].
+ position := matchPosition + subCollection size - 1.
+ ^true!
Item was changed:
----- Method: String>>compare:caseSensitive: (in category 'comparing') -----
compare: aString caseSensitive: aBool
"Answer a comparison code telling how the receiver sorts relative to aString:
1 - before
2 - equal
3 - after.
"
+ | map result |
- | map |
map := aBool ifTrue:[CaseSensitiveOrder] ifFalse:[CaseInsensitiveOrder].
+ result := self compareWith: aString collated: map.
+ result = 0 ifTrue: [ ^2 ].
+ ^result > 0
+ ifTrue: [ 3 ]
+ ifFalse: [ 1 ]!
- ^(self compareWith: aString collated: map) + 2!
Item was changed:
----- Method: String>>compareWith:collated: (in category 'comparing') -----
compareWith: aString collated: collation
+ <primitive: 158>
- "<primitive: 158>"
^(self compare: self with: aString collated: collation) - 2!
Marcel Taeumel uploaded a new version of Tools to project The Trunk:
http://source.squeak.org/trunk/Tools-mt.981.mcz
==================== Summary ====================
Name: Tools-mt.981
Author: mt
Time: 23 June 2020, 6:50:33.003163 am
UUID: 210af2e1-3f13-6041-8ea1-6e0ff6673c20
Ancestors: Tools-tpr.980
Restore hook #defaultIntegerBaseInDebugger, which is frequently used in the VMMaker.
=============== Diff against Tools-tpr.980 ===============
Item was added:
+ ----- Method: Inspector>>defaultIntegerBase (in category 'user interface') -----
+ defaultIntegerBase
+ "Answer the default base in which to print integers.
+ Defer to the class of the instance."
+
+ ^ (self object class respondsTo: #defaultIntegerBaseInDebugger)
+ ifTrue: [self object class perform: #defaultIntegerBaseInDebugger]
+ ifFalse: [10]!
Item was changed:
----- Method: Inspector>>getContents (in category 'user interface') -----
getContents
| newContents |
selectionUpdateTime := 0.
self hasSelection ifFalse: [^ ''].
selectionUpdateTime := [
newContents := self selection in: [:object |
self selectedField shouldPrintValueAsIs
ifTrue: [object asStringOrText] "Show strings and texts without quoting and without ellipsis."
+ ifFalse: [
+ object isInteger
+ ifTrue: [object storeStringBase: self defaultIntegerBase]
+ ifFalse: [object printString]]].
- ifFalse: [object printString]].
] timeToRun.
^ newContents!