Nicolas Cellier uploaded a new version of Kernel to project The Trunk:
http://source.squeak.org/trunk/Kernel-nice.685.mcz
==================== Summary ====================
Name: Kernel-nice.685
Author: nice
Time: 4 May 2012, 10:51:32.635 am
UUID: 2febaac6-3ff5-3640-abfd-068dce4f0a2b
Ancestors: Kernel-eem.684
Rename Number class>>#readSqueakSyntaxFrom: into #readSmalltalkSyntaxFrom:
This is to provide a common API across dialects for external packages since both VW7.x and Pharo2.0 have #readSmalltalkSyntaxFrom:
Note that Number syntax may vary slightly across dialects and #readSmalltalkSyntaxFrom: is to be understood "in local dialect"...
#readSqueakSyntaxFrom: was quite recent and not used in trunk, so I removed rather than deprecate. If you don't agree, raise your voice.
=============== Diff against Kernel-eem.684 ===============
Item was added:
+ ----- Method: Number class>>readSmalltalkSyntaxFrom: (in category 'instance creation') -----
+ readSmalltalkSyntaxFrom: stringOrStream
+ "Answer a number as described on aStream. The number may
+ be any accepted Smalltalk literal Number format.
+ It can include a leading radix specification, as in 16rFADE.
+ It can as well be NaN, Infinity or -Infinity for conveniency.
+ If stringOrStream does not start with a valid number description, fail."
+
+ ^(SqNumberParser on: stringOrStream) nextNumber!
Item was removed:
- ----- Method: Number class>>readSqueakSyntaxFrom: (in category 'instance creation') -----
- readSqueakSyntaxFrom: stringOrStream
- "Answer a number as described on aStream. The number may
- be any accepted Smalltalk literal Number format.
- It can include a leading radix specification, as in 16rFADE.
- It can as well be NaN, Infinity or -Infinity for conveniency.
- If stringOrStream does not start with a valid number description, fail."
-
- ^(SqNumberParser on: stringOrStream) nextNumber!
Nicolas Cellier uploaded a new version of Kernel to project The Trunk:
http://source.squeak.org/trunk/Kernel-nice.685.mcz
==================== Summary ====================
Name: Kernel-nice.685
Author: nice
Time: 4 May 2012, 10:51:32.635 am
UUID: 2febaac6-3ff5-3640-abfd-068dce4f0a2b
Ancestors: Kernel-eem.684
Rename Number class>>#readSqueakSyntaxFrom: into #readSmalltalkSyntaxFrom:
This is to provide a common API across dialects for external packages since both VW7.x and Pharo2.0 have #readSmalltalkSyntaxFrom:
Note that Number syntax may vary slightly across dialects and #readSmalltalkSyntaxFrom: is to be understood "in local dialect"...
#readSqueakSyntaxFrom: was quite recent and not used in trunk, so I removed rather than deprecate. If you don't agree, raise your voice.
=============== Diff against Kernel-eem.684 ===============
Item was added:
+ ----- Method: Number class>>readSmalltalkSyntaxFrom: (in category 'instance creation') -----
+ readSmalltalkSyntaxFrom: stringOrStream
+ "Answer a number as described on aStream. The number may
+ be any accepted Smalltalk literal Number format.
+ It can include a leading radix specification, as in 16rFADE.
+ It can as well be NaN, Infinity or -Infinity for conveniency.
+ If stringOrStream does not start with a valid number description, fail."
+
+ ^(SqNumberParser on: stringOrStream) nextNumber!
Item was removed:
- ----- Method: Number class>>readSqueakSyntaxFrom: (in category 'instance creation') -----
- readSqueakSyntaxFrom: stringOrStream
- "Answer a number as described on aStream. The number may
- be any accepted Smalltalk literal Number format.
- It can include a leading radix specification, as in 16rFADE.
- It can as well be NaN, Infinity or -Infinity for conveniency.
- If stringOrStream does not start with a valid number description, fail."
-
- ^(SqNumberParser on: stringOrStream) nextNumber!
Nicolas Cellier uploaded a new version of Kernel to project The Trunk:
http://source.squeak.org/trunk/Kernel-nice.685.mcz
==================== Summary ====================
Name: Kernel-nice.685
Author: nice
Time: 4 May 2012, 10:51:32.635 am
UUID: 2febaac6-3ff5-3640-abfd-068dce4f0a2b
Ancestors: Kernel-eem.684
Rename Number class>>#readSqueakSyntaxFrom: into #readSmalltalkSyntaxFrom:
This is to provide a common API across dialects for external packages since both VW7.x and Pharo2.0 have #readSmalltalkSyntaxFrom:
Note that Number syntax may vary slightly across dialects and #readSmalltalkSyntaxFrom: is to be understood "in local dialect"...
#readSqueakSyntaxFrom: was quite recent and not used in trunk, so I removed rather than deprecate. If you don't agree, raise your voice.
=============== Diff against Kernel-eem.684 ===============
Item was added:
+ ----- Method: Number class>>readSmalltalkSyntaxFrom: (in category 'instance creation') -----
+ readSmalltalkSyntaxFrom: stringOrStream
+ "Answer a number as described on aStream. The number may
+ be any accepted Smalltalk literal Number format.
+ It can include a leading radix specification, as in 16rFADE.
+ It can as well be NaN, Infinity or -Infinity for conveniency.
+ If stringOrStream does not start with a valid number description, fail."
+
+ ^(SqNumberParser on: stringOrStream) nextNumber!
Item was removed:
- ----- Method: Number class>>readSqueakSyntaxFrom: (in category 'instance creation') -----
- readSqueakSyntaxFrom: stringOrStream
- "Answer a number as described on aStream. The number may
- be any accepted Smalltalk literal Number format.
- It can include a leading radix specification, as in 16rFADE.
- It can as well be NaN, Infinity or -Infinity for conveniency.
- If stringOrStream does not start with a valid number description, fail."
-
- ^(SqNumberParser on: stringOrStream) nextNumber!
Eliot Miranda uploaded a new version of System to project The Trunk:
http://source.squeak.org/trunk/System-eem.484.mcz
==================== Summary ====================
Name: System-eem.484
Author: eem
Time: 3 May 2012, 9:15:17.73 am
UUID: 22d19428-0bee-46fc-b869-420d7994d06a
Ancestors: System-eem.483
Stricter methodsWithUnboundGlobals
=============== Diff against System-eem.483 ===============
Item was changed:
----- Method: SystemNavigation>>methodsWithUnboundGlobals (in category 'query') -----
methodsWithUnboundGlobals
"Get all methods that use undeclared global objects that are not listed in Undeclared. For a clean image the result should be empty."
"SystemNavigation new methodsWithUnboundGlobals"
^self allSelect:
[:m|
m literals anySatisfy:
[:l|
l isVariableBinding
and: [l key isSymbol "avoid class-side methodClass literals"
+ and: [(m methodClass bindingOf: l key)
+ ifNil: [(Undeclared associationAt: l key ifAbsent: []) ~~ l]
+ ifNotNil: [:b| b ~~ l]]]]]!
- and: [(m methodClass bindingOf: l key) isNil
- and: [(Undeclared associationAt: l key ifAbsent: []) ~~ l]]]]]!