The Trunk: Morphic-mt.1089.mcz

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

The Trunk: Morphic-mt.1089.mcz

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

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

Name: Morphic-mt.1089
Author: mt
Time: 19 February 2016, 5:28:10.456676 pm
UUID: 3c8747c7-e826-4c31-8cd4-53301756914e
Ancestors: Morphic-mt.1088

Check for running UI process simplified due to latest updates in Process class.

=============== Diff against Morphic-mt.1088 ===============

Item was changed:
  ----- Method: MorphicProject>>spawnNewProcessIfThisIsUI: (in category 'active process') -----
  spawnNewProcessIfThisIsUI: suspendedProcess
  "Initialize a UI process if needed. Answer true if suspendedProcess was interrupted
  from a UI process."
  self uiProcess == suspendedProcess ifTrue: [
  self spawnNewProcess.
  ^true
  ].
 
+ "Ensure that the UI process is running."
+ self uiProcess isSuspended ifTrue: [
+ self restoreDisplay.
+ self uiProcess resume].
- "Ensure that the UI process is running. We need to check the suspended context because the Debugger tends to call this twice."
- (self uiProcess isSuspended and: [self uiProcess suspendedContext notNil])
- ifTrue: [
- self restoreDisplay.
- self uiProcess resume].
 
  ^false "no new process was created"
  !