The Inbox: Tools-ct.1056.mcz

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

The Inbox: Tools-ct.1056.mcz

commits-2
A new version of Tools was added to project The Inbox:
http://source.squeak.org/inbox/Tools-ct.1056.mcz

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

Name: Tools-ct.1056
Author: ct
Time: 14 May 2021, 4:04:19.358396 pm
UUID: eac0462e-77bd-8a47-b585-929c7ec9cf2e
Ancestors: Tools-mt.1055

Relieves BasicInspector of sending any (non-inlined) messages to the inspected object. Fixes #testProtoObject from ToolsTests-ct.105. Now you can even inspect uninitialized FutureMakers. :-)

Depends on Kernel-ct.1404 (Context >> #objectIsReadOnly:).

=============== Diff against Tools-mt.1055 ===============

Item was changed:
  ----- Method: BasicInspector>>labelString (in category 'initialization') -----
  labelString
 
  ^ '{1} {2}{3}' format: {
  '[basic]'.
  self basicObjectPrintString.
+ ((thisContext objectIsReadOnly: self object) "do not send #isReadOnlyObject, receiver could be a proxy"
- (self object isReadOnlyObject
  ifTrue: [' (read-only)']
  ifFalse: [''])}!

Item was changed:
  ----- Method: Inspector>>updateStyler:requestor: (in category 'user interface - styling') -----
  updateStyler: aStyler requestor: anObject
  "Use this method to update our fieldListStyler and all view stylers."
 
  aStyler
  environment: self environment;
+ classOrMetaClass: (thisContext objectClass: self doItReceiver "do not send #class, receiver could be a proxy");
- classOrMetaClass: (self doItReceiver perform: #class "do not inline send of #class, receiver could be a proxy");
  context: self doItContext;
  parseAMethod: false.!