Marcel Taeumel uploaded a new version of 60Deprecated to project The Trunk:
http://source.squeak.org/trunk/60Deprecated-mt.97.mcz
==================== Summary ====================
Name: 60Deprecated-mt.97
Author: mt
Time: 18 November 2021, 5:00:41.390305 pm
UUID: cb131d95-78fd-5c4f-958f-67eb591ac085
Ancestors: 60Deprecated-ul.96
System-mt.1246
=============== Diff against 60Deprecated-ul.96 ===============
Item was added:
+ ----- Method: SystemNavigation>>confirmRemovalOf:on: (in category '*60Deprecated-ui') -----
+ confirmRemovalOf: aSelector on: aClass
+ "Determine if it is okay to remove the given selector. Answer 1 if it should be removed, 2 if it should be removed followed by a senders browse, and 3 if it should not be removed."
+
+ self deprecated: 'Use #confirmAndRemoveSelector:class: instead.'.
+ self confirmAndRemoveSelector: aSelector class: aClass.
+ ^ 3 "Nothing useful to do anymore. Might produce UI glitches but better to not carry over the old code any longer"!
Marcel Taeumel uploaded a new version of Protocols to project The Trunk:
http://source.squeak.org/trunk/Protocols-mt.82.mcz
==================== Summary ====================
Name: Protocols-mt.82
Author: mt
Time: 18 November 2021, 5:00:01.029305 pm
UUID: 8df3746e-a1cd-4d42-94e1-da645bfb383d
Ancestors: Protocols-nice.81, Protocols-ct.78
System-mt.1246
=============== Diff against Protocols-nice.81 ===============
Item was changed:
----- Method: Lexicon>>removeMessage (in category 'menu commands') -----
removeMessage
- "Remove the selected message from the system."
+ super removeMessage ifFalse: [^ false].
+
- messageListIndex = 0 ifTrue: [^ self].
- self okToChange ifFalse: [^ self].
-
- super removeMessage.
"my #reformulateList method, called from the super #removeMethod method, will however try to preserve the selection, so we take pains to clobber it by the below..."
messageListIndex := 0.
self changed: #messageList.
self changed: #messageListIndex.
contents := nil.
+ self contentsChanged.
+
+ ^ true!
- self contentsChanged!
Marcel Taeumel uploaded a new version of Kernel to project The Trunk:
http://source.squeak.org/trunk/Kernel-mt.1422.mcz
==================== Summary ====================
Name: Kernel-mt.1422
Author: mt
Time: 18 November 2021, 10:45:17.4222 am
UUID: f0579623-5590-5e47-a848-0569491d6458
Ancestors: Kernel-mt.1421
Adds support for block-arg in caseOf's otherwise clause.
See discussions here:
- http://lists.squeakfoundation.org/pipermail/squeak-dev/2020-February/207261…
- http://lists.squeakfoundation.org/pipermail/squeak-dev/2020-March/207963.ht…
=============== Diff against Kernel-mt.1421 ===============
Item was changed:
----- Method: Object>>caseOf:otherwise: (in category 'casing') -----
caseOf: aBlockAssociationCollection otherwise: aBlock
+ "The elements of aBlockAssociationCollection are associations between blocks. Answer the evaluated value of the first association in aBlockAssociationCollection whose evaluated key equals the receiver. If no match is found, answer the result of evaluating aBlock."
- "The elements of aBlockAssociationCollection are associations between blocks.
- Answer the evaluated value of the first association in aBlockAssociationCollection
- whose evaluated key equals the receiver. If no match is found, answer the result
- of evaluating aBlock."
aBlockAssociationCollection associationsDo:
[:assoc | (assoc key value = self) ifTrue: [^assoc value value]].
+ ^ aBlock cull: self
- ^ aBlock value
"| z | z := {[#a]->[1+1]. ['b' asSymbol]->[2+2]. [#c]->[3+3]}. #b caseOf: z otherwise: [0]"
"| z | z := {[#a]->[1+1]. ['d' asSymbol]->[2+2]. [#c]->[3+3]}. #b caseOf: z otherwise: [0]"
"The following are compiled in-line:"
"#b caseOf: {[#a]->[1+1]. ['b' asSymbol]->[2+2]. [#c]->[3+3]} otherwise: [0]"
+ "#b caseOf: {[#a]->[1+1]. ['d' asSymbol]->[2+2]. [#c]->[3+3]} otherwise: [0]"
+ "#b caseOf: {[#a]->[1+1]. ['d' asSymbol]->[2+2]. [#c]->[3+3]} otherwise: [:x | x halt]"!
- "#b caseOf: {[#a]->[1+1]. ['d' asSymbol]->[2+2]. [#c]->[3+3]} otherwise: [0]"!
Marcel Taeumel uploaded a new version of ReleaseBuilder to project The Trunk:
http://source.squeak.org/trunk/ReleaseBuilder-mt.218.mcz
==================== Summary ====================
Name: ReleaseBuilder-mt.218
Author: mt
Time: 18 November 2021, 10:16:36.998448 am
UUID: 300238f1-5d04-a54e-94e9-7f349f220b76
Ancestors: ReleaseBuilder-mt.217
Adds commentary about the balloon form.
=============== Diff against ReleaseBuilder-mt.217 ===============
Item was changed:
----- Method: ReleaseBuilder class>>getBalloonForm (in category 'scripts - ui') -----
getBalloonForm
+ "Note that the CI will provide the file during image preparation. See:
+ - https://github.com/squeak-smalltalk/squeak-app/blob/squeak-trunk/icons/ball…
+ - https://github.com/squeak-smalltalk/squeak-app/actions"
^ (FileDirectory default fileExists: 'balloon.png')
ifFalse: [nil]
ifTrue: [Form fromFileNamed: 'balloon.png']!