[updates] 24 more for 2.8beta-sorta

Dan Ingalls Dan.Ingalls at disney.com
Tue May 16 21:48:51 UTC 2000


Folks -

I have just posted a number of changes from SqC and the list, including Stefan's refactoring of Collections, Leandro's MonthMorph package and a slightly enhanced version of Ricardo's WatchMorph.  The Squeak PDA is shimmering on the horizon.

	- Dan
------------------------
2122rendererBlend-sw -- Scott Wallace -- 15 May 2000
Makes DropShadowMorph obey the same conventions as TransformationMorph regarding which pieces of state are stored in the renderer and which remain in the renderee.
Among other things, this hopefully brings about closure on a boring but knotty problem regarding the names that appear beneath halos on morphs that have renderers.  It also regularizes, for the first time, the ability of objects bearing DropShadows to be scripted and to be referenced via the toy scripting system." 

2123cmdShiftClickFix-sw -- Scott Wallace -- 15 May 2000
Fixes some glitches in the response to the cmd-shift-click halo gesture.
In the progression of halo-bearing objects traversed upon successive cmd-shift-clicks, each step takes you to the next outer morph, but renderers no longer try to appear directly in this sequence, and (in combination with changes in companion changeset 'rendererBlend'), the names beneath the halo at each step are more correct"

2124StringMorphEdFix-di -- Dan Ingalls -- 15 May 2000
Fixes a bug in the StringMorphEditor that caused transposition of type-in.

2125InfFormFix-ar -- Andreas Raab -- 14 May 2000
A small fix for using InfiniteForms as 'color' of a Morph. IMPORTANT: The change set has been manually re-arranged to not break anything in the system." 

2126AssertRefact-sma -- Stefan Matthias Aust -- 7 May 2000
Moved various #assert: methods to Object and created a new Exception class AssertionFailure which will be used to signal a (resumable) assertion error.  One might also want to define a few utility methods like 
	assertNil: aBlock
		self assert: [aBlock isNil]
	assertNotNil: aBlock
		self assert: [aBlock notNil]
	cannotHappen
		""See 'The Pragmatic Programmer', page 122, for an example.""
		self assert: [false]
You may argue that one should be able to turn off assertion but I'd recommend to read 'The Pragmatic Programmer', page 123, which this isn't a good idea."

2127CollectionRefact-sma

2128AttachSaveFix-mir -- Mike Rutenberg (mdr at scn.org) -- 7 May 2000
The attachment save method did not close the file after writing it to disk, preventing it from being immediately used.  This fixes that."

2129Asserts-sma -- Stefan Matthias Aust -- 12 May 2000
<your descriptive text goes here>"

2130SysWindowDnd-mir -- Michael Rueger -- 9 May 2000
This changeset enables drag'n'drop events on passive system windows.
Passive windows still stay locked, but if a window is not supposed to even receive dnd events the dnd has to be disabled explicitely.

2131SketchEditorEnh-kfr -- Karl Ramberg -- 10 May 2000
Here is a change set that changes the way the sketchEditorMorph draws a dim image behind it self. The method used before this change set was probably made before the translucentColors were introduced."

2132MappedCltnFix-hh -- Helge Horch -- 10 May 2000
As of 2.8a2096 (non-flagship),
MappedCollection>>storeString does not answer the correct source.
Compiler evaluate: 
  (MappedCollection collection: 'CBA' map: #(3 2 1)) storeString
yields a MNU.
A minor tweak is needed in MappedCollection>>storeOn:
I also changed ''X storeOn: aStream'' into ''aStream store: X'  --sma"

2133ScamperEnh-md -- Bolot Kerimbaev, Marcus Denker, AKz -- January & February 2000
Most code was written by Bolot but I decided that Marcus is the one to blaim in case that something break as he (re)posted everything to the list, assuring that he tested everything  :-)  --sma
This changeset removes the top-pane of Scamper (used for displaying the pagetitle). The page title is now shown in the SystemWindow title instead.   The change set also adds support for background color and/or image for Scamper. It includes code by AKz at phaidros.com, who fixed background image handling.
Known issues (2/27/2000 21:24):
- background image doesn't scroll with text
  (in some cases, this is a desired behavior,
  but those cases are rare)
Enhances Scamper to support:
- client side image maps
- image buttons (form inputs)"

2134ProjectOkToFix-md -- Marcus Denker -- 13 January 2000
a small bugfix for Project>>okToChange: Deleting MVC-Project-Window was impossible from inside a Morphic Project"

2135ClassRename-ccn -- Chris Norton -- 8 May 2000
I think it would probably be a good idea to do a little test, since this method does a lot of work."

2136FontSetStuff-sma -- Stefan Matthias Aust (sma at 3plus4.de) -- 30 December 1999
Refactored and reworked FontSet stuff.  Additional to the BitFont converter (which hopefully still works) you can now store complete TextStyles into FontSet classes using
	FontSet convertTextStyleNamed: 'Bookworm'
As already implemented, you can then use either
	FontSetBookworm installAsTextStyle
or	FontSetBookworm installAsDefault
to (re)install that font family again.
The mechanism requires a strike font which is named according to these rules:
* family name without spaces, starting with an uppercase letter
* point size as two-digit number
* optionally 'B', 'I' or 'BI' for bold, italic or bold-italic fonts"

2137CancelWrite-sma -- Stefan Matthias Aust -- 13 May 2000
You got an DNU error if you chose first 'choose another name' and then 'cancel' dor StandardFileStream class>>newFileNamed:.  Now you get the same error as for cancel."

2138EmbeddFix-sma -- Stefan Matthias Aust -- 7 May 2000
Fix for 016WorldREfPart2-sma"

2139FFI-PluginFixes-ar -- Andreas Raab -- 14 May 2000
Two fixes for the FFI:
a) Make 'bool' returns honor the specified byte size.
b) Update the Win32 C support code for GCC inline assembly.

2140TrimHistoryTweak-di -- Dan Ingalls -- 15 May 2000
A tweak on ChangeSet>>trimHistory that also drops methods addedThenRemoved.

2141Calendar-LC -- Leandro Caniglia -- 28 July 1998
Here you will encounter two classes Month and Week that can be used to study the important class Date. Both Month and Week have been made subclasses of Date. Their protocols are very simple, still usefull.
Once you have learned these three classes, you can see the Morphic versions of Month and Week. The representation of a MonthMorph is a simple calendar.
Evaluate:
	MonthMorph new openInWorld

2142FileMenuFix2-di-ti -- Dan Ingalls -- 16 May 2000
Fixes the FileList pattern matching so that the pattern is not reset whenever you change directories, and so that the pattern is only applied to file names, not folder names.
Also includes a couple of changes from Tobias Isenberg.

2143Watch-RJF -- Ricardo J. Ferreira -- 10 May 2000
It is a representation of a watch. One can change its labels' font to any system font.
When resizing the watch, the labels' sizes are increased or decreased.
Open the morph's menu to change the watch's font, color, center color and hands' color.
Evaluate:
	WatchMorph new openInWorld
to create and show the watch.
Tweaked by Dan I. for simplicity, performance, and roman numerals.

2144FFI-ExtraFix-ar -- Andreas Raab -- 16 May 2000
The last fix wasn't quite correct. This one is.

2145MoreUpdateChgs-di -- Dan Ingalls -- 16 May 2000
A few more changes required by Torge Husfeldt's change that made downloaded updates go in their own directory.







More information about the Squeak-dev mailing list