[squeak-dev] Daily Commit Log

commits at source.squeak.org commits at source.squeak.org
Sat Sep 27 23:55:04 UTC 2014


Changes to Trunk (http://source.squeak.org/trunk.html) in the last 24 hours:

http://lists.squeakfoundation.org/pipermail/packages/2014-September/007289.html

Name: Compiler.spur-eem.287
Ancestors: Compiler-eem.287

Compiler-eem.287 patched for Spur by SpurBootstrapMonticelloPackagePatcher Cog-eem.194

Quick methods may need schematic temps too...

=============================================

http://lists.squeakfoundation.org/pipermail/packages/2014-September/007290.html

Name: Compiler.spur-eem.288
Ancestors: Compiler-eem.288

Compiler-eem.288 patched for Spur by SpurBootstrapMonticelloPackagePatcher Cog-eem.200

Provide support for fixing ContextPart>>#quickSend:to:with:super:

=============================================

http://lists.squeakfoundation.org/pipermail/packages/2014-September/007291.html

Name: Collections.spur-nice.581
Ancestors: Collections-nice.581

Collections-nice.581 patched for Spur by SpurBootstrapMonticelloPackagePatcher Cog-eem.208

Remove #padToEndWith: from RWBinaryOrTextStream now that it has been moved up to WriteStream.

=============================================

http://lists.squeakfoundation.org/pipermail/packages/2014-September/007292.html

Name: Collections.spur-nice.582
Ancestors: Collections-nice.582

Collections-nice.582 patched for Spur by SpurBootstrapMonticelloPackagePatcher Cog-eem.208

Port TAG-SortFunctions of Travis Griggs from Cincom public store - version (11,tgriggs)

Note that no collation policy were used for String.
The spaceship operator <=> is also required in Kernel-Numbers.

See also the blog http://objology.blogspot.fr/2010/11/tag-sortfunctions.html
 and http://objology.blogspot.fr/2010/11/tag-sortfunctions-redux.html

Note about the cost of these sort functions:
as shown by this mini-bench on cog, using a Symbol costs a bit more (perform:) than a block activation, and monadic block a bit more than dyadic one because activated twice more, but it seems acceptable to me with regard to the great simplification and expressiveness of code :

| collec1 collec2 collec3 |
collec1 := (1 to: 200000) collect: [:i | 1000000 atRandom-500000].
collec2 := collec1 copy.
collec3 := collec1 copy.
{
[collec1 sort: [:a :b | a abs < b abs]] timeToRun.
[collec2 sort: [:e | e abs] ascending] timeToRun.
[collec3 sort: #abs ascending] timeToRun.
}
 #(345 532 912)

=============================================

http://lists.squeakfoundation.org/pipermail/packages/2014-September/007293.html

Name: Collections.spur-nice.583
Ancestors: Collections-nice.583

Collections-nice.583 patched for Spur by SpurBootstrapMonticelloPackagePatcher Cog-eem.208

Also classify these SortFunction support in *Collections rather than *Kernel

=============================================

http://lists.squeakfoundation.org/pipermail/packages/2014-September/007294.html

Name: Kernel.spur-mt.867
Ancestors: Kernel-mt.867

Kernel-mt.867 patched for Spur by SpurBootstrapMonticelloPackagePatcher Cog-eem.208

New preference added for activating system windows on first mouse click. Works for all standard tools that subclass Model for their model.

=============================================

http://lists.squeakfoundation.org/pipermail/packages/2014-September/007295.html

Name: Kernel.spur-mt.868
Ancestors: Kernel-mt.868

Kernel-mt.868 patched for Spur by SpurBootstrapMonticelloPackagePatcher Cog-eem.208

restored method category of #isKindOf: to "class membership"

=============================================

http://lists.squeakfoundation.org/pipermail/packages/2014-September/007296.html

Name: Kernel.spur-eem.869
Ancestors: Kernel-eem.869

Kernel-eem.869 patched for Spur by SpurBootstrapMonticelloPackagePatcher Cog-eem.208

Fix a bug and an issue with ContextPart>>quickSend:to:with:super:.
First, the lookup class for a normal send should be derived
from the rcvr argument, not from the context's receiver.
Second, the existing code assumed the SqueakV3/Smalltalk-80
bytecode set.
Requires at least Compiler-eem.288.

=============================================

http://lists.squeakfoundation.org/pipermail/packages/2014-September/007297.html

Name: Kernel.spur-eem.870
Ancestors: Kernel-eem.870

Kernel-eem.870 patched for Spur by SpurBootstrapMonticelloPackagePatcher Cog-eem.208

Revise blockCreationBytecodeMessage for
multiple bytecode sets. Provide the accessor to
determine which flag an encoder should use.

=============================================

http://lists.squeakfoundation.org/pipermail/packages/2014-September/007298.html

Name: Kernel.spur-eem.871
Ancestors: Kernel-eem.871

Kernel-eem.871 patched for Spur by SpurBootstrapMonticelloPackagePatcher Cog-eem.208

Use prmitiveFailed, not primitiveFail (too much time
in VM land).  Also the accessor for the method header
flag selecting bytecode set takes an Encoder
instance, not an Encoder class.

=============================================

http://lists.squeakfoundation.org/pipermail/packages/2014-September/007299.html

Name: Kernel.spur-eem.872
Ancestors: Kernel-eem.872

Kernel-eem.872 patched for Spur by SpurBootstrapMonticelloPackagePatcher Cog-eem.208

Make skipBackBeforeJump bytecode-set agnostic.
Fix a typo.  stepToSendOrReturn doesn't need to use #|

=============================================

http://lists.squeakfoundation.org/pipermail/packages/2014-September/007300.html

Name: Kernel.spur-nice.873
Ancestors: Kernel-nice.873

Kernel-nice.873 patched for Spur by SpurBootstrapMonticelloPackagePatcher Cog-eem.208

Add spaceship operator support <=>  usefull for sort functions.

=============================================

http://lists.squeakfoundation.org/pipermail/packages/2014-September/007301.html

Name: Kernel.spur-ul.874
Ancestors: Kernel-ul.874

Kernel-ul.874 patched for Spur by SpurBootstrapMonticelloPackagePatcher Cog-eem.208

Random changes:
- fixed off-by-one error in #next
- seed is always a Float
- added #hashSeed: which can be used to produce a better initial seed. Small seeds will result in less random first value.
- seed is forced between 0 and 2^31-1 if it's out of range using #hashSeed:
- simplified #initialize. 0 is not a bad seed value
- fixed #nextValue's comment and simplified the implementation a bit
- added clarification to #nextInt:'s comment
- sped up #bucketTest: on the class side

=============================================

http://lists.squeakfoundation.org/pipermail/packages/2014-September/007302.html

Name: Kernel.spur-ul.875
Ancestors: Kernel-ul.875

Kernel-ul.875 patched for Spur by SpurBootstrapMonticelloPackagePatcher Cog-eem.208

- improved Date >> #printFormat:
- added #isZero to LargeIntegers

=============================================

http://lists.squeakfoundation.org/pipermail/packages/2014-September/007303.html

Name: System.spur-dtl.685
Ancestors: System-dtl.685

System-dtl.685 patched for Spur by SpurBootstrapMonticelloPackagePatcher Cog-eem.208

Smalltalk isRunningCog should answer false for an interpreter VM

=============================================


More information about the Squeak-dev mailing list