The Trunk: Nebraska-ar.22.mcz

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

The Trunk: Nebraska-ar.22.mcz

commits-2
Andreas Raab uploaded a new version of Nebraska to project The Trunk:
http://source.squeak.org/trunk/Nebraska-ar.22.mcz

==================== Summary ====================

Name: Nebraska-ar.22
Author: ar
Time: 31 October 2009, 1:10:28 am
UUID: cc21cf2c-b7ac-d948-ab7e-b8e856347873
Ancestors: Nebraska-ul.21

Companion change to Morphic-ar.220: Check all morphs of the world to be shared whether it's safe to serve them or not.

=============== Diff against Nebraska-ul.21 ===============

Item was changed:
  ----- Method: NebraskaServerMorph class>>serveWorld: (in category 'as yet unclassified') -----
  serveWorld: aWorld
  "Check to make sure things won't crash. See Mantis #0000519"
+ aWorld allMorphsDo:[:m|
+ m isSafeToServe ifFalse:[
+ ^self inform: 'Can not share world if a ', m class, ' is present. Close the mprph and try again']].
+ ^self serveWorld: aWorld onPort: NebraskaServer defaultPort!
- aWorld isSafeToServe ifTrue:[
- ^self serveWorld: aWorld onPort: NebraskaServer defaultPort]
- !