[UPDATES] More on the way to 2.5

Dan Ingalls Dan.Ingalls at disney.com
Tue Jul 27 18:03:35 UTC 1999


Folks -

I've just released a number of new updates for test pilots.  These include tidbits like instant access to WordNet (world menu/help.../definition of...), numerous fixes, refactoring (project -> worldState in PasteUpMorph), and a new ClassBuilder facility that is capable of a number of formerly impossible changes to the class hierarchy (such as moving subclasses from ClassDefinition down to Class).  The summaries follow below.

	- Dan
---------------------------
1324DrawFixes-ar -- Andreas Raab -- 15 July 1999
Fixes FormCanvas to honor shadowDrawing in certain cases."

1325misc-tkKU -- Ted Kaehler -- 16 July 1999
Fixes bug when you Cancel after choosing 'save morph at URL'.
Refrains from putting 'recompiling...' in the Transcript if the class has no methods.
Another minor fix."

1326scriptingFixes-sw -- Scott Wallace -- 15 July 1999
1.  Fixes up the step methods of half a dozen morphs which did not call 'super step'; with this fix, those kinds of morphs can both function in the way they expect to and also obey any scripting commands.
2.  Fixes the bug that made the penColor readout in a viewer for a rotated object not be hooked up properly.
3.  Bulletproofs TransformationMorph.printOn: against the situation where the transformation has no submorphs (it happens -- indeed it happened when debugging the previous item.)
4.  When updating a flap-based viewer after some external change, gets its header right.
5.  Fixes the bug that when a morph got flexed the external name of the original got set to the string 'nil'.

1327emptyScripts-sw -- Scott Wallace -- 16 July 1999
Offers some recourse against the proliferation of empty scripts caused by the awkward drag & drop action of tile scripting.  Three avenues of improvement are supplied:
(1)  When the drop of a tile phrase results in the establishment of a new scriptor, the opportunity is taken to delete all now-empty and never-named tile scripts belonging to the object.  This deals with the primary offending cases.
(2)  When you dismiss an empty unnamed scriptor, it is also automatically removed from the player and its viewers.
(3)  There is a new command in the viewer menu allowing you proactively to expunge all the empty scripts of the player."

1328BSDAccept-ar -- Andreas Raab -- 16 July 1999
This change set adds an optional BSD-style accept() mechanim for sockets. It requires two additional functions in the support code:
* sqSocketAcceptFromRecvBytesSendBytesSemaID(...) is used to create a new socket by accept()ing it from the given server socket. The function may fail by calling 'success(false)' if not supported.
* sqSocketListenOnPortBacklogSize(...) initializes a socket for future accept() operations. If this primitive fails accept() should not be used (see ConnectionQueue>>listenLoop for how determine the right way of accepting connections). The function may fail by calling 'success(false)' if not supported.
A note on state changes: Whenever a socket has been initialized by the second method its state will be unconnected. When a connection can be established by the accept primitve its state changes to connected. After a connection has been accepted the state of the server socket will change back to unconnected *only* when there are no more connections pending, e.g. a loop like:
	[server isConnected] whileTrue:[
		client _ server accept.
	].
will extract all pending connections."

1329PrettyPrinting-sma -- Stefan Matthias Aust -- 18 July 1999
Makes browsing with prettyPrint work in the File Contents Browser.

1331EngLang-tkKV -- Ted Kaehler -- 16 July 1999
Gives programatic access to the WordNet lexicon at Princeton Univ.  At http://www.cogsci.princeton.edu/cgi-bin/webwn/  Keep the parts of speech entries as separate streams.  Query them for information.

1332definition-sw -- Scott Wallace -- 18 July 1999
Adds a UI in the help... branch of the screen menus allowing you to look up the definition for any English word, using the WordNet lexicon at Princeton Univ."

1333InfFormFix-ar -- Andreas Raab -- 19 July 1999
Fixes two more problem with InfiniteForms"

1334ClassFixes-ar -- Andreas Raab -- 19 July 1999
This change set is only a doIt for fixing several problems in the class hierarchy. It does not fix all them though (this is to dangerous) but it fixes and reports a bunch of them."

