[Cuis-dev] [ChangeSet] Fixes and enhancements to inspectors

Hernan Wilkinson hernan.wilkinson at 10pines.com
Mon May 25 15:10:17 PDT 2020


Cool!
Do you sleep man?? 😜

On Mon, May 25, 2020 at 10:17 AM Juan Vuletich <juan at jvuletich.org> wrote:

> Pushed to GitHub.
>
> Thanks,
>
> On 5/24/2020 9:25 PM, Juan Vuletich via Cuis-dev wrote:
>
> Hi Hernán,
>
> The attaches to this message are all the changesets for this thread,
> renumbered to reflect latest pushed updates.
>
> (inline)
>
> On 5/24/2020 6:01 PM, Hernan Wilkinson via Cuis-dev wrote:
>
> Hi guys,
>  nice work! thank you for making Cuis better every day.
>  I took a quick look at the code and I have some questions:
> 1) Why Inspector implements messages like #object: anObject basicAt: index
> and the ones in that category?
>
>
> To use the mirror primitives. This has two potential benefits (although
> with regular objects it doesn't make any difference):
> - Inspecting a proxy or any other subclass of ProtoObject that uses the
> DNU mechanism doesn't trigger it
> - Objects that might redefine those low level methods can no longer "fool"
> the inspector.
> For that very same reason we removed #object.
>
> 2) Object basicInspect does not use the basic inspector anymore... why is
> that? The idea is to get rid off the BasicInspector?
>
>
> Yep. Just a regular inspector will do. We removed BasicInspector.
> BasicInspector was moot.
>
>  I found a problem using the autocomplete in the inspector's workspace
> panel because the message #object was removed from Inspector. I'm not sure
> what's the idea behind removing that message but adding it agin made the
> autocomplete work.
>
>
> Leaking the object outside the Inspector could lead to uncontrolled
> materialization of proxies. That's why we removed #object. In this case,
> all what was needed was #objectClass. I just made the change. It is
> attached.
>
>  The Dictionary and Set inspector do not handle correctly the
> remove/remove key/rename key when they are empty, but I just verified that
> that error existed before.
>
>
> Thanks for the report! Fix for that also attached.
>
>  I hope this helps.
>
> Cheers!
> Hernan.
>
>
> On Sun, May 24, 2020 at 4:40 PM ken.dickey--- via Cuis-dev <
> cuis-dev at lists.cuis.st> wrote:
>
>> On 2020-05-24 14:44, Andres Valloud via Cuis-dev wrote:
>> > Hi Ken, I can see the uncommenting of the code in fileSize... just to
>> > make sure, are you implying that this change is related to the
>> > inspector work?  I do not immediately see how that would be.
>>
>> No idea really.  I just updated, loaded the changesets and use of the
>> FileList brought up the debugger.
>>
>> Guilt by association?
>>
>>
>> > On 5/24/20 07:33, ken.dickey--- via Cuis-dev wrote:
>> >> On 2020-05-24 12:32, Juan Vuletich via Cuis-dev wrote:
>> >>> On 5/22/2020 8:08 PM, Juan Vuletich via Cuis-dev wrote:
>> >>>> Hi Folks,
>> >>>>
>> >>>> Andrés Valloud and I found a couple of bugs and inconsistencies in
>> >>>> the Inspector hierarchy. If you don't mind crashing your image you
>> >>>> might try `(1 to: 2000) asFloat64Array`, or inspecting an
>> >>>> OrderedCollection with an object that fails in #printOn:, and cycle
>> >>>> the collection with the arrow keys.
>> >>>>
>> >>>> We did quite some refactor and cleanup. The result is attached.
>> >>>> Please take a look.
>> >>
>> >> FileEntry>>fileSize came up nil in FileList.  Lost cache update line
>> >> (attached).
>> >>
>> >> FYI,
>> >> -KenD
>> >>
>> --
>> Cuis-dev mailing list
>> Cuis-dev at lists.cuis.st
>> https://lists.cuis.st/mailman/listinfo/cuis-dev
>>
>
>
> --
>
> *Hernán Wilkinson Agile Software Development, Teaching & Coaching*
> *Phone: +54-011*-4893-2057
> *Twitter: @HernanWilkinson*
> *site: http://www.10Pines.com <http://www.10pines.com/>*
> Address: Alem 896, Floor 6, Buenos Aires, Argentina
>
>
> Thanks,
>
> --
> Juan Vuletichwww.cuis-smalltalk.orghttps://github.com/Cuis-Smalltalk/Cuis-Smalltalk-Devhttps://github.com/jvuletichhttps://www.linkedin.com/in/juan-vuletich-75611b3
> @JuanVuletich
>
>
>
> --
> Juan Vuletichwww.cuis-smalltalk.orghttps://github.com/Cuis-Smalltalk/Cuis-Smalltalk-Devhttps://github.com/jvuletichhttps://www.linkedin.com/in/juan-vuletich-75611b3
> @JuanVuletich
>
>

-- 

*Hernán WilkinsonAgile Software Development, Teaching & Coaching*
*Phone: +54-011*-4893-2057
*Twitter: @HernanWilkinson*
*site: http://www.10Pines.com <http://www.10pines.com/>*
Address: Alem 896, Floor 6, Buenos Aires, Argentina
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cuis.st/mailman/archives/cuis-dev/attachments/20200525/272028b4/attachment.htm>


More information about the Cuis-dev mailing list