It's a nightmare to publish tonight and a check of
http://source.squeak.org/trunk/ thru firefox gives me
502 Proxy Error
The proxy server received an invalid response from an upstream server.
The proxy server could not handle the request GET /trunk/.
Reason: Error reading from remote server
ping source.squeak.org
PING source.squeak.org (85.10.195.197) 56(84) bytes of data.
64 bytes from box2.squeakfoundation.org (85.10.195.197): icmp_seq=1
ttl=56 time=59.3 ms
64 bytes from box2.squeakfoundation.org (85.10.195.197): icmp_seq=2
ttl=56 time=53.6 ms
64 bytes from box2.squeakfoundation.org (85.10.195.197): icmp_seq=3
ttl=56 time=53.0 ms
64 bytes from box2.squeakfoundation.org (85.10.195.197): icmp_seq=4
ttl=56 time=53.9 ms
Nicolas
Nicolas Cellier uploaded a new version of Kernel to project The Trunk:
http://source.squeak.org/trunk/Kernel-nice.257.mcz
==================== Summary ====================
Name: Kernel-nice.257
Author: nice
Time: 4 October 2009, 10:29:43 am
UUID: 8c32510e-ff6a-4c4c-a134-d2885ca2f4d4
Ancestors: Kernel-nice.256
Fix red tests related to ScaledDecimal raisedToInteger:
=============== Diff against Kernel-nice.256 ===============
Item was added:
+ ----- Method: ScaledDecimal>>raisedToInteger: (in category 'mathematical functions') -----
+ raisedToInteger: aNumber
+ ^self class newFromNumber: (fraction raisedToInteger: aNumber) scale: scale!
Item was removed:
- ----- Method: ScaledDecimal class>>one (in category 'constants') -----
- one
- "Answer the receiver's representation of one."
- ^ self newFromNumber: 1 scale: 0!
Nicolas Cellier uploaded a new version of Exceptions to project The Trunk:
http://source.squeak.org/trunk/Exceptions-nice.13.mcz
==================== Summary ====================
Name: Exceptions-nice.13
Author: nice
Time: 4 October 2009, 10:12:46 am
UUID: 1997a445-0428-4bb1-9551-ee9f8d9cab35
Ancestors: Exceptions-eem.12
Add signalWithDividend: method needed by license clean #reciprocal #/
=============== Diff against Exceptions-eem.12 ===============
Item was added:
+ ----- Method: ZeroDivide class>>signalWithDividend: (in category 'signaling') -----
+ signalWithDividend: aDividend
+
+ ^(self dividend: aDividend) signal!
commits(a)source.squeak.org schrieb:
> Andreas Raab uploaded a new version of Morphic to project The Trunk:
> http://source.squeak.org/trunk/Morphic-ar.195.mcz
>
The method LayoutFrame>>minExtentFrom: in that version raises a division
by zero exception if leftFraction=rightFraction or
topFraction=bottomFraction.
The following version avoids this.
Cheers,
Hans-Martin
minExtentFrom: minExtent
"Return the minimal extent the given bounds can be represented in"
| width height left right top bottom |
left := leftFraction ifNil: [0.0].
right := rightFraction ifNil: [1.0].
width := left = right
ifTrue: [0]
ifFalse: [minExtent x / (right - left)].
top := topFraction ifNil: [0.0].
bottom := bottomFraction ifNil: [1.0].
height := top = bottom
ifTrue: [0]
ifFalse: [minExtent y / (bottom - top)].
leftOffset ifNotNil:[width := width + leftOffset].
rightOffset ifNotNil:[width := width + rightOffset].
topOffset ifNotNil:[height := height + topOffset].
bottomOffset ifNotNil:[height := height + bottomOffset].
^width truncated @ height truncated