[updates] 49 more from the holidays

Dan Ingalls Dan.Ingalls at disney.com
Thu Jan 11 05:35:41 UTC 2001


Folks -

Well, we're back at work, and I've just posted a number of updates as follows...

	- Dan
------------------------
3145Morph-setToAdhereToEdge

3146projectInfo-raa -- Bob Arning -- 24 December 2000
Make getting/setting the project info (used by SuperSwiki) a little easier - a new option on the menu that appears when the Publish button is held down"

3147projectForget-raa -- Bob Arning -- 26 December 2000
Fix bug where Project class>>allProjects was remembering the temporary project used in publishing"

3148fixPartsBin-raa -- Bob Arning -- 26 December 2000
Fix alignment problem when creating new standard parts bin"

3149etoyOptimize-raa -- Bob Arning -- 27 December 2000
Some optimizations for etoys:
- if asked to turn zero degrees, do nothing
- if new heading is close to (really close) old heading, do nothing"

3150versionsPanes-rhi -- Robert Hirschfeld -- 4 December 2000
Adds annotation panes to VersionsBrowser.
Refactors optional button assembly in ChangeList and VersionsBrowser."

3151versionsTweaks-sw -- Scott Wallace -- 28 December 2000
Two tweaks relating to the recent addition of annotation panes to versions and changelist browsers:
(1)  The help-message explaining how to use Version browsers now mentions that the information in the annotation pane relates to the current in-memory version of the selected method, if any.
(2)  The wording in such annotation panes is prefixed by text similarly warning the user that the annotation is for the in-memory version"

3152messageCount-sw -- Scott Wallace -- 28 December 2000
If a message-list menu is requested when the message-list has no selection, the title of the resulting menu will report the size of the list"

3153unsentTweak-sw -- Scott Wallace -- 28 December 2000
Tweaks 'check for unsent messages' so that selectors for deleted methods are excluded from the check"

3154nameForSwiki-raa -- Bob Arning -- 28 December 2000
- send name of submitter along with project info so that the swiki updated by will look better"

3155horizScrollFix-raa -- Bob Arning -- 29 December 2000
- re-fix horizontal scrollbars which got recently unfixed."

3156samplingRate-raa -- Bob Arning -- 24 December 2000
Provides a way to capture recorded sounds at a sampling rate lower than the OS would generally permit. SoundRecorder>>desiredSampleRate: will encourage the sound recorder to produce that rate even if it the underlying OS insisted on using a higher rate. Senders of the older #samplingRate: will continue to get whatever the OS deigns to provide."

3157cleanerSampling-raa -- Bob Arning -- 30 December 2000
- a little cleaner version of my previous submission
- substituted GSM for ADPCM in the EventRecorderMorph for hgher compression."

3158versionsAnnot-sw -- Scott Wallace -- 3 January 2001
When a method is removed from changes in a Versions Browser, the annotation pane is now updated to reflect the changd status."

3159debugMenu-sw -- Scott Wallace -- 3 January 2001
Fixes a bug in the player-related items of the morph debug menu (thank to Robert Hirschfeld) and adds an item there for inspecting the model of the morph, if any, and regroups the inspect/browse/explore items in a more ingratiating fashion.
Also revives the interface to #tempCommand, whose support got broken some time ago."

3160ProjStore9-tk -- Ted Kaehler -- 3 January 2001
New tiles refer to self and to other Players by using names in Scott's References dictionary.  This makes veryDeepCopy (green handle) give the copy a new name and enter it in References.  Fixes up all viewers, script methods, and tiles.
Speeds up renaming and grabbing an object by restrincting use of externalName, and using knownName instead.  It does not try to name the object."

3161editAnnotations -- Michael Rueger -- 4 January 2001
Re-establishes drag'n'drop in the annotation panel."

3162addToCurrentChSet-sw -- Scott Wallace -- 4 January 2001
Adds a command to the shifted side of the message-list menu allowing the selected message to be added to the current change set.  Draws on an idea and code from Leandro Caniglia"

