Levente Uzonyi uploaded a new version of Tools to project The Trunk:
http://source.squeak.org/trunk/Tools-ul.899.mcz
==================== Summary ====================
Name: Tools-ul.899
Author: ul
Time: 2 October 2019, 3:29:54.652791 pm
UUID: d69b08cf-a93f-4dba-bc1d-857473b033ee
Ancestors: Tools-ul.896, Tools-ct.887, Tools-pre.898
- merged with Tools-ct.887 and Tools-ul.896
=============== Diff against Tools-pre.898 ===============
Item was added:
+ ----- Method: Context>>namedTempAt: (in category '*Tools-debugger access') -----
+ namedTempAt: index
+ "Answer the value of the temp at index in the receiver's sequence of tempNames."
+ ^self debuggerMap namedTempAt: index in: self!
Item was added:
+ ----- Method: Context>>namedTempAt:put: (in category '*Tools-debugger access') -----
+ namedTempAt: index put: aValue
+ "Set the value of the temp at index in the receiver's sequence of tempNames.
+ (Note that if the value is a copied value it is also set out along the lexical chain,
+ but alas not in along the lexical chain.)."
+ ^self debuggerMap namedTempAt: index put: aValue in: self!
Item was added:
+ ----- Method: Context>>print:on: (in category '*Tools-debugger access') -----
+ print: anObject on: aStream
+ "Safely print anObject in the face of direct ProtoObject subclasses."
+ | objClass title |
+ objClass := self objectClass: anObject.
+ (objClass canUnderstand: #printOn:) ifTrue:
+ [^anObject printOn: aStream].
+ title := objClass name.
+ aStream
+ nextPutAll: (title first isVowel ifTrue: ['an '] ifFalse: ['a ']);
+ nextPutAll: title!
Item was added:
+ ----- Method: Context>>tempNames (in category '*Tools-debugger access') -----
+ tempNames
+ "Answer a SequenceableCollection of the names of the receiver's temporary
+ variables, which are strings."
+
+ ^ self debuggerMap tempNamesForContext: self!
Item was added:
+ ----- Method: Context>>tempsAndValues (in category '*Tools-debugger access') -----
+ tempsAndValues
+ "Return a string of the temporary variables and their current values"
+ ^self debuggerMap tempsAndValuesForContext: self!
Item was added:
+ ----- Method: Context>>tempsAndValuesLimitedTo:indent: (in category '*Tools-debugger access') -----
+ tempsAndValuesLimitedTo: sizeLimit indent: indent
+ "Return a string of the temporary variabls and their current values"
+
+ | aStream |
+ aStream := WriteStream on: (String new: 100).
+ self tempNames
+ doWithIndex: [:title :index |
+ indent timesRepeat: [aStream tab].
+ aStream nextPutAll: title; nextPut: $:; space; tab.
+ aStream nextPutAll:
+ ((self tempAt: index) printStringLimitedTo: (sizeLimit -3 -title size max: 1)).
+ aStream cr].
+ ^aStream contents!
Item was added:
+ ----- Method: InstructionStream>>abstractPC (in category '*Tools-Debugger-support') -----
+ abstractPC
+ ^self method abstractPCForConcretePC: pc!
Item was added:
+ ----- Method: InstructionStream>>debuggerMap (in category '*Tools-Debugger-support') -----
+ debuggerMap
+ ^self method debuggerMap!
Item was added:
+ ----- Method: Workspace>>expressionEvaluated:result: (in category 'menu commands') -----
+ expressionEvaluated: anExpression result: anObject
+
+ self changed: #style!
Patrick Rein uploaded a new version of 60Deprecated to project The Trunk:
http://source.squeak.org/trunk/60Deprecated-pre.55.mcz
==================== Summary ====================
Name: 60Deprecated-pre.55
Author: pre
Time: 2 October 2019, 3:27:35.842738 pm
UUID: f24a9d5c-8b9f-8147-9d0d-945f25258f5f
Ancestors: 60Deprecated-mt.54
Deprecates asMutator
=============== Diff against 60Deprecated-mt.54 ===============
Item was added:
+ ----- Method: Symbol>>asMutator (in category '*60Deprecated-converting') -----
+ asMutator
+ "Return a setter message from a getter message. For example, #name asMutator returns #name:"
+ self deprecated: 'Use #asSimpleSetter instead'.
+ ^ self last = $:
+ ifTrue: [ self ]
+ ifFalse: [ (self copyWith: $:) asSymbol ]!
Patrick Rein uploaded a new version of Morphic to project The Trunk:
http://source.squeak.org/trunk/Morphic-pre.1553.mcz
==================== Summary ====================
Name: Morphic-pre.1553
Author: pre
Time: 2 October 2019, 3:22:00.023738 pm
UUID: 4a5a6803-e5f0-f64b-918e-f3ba0dad92cb
Ancestors: Morphic-ul.1552
Migrates NewBalloonMorph>>#move to #asSimpleSetter
=============== Diff against Morphic-ul.1552 ===============
Item was changed:
----- Method: NewBalloonMorph>>move: (in category 'geometry') -----
move: targetPoint
+ self perform: self orientation asSimpleSetter with: targetPoint.!
- self perform: self orientation asMutator with: targetPoint.!
Patrick Rein uploaded a new version of Tools to project The Trunk:
http://source.squeak.org/trunk/Tools-pre.898.mcz
==================== Summary ====================
Name: Tools-pre.898
Author: pre
Time: 2 October 2019, 3:18:06.775738 pm
UUID: febe3387-5310-944b-b869-de66d6ccb0d9
Ancestors: Tools-mt.897
Migrates createInstVarAccessors to asSimpleSetter
=============== Diff against Tools-mt.897 ===============
Item was changed:
----- Method: Behavior>>createInstVarAccessors (in category '*Tools-Browser-accessors') -----
createInstVarAccessors
"Create getters and setters for all inst vars defined here,
except do NOT clobber or override any selectors already understood by me"
self instVarNames
collect: [:each | each asSymbol]
thenDo: [:instVar |
(self canUnderstand: instVar) ifFalse: [self createGetterFor: instVar].
+ (self canUnderstand: instVar asSimpleSetter) ifFalse: [self createSetterFor: instVar]].
- (self canUnderstand: instVar asMutator) ifFalse: [self createSetterFor: instVar]].
!