tim Rowledge uploaded a new version of MorphicExtras to project The Trunk:
http://source.squeak.org/trunk/MorphicExtras-tpr.221.mcz
==================== Summary ====================
Name: MorphicExtras-tpr.221
Author: tpr
Time: 1 February 2018, 3:56:17.920322 pm
UUID: 24fea4bd-8780-4266-a4a7-af5197a2c799
Ancestors: MorphicExtras-eem.220
Preliminary support for changes involved in removing the Project>>dispatchTo:addPrefixAndSend:withArguments: method.
=============== Diff against MorphicExtras-eem.220 ===============
Item was changed:
----- Method: FancyMailComposition>>open (in category 'user interface') -----
open
+ "FancyMailComposition should probably be removed in favour of MailComposition, but at least ought to be made a ToolBuilder thing" "open an interface"
+ self deprecated: 'ought to be removed of ToolBuilderised'.
+ ^ Project uiManager openFancyMailComposition: self!
- "open an interface"
-
- ^ Project current
- dispatchTo: self
- addPrefixAndSend: #Open
- withArguments: {}
- !
tim Rowledge uploaded a new version of Network to project The Trunk:
http://source.squeak.org/trunk/Network-tpr.217.mcz
==================== Summary ====================
Name: Network-tpr.217
Author: tpr
Time: 1 February 2018, 3:55:21.521225 pm
UUID: 8dbe7941-c2dc-443c-849b-22f4e8d6867c
Ancestors: Network-tpr.216
Preliminary support for changes involved in removing the Project>>dispatchTo:addPrefixAndSend:withArguments: method.
=============== Diff against Network-tpr.216 ===============
Item was changed:
----- Method: MailComposition>>open (in category 'initialize-release') -----
open
"open an interface"
+ ^ToolBuilder open: self label: self dialogTitle!
- ^ Project current
- dispatchTo: self
- addPrefixAndSend: #Open
- withArguments: {}
- !
tim Rowledge uploaded a new version of Tools to project The Trunk:
http://source.squeak.org/trunk/Tools-tpr.795.mcz
==================== Summary ====================
Name: Tools-tpr.795
Author: tpr
Time: 1 February 2018, 3:53:29.550569 pm
UUID: 48432526-9fe6-4888-bfee-3b9ea75145e7
Ancestors: Tools-mt.794
Preliminary support for changes involved in removing the Project>>dispatchTo:addPrefixAndSend:withArguments: method.
=============== Diff against Tools-mt.794 ===============
Item was removed:
- ----- Method: Debugger class>>context: (in category 'instance creation') -----
- context: aContext
- "Answer an instance of me for debugging the active process starting with the given context."
-
- ^ Project current
- dispatchTo: self
- addPrefixAndSend: #Context:
- withArguments: { aContext }!
Item was removed:
- ----- Method: Debugger class>>openContext:label:contents: (in category 'opening') -----
- openContext: 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."
-
- ^ Project current
- dispatchTo: self
- addPrefixAndSend: #OpenContext:label:contents:
- withArguments: { aContext . aString . contentsStringOrNil }!
Item was removed:
- ----- Method: Debugger class>>openInterrupt:onProcess: (in category 'opening') -----
- openInterrupt: 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."
-
- ^ Project current
- dispatchTo: self
- addPrefixAndSend: #OpenInterrupt:onProcess:
- withArguments: { aString . interruptedProcess }!
Item was changed:
----- Method: Debugger class>>openOn:context:label:contents:fullView: (in category 'opening') -----
openOn: process context: context label: title contents: contentsStringOrNil fullView: bool
"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.
+ Dispatch the request to a method appropriate for the active project.
+ The two versions for mvc & morphic are very close and can surely be merged so that this can be simplified"
- Dispatch the request to a method appropriate for the active project."
+ ^ Project uiManager openDebugger: self on: process context: context label: title contents: contentsStringOrNil fullView: bool
- ^ Project current
- dispatchTo: self
- addPrefixAndSend: #OpenOn:context:label:contents:fullView:
- withArguments: { process . context . title . contentsStringOrNil . bool }
!
Item was changed:
----- Method: Debugger>>resumeProcess: (in category 'private') -----
resumeProcess: aTopView
+ ^ Project uiManager resumeDebugger: self process: aTopView!
- ^ Project current
- dispatchTo: self
- addPrefixAndSend: #ResumeProcess:
- withArguments: { aTopView }
- !
Item was changed:
----- Method: FileList2 class>>modalFolderSelectorForProject: (in category 'modal dialogs') -----
modalFolderSelectorForProject: aProject
"
FileList2 modalFolderSelectorForProject: Project current
"
+ "Not currently being converted to FileSaverDialog etc because it implements the decidedly outre looking 'blue ui' Project dialog. "
| window fileModel w |
window := FileList2 morphicViewProjectSaverFor: aProject.
fileModel := window valueOfProperty: #FileList.
w := self currentWorld.
window position: w topLeft + (w extent - window extent // 2).
w addMorphInLayer: window.
w startSteppingSubmorphsOf: window.
UserInterfaceTheme current applyTo: window allMorphs.
self modalLoopOn: window.
^fileModel getSelectedDirectory withoutListWrapper!
Item was changed:
----- Method: PluggableFileList class>>getFile (in category 'standard dialog operations') -----
getFile
-
| result |
+
+ self flag: #unused.
result := self getFilePathName.
^result ifNotNil: [FileStream oldFileNamed: result]!
Item was changed:
----- Method: PluggableFileList>>initialize (in category 'initialize-release') -----
initialize
+ super initialize.
prompt := 'Select File'.
directory := FileDirectory default.
newFiles := OrderedCollection new.
fileFilterBlock := PluggableFileList allFilesAndFoldersFileFilter.
canAcceptBlock := PluggableFileList fileNameSelectedAcceptBlock.
resultBlock := PluggableFileList pathNameResultBlock.
validateBlock := PluggableFileList checkExistingFileValidateBlock.
!
Item was changed:
----- Method: PluggableFileList>>open (in category 'initialize-release') -----
open
+ "PluggableFileList is being deprecated and this can go away soon"
+ self deprecated: 'PluggableFileList must die'.
+ ^ Project uiManager openPluggableFileList: self label: prompt in: self currentWorld!
- ^ Project current
- dispatchTo: self
- addPrefixAndSend: #OpenLabel:in:
- withArguments: { prompt . self currentWorld }
- !
Item was removed:
- ----- Method: PopUpMenu>>startUpLeftFlush (in category 'basic control sequence') -----
- startUpLeftFlush
- "Build and invoke this menu with no initial selection. By Jerry Archibald, 4/01.
- If in MVC, align menus items with the left margin.
- Answer the selection associated with the menu item chosen by the user or nil if none is chosen.
- The mechanism for getting left-flush appearance in mvc leaves a tiny possibility for misadventure: if the user, in mvc, puts up the jump-to-project menu, then hits cmd period while it is up, then puts up a second jump-to-project menu before dismissing or proceeding through the debugger, it's possible for mvc popup-menus thereafter to appear left-aligned rather than centered; this very unlikely condition can be cleared by evaluating 'PopUpMenu alignment: 2'"
-
- ^ Project current
- dispatchTo: self
- addPrefixAndSend: #StartUpLeftFlush
- withArguments: #()
- !
Item was changed:
----- Method: PopUpMenu>>startUpWithCaption:icon:at:allowKeyboard: (in category 'basic control sequence') -----
startUpWithCaption: captionOrNil icon: aForm at: location allowKeyboard: aBoolean
"Display the menu, with caption if supplied. Wait for the mouse button to go down, then track the selection as long as the button is pressed. When the button is released,
Answer the index of the current selection, or zero if the mouse is not released over any menu item. Location specifies the desired topLeft of the menu body rectangle. The final argument indicates whether the menu should seize the keyboard focus in order to allow the user to navigate it via the keyboard."
| maxHeight |
(ProvideAnswerNotification signal: captionOrNil) ifNotNil:
[:answer | ^ selection := answer ifTrue: [1] ifFalse: [2]].
maxHeight := Display height*3//4.
self frameHeight > maxHeight ifTrue:
[^ self
startUpSegmented: maxHeight
withCaption: captionOrNil
at: location
allowKeyboard: aBoolean].
+ ^ Project uiManager startUpMenu: self withCaption: captionOrNil icon: aForm at: location allowKeyboard: aBoolean!
- ^ Project current
- dispatchTo: self
- addPrefixAndSend: #StartUpWithCaption:icon:at:allowKeyboard:
- withArguments: {captionOrNil. aForm. location. aBoolean}!
Item was changed:
----- Method: SyntaxError class>>open: (in category 'instance creation') -----
open: aSyntaxError
"Answer a standard system view whose model is an instance of me."
<primitive: 19> "Simulation guard"
+ ^ Project uiManager openSyntaxError: aSyntaxError
- ^ Project current
- dispatchTo: self
- addPrefixAndSend: #Open:
- withArguments: {aSyntaxError}
!
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!
tim Rowledge uploaded a new version of ToolBuilder-Morphic to project The Trunk:
http://source.squeak.org/trunk/ToolBuilder-Morphic-tpr.207.mcz
==================== Summary ====================
Name: ToolBuilder-Morphic-tpr.207
Author: tpr
Time: 1 February 2018, 3:47:46.390567 pm
UUID: e04efbf4-8938-4eb6-8397-87ae178fb187
Ancestors: ToolBuilder-Morphic-mt.206
Preliminary support for changes involved in removing the Project>>dispatchTo:addPrefixAndSend:withArguments: method.
=============== Diff against ToolBuilder-Morphic-mt.206 ===============
Item was added:
+ ----- Method: MorphicUIManager>>openDebugger:on:context:label:contents:fullView: (in category 'ui project indirecting') -----
+ openDebugger: aDebugger on: process context: context label: title contents: contentsStringOrNil fullView: bool
+ "open a debugger - the two versions for mvc & morphic are very close and can surely be merged so that this can be removed"
+ ^aDebugger morphicOpenOn: process context: context label: title contents: contentsStringOrNil fullView: bool!
Item was added:
+ ----- Method: MorphicUIManager>>openFancyMailComposition: (in category 'ui project indirecting') -----
+ openFancyMailComposition: fancyMail
+ "FancyMailComposition should probably be removed in favour of MailComposition, but at least ought to be made a ToolBuilder thing"
+ ^fancyMail morphicOpen!
Item was added:
+ ----- Method: MorphicUIManager>>openPluggableFileList:label:in: (in category 'ui project indirecting') -----
+ openPluggableFileList: aPluggableFileList label: aString in: aWorld
+ "PluggableFileList is being deprecated and this can go away soon"
+ ^aPluggableFileList morphicOpenLabel: aString in: aWorld!
Item was added:
+ ----- Method: MorphicUIManager>>openSyntaxError: (in category 'ui project indirecting') -----
+ openSyntaxError: aSyntaxError
+ "Syntax error opening probably ought to be handled with a ToolBuilder dance instead of this"
+ ^SyntaxError morphicOpen: aSyntaxError!
Item was added:
+ ----- Method: MorphicUIManager>>resumeDebugger:process: (in category 'ui project indirecting') -----
+ resumeDebugger: aDebugger process: aTopView
+ "resume a debugger - the two versions for mvc & morphic are very close and can surely be merged so that this can be removed"
+ ^aDebugger morphicResumeProcess: aTopView!
Item was added:
+ ----- Method: MorphicUIManager>>startUpMenu:withCaption:icon:at:allowKeyboard: (in category 'ui project indirecting') -----
+ startUpMenu: aMenu withCaption: captionOrNil icon: aForm at: location allowKeyboard: aBoolean
+ "A menu needs to startup and depends on the current type of ui manager for what sort of startup to do. Very ugly, and really needs replacing with a much better menu system"
+
+ ^aMenu morphicStartUpWithCaption: captionOrNil icon: aForm at: location allowKeyboard: aBoolean
+ !
tim Rowledge uploaded a new version of ToolBuilder-MVC to project The Trunk:
http://source.squeak.org/trunk/ToolBuilder-MVC-tpr.53.mcz
==================== Summary ====================
Name: ToolBuilder-MVC-tpr.53
Author: tpr
Time: 1 February 2018, 3:47:08.838874 pm
UUID: d2e088ac-0eab-4037-a454-9df0563e8f29
Ancestors: ToolBuilder-MVC-tpr.52
Preliminary support for changes involved in removing the Project>>dispatchTo:addPrefixAndSend:withArguments: method.
=============== Diff against ToolBuilder-MVC-tpr.52 ===============
Item was added:
+ ----- Method: MVCUIManager>>openDebugger:on:context:label:contents:fullView: (in category 'ui project indirecting') -----
+ openDebugger: aDebugger on: process context: context label: title contents: contentsStringOrNil fullView: bool
+ "open a debugger - the two versions for mvc & morphic are very close and can surely be merged so that this can be removed"
+ ^aDebugger mvcOpenOn: process context: context label: title contents: contentsStringOrNil fullView: bool!
Item was added:
+ ----- Method: MVCUIManager>>openFancyMailComposition: (in category 'ui project indirecting') -----
+ openFancyMailComposition: fancyMail
+ "FancyMailComposition should probably be removed in favour of MailComposition, but at least ought to be made a ToolBuilder thing"
+ ^fancyMail mvcOpen!
Item was added:
+ ----- Method: MVCUIManager>>openPluggableFileList:label:in: (in category 'ui project indirecting') -----
+ openPluggableFileList: aPluggableFileList label: aString in: aWorld
+ "PluggableFileList is being deprecated and this can go away soon"
+ ^aPluggableFileList mvcOpenLabel: aString in: aWorld!
Item was added:
+ ----- Method: MVCUIManager>>openSyntaxError: (in category 'ui project indirecting') -----
+ openSyntaxError: aSyntaxError
+ "Syntax error opening probably ought to be handled with a ToolBuilder dance instead of this"
+ ^SyntaxError mvcOpen: aSyntaxError!
Item was added:
+ ----- Method: MVCUIManager>>resumeDebugger:process: (in category 'ui project indirecting') -----
+ resumeDebugger: aDebugger process: aTopView
+ "resume a debugger - the two versions for mvc & morphic are very close and can surely be merged so that this can be removed"
+ ^aDebugger mvcResumeProcess: aTopView!
Item was added:
+ ----- Method: MVCUIManager>>startUpMenu:withCaption:icon:at:allowKeyboard: (in category 'ui project indirecting') -----
+ startUpMenu: aMenu withCaption: captionOrNil icon: aForm at: location allowKeyboard: aBoolean
+ "A menu needs to startup and depends on the current type of ui manager for what sort of startup to do. Very ugly, and really needs replacing with a much better menu system"
+
+ ^aMenu mvcStartUpWithCaption: captionOrNil icon: aForm at: location allowKeyboard: aBoolean
+ !
tim Rowledge uploaded a new version of ToolBuilder-Kernel to project The Trunk:
http://source.squeak.org/trunk/ToolBuilder-Kernel-tpr.121.mcz
==================== Summary ====================
Name: ToolBuilder-Kernel-tpr.121
Author: tpr
Time: 1 February 2018, 3:46:10.733492 pm
UUID: 9964559b-6c3b-4543-8da3-850104eef0eb
Ancestors: ToolBuilder-Kernel-eem.120
Preliminary support for changes involved in removing the Project>>dispatchTo:addPrefixAndSend:withArguments: method.
=============== Diff against ToolBuilder-Kernel-eem.120 ===============
Item was changed:
----- Method: ToolBuilder class>>default (in category 'accessing') -----
default
"Answer the default tool builder"
+ ^ Project uiManager toolBuilder
- ^ Project current uiManager toolBuilder
!
Item was changed:
----- Method: UIManager class>>default (in category 'class initialization') -----
default
+ ^ Project uiManager!
- ^ Project current uiManager!
Item was added:
+ ----- Method: UIManager>>openDebugger:on:context:label:contents:fullView: (in category 'ui project indirecting') -----
+ openDebugger: aDebugger on: process context: context label: title contents: contentsStringOrNil fullView: bool
+ "open a debugger - the two versions for mvc & morphic are very close and can surely be merged so that this can be removed"
+ ^self subclassResponsibility!
Item was added:
+ ----- Method: UIManager>>openFancyMailComposition: (in category 'ui project indirecting') -----
+ openFancyMailComposition: fancyMail
+ "FancyMailComposition should probably be removed in favour of MailComposition, but at least ought to be made a ToolBuilder thing"
+ ^self subclassResponsibility!
Item was added:
+ ----- Method: UIManager>>openPluggableFileList:label:in: (in category 'ui project indirecting') -----
+ openPluggableFileList: aPluggableFileList label: aString in: aWorld
+ "PluggableFileList is being deprecated and this can go away soon"
+ ^self subclassResponsibility!
Item was added:
+ ----- Method: UIManager>>openSyntaxError: (in category 'ui project indirecting') -----
+ openSyntaxError: aSyntaxError
+ "Syntax error opening probably ought to be handled with a ToolBuilder dance instead of this"
+ ^self subclassResponsibility!
Item was added:
+ ----- Method: UIManager>>resumeDebugger:process: (in category 'ui project indirecting') -----
+ resumeDebugger: aDebugger process: aTopView
+ "resume a debugger - the two versions for mvc & morphic are very close and can surely be merged so that this can be removed"
+ ^self subclassResponsibility!
Item was added:
+ ----- Method: UIManager>>startUpMenu:withCaption:icon:at:allowKeyboard: (in category 'ui project indirecting') -----
+ startUpMenu: aMenu withCaption: captionOrNil icon: aForm at: location allowKeyboard: aBoolean
+ "A menu needs to startup and depends on the current type of ui manager for what sort of startup to do. Very ugly, and really needs replacing with a much better menu system"
+
+ ^self subclassResponsibility
+ !
A new version of Kernel was added to project The Inbox:
http://source.squeak.org/inbox/Kernel-tonyg.1150.mcz
==================== Summary ====================
Name: Kernel-tonyg.1150
Author: tonyg
Time: 1 February 2018, 9:59:50.393266 am
UUID: 6afb5455-c040-4572-a62a-b292e20856e6
Ancestors: Kernel-tonyg.1149
(Re)introduce isPromise, and use it instead of isKindOf:.
=============== Diff against Kernel-tonyg.1149 ===============
Item was added:
+ ----- Method: Object>>isPromise (in category 'testing') -----
+ isPromise
+ ^false!
Item was changed:
----- Method: Promise>>isPromise (in category 'testing') -----
isPromise
+ ^ true!
- ^ true.!
Item was changed:
----- Method: Promise>>resolveWith: (in category 'resolving') -----
resolveWith: arg
"Resolve this promise. If arg is itself a Promise, make this promise depend upon it,
as detailed in the Promises/A+ spec:
https://promisesaplus.com/#the-promise-resolution-procedure"
+ arg isPromise
- (arg isKindOf: Promise)
ifTrue: [
arg whenResolved: [:v | self resolveWith: v].
arg whenRejected: [:e | self rejectWith: e]]
ifFalse: [
mutex critical: [
(state == #pending) ifTrue: [
value := arg.
state := #fulfilled.
resolvers do: [:r | self evaluateResolver: r]]]]!
David T. Lewis uploaded a new version of Multilingual to project The Trunk:
http://source.squeak.org/trunk/Multilingual-tonyg.235.mcz
==================== Summary ====================
Name: Multilingual-tonyg.235
Author: tonyg
Time: 31 January 2018, 8:38:16.621047 pm
UUID: 8ca52bc8-a45a-4b10-91dc-a0b4586b459e
Ancestors: Multilingual-tonyg.234
Add
ByteArray>>utf8Decoded
String>>utf8Encoded
per discussion on mailing-list on 28 Jan 2018, http://lists.squeakfoundation.org/pipermail/squeak-dev/2018-January/197082.…
=============== Diff against Multilingual-tonyg.234 ===============
Item was added:
+ ----- Method: ByteArray>>utf8Decoded (in category '*Multilingual-converting') -----
+ utf8Decoded
+ "Interprets the receiver as a UTF8-encoded String. Yields a String, or an InvalidUTF8 exception if the receiver is not valid UTF8."
+ "Equivalent to the Pharo method of the same name."
+ ^ self asString utf8ToSqueak!
Item was added:
+ ----- Method: String>>utf8Encoded (in category '*Multilingual-converting') -----
+ utf8Encoded
+ "Yields a ByteArray containing the UTF8 encoding of the receiver's contents."
+ "Equivalent to the Pharo method of the same name."
+ ^ self squeakToUtf8 asByteArray!