[updates] 36 for 3.2alpha

Dan Ingalls Dan at SqueakLand.org
Wed Nov 14 08:27:26 UTC 2001


Folks -

Here are the latest updates now on the servers.  These bring us pretty much current through October now.  Many thanks to Doug Way and Mike Rutenberg for their attentive harvesting, and to Scott Wallace for several good catches in QA.

3.1beta devotees might want to scan these for last-minute candidates (vital fixes only) for 3.1.  I hope to do a final release of 3.1 soon, so keep testing.

Enjoy
	- Dan
--------------------------
4479threeAndreasIssues-sw -- Scott Wallace -- 11 November 2001
Fixes up three issues mentioned by Andreas yesterday:
(1)  Borders restored on tiles in viewers and on script-status controls.
(2)  Ted's changed colors for Rectangles now reflected in appearance in Tools flap & Objects tool.
(3)  Programmatic change of script status now properly reflected in the status controls in viewers -- colors now right, and the tickingness of the little clock faces is now right."

4480eToyCmdOrder-sw -- Scott Wallace -- 12 November 2001
Provides a mechanism for applying an externally-imposed ordering of phrases in an etoy viewer.  Uses this mechanism, illustratively, to impose new orderings on #basic and #scripting categories, with more to come as dictated by the real users of this stuff."

4481makeThumbnailTweak-di -- Dan Ingalls -- 13 November 2001
A problem with magnify:by: fails to reproduce borders properly.  This changeSet works around the problem by tweaking the method Thumbnail>>makeThumbnailFromForm:.
As a validation of this fix, if you execute
	PartsBin clearThumbnailCache
and then destroy shared flaps, and then recreate the shared flaps, the thumbnails there will look much better.
Also modifies ColorForm>>blankCopyOf:scaledBy: so that it shares the method in Form.

4482line-sw -- Scott Wallace -- 13 November 2001
Makes the right prototype for a LineMorph be shown in parts bins"

