The Inbox: Tools-cmm.626.mcz

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

The Inbox: Tools-cmm.626.mcz

commits-2
Chris Muller uploaded a new version of Tools to project The Inbox:
http://source.squeak.org/inbox/Tools-cmm.626.mcz

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

Name: Tools-cmm.626
Author: cmm
Time: 20 May 2015, 2:39:34.146 pm
UUID: 14025f66-843c-41dd-8458-de2eccce1166
Ancestors: Tools-mt.625

- Let ToolBuilder open any kind of Object with a consistent API, #open.  Objects are opened with an Inspector by default, subclasses may override.
- Restore the consistency of #inspect relative to other Smalltalks.

=============== Diff against Tools-mt.625 ===============

Item was changed:
  ----- Method: Object>>inspect (in category '*Tools-inspecting') -----
  inspect
+ "Open an Inspector in which the user can examine and change the receiver's variables, and send messages."
+ self open!
- "Create and schedule an Inspector in which the user can examine the receiver's variables."
- ^ ToolSet inspect: self!

Item was added:
+ ----- Method: Object>>open (in category '*Tools-inspecting') -----
+ open
+ "Create and schedule an Inspector in which the user can examine the receiver's variables."
+ ^ ToolSet inspect: self!


Reply | Threaded
Open this post in threaded view
|

Re: The Inbox: Tools-cmm.626.mcz

Chris Muller-3
#open is the language of ToolBuiler right?

I could hardly stand for Object to overload #open, though..   :\

This is low impact, and the #inspectYourself solution seems easy
enough if it ever comes up again.  Okay.

Good deliberation, thanks.


On Wed, May 20, 2015 at 2:39 PM,  <[hidden email]> wrote:

> Chris Muller uploaded a new version of Tools to project The Inbox:
> http://source.squeak.org/inbox/Tools-cmm.626.mcz
>
> ==================== Summary ====================
>
> Name: Tools-cmm.626
> Author: cmm
> Time: 20 May 2015, 2:39:34.146 pm
> UUID: 14025f66-843c-41dd-8458-de2eccce1166
> Ancestors: Tools-mt.625
>
> - Let ToolBuilder open any kind of Object with a consistent API, #open.  Objects are opened with an Inspector by default, subclasses may override.
> - Restore the consistency of #inspect relative to other Smalltalks.
>
> =============== Diff against Tools-mt.625 ===============
>
> Item was changed:
>   ----- Method: Object>>inspect (in category '*Tools-inspecting') -----
>   inspect
> +       "Open an Inspector in which the user can examine and change the receiver's variables, and send messages."
> +       self open!
> -       "Create and schedule an Inspector in which the user can examine the receiver's variables."
> -       ^ ToolSet inspect: self!
>
> Item was added:
> + ----- Method: Object>>open (in category '*Tools-inspecting') -----
> + open
> +       "Create and schedule an Inspector in which the user can examine the receiver's variables."
> +       ^ ToolSet inspect: self!
>
>

Reply | Threaded
Open this post in threaded view
|

Re: The Inbox: Tools-cmm.626.mcz

David T. Lewis
I wanted to check Tools-cmm.626.mcz but it seems to have moved itself to
the treated inbox. Is that a mistake?

Thanks,
Dave

On Wed, May 20, 2015 at 04:09:45PM -0500, Chris Muller wrote:

> #open is the language of ToolBuiler right?
>
> I could hardly stand for Object to overload #open, though..   :\
>
> This is low impact, and the #inspectYourself solution seems easy
> enough if it ever comes up again.  Okay.
>
> Good deliberation, thanks.
>
>
> On Wed, May 20, 2015 at 2:39 PM,  <[hidden email]> wrote:
> > Chris Muller uploaded a new version of Tools to project The Inbox:
> > http://source.squeak.org/inbox/Tools-cmm.626.mcz
> >
> > ==================== Summary ====================
> >
> > Name: Tools-cmm.626
> > Author: cmm
> > Time: 20 May 2015, 2:39:34.146 pm
> > UUID: 14025f66-843c-41dd-8458-de2eccce1166
> > Ancestors: Tools-mt.625
> >
> > - Let ToolBuilder open any kind of Object with a consistent API, #open.  Objects are opened with an Inspector by default, subclasses may override.
> > - Restore the consistency of #inspect relative to other Smalltalks.
> >
> > =============== Diff against Tools-mt.625 ===============
> >
> > Item was changed:
> >   ----- Method: Object>>inspect (in category '*Tools-inspecting') -----
> >   inspect
> > +       "Open an Inspector in which the user can examine and change the receiver's variables, and send messages."
> > +       self open!
> > -       "Create and schedule an Inspector in which the user can examine the receiver's variables."
> > -       ^ ToolSet inspect: self!
> >
> > Item was added:
> > + ----- Method: Object>>open (in category '*Tools-inspecting') -----
> > + open
> > +       "Create and schedule an Inspector in which the user can examine the receiver's variables."
> > +       ^ ToolSet inspect: self!
> >
> >

Reply | Threaded
Open this post in threaded view
|

Re: The Inbox: Tools-cmm.626.mcz

Chris Muller-4
Not a mistake.  As I wrote in this thread, we cannot add #open to
Object.  Although I still don't like the change to #inspect, since I
seem to be outvoted, I will just add #inspectYourself in my own image
if it comes up again.