1335ClassBuilder-ar -- Your Name -- 9 July 1999
A complete new class for creating or modifying classes. Also does a number of things like:
* Fixing the meta class structure for subclasses of nil (e.g., ObjectOut class was a subclass of Object class and not a subclass of Class as it should be)
* Changing the instVar Class>>subclasses to use an Array instead of a Set (for compactness; but mainly for allowing #become: on the classes ;)
* Of course, using #become: to fix up references to the classes getting recompiled (but very, very carefully ;-)
* Changing Encoder>>bindTemp: to only print a warning when non-interactive (very annoying otherwise)
* Adding the method #keysAndValuesDo: to the appropriate subclasses of Collection (Dictionary and SequenceableCollection).
* Adding a morphic-style progress indication when recompiling classes (which may be turned off such as for the end-user system)"

1336Alice2Anims-jsp -- Jeff Pierce -- 20 July 1999
A first pass at moving animations over to version 2 of Alice."

1337rotCenterFix-sw -- Scott Wallace -- 20 July 1999
Purports to fix the bug that change-costume did not properly take rotation centers into account when positioning the new costume.
Also fixes a bug that could interfere with proper running of tile scripts by rotated objects that were not SketchMorphs."

1338InstVarMoves-ar -- Andreas Raab -- 20 July 1999
This change set provides the ability to move instance variables of a living class to another class while keeping its value."

1339debanking-sw -- Scott Wallace -- 20 July 1999
Deletes lots of code relating to an earlier scripting architecture which involved numbered banks rather than categories with textual titles."

1340CGFix-ar -- Andreas Raab -- 20 July 1999
Fixes the code generator not to prune any exported methods (e.g., primitives that are called by name)."

1341SocketFix-ar -- Andreas Raab -- 20 July 1999
Fixes two problems in Socket"

1342customMenufix-sw -- Scott Wallace -- 20 July 1999
Provides a backstop method in CustomMenu so it won't fail when apprised of balloon text."

1343bankFix-sw -- Scott Wallace -- 20 July 1999
Fixes a bug indroduced in update 1339."

1344FlashCodec

1345shiftClickFix-sw -- Scott Wallace -- 21 July 1999
Makes it such that a shift-click in a list pane does NOT give keyboard focus to the item clicked on.  Among other things, this allows shift-click on a message name to result in the display of decompiled code in a Browser in Morphic, as it always has done in mvc Browsers."

1346VMStuff-ar -- Andreas Raab -- 16 July 1999
Modifies image reading to use an optional image offset. This is a preparation for embedded images (e.g., images stored somewhere in another file) such as one-click executables. The method #readImageFromFile:HeapSize: has been modified to #readImageFromFile:HeapSize:StartingAt: but for the VM support code a #define is provided in sq.h for backward compatibility.
Also makes SystemDictionary>>#snapshot:andQuit: return the resumingFlag so clients can check whether we're just starting up."

1347paintFixes-sw -- Scott Wallace -- 22 July 1999
(1)  When an object that is NOT wearing a sketch costume is told to look like another object that IS wearing a sketch costume, the rotation style of the latter is now correctly applied to the new sketch costume of the former.
(2)  If the sketchMorph currently being painted has been removed from the world (by dismissing its enclosing window, for example) before painting is completed, a fix is made so that the paint palette is properly disposed of and the user is not dropped into a debugger."

1348Alice2OutWin-jsp -- Jeff Pierce -- 25 July 1999
Adds the AliceTextOutputWindow that somehow escaped from the earlier Alice v2 updates."

1349WnldDirLight-jsp -- Jeff Pierce -- 25 July 1999
Adds a 'direction' instance variable to WonderlandDirectional Light.  I either forgot to add this variable or it disappeared along the way, but in either case it was causing direction to show up in Undeclared.  This change set fixes that."

1350FlashDithering-ar

1351SundryFixes -- Dan Ingalls -- 16 July 1999
Fix to WaveEditor showEnvelope suggested by Matt Rosen.
Fix to Semaphore smartInspect suggested by Bob Arning.
Enhancement to fileList supporting background images, submitted by Ian Trudel.
Fix to Parser temporaries submitted by Bob Arning and Leandro Caniglia.

1352ReshapeClasses-di -- Dan Ingalls -- 18 July 1999
Removes the instVar, 'subclasses' from Metaclass
	-- partly as a cleanup, 
	-- and partly as an acid test of Andreas's new ClassBuilder.

1353WorldState-di -- Dan Ingalls -- 19 July 1999
Refactors MorphicProject into the old simple Project, and a new class WorldState.
This makes worlds within worlds work better, since only one project is involved.

1354WorldState2-di -- Dan Ingalls -- 24 July 1999
Fixes a few obsolete references to PasteUpMorph>>project, and removes it.
Then renames the field 'project' to be 'worldState', consistent with the new factoring.





More information about the Squeak-dev mailing list