Nicolas Cellier uploaded a new version of Collections to project The Trunk:
http://source.squeak.org/trunk/Collections-nice.622.mcz
==================== Summary ====================
Name: Collections-nice.622
Author: nice
Time: 1 May 2015, 12:40:25.475 am
UUID: 93c764da-c5b6-4fa6-aa98-a9ad54611907
Ancestors: Collections-mt.621
#toBraceStack: is not used for compiling { } for so long that it's really time to get rid of it.
Symbol>>numArgs: does not need to copy self into a temp var.
=============== Diff against Collections-mt.621 ===============
Item was removed:
- ----- Method: Collection>>toBraceStack: (in category 'private') -----
- toBraceStack: itsSize
- "Push receiver's elements onto the stack of thisContext sender. Error if receiver does
- not have itsSize elements or if receiver is unordered.
- Do not call directly: this is called by {a. b} := ... constructs."
-
- self size ~= itsSize ifTrue:
- [self error: 'Trying to store ', self size printString,
- ' values into ', itsSize printString, ' variables.'].
- thisContext sender push: itsSize fromIndexable: self!
Item was changed:
----- Method: Symbol>>numArgs: (in category 'system primitives') -----
numArgs: n
"Answer a string that can be used as a selector with n arguments.
TODO: need to be extended to support shrinking and for selectors like #+ "
+ | numArgs aStream offs |.
+ (numArgs := self numArgs) >= n ifTrue: [^self].
- | selector numArgs aStream offs |
-
- selector := self.
- (numArgs := selector numArgs) >= n ifTrue: [^self].
aStream := WriteStream on: (String new: 16).
aStream nextPutAll: self.
(numArgs = 0) ifTrue: [aStream nextPutAll: ':'. offs := 0] ifFalse: [offs := 1].
2 to: n - numArgs + offs do: [:i | aStream nextPutAll: 'with:'].
+ ^aStream contents asSymbol!
- ^aStream contents asSymbol
-
- !
Nicolas Cellier uploaded a new version of Collections to project The Trunk:
http://source.squeak.org/trunk/Collections-nice.622.mcz
==================== Summary ====================
Name: Collections-nice.622
Author: nice
Time: 1 May 2015, 12:40:25.475 am
UUID: 93c764da-c5b6-4fa6-aa98-a9ad54611907
Ancestors: Collections-mt.621
#toBraceStack: is not used for compiling { } for so long that it's really time to get rid of it.
Symbol>>numArgs: does not need to copy self into a temp var.
=============== Diff against Collections-mt.621 ===============
Item was removed:
- ----- Method: Collection>>toBraceStack: (in category 'private') -----
- toBraceStack: itsSize
- "Push receiver's elements onto the stack of thisContext sender. Error if receiver does
- not have itsSize elements or if receiver is unordered.
- Do not call directly: this is called by {a. b} := ... constructs."
-
- self size ~= itsSize ifTrue:
- [self error: 'Trying to store ', self size printString,
- ' values into ', itsSize printString, ' variables.'].
- thisContext sender push: itsSize fromIndexable: self!
Item was changed:
----- Method: Symbol>>numArgs: (in category 'system primitives') -----
numArgs: n
"Answer a string that can be used as a selector with n arguments.
TODO: need to be extended to support shrinking and for selectors like #+ "
+ | numArgs aStream offs |.
+ (numArgs := self numArgs) >= n ifTrue: [^self].
- | selector numArgs aStream offs |
-
- selector := self.
- (numArgs := selector numArgs) >= n ifTrue: [^self].
aStream := WriteStream on: (String new: 16).
aStream nextPutAll: self.
(numArgs = 0) ifTrue: [aStream nextPutAll: ':'. offs := 0] ifFalse: [offs := 1].
2 to: n - numArgs + offs do: [:i | aStream nextPutAll: 'with:'].
+ ^aStream contents asSymbol!
- ^aStream contents asSymbol
-
- !
Nicolas Cellier uploaded a new version of Collections to project The Trunk:
http://source.squeak.org/trunk/Collections-nice.622.mcz
==================== Summary ====================
Name: Collections-nice.622
Author: nice
Time: 1 May 2015, 12:40:25.475 am
UUID: 93c764da-c5b6-4fa6-aa98-a9ad54611907
Ancestors: Collections-mt.621
#toBraceStack: is not used for compiling { } for so long that it's really time to get rid of it.
Symbol>>numArgs: does not need to copy self into a temp var.
=============== Diff against Collections-mt.621 ===============
Item was removed:
- ----- Method: Collection>>toBraceStack: (in category 'private') -----
- toBraceStack: itsSize
- "Push receiver's elements onto the stack of thisContext sender. Error if receiver does
- not have itsSize elements or if receiver is unordered.
- Do not call directly: this is called by {a. b} := ... constructs."
-
- self size ~= itsSize ifTrue:
- [self error: 'Trying to store ', self size printString,
- ' values into ', itsSize printString, ' variables.'].
- thisContext sender push: itsSize fromIndexable: self!
Item was changed:
----- Method: Symbol>>numArgs: (in category 'system primitives') -----
numArgs: n
"Answer a string that can be used as a selector with n arguments.
TODO: need to be extended to support shrinking and for selectors like #+ "
+ | numArgs aStream offs |.
+ (numArgs := self numArgs) >= n ifTrue: [^self].
- | selector numArgs aStream offs |
-
- selector := self.
- (numArgs := selector numArgs) >= n ifTrue: [^self].
aStream := WriteStream on: (String new: 16).
aStream nextPutAll: self.
(numArgs = 0) ifTrue: [aStream nextPutAll: ':'. offs := 0] ifFalse: [offs := 1].
2 to: n - numArgs + offs do: [:i | aStream nextPutAll: 'with:'].
+ ^aStream contents asSymbol!
- ^aStream contents asSymbol
-
- !
Nicolas Cellier uploaded a new version of System to project The Trunk:
http://source.squeak.org/trunk/System-nice.731.mcz
==================== Summary ====================
Name: System-nice.731
Author: nice
Time: 30 April 2015, 11:21:11.155 pm
UUID: bef33999-82b0-49a5-a17a-536c57394b83
Ancestors: System-kfr.730
A DummyStream may do nothing, but shall mimic the answer of a regular stream.
=============== Diff against System-kfr.730 ===============
Item was changed:
----- Method: DummyStream>>nextStringPut: (in category 'accessing') -----
nextStringPut: aString
+ "do nothing"
+ ^aString!
- "do nothing"!
Nicolas Cellier uploaded a new version of System to project The Trunk:
http://source.squeak.org/trunk/System-nice.731.mcz
==================== Summary ====================
Name: System-nice.731
Author: nice
Time: 30 April 2015, 11:21:11.155 pm
UUID: bef33999-82b0-49a5-a17a-536c57394b83
Ancestors: System-kfr.730
A DummyStream may do nothing, but shall mimic the answer of a regular stream.
=============== Diff against System-kfr.730 ===============
Item was changed:
----- Method: DummyStream>>nextStringPut: (in category 'accessing') -----
nextStringPut: aString
+ "do nothing"
+ ^aString!
- "do nothing"!
Nicolas Cellier uploaded a new version of System to project The Trunk:
http://source.squeak.org/trunk/System-nice.731.mcz
==================== Summary ====================
Name: System-nice.731
Author: nice
Time: 30 April 2015, 11:21:11.155 pm
UUID: bef33999-82b0-49a5-a17a-536c57394b83
Ancestors: System-kfr.730
A DummyStream may do nothing, but shall mimic the answer of a regular stream.
=============== Diff against System-kfr.730 ===============
Item was changed:
----- Method: DummyStream>>nextStringPut: (in category 'accessing') -----
nextStringPut: aString
+ "do nothing"
+ ^aString!
- "do nothing"!
Marcel Taeumel uploaded a new version of Morphic to project The Trunk:
http://source.squeak.org/trunk/Morphic-mt.952.mcz
==================== Summary ====================
Name: Morphic-mt.952
Author: mt
Time: 30 April 2015, 2:07:32.024 pm
UUID: 993bb899-d198-9245-8d5a-69a3acb7f9a9
Ancestors: Morphic-mt.951
Faster check for scroll bar visibility in scroll panes.
=============== Diff against Morphic-mt.951 ===============
Item was changed:
----- Method: ScrollPane>>hIsScrollbarShowing (in category 'geometry testing') -----
hIsScrollbarShowing
"Return true if a horz scroll bar is currently showing"
+ ^ hScrollBar owner notNil!
- ^submorphs includes: hScrollBar
- !
Item was changed:
----- Method: ScrollPane>>vIsScrollbarShowing (in category 'geometry testing') -----
vIsScrollbarShowing
"Return true if a retractable scroll bar is currently showing"
+ ^ scrollBar owner notNil
- ^submorphs includes: scrollBar
!