Levente Uzonyi uploaded a new version of Kernel to project The Trunk:
http://source.squeak.org/trunk/Kernel-ul.755.mcz
==================== Summary ====================
Name: Kernel-ul.755
Author: ul
Time: 27 April 2013, 10:07:32.072 pm
UUID: 7acc79da-c279-4097-a56f-7d44c94aa5f7
Ancestors: Kernel-fbs.754
Added two methods to access primitive 240 and 241, which can provide microsecond resolution timestamps on Cog VMs.
=============== Diff against Kernel-fbs.754 ===============
Item was added:
+ ----- Method: Time class>>primLocalMicrosecondClock (in category 'clock') -----
+ primLocalMicrosecondClock
+ "Answer the local microseconds since the Smalltalk epoch. The value is derived from the Posix epoch with a constant offset corresponding to elapsed microseconds between the two epochs according to RFC 868, and with an offset duration corresponding to the current offset of local time from UTC."
+
+ <primitive: 241>
+ ^0!
Item was added:
+ ----- Method: Time class>>primUTCMicrosecondClock (in category 'clock') -----
+ primUTCMicrosecondClock
+ "Answer the UTC microseconds since the Smalltalk epoch. The value is derived from the Posix epoch with a constant offset corresponding to elapsed microseconds between the two epochs according to RFC 868."
+
+ <primitive: 240>
+ ^0!
Frank Shearar uploaded a new version of Collections to project The Trunk:
http://source.squeak.org/trunk/Collections-fbs.513.mcz
==================== Summary ====================
Name: Collections-fbs.513
Author: fbs
Time: 26 April 2013, 11:13:00.656 am
UUID: dba4f808-6844-414c-a5bf-5cda0cf4e342
Ancestors: Collections-bf.512
This fixes the recent report of an Ubuntu 13.04 machine not being able to save a class comment.
https://bugzilla.redhat.com/show_bug.cgi?id=956376
=============== Diff against Collections-bf.512 ===============
Item was changed:
----- Method: WriteStream>>nextChunkPut: (in category 'fileIn/Out') -----
nextChunkPut: aString
"Append the argument, aString, to the receiver, doubling embedded terminators."
| i remainder terminator |
terminator := $!!.
remainder := aString.
[(i := remainder indexOf: terminator) = 0] whileFalse:
[self nextPutAll: (remainder copyFrom: 1 to: i).
self nextPut: terminator. "double imbedded terminators"
remainder := remainder copyFrom: i+1 to: remainder size].
self nextPutAll: remainder.
aString includesUnifiedCharacter ifTrue: [
self nextPut: terminator.
self nextPutAll: ']lang['.
aString writeLeadingCharRunsOn: self.
].
self nextPut: terminator.
+ self flush.
!
Frank Shearar uploaded a new version of Collections to project The Trunk:
http://source.squeak.org/trunk/Collections-fbs.513.mcz
==================== Summary ====================
Name: Collections-fbs.513
Author: fbs
Time: 26 April 2013, 11:13:00.656 am
UUID: dba4f808-6844-414c-a5bf-5cda0cf4e342
Ancestors: Collections-bf.512
This fixes the recent report of an Ubuntu 13.04 machine not being able to save a class comment.
https://bugzilla.redhat.com/show_bug.cgi?id=956376
=============== Diff against Collections-bf.512 ===============
Item was changed:
----- Method: WriteStream>>nextChunkPut: (in category 'fileIn/Out') -----
nextChunkPut: aString
"Append the argument, aString, to the receiver, doubling embedded terminators."
| i remainder terminator |
terminator := $!!.
remainder := aString.
[(i := remainder indexOf: terminator) = 0] whileFalse:
[self nextPutAll: (remainder copyFrom: 1 to: i).
self nextPut: terminator. "double imbedded terminators"
remainder := remainder copyFrom: i+1 to: remainder size].
self nextPutAll: remainder.
aString includesUnifiedCharacter ifTrue: [
self nextPut: terminator.
self nextPutAll: ']lang['.
aString writeLeadingCharRunsOn: self.
].
self nextPut: terminator.
+ self flush.
!