I also realized, instead of #inspectYourself, I could probably in-line
"inspect model object" almost as conveniently as "inspect" for my
debugging because they are all unary messages which are first in the
evaluation order (relative to binary and keyword messages).

On Wed, May 20, 2015 at 8:13 PM, David T. Lewis <[hidden email]> wrote:

> I wanted to check Tools-cmm.626.mcz but it seems to have moved itself to
> the treated inbox. Is that a mistake?
>
> Thanks,
> Dave
>
> On Wed, May 20, 2015 at 04:09:45PM -0500, Chris Muller wrote:
>> #open is the language of ToolBuiler right?
>>
>> I could hardly stand for Object to overload #open, though..   :\
>>
>> This is low impact, and the #inspectYourself solution seems easy
>> enough if it ever comes up again.  Okay.
>>
>> Good deliberation, thanks.
>>
>>
>> On Wed, May 20, 2015 at 2:39 PM,  <[hidden email]> wrote:
>> > Chris Muller uploaded a new version of Tools to project The Inbox:
>> > http://source.squeak.org/inbox/Tools-cmm.626.mcz
>> >
>> > ==================== Summary ====================
>> >
>> > Name: Tools-cmm.626
>> > Author: cmm
>> > Time: 20 May 2015, 2:39:34.146 pm
>> > UUID: 14025f66-843c-41dd-8458-de2eccce1166
>> > Ancestors: Tools-mt.625
>> >
>> > - Let ToolBuilder open any kind of Object with a consistent API, #open.  Objects are opened with an Inspector by default, subclasses may override.
>> > - Restore the consistency of #inspect relative to other Smalltalks.
>> >
>> > =============== Diff against Tools-mt.625 ===============
>> >
>> > Item was changed:
>> >   ----- Method: Object>>inspect (in category '*Tools-inspecting') -----
>> >   inspect
>> > +       "Open an Inspector in which the user can examine and change the receiver's variables, and send messages."
>> > +       self open!
>> > -       "Create and schedule an Inspector in which the user can examine the receiver's variables."
>> > -       ^ ToolSet inspect: self!
>> >
>> > Item was added:
>> > + ----- Method: Object>>open (in category '*Tools-inspecting') -----
>> > + open
>> > +       "Create and schedule an Inspector in which the user can examine the receiver's variables."
>> > +       ^ ToolSet inspect: self!
>> >
>> >

Reply | Threaded
Open this post in threaded view
|

Re: The Inbox: Tools-cmm.626.mcz

David T. Lewis
OK, I see it now. Thanks!

Dave

On Wed, May 20, 2015 at 08:30:19PM -0500, Chris Muller wrote:

> Not a mistake.  As I wrote in this thread, we cannot add #open to
> Object.  Although I still don't like the change to #inspect, since I
> seem to be outvoted, I will just add #inspectYourself in my own image
> if it comes up again.
>
> I also realized, instead of #inspectYourself, I could probably in-line
> "inspect model object" almost as conveniently as "inspect" for my
> debugging because they are all unary messages which are first in the
> evaluation order (relative to binary and keyword messages).
>
> On Wed, May 20, 2015 at 8:13 PM, David T. Lewis <[hidden email]> wrote:
> > I wanted to check Tools-cmm.626.mcz but it seems to have moved itself to
> > the treated inbox. Is that a mistake?
> >
> > Thanks,
> > Dave
> >
> > On Wed, May 20, 2015 at 04:09:45PM -0500, Chris Muller wrote:
> >> #open is the language of ToolBuiler right?
> >>
> >> I could hardly stand for Object to overload #open, though..   :\
> >>
> >> This is low impact, and the #inspectYourself solution seems easy
> >> enough if it ever comes up again.  Okay.
> >>
> >> Good deliberation, thanks.
> >>
> >>
> >> On Wed, May 20, 2015 at 2:39 PM,  <[hidden email]> wrote:
> >> > Chris Muller uploaded a new version of Tools to project The Inbox:
> >> > http://source.squeak.org/inbox/Tools-cmm.626.mcz
> >> >
> >> > ==================== Summary ====================
> >> >
> >> > Name: Tools-cmm.626
> >> > Author: cmm
> >> > Time: 20 May 2015, 2:39:34.146 pm
> >> > UUID: 14025f66-843c-41dd-8458-de2eccce1166
> >> > Ancestors: Tools-mt.625
> >> >
> >> > - Let ToolBuilder open any kind of Object with a consistent API, #open.  Objects are opened with an Inspector by default, subclasses may override.
> >> > - Restore the consistency of #inspect relative to other Smalltalks.
> >> >
> >> > =============== Diff against Tools-mt.625 ===============
> >> >
> >> > Item was changed:
> >> >   ----- Method: Object>>inspect (in category '*Tools-inspecting') -----
> >> >   inspect
> >> > +       "Open an Inspector in which the user can examine and change the receiver's variables, and send messages."
> >> > +       self open!
> >> > -       "Create and schedule an Inspector in which the user can examine the receiver's variables."
> >> > -       ^ ToolSet inspect: self!
> >> >
> >> > Item was added:
> >> > + ----- Method: Object>>open (in category '*Tools-inspecting') -----
> >> > + open
> >> > +       "Create and schedule an Inspector in which the user can examine the receiver's variables."
> >> > +       ^ ToolSet inspect: self!
> >> >
> >> >