Levente Uzonyi uploaded a new version of Kernel to project The Trunk:
http://source.squeak.org/trunk/Kernel-ul.512.mcz
==================== Summary ====================
Name: Kernel-ul.512
Author: ul
Time: 7 November 2010, 12:05:13.149 am
UUID: f35cd221-68a5-f04b-b6bc-d07df326b3d3
Ancestors: Kernel-nice.511
- DateAndTime startup enhancement from Cuis part 1
=============== Diff against Kernel-nice.511 ===============
Item was changed:
Magnitude subclass: #DateAndTime
instanceVariableNames: 'seconds offset jdn nanos'
+ classVariableNames: 'ClockProvider DaysSinceEpoch LastMilliSeconds LastTick LastTickSemaphore LocalTimeZone MilliSecondOffset OffsetsAreValid'
- classVariableNames: 'ClockProvider DaysSinceEpoch LastMilliSeconds LastTick LastTickSemaphore LocalTimeZone MilliSecondOffset'
poolDictionaries: 'ChronologyConstants'
category: 'Kernel-Chronology'!
!DateAndTime commentStamp: 'brp 5/13/2003 08:07' prior: 0!
I represent a point in UTC time as defined by ISO 8601. I have zero duration.
My implementation uses three SmallIntegers
and a Duration:
jdn - julian day number.
seconds - number of seconds since midnight.
nanos - the number of nanoseconds since the second.
offset - duration from UTC.
The nanosecond attribute is almost always zero but it defined for full ISO compliance and is suitable for timestamping.
!
Item was added:
+ (PackageInfo named: 'Kernel') postscript: 'DateAndTime classPool at: #OffsetsAreValid put: true'!
Levente Uzonyi uploaded a new version of Kernel to project The Trunk:
http://source.squeak.org/trunk/Kernel-ul.512.mcz
==================== Summary ====================
Name: Kernel-ul.512
Author: ul
Time: 7 November 2010, 12:05:13.149 am
UUID: f35cd221-68a5-f04b-b6bc-d07df326b3d3
Ancestors: Kernel-nice.511
- DateAndTime startup enhancement from Cuis part 1
=============== Diff against Kernel-nice.511 ===============
Item was changed:
Magnitude subclass: #DateAndTime
instanceVariableNames: 'seconds offset jdn nanos'
+ classVariableNames: 'ClockProvider DaysSinceEpoch LastMilliSeconds LastTick LastTickSemaphore LocalTimeZone MilliSecondOffset OffsetsAreValid'
- classVariableNames: 'ClockProvider DaysSinceEpoch LastMilliSeconds LastTick LastTickSemaphore LocalTimeZone MilliSecondOffset'
poolDictionaries: 'ChronologyConstants'
category: 'Kernel-Chronology'!
!DateAndTime commentStamp: 'brp 5/13/2003 08:07' prior: 0!
I represent a point in UTC time as defined by ISO 8601. I have zero duration.
My implementation uses three SmallIntegers
and a Duration:
jdn - julian day number.
seconds - number of seconds since midnight.
nanos - the number of nanoseconds since the second.
offset - duration from UTC.
The nanosecond attribute is almost always zero but it defined for full ISO compliance and is suitable for timestamping.
!
Item was added:
+ (PackageInfo named: 'Kernel') postscript: 'DateAndTime classPool at: #OffsetsAreValid put: true'!
Levente Uzonyi uploaded a new version of Kernel to project The Trunk:
http://source.squeak.org/trunk/Kernel-ul.512.mcz
==================== Summary ====================
Name: Kernel-ul.512
Author: ul
Time: 7 November 2010, 12:05:13.149 am
UUID: f35cd221-68a5-f04b-b6bc-d07df326b3d3
Ancestors: Kernel-nice.511
- DateAndTime startup enhancement from Cuis part 1
=============== Diff against Kernel-nice.511 ===============
Item was changed:
Magnitude subclass: #DateAndTime
instanceVariableNames: 'seconds offset jdn nanos'
+ classVariableNames: 'ClockProvider DaysSinceEpoch LastMilliSeconds LastTick LastTickSemaphore LocalTimeZone MilliSecondOffset OffsetsAreValid'
- classVariableNames: 'ClockProvider DaysSinceEpoch LastMilliSeconds LastTick LastTickSemaphore LocalTimeZone MilliSecondOffset'
poolDictionaries: 'ChronologyConstants'
category: 'Kernel-Chronology'!
!DateAndTime commentStamp: 'brp 5/13/2003 08:07' prior: 0!
I represent a point in UTC time as defined by ISO 8601. I have zero duration.
My implementation uses three SmallIntegers
and a Duration:
jdn - julian day number.
seconds - number of seconds since midnight.
nanos - the number of nanoseconds since the second.
offset - duration from UTC.
The nanosecond attribute is almost always zero but it defined for full ISO compliance and is suitable for timestamping.
!
Item was added:
+ (PackageInfo named: 'Kernel') postscript: 'DateAndTime classPool at: #OffsetsAreValid put: true'!
Levente Uzonyi uploaded a new version of System to project The Trunk:
http://source.squeak.org/trunk/System-ul.391.mcz
==================== Summary ====================
Name: System-ul.391
Author: ul
Time: 6 November 2010, 4:15:03.804 am
UUID: 4da8fee3-53d5-c045-abe8-c0ce5d6efa14
Ancestors: System-ul.390
- added MessageTally default size tweaks from Cuis
- DiffElement is not string specific anymore (removed the isOctetString-asOctetStringText nonsense)
- ClassDiffBuilder's diffs are now based on characters instead of words, because it's fast enough and usually gives better results
=============== Diff against System-ul.390 ===============
Item was changed:
----- Method: ClassDiffBuilder>>print:withAttributes:on: (in category 'private') -----
+ print: aCharacter withAttributes: attributes on: stream
- print: aString withAttributes: attributes on: stream
stream
currentAttributes: attributes;
+ nextPut: aCharacter!
- nextPutAll: aString!
Item was changed:
----- Method: ClassDiffBuilder>>split: (in category 'private') -----
split: aString
+ "Diff by characters."
- "I return an array with aString splitted by Character >> #separators."
+ ^aString as: Array!
- ^Array streamContents: [ :stream |
- | input separators |
- input := aString readStream.
- separators := CharacterSet separators.
- [ input atEnd ] whileFalse: [
- | word separator |
- word := input
- upToAnyOf: separators
- do: [ :matchingSeparator |
- separator := matchingSeparator ].
- stream nextPut: (separator
- ifNil: [ word ]
- ifNotNil: [ word, separator asString ]) ] ]!
Item was changed:
----- Method: DiffElement>>string: (in category 'accessing') -----
string: aString
string := aString.
- string isOctetString ifTrue: [ "Make sure that #hash will return the same value if the strings are equal."
- string := string asOctetString ].
hash := string hash!
Item was changed:
----- Method: MessageTally class>>defaultMaxClassNameSize (in category 'defaults') -----
defaultMaxClassNameSize
"Return the default maximum width of the class name alone"
+ ^50!
- ^30!
Item was changed:
----- Method: MessageTally class>>defaultMaxClassPlusSelectorSize (in category 'defaults') -----
defaultMaxClassPlusSelectorSize
"Return the default maximum width of the class plus selector together (not counting the '>>')"
+ ^100!
- ^60!
Levente Uzonyi uploaded a new version of System to project The Trunk:
http://source.squeak.org/trunk/System-ul.391.mcz
==================== Summary ====================
Name: System-ul.391
Author: ul
Time: 6 November 2010, 4:15:03.804 am
UUID: 4da8fee3-53d5-c045-abe8-c0ce5d6efa14
Ancestors: System-ul.390
- added MessageTally default size tweaks from Cuis
- DiffElement is not string specific anymore (removed the isOctetString-asOctetStringText nonsense)
- ClassDiffBuilder's diffs are now based on characters instead of words, because it's fast enough and usually gives better results
=============== Diff against System-ul.390 ===============
Item was changed:
----- Method: ClassDiffBuilder>>print:withAttributes:on: (in category 'private') -----
+ print: aCharacter withAttributes: attributes on: stream
- print: aString withAttributes: attributes on: stream
stream
currentAttributes: attributes;
+ nextPut: aCharacter!
- nextPutAll: aString!
Item was changed:
----- Method: ClassDiffBuilder>>split: (in category 'private') -----
split: aString
+ "Diff by characters."
- "I return an array with aString splitted by Character >> #separators."
+ ^aString as: Array!
- ^Array streamContents: [ :stream |
- | input separators |
- input := aString readStream.
- separators := CharacterSet separators.
- [ input atEnd ] whileFalse: [
- | word separator |
- word := input
- upToAnyOf: separators
- do: [ :matchingSeparator |
- separator := matchingSeparator ].
- stream nextPut: (separator
- ifNil: [ word ]
- ifNotNil: [ word, separator asString ]) ] ]!
Item was changed:
----- Method: DiffElement>>string: (in category 'accessing') -----
string: aString
string := aString.
- string isOctetString ifTrue: [ "Make sure that #hash will return the same value if the strings are equal."
- string := string asOctetString ].
hash := string hash!
Item was changed:
----- Method: MessageTally class>>defaultMaxClassNameSize (in category 'defaults') -----
defaultMaxClassNameSize
"Return the default maximum width of the class name alone"
+ ^50!
- ^30!
Item was changed:
----- Method: MessageTally class>>defaultMaxClassPlusSelectorSize (in category 'defaults') -----
defaultMaxClassPlusSelectorSize
"Return the default maximum width of the class plus selector together (not counting the '>>')"
+ ^100!
- ^60!
Levente Uzonyi uploaded a new version of System to project The Trunk:
http://source.squeak.org/trunk/System-ul.391.mcz
==================== Summary ====================
Name: System-ul.391
Author: ul
Time: 6 November 2010, 4:15:03.804 am
UUID: 4da8fee3-53d5-c045-abe8-c0ce5d6efa14
Ancestors: System-ul.390
- added MessageTally default size tweaks from Cuis
- DiffElement is not string specific anymore (removed the isOctetString-asOctetStringText nonsense)
- ClassDiffBuilder's diffs are now based on characters instead of words, because it's fast enough and usually gives better results
=============== Diff against System-ul.390 ===============
Item was changed:
----- Method: ClassDiffBuilder>>print:withAttributes:on: (in category 'private') -----
+ print: aCharacter withAttributes: attributes on: stream
- print: aString withAttributes: attributes on: stream
stream
currentAttributes: attributes;
+ nextPut: aCharacter!
- nextPutAll: aString!
Item was changed:
----- Method: ClassDiffBuilder>>split: (in category 'private') -----
split: aString
+ "Diff by characters."
- "I return an array with aString splitted by Character >> #separators."
+ ^aString as: Array!
- ^Array streamContents: [ :stream |
- | input separators |
- input := aString readStream.
- separators := CharacterSet separators.
- [ input atEnd ] whileFalse: [
- | word separator |
- word := input
- upToAnyOf: separators
- do: [ :matchingSeparator |
- separator := matchingSeparator ].
- stream nextPut: (separator
- ifNil: [ word ]
- ifNotNil: [ word, separator asString ]) ] ]!
Item was changed:
----- Method: DiffElement>>string: (in category 'accessing') -----
string: aString
string := aString.
- string isOctetString ifTrue: [ "Make sure that #hash will return the same value if the strings are equal."
- string := string asOctetString ].
hash := string hash!
Item was changed:
----- Method: MessageTally class>>defaultMaxClassNameSize (in category 'defaults') -----
defaultMaxClassNameSize
"Return the default maximum width of the class name alone"
+ ^50!
- ^30!
Item was changed:
----- Method: MessageTally class>>defaultMaxClassPlusSelectorSize (in category 'defaults') -----
defaultMaxClassPlusSelectorSize
"Return the default maximum width of the class plus selector together (not counting the '>>')"
+ ^100!
- ^60!