Marcel Taeumel uploaded a new version of Tools to project The Trunk:
http://source.squeak.org/trunk/Tools-mt.939.mcz
==================== Summary ====================
Name: Tools-mt.939
Author: mt
Time: 13 February 2020, 1:37:00.539714 pm
UUID: 21f18a61-361d-5348-9980-f95b1aa13203
Ancestors: Tools-ct.938
In debuggers, fixes the bug that occurred when fullStackSize is smaller than notifierStackSize.
Such a configuration is not useful but can happen when those preferences are changed independently for different reasons.
(Also completes a move-method from that merge in Help-Squeak-Project-mt.74)
=============== Diff against Tools-ct.938 ===============
Item was changed:
----- Method: Debugger>>expandStack (in category 'context stack - message list') -----
expandStack
"Show a substantial amount of stack in the context pane."
self okToChange ifFalse: [^ self].
+ self newStack: (self contextStackTop stackOfSize: (self class fullStackSize max: self class notifierStackSize)).
- self newStack: (self contextStackTop stackOfSize: self class fullStackSize).
self changed: #contextStackList.
!
Item was removed:
- ----- Method: VersionsBrowser>>offerVersionsHelp (in category 'menu') -----
- offerVersionsHelp
- (StringHolder new contents: self versionsHelpString)
- openLabel: 'Versions Browsers'!
Tobias Pape uploaded a new version of EToys to project The Trunk:
http://source.squeak.org/trunk/EToys-ct.363.mcz
==================== Summary ====================
Name: EToys-ct.363
Author: ct
Time: 2 October 2019, 11:32:21.874682 pm
UUID: 9ea0f00e-e94b-dd42-a987-c8b0816b31a6
Ancestors: EToys-mt.357
Complements Tools-ct.902 (deprecate Inspector constructors)
=============== Diff against EToys-mt.357 ===============
Item was changed:
----- Method: HtmlEntity>>inspect (in category 'user interface') -----
inspect
"Open an HtmlEntityInspector on the receiver.
Use basicInspect to get a normal type of inspector."
+ HtmlEntityInspector openOn: self!
- HtmlEntityInspector openOn: self withEvalPane: true!
Item was changed:
----- Method: HtmlEntity>>inspectWithLabel: (in category 'user interface') -----
inspectWithLabel: aLabel
"Open a HtmlEntityInspector on the receiver. Use basicInspect to get a normal (less useful) type of inspector."
+ HtmlEntityInspector openOn: self withLabel: aLabel!
- HtmlEntityInspector openOn: self withEvalPane: true withLabel: aLabel!
Tobias Pape uploaded a new version of Tools to project The Trunk:
http://source.squeak.org/trunk/Tools-ct.938.mcz
==================== Summary ====================
Name: Tools-ct.938
Author: ct
Time: 13 February 2020, 12:15:51.607118 am
UUID: a99435a2-f265-504e-8a4f-1cf790eb1887
Ancestors: Tools-topa.931
Overrides #canonicalArgumentName for Text. You don't want to get a generated method stub such as 'setText: anArray'.
=============== Diff against Tools-topa.931 ===============
Item was added:
+ ----- Method: Text>>canonicalArgumentName (in category '*Tools-Debugger') -----
+ canonicalArgumentName
+ ^ 'Text'!
Tobias Pape uploaded a new version of Collections to project The Trunk:
http://source.squeak.org/trunk/Collections-topa.873.mcz
==================== Summary ====================
Name: Collections-topa.873
Author: topa
Time: 11 February 2020, 1:29:50.690328 pm
UUID: 45abc260-998e-4352-89cb-2e33b4f4b59c
Ancestors: Collections-ul.872
Fix browser-dependency of Collections
=============== Diff against Collections-ul.872 ===============
Item was removed:
- ----- Method: Text>>askIfAddStyle:req: (in category 'attributes') -----
- askIfAddStyle: priorMethod req: requestor
- "Ask the user if we have a complex style (i.e. bold) for the first time"
- | tell answ old |
- (SystemBrowser browseWithPrettyPrint)
- ifTrue: [self couldDeriveFromPrettyPrinting ifTrue: [^ self asString]].
- self runs coalesce.
- self unembellished ifTrue: [^ self asString].
- priorMethod ifNotNil: [old := priorMethod getSourceFromFile].
- (old == nil or: [old unembellished])
- ifTrue:
- [tell := 'This method contains style for the first time (e.g. bold or colored text).
- Do you really want to save the style info?'.
- answ := (UIManager default
- chooseFrom: #('Save method with style' 'Save method simply')
- title: tell).
- answ = 2 ifTrue: [^ self asString]]!
Tobias Pape uploaded a new version of Tools to project The Trunk:
http://source.squeak.org/trunk/Tools-topa.931.mcz
==================== Summary ====================
Name: Tools-topa.931
Author: topa
Time: 11 February 2020, 1:29:25.688537 pm
UUID: 1a957e2d-e3bf-49a5-84a5-2333e6f0d587
Ancestors: Tools-topa.930
Fix browser-dependency of Collections
=============== Diff against Tools-topa.930 ===============
Item was added:
+ ----- Method: Text>>askIfAddStyle:req: (in category '*Tools-attributes') -----
+ askIfAddStyle: priorMethod req: requestor
+ "Ask the user if we have a complex style (i.e. bold) for the first time"
+ | tell answ old |
+ (SystemBrowser browseWithPrettyPrint)
+ ifTrue: [self couldDeriveFromPrettyPrinting ifTrue: [^ self asString]].
+ self runs coalesce.
+ self unembellished ifTrue: [^ self asString].
+ priorMethod ifNotNil: [old := priorMethod getSourceFromFile].
+ (old == nil or: [old unembellished])
+ ifTrue:
+ [tell := 'This method contains style for the first time (e.g. bold or colored text).
+ Do you really want to save the style info?'.
+ answ := (UIManager default
+ chooseFrom: #('Save method with style' 'Save method simply')
+ title: tell).
+ answ = 2 ifTrue: [^ self asString]]!
Levente Uzonyi uploaded a new version of Collections to project The Trunk:
http://source.squeak.org/trunk/Collections-ul.872.mcz
==================== Summary ====================
Name: Collections-ul.872
Author: ul
Time: 4 February 2020, 1:26:07.104018 pm
UUID: 735423f6-6dbb-4f4a-b2a7-f311cc7e8806
Ancestors: Collections-nice.870
Various performance tweaks in a single commit:
- be straightforward in Dictionary >> #fillFrom:with:
- when aCollection is a Dictionary use #associationsDo:, as it very likely it has associations, and it's faster than #keysAndValuesDo:
- when it's not a Dictionary, use #do: instead of #associationsDo:, because the former is what we can expect a Collection to implement
- use existing search methods in String >> #findDelimiters:startingAt:, because those are faster, and there's no need to reinvent the wheel. All users other than #findTokens:* should be rewritten to use #indexOfAnyOf:* instead.
- almost twice as fast (amortized cost) Symbol >> #lookup: for existing symbols
(Same as Collections-ul.869 in the Treated Inbox but with updated Trunk ancestry.)
=============== Diff against Collections-nice.870 ===============
Item was changed:
----- Method: Dictionary>>fillFrom:with: (in category 'private') -----
fillFrom: aCollection with: aBlock
"Evaluate aBlock with each of aCollections's elements as the argument.
Collect the resulting values into self. Answer self."
aCollection isDictionary
+ ifFalse: [
+ aCollection do: [ :element |
+ self add: (aBlock value: element) ] ]
+ ifTrue: [
+ aCollection associationsDo: [ :association |
+ self at: association key put: (aBlock value: association value) ] ]!
- ifFalse:
- [aCollection associationsDo:
- [ :element | self add: (aBlock value: element)]]
- ifTrue:
- [aCollection keysAndValuesDo:
- [ :key :value | self at: key put: (aBlock value: value)]]!
Item was changed:
----- Method: String>>findDelimiters:startingAt: (in category 'accessing') -----
findDelimiters: delimiters startingAt: start
"Answer the index of the character within the receiver, starting at start, that matches one of the delimiters. If the receiver does not contain any of the delimiters, answer size + 1."
+ delimiters size = 1 ifTrue: [ ^self indexOf: delimiters anyOne startingAt: start ifAbsent: self size + 1 ].
+ ^self indexOfAnyOf: delimiters startingAt: start ifAbsent: self size + 1!
- start to: self size do: [:i |
- delimiters do: [:delim | delim = (self at: i) ifTrue: [^ i]]].
- ^ self size + 1!
Item was changed:
----- Method: Symbol class>>lookup: (in category 'instance creation') -----
lookup: aStringOrSymbol
| originalNewSymbols originalSymbolTable |
originalNewSymbols := NewSymbols.
originalSymbolTable := SymbolTable.
+ ^(originalSymbolTable like: aStringOrSymbol) ifNil: [
+ originalNewSymbols like: aStringOrSymbol ]!
- ^(originalNewSymbols like: aStringOrSymbol) ifNil: [
- originalSymbolTable like: aStringOrSymbol ]!