[updates] 15 for 3.1 alpha

Dan Ingalls Dan at SqueakLand.org
Tue Sep 25 22:06:06 UTC 2001


-- 
Folks -

I have just uploaded the following new updates to the servers.

Enjoy
	- Dan
---------------------
4333SymmetricSpeed-ar -- Andreas Raab -- 7 September 2001
Fix a performance problem in FloatArrays. When used against an integer/float receiver (e.g., 3.0 * <float array>) the Collection code (roughly 100 times slower than the primitive code) took over."

4334GribblyFix-di -- Dan Ingalls -- 12 September 2001
Fixes gribblies when stepping players used to try moving forward when in the hand.

4335magicHalos-mir -- Michael Rueger -- 12 September 2001
Adds a preference to turn on mouse over halos in the World by default.
Fixes a bug with magic halos and direction handles."
Preferences addPreference: #mouseOverHalos categories: #(halos) default: false balloonHelp: 'If true, mouse over halos are enabled in the world' projectLocal: false changeInformee: Preferences changeSelector: #mouseOverHalosChanged

4336MoLessGribblies-di -- Dan Ingalls -- 12 September 2001
Adds the same protection to Player setX: and setY: so that ticking while in the hand won't foul up the damage regions and cause... thum-thum... thum-thum... Grribblies.

4337ClipTextSelection-di -- Dan Ingalls -- 13 September 2001
Ned Konz reported text selections displaying outside the bounds of a textMorph.
This fixes the problem."

4338tempsFix -- Bob Arning, as told to Scott Wallace -- 13 September 2001
Reestablishes the fix of update 4135, which got lost when update 4322 came in"

4339miscMinor-sw -- Scott Wallace -- 13 September 2001
Fixes problems that had crept into the 'world menu help' window concerning items in the windows & flaps menus.
Fixes a very-long-standing bug (consequence of a hasty find-and-replace all, evidently) in WordNet class languagePrefs"

4340vocabRefactor-sw -- Scott Wallace -- 14 September 2001
Refactors Vocabulary architecture, making the choice of natural language an independent dimension, with actual translations instituted lazily only when required by user request.
Every project has a natural language associated with it; default is English.  When you switch natural languages (there is a new item in the Help menu to do this,) the impact will only be seriously felt in the classic tile-scripting regime, where all viewers and scriptors will immediately be re-rendered in the new language.  Ultimately, broader localization would be desirable -- menus, balloon help, labels, and much else.
Refactors ObjectWithDocumentation to provide direct support for multiple natural languages.
Attention translators: consult EToyVocabulary method #templateForLanguageTranslation -- this method is provided to assist people wishing to translate the etoy experience into another natural language.  If you carefully follow the instructions in the comment at the front of that method, it should be straightforward to translate to any language.
Note to Alan and Ted:  This refactoring recasts the 'players are vectors' thing as a separate vocabulary.  To switch any particular *viewer* over to using the Vector vocabulary, use 'choose vocabulary' from the viewer's menu; to switch an entire *project* over to the 'players are vectors' mode, evaluate 'ActiveWorld installVectorVocabulary.', which will be found at the bottom of the 'do...' menu.  To rescind a project-wide vocabulary choice, evaluate 'ActiveWorld abandonVocabularyPreference.', also found in the 'do...' menu."

4341SyntaxErrRemoveHalt-di -- Dan Ingalls -- 13 September 2001
Removes a halt from the path to a Syntax Error dialog that you get if you simply execute <class> compile: 'erroneous code'.

4342versionsFromDebugger-sw -- Scott Wallace -- 14 September 2001
Fixes a long-standing bug in the narrow case of a VersionsBrowser launched from a Debugger on behalf of a class-side method; the resulting VersionsBrowser was ill-formed, and did not show diffs even when asked, and its 'revert' function did not work."

4343UniTile8-tk -- Ted Kaehler -- 17 September 2001
	Working toward being able to program naturally in a protocol (lexicon) browser with Universal tiles.
	Added menus to get a new universal tile for (new temp variable), inst var, constants, return, if-then test, self, comment, and assignment arrow.  
	Other actions are available by selecting a tile in the script.  As before a tile expands to show controls for (send a new message to it), delete it, and up/down arrows for a number constant.
	Make accept work. Make refresh work after an accept that creates a new method.
	Make menus appear on mouseDown.
	Add a method template in tiles when no method is selected.
	Dropping a temp var name into a block both installs it as a temp, and starts a new statement.
	Dropping an assignment arrow on a noun causes it to change to an assignment statement.  

4344propSheetPref-sw -- Scott Wallace -- 20 September 2001
Makes the Property Sheet and the simple Color Picker both always directly available from the morph halo.  A new preference, #propertySheetFromHalo, governs which of the two choices a simple click on the recoloring halo-handle should put up; shift-click will then put up the opposite one.
The default value for the new preference is true, to keep things exactly the same way they were.  If you change #propertySheetFromHalo to false, a simple click on the recoloring handle will now put up the simple, one-click color-picker, and you will need to use shift-click on the recoloring handle to get the full property sheet."
Preferences addPreference: #propertySheetFromHalo category: #halos default: true balloonHelp: 'governs whether a full property sheet or a simple "color picker" should be presented when you click on the "recoloring" (eyedropper) halo handle.  If you hold down the *shift* key as you click on the eyedropper, you will get the the reverse choice.'. 

4345TextPrintIt-ar -- Andreas Raab -- 22 September 2001
Adds a TextPrintIt action so that we can embed an expression like
	3 + 4
in text and when clicking on it, print the result."

4346UniTiles9-tk -- Ted Kaehler -- 23 September 2001
Further civilizing of Universal Tiles.
	Rewrote the popUp that allows a selector tile to be replaced.  Extended it to work on keyWords.  Adds additional args as needed.  Saves tiles of any args removed.
	Defined Variable>>sample that attempts to return the closest thing to the object represented by this variable.  The actual object, or a new instance of that class.
	Started adding type specs for arguments to the vocabulry of Time, (later others).
	Default method template in tiles.
	Make sure classes Date and Time respond to #new with an object that can print.  (Should check entire system for this...)
	Removed inst var syntaxMorph from PluggableTileScriptorMorph.  It can be found dynamically.
	Repaired PositionableStream>>last.
	Repaired several bugs that I just introduced to creating code from Universal tiles.  (Scott found these.)  Use ensureNoSpace instead of blindly doing skip: -1.

4347ByteArrayRangeCheck-di -- Dan Ingalls -- 22 September 2001
Andreas Raab reported...
	| bb | (bb _ ByteArray new: 1) byteAt: 1 put: 257.  bb
		==> a ByteArray(1)
The fast version of at:put: was missing a range check on byte values.
This fileIn fixes it, but requires a new VM to be built to get the benefit.
Also includes several fixes needed to run the InterpreterSimulator:
	Uninitialized variable newNativeMethod
	Fix to BitBlt for indexing into color maps
	Ability of simulator to accept typing in Morphic (doesn't work yet on my mac)
	Ability of simulator to read and write the clipboard
Also removes logging of plugin activity to Transcript in ioLoadFunction:From:.





More information about the Squeak-dev mailing list