Updates 612-642 (long)

Dan Ingalls DanI at wdi.disney.com
Wed Feb 3 19:44:56 UTC 1999


Folks -

I have just released 31 new updates.  You will find many contributed from this list, and many are very fresh (read "new", "relatively untested", "somewhat risky").

Note that the benefits of annotation panes (#617) will never be seen unless you turn on the preference #useAnnotationPanes, but we thought it best to ship disabled.

Enjoy
	- Dan
--------------------------------
612versionsTweak-sw -- Scott Wallace -- 	28 January 1999
Upon a versions request where there are no prior versions, tells the user the time-stamp.
Also fixes things such that our new response to a no-prior-versions situation now works the same way in change sorters that it works in other kinds of browsers.

613fasterPlayerList-sw -- Scott Wallace -- 	28 January 1999
Makes the recaching of playerLists faster by no longer traversing unseen pages of bookmorphs.  This means that players belonging to not-currently-seen pages of bookmorphs will not be in the steplist, but I believe they actually weren't getting there anyway, or at least not getting serviced.

614dogSimplePaths-sw -- Scott Wallace -- 	28 January 1999
Preliminary work to allow a simple way that any morph can have a path of points associated with it, with facilities for defining them, removing them, requesting that the morph follow the path, and for tile-scripting a morph to do so.

615bookPageSizes-sw -- Scott Wallace -- 	28 January 1999
Adds a command to the Book menu which allows you to make all current pages of the book be of the same size as the currently-viewed page.  When you request it, the new-page-prototype for the book, if any, is also made to be of the same size.

616chgSorterMenus-sw -- Scott Wallace -- 	28 January 1999
Some adjustments to the change-set-list menu in the change sorter:
Split the menu, now quite large, into a 'main' branch and a 'shifted' branch.
Add two new commands, placing both on the 'shifted' side:
'inspect change set' opens up a traditional Inspector on the currently-selected change set.
'go to change set's project transports you immediately to the project that contains the selected change set as its current change set (if any).

617annotationPane-sw -- Scott Wallace -- 	28 January 1999
Under control of a Preference, #useAnnotationPanes, offers user a new little horizontal pane in message-list browsers which (for starters, anyway) can show the time-stamp, the category, counts of senders and implementors -- and later, potentially, other documentation.
Look at Preferences class method #defaultAnnotationRequests to see the initial default set of annotations; you can manually edit this method to alter the default.
In any message-list-browser, you can change the specification of desired kinds of annotations -- look on the shifted side of the selector menu for 'annotations in this browser'

618browserTweaks-sw -- Scott Wallace -- 	28 January 1999
*  Added to the command-keys honored in various panes of browser.
*  Cmd-f for find-class in topleft pane is very useul.
*  Cmd-N for class refs is useful.
*  All such command-keys shortcuts in selector-list panes advertise themselves in the menus [e.g. 'implementors (m)'].
*  Honor the cmd-keys in the class-list and class-category-list panes as well, where relevant.

619current-sw -- Scott Wallace -- 	28 January 1999
Provides three universal interface methods that will always give you a world, a hand, an event when you need them in your scripts.  
	currentWorld
	currentEvent
	currentHand.

620miscTidies-sw -- Scott Wallace -- 	28 January 1999
A potpourri of cleanups, including:
*	Allows the hitting of the 'toss' button on a PaintBox to remove the paintbox itself if not currently painting, rather than putting up a puzzling 'you are not currently painting' message.  This provides a convenient way of dismissing the paintbox.
*	Made Player.wearCostumeOfClass: work even when the morph is flexed.
*	Readouts for string-valued tiles now can be growable.
*	ParagraphEditor evaluateSelection can now work with any kind of model that responds to #doItReceiver, rather than just with models that inherit from class Model.
*	Several improvements to wording in menus.
*	Bulletproof against errors when referring to halo for a morph not in world.

621browserFix-sw -- Scott Wallace -- 	28 January 1999
A quick fix to a bug introduced in the browserTweaks update.

622objStore-tkIW

623PolygonDrawFix-LC -- Leandro Caniglia -- 	1 February 1999
Fixes Polygon drawOn: so to take into account that borderColor could be #raised or #inset.

624toByDoFix-tao -- Tim Olson -- 	1 February 1999
This causes the compiler to compile a send when the step of to:by:do: is zero, and also causes the method in Number to raise an apporpriate error in this case.

625MoreFindKeys-di -- Dan Ingalls -- 	1 February 1999
Extends the cmd-f for find convention to changeSorter changeSetLists and to browser class lists, for findMethod.

626InterpSimFixes-GVG -- Greg Gritton -- 	1 February 1999
Support for half-word indexing in InterpreterSimulator and InterpreterSimulatorLSB.

627IntegerTimesFix-di -- Dan Ingalls -- 	1 February 1999
Removes a couple of superfluous checks in integer arithmetic, thereby restoring proper coercion in mixed arithmetic with collections.
0 * #(1 2 3) --> (0 0 0 )
Pointed out by Stan Heckman.

628tfrTextWindows-sw -- Scott Wallace -- 	2 February 1999
A couple of utility methods that allow you to transport multiple text windows from one image to another and from one project to another.  Transcript windows are specifically excluded.  
You can transport sets of text windows from any project (morphic or mvc), to any other project, (morphic or mvc), in the same image or in any other image.
To use:
In any project that has one or more workspaces or other text-windows you wish to transport, evaluate an expression of the form
   Utilities storeTextWindowContentsToFileNamed: 'TextWindows'
	(use any file name you wish)
To create text windows with the same contents in another image or another project, evaluate an expression of the form:
	Utilities reconstructTextWindowsFromFileNamed: 'TextWindows'
Also fixes a bad bug in RealEstateAgent in the morphic/nonstagger case, and makes a small but significant change to StringHolder.contents: so that StringHolders can hold text, not just strings.  This is as agreed with Dan earlier -- there may be consequences here and there but we will track them down and deal with them.

629handReductions-sw -- Scott Wallace -- 	29 January 1999
Removal of around fifteen disused HandMorph methods.  Several other unsent selectors in HandMorph are retained for the time being on the suspicion they may yet be useful."

630betterViewer-sw -- Scott Wallace -- 	1 February 1999
Numerous changes, both major and minor, to the Viewer facility, including:
*	You can now rename an instance variable.
*	You can now delete an instance variable.
*	You can now rename a method.
*	You can now delete a method.
*	You can easily drag viewers around now, grabbing them by their darker-green borders.
....Many more comments -- see this changeSet.

631graphicalMenu-sw -- Scott Wallace -- 	1 February 1999
Provides a graphics chooser for Morphic.
(Alan has pointed out that a large chooser in which you see dozens or even hundreds of possible choices all at once is usually preferable for graphics, and presumably such a facility will be available in due course.  Meanwhile...)
This chooser shows one grapheme at a time; it has two sets of buttons for moving among choices: one kind races lickety-split through the choices; the other kind advances by one on each click.
....See more info in the changeSet.

632flagshipUpgrades-sw -- Scott Wallace -- 	2 February 1999
Workarounds and conversions relating to recent changes in viewers and scriptors, prompted by attempts to get ack's flagship system breathing happily across the changes.  Converts anonymous scripts over to be permanent scripts, "

633CursorMask-bf -- Bert Freudenberg -- 	2 February 1999
Fixes a bug in CursorWithMask class>>#derivedFrom: that let primitiveBeCursor fail because of an offset less than -16 at -16. Also, makes the generated cursor prettier by centering it on its mask."

634DisplayTextTweak-di -- Dan Ingalls -- 	2 February 1999
Fixes displayText display so that when the background color is transparent it uses Form paint as the display rule.  This makes the class example work again, and also makes, eg, the primitiveDebug stack trace that uses DisplayText work properly in RGB color modes (used to be all black).

635crlfstartup -- David Pennell -- 	28 January 1999
Add CrLfFileStream to SystemStartupList.  Forces self guessDefaultLineEndConvention so
that moving an image to a different platform changes the rules"

636ChangeListLfFix-djp -- David Pennell -- 	2 February 1999
Fixes ChangeList>>#scanFile:from:to: to work with records terminated by CR or LF.

637bmpFix-mr -- Maurice Rabb -- 	3 February 1999
Fixes the initialization of colorForms after reading a BMP file with less than 2^N colors.

638XBMReadWriter2-wdc -- William Cattey -- 	3 February 1999
Defines a reader for X-Bitmap files.
Also includes Lex Spoon's interface for file: and ftp: accesses.

639SoundCodecs-jhm -- John Maloney -- 	2 February 1999
Introduces an architecture for sound compression/decompression
algorithms (called "codecs") and supplies a mu-law codec as a simple
example."

640quickViewerFixes-sw -- Scott Wallace -- 	3 February 1999
Fixes a couple of bugs in the the recent betterViewer fileout:
* Remove-instance-variable for a user-defined inst var in a viewer actually works now, rather than telling you that the feature is not-yet-implemented.
* Fixes the bug that allowed a portion of a viewer to be extracted from a palette.
* In the viewer-in-a-palette case, reduced the border-height at top, which really only serves to make it easer to do the drag that is not allowed in this case."

641SndQuickStartFix -- John Maloney -- 	3 February 1999
Adds a preference (false by default) to enable the use of the 'quickstart'
sound playing primitive, which is not implemented on many platforms.
Also fixes a problem with repeating sounds, fixes the CarMotorSound,
adds a utility to extract filename extensions, and adds a method to Color
to aid in visualing different potential color palettes."

642VarNodeType-lc -- Leandro Caniglia -- 	3 February 1999
Defines 'type' for VariableNodes to facilitate access for, eg, type inference.





More information about the Squeak-dev mailing list