[updates] 37 more for 2.9a

Dan Ingalls Dan.Ingalls at disney.com
Wed Dec 13 18:03:43 UTC 2000


Folks -

I've just put out a number of new updates, summarized below.

Morphic users will note that command histories are now truncated on quit with save, so that infinite undo is now a more reasonable option (and game players will find this now works for SameGame and FreeCell).

There will probably be several more updates before the weekend.

Enjoy
	- Dan
----------------------------------
3078Repainting-ar -- Andreas Raab -- 4 December 2000
Hide sketches during repaint."

3079Benchmarks2-di -- Dan Ingalls -- 4 December 2000
Adds support for reporting vm statistics on each of the benchmarks.
Also establishes 10Mb of compacted headroom as a standard condition for all benchmarks.

3080ParseScript8-tk

3081flexiZoom-raa -- Bob Arning -- 1 December 2000
New multi-resolution capability:
In a first step to supporting objects with different resolutions, the following scenario works:
- open a SBBM
- drop in the background image
- create a second image (MUST be a SketchMorph for now)
- shrink it down (a huge shrink helps with the demo)
- drop it in
- zoom in the SBBM. While the background should get fuzzier and fuzzier, the sketch in the foreground should get clearer as it gets larger until it gets to the full size of its original.
New script creation capability:
Use the standard controls to maneuver the camera to the desired starting position/scale. The camera position and scale are displayed in a yellow box on the controller. Drag it (from somewhere the numbers are NOT, for now) to the desktop. This becomes a script. Now manuever the camera to the next desired position. Drag the yellow box again and drop it in the script. When two or more positions appear in the script, a step count will appear between. Change this by clicking and typing. You can add more positions and rearrange them as desired. When complete, choose 'save script' from the script's red menu and give it a name. Now, from the controller's red menu, you can run this script or edit it to make corrections/copies.
More changes:
- holding zoom and tilt keys simultaneously now works.
- display of scale and camera location added to aid in building scripted actions.
- simple UI for changing keys: choose 'change tilt and zoom keys' from the red menu then press 4 keys as prompted
- simple programmatic motion included: choose 'TEST SCROLLING PROGRAM' from the red menu (works with beach artwork and standard sized StoryboargBookMorph. The is as yet no UI for building these actions. See ZoomAndScrollControllerMorph>>test for example of how this was created.
EXPERIMENTAL changes to zoom and scroll behavior
- mouse movement is for PAN only
- use up/down arrow keys to TILT
- use left/right arrow keys to ZOOM
Also, a neutral zone is displayed on the controller while the mouse is down.
rate of zoom is adjustable using the slider (beforehand, obviously)"

3082zoom2-raa -- Bob Arning -- 6 December 2000
- more accurate placement of magnified images to reduce jitter when panning, tilting and zooming.
- misceallaneous cleanup"

3083dontResizeTop-raa -- Bob Arning -- 6 December 2000
- there was still a slight window of opportunity when resizing panes in a SystemWindow that you might grab the top edge of the top pane and drag it. For some reason this started happening to me more frequently, so I fixed it."

3084zoomAsMovie-raa -- Bob Arning -- 6 December 2000
Adds ability to run StoryboardBookMorph from a PianoRollScoreMorph/ScorePlayerMorph combo. here is what works:
- get a StoryboardBookMorph and install whatever images desired
- get a ScorePlayerMorph
- click the Piano Roll button on the SPM
- enable drag and drop on the PRSM
- drag yellow position/scale data from SBBM and drop into PRSM for each desired point in the animation sequence
- hit Play on the SPM"

3085zoomFix-raa -- Bob Arning -- 6 December 2000
- silly error fixed"

3086PolyFix-ar -- Andreas Raab -- 6 December 2000
Fixes a problem when drawing polygons with the balloon engine."

3087classListMenu-rh -- Robert Hirschfeld -- 2 December 2000
Puts three class-related items (eg 'inspect instances') formerly found only in the message list menus of browsers and change-sorters into their class (list) menus as well.  Creates a shifted branch for class-list menus for both Browser and ChangeSorter.  Tweaks proportions of panes in PackageBrowser.  Updates all instances of Browser and ChangeSorter and their subclasses with the new class (list) menu selector. (tweaked by Scott Wallace 12/6/2000)"

3088moreScoreStuff-raa -- Bob Arning -- 7 December 2000
Making the PianoRollScoreMorph usable for recorded sounds as well.
- added 'Morph' button to RecordingControlsMorph that provides a SoundEventMorph which can be dropped on the PRSM."

3089ProjStore5-tk -- Ted Kaehler -- 7 December 2000
	Writing a project does not try to make the Symbols be strongly held.  
	ImageSegment can be told that the roots do not have repeated objects, saving the time to test this.  Good when objects were traced by a ReferenceStream and there are 1000s of roots.
	Part of a fix to handle named players (References) correctly when read in.
	Fixes bug in SequenceableCollection>>hasEqualElements:.  Seen in RunArray>>=. "

3090MethFinder2-rhi -- Robert Hirschfeld -- 1 December 2000
Further tweaks to the Method Finder.  Find the world properly.  Mention multiple answers for the 'less than' example.
Inform properly when changes file is too big."

3091keepingScore-raa -- Bob Arning -- 7 December 2000
- compress sounds when publishing SoundEventMorphs"

3092moreLayers-raa -- Bob Arning -- 8 December 2000
- insure that color pickers remain in front of their target"

3093SoundCompression-diRAA -- Dan Ingalls -- 7 December 2000
A couple of handy methods that let you say, eg,
	sound _ sound compressWith: GSMCodec
where sound is any SampledSound or SequentialSOund made up of SampledSounds.

3094ProjStore6-tk -- Ted Kaehler -- 8 December 2000
Correct bug that stopped projects from being saved.  
When Players in References are imported, reinstall in References, and rename if needed.
Rename of a Player handles References and new tiles correctly.
Prepare for deleting all new tiles in saved projects and reconstituting them."

3095multiResume-raa -- Bob Arning -- 8 December 2000
- change to permit signalling and resuming more than once within a block
- modified test suite to try this"

3096ColorPickerLayer-ar -- Andreas Raab -- 8 December 2000
Make the color picker search the entire owner chain so it always stays in front."

3097fixBooks-raa -- Bob Arning -- 9 December 2000
- fix up a discrepancy in piano roll protocols
- restore bookmmorph thumbnail ability to drop into piano rolls"

3098pngTests-raa -- Bob Arning -- 10 December 2000
- a few minor tweaks to png image reading"

3099zoomtest-raa -- Bob Arning -- 10 December 2000
- provide smoother scrolling and zooming of StoryboardBookMorph"

3100annotationFixes-sw -- Scott Wallace -- 10 December 2000
Two fixes motivated by the fact that change-sorters can now have annotation panes, and that sometimes a change-sorter's selected class is a deleted one, and/or its selected message is one that has been deleted.  These situations could cause errors when an attempt was made to show the corresponding annotation:
* Fixes CodeHolder.annotation so that it won't fail when called on behalf of a deleted class.
* Fixes StringHolder.timeStamp so that it won't fail when called on behalf of a method that no longer exists"

3101awkwardJunctureFix-sw -- Scott Wallace -- 10 December 2000
Applies a solution worked out by Dan to an awkward, long-standing problem in the smart-updating code.  The nature of the code-acceptance flow-of-control creates  the possibility of an awkward juncture in which the 'confirm first use of style' dialog can be presented to the user; if in Morphic, that dialog runs the system's event loop, and hence various tools may try to update themselves when a method has been recompiled, but the source hasn't been written, leading to various infrequent but nasty, or at least annoying problems, both in the browser in which the method was submitted and in other browsers open in the project.  These are theoretically all fixed by this update."

3102recompileScript-sw -- Scott Wallace -- 7 December 2000
Fixes scriptors so that when an operator is manually changed via a popup on a tile, the script gets recompiled.  As per bug report from Bob Arning.  Isolated out in its own tiny change set so that it can be separately published to the Open School update stream"

3103threeWindowCommands-sw -- Scott Wallace -- 10 December 2000
Adds three items,  'find a transcript' , 'close window', and  'send window to back', to the 'windows & flaps' menu, and provides keyboard accelerators (cmd-t, cmd-w, and cmd-\, respectively) for them.  
'Find a transcript' will bring an open Transcript to the front, even if it has to create a new one or expand a collapsed one.  Simply type cmd-t.
The close-window and send-window-to-back items apply to the active window.
Send-top-window-to-back is especially useful when used with a windows-and-flaps menu that has been 'kept up', and also when issued by repeated hitting of cmd-\, in which case it lets you cycle through all your windows without ever having to touch the mouse.  
Cmd-\ and cmd-w together provides simple, mouseless desktop housekeeping.
Since new cmd-key mappings are involved, the contents of the 'command-key-help' window are updated, and some unreleated tweaks are made there as well."

3104various-sw -- Scott Wallace -- 11 December 2000
* Fixes up two menus that got broken when MVCMenuMorph got dramatially changed a while back:  the script menu in a Viewer and the parts menu in a PartsWindow (though I also note that the latter is quite broken otherwise by the changed layout work.)
* Adds cmd-c as a shortcut for copy-all-to-other-side in the the Change Sorter (when cursor is over the change-set-list pane).
* Fixes things such that the prototypical BookMorph and TabbedPalettes are not saved full size in the Supplies Bin!  (This bug crept in sometime recently as part of a seeming change to BookMorphs such that their bounds are not their fullBounds.  So the change here is that the logic for deciding whether to thumbnail or not now uses the fullBounds rather than the simple bounds.)
* Fixes the comment in ChangeSet.checkForAlienAuthorship

3105SMovieCleanup-di -- Dan Ingalls -- 11 December 2000
A couple of removals to bring variant images in sync with the release.

3106DebugAids-di -- Dan Ingalls -- 11 December 2000
Adds preferences for showing damage rectangles during morphic display, and for showing the bounds rectangle of a morph during halo display.  Both default to false.

3107storyContinued-raa -- Bob Arning -- 12 December 2000
several enhancements to piano rolls and storyboards:
- any morph can be dropped into a piano roll and will trigger when the cursor reaches it. Two current actions are possible:
--- any morph with a user-added mouse up action will have that action run
--- a ProjectViewMorph will cause that project to be entered. You can string a series of projects together by putting the piano roll and score player in a (partially open) global flap.
- when dragging the pan/tilt/zoom info from a storyboard, a thumbnail of the page is included. The resulting camera mark will perform a page turn when two successive marks have different pages. It will perform a normal camera action when two successive marks have the same page.

3108playingProjects-raa -- Bob Arning -- 12 December 2000
- InternalThreadNavigationMorph, when dropped in a piano roll, will do a next project transition"

3109moreOfTheStory-raa -- Bob Arning -- 12 December 2000
- make page image larger in camera mark and move numeric vaues to balloon help.
- force coordinate displays back to integer"

3110TrashDrag-ar -- Andreas Raab -- 12 December 2000
Allow trash cans to be dragged around. Show its contents upon double click."

3111UndoTweaks-di -- Dan Ingalls -- 12 December 2000
Purges undo history at save/quit (and says so in the preference help)
	-- this makes use of infinite undo a reasonable option.
Makes the existing purge of history more complete
	-- it used to leave one command in every project.
Offers to purge history prior to computing 'space left'.
Fixes two places where failed drops of a morph left an undo record in its properties.
Supports selective purge of undo records.
Implements undo for FreeCell as a multiple-undo test case.
Trims undo overhead for SameGame from 34k per command to 1.5k per command.

3112ProjStore7-tk -- Ted Kaehler -- 12 December 2000
Another round of trying to make References to Players write and read from exported projects.  This verion records the References to Players and reinstalls them.  Renames Players and references if there is a conflict at load time.
	New tile scripts remove their tiles before being saved, and recreate them upon loading.  Viewer flaps are kept, but the viewer itself is removed.  It is recreated at load time.
	Fixes bug in Character clone."

3113gotoMark-raa -- Bob Arning -- 13 December 2000
- adds red menu item to camera mark to go to that mark
- fix placement of camera mark when it overlaps left edge"

3114evtRecStory-raa -- Bob Arning -- 13 December 2000
- provides subclasses of HandMorph with their own implementation of #needsToBeDrawn to avoid hiding the real cursor when drawing a secondary one
- enhances DisplayScreen>>restoreMorphicDisplay to restore the cursor as well
- removes an unused method from PasteUpMorph (I know there are more, but I ran into this one, so it's history)"







More information about the Squeak-dev mailing list