The Trunk: ST80-tpr.234.mcz

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

The Trunk: ST80-tpr.234.mcz

commits-2
tim Rowledge uploaded a new version of ST80 to project The Trunk:
http://source.squeak.org/trunk/ST80-tpr.234.mcz

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

Name: ST80-tpr.234
Author: tpr
Time: 1 February 2018, 3:49:35.804146 pm
UUID: 80d6d4fa-2f9d-4618-bde4-6fbc08b08851
Ancestors: ST80-tpr.233

Preliminary support for changes involved in removing the Project>>dispatchTo:addPrefixAndSend:withArguments: method.

=============== Diff against ST80-tpr.233 ===============

Item was added:
+ ----- Method: Debugger class>>context: (in category '*ST80-instance creation') -----
+ context: aContext
+ "Answer an instance of me for debugging the active process starting with the given context."
+ ^ self new
+ process: Processor activeProcess
+ controller: (ScheduledControllers
+ ifNotNil: [:sc |
+ "this means we are in an MVC project"
+ sc inActiveControllerProcess
+ ifTrue: [ScheduledControllers activeController]])
+ context: aContext!

Item was removed:
- ----- Method: Debugger class>>mvcContext: (in category '*ST80-instance creation') -----
- mvcContext: aContext
- "Answer an instance of me for debugging the active process starting with the given context."
-
- ^ self new
- process: Processor activeProcess
- controller: (ScheduledControllers inActiveControllerProcess
- ifTrue: [ScheduledControllers activeController]
- ifFalse: [nil])
- context: aContext!

Item was removed:
- ----- Method: Debugger class>>mvcOpenContext:label:contents: (in category '*ST80-opening') -----
- mvcOpenContext: aContext label: aString contents: contentsStringOrNil
- "Open a notifier in response to an error, halt, or notify. A notifier view just shows a short view of the sender stack and provides a menu that lets the user open a full debugger."
- "Simulation guard"
- <primitive: 19>
- ErrorRecursionGuard critical:
- [ ErrorRecursion not & Preferences logDebuggerStackToFile ifTrue:
- [ Smalltalk
- logSqueakError: aString
- inContext: aContext ].
- ErrorRecursion ifTrue:
- [ ErrorRecursion := false.
- self primitiveError: aString ].
- ErrorRecursion := true.
- self
- informExistingDebugger: aContext
- label: aString.
- (Debugger mvcContext: aContext)
- openNotifierContents: contentsStringOrNil
- label: aString.
- ErrorRecursion := false ].
- Processor activeProcess suspend!

Item was removed:
- ----- Method: Debugger class>>mvcOpenInterrupt:onProcess: (in category '*ST80-opening') -----
- mvcOpenInterrupt: aString onProcess: interruptedProcess
- "Open a notifier in response to an interrupt. An interrupt occurs when the user types the interrupt key (cmd-. on Macs, ctrl-c or alt-. on other systems) or when the low-space watcher detects that memory is low."
- | debugger |
- <primitive: 19> "Simulation guard"
- debugger := self new.
- debugger
- process: interruptedProcess
- controller: (ScheduledControllers activeControllerProcess == interruptedProcess
- ifTrue: [ScheduledControllers activeController]
- ifFalse: [nil])
- context: interruptedProcess suspendedContext.
- debugger externalInterrupt: true.
-
- Preferences logDebuggerStackToFile ifTrue:
- [(aString includesSubstring: 'Space') & (aString includesSubstring: 'low')
- ifTrue: [Smalltalk logError: aString inContext: debugger interruptedContext to: 'LowSpaceDebug.log']
- "logging disabled for 4.3 release, see
- http://lists.squeak.org/pipermail/squeak-dev/2011-December/162503.html"
- "ifFalse: [Smalltalk logSqueakError: aString inContext: debugger interruptedContext]"].
-
- ^debugger
- openNotifierContents: nil label: aString;
- yourself
- !

Item was changed:
  ----- Method: MVCProject>>jumpToProject (in category 'utilities') -----
  jumpToProject
+ "Present a list of potential projects and enter the one selected.
+ We use mvcStartUpLeftFlush for possibly no longer valid historical reasons"
- "Present a list of potential projects and enter the one selected."
 
  "Project current jumpToProject"
 
+ self jumpToSelection: (self buildJumpToMenu: CustomMenu new) mvcStartUpLeftFlush!
- self jumpToSelection: (self buildJumpToMenu: CustomMenu new) startUpLeftFlush!