The Trunk: System-dtl.564.mcz

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

The Trunk: System-dtl.564.mcz

commits-2
David T. Lewis uploaded a new version of System to project The Trunk:
http://source.squeak.org/trunk/System-dtl.564.mcz

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

Name: System-dtl.564
Author: dtl
Time: 13 July 2013, 3:47:33.929 pm
UUID: 60aeeb24-9167-4818-ab16-d1f5e5f5c4b5
Ancestors: System-fbs.563

Provide class comments for MorphicProject and MVCProject.

UIProcess is maintained as a global in Project, but is meaningful only in Morphic. Make it an instance variable in MorphicProject.

Changes affect packages: System, Morphic, ST80.

Follow up required: remove the global after converting existing MorphicProject instances.

=============== Diff against System-fbs.563 ===============

Item was changed:
  ----- Method: Project class>>resumeProcess: (in category 'utilities') -----
  resumeProcess: aProcess
  "Adopt aProcess as the project process -- probably because of proceeding from a debugger"
 
+ self current uiProcess: aProcess.
+ aProcess resume!
- UIProcess := aProcess.
- UIProcess resume!

Item was changed:
  ----- Method: Project class>>spawnNewProcess (in category 'utilities') -----
  spawnNewProcess
  "Meaningful only for a Morphic project, but retained here to protect for possible
  references from e.g. image segments"
 
+ self current spawnNewProcess!
- UIProcess := [
- [World doOneCycle.  Processor yield ] repeat.
- ] newProcess priority: Processor userSchedulingPriority.
- UIProcess resume!

Item was changed:
  ----- Method: Project class>>uiProcess (in category 'instance creation') -----
  uiProcess
 
+ ^ self current uiProcess!
- ^ UIProcess!

Item was added:
+ ----- Method: Project>>uiProcess (in category 'active process') -----
+ uiProcess
+ self subclassResponsibility!