Tobias Pape uploaded a new version of Morphic to project The Trunk:
http://source.squeak.org/trunk/Morphic-topa.678.mcz
==================== Summary ====================
Name: Morphic-topa.678
Author: topa
Time: 21 August 2013, 4:37:34.207 pm
UUID: 22a6ae09-5f3e-47c1-a4b8-0bf5d7f2d24e
Ancestors: Morphic-fbs.677
Fix alarm triggering to actually trigger all pending alarms.
Pointed out by Bob Arning and John McKeon
=============== Diff against Morphic-fbs.677 ===============
Item was changed:
----- Method: WorldState>>triggerAlarmsBefore: (in category 'alarms') -----
triggerAlarmsBefore: nowTime
"Trigger all pending alarms that are to be executed before nowTime."
| triggered |
lastAlarmTime ifNil:[lastAlarmTime := nowTime].
(nowTime < lastAlarmTime or:[nowTime - lastAlarmTime > 10000])
ifTrue:[self adjustAlarmTimes: nowTime].
triggered := OrderedCollection new.
self lockAlarmsDuring: [:pending |
+ [pending isEmpty not and: [pending first scheduledTime < nowTime]]
+ whileTrue: [triggered add: pending removeFirst]].
- (pending isEmpty not and: [pending first scheduledTime < nowTime])
- ifTrue: [triggered add: pending removeFirst]].
triggered do: [:alarm | alarm value: nowTime].
lastAlarmTime := nowTime.!
Bert Freudenberg uploaded a new version of Monticello to project The Trunk:
http://source.squeak.org/trunk/Monticello-bf.564.mcz
==================== Summary ====================
Name: Monticello-bf.564
Author: bf
Time: 20 August 2013, 9:23:46.939 pm
UUID: b01750f8-59fc-4bf9-a792-27820c57f554
Ancestors: Monticello-bf.563
Comment for MCReorganizationPreloader.
=============== Diff against Monticello-bf.563 ===============
Item was changed:
Object subclass: #MCReorganizationPreloader
instanceVariableNames: 'preloads previousRemovals currentRemovals'
classVariableNames: ''
poolDictionaries: ''
category: 'Monticello-Loading'!
+
+ !MCReorganizationPreloader commentStamp: 'bf 8/20/2013 13:51' prior: 0!
+ MCReorganizationPreloader ensures that definitions moved between two packages are not removed temporarily, independent of their load order.
+
+ Moves appear as deletion in one package and addition in another package. If the deletion precedes the addition, the entity will be removed from the system for a short period of time, and then recreated later. This is potentially fatal.
+
+ MCReorganizationPreloader detects these problematic definitions and combines them into MCModifications. They then get 'preloaded' (applied to the system) so when the actual packages are loaded later, they become no-ops (because the definition in the image is already in the right package).
+
+ Instance Variables
+ preloads: generated modifications
+ currentRemovals: definitions removed by the version currently being added
+ previousRemovals: definitions removed by previously added versions
+ !
Bert Freudenberg uploaded a new version of Monticello to project The Trunk:
http://source.squeak.org/trunk/Monticello-bf.564.mcz
==================== Summary ====================
Name: Monticello-bf.564
Author: bf
Time: 20 August 2013, 9:23:46.939 pm
UUID: b01750f8-59fc-4bf9-a792-27820c57f554
Ancestors: Monticello-bf.563
Comment for MCReorganizationPreloader.
=============== Diff against Monticello-bf.563 ===============
Item was changed:
Object subclass: #MCReorganizationPreloader
instanceVariableNames: 'preloads previousRemovals currentRemovals'
classVariableNames: ''
poolDictionaries: ''
category: 'Monticello-Loading'!
+
+ !MCReorganizationPreloader commentStamp: 'bf 8/20/2013 13:51' prior: 0!
+ MCReorganizationPreloader ensures that definitions moved between two packages are not removed temporarily, independent of their load order.
+
+ Moves appear as deletion in one package and addition in another package. If the deletion precedes the addition, the entity will be removed from the system for a short period of time, and then recreated later. This is potentially fatal.
+
+ MCReorganizationPreloader detects these problematic definitions and combines them into MCModifications. They then get 'preloaded' (applied to the system) so when the actual packages are loaded later, they become no-ops (because the definition in the image is already in the right package).
+
+ Instance Variables
+ preloads: generated modifications
+ currentRemovals: definitions removed by the version currently being added
+ previousRemovals: definitions removed by previously added versions
+ !
Bert Freudenberg uploaded a new version of Monticello to project The Trunk:
http://source.squeak.org/trunk/Monticello-bf.564.mcz
==================== Summary ====================
Name: Monticello-bf.564
Author: bf
Time: 20 August 2013, 9:23:46.939 pm
UUID: b01750f8-59fc-4bf9-a792-27820c57f554
Ancestors: Monticello-bf.563
Comment for MCReorganizationPreloader.
=============== Diff against Monticello-bf.563 ===============
Item was changed:
Object subclass: #MCReorganizationPreloader
instanceVariableNames: 'preloads previousRemovals currentRemovals'
classVariableNames: ''
poolDictionaries: ''
category: 'Monticello-Loading'!
+
+ !MCReorganizationPreloader commentStamp: 'bf 8/20/2013 13:51' prior: 0!
+ MCReorganizationPreloader ensures that definitions moved between two packages are not removed temporarily, independent of their load order.
+
+ Moves appear as deletion in one package and addition in another package. If the deletion precedes the addition, the entity will be removed from the system for a short period of time, and then recreated later. This is potentially fatal.
+
+ MCReorganizationPreloader detects these problematic definitions and combines them into MCModifications. They then get 'preloaded' (applied to the system) so when the actual packages are loaded later, they become no-ops (because the definition in the image is already in the right package).
+
+ Instance Variables
+ preloads: generated modifications
+ currentRemovals: definitions removed by the version currently being added
+ previousRemovals: definitions removed by previously added versions
+ !