Levente Uzonyi uploaded a new version of System to project The Trunk:
http://source.squeak.org/trunk/System-ul.322.mcz
==================== Summary ====================
Name: System-ul.322
Author: ul
Time: 28 April 2010, 11:48:58.524 am
UUID: 7f03b95b-18a3-3544-b79c-58335116cbe1
Ancestors: System-jcg.321
- added two missing compatibility methods
=============== Diff against System-jcg.321 ===============
Item was added:
+ ----- Method: SmalltalkImage>>keyAtValue: (in category 'dictionary access') -----
+ keyAtValue: value
+ "Answer the key that is the external name for the argument, value. If
+ there is none, answer nil."
+
+ self deprecated: 'Use Smalltalk globals'.
+ ^globals keyAtValue: value
+ !
Item was added:
+ ----- Method: SystemDictionary>>hasSpecialSelector:ifTrueSetByte: (in category 'compatibility') -----
+ hasSpecialSelector: aLiteral ifTrueSetByte: aBlock
+
+ self deprecated: 'Use Smalltalk'.
+ ^Smalltalk hasSpecialSelector: aLiteral ifTrueSetByte: aBlock!
Levente Uzonyi uploaded a new version of System to project The Trunk:
http://source.squeak.org/trunk/System-ul.322.mcz
==================== Summary ====================
Name: System-ul.322
Author: ul
Time: 28 April 2010, 11:48:58.524 am
UUID: 7f03b95b-18a3-3544-b79c-58335116cbe1
Ancestors: System-jcg.321
- added two missing compatibility methods
=============== Diff against System-jcg.321 ===============
Item was added:
+ ----- Method: SmalltalkImage>>keyAtValue: (in category 'dictionary access') -----
+ keyAtValue: value
+ "Answer the key that is the external name for the argument, value. If
+ there is none, answer nil."
+
+ self deprecated: 'Use Smalltalk globals'.
+ ^globals keyAtValue: value
+ !
Item was added:
+ ----- Method: SystemDictionary>>hasSpecialSelector:ifTrueSetByte: (in category 'compatibility') -----
+ hasSpecialSelector: aLiteral ifTrueSetByte: aBlock
+
+ self deprecated: 'Use Smalltalk'.
+ ^Smalltalk hasSpecialSelector: aLiteral ifTrueSetByte: aBlock!
Levente Uzonyi uploaded a new version of Kernel to project The Trunk:
http://source.squeak.org/trunk/Kernel-ul.447.mcz
==================== Summary ====================
Name: Kernel-ul.447
Author: ul
Time: 28 April 2010, 10:01:34.283 am
UUID: e4508c46-01d1-b943-8c11-b4a471f12488
Ancestors: Kernel-ar.446
- use #quo: and #rem: instead of #// and #\\ to handle negative arguments properly in Duration class >> #milliSeconds:
- also removed the method comment which was obsolete
=============== Diff against Kernel-ar.446 ===============
Item was changed:
----- Method: Duration class>>milliSeconds: (in category 'squeak protocol') -----
milliSeconds: milliCount
+
+ ^self
+ seconds: (milliCount quo: 1000)
+ nanoSeconds: (milliCount rem: 1000) * NanosInMillisecond!
- "Since seconds is 0 we can call the instance directly."
- ^ self
- seconds: milliCount // 1000
- nanoSeconds: (milliCount \\ 1000)*NanosInMillisecond!
Levente Uzonyi uploaded a new version of Kernel to project The Trunk:
http://source.squeak.org/trunk/Kernel-ul.447.mcz
==================== Summary ====================
Name: Kernel-ul.447
Author: ul
Time: 28 April 2010, 10:01:34.283 am
UUID: e4508c46-01d1-b943-8c11-b4a471f12488
Ancestors: Kernel-ar.446
- use #quo: and #rem: instead of #// and #\\ to handle negative arguments properly in Duration class >> #milliSeconds:
- also removed the method comment which was obsolete
=============== Diff against Kernel-ar.446 ===============
Item was changed:
----- Method: Duration class>>milliSeconds: (in category 'squeak protocol') -----
milliSeconds: milliCount
+
+ ^self
+ seconds: (milliCount quo: 1000)
+ nanoSeconds: (milliCount rem: 1000) * NanosInMillisecond!
- "Since seconds is 0 we can call the instance directly."
- ^ self
- seconds: milliCount // 1000
- nanoSeconds: (milliCount \\ 1000)*NanosInMillisecond!