2.3 beta buglets

Tim Rowledge rowledge at interval.com
Sun Nov 29 19:03:16 UTC 1998


The image is set to 16bpp Display instead of  the more traditional 8bpp.

The vm simulator needs
'From Squeak 2.3 beta of Nov 25, 1998 on 29 November 1998 at 10:48:42 am'!

!InterpreterSimulator methodsFor: 'other primitives' stamp: 'TPR 11/28/1998
21:58'!
primStringfindSubstringinstartingAtmatchTable
	^ self primitiveFail! !

adding in order to work.

Something odd is going on with the Tracer -- it produces an image somewhat
bigger than 6Mb, which starts up ok and saves back to 4-ish MB. Rather
spoils the 'coffee-break garbage collector' story doncha think? It seems to
be a recent problem, as older images clone same/smaller as appropriate. I
though it might be related to the Display size/depth, but seem to have
ruled that out. Maybe the WeakArrays need more careful cloning?

While tracking down prolbems with cloingetc, I found this pair of changes
useful:- it saves a bit of time when looking for method versions by not
opening a browser if there is only the one version. I'm sure it could be done
more prettily...

'From Squeak 2.3 beta of Nov 25, 1998 on 28 November 1998 at 5:45:52 pm'!

!ChangeList methodsFor: 'accessing' stamp: 'TPR 11/28/1998 17:38'!
listHasSingleEntry
	"does the list of changes have only a single item?"
	^list size = 1! !


!ChangeList class methodsFor: 'public access' stamp: 'TPR 11/28/1998 17:45'!
browseVersionsOf: method class: class meta: meta
		category: category selector: selector 
	| changeList |
	Cursor read showWhile:
		[changeList _ self new
			scanVersionsOf: method class: class meta: meta
			category: category selector: selector].
	changeList
		ifNil:
			[self inform: 'No versions available']
		ifNotNil:
			[changeList listHasSingleEntry ifTrue:[^self inform:
'No other versions of this method'].
			self open: changeList name: 'Recent versions of ' ,
selector multiSelect: false]! !


tim


-- 
Two wrongs are only the beginning.
Tim Rowledge:  rowledge at interval.com (w)  +1 (650) 842-6110 (w)
 tim at sumeru.stanford.edu (h)  <http://sumeru.stanford.edu/tim>





More information about the Squeak-dev mailing list