HI All,
Hope everyone is doing well. Would anyone like to join the Squeak News Team
to post articles on news.squeak.org. Please contact me if you are
interested in helping out. I haven't had much time lately. I could use the
help.
All the best,
Ron Teitelbaum
Eliot Miranda uploaded a new version of System to project The Trunk:
http://source.squeak.org/trunk/System-eem.712.mcz
==================== Summary ====================
Name: System-eem.712
Author: eem
Time: 27 March 2015, 5:04:05.02 pm
UUID: a8efc46a-90e7-449f-bfae-88a53ef28257
Ancestors: System-cmm.711
Fix allStoresInto: for pool variables. Shared pools are
inherited and don't have to be declared in each subclass.
=============== Diff against System-cmm.711 ===============
Item was changed:
----- Method: SystemNavigation>>allStoresInto:from: (in category 'query') -----
allStoresInto: varName from: aClass
"Answer a sequence of MewthodReferences for all the receiver's methods
or any methods of a subclass/superclass that assign to the instance variable name."
"self new allStoresInto: 'contents' from: Collection."
+ | result roots |
- | result |
result := OrderedCollection new.
(aClass theNonMetaClass inheritsFrom: SharedPool) ifTrue:
+ [roots := self allClasses select: [:class| class sharedPools includes: aClass theNonMetaClass].
+ roots do:
+ [:root|
+ root withAllSubclassesDo:
+ [:class|
+ (class whichMethodsStoreInto: varName),
+ (class class whichMethodsStoreInto: varName) do:
- [self allBehaviorsDo:
- [:class|
- (class theNonMetaClass sharedPools includes: aClass theNonMetaClass) ifTrue:
- [(class whichMethodsStoreInto: varName) do:
[:eachMethod|
+ result add: eachMethod methodReference]]]].
- result add: eachMethod methodReference]]]].
aClass withAllSubAndSuperclassesDo:
[ : class |
+ (class whichMethodsStoreInto: varName),
+ (class class whichMethodsStoreInto: varName) do:
- (class whichMethodsStoreInto: varName) do:
[ : eachMethod |
result add: eachMethod methodReference ] ].
^result!
Tobias Pape uploaded a new version of Tools to project The Trunk:
http://source.squeak.org/trunk/Tools-topa.563.mcz
==================== Summary ====================
Name: Tools-topa.563
Author: topa
Time: 27 March 2015, 12:27:31.114 am
UUID: 7fb2f85e-8ba3-4ec4-be83-3c9275f7f80b
Ancestors: Tools-topa.562
Fix menu entry sort to actually match (intended) description
=============== Diff against Tools-topa.562 ===============
Item was changed:
----- Method: StringHolder>>menuBuildersFor:in: (in category '*Tools-pluggable menus') -----
menuBuildersFor: someMenus in: aClass
"Find all builders and sort them by
1. Priority (default 500)
2. selector name
3. inheritance
"
^ (self menuPragmasFor: someMenus in: aClass) sorted: [:a :b |
|ma mb pa pb|
ma := a method.
mb := b method.
pa := self methodMenuPriority: ma.
pb := self methodMenuPriority: mb.
+ pa <= pb or: [
- pa < pb or: [
pa = pb and: [
ma selector <= mb selector and: [
mb methodClass inheritsFrom: ma methodClass]]]]
!
Thanks, these slipped when ported from Etoys…
Best
-Tobias
On 26.03.2015, at 22:27, commits(a)source.squeak.org wrote:
> Chris Muller uploaded a new version of TrueType to project The Trunk:
> http://source.squeak.org/trunk/TrueType-cmm.35.mcz
>
> ==================== Summary ====================
>
> Name: TrueType-cmm.35
> Author: cmm
> Time: 26 March 2015, 5:27:01.756 pm
> UUID: 93cf2b3b-dd5a-477f-b8d2-e2b3de539016
> Ancestors: TrueType-topa.34
>
> Ran FixUnderscores on this package.
>
> =============== Diff against TrueType-topa.34 ===============
>
> Item was changed: