[UPDATES] 15 more for 2.7 alpha

Dan Ingalls Dan.Ingalls at disney.com
Mon Dec 6 07:42:53 UTC 1999


Test pilots -

So much for "closing in".  Anyway, here they are, and there will probably be more.

	- Dan
------------------------
1672FlashFileReader4-mir -- Michael Rueger -- 3 November 1999
Fixes a problem in the flash reader when reading version 4 files.
This is NOT a full version 4 implementation yet, but enables Squeak to read most version 4 files."

1673FreeCell-glow

1674ImgSegByteSwapFix

1675roundedCorners-sw -- Scott Wallace -- 30 November 1999
Allows any BorderedMorph to have rounded corners.  The underlying mechanism used to round the corners is by Dan Ingalls -- the present update only serves to make the feature more generally available.
A separate preference is split off to govern whether menus should have rounded corners.
Bordered morphs (except a few for which it makes no sense, such as PolygonMorph) now sport a new item in their halo menus, allowing the user to flip-flop between rounded and non-rounded corners.
SimpleButtonMorphs and BasicButtons by default now have rounded corners"

1676roundCornerTweaks-di -- Dan Ingalls -- 26 November 1999
Several tweaks to make rounded corners work better, especially for DropShadows."

1677lateNovMisc-sw -- Scott Wallace -- 30 November 1999
*  Preclude walkback when user requests the alphabetize feature in message-category-list pane, which is not yet implemented.
*  Versions browsers reselect latest version after a reformulation.
*  When launching a new Squeak flap, get the clock correctly centered horizontally.
*  Has a do-it (in the postscript) that horizontally centers the clock in the Squeak flap, if present."

1678etoyCosmetic-sw -- Scott Wallace -- 30 November 1999
Some cosmetic changes to viewers & scriptors.
Rounded buttons used for 'try', etc.
Iconic buttons substituted for the string-based ones for:
 - add test/yes/no button in scriptor
 - add-another-category-pane in viewer.
A roundrect added to the set of supplies in the default parts bin.
Help-message enhancements for some of the controls in Scriptors.
NB: Manually patched, sw 11/30/1999 13:17 -- put in bulletproofing in PasteUpMorph.viewBox, so that a doIt in the postscript does not drop users updating within mvc into a debugger.  Eary loaders of this update will not have that fix and will not see this addendum in the preamble."

1679ImgSegByteSwapFix2

1680imgSeg-tkMC

1681Fixes-bf -- Bert Freudenberg -- 12 October 1999
* Form>>dominantColor never really worked! (maybe we should introduce SequencableCollection>>indexOfMax?)
* FatBitsPaint now switches colors on mousedown like bitEdit does
* Cursor #showWhile: now restores cursor on unwind, too
* Adjust the rotation handle's icon color while moving
* Makes TTSampleStringMorphs 'toggle smoothing' menu option work
* Makes target of 'change color' be the morph itself so permanent menu is ok"

1682DoitWithTemps-bf -- Bert Freudenberg -- 12 October 1999
Puts temp names into doIts for nicer debugging (no more t1..tn)."

1683FFI-VMPreps -- Andreas Raab -- 29 November 1999
VM modifications necessary for the foreign function interface. Exports a number of new classes, most noticably LargeNegativeInteger. Also provides a number of useful support functions, such as:
	#signed32BitValueOf: oop
		Return the signed value of a 32bit integer object
	#signed32BitIntegerFor: intValue
		Create an ST object for a signed 32bit integer
	#includesBehavior: classOop ThatOf: superClassOop
		Return true if 'classOop includesBehavior: superClassOop'
	#primitiveMethod
		Return the method in which the pluggable primitive was found
	#isInMemory: address
		Return true if the given address is inside Smalltalk memory (heh heh - you will *never*ever* pass a pointer to 'inside Smalltalk' unless I deliberately allow it for some reason).
Also, the classes ExternalStructure, ExternalData, ExternalFunction, ExternalLibrary, and ExternalAddress are now exported. Note that these classes are not contained in this change set - these classes (from Smalltalk specialObjectsArray) will just contain nil after the change set is installed. Which is okay until we put out the actual FFI stuff.
NOTE TO VM IMPLEMENTORS: The changes require two new functions in the support code which should go into sqXYZExternalPrims.c since they do basically what the pluggable primitive code does:
int ioLoadModuleOfLength(int moduleNameIndex, int moduleNameLength);
Loads and returns an opaque handle for the module with the given name. If moduleNameLength is Null then it is assumed that the module is the VM. primitiveFail() if anything goes wrong. The returned value will never actually be used except in a call to the following function (so it should be quite safe to return Null for the VM handle). Note that this function will *not* require any exported symbol or startup code in the loaded module (that's the basic difference to the pluggable primitive support which requires the module to export setInterpreter() and also to return true when this guy is called on load).
int ioLoadSymbolOfLengthFromModule(int functionNameIndex, int functionNameLength, int moduleHandle);
Loads and returns the address of the given function from the module identified by the given handle. If moduleHandle is Null it is assumed that the symbol is looked up in the VM itself. primitiveFail() OR return NULL if the symbol can't be found."

1684doMenuFromScript-sw -- Scott Wallace -- 1 December 1999
Adds the ability, in the end-user scripting system, for any menu item pertaining to the scriptee to be invoked.  Thus, any menu item that you see in a morph's halo menu can now be invoked either directly from its Viewer or programmatically from a script.
Debug items are normally excluded from the list of choices offered on an invoke-menu tile; to get them included, manually modify Preferences method #debugMenuItemsInvokableFromScripts.
Incidentally, adds a 'bring to front' menu item to every morph's halo menu, in symmetry with the 'send to back' item.
Incidentally, also incorporates a bulletproofing fix into FlapTab.positionObject:, which was missing from early versions of update 1678."

1685reorderChangeSets-sw -- Scott Wallace -- 1 December 1999
Provides a simple do-it that will change the order of change sets, allowing the system-defined changesets and numbered updates to occur beneath other change sets in change sorters.
You can invoke this facility at any time by evaluating:
	ChangeSorter reorderChangeSets.
Also, for convenience, adds that very phrase to the bottom of the 'do' menu.  And makes it more convenient for other items to be similarly added by implementing Utilities.appendToCommonRequests:"

1686veryDeep-tkMD -- Ted Kaehler -- 5 December 1999
Put cleaner code into veryDeepCopy.
Fixes my mistake in 1661.  Browser needs to share its systemOrganizer, classOrganizer, and metaClassOrganizer.  Define veryDeepInner: for Browser.  (Thanks to Steve Elkins and Scott Wallace.)"





More information about the Squeak-dev mailing list