On Mon, 28 Feb 2011, commits(a)source.squeak.org wrote:
> A new version of Morphic was added to project The Inbox:
> http://source.squeak.org/inbox/Morphic-cao.522.mcz
>
> ==================== Summary ====================
>
> Name: Morphic-cao.522
> Author: cao
> Time: 28 February 2011, 6:22:34.55 pm
> UUID: 4be5ac71-d5df-4e96-b59c-5065ad7932f9
> Ancestors: Morphic-mtf.521
>
> StringMorph>>contents: shouldn't mutate fonts in the
> test attributes.
Can you provide a simple test case that shows the effect of this change
for someone who's not familiar with the code (like me)?
Levente
>
> =============== Diff against Morphic-mtf.521 ===============
>
> Item was changed:
> ----- Method: StringMorph>>contents: (in category 'accessing') -----
> contents: newContents
> | scanner |
> contents := newContents isText
> ifTrue: [scanner := StringMorphAttributeScanner new initializeFromStringMorph: self.
> (newContents attributesAt: 1 forStyle: self font textStyle)
> do: [:attr | attr emphasizeScanner: scanner].
> emphasis := scanner emphasis.
> + font := scanner font.
> - font := scanner font emphasis: emphasis.
> color := scanner textColor.
> newContents string]
> ifFalse: [contents = newContents
> ifTrue: [^ self].
> "no substantive change"
> newContents].
> self fitContents!
>
>
>
Changes to Trunk (http://source.squeak.org/trunk.html) in the last 24 hours:
http://lists.squeakfoundation.org/pipermail/packages/2011-March/004329.html
Name: Compiler-nice.194
Ancestors: Compiler-ul.193
Fix cascading of special messages.
During inlining of some special messages, the MessageNode selector and/or arguments might be destructively replaced.
(for example #ifFalseifTrue: ifNil:ifNotNil: etc...)
If we later decide to un-optimize, it is necessary to restore the originalSelector and originalArguments.
(for example when these messages are cascaded)
Also fix a bug occuring when decompiling these cascaded specials.
Thanks to Juan for testing/enhancing this useless but beautiful stuff.
TODO: automate some tests.
=============================================
http://lists.squeakfoundation.org/pipermail/packages/2011-March/004330.html
Name: ToolBuilder-Kernel-dtl.41
Ancestors: ToolBuilder-Kernel-cmm.40
A Project has a UIManager, and a UIManager has a ToolBuilder, so add #toolBuilder ivar to UIManager and initialize accordingly. This facilitates setting up the appropriate UIManager and ToolBuilder to allow SMxMorphicProject to host a SimpleMorphic world.
=============================================
http://lists.squeakfoundation.org/pipermail/packages/2011-March/004331.html
Name: ToolBuilder-MVC-dtl.23
Ancestors: ToolBuilder-MVC-laza.22
Initialize new MVCUIManager with an MVCToolBuilder
=============================================
http://lists.squeakfoundation.org/pipermail/packages/2011-March/004332.html
Name: ToolBuilder-Morphic-dtl.71
Ancestors: ToolBuilder-Morphic-mtf.70
Initialize new MorphicUIManager with a MorphicToolBuilder
=============================================
David T. Lewis uploaded a new version of ToolBuilder-Morphic to project The Trunk:
http://source.squeak.org/trunk/ToolBuilder-Morphic-dtl.71.mcz
==================== Summary ====================
Name: ToolBuilder-Morphic-dtl.71
Author: dtl
Time: 4 March 2011, 5:20:31.788 pm
UUID: f748d19b-d312-48ff-9c3f-af77692e0ec0
Ancestors: ToolBuilder-Morphic-mtf.70
Initialize new MorphicUIManager with a MorphicToolBuilder
=============== Diff against ToolBuilder-Morphic-mtf.70 ===============
Item was added:
+ ----- Method: MorphicUIManager>>initialize (in category 'initialize-release') -----
+ initialize
+ toolBuilder := MorphicToolBuilder new!
David T. Lewis uploaded a new version of ToolBuilder-MVC to project The Trunk:
http://source.squeak.org/trunk/ToolBuilder-MVC-dtl.23.mcz
==================== Summary ====================
Name: ToolBuilder-MVC-dtl.23
Author: dtl
Time: 4 March 2011, 5:20:03.368 pm
UUID: 35891eb4-b79a-43df-8bf7-95f778683857
Ancestors: ToolBuilder-MVC-laza.22
Initialize new MVCUIManager with an MVCToolBuilder
=============== Diff against ToolBuilder-MVC-laza.22 ===============
Item was added:
+ ----- Method: MVCUIManager>>initialize (in category 'initialize-release') -----
+ initialize
+ toolBuilder := MVCToolBuilder new!
David T. Lewis uploaded a new version of ToolBuilder-Kernel to project The Trunk:
http://source.squeak.org/trunk/ToolBuilder-Kernel-dtl.41.mcz
==================== Summary ====================
Name: ToolBuilder-Kernel-dtl.41
Author: dtl
Time: 4 March 2011, 5:19:11.522 pm
UUID: e63cb488-9f69-4799-b501-4a112f592b3a
Ancestors: ToolBuilder-Kernel-cmm.40
A Project has a UIManager, and a UIManager has a ToolBuilder, so add #toolBuilder ivar to UIManager and initialize accordingly. This facilitates setting up the appropriate UIManager and ToolBuilder to allow SMxMorphicProject to host a SimpleMorphic world.
=============== Diff against ToolBuilder-Kernel-cmm.40 ===============
Item was changed:
----- Method: ToolBuilder class>>default (in category 'accessing') -----
default
"Answer the default tool builder"
+ ^Default ifNil: [Default := self findDefault]!
- | builderClass |
- ^Default ifNil:[
- "Note: The way the following is phrased ensures that you can always make 'more specific' builders merely by subclassing a tool builder and implementing a more specific way of reacting to #isActiveBuilder. For example, a BobsUIToolBuilder can subclass MorphicToolBuilder and (if enabled, say Preferences useBobsUITools) will be considered before the parent (generic MorphicToolBuilder)."
- builderClass := self allSubclasses
- detect:[:any| any isActiveBuilder and:[
- any subclasses noneSatisfy:[:sub| sub isActiveBuilder]]] ifNone:[nil].
- builderClass ifNotNil:[builderClass new]]!
Item was added:
+ ----- Method: ToolBuilder class>>findDefault (in category 'accessing') -----
+ findDefault
+ "Answer a default tool builder"
+ | builderClass |
+ "Note: The way the following is phrased ensures that you can always make 'more specific' builders merely by subclassing a tool builder and implementing a more specific way of reacting to #isActiveBuilder. For example, a BobsUIToolBuilder can subclass MorphicToolBuilder and (if enabled, say Preferences useBobsUITools) will be considered before the parent (generic MorphicToolBuilder)."
+ builderClass := self allSubclasses
+ detect:[:any| any isActiveBuilder and:[
+ any subclasses noneSatisfy:[:sub| sub isActiveBuilder]]] ifNone:[nil].
+ builderClass ifNotNil: [^builderClass new].
+ ^self error: 'ToolBuilder not found'!
Item was changed:
Object subclass: #UIManager
+ instanceVariableNames: 'toolBuilder'
- instanceVariableNames: ''
classVariableNames: ''
poolDictionaries: ''
category: 'ToolBuilder-Kernel'!
!UIManager commentStamp: 'dtl 5/2/2010 16:06' prior: 0!
UIManager is a dispatcher for various user interface requests, such as menu and dialog interactions. An instance of UIManager is associated with each Project to implement the appropriate functions for Morphic, MVC or other user interfaces.!
Item was added:
+ ----- Method: UIManager>>toolBuilder (in category 'accessing') -----
+ toolBuilder
+ ^toolBuilder ifNil: [toolBuilder := ToolBuilder default]!
commits(a)source.squeak.org wrote:
> Nicolas Cellier uploaded a new version of Compiler to project The Trunk:
> http://source.squeak.org/trunk/Compiler-nice.194.mcz
>
> ==================== Summary ====================
>
> Name: Compiler-nice.194
> Author: nice
> Time: 4 March 2011, 4:51:51.372 am
> UUID: de6fad00-fa6c-4622-9c03-046113d7e4fe
> Ancestors: Compiler-ul.193
>
> Fix cascading of special messages.
>
> During inlining of some special messages, the MessageNode selector and/or arguments might be destructively replaced.
> (for example #ifFalseifTrue: ifNil:ifNotNil: etc...)
>
> If we later decide to un-optimize, it is necessary to restore the originalSelector and originalArguments.
> (for example when these messages are cascaded)
>
> Also fix a bug occuring when decompiling these cascaded specials.
>
> Thanks to Juan for testing/enhancing this useless but beautiful stuff.
>
Not sure if useless. It helps make the language more consistent and has
educational value. Indeed it is beautiful stuff!
Thanks Nicolas.
Cheers,
Juan Vuletich
The server for http://seaside.gemstone.com/ss is being moved to the
VMWare corporate data center tonight and the old site will be shut down
at 9pm. We expect it to take a couple of hours for the new DNS to
propagate so the new site will be available at 11pm.
Aaron will be monitoring the gemstone beta list at:
http://seaside.gemstone.com/mailman/listinfo/beta
Feel free to post any questions or problems to that list and Aaron will
respond.
Folks using Metacello, shouldn't notice a problem because an alternate
Metacello repository is maintained at:
http://www.squeaksource.com/metacello.html
and the Metacello loader should automatically switch to the repository
if GemSource isn't available.
Dale
On 2011/03/03 23:20, commits(a)source.squeak.org wrote:
> A new version of ToolsTests was added to project The Inbox:
> http://source.squeak.org/inbox/ToolsTests-fbs.7.mcz
>
> ==================== Summary ====================
>
> Name: ToolsTests-fbs.7
> Author: fbs
> Time: 3 March 2011, 11:16:07.095 pm
> UUID: 093622b6-d1fd-4d44-9ee0-0f017d21ee80
> Ancestors: ToolsTests-tbn.5
>
> Woefully inadequate test suite for Tools-fbs.300's extensive refactoring.
>
> =============== Diff against ToolsTests-tbn.5 ===============
In particular, because I don't access the right mouse menu on my Windows
machine for some reason or other, I haven't tested
add/removeSystemCategory. For the same reason, I haven't been able to
categorise the methods correctly.
I will at some stage, when I can right-click/alt-click once more, clean
up my mess!
frank