Karl Ramberg uploaded a new version of MorphicExtras to project The Trunk:
http://source.squeak.org/trunk/MorphicExtras-kfr.227.mcz
==================== Summary ====================
Name: MorphicExtras-kfr.227
Author: kfr
Time: 15 April 2018, 12:47:19.317391 pm
UUID: 9dd2eaf1-6002-4f42-99c4-65f00426c358
Ancestors: MorphicExtras-kfr.226
BouncingAtomsMorph was not updating drawing bounds once it stopped stepping and got moved
=============== Diff against MorphicExtras-kfr.226 ===============
Item was removed:
- ----- Method: BouncingAtomsMorph>>intoWorld: (in category 'initialization') -----
- intoWorld: aWorld
- "Make sure report damage at least once"
- damageReported := false.
- super intoWorld: aWorld.!
Item was added:
+ ----- Method: BouncingAtomsMorph>>justDroppedInto:event: (in category 'initialization') -----
+ justDroppedInto: newOwner event: evt
+ self startStepping
+ !
Karl Ramberg uploaded a new version of MorphicExtras to project The Trunk:
http://source.squeak.org/trunk/MorphicExtras-kfr.226.mcz
==================== Summary ====================
Name: MorphicExtras-kfr.226
Author: kfr
Time: 14 April 2018, 3:54:05.537419 pm
UUID: 013296dd-551b-154d-8583-5fa40bf21e36
Ancestors: MorphicExtras-kfr.225
Paint was missing from the Graphics category in Object tool
=============== Diff against MorphicExtras-kfr.225 ===============
Item was changed:
----- Method: PaintInvokingMorph class>>descriptionForPartsBin (in category 'parts bin') -----
descriptionForPartsBin
^ self partName: 'Paint' translatedNoop
+ categories: #('Graphics' translatedNoop)
- categories: #()
documentation: 'Drop this icon to start painting a new object.' translatedNoop!
Karl Ramberg uploaded a new version of MorphicExtras to project The Trunk:
http://source.squeak.org/trunk/MorphicExtras-kfr.226.mcz
==================== Summary ====================
Name: MorphicExtras-kfr.226
Author: kfr
Time: 14 April 2018, 3:54:05.537419 pm
UUID: 013296dd-551b-154d-8583-5fa40bf21e36
Ancestors: MorphicExtras-kfr.225
Paint was missing from the Graphics category in Object tool
=============== Diff against MorphicExtras-kfr.225 ===============
Item was changed:
----- Method: PaintInvokingMorph class>>descriptionForPartsBin (in category 'parts bin') -----
descriptionForPartsBin
^ self partName: 'Paint' translatedNoop
+ categories: #('Graphics' translatedNoop)
- categories: #()
documentation: 'Drop this icon to start painting a new object.' translatedNoop!
Marcel Taeumel uploaded a new version of Tools to project The Trunk:
http://source.squeak.org/trunk/Tools-mt.805.mcz
==================== Summary ====================
Name: Tools-mt.805
Author: mt
Time: 11 April 2018, 9:16:12.591927 am
UUID: 8d0a4073-2ee8-6941-bb8c-7926dd445e6e
Ancestors: Tools-mt.804
Fixes regression in the labels for senders/implementors browsers.
=============== Diff against Tools-mt.804 ===============
Item was changed:
CodeHolder subclass: #MessageSet
instanceVariableNames: 'growable messageList autoSelectString messageListIndex editSelection'
+ classVariableNames: 'UseUnifiedMessageLabels'
- classVariableNames: ''
poolDictionaries: ''
category: 'Tools-Browser'!
!MessageSet commentStamp: '<historical>' prior: 0!
I represent a query path of the retrieval result of making a query about methods in the system. The result is a set of methods, denoted by a message selector and the class in which the method was found. As a StringHolder, the string I represent is the source code of the currently selected method. I am typically viewed in a Message Set Browser consisting of a MessageListView and a BrowserCodeView.!
Item was added:
+ ----- Method: MessageSet class>>useUnifiedMessageLabels (in category 'preferences') -----
+ useUnifiedMessageLabels
+ <preference: 'Use unified message labels'
+ categoryList: #(Tools tools)
+ description: 'In all message set browsers such as senders and implementors, show a unified, textual representation of all method references (or messages).'
+ type: #Boolean>
+ ^ UseUnifiedMessageLabels ifNil: [true]!
Item was added:
+ ----- Method: MessageSet class>>useUnifiedMessageLabels: (in category 'preferences') -----
+ useUnifiedMessageLabels: aBoolean
+
+ UseUnifiedMessageLabels := aBoolean.!
Item was changed:
----- Method: MessageSet>>initializeMessageList: (in category 'private') -----
initializeMessageList: anArray
"Initialize my messageList from the given list of MethodReference or string objects. NB: special handling for uniclasses.
Do /not/ replace the elements of anArray if they are already MethodReferences, so as to allow users to construct richer
systems, such as differencers between existing and edited versions of code."
messageList := OrderedCollection new.
+ anArray do: [:each |
- anArray do:
- [:each |
each isMethodReference
ifTrue: [messageList addLast: each]
+ ifFalse: [MessageSet parse: each toClassAndSelector: [ :class :sel |
+ class ifNotNil: [
+ messageList addLast: (
+ MethodReference new
+ class: class
+ selector: sel)] ]]].
+
+ "Unify labels if wanted."
+ self class useUnifiedMessageLabels ifTrue: [
+ messageList do: [:each | | cls |
+ cls := each actualClass.
+ each stringVersion: (cls isUniClass
+ ifTrue: [cls typicalInstanceName, ' ', each selector]
+ ifFalse: [cls name , ' ' , each selector , ' {' ,
+ ((cls organization categoryOfElement: each selector) ifNil: ['']) , '}' ,
+ ' {', cls category, '}'])]].
+
- ifFalse:
- [MessageSet
- parse: each
- toClassAndSelector: [ :class :sel | | s |
- class ifNotNil:
- [class isUniClass
- ifTrue:
- [s := class typicalInstanceName, ' ', sel]
- ifFalse:
- [s := class name , ' ' , sel , ' {' ,
- ((class organization categoryOfElement: sel) ifNil: ['']) , '}' ,
- ' {', class category, '}'].
- messageList addLast: (
- MethodReference new
- setClass: class
- methodSymbol: sel
- stringVersion: s)]]]].
messageListIndex := messageList isEmpty ifTrue: [0] ifFalse: [1].
contents := ''!
Chris Muller uploaded a new version of ToolBuilder-Morphic to project The Trunk:
http://source.squeak.org/trunk/ToolBuilder-Morphic-cmm.213.mcz
==================== Summary ====================
Name: ToolBuilder-Morphic-cmm.213
Author: cmm
Time: 9 April 2018, 7:24:08.252469 pm
UUID: e26c8ea8-2621-4752-86be-c67aeb44c4fb
Ancestors: ToolBuilder-Morphic-cmm.212
Fix.
=============== Diff against ToolBuilder-Morphic-cmm.212 ===============
Item was changed:
----- Method: FileSaverDialog>>selectFilename: (in category 'filename') -----
selectFilename: aText
"The user has entered a potential filename in the text field. Check it against the current pattern; if it is ok we can accept it and then if it is a file in the current list, highlight it. If it would not match the pattern, alert the user."
fileName := aText asString.
^ self selectExistingFilename
ifTrue:
[ self changed: #fileListIndex.
true ]
ifFalse:
[ suffixList size = 1
ifTrue:
[ | suffix |
((suffix := '.' , suffixList anyOne)
+ compare: (fileName last: (suffix size min: fileName size))
- compare: (fileName last: suffix size)
caseSensitive: FileDirectory default isCaseSensitive) = 2 ifFalse: [ fileName := fileName , suffix ].
true ]
ifFalse:
[ suffixList
at:
(UIManager default
chooseFrom: suffixList
title: 'Please choose the type of file to save.')
ifPresent:
[ : choice | fileName := fileName , '.' , choice.
true ]
ifAbsent:
[ suffixList isEmpty or:
[ UIManager default inform: 'WARNING: File not saved!! A filename matching one of ' , patternList asArray asString , ' patterns is required.'.
false ] ] ] ]!