[squeak-dev] The Inbox: Tools-ct.1056.mcz

commits at source.squeak.org commits at source.squeak.org
Fri May 14 14:04:22 UTC 2021

A new version of Tools was added to project The Inbox:

==================== 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') -----
  	^ '{1} {2}{3}' format: {
  		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."
  		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.!

More information about the Squeak-dev mailing list