The Trunk: 51Deprecated-mt.27.mcz

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

The Trunk: 51Deprecated-mt.27.mcz

commits-2
Marcel Taeumel uploaded a new version of 51Deprecated to project The Trunk:
http://source.squeak.org/trunk/51Deprecated-mt.27.mcz

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

Name: 51Deprecated-mt.27
Author: mt
Time: 9 May 2016, 1:49:24.070729 pm
UUID: 5e20e975-6555-044d-9ce9-595e86558e8a
Ancestors: 51Deprecated-mt.26

Update according to the projects refactoring in System-mt.827

=============== Diff against 51Deprecated-mt.26 ===============

Item was added:
+ ----- Method: DisplayScreen>>newDepthNoRestore: (in category '*51Deprecated') -----
+ newDepthNoRestore: pixelSize
+
+ self deprecated.
+ self newDepth: pixelSize.!

Item was changed:
  ----- Method: DummyUIManager>>checkForNewDisplaySize (in category '*51Deprecated') -----
  checkForNewDisplaySize
 
+ self deprecated: 'Use DisplayScreen class >> #checkForNewScreenSize. Note that is actually no task for the UI manager. It belongs to the projects main loop.'.
- self deprecated: 'Use Display >> #checkForNewScreenSize. Note that is actually no task for the UI manager. It belongs to the projects main loop.'.
  Display extent = DisplayScreen actualScreenSize ifTrue: [^ self].
  DisplayScreen startUp.!

Item was added:
+ ----- Method: DummyUIManager>>restoreDisplay (in category '*51Deprecated') -----
+ restoreDisplay!

Item was added:
+ ----- Method: MVCProject>>pauseSoundPlayers (in category '*51Deprecated') -----
+ pauseSoundPlayers
+ "Pause sound players, subject to preference settings"
+
+ Smalltalk at: #ScorePlayer ifPresent:[:playerClass|
+ playerClass allSubInstancesDo: [:player | player pause]]!

Item was added:
+ ----- Method: MorphicProject>>pauseEventRecorder (in category '*51Deprecated') -----
+ pauseEventRecorder
+ "Suspend any event recorder, and return it if found"
+
+ self deprecated: 'mt: See implementors of #finalEnterActions:.'.
+ ^ world pauseEventRecorder
+ !

Item was added:
+ ----- Method: MorphicProject>>pauseSoundPlayers (in category '*51Deprecated') -----
+ pauseSoundPlayers
+ "Pause sound players, subject to preference settings"
+
+ self deprecated: 'mt: See implementors of #finalExitActions:.'.
+
+ (world hasProperty: #letTheMusicPlay)
+ ifTrue: [world removeProperty: #letTheMusicPlay]
+ ifFalse: [Smalltalk
+ at: #ScorePlayer
+ ifPresent: [:playerClass | playerClass
+ allSubInstancesDo: [:player | player pause]]]
+ !

Item was added:
+ ----- Method: MorphicProject>>triggerClosingScripts (in category '*51Deprecated') -----
+ triggerClosingScripts
+ "If any scripts must be run on closing, run them now"
+
+ self deprecated: 'mt: You can do this in #finalExitActions:.'.
+ self world triggerClosingScripts.
+ !

Item was changed:
  ----- Method: PasteUpMorph>>handleFatalDrawingError: (in category '*51Deprecated-Morphic') -----
  handleFatalDrawingError: errMsg
  "Handle a fatal drawing error."
+
+ self deprecated.
+ Project current handleFatalDrawingError: errMsg.!
- self flag: #toRemove. "Implementation moved to Project, but are there external packages with senders?"
- Project current handleFatalDrawingError: errMsg
- !

Item was changed:
  ----- Method: PasteUpMorph>>privateOuterDisplayWorld (in category '*51Deprecated-Morphic') -----
  privateOuterDisplayWorld
 
+ self deprecated.
  worldState displayWorld: self submorphs: submorphs
  !

Item was added:
+ ----- Method: PasteUpMorph>>restoreDisplay (in category '*51Deprecated-Morphic') -----
+ restoreDisplay
+
+ self deprecated.
+ Project current restoreDisplay.!

Item was added:
+ ----- Method: Project class>>spawnNewProcess (in category '*51Deprecated') -----
+ spawnNewProcess
+ "Meaningful only for a Morphic project, but retained here to protect for possible
+ references from e.g. image segments"
+
+ self current spawnNewProcess!

Item was added:
+ ----- Method: Project class>>spawnNewProcessAndTerminateOld: (in category '*51Deprecated') -----
+ spawnNewProcessAndTerminateOld: terminate
+ "Meaningful only for a Morphic project, but retained here to protect for possible
+ references from e.g. image segments"
+
+ ^ self current spawnNewProcessAndTerminateOld: terminate
+ !

Item was added:
+ ----- Method: Project class>>spawnNewProcessIfThisIsUI: (in category '*51Deprecated') -----
+ spawnNewProcessIfThisIsUI: suspendedProcess
+ "Meaningful only for a Morphic project, but retained here to protect for possible
+ references from e.g. image segments"
+
+ self current spawnNewProcessIfThisIsUI: suspendedProcess
+
+ !

Item was added:
+ ----- Method: Project>>finalEnterActions (in category '*51Deprecated') -----
+ finalEnterActions
+
+ self deprecated: 'mt: Use #finalEnterActions: getting the leaving project as argument.'.
+ self finalEnterActions: nil.!

Item was added:
+ ----- Method: Project>>finalExitActions (in category '*51Deprecated') -----
+ finalExitActions
+
+ self deprecated: 'mt: Use #finalExitActions: getting the entering project as argument.'.
+ self finalExitActions: nil.!

Item was added:
+ ----- Method: Project>>pauseEventRecorder (in category '*51Deprecated') -----
+ pauseEventRecorder
+ "Suspend any event recorder, and return it if found"
+
+ self deprecated: 'mt: See implementors of #finalEnterActions:.'.
+ ^ nil!

Item was added:
+ ----- Method: Project>>pauseSoundPlayers (in category '*51Deprecated') -----
+ pauseSoundPlayers
+ "Pause sound players, subject to preference settings"
+
+ self deprecated: 'mt: See implementors of #finalExitActions:.'.!

Item was added:
+ ----- Method: Project>>resetDisplay (in category '*51Deprecated') -----
+ resetDisplay
+ "Bring the display to a usable state after handling primitiveError."
+
+ self deprecated.
+ self restoreDisplay.!

Item was added:
+ ----- Method: Project>>triggerClosingScripts (in category '*51Deprecated') -----
+ triggerClosingScripts
+ "If any scripts must be run on closing, run them now"
+
+ self deprecated: 'mt: You can do this in #finalExitActions:.'.!

Item was added:
+ ----- Method: UIManager>>newDisplayDepthNoRestore: (in category '*51Deprecated') -----
+ newDisplayDepthNoRestore: pixelSize
+
+ self deprecated.
+ Display newDepth: pixelSize.!

Item was added:
+ ----- Method: UIManager>>restoreDisplay (in category '*51Deprecated') -----
+ restoreDisplay
+
+ Display restore.!

Item was added:
+ ----- Method: UIManager>>restoreDisplayAfter: (in category '*51Deprecated') -----
+ restoreDisplayAfter: aBlock
+
+ self deprecated.
+ Display restoreAfter: aBlock.!