[updates] 27 for 3.1 alpha

Dan Ingalls Dan.Ingalls at disney.com
Sat May 5 15:45:33 UTC 2001


Folks -

Herewith a bunch more updates.  Summaries below.

Enjoy
	- Dan
-----------------------------
3961NewUpdateLogic-di -- Dan Ingalls -- 28 April 2001
This changeSet adapts the broadcast of updates (from internal to external streams) to the new scheme where the files are shared, and only the indices (*updates.list) are different.
It also reimplements the handling of updates.list so that it gets parsed into a list that can be easily be manipulated without needing to reread the files.  This should speed the update process.
It also moves the backup of the old updates.list index to the local disk of the person making the update.  This is faster and simpler.

3962ByteSwap-tk -- Ted Kaehler -- 30 April 2001
Andreas discovered that PositionableStream was not treating endianness correctly when the collection is a byte object.  The two cases are writing to a file, and writing to an internal RWBinaryOrTextStream.
	ArrayedCollection>>writeOn: makes writes word objects as bigEndian (Mac-like).  
	StandardFileStream>>nextWordsInto: reads and converts if the machine is littleEndian (PC or Unix like).
	PositionableStream>>nextWordsInto:, used by RWBinaryOrTextStream, converted but did it incorrectly!
Fixed in this update.
Here is the test case that failed:
Write object file
(FileStream newFileNamed:'test')
	fileOutChangeSet: nil 
	andObject: (Color colorNames collect:[:s| Color perform: s]) asColorArray; close.
Read object file from FileStream (this does work)
(FileStream readOnlyFileNamed: 'test') fileInObjectAndCode.
Read object file from internal stream (fails)
(RWBinaryOrTextStream with: 
	((FileStream readOnlyFileNamed: 'test') contentsOfEntireFile)) reset; fileInObjectAndCode.

3963suppressWorldMenu-sw -- Scott Wallace -- 30 April 2001
Restores the suppression of the world menu when the eToyFriendly preference is true (a feature seemingly lost during the event remake last fall,) while retaining the loophole of cmd-shift-W over the desktop for bringing it up."

3964CelesteTFD-mdr -- Mike Rutenberg -- 12 April 2001
Correction of bug in parsing traditional headers which contained a semicolon character
Drag & Drop to show better drag object and correct reported problem with dragging and then deleting
Various small bugs fixed
Deletion of unused MIMEPart class (replaced by MailMessage)
MIMEHeaderValue class comment added
Ballon help added to explain automatic move menu items

3965CelesteImportFix-di -- Dan Ingalls -- 1 May 2001
Reduces the likelihood of a walkback when Celeste imports a mail file with a message containing lines that begin with a word ending with a colon.  It's not foolproof yet, but it's better.

3966sysVerPrint -- Michael Rueger -- 1 May 2001
Fixes a glitch in the generation of version strings."

3967changeSetFix-raa -- Bob Arning -- 2 May 2001
Change set tweaks:
- speed up (by a factor of 35 in my image) finding a change set when there are many
- ensure that the change set in a newly loaded project is known to the ChangeSorter"

3968FindInMthSource-tk -- Ted Kaehler -- 2 May 2001
When searching all of the source code in the system (using Alt-E or 'method source with it'), also search the Class Comments.  Include them in the resulting MessageSet.  
	Modified MessageSet to accept (aClass Comment) as a classAndSelector pair.  Since that is what class LinkedMessageSet did, remove LinkedMessageSet from the system.
	Provide the command 'class comments with it' in the shift menu of all codePanes.  This searches just the comments of all classes for the selected text."

3969B3DFixes-ar -- Andreas Raab -- 2 May 2001
Fixes various problems in the simulation rasterizer (mostly discovered by Bob)."

3970ZipFix-ar -- Andreas Raab -- 2 May 2001
Fixes a problem when a (valid) empty data block was encountered in the input stream while preserving primitive failure if nothing has been decoded at all."

3971ScriptorAutoFit-di -- Dan Ingalls -- 2 May 2001
Adds a property #autoFitContents to ScriptEditorMorphs, changeable through the morph menu.  If set (and this is the default), then scriptEditors grow and shrink to fit their contents.
Many small changes to make this all work.

3972ScriptorEmbeddedCtls-di -- Dan Ingalls -- 2 May 2001
This changeSet causes popup controls in universal tile scripts to be embedded in the syntaxMorph structure rather than appearing on top.
Still to come:  better icons, hold-down scrolling.

3973fasterDiffs-raa -- Bob Arning -- 3 May 2001
Faster generation of text diffs for large texts (around 15x faster)"

