Marcel Taeumel uploaded a new version of SystemReporter to project The Trunk:
http://source.squeak.org/trunk/SystemReporter-mt.42.mcz
==================== Summary ====================
Name: SystemReporter-mt.42
Author: mt
Time: 24 February 2020, 3:20:21.174903 pm
UUID: bb593140-0aec-7b4d-a7c2-079a794d6db1
Ancestors: SystemReporter-eem.40
Makes "Image Preferences" work again in the system reporter tool by ignoring Deprecation warnings.
This is only a quickfix for the release. We might want to think about whether to mark deprecated preferences visually or maybe even skip them in the report.
=============== Diff against SystemReporter-eem.40 ===============
Item was changed:
----- Method: SystemReporter>>reportPreferences: (in category 'reporting') -----
reportPreferences: aStream
| booleanPrefs prefs valuePrefs attribute falseTA trueTA |
prefs := Preferences dictionaryOfPreferences.
booleanPrefs := prefs select: [:each | each type = #Boolean].
valuePrefs := prefs select: [:each | each type = #Number or: [each type = #String]].
trueTA := TextColor black.
falseTA := TextColor gray.
booleanPrefs := booleanPrefs sorted: [:a :b | a name <= b name].
self header: 'Boolean Preferences' on: aStream.
+ booleanPrefs do: [:each | | prefValue |
+ [prefValue := each preferenceValue]
+ on: Deprecation do: [:ex | ex resume].
+ attribute := prefValue ifTrue: [trueTA] ifFalse: [falseTA].
- booleanPrefs do: [:each |
- attribute := each preferenceValue ifTrue: [trueTA] ifFalse: [falseTA].
aStream withAttribute: attribute do: [
aStream
nextPutAll: each name;
tab;
+ nextPutAll: prefValue printString;
- nextPutAll: each preferenceValue printString;
cr]].
aStream cr.
self header: 'Value Preferences' on: aStream.
+ valuePrefs do: [:each | | prefValue |
+ [prefValue := each preferenceValue]
+ on: Deprecation do: [:ex | ex resume].
- valuePrefs do: [:each |
aStream
nextPutAll: each name;
tab;
+ nextPutAll: prefValue printString;
- nextPutAll: each preferenceValue printString;
cr].
!
Marcel Taeumel uploaded a new version of SUnit to project The Trunk:
http://source.squeak.org/trunk/SUnit-mt.121.mcz
==================== Summary ====================
Name: SUnit-mt.121
Author: mt
Time: 24 February 2020, 1:51:00.898031 pm
UUID: 3bdfea7b-5f14-9d4a-9fd5-6caae4be5ed1
Ancestors: SUnit-mt.120
Clean up the test history during release building (and aggressive clean-up in general).
=============== Diff against SUnit-mt.120 ===============
Item was added:
+ ----- Method: TestCase class>>cleanUp: (in category 'initialize-release') -----
+ cleanUp: aggressive
+
+ aggressive ifTrue: [
+ self withAllSubclassesDo: [:testCaseClass |
+ testCaseClass resetHistory]].!
Marcel Taeumel uploaded a new version of ToolBuilder-Morphic to project The Trunk:
http://source.squeak.org/trunk/ToolBuilder-Morphic-ct.253.mcz
==================== Summary ====================
Name: ToolBuilder-Morphic-ct.253
Author: ct
Time: 24 January 2020, 9:27:31.738262 pm
UUID: e0810ef0-e633-2047-bdda-a69a7c14f9a9
Ancestors: ToolBuilder-Morphic-mt.251
Fix a regression in ListMultipleChooser that led to missing invalidations of the PluggableListMorphOfMany. Probably introduced by the recent refactoring of list morphs.
To reproduce, run the following snippet and select multiple items (but don't move the cursor after clicking):
Project uiManager chooseMultipleFrom: #(foo bar)
Only the first selection event triggered a #change before.
=============== Diff against ToolBuilder-Morphic-mt.251 ===============
Item was changed:
----- Method: ListMultipleChooser>>selectionAt:put: (in category 'accessing') -----
selectionAt: index put: boolean
self selection at: index put: boolean.
+ self changed: #selectionAt:!
- self changed: #selectedIndex!
Marcel Taeumel uploaded a new version of ToolBuilder-Kernel to project The Trunk:
http://source.squeak.org/trunk/ToolBuilder-Kernel-ct.136.mcz
==================== Summary ====================
Name: ToolBuilder-Kernel-ct.136
Author: ct
Time: 24 January 2020, 6:38:19.896574 pm
UUID: fcf254ff-5458-1c42-9499-d460f46e1ec8
Ancestors: ToolBuilder-Kernel-mt.134
Fixes a defect in UIManager's fallback implementation of #chooseFromOrAddTo:lines:title:: If we prepend an item to aList, we need to increment linesArray.
=============== Diff against ToolBuilder-Kernel-mt.134 ===============
Item was changed:
----- Method: UIManager>>chooseFromOrAddTo:lines:title: (in category 'ui requests') -----
chooseFromOrAddTo: aList lines: linesArray title: aString
+
| index |
+ index := self
+ chooseFrom: {'new...'}, aList
+ lines: linesArray + 1
+ title: aString.
- index := self chooseFrom: {'new...'}, aList lines: linesArray title: aString.
index = 0 ifTrue: [^ nil].
-
index = 1 ifTrue:
[^ self request: 'Please type new value' initialAnswer: ''].
-
^ aList at: index - 1!