The Trunk: Kernel-cmm.802.mcz

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

The Trunk: Kernel-cmm.802.mcz

commits-2
Chris Muller uploaded a new version of Kernel to project The Trunk:
http://source.squeak.org/trunk/Kernel-cmm.802.mcz

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

Name: Kernel-cmm.802
Author: cmm
Time: 14 August 2013, 1:18:41.14 pm
UUID: 1897a745-29bf-41be-a5a9-e1664d6334a9
Ancestors: Kernel-bf.801

- In looking at the API of ProtoObject, isKindOf: was the only odd-man out.  Proxy subclasses needing that should copy the implementation into themselves.
- #becomeForward: belongs in ProtoObject along with #become:.

=============== Diff against Kernel-bf.801 ===============

Item was removed:
- ----- Method: Object>>becomeForward: (in category 'system primitives') -----
- becomeForward: otherObject
- "Primitive. All variables in the entire system that used to point
- to the receiver now point to the argument.
- Fails if either argument is a SmallInteger."
-
- (Array with: self)
- elementsForwardIdentityTo:
- (Array with: otherObject)!

Item was removed:
- ----- Method: Object>>becomeForward:copyHash: (in category 'system primitives') -----
- becomeForward: otherObject copyHash: copyHash
- "Primitive. All variables in the entire system that used to point to the receiver now point to the argument.
- If copyHash is true, the argument's identity hash bits will be set to those of the receiver.
- Fails if either argument is a SmallInteger."
-
- (Array with: self)
- elementsForwardIdentityTo:
- (Array with: otherObject)
- copyHash: copyHash!

Item was added:
+ ----- Method: Object>>isKindOf: (in category '-- all --') -----
+ isKindOf: aClass
+ "Answer whether the class, aClass, is a superclass or class of the receiver."
+ ^ self class == aClass or: [ self class inheritsFrom: aClass ]!

Item was added:
+ ----- Method: ProtoObject>>becomeForward: (in category 'system primitives') -----
+ becomeForward: otherObject
+ "Primitive. All variables in the entire system that used to point
+ to the receiver now point to the argument.
+ Fails if either argument is a SmallInteger."
+
+ (Array with: self)
+ elementsForwardIdentityTo:
+ (Array with: otherObject)!

Item was added:
+ ----- Method: ProtoObject>>becomeForward:copyHash: (in category 'system primitives') -----
+ becomeForward: otherObject copyHash: copyHash
+ "Primitive. All variables in the entire system that used to point to the receiver now point to the argument.
+ If copyHash is true, the argument's identity hash bits will be set to those of the receiver.
+ Fails if either argument is a SmallInteger."
+
+ (Array with: self)
+ elementsForwardIdentityTo:
+ (Array with: otherObject)
+ copyHash: copyHash!

Item was removed:
- ----- Method: ProtoObject>>isKindOf: (in category 'testing') -----
- isKindOf: aClass
- "Answer whether the class, aClass, is a superclass or class of the receiver."
- ^ self class == aClass or: [ self class inheritsFrom: aClass ]!