Etoys: Etoys-kfr.135.mcz

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Etoys: Etoys-kfr.135.mcz

commits-2
Karl Ramberg uploaded a new version of Etoys to project Etoys:
http://source.squeak.org/etoys/Etoys-kfr.135.mcz

==================== Summary ====================

Name: Etoys-kfr.135
Author: kfr
Time: 28 March 2012, 7:37:23 pm
UUID: 7d80e4a7-5f6a-1445-ab14-85bce5528362
Ancestors: Etoys-kfr.134

Issues SQ-1070 and SQ-1071
Stepping over a script with an empty test tile hangs the image.
The "step" button fails when trying to evaluate a test condition involving a function (like abs, random, and such).

=============== Diff against Etoys-kfr.134 ===============

Item was changed:
  ----- Method: CompoundTileMorph>>evaluateTestPart (in category '*etoys-debugger') -----
  evaluateTestPart
  | condition |
  condition := testPart tiles at: 1 ifAbsent: [^ true].
  ^ Compiler evaluate: condition codeString
+ for: (condition associatedPlayer
+ ifNil: [condition topEditor playerScripted])
- for: condition associatedPlayer
  logged: false!

Item was changed:
  ----- Method: EtoysDebugger>>evaluateTest: (in category 'evaluating') -----
  evaluateTest: test
  | tile |
  test testPart tiles isEmpty
  ifTrue: [next := test yesPart tiles at: 1 ifAbsent: [test nextTile].
+ next = test
+ ifTrue: [^ self]
+ ifFalse: [^ self evaluateNextTile]].
- ^ self evaluateNextTile].
  self highlight: test testPart.
  tile := test evaluateTestPart
  ifTrue: [test yesPart]
  ifFalse: [test noPart].
  next := tile tiles at: 1 ifAbsent: [test nextTile]!

_______________________________________________
etoys-dev mailing list
[hidden email]
http://lists.squeakland.org/mailman/listinfo/etoys-dev