4483makeThumbnailTweak2-di -- Dan Ingalls -- 13 November 2001
Amends the earlier changeSet makeThumbnailTweak so as to properly include the offset of a form being used to build a thumnail image.
Also fixes a problem with overly bold labels on flapTabs (a side-effect of #4460 keepTextFont).
In the postscript, all shared flaps will be reinitialized to take advantage of the changes.

4484diffsFixes-sw -- Scott Wallace -- 13 November 2001
Cleans up problems arising from a confusion regarding diffing lingering from last Spring's contentsSymbol makeover.  Thanks to Doug Way for pointing out these problems.
Besides fixing various bugs that could peek through when the diffsWithPrettyPrint preference was set, this update also brings FileContentsBrowser up to date regarding the ability of any particular instance of it to show diffs, prettyDiffs, or plain source, at direct user request."

4485viewerFilter-sw -- Scott Wallace -- 13 November 2001
Allows a filter to be applied to item-lists in a Viewer, to suit pedagogic preference and various types of users.
The existing preference 'eToyFriendly', which by default is true in the plug-in image but false in the standalone 3.2a image, now governs whether a filter customized to classroom use at UES and the Open School in school year 2001-2 is to be used.
Also fixes a minor unrelated bug."

4486ChangeSetFileoutFix-tpr -- tim at sumeru.stanford.edu -- 9 October 2001
ChangeSet>fileOut carefuly checks to see if the filename is too long for Mac OS. If it is, it refuses to do the fileout. This is ridiculous behaviour. 
This changeset provides a FillInTheBlank that offers a suggested suitable name but allows anything the user chooses to type."

4487SyntaxErrorsOnFileIn-svp -- Stephen Pair -- 14 October 2001
BugFixing Party @ Camp Smalltalk OOPSLA 2001.  Fixes bug report from Sept 13, 2001:
If you get a syntax error during a fileIn, you should be able to correct it in the notifier, and then accept the corrected code from that window. If all is well, the method gets defined, and the fileIn continues. But it doesn't. Instead, you get... NonBooleanReceiver: proceed for truth."

4488keepTextPaneStable -- Steven Swerling -- 28 August 2001
Use this fix to retain the scroll position and cursor selection after a method is accepted in any CodeHolder (ie. browser)."

4489Semaphore-critical -- Michael Rueger <m.rueger at acm.org> -- 22 September 2001
Fix to a frozen Transcript problem."

4490SmallInteger_Comment -- David N. Smith (IBM) -- 9 September 2001
Correct an error in the SmallInteger class comment."

4491Random-nextInt -- David N. Smith (IBM) -- 26 Aug 2001
Adds a parameter check to ensure that random numbers are only generated in the valid range [1..anInteger], where anInteger >= 1."

4492PhonemeReco-bugs-ds -- David N. Smith (IBM) -- 9 September 2001
PhonemeRecognizer Morph always asks
	Phoneme to delete?
Simple fix of menu labeling bug."

4493PrintingTimeTests-LEG -- Gerald Leeb -- 14 October 2001
UnitTest for the class Time, for the PrintingTime-LEG fix changeset.  (To run the test, do 'TestRunner open', select TimeTestCase and run it.)"

4494IdentityTransformFix-gh -- Göran Hultgren -- 16 October 2001
BugFixing Party @ Camp Smalltalk OOPSLA 2001.
Added a missing method that previously made active text blow up.
Addresses bug report from Oct 9, 2001 (Mark Guzdial):  I've tried several active texts in Bookmorphs in 3.2, and I find that I can't click on them anymore.  I get an error -- IdentityTransform doesn't understand invertBoundsRect."

4495EmphasisChangeBugFix-MPH -- Michael Hewner and Paul Palaszewski -- 14 October 2001
BugFixing Party @ Camp Smalltalk OOPSLA 2001.  Fixes the Aug 30, 2001 bug report:
Bug: select a method to edit in a browser, mouse-click inside the (bold) selector name, then arrow-key down to the (non-bold) method text and start typing; the newly typed characters will still be in bold."

4496PrintingTime-LEG -- Gerald Leeb -- 14 October 2001
BugFixing Party @ Camp Smalltalk OOPSLA 2001.  Fixes the Oct 11, 2001 bug report:
Time class didn't correctly print out the time for negative second values (before midnight).
Methods hours, minutes and seconds fixed.  (See the unit tests in the corresponding PrintingTimeTests changeset to demonstrate the fixes.)"

4497DebuggerVars-hg -- Henrik Gedenryd -- 14 October 2001
BugFixing Party @ Camp Smalltalk OOPSLA 2001.  Fixes the Sept 19, 2001 bug report:
If you have a variable selected in one of the lower panes of the debugger, and then you select a different stack frame in the upper (stack) pane (which happens to have the same variable, e.g. 'thisContext'), the variable will stay selected and update itself (a cool new feature), but the variable list will not update (a not so cool bug)."

4498TextMorphResizeSel-dew -- Doug Way -- 9 November 2001
Fixes TextMorph to retain the current selection and other editor information when its extent is changed.  This should prevent the selection from being reset by merely typing into TextMorphs in dynamic layouts.  To verify the fix, open a TextMorph, type in a few words, highlight one word, resize the TextMorph so that the word wrap changes and note that the selection remains intact.
(An update of Jesse Welton's earlier TinyTextMorphFix.)"

4499SubclassResponsibil-bh -- Bob Hartwig -- 16 September 2001
This method in Object sent self subclassResponsibility.  Since it's obviously true that not ALL non-abstract subclasses should override this, this is incorrect.  I changed it to answer false, indicating an unsuccessful drop.  This may seem like a pedantic change, but it's not - the Refactoring Browser derives #isAbstract by looking for senders of #subclassResponsibility, and Object should definitely NOT be considered abstract."

4500TimeProfBrShortcuts-jcg -- Joshua Gargus -- 10 October 2001
Really small change to allow command key shortcuts (for browsing, implementors, etc.) in the TimeProfileBrowser."

4501PluggableListOfMany-tpr -- tim at sumeru.stanford.edu -- 8 October 2001
A simple extension to the Pluggable List{Morph|View}OfMany classes to make the set/get of the list of selections pluggable. This allows multiple multilple-selection-lists on the same model without ugly interactions. (Also improved the balloon help for 'recently logged changes...' while in the vicinity. -dew)"

4502scampImgExtent-ls -- Lex Spoon -- 22 October 2001
Make Scamper more robust against bad image extents.  Probably this kind of thing is a wider problem: #asNumber isn't guaranteed to work."

4503InterpContextFix-tpr -- tim at sumeru.stanford.edu -- 6 October 2001
Remove a spurious receiver from the last line of the loop; the inliner seems to have been cleaning it up for us in most vms, but attempting to make a non-ilined vm will break on it"

4504MorphWantsBalloon-rhi -- Robert Hirschfeld -- 5 October 2001
The balloonHelpEnabled preference was not doing anything; this fixes it."

4505nilSuperclass-ls -- Lex Spoon -- 9 October 2001
This changeset makes it a little more work to create a class with a nil superclass.  One must either use ClassBuilder directly, or one must call #superclass: after creating the class to reset the superclass to nil.  Classes with a nil superclass will still file out correctly.
The rationale is this.  Experienced Smalltalkers who really, truly, wish to create a class with superclass nil, will still be able to easily accomplish it.  Furthermore, they probably don't do this at all frequently.  However, new Smalltalkers are now protected against an error that is otherwise more common: filing in a subclass before its superclass has been filed in, resulting unintentionally in classes without a superclass.  This usually leads to the VM aborting when the newbie tries to actually use this class."

4506fileListCR-ls -- Lex Spoon -- 14 October 2001
Make the pattern box in FileList acceptOnCR"

4507FontSetFix-jlb -- Jim Benson -- 6 October 2001
Modifies FontSet>>compileFont: to allow for TextStyles greater than 5000 characters. Also appends the point size to the name of the font for class method creation so that multiple font sizes from TextStyles may be represented"

4508BrowseCodeFix-LC -- Leandro Caniglia -- 8 October 2001
Replaces all size=0 tests found in TextLink|analyze:with: with ifNotNil: tests.
This prevents some errors when browsing code.  (For example, when creating a (cmd-6) 'Link to comment of class' for a selected string 'asdf'.)"

4509SUnitUICleanup-jdf -- David Farber and Doug Way -- 12 November 2001
Both runTests and runTests: assume that the window is open, but TestRunner open returns the window morph, not the TestRunner itself.  runTests: should be removed altogether. it depends on code from SUnit v2 that did not make it into the v3 release.  This fixes those, and cleans up some comments."

4510RespectMinimumExtent-nk -- Ned Konz -- 25 October 2001
Although Morph defines a minimumExtent: method and the SystemWindow reframing respects minimumExtent, it is ignored in SystemWindow>>extent:. This change set fixes that.
Currently the only sender of minimumExtent: is my ArchiveViewer, but it seems like other windows could/should use this property.

4511FileExistsFix-LC -- Leandro Caniglia -- 24 October 2001
If you try to overwrite a file that already existed (by sending the message #newFileNamed:), then a StandardFileStream will be created. This behavior is observed even when the receiver of the original message were a subclass of SFS. For instance, trying to overwrite a CrLfFileStream will result in a StandardFileStream, and not in a CrLfFileStream."

4512noneSatisfyFix -- Göran Hultgren -- 18 September 2001
Fixed a silly 'false should be true' bug."

4513FileContentsVersions-dew -- Doug Way -- 20 September 2001
Fixes opening a VersionsBrowser from a FileContentsBrowser so that class-side versions work properly (diffs are shown, and revert works)."

4514PutMultiUpdateFix-di -- Dan Ingalls -- 14 November 2001
Fixes a bug and also a file name test convention.  This allows use of the old
	Utilities broadcastUpdatesFrom: nnn to: mmm except: #().
for the first time since the conversion to a single directory for internal as well as external updates.





More information about the Squeak-dev mailing list