On Fri, 30 Mar 2012, commits(a)source.squeak.org wrote:
> Chris Muller uploaded a new version of Morphic to project The Trunk:
> http://source.squeak.org/trunk/Morphic-cmm.606.mcz
>
> ==================== Summary ====================
>
> Name: Morphic-cmm.606
> Author: cmm
> Time: 5 January 2012, 10:12:46.114 pm
> UUID: b3bb5602-a323-4e67-a26d-236676c67c76
> Ancestors: Morphic-laza.605
>
> Pick up halo to behave the same as a red-button grab.
This change has an unwelcome side effect. When you pick up a morph
with the halo, then it will move away, so that the center of the morph
will be under your mouse pointer.
Levente
>
> =============== Diff against Morphic-laza.605 ===============
>
> Item was changed:
> ----- Method: HaloMorph>>doGrab:with: (in category 'private') -----
> doGrab: evt with: grabHandle
> "Ask hand to grab my target."
>
> self obtainHaloForEvent: evt andRemoveAllHandlesBut: grabHandle.
> + evt hand attachMorph: target.
> - evt hand grabMorph: target.
> self step. "update position if necessary"
> evt hand addMouseListener: self. "Listen for the drop"!
>
>
>
Hi there,
I've just started a Vancouver Smalltalk Developer Meetup group. If
you're in the area, it would great to meet around a beer and some
lightning talks.
Cheers,
Francois
--
http://tulipemoutarde.be
CA: +1 778 558 3225
BE: +32 65 709 131
Eliot Miranda uploaded a new version of System to project The Trunk:
http://source.squeak.org/trunk/System-eem.481.mcz
==================== Summary ====================
Name: System-eem.481
Author: eem
Time: 3 April 2012, 9:06:18.247 am
UUID: 97503ce3-a3ad-4e56-af2c-cfde9e93ce52
Ancestors: System-eem.480
browseAllSelect:localToPackage:
=============== Diff against System-eem.480 ===============
Item was added:
+ ----- Method: SystemNavigation>>browseAllSelect:localToPackage: (in category 'browse') -----
+ browseAllSelect: aBlock localToPackage: packageNameOrInfo
+ "Create and schedule a message browser on each method in the given package
+ that, when used as the block argument to aBlock answers true. For example,
+ (SystemNavigation new
+ browseAllSelect: [:method | method scanFor: 138]
+ localToPackage: #System.)"
+ ^self
+ browseMessageList: (self allMethodsSelect: aBlock localToPackage: packageNameOrInfo)
+ name: 'selected messages local to package ', (self packageInfoFor: packageNameOrInfo) name!
Colin Putney uploaded a new version of ToolBuilder-SUnit to project The Trunk:
http://source.squeak.org/trunk/ToolBuilder-SUnit-cwp.17.mcz
==================== Summary ====================
Name: ToolBuilder-SUnit-cwp.17
Author: cwp
Time: 8 November 2011, 9:53:01.848 am
UUID: b7de7d2a-03cb-421d-96c6-af47ecff0439
Ancestors: ToolBuilder-SUnit-cwp.16
Added a default value for CompositeStub>>children.
=============== Diff against ToolBuilder-SUnit-cwp.16 ===============
Item was changed:
----- Method: CompositeStub>>children (in category 'accessing') -----
children
+ ^ state at: #children ifAbsent: [#()]!
- ^ state at: #children!
Colin Putney uploaded a new version of ToolBuilder-Morphic to project The Trunk:
http://source.squeak.org/trunk/ToolBuilder-Morphic-cwp.83.mcz
==================== Summary ====================
Name: ToolBuilder-Morphic-cwp.83
Author: cwp
Time: 22 November 2011, 9:22:53.997 pm
UUID: a68565e9-cad9-439f-a9fb-85c5f168cd74
Ancestors: ToolBuilder-Morphic-cmm.82
Extended PluggableTextMorphPlus to support a getMenuSelector with 3 arguments. The third argument, if present, will be the current selection interval.
=============== Diff against ToolBuilder-Morphic-cmm.82 ===============
Item was added:
+ ----- Method: PluggableTextMorphPlus>>getMenu: (in category 'menu') -----
+ getMenu: shiftKeyState
+ "Answer the menu for this text view. We override the superclass implementation to
+ so we can give the selection interval to the model."
+
+ | menu aMenu |
+ getMenuSelector == nil ifTrue: [^ nil].
+ getMenuSelector numArgs < 3 ifTrue: [^ super getMenu: shiftKeyState].
+ menu := MenuMorph new defaultTarget: model.
+ getMenuSelector numArgs = 3 ifTrue:
+ [aMenu := model
+ perform: getMenuSelector
+ with: menu
+ with: shiftKeyState
+ with: self selectionInterval.
+ getMenuTitleSelector ifNotNil:
+ [aMenu addTitle: (model perform: getMenuTitleSelector)].
+ ^ aMenu].
+ ^ self error: 'The getMenuSelector must be a 1- or 2 or 3-keyword symbol'!
Colin Putney uploaded a new version of ToolBuilder-Kernel to project The Trunk:
http://source.squeak.org/trunk/ToolBuilder-Kernel-cwp.53.mcz
==================== Summary ====================
Name: ToolBuilder-Kernel-cwp.53
Author: cwp
Time: 8 December 2011, 1:00:37 pm
UUID: 1f09affc-a701-45ed-9224-925fc91a13a2
Ancestors: ToolBuilder-Kernel-cmm.52
Added icon support for ToolBuilder-Morphic.
=============== Diff against ToolBuilder-Kernel-cmm.52 ===============
Item was changed:
PluggableWidgetSpec subclass: #PluggableListSpec
+ instanceVariableNames: 'list getIndex setIndex getSelected setSelected menu keyPress autoDeselect dragItem dropItem dropAccept doubleClick listSize listItem keystrokePreview icon'
- instanceVariableNames: 'list getIndex setIndex getSelected setSelected menu keyPress autoDeselect dragItem dropItem dropAccept doubleClick listSize listItem keystrokePreview'
classVariableNames: ''
poolDictionaries: ''
category: 'ToolBuilder-Kernel'!
!PluggableListSpec commentStamp: 'ar 7/15/2005 11:54' prior: 0!
A single selection list element.
Instance variables:
list <Symbol> The selector to retrieve the list elements.
getIndex <Symbol> The selector to retrieve the list selection index.
setIndex <Symbol> The selector to set the list selection index.
getSelected <Symbol> The selector to retrieve the list selection.
setSelected <Symbol> The selector to set the list selection.
menu <Symbol> The selector to offer (to retrieve?) the context menu.
keyPress <Symbol> The selector to invoke for handling keyboard shortcuts.
autoDeselect <Boolean> Whether the list should allow automatic deselection or not.
dragItem <Symbol> Selector to initiate a drag action on an item
dropItem <Symbol> Selector to initiate a drop action of an item
dropAccept <Symbol> Selector to determine whether a drop would be accepted!
Item was added:
+ ----- Method: PluggableListSpec>>icon (in category 'accessing') -----
+ icon
+ ^ icon!
Item was added:
+ ----- Method: PluggableListSpec>>icon: (in category 'accessing') -----
+ icon: aSelector
+ icon := aSelector!