Marcel Taeumel uploaded a new version of ToolBuilder-Kernel to project The Trunk:
http://source.squeak.org/trunk/ToolBuilder-Kernel-mt.139.mcz
==================== Summary ====================
Name: ToolBuilder-Kernel-mt.139
Author: mt
Time: 4 March 2021, 3:25:37.860661 pm
UUID: a8f8f119-901d-0045-b619-a7d25e0530ef
Ancestors: ToolBuilder-Kernel-mt.138
Makes the transfer type for drag-and-drop configurable.
=============== Diff against ToolBuilder-Kernel-mt.138 ===============
Item was changed:
PluggableWidgetSpec subclass: #PluggableListSpec
+ instanceVariableNames: 'list getIndex setIndex getSelected setSelected menu keyPress autoDeselect dragItem dragType dropItem dropAccept doubleClick listSize listItem keystrokePreview icon vScrollBarPolicy hScrollBarPolicy dragStarted helpItem filterableList clearFilterAutomatically itemAlignment itemPadding'
- instanceVariableNames: 'list getIndex setIndex getSelected setSelected menu keyPress autoDeselect dragItem dropItem dropAccept doubleClick listSize listItem keystrokePreview icon vScrollBarPolicy hScrollBarPolicy dragStarted helpItem filterableList clearFilterAutomatically itemAlignment itemPadding'
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>>dragType (in category 'accessing - drag and drop') -----
+ dragType
+ "Answer the selector to determine the type that can be used configure the drop."
+
+ ^ dragType!
Item was added:
+ ----- Method: PluggableListSpec>>dragType: (in category 'accessing - drag and drop') -----
+ dragType: aSymbol
+ "Answer the selector to determine the type that can be used configure the drop."
+
+ dragType := aSymbol.!
Marcel Taeumel uploaded a new version of System to project The Trunk:
http://source.squeak.org/trunk/System-mt.1220.mcz
==================== Summary ====================
Name: System-mt.1220
Author: mt
Time: 4 March 2021, 1:35:25.601178 pm
UUID: d5324489-3128-a944-a52b-faf8d4c8ef23
Ancestors: System-mt.1219
Squeak was migrated from travis-ci.org to travis-ci.com. The former will be shutting down soon.
=============== Diff against System-mt.1219 ===============
Item was changed:
----- Method: SystemVersion>>ciStatusBadgeUrl (in category 'continuous integration') -----
ciStatusBadgeUrl
| branch |
branch := 'squeak-{1}{2}{3}' format: {
self isRelease ifTrue: [self majorVersionNumber] ifFalse: [''].
self isRelease ifTrue: ['.'] ifFalse: ['trunk'].
self isRelease ifTrue: [self minorVersionNumber] ifFalse: [''] }.
+ ^ 'https://api.travis-ci.com/squeak-smalltalk/squeak-app.png?branch=', branch!
- ^ 'https://api.travis-ci.org/squeak-smalltalk/squeak-app.png?branch=', branch!
Item was changed:
----- Method: SystemVersion>>ciStatusPageUrl (in category 'continuous integration') -----
ciStatusPageUrl
"In a release image, let the user see the overview of branches to choose from. I am not aware of a permanent link for a specific branch. In a trunk image, just let Travis report the state of the main branch, which is usually for trunk builds."
+ ^ 'http://travis-ci.com/squeak-smalltalk/squeak-app{1}' format: {
- ^ 'http://travis-ci.org/squeak-smalltalk/squeak-app{1}' format: {
self isRelease ifFalse: [''] ifTrue: ['/branches'] }!
Nicolas Cellier uploaded a new version of Collections to project The Trunk:
http://source.squeak.org/trunk/Collections-nice.928.mcz
==================== Summary ====================
Name: Collections-nice.928
Author: nice
Time: 3 March 2021, 3:29:05.70662 pm
UUID: ef9658c8-ef7e-a943-8ffc-de7546b29f2f
Ancestors: Collections-nice.927, Collections-nice.634
Merge Collections-nice.634 (Implement replace: in Dictionary)
=============== Diff against Collections-nice.927 ===============
Item was added:
+ ----- Method: Dictionary>>replace: (in category 'enumerating') -----
+ replace: aBlock
+ "Destructively replace the values in this Dictionary by applying aBlock, keeping the same keys.
+ Implementation note: subclasses not storing the key-value pairs as a list of Associations shall refine this method."
+ tally = 0 ifTrue: [ ^self].
+ 1 to: array size do: [ :index |
+ (array at: index) ifNotNil: [ :element |
+ element value: (aBlock value: element value) ] ]!
Item was added:
+ ----- Method: OrderedDictionary>>replace: (in category 'enumerating') -----
+ replace: aBlock
+ "Like super, but iterate in order."
+
+ order from: 1 to: tally do: [:each | each value: (aBlock value: each value)]!
Item was added:
+ ----- Method: WeakKeyDictionary>>replace: (in category 'enumerating') -----
+ replace: aBlock
+ "Like super except that aBlock shouldn't be invoked for any reclaimed (nil) key."
+
+ tally = 0 ifTrue: [ ^self].
+ 1 to: array size do: [ :index |
+ (array at: index) ifNotNil: [ :association |
+ association key ifNotNil: [ :key | "Don't let the key go away."
+ association value: (aBlock value: association value) ] ] ]!
Nicolas Cellier uploaded a new version of Collections to project The Trunk:
http://source.squeak.org/trunk/Collections-nice.634.mcz
==================== Summary ====================
Name: Collections-nice.634
Author: nice
Time: 6 May 2015, 11:08:55.927 pm
UUID: 4d2e458d-25c3-4b58-8df0-858fd2a6e84e
Ancestors: Collections-ul.633
Implement replace: in Dictionary
=============== Diff against Collections-ul.633 ===============
Item was added:
+ ----- Method: Dictionary>>replace: (in category 'enumerating') -----
+ replace: aBlock
+ "Destructively replace the values in this Dictionary by applying aBlock, keeping the same keys.
+ Implementation note: subclasses not storing the key-value pairs as a list of Associations shall refine this method."
+ tally = 0 ifTrue: [ ^self].
+ 1 to: array size do: [ :index |
+ (array at: index) ifNotNil: [ :element |
+ element value: (aBlock value: element value) ] ]!
Item was added:
+ ----- Method: OrderedDictionary>>replace: (in category 'enumerating') -----
+ replace: aBlock
+ "Like super, but iterate in order."
+
+ order from: 1 to: tally do: [:each | each value: (aBlock value: each value)]!
Item was added:
+ ----- Method: WeakKeyDictionary>>replace: (in category 'enumerating') -----
+ replace: aBlock
+ "Like super except that aBlock shouldn't be invoked for any reclaimed (nil) key."
+
+ tally = 0 ifTrue: [ ^self].
+ 1 to: array size do: [ :index |
+ (array at: index) ifNotNil: [ :association |
+ association key ifNotNil: [ :key | "Don't let the key go away."
+ association value: (aBlock value: association value) ] ] ]!