Chris Muller uploaded a new version of SystemReporter to project The Trunk:
http://source.squeak.org/trunk/SystemReporter-cmm.31.mcz
==================== Summary ====================
Name: SystemReporter-cmm.31
Author: cmm
Time: 22 November 2016, 5:25:58.155617 pm
UUID: 85945964-533e-42e4-96ff-ee8c17ec0f54
Ancestors: SystemReporter-mt.30
SystemReporter support the Reuse Windows preference.
=============== Diff against SystemReporter-mt.30 ===============
Item was added:
+ ----- Method: SystemReporter>>representsSameBrowseeAs: (in category 'private') -----
+ representsSameBrowseeAs: anotherModel
+ ^ self class = anotherModel class!
Chris Muller uploaded a new version of Installer-Core to project The Trunk:
http://source.squeak.org/trunk/Installer-Core-cmm.416.mcz
==================== Summary ====================
Name: Installer-Core-cmm.416
Author: cmm
Time: 22 November 2016, 5:25:19.520185 pm
UUID: 9c4a55d1-a27d-4b4a-85fa-74aaad20d89d
Ancestors: Installer-Core-cmm.415
Personal SqueakSource repository default to port 8079 because a lot of people use 8888 for testing.
=============== Diff against Installer-Core-cmm.414 ===============
Item was changed:
----- Method: Installer class>>defaultLocalRepository (in category 'repository-overrides') -----
defaultLocalRepository
"Check for a personal, Magma-indexed SqueakSource server first, if none running, the the 'mc' directory in the current directory."
| localSqueaksource |
+ localSqueaksource := Installer monticello http: 'http://localhost:8079'.
- localSqueaksource := Installer monticello http: 'http://localhost:8888'.
^ localSqueaksource mc isIndexed
ifTrue: [localSqueaksource]
ifFalse: [Installer monticello directory: FileDirectory default / 'mc']!
Item was changed:
----- Method: Installer>>addLocalRepositories (in category 'configure') -----
addLocalRepositories
"For all MC packages defined in my 'package-definitions', add the local directory repository where they reside."
+ self class suspendRepositoryOverridesWhile:
+ [ self class useLocalRepository.
+ self allPackages do:
+ [ : each | self addRepositoryFor: each ] ]!
- self allPackages do:
- [ : each | self class suspendRepositoryOverridesWhile:
- [ self class useLocalRepository.
- self addRepositoryFor: each ] ]!
Eliot Miranda uploaded a new version of KernelTests to project The Trunk:
http://source.squeak.org/trunk/KernelTests-eem.316.mcz
==================== Summary ====================
Name: KernelTests-eem.316
Author: eem
Time: 16 November 2016, 5:45:22.111899 pm
UUID: f0525c34-c0bf-47a7-834e-bda4d9445411
Ancestors: KernelTests-nice.315
Improve the testOutOfMemorySignal test so as not to take an age on 64-bit machines.
=============== Diff against KernelTests-nice.315 ===============
Item was added:
+ ----- Method: AllocationTest>>setFreeSpaceLimitOf:around: (in category 'support') -----
+ setFreeSpaceLimitOf: bytes around: aBlock
+ "Attempt to evaluate aBlock with a limit of the requested ammount
+ of free old space, restoring the extant limit after the evaluation."
+
+ | extantLimit |
+ extantLimit := Smalltalk vmParameterAt: 67.
+ Smalltalk vmParameterAt: 67 put: (Smalltalk vmParameterAt: 1) + bytes asInteger.
+ ^aBlock ensure: [Smalltalk vmParameterAt: 67 put: extantLimit]!
Item was changed:
----- Method: AllocationTest>>testOutOfMemorySignal (in category 'tests') -----
testOutOfMemorySignal
"Ensure that OOM is signaled eventually"
| sz |
+ self setFreeSpaceLimitOf: 1024 * 1024 * 1024 * (Smalltalk wordSize = 8
+ ifTrue: [4]
+ ifFalse: [1.5])
+ around:
+ [sz := 512*1024*1024. "work around the 1GB alloc bug"
+ self should:[(1 to: 2000) collect:[:i| Array new: sz]] raise: OutOfMemory].
- sz := 512*1024*1024. "work around the 1GB alloc bug"
- self should:[(1 to: 2000) collect:[:i| Array new: sz]] raise: OutOfMemory.
"Call me when this test fails, I want your machine"
sz := 1024*1024*1024*1024.
+ self should:[Array new: sz] raise: OutOfMemory!
- self should:[Array new: sz] raise: OutOfMemory.
- !
Chris Muller uploaded a new version of Kernel to project The Trunk:
http://source.squeak.org/trunk/Kernel-cmm.1049.mcz
==================== Summary ====================
Name: Kernel-cmm.1049
Author: cmm
Time: 11 November 2016, 2:55:37.977602 pm
UUID: c1a99cf9-1315-4aac-9bdb-c84fecc12912
Ancestors: Kernel-nice.1048
Give ReferenceStream the ability to serialize objects whose behaviors were extended via #primitiveChangeClassTo:.
=============== Diff against Kernel-nice.1048 ===============
Item was changed:
----- Method: Object>>storeDataOn: (in category 'objects from disk') -----
storeDataOn: aDataStream
"Store myself on a DataStream. Answer self. This is a low-level DataStream/ReferenceStream method. See also objectToStoreOnDataStream. NOTE: This method must send 'aDataStream beginInstance:size:' and then (nextPut:/nextPutWeak:) its subobjects. readDataFrom:size: reads back what we write here."
| cntInstVars cntIndexedVars |
cntInstVars := self class instSize.
cntIndexedVars := self basicSize.
aDataStream
+ beginInstance: self xxxClass
- beginInstance: self class
size: cntInstVars + cntIndexedVars.
1 to: cntInstVars do:
[:i | aDataStream nextPut: (self instVarAt: i)].
"Write fields of a variable length object. When writing to a dummy
stream, don't bother to write the bytes"
((aDataStream byteStream class == DummyStream) and: [self class isBits]) ifFalse: [
1 to: cntIndexedVars do:
[:i | aDataStream nextPut: (self basicAt: i)]].
!