[squeak-dev] The Trunk: EToys-mt.372.mcz
commits at source.squeak.org
commits at source.squeak.org
Tue Dec 17 11:05:36 UTC 2019
Marcel Taeumel uploaded a new version of EToys to project The Trunk:
http://source.squeak.org/trunk/EToys-mt.372.mcz
==================== Summary ====================
Name: EToys-mt.372
Author: mt
Time: 17 December 2019, 12:05:28.143485 pm
UUID: 15d06fd7-4ed3-b74d-8023-0e7c92d932fc
Ancestors: EToys-mt.371
Fixes invalid message categories, found via ReleaseBuilder-mt.204.
=============== Diff against EToys-mt.371 ===============
Item was changed:
+ ----- Method: ChessPlayerAI>>statusString (in category 'accessing') -----
- ----- Method: ChessPlayerAI>>statusString (in category 'nil') -----
statusString
| av count |
^String streamContents:[:s|
(myMove == #none or:[myMove == nil]) ifFalse:[
s print: myMove value * 0.01; space.
].
av := bestVariation.
count := av at: 1.
count > 0 ifFalse:[
av := activeVariation.
count := av at: 1].
count > 0 ifFalse:[
s nextPutAll:'***'.
av := variations at: 1.
count := av at: 1.
count > 3 ifTrue:[count := 3]].
2 to: count + 1 do:[:index|
s nextPutAll: (ChessMove decodeFrom: (av at: index)) moveString.
s space].
s nextPut:$[.
s print: nodesVisited.
" s nextPut:$|.
s print: ttHits.
s nextPut: $|.
s print: alphaBetaCuts.
" s nextPut:$].
].!
Item was changed:
+ ----- Method: InteriorSolidSugarSuppliesTab>>addCustomMenuItems:hand: (in category 'menu') -----
- ----- Method: InteriorSolidSugarSuppliesTab>>addCustomMenuItems:hand: (in category 'nil') -----
addCustomMenuItems: aMenu hand: aHand
"Overridden in order to thwart super."
!
Item was changed:
+ ----- Method: SugarNavigatorBar class>>themeProperties (in category 'preferences') -----
- ----- Method: SugarNavigatorBar class>>themeProperties (in category 'nil') -----
themeProperties
^ {}!
Item was changed:
+ ----- Method: SugarNavigatorBar>>canApplyUserInterfaceTheme (in category 'visual properties') -----
- ----- Method: SugarNavigatorBar>>canApplyUserInterfaceTheme (in category 'nil') -----
canApplyUserInterfaceTheme
^ true!
Item was changed:
+ ----- Method: TextInput>>reset (in category 'input handling') -----
- ----- Method: TextInput>>reset (in category 'nil') -----
reset
textMorph setText: defaultValue!
Item was changed:
+ ----- Method: WatchMorph>>createLabels (in category 'updating') -----
- ----- Method: WatchMorph>>createLabels (in category 'nil') -----
createLabels
| numeral font h r |
self removeAllMorphs.
font := StrikeFont familyName: fontName size: (h := self height min: self width)//8.
r := 1.0 - (1.4 * font height / h).
1 to: 12 do:
[:hour |
numeral := romanNumerals
ifTrue: [#('I' 'II' 'III' 'IV' 'V' 'VI' 'VII' ' VIII' 'IX' 'X' 'XI' 'XII') at: hour]
ifFalse: [hour asString].
self addMorphBack: ((StringMorph contents: numeral font: font emphasis: 1)
center: (self radius: r hourAngle: hour)) lock].
!
More information about the Squeak-dev
mailing list
|