Eliot Miranda uploaded a new version of Tools to project The Trunk:
http://source.squeak.org/trunk/Tools-eem.843.mcz
==================== Summary ====================
Name: Tools-eem.843
Author: eem
Time: 14 January 2019, 10:30:05.84058 am
UUID: 889764d2-df9b-4623-8ac7-65847938f31d
Ancestors: Tools-tpr.842
Retain the default label for a MessageTrace and restore it when there is no selection. Hence preserve useful info like number of selected methods in a browseAllSelect:.
Chris M, please review.
=============== Diff against Tools-tpr.842 ===============
Item was changed:
MessageSet subclass: #MessageTrace
+ instanceVariableNames: 'autoSelectStrings messageSelections anchorIndex defaultSelectString'
- instanceVariableNames: 'autoSelectStrings messageSelections anchorIndex'
classVariableNames: ''
poolDictionaries: ''
category: 'Tools-Browser'!
!MessageTrace commentStamp: 'cmm 3/2/2010 20:26' prior: 0!
A MessageTrace is a MessageSet allowing efficient sender/implementor message following. With implementors indented below, and senders outdended above, message flow is succinctly expressed, hierarchically.
My autoSelectStrings and messageSelections are Arrays of Booleans, parallel to my messageList. Each boolean indicates whether that message is selected. Each autoSelectStrings indicates which string should be highlighted in the code for each method in my messageList.!
Item was changed:
----- Method: MessageTrace>>messageListIndex: (in category 'actions') -----
messageListIndex: anInteger
autoSelectStrings notEmpty ifTrue:
[ autoSelectString :=
anInteger = 0
+ ifTrue:
+ [ defaultSelectString ifNotNil: [:default| self containingWindow setLabel: default].
+ '' ]
- ifTrue: [ '' ]
ifFalse:
[ messageListIndex := anInteger. "setting the window label, below, can't wait for this.."
self containingWindow setLabel: (self windowLabelAt: anInteger).
(autoSelectStrings at: anInteger) ifNotNil: [ : fullSelector | fullSelector keywords first ] ] ].
anInteger > 0 ifTrue:
[ self
messageAt: anInteger
beSelected: true ].
super messageListIndex: anInteger
!
Item was changed:
----- Method: MessageTrace>>windowLabelAt: (in category 'private accessing') -----
windowLabelAt: anInteger
| str |
+ defaultSelectString ifNil:
+ [defaultSelectString := self containingWindow label].
^(str := autoSelectStrings at: anInteger)
ifNil:
[ 'Implementors of ',
(self class
parse: self selection
toClassAndSelector: [ :class :selector | selector ]) ]
ifNotNil:
[ 'Senders of ', str ]
!
Marcel Taeumel uploaded a new version of MorphicTests to project The Trunk:
http://source.squeak.org/trunk/MorphicTests-mt.49.mcz
==================== Summary ====================
Name: MorphicTests-mt.49
Author: mt
Time: 9 January 2019, 9:03:20.071737 am
UUID: 5059d74b-faf5-4c8c-89e9-1afe93a71d2c
Ancestors: MorphicTests-mt.48
Adds a test to ensure full-refresh culling works for system windows.
Complementary update for Morphic-mt.1474.
=============== Diff against MorphicTests-mt.48 ===============
Item was added:
+ TestCase subclass: #SystemWindowTest
+ instanceVariableNames: 'sut'
+ classVariableNames: ''
+ poolDictionaries: ''
+ category: 'MorphicTests-Widgets'!
Item was added:
+ ----- Method: SystemWindowTest>>setUp (in category 'as yet unclassified') -----
+ setUp
+
+ super setUp.
+ sut := SystemWindow new.!
Item was added:
+ ----- Method: SystemWindowTest>>test01Culling (in category 'as yet unclassified') -----
+ test01Culling
+ "Check whether system windows follow the specs for occlusion culling. See WorldState >> #drawWorld:submorphs:invalidAreasOn: and Morph >> #areasRemainingToFill:."
+
+ sut extent: 500@500; fullBounds.
+
+ self assert: (sut areasRemainingToFill: (20@20 center: sut center)) isEmpty.
+ self assert: (sut areasRemainingToFill: sut bounds) isEmpty.
+ self assert: (sut areasRemainingToFill: sut outerBounds) isEmpty.
+ self assert: (sut areasRemainingToFill: sut fullBounds) isEmpty.!
Marcel Taeumel uploaded a new version of System to project The Trunk:
http://source.squeak.org/trunk/System-mt.1050.mcz
==================== Summary ====================
Name: System-mt.1050
Author: mt
Time: 9 January 2019, 8:44:51.214737 am
UUID: 2d7b87a9-ebd0-40a8-997d-8cecc54391a1
Ancestors: System-tpr.1049
Adds convenience message to re-inizialize all UI themes. Useful for ReleaseBuilder and post-load scripts.
=============== Diff against System-tpr.1049 ===============
Item was added:
+ ----- Method: UserInterfaceTheme class>>cleanUpAndReset (in category 'initialize-release') -----
+ cleanUpAndReset
+ "Rebuild all themes and re-apply the current one by name."
+
+ | nameToReset |
+ nameToReset := UserInterfaceTheme current name.
+ self cleanUp: true.
+ (self named: nameToReset) apply.!
tim Rowledge uploaded a new version of XML-Parser to project The Trunk:
http://source.squeak.org/trunk/XML-Parser-tpr.45.mcz
==================== Summary ====================
Name: XML-Parser-tpr.45
Author: tpr
Time: 8 January 2019, 4:30:40.627647 pm
UUID: b6cfe816-cabd-439e-9775-7472c551b4c7
Ancestors: XML-Parser-ul.44
Use FileServices as the registry instead of FileList
=============== Diff against XML-Parser-ul.44 ===============
Item was changed:
----- Method: XMLDOMParser class>>initialize (in category 'initialize-release') -----
initialize
"register the receiver in the global registries"
self environment
+ at: #FileServices
- at: #FileList
ifPresent: [:cl | cl registerFileReader: self]!
Item was changed:
----- Method: XMLDOMParser class>>unload (in category 'initialize-release') -----
unload
"Unload the receiver from global registries"
self environment
+ at: #FileServices
- at: #FileList
ifPresent: [:cl | cl unregisterFileReader: self]!