[etoys-dev] Etoys: Morphic-kfr.20.mcz

karl ramberg karlramberg at gmail.com
Thu Jun 17 07:25:16 EDT 2010


Ok,
Done.
These extension methods are a little problematic. Moving methods in general
is painful.

I'll do my best to keep this form happening again.

Karl





On Thu, Jun 17, 2010 at 1:00 PM, Bert Freudenberg <bert at freudenbergs.de>wrote:

> Yes. Move the method back to the *etoys category (by drag-and-drop, or
> using the menu). Then publish both the new Etoys and Morphic packages. In
> the current config map, Etoys comes before Morphic, so that should work.
>
> As I've pointed out before, *always* check the changes before committing a
> package :)
>
> - Bert -
>
> On 17.06.2010, at 12:26, karl ramberg wrote:
>
> I'm having a issue with Morphic-kfr.20.mcz<http://source.squeak.org/etoys/Morphic-kfr.20.mcz> as
> it changed the category of
> SketchMorph class>>additionsToViewerCategories (in category 'scripting')
>
> That moved the method form Etoys package to Morphic package.
>
> Anybody else seeing this ?
>
> Karl
>
>
>
>
> On Thu, Jun 17, 2010 at 12:57 AM, <commits at source.squeak.org> wrote:
>
>> Karl Ramberg uploaded a new version of Morphic to project Etoys:
>> http://source.squeak.org/etoys/Morphic-kfr.20.mcz
>>
>> ==================== Summary ====================
>>
>> Name: Morphic-kfr.20
>> Author: kfr
>> Time: 17 June 2010, 12:57:37 am
>> UUID: 04de9588-6502-4a43-87db-be783f97a49c
>> Ancestors: Morphic-kfr.19
>>
>>
>> SQ-94
>> Flip operations broken on Etoys
>>
>> =============== Diff against Morphic-kfr.19 ===============
>>
>> Item was changed:
>>  ----- Method: SketchMorph>>flipVertical (in category 'e-toy support')
>> -----
>>  flipVertical
>>
>> +       |  r |
>> +       r _ self rotationCenter.
>> +       self top:  self top - (1.0 - (2 * r y) * self height).
>> +       self form: (self form flipBy: #vertical centerAt: self form
>> center).
>> +       self rotationCenter:  r x @ (1 - r y).!
>> -       self form: (self form flipBy: #vertical centerAt: self form
>> center)!
>>
>> Item was added:
>> + ----- Method: SketchMorph class>>additionsToViewerCategories (in
>> category 'scripting') -----
>> + additionsToViewerCategories
>> +       "Answer a list of (<categoryName> <list of category specs>) pairs
>> that characterize the phrases this kind of morph wishes to add to various
>> Viewer categories."
>> +
>> +       ^ #((graphics (
>> + (slot graphic         'The picture currently being worn' Graphic
>> readWrite Player getGraphic Player setGraphic:)
>> + (command wearCostumeOf: 'wear the costume of...' Player)
>> + (slot baseGraphic     'The picture originally painted for this object,
>> but can subsequently be changed via menu or script' Graphic     readWrite
>> Player getBaseGraphic Player setBaseGraphic:)
>> + (command restoreBaseGraphic 'Make my picture be the one I remember in my
>> baseGraphic')
>> +
>> + (slot rotationStyle 'How the picture should change when the heading is
>> modified' RotationStyle readWrite Player getRotationStyle Player
>> setRotationStyle:)
>> + (command flip 'Flip left right' Player)
>> + (command tumble 'Flip up down' Player)
>> + )))
>> +
>> +
>> + !
>>
>> Item was changed:
>>  ----- Method: SketchMorph>>flipHorizontal (in category 'e-toy support')
>> -----
>>  flipHorizontal
>>
>> +       |  r |
>> +       r _ self rotationCenter.
>> +       self left:  self left - (1.0 - (2 * r x) * self width).
>> +       self form: (self form flipBy: #horizontal centerAt: self form
>> center).
>> +       self rotationCenter: (1 - r x) @ (r y).!
>> -       self form: (self form flipBy: #horizontal centerAt: self form
>> center)!
>>
>> _______________________________________________
>> etoys-dev mailing list
>> etoys-dev at squeakland.org
>> http://lists.squeakland.org/mailman/listinfo/etoys-dev
>>
>
> _______________________________________________
> etoys-dev mailing list
> etoys-dev at squeakland.org
> http://lists.squeakland.org/mailman/listinfo/etoys-dev
>
>
>
>
> _______________________________________________
> etoys-dev mailing list
> etoys-dev at squeakland.org
> http://lists.squeakland.org/mailman/listinfo/etoys-dev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakland.org/pipermail/etoys-dev/attachments/20100617/6ebf43c9/attachment.html


More information about the etoys-dev mailing list