3163chgSetFileout-sw -- Scott Wallace -- 4 January 2001
Provides a mechanism for filing out, with a single gesture, all unnumbered change sets in an image; the mechanism can be triggered from a new item in the shifted change-set-list menu of a change sorter.  The fileouts are written in alphabetical order for organizational convenience.
Adds a mechanism in Preferences to allow a prevailing Preference to be be suppressed for the duration of a block (see #setFlag:toValue: during:)"

3164flapTweaks-sw -- Scott Wallace -- 4 January 2001
Fixes the jump-to-project navigation button at the top of the Squeak flap, which got broken when the method it invoked got removed from the system a couple of months ago.
Provides balloon help for the items in the default tools flap (thanks to Joshua Channing Gargus).
Reinstates default flaps, so that the standard global flaps will reflect these changes, unless the user suppresses this by preference."

3165inheritanceColor-sw -- Scott Wallace -- 4 January 2001
Recolors the 'inheritance' button seen in optional morphic button panes to draw attention to the two primary reasons why the user might be interested in using such a button, namely that the current method sends to super and that the current method has overrides in one or more subclasses, according to the following coloring scheme (which cries out for aesthetic improvement):
	green: sends to super
	brown: has override(s)
	blue: sends to super *and* has override(s)
NB: this change set has a postscript."

3166miscTweaks-sw -- Scott Wallace -- 4 January 2001
Changes 'revert and forget' wording to the more accurate'revert & remove from changes'.
Removes method SequenceableCollection.asDictionary, an ancient and long disused method that recently raised complaints on the Squeak list.
Adds another annotation possibility, #firstComment, which will extract the first comment from the method, if any, and place it in the annotation pane."

3167authTweak-sw -- Scott Wallace -- 4 January 2001
A small tweak so that in a system that does not have author initials set, the very bringing up of the shifted change-set-list menu in a change sorter doesn't bafflingly demand that the author specify his initials."

3168inherBtnTweaks-sw -- Scott Wallace -- 4 January 2001
Update the 'inheritance' button color when class, instance, or ? buttons are pressed in a browser."

3169sourceToggle-sw -- Scott Wallace -- 4 January 2001
Allows a code-bearing pane to be set up to show either source code or documentation.  The documentation choice is fed, by default, from the first comment in the method that precedes code.  If a method has no such comment, then an attempt is made to retrieve such a comment from a superclass's implementation.  A source/documentation toggle button is made available in optional button panes, provided that a preference is set appropriately."

3170spawn-sw -- Scott Wallace -- 4 January 2001
Cleanups and improvements to 'spawn' (cmd-o), a command that can be issued in any text-bearing pane.
When 'spawn' is issued from a code pane, as often as not the intention of the user is to define a new selector in the spawned browser rather than to submit a code change for the existing selector, but the traditional implementation of 'spawn' has never been too friendly to that use, because the selector shown both in the window title and in the top (message-list) pane always misleadingly continued to be the old one.  So 'spawn' is changed such that most of the time it now launches a message-category browser rather than a single-message browser.  This approach serves both typical uses of 'spawn' equally well.
Also fixed here is the problem that when you spawned from a code pane when there was a class but no message-category selected, you got a useless spawned browser because it was not set up to accept a method, and various other similar glitches in spawning.
Also, the spawning code is elevated to CodeHolder, thus allowing various redundant implementations in various subclasses to be removed.
Also, the (possibly long-standing) bug that made the menus of selector lists in message-category-browsers mysteriously not have menu titles is fixed."

3171decorateBrowButtons-sw -- Scott Wallace -- 5 January 2001
Adds a preference, #decorateBrowserButtons, governing whether the recently introduced color decorations for inheritance buttons should be used or not, and provides support for other such button decorations to be incorporated in the future."
Preferences addPreference: #decorateBrowserButtons category: #browsing default: true balloonHelp: 'Governs whether certain buttons, such as the Inheritance button, should bear colors that provide user feedback on their applicability'

3172cleanerBlocks-raa -- Bob Arning -- 5 January 2001
Try to clean up handling of blocks which are exported in ImageSegments. Previously, a warning message would be generated when such a block was reloaded if the receiver of the block had changed shape. Changes are:
1. When exporting the segment, warn if blocks are being written which actually reference instance variables. Ideally one would stop and fix things so that this did not happen.
2. When loading the segment, only issue the warning if blocks actually refer to an instance variable. Otherwise be silent.
Two places that often exhibited the problem (the alarms and stepList of WorldState) are updaed via the postscript to use cleaner blocks.
Assisting in this process is AbstractInstructionPrinter which can be the basis for other general examinations of bytecodes without getting all tangled up in the intricacies of instruction decoding.
Also, if the change set is empty, suppress the question about whether to include it in the exported segment."

3173fixShadowBounds-raa -- Bob Arning -- 6 January 2001
Fixes bounds for drop shadow which was forgetting the x displacement."

3174listGoof-raa -- Bob Arning -- 7 January 2001
Fixes a slight goof in an previous change set (lessDelay)"

3175evenCleanerBlocks-raa -- Bob Arning -- 7 January 2001
A bit of hackery to reduce the baggage carried along when publishing a project. It involves nil-ing the block arguments in the sortBlocks for the stepList and alarms. Otherwise, those variables might have caused some useless objects (perhaps *many* of them) to be included in the segment."

3176updates-tk -- Ted Kaehler -- 7 January 2001
Restricts file names of updates to 27 characters.  With a 5 digit number, this becomes a 31 character name.  Prevents trouble on Macs.  (Debugged by Scott Wallace)"

3177cleanerStill-raa -- Bob Arning -- 7 January 2001
Change classVersion of WorldState so that alarms and stepList will get cleaner blocks assigned when loaded"

3178betterQuery-bob -- Bob Arning -- 8 January 2001
Improvements to the SuperSwiki query
- add scrollbar to results"

3179showAllViewers-raa -- Bob Arning -- 8 January 2001
Adds two items to the playfield menu:
- 'hide all players' will delete viewer flap tabs from the playfield. This can save a lot of space when publishing.
- 'show all players' will restore them after using the above (or any other deletion as well). Only those players which have user-written scripts will be shown."

3180fixedPane-raa -- Bob Arning -- 8 January 2001
Changes to FileList2 to make certain parts fixed height (the buttons, e.g.)"

3181hibernateFlaps-raa -- Bob Arning -- 9 January 2001
To save space when publishing projects, hibernate the viewer flaps. Be sure to unhibernate when loading"

3182navigatorInFlap-raa -- Bob Arning -- 9 January 2001
Allow Project Navigator to live in a flap.
Added red menu option to switch from horizontal to vertical orientation."

3183moreFixedPanes-raa -- Bob Arning -- 9 January 2001
Extend fixed pane logic to MessageSet (optional buttons and annotations)"

3184ScriptorChanges10-di -- Dan Ingalls -- 9 January, 2001
Allows starting a new selection by clicking elsewhere in the current selection (ie on a different morph from the one which began the selection).
Allows selecting message-parts as well as full expressions.
Includes Ted's fix for a node type problem.

3185fixSwitches-raa -- Bob Arning -- 9 January 2001
Many changes to Browser to used fixed height panes where appropriate"

3186fixedBrowser2-raa -- Bob Arning -- 10 January 2001
Another browser fixed-pane change - wrap the fixed-height panes together with one of the scroll panes so that it is easier to perform the most likely resizings and keep the fixed-height ones fixed. At this time it only affects the System Category Browser so we can decide if it is an improvement."

3187killDualResizers-raa -- Bob Arning -- 10 January 2001
Fix the situation where there were sometimes two yellow resizer handles in a SystemWindow."

3188ChangeSet-defaultName

3189NewEmptyScript-ar -- Andreas Raab -- 10 January 2001
Provides a pseudo-script in the scripts category which can be used to create new scripts by dragging it out of the viewer's script category rather than going through the menu."

3190browseItFix-sw -- Scott Wallace -- 10 January 2001
In ParagraphEditor.selectedSymbol and Utilities.classFromPattern:withCaption:, strip blanks and tabs from the pattern before doing the match.  This allows 'browse it' (cmd-b) to work as expected on a line that has a class name preceded by one or more tabs, and/or followed by one or more space characters, for example.
Issuing cmd b with the selection being an insertion point after the space character after the word Utilities in the following line had formerly not opened a browser as it should; after this update, it will:
		Utilities 

3191findPreference-sw -- Scott Wallace -- 10 January 2001
Adds the abilility, in a Preferences Panel, to search for preferences by word or fragment; after the users chooses which Preference she wants from the resulting list, it is then revealed in the Panel.
The search can be initiated by hitting the 'f' character while the preference panel is active, or by choosing 'find preference...' from the Preference Panel's window-title menu.
Caution: these changes only apply to newly-launched Preferences panels -- preexisting ones will not have the new feature.
Note:  In due course, various methods should be moved from Preferences to PreferencesPanel for better factoring."

3192fixBrowser3-raa -- Bob Arning -- 10 January 2001
Further improvements to browsers wrt fixed height panes."

3193updateToolsFlap-sw -- Scott Wallace -- 10 January 2001
This update exists solely to issue the following do-it"
Utilities replaceBrowserInToolsFlap.







More information about the Squeak-dev mailing list