[MCP] [Q] Methods not used

diegogomezdeck at consultar.com diegogomezdeck at consultar.com
Fri Feb 14 09:45:57 UTC 2003


The best way: Let's use the methods from UnitTests!

I created an example UnitTest to test all the geometry methods.

Any volunter to complete it?

Cheers,

Diego

> #bottomLeft should probably stay since its a complement to
> #bottomRight, #topLeft, etc.
>
> One thing I noticed: these geometry calls such as #bottomLeft/#topRight
> etc actually make two calls: one #bottom: and one #left:, resulting in
> two calls to #position, so that extra invalidation etc is done. It
> would be nice if such methods can get by with a single call to
> position. No, its not a big speed issue AFAIK, but it would be a nice
> thing to tighten.
>
> Eddie
>
> ----- Original Message -----
> From: <diegogomezdeck at consultar.com>
> To: <squeak-dev at lists.squeakfoundation.org>
> Sent: Thursday, February 13, 2003 5:06 PM
> Subject: [MCP] [Q] Methods not used
>
>
>> Hi guys...
>>
>> This is the first (of many to come) question from MCP (Morph Cleaning
>> Project)
>>
>> SLint report 50 methods in Morph not used, they are:
>>
>> #addAlarm:after: #addAlarm:at: #addAlarm:with:at:
>> #addAlarm:with:with:after: #addAlarm:with:with:at: #adjustedCenter:
>> #altSpecialCursor0 #altSpecialCursor1 #altSpecialCursor2
> #altSpecialCursor3
>> #balloonColor: #bottomRight: #bounds:from: #completeModificationHash
>> #constructorString #disableGestures #doesOwnRotation
>> #dragSelectionColor #dropSuccessColor #embedInto: #fullLoadCachedState
>> #hasReferencedGestureDictionary #imageFormWithout:andStopThere:
>> #inspectArgumentsPlayerInMorphic: #inspectInMorphic #isBalloonHelp
>> #isModalShell #isSteppingSelector: #morphReport
>> #morphsInFrontOverlapping: #moveWithPenDownByRAA: #nameInModel
>> #okayToExtractEasily
>> #privateFullBounds: #removeAlarm:at: #removeLink: #rootAt:
>> #rootMorphsAtGlobal: #screenLocation #setProperties:
>> #slotSpecifications #specialNameInModel #structureString
>> #submorphBefore
> #submorphWithProperty:
>> #textToPaste #transportedMorph #updateAllScriptingElements
>> #wantsEveryMouseMove #withAllOwners
>>
>> Anyone is interested in these methods?
>>
>> TIA,
>>
>> Diego Gomez Deck


-------------- next part --------------
A non-text attachment was scrubbed...
Name: MorphTest.st.gz
Type: application/x-gzip-compressed
Size: 483 bytes
Desc: not available
Url : http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20030214/879a2793/MorphTest.st.bin


More information about the Squeak-dev mailing list