[Pkg] The Trunk: Tools-mt.632.mcz

commits at source.squeak.org commits at source.squeak.org
Tue Aug 25 12:57:41 UTC 2015

Marcel Taeumel uploaded a new version of Tools to project The Trunk:

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

Name: Tools-mt.632
Author: mt
Time: 25 August 2015, 2:57:23.277 pm
UUID: 32a964b7-b4b9-8347-b230-278e62d7db33
Ancestors: Tools-eem.631

Removes the hack for the debugger's notifier window because it is not necessary anymore. Warnings work fine now.

=============== Diff against Tools-eem.631 ===============

Item was changed:
  ----- Method: Debugger>>openNotifierContents:label: (in category 'initialize') -----
  openNotifierContents: msgString label: label
  	"Create, schedule and answer a notifier view with the given label and message. A notifier view shows just the message or the first several lines of the stack, with a menu that allows the user to open a full debugger if so desired."
  	"NOTE: When this method returns, a new process has been scheduled to run the windows, and thus this notifier, but the previous active process has not been suspended.  The sender will do this."
  	| msg builder spec |
  	Sensor flushKeyboard.
  	savedCursor := Cursor currentCursor.
  	Cursor currentCursor: Cursor normal.
  	msg := (label beginsWith: 'Space is low')
  		ifTrue: [self lowSpaceChoices, (msgString ifNil: [String empty])]
  		ifFalse: [msgString].
  	builder := ToolBuilder default.
+ 	spec := self buildNotifierWith: builder label: label message: msg.
- 	spec := self buildNotifierWith: builder label: label message: (msg ifNil: [label]).
  	self expandStack.
  	^[builder openDebugger: spec] ensure:
  		[errorWasInUIProcess := Project current spawnNewProcessIfThisIsUI: interruptedProcess]

More information about the Packages mailing list