3974SteppingCarets-di -- Dan Ingalls -- 3 May 2001
Endows value-changing carets in universal tiles with stepping behavior as in classic tiles.
Currently recompiles on every step, so it's not very zippy.

3975colorUnderFix-sw -- Scott Wallace -- 3 May 2001
Fixes a nasty bug such that clicking on the readout next to colorUnder in a Viewer could lock up your system."

3976MoreB3DFixes -- Andreas Raab -- 3 May 2001
Incorporates more fixes from Bob."

3977FloatArrayFixes -- Andreas Raab -- 3 May 2001
Makes float arrays go through a new (and working) version of #primitiveHash"

3978FloatArrayPluginFix -- Andreas Raab -- 3 May 2001
Makes the new #primitiveHash available and removes the old (and broken) one."

3979VRMLFix-ar -- Andreas Raab -- 3 May 2001
Fixes a problem with undefined node definitions."

3980misc-sw -- Scott Wallace -- 4 May 2001
* Fixes bug such that if the only category associated with a given selector was 'as yet unclassified', it was falsely thought to be unimplemented by some operations in a Lexicon.
* Makes the find-change-sets-with-selector command directly available in the shifted text-editing menu.
* Bulletproofs preexisting viewer panes against the problem fixed in update 3975"

3981parameterAtCalls-sw -- Scott Wallace -- 4 May 2001
Fixes bugs in wordnet access that are a hangover from the Preferences junta; calls to #parameterAt:default: were being wrongly formulated in four wordnet-related methods"

3982BetterUpDownCtls-di -- Dan Ingalls -- 4 May 2001
Smooths out the timing of up-down controls on numeric literals in new tile scripts.
Also only logs the last change to the sources file to avoid wasted time and space.

3983UTDropZones-di -- Dan Ingalls -- 4 May 2001
Reworks the drop zones in universal tiles to be simple green like classic tiles.
Also reworks the replacement drop highlight to be similar to classic tiles.

3984BitBltExtensions-ar -- Andreas Raab -- 4 May 2001
The change set includes various extensions for BitBlt with the goal of migrating the useful features from FXBlt into the general BitBlt mechanisms. These include:
* Handling of LSB and MSB forms:
BitBlt now handles both, MSB and LSB forms (and their conversions). Only instances of Bitmap are assumed to contain big-endian pixels. All others are assumed to be little endian (reason is that we can only identify Bitmap here). Note that 'LSB' and 'MSB' refers to PIXELS, that is a 1bpp LSB form has its left most pixel in the lowest bit whereas a 1bpp MSB form has its left-most pixel in the highest bit.
For pixel depths < 8 this can be different from what your OS supplies (as an example, Windows bitmaps < 8 are big-endian pixels in little-endian words; we might call them 'middle-endian'). We simply don't deal with those - forms are either big or little endian but nothing inbetween.
BitBlt has got an extra combination rule for swapping pixels in the destination form. This can be used to make byte swapping much more efficient (as soon as we've got more VMs with support for it).
* Handling of 'native bitmaps' (aka surfaces):
BitBlt is now able to deal with OS surfaces that are registered with the surface plugin.
* Handling of full color maps:
BitBlt has been extended to deal with instances of ColorMap in addition to the prior mechanism of using only indexed lookups and provide an implicit 16-32 bit color conversion. ColorMaps can specify both, a lookup table and an additional set of masks and shifts to apply during the color mapping operation. 
Four independent shifts and masks can be given which can be used for a lot more than just color conversion (as an example, one could do byte swapping with this; but see also BitBlt class>>exampleColorMap). 
* Better handling of default arguments:
For most of the required arguments for BitBlt very reasonable default assumptions can be made. This includes the destOrigin (0 at 0), clipRect (0 at 0 extent: destForm extent), sourceOrigin (0 at 0). BitBlt now substitutes these if they are absent (e.g., nil) in the instance provided.

3985FlashVersionWarning -- Andreas Raab -- 4 May 2001
Warn the user about possible problems before attempting to load flash 4/5 .swf files."

3986viewerAndVocab-sw -- Scott Wallace -- 4 May 2001
Many enhancements & fixes concerning use of Viewers for objects other than morph/player pairs, and use of vocabularies other than the etoy vocabulary, and with both universal and classic tiles.
Adds an example 'Quad' vocabulary to illustrate the creation and use of custom vocabularies.  To observe this custom vocabulary in action evaluate 'Quadrangle exampleInViewer'"

3987vocabFix-sw -- Scott Wallace -- 5 May 2001
Fixes bug that kept balloon help from showing up on non-slot-like methods in viewers."







More information about the Squeak-dev mailing list