Which image where used to fetch the author initials ?

Edgar J. De Cleene edgardec2001 at yahoo.com.ar
Thu Dec 20 20:25:07 UTC 2007


> 
> 
> 
> El 12/20/07 8:27 AM, "Hilaire Fernandes" <hilaire at ofset.org> escribió:
> 
>> I need to know to which image the Andrew Black script was applied
>> http://wiki.squeak.org/squeak/uploads/6016/MethodAuthorship-apb.mcz
>> I was not able to find  information regarding that point.
>> It does not work with image 3.8 basic. It works with image 3.8 full but
>> it gives additional authors.
>> 
>> Nevertheless, it looks wiser we apply this script to image 3.9 or even
>> better, image 3.10 or Pavel minimal kernel. What do you think Edgar,
>> Pavel about that?
>> 
>> In the wiki I have added references to related resources and
>> informations
>> http://wiki.squeak.org/squeak/6016
>> 
>> Hilaire
> Hilaire.
> No idea of this, but I investigate.
> A Mantis report exist ?
> But could be late for 3.10 , as Ralph is going to declare final.
> Any I found send to Ralph and Pavel.
> 
> Edgar

I load the method on 3.10.
The code for Authorship new printMissingAuthors, needed for having a text
file is not tested.
I having the attached walkback.

Edgar

-------------- next part --------------
Error: File write failed
20 December 2007 3:35:11 pm

VM: Mac OS - a SmalltalkImage
Image: Squeak3.10beta [latest update: #7159]

SecurityManager state:
Restricted: false
FileAccess: true
SocketAccess: true
Working Dir Discovery:Users:admin:SqueakDevelop:Squeak3.10
Trusted Dir Discovery:Users:admin:SqueakDevelop:Squeak3.10
Untrusted Dir Discovery:Users:admin:Library:Preferences:Squeak:Internet:My Squeak

StandardFileStream(Object)>>error:
	Receiver: StandardFileStream: 'Discovery:Users:admin:SqueakDevelop:Squeak3.10:MethodsOfMissingSignat...etc...
	Arguments and temporary variables: 
		aString: 	'File write failed'
	Receiver's instance variables: 


StandardFileStream>>primWrite:from:startingAt:count:
	Receiver: StandardFileStream: 'Discovery:Users:admin:SqueakDevelop:Squeak3.10:MethodsOfMissingSignat...etc...
	Arguments and temporary variables: 
		id: 	a ByteArray(71 106 181 5 160 0 232 152 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 31 0 0...etc...
		stringOrByteArray: 	nil
		startIndex: 	1
		count: 	0
	Receiver's instance variables: 


StandardFileStream>>nextPutAll:
	Receiver: StandardFileStream: 'Discovery:Users:admin:SqueakDevelop:Squeak3.10:MethodsOfMissingSignat...etc...
	Arguments and temporary variables: 
		aString: 	nil
	Receiver's instance variables: 


[] in MethodCollection>>printOn: {[:each | aStream tab; nextPutAll: each stringVersion; cr]}
	Arguments and temporary variables: 
		aStream: 	StandardFileStream: 'Discovery:Users:admin:SqueakDevelop:Squeak3.10:Me...etc...
		each: 	a MethodReference Object >> shouldBeImplemented


--- The full stack ---
StandardFileStream(Object)>>error:
StandardFileStream>>primWrite:from:startingAt:count:
StandardFileStream>>nextPutAll:
[] in MethodCollection>>printOn: {[:each | aStream tab; nextPutAll: each stringVersion; cr]}
 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
MethodCollection(OrderedCollection)>>do:
MethodCollection>>printOn:
[] in Authorship>>printMissingAuthors {[:assoc |  f nextPutAll: assoc key;    nextPutAll: ': '.  assoc value printO...]}
SortedCollection(OrderedCollection)>>do:
Authorship>>printMissingAuthors
UndefinedObject>>DoIt
Compiler>>evaluate:in:to:notifying:ifFail:logged:
[] in TextMorphEditor(ParagraphEditor)>>evaluateSelection {[rcvr class evaluatorClass new   evaluate: self selectionAsStream   in: ctxt...]}
BlockContext>>on:do:
TextMorphEditor(ParagraphEditor)>>evaluateSelection
[] in PluggableTextMorph>>doIt {[textMorph editor evaluateSelection]}
[] in PluggableTextMorph>>handleEdit: {[result := editBlock value]}
TextMorphForEditView(TextMorph)>>handleEdit:
PluggableTextMorph>>handleEdit:
PluggableTextMorph>>doIt
UndefinedObject(Object)>>perform:orSendTo:
[] in MenuItemMorph>>invokeWithEvent: {[(selArgCount := selector numArgs) = 0   ifTrue: [target perform: selector] ...]}
BlockContext>>ensure:
CursorWithMask(Cursor)>>showWhile:
MenuItemMorph>>invokeWithEvent:
MenuItemMorph>>mouseUp:
MenuItemMorph>>handleMouseUp:
MouseButtonEvent>>sentTo:
MenuItemMorph(Morph)>>handleEvent:
MorphicEventDispatcher>>dispatchDefault:with:
MorphicEventDispatcher>>dispatchEvent:with:
MenuItemMorph(Morph)>>processEvent:using:
MorphicEventDispatcher>>dispatchDefault:with:
MorphicEventDispatcher>>dispatchEvent:with:
MenuMorph(Morph)>>processEvent:using:
MenuMorph(Morph)>>processEvent:
MenuMorph>>handleFocusEvent:
[] in HandMorph>>sendFocusEvent:to:clear: {[ActiveHand := self.  ActiveEvent := anEvent.  result := focusHolder     han...]}
[] in PasteUpMorph>>becomeActiveDuring: {[aBlock value]}
BlockContext>>on:do:
PasteUpMorph>>becomeActiveDuring:
HandMorph>>sendFocusEvent:to:clear:
HandMorph>>sendEvent:focus:clear:
HandMorph>>sendMouseEvent:
HandMorph>>handleEvent:
HandMorph>>processEvents
[] in WorldState>>doOneCycleNowFor: {[:h |  ActiveHand := h.  h processEvents.  capturingGesture := capturingGest...]}
Array(SequenceableCollection)>>do:
WorldState>>handsDo:
WorldState>>doOneCycleNowFor:
WorldState>>doOneCycleFor:
WorldState>>doOneSubCycleFor:
PasteUpMorph>>doOneSubCycle
MenuMorph>>invokeModalAt:in:allowKeyboard:
MenuMorph>>invokeModal:
MenuMorph>>invokeModal
PluggableTextMorph>>scrollBarMenuButtonPressed:
PluggableTextMorph(ScrollPane)>>vScrollBarMenuButtonPressed:
[] in ScrollBar>>menuButtonMouseDown: {[:sel |  menuSelector := sel.  model perform: sel with: event]}
ScrollBar(MorphicModel)>>use:orMakeModelSelectorFor:in:
ScrollBar>>menuButtonMouseDown:
EventHandler>>send:to:withEvent:fromMorph:
...etc...


More information about the Squeak-dev mailing list