Andreas Raab uploaded a new version of Morphic to project The Trunk:
http://source.squeak.org/trunk/Morphic-ar.221.mcz
==================== Summary ====================
Name: Morphic-ar.221
Author: ar
Time: 31 October 2009, 1:49:25 am
UUID: 76bd9f2c-a50d-3b4d-9f34-5e02e3a9a6ef
Ancestors: Morphic-ar.220, Morphic-dtl.220
Merging Morphic-dtl.220:
Add #defaultBackgroundColor (moved from Project to MorphicProject).
Move #initMorphic and #InstallPasteUpAsWorld: from Project.
Flag #initMorphic for removal (but check if Etoys uses it).
=============== Diff against Morphic-ar.220 ===============
Item was added:
+ ----- Method: MorphicProject>>initMorphic (in category 'initialize') -----
+ initMorphic
+ "Written so that Morphic can still be removed. Note that #initialize is never actually called for a morphic project -- see the senders of this method."
+
+ self flag: #toRemove. "check if this method still used by Etoys"
+ Smalltalk verifyMorphicAvailability ifFalse: [^ nil].
+ changeSet := ChangeSet new.
+ transcript := TranscriptStream new.
+ displayDepth := Display depth.
+ parentProject := CurrentProject.
+ isolatedHead := false.
+ world := PasteUpMorph newWorldForProject: self.
+ Locale switchToID: CurrentProject localeID.
+ self initializeProjectPreferences. "Do this *after* a world is installed so that the project will be recognized as a morphic one."
+ Preferences useVectorVocabulary ifTrue: [world installVectorVocabulary]!
Item was added:
+ ----- Method: MorphicProject>>defaultBackgroundColor (in category 'initialize') -----
+ defaultBackgroundColor
+ ^ Preferences defaultWorldColor!
Item was added:
+ ----- Method: MorphicProject>>installPasteUpAsWorld: (in category 'initialize') -----
+ installPasteUpAsWorld: pasteUpMorph
+ "(ProjectViewMorph newMorphicProjectOn: aPasteUpMorph) openInWorld."
+
+ world := pasteUpMorph beWorldForProject: self!
Andreas Raab uploaded a new version of Morphic to project The Trunk:
http://source.squeak.org/trunk/Morphic-ar.221.mcz
==================== Summary ====================
Name: Morphic-ar.221
Author: ar
Time: 31 October 2009, 1:49:25 am
UUID: 76bd9f2c-a50d-3b4d-9f34-5e02e3a9a6ef
Ancestors: Morphic-ar.220, Morphic-dtl.220
Merging Morphic-dtl.220:
Add #defaultBackgroundColor (moved from Project to MorphicProject).
Move #initMorphic and #InstallPasteUpAsWorld: from Project.
Flag #initMorphic for removal (but check if Etoys uses it).
=============== Diff against Morphic-ar.220 ===============
Item was added:
+ ----- Method: MorphicProject>>initMorphic (in category 'initialize') -----
+ initMorphic
+ "Written so that Morphic can still be removed. Note that #initialize is never actually called for a morphic project -- see the senders of this method."
+
+ self flag: #toRemove. "check if this method still used by Etoys"
+ Smalltalk verifyMorphicAvailability ifFalse: [^ nil].
+ changeSet := ChangeSet new.
+ transcript := TranscriptStream new.
+ displayDepth := Display depth.
+ parentProject := CurrentProject.
+ isolatedHead := false.
+ world := PasteUpMorph newWorldForProject: self.
+ Locale switchToID: CurrentProject localeID.
+ self initializeProjectPreferences. "Do this *after* a world is installed so that the project will be recognized as a morphic one."
+ Preferences useVectorVocabulary ifTrue: [world installVectorVocabulary]!
Item was added:
+ ----- Method: MorphicProject>>defaultBackgroundColor (in category 'initialize') -----
+ defaultBackgroundColor
+ ^ Preferences defaultWorldColor!
Item was added:
+ ----- Method: MorphicProject>>installPasteUpAsWorld: (in category 'initialize') -----
+ installPasteUpAsWorld: pasteUpMorph
+ "(ProjectViewMorph newMorphicProjectOn: aPasteUpMorph) openInWorld."
+
+ world := pasteUpMorph beWorldForProject: self!
Andreas Raab uploaded a new version of Morphic to project The Trunk:
http://source.squeak.org/trunk/Morphic-ar.221.mcz
==================== Summary ====================
Name: Morphic-ar.221
Author: ar
Time: 31 October 2009, 1:49:25 am
UUID: 76bd9f2c-a50d-3b4d-9f34-5e02e3a9a6ef
Ancestors: Morphic-ar.220, Morphic-dtl.220
Merging Morphic-dtl.220:
Add #defaultBackgroundColor (moved from Project to MorphicProject).
Move #initMorphic and #InstallPasteUpAsWorld: from Project.
Flag #initMorphic for removal (but check if Etoys uses it).
=============== Diff against Morphic-ar.220 ===============
Item was added:
+ ----- Method: MorphicProject>>initMorphic (in category 'initialize') -----
+ initMorphic
+ "Written so that Morphic can still be removed. Note that #initialize is never actually called for a morphic project -- see the senders of this method."
+
+ self flag: #toRemove. "check if this method still used by Etoys"
+ Smalltalk verifyMorphicAvailability ifFalse: [^ nil].
+ changeSet := ChangeSet new.
+ transcript := TranscriptStream new.
+ displayDepth := Display depth.
+ parentProject := CurrentProject.
+ isolatedHead := false.
+ world := PasteUpMorph newWorldForProject: self.
+ Locale switchToID: CurrentProject localeID.
+ self initializeProjectPreferences. "Do this *after* a world is installed so that the project will be recognized as a morphic one."
+ Preferences useVectorVocabulary ifTrue: [world installVectorVocabulary]!
Item was added:
+ ----- Method: MorphicProject>>defaultBackgroundColor (in category 'initialize') -----
+ defaultBackgroundColor
+ ^ Preferences defaultWorldColor!
Item was added:
+ ----- Method: MorphicProject>>installPasteUpAsWorld: (in category 'initialize') -----
+ installPasteUpAsWorld: pasteUpMorph
+ "(ProjectViewMorph newMorphicProjectOn: aPasteUpMorph) openInWorld."
+
+ world := pasteUpMorph beWorldForProject: self!
David T. Lewis uploaded a new version of System to project The Trunk:
http://source.squeak.org/trunk/System-dtl.161.mcz
==================== Summary ====================
Name: System-dtl.161
Author: dtl
Time: 31 October 2009, 4:11:28 am
UUID: b2ac36a5-cfa1-47d7-b4fb-d87231823876
Ancestors: System-dtl.160
Move 5 methods from Project (initialization category) to MVCProject and MorphicProject.
=============== Diff against System-dtl.160 ===============
Item was changed:
----- Method: Project>>defaultBackgroundColor (in category 'initialization') -----
defaultBackgroundColor
+ ^ self subclassResponsibility!
- ^ self isMorphic
- ifTrue: [self backgroundColorForMorphicProject]
- ifFalse: [self backgroundColorForMvcProject]!
Item was removed:
- ----- Method: Project>>installPasteUpAsWorld: (in category 'initialization') -----
- installPasteUpAsWorld: pasteUpMorph
- "(ProjectViewMorph newMorphicProjectOn: aPasteUpMorph) openInWorld."
-
- world := pasteUpMorph beWorldForProject: self!
Item was removed:
- ----- Method: Project>>initMorphic (in category 'initialization') -----
- initMorphic
- "Written so that Morphic can still be removed. Note that #initialize is never actually called for a morphic project -- see the senders of this method."
-
- Smalltalk verifyMorphicAvailability ifFalse: [^ nil].
- changeSet := ChangeSet new.
- transcript := TranscriptStream new.
- displayDepth := Display depth.
- parentProject := CurrentProject.
- isolatedHead := false.
- world := PasteUpMorph newWorldForProject: self.
- Locale switchToID: CurrentProject localeID.
- self initializeProjectPreferences. "Do this *after* a world is installed so that the project will be recognized as a morphic one."
- Preferences useVectorVocabulary ifTrue: [world installVectorVocabulary]!
Item was removed:
- ----- Method: Project>>backgroundColorForMorphicProject (in category 'initialization') -----
- backgroundColorForMorphicProject
- ^ Preferences defaultWorldColor!
Item was removed:
- ----- Method: Project>>backgroundColorForMvcProject (in category 'initialization') -----
- backgroundColorForMvcProject
- ^ Color r: 1.0 g: 1.0 b: 0.065!
David T. Lewis uploaded a new version of System to project The Trunk:
http://source.squeak.org/trunk/System-dtl.161.mcz
==================== Summary ====================
Name: System-dtl.161
Author: dtl
Time: 31 October 2009, 4:11:28 am
UUID: b2ac36a5-cfa1-47d7-b4fb-d87231823876
Ancestors: System-dtl.160
Move 5 methods from Project (initialization category) to MVCProject and MorphicProject.
=============== Diff against System-dtl.160 ===============
Item was changed:
----- Method: Project>>defaultBackgroundColor (in category 'initialization') -----
defaultBackgroundColor
+ ^ self subclassResponsibility!
- ^ self isMorphic
- ifTrue: [self backgroundColorForMorphicProject]
- ifFalse: [self backgroundColorForMvcProject]!
Item was removed:
- ----- Method: Project>>installPasteUpAsWorld: (in category 'initialization') -----
- installPasteUpAsWorld: pasteUpMorph
- "(ProjectViewMorph newMorphicProjectOn: aPasteUpMorph) openInWorld."
-
- world := pasteUpMorph beWorldForProject: self!
Item was removed:
- ----- Method: Project>>initMorphic (in category 'initialization') -----
- initMorphic
- "Written so that Morphic can still be removed. Note that #initialize is never actually called for a morphic project -- see the senders of this method."
-
- Smalltalk verifyMorphicAvailability ifFalse: [^ nil].
- changeSet := ChangeSet new.
- transcript := TranscriptStream new.
- displayDepth := Display depth.
- parentProject := CurrentProject.
- isolatedHead := false.
- world := PasteUpMorph newWorldForProject: self.
- Locale switchToID: CurrentProject localeID.
- self initializeProjectPreferences. "Do this *after* a world is installed so that the project will be recognized as a morphic one."
- Preferences useVectorVocabulary ifTrue: [world installVectorVocabulary]!
Item was removed:
- ----- Method: Project>>backgroundColorForMorphicProject (in category 'initialization') -----
- backgroundColorForMorphicProject
- ^ Preferences defaultWorldColor!
Item was removed:
- ----- Method: Project>>backgroundColorForMvcProject (in category 'initialization') -----
- backgroundColorForMvcProject
- ^ Color r: 1.0 g: 1.0 b: 0.065!
David T. Lewis uploaded a new version of System to project The Trunk:
http://source.squeak.org/trunk/System-dtl.161.mcz
==================== Summary ====================
Name: System-dtl.161
Author: dtl
Time: 31 October 2009, 4:11:28 am
UUID: b2ac36a5-cfa1-47d7-b4fb-d87231823876
Ancestors: System-dtl.160
Move 5 methods from Project (initialization category) to MVCProject and MorphicProject.
=============== Diff against System-dtl.160 ===============
Item was changed:
----- Method: Project>>defaultBackgroundColor (in category 'initialization') -----
defaultBackgroundColor
+ ^ self subclassResponsibility!
- ^ self isMorphic
- ifTrue: [self backgroundColorForMorphicProject]
- ifFalse: [self backgroundColorForMvcProject]!
Item was removed:
- ----- Method: Project>>installPasteUpAsWorld: (in category 'initialization') -----
- installPasteUpAsWorld: pasteUpMorph
- "(ProjectViewMorph newMorphicProjectOn: aPasteUpMorph) openInWorld."
-
- world := pasteUpMorph beWorldForProject: self!
Item was removed:
- ----- Method: Project>>initMorphic (in category 'initialization') -----
- initMorphic
- "Written so that Morphic can still be removed. Note that #initialize is never actually called for a morphic project -- see the senders of this method."
-
- Smalltalk verifyMorphicAvailability ifFalse: [^ nil].
- changeSet := ChangeSet new.
- transcript := TranscriptStream new.
- displayDepth := Display depth.
- parentProject := CurrentProject.
- isolatedHead := false.
- world := PasteUpMorph newWorldForProject: self.
- Locale switchToID: CurrentProject localeID.
- self initializeProjectPreferences. "Do this *after* a world is installed so that the project will be recognized as a morphic one."
- Preferences useVectorVocabulary ifTrue: [world installVectorVocabulary]!
Item was removed:
- ----- Method: Project>>backgroundColorForMorphicProject (in category 'initialization') -----
- backgroundColorForMorphicProject
- ^ Preferences defaultWorldColor!
Item was removed:
- ----- Method: Project>>backgroundColorForMvcProject (in category 'initialization') -----
- backgroundColorForMvcProject
- ^ Color r: 1.0 g: 1.0 b: 0.065!
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]
- !