[squeak-dev] The Inbox: Kernel-ct.1297.mcz

commits at source.squeak.org commits at source.squeak.org
Fri Feb 14 14:23:46 UTC 2020


A new version of Kernel was added to project The Inbox:
http://source.squeak.org/inbox/Kernel-ct.1297.mcz

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

Name: Kernel-ct.1297
Author: ct
Time: 14 February 2020, 3:23:39.631118 pm
UUID: ea664fbd-d8aa-c345-855b-f9b61348f064
Ancestors: Kernel-tonyg.1293

Repairs ObjectTracer. Following issues were resolved:

- ObjectTracer does not understand #notify
- Do not use #sentTo: if #doesNotUnderstand: (wrong lookup class)

Futher changes:
- added multilingual support
- removed an outdated note from the ProtoObject class comment.

=============== Diff against Kernel-tonyg.1293 ===============

Item was removed:
- ----- Method: ObjectTracer class>>initialize (in category 'initialize-release') -----
- initialize
- 	"Fix for inconsistent image state in which ObjectTracer improperly appears as a subclass
- 	of Class. This initialization should appear in the Squeak update stream in order to repair
- 	existing images, and may be removed in a future update."
- 
- 	Class removeSubclass: ObjectTracer class!

Item was changed:
  ----- Method: ObjectTracer>>doesNotUnderstand: (in category 'very few messages') -----
  doesNotUnderstand: aMessage 
+ 	"Present a debugger before proceeding to re-send the message"
- 	"All external messages (those not caused by the re-send) get trapped here"
- 	"Present a dubugger before proceeding to re-send the message"
  
+ 	"All external messages (those not caused by the re-send) get trapped here"
+ 	nil notify: ('About to perform: {1}' translated format: {aMessage selector storeString}).
+ 	^ aMessage sendTo: tracedObject!
- 	self notify: 'About to perform: ', aMessage selector.
- 	^ aMessage sentTo: tracedObject.
- !

Item was changed:
  nil subclass: #ProtoObject
  	instanceVariableNames: ''
  	classVariableNames: ''
  	poolDictionaries: ''
  	category: 'Kernel-Objects'!
  
+ !ProtoObject commentStamp: 'ct 2/14/2020 15:14' prior: 0!
+ ProtoObject establishes minimal behavior required of any object in Squeak, even objects that should balk at normal object behavior. Generally these are proxy objects designed to read themselves in from the disk, or to perform some wrapper behavior, before responding to a message. Current examples are ObjectOut and ImageSegmentRootStub.
- !ProtoObject commentStamp: '<historical>' prior: 0!
- ProtoObject establishes minimal behavior required of any object in Squeak, even objects that should balk at normal object behavior. Generally these are proxy objects designed to read themselves in from the disk, or to perform some wrapper behavior, before responding to a message. Current examples are ObjectOut and ImageSegmentRootStub, and one could argue that ObjectTracer should also inherit from this class.
  
  ProtoObject has no instance variables, nor should any be added.!



More information about the Squeak-dev mailing list