[updates] 24 for 3.2alpha

Dan Ingalls Dan at SqueakLand.org
Thu Oct 18 08:57:00 UTC 2001


Folks -

The following updates have just appeared on the servers.

Enjoy
	- Dan
-------------------
4418CopyToBetaUtility-di -- Dan Ingalls -- 3 October 2001
Defines a simple method for copying a number of updates to another (eg, beta) version on the updates servers.

4419ButtonBorderRefix-dew -- Doug Way -- 4 October 2001
Re-establishes the fix in 4386, which was inadventently overwritten in 4399."

4420ModelDeepCopy-tk -- Ted Kaehler -- 4 October 2001
Make DeepCopier>>mapUniClasses stop depending on the number of inst vars in Model and its superclasses.  This is when a copy of a subclass of Player is made.  Remove an error message in DeepCopier checkBasicClasses. 
Thanks to Jim Benson for discovering this problem."

4421TTrailsArrows-tk -- Ted Kaeher -- 4 October 2001
Adds a new item in every Viewer.  In the 'pen use' category, there are tiles for (penArrowheads <- false).  Setting this to true will make an arrowhead at the end of each new turtle trail.  (Turtle trails must be enabled.)  This works correctly with 'batch turtle trails' either on or off.
	Adds new items to the pen category of a viewer on a World -- to put arrowheads on trials of all players, or stop doing that.
	The old preference-driven arrowheads are removed.  
	Additional feature:  Any plain old Pen can have an arrowhead by sending it the message #arrowHead.  (Only works when the Pen was moved with go: instead of goto:.  It needs to know its direction.)"

4422UniTile11-tk

4423Arrowheads2-tk -- Ted Kaehler -- 6 October 2001
If movement of the pen is less than two pixels, don't make any arrowheads.
	There is an extra call on drawPenTrailFor:from:to: when a morph is unflexed at zero degrees.  The morph moves a sub-pixel amount.  I left this as it was."

4424noteWording-sw -- Scott Wallace -- 6 October 2001
Fixes up a flaw in the logic for reformulating etoy vocabularies when any #additionsToViewerCategories method is recompiled.  The flaw was that any artificially-imposed wording override provided in an edit to #wordingForOperator: may well *not* yet be filed in at the time the reformulation takes place.  The workaround is to reformulate the etoy vocabularies upon recompilation of #wordingForOperator."

4425LargePrimes-ar -- Andreas Raab -- 6 October 2001
I just happened to need some reasonably large primes (in the range of SmallInteger maxVal...) unfortunately Integer>>primesUpTo: has a space overhead of 4 bytes per number (which means that for computing all the primes up to SmallInteger>>maxVal we'd ned roughly 4 *GIGA*byte of memory). Fortunately I ran across a much more efficient (in terms of space that is) variant which requires exactly 1/154th the space of the former method.
Thus, for computing all the primes up to SmallInteger>>maxVal we only need roughly 27MB of memory - actually computing them took roughly half an hour (not bad and could make for a nice benchmark).

4426CenterOfRotation-ar -- Andreas Raab -- 8 October 2001
Make accidental modification of the center of rotation handle harder. The mechanims treats a normal click on the center of rotation as equivalent to the brown halo handle. To change the center of rotation for real, a SHIFT-click is required."

4427grabPhrase-sw -- Scott Wallace -- 10 October 2001
Removes the ancient logic that tried to allow the user to extract a copy of a subphrase in classic tiles."

4428grabPhraseOops-sw -- Scott Wallace -- 10 October 2001
Fixes a bug in the preceding change set, which showed up when dragging a nested PhraseTileMorph within a parent PhraseTileMorph that was not within an enclosing editor."

4429colorSeer-bf -- Bert Freudenberg -- 8 October 2001
Fixes the color seer tile so it can be used again with other natural languages. 
TODO: The English label now says 'colorSees' instead of 'color sees', I'm not sure where this comes from., or how to correctly fix it.
(NB: the TODO issue is fixed in the next update)"

4430moreColorSeer-sw -- Scott Wallace -- 10 October 2001
Fixes up the TODO issue referred to by Bert in the preceding update."

4431limitClass-sw -- Scott Wallace -- 14 October 2001
Makes a smarter initial choice of limit-class for a Lexicon or InstanceBrowser -- chooses the supermost class just *before* reaching Object (or Object class, if a metaclass)."

4432adoptMojo-sw -- Scott Wallace -- 16 October 2001
Makes it possible to retrofit into an object the player code/data structures (user-defined scripts and user-defined instance variables) preexisting in another object.  Three ways to request this:
(1)  From the halo menu of any *scripted* SketchMorph, choose 'impart scripts to...', then click the ensuing cross-hair cursor onto any unscripted SketchMorph.
(2)  From the halo menu of any *unscripted* SketchMorph, choose 'adopt scripts from...', then click the ensuing cross-hair cursor onto any *scripted* SketchMorph.
(3)  From the Viewer menu of any scripted SketchMorph, choose 'impart scripts to...', then click the ensuing cross-hair cursor onto any unscripted SkechMorph.
At the moment this facility only works between SketchMorphs.
There are almost unbelievable complexities relating to rotation here.  As long as the *recipient* is unflexed, everything is cool, but if the recipient is flexed when the operation is requested, a slight shift in the position of the recipient can result.
I invite any eager (or unemployed) soul to try to fix this."

4433FixMojo-ar -- Andreas Raab -- 16 October 2001
Fixes the problem with transforms in adoptMojo."

4434MDLReadFix-ar -- Andreas Raab -- 16 October 2001
Make the MDL import a little more graceful with respect to certain entities missing."

4435RunArrayTweaks-ar -- Andreas Raab -- 16 October 2001
Tweaks RunArrays by using Array instead of OrderedCollection for both, runs and values. In addition to a few other tweaks this speeds up #copyReplaceFrom:to:with: by roughly a factor of four, resulting in an average speedup of two for Text>>addAttribute:from:to: (this method does some stuff besides which I didn't touch)."

4436logError-tk -- Ted Kaehler -- 16 October 2001
Combine the code that prints the stack in the file 'SqueakDebug.log' and in a mail message via #mailOutBugReport.  For the first four contexts, print the instance vars and the temp vars (and the arguments).  This should be much more useful for figuring out what happened when the report is emailed to someone.
	If you have an error reporting system that depended on the exact format of the email produced by #mailOutBugReport, please talk to me."

4437RunArrayFix-ar -- Andreas Raab -- 16 October 2001
Fixes a typo from the last CS."

4438AttrTextStream -- Andreas Raab -- 16 October 2001
A 10% speedup for generating HTML documents."

4439LassoFromScreen-di -- Dan Ingalls -- 17 October 2001
Adds three new ways to grab a patch from the screen:
	By lasso -- lets you draw a freehand outline
	By rubber bands -- lets you draw an enclosing polygon
	By flood -- lets you seed a flood area
The first two do no further work to trim the result, though this would be possible.

4440tileNameOnDup-sw -- Scott Wallace -- 17 October 2001
After a duplicate (green handle) or script-acquisition, the names initially seen on self tiles in the duplicated scripts were wrong; this fixes that."

4441ScreenGrabTweaks-di -- Dan Ingalls -- 18 October 2001
Limits area of flooded selections to 1/2 total screen.
Factors the code for selection by outline (polygon or freehand).
Fixes a twitch due to hand not seeing events during direct Sensor access.





More information about the Squeak-dev mailing list