Changes to Trunk (http://source.squeak.org/trunk.html) in the last 24 hours:
http://lists.squeakfoundation.org/pipermail/packages/2016-April/009524.html
Name: Kernel-mt.1009
Ancestors: Kernel-ul.1008
Recent CogVMs do not yield preempted processes. Fixes the behavior where "[ [] repeat] fork" could not be interrupted anymore via CMD+. and hence locked the image.
=============================================
http://lists.squeakfoundation.org/pipermail/packages/2016-April/009525.html
Name: KernelTests-ul.309
Ancestors: KernelTests-cmm.308
Extracted #testDecimalDigitLength from SmallIntegerTest >> #testPrintString, and added a few extra cases to it.
=============================================
http://lists.squeakfoundation.org/pipermail/packages/2016-April/009526.html
Name: Kernel-ul.1010
Ancestors: Kernel-mt.1009
Behavior changes:
- when #flushCache is sent to a selector, then there's no need to send it to the corresponding method too.
SmallInteger changes:
- #decimalDigitLength shouldn't perform LargeInteger comparisons on 32-bit VMs
- do fewer computations in #printOn:base:length:padded:
- removed #destinationBuffer: which has no sender
=============================================
http://lists.squeakfoundation.org/pipermail/packages/2016-April/009527.html
Name: Network-ul.176
Ancestors: Network-ul.175
Use primitiveMakeUUID when it's available in UUID >> #makeUUID. This should keep things snappier when UUIDPlugin works, and it should decrease the possibility of a UUID collision due to our poor seed generation in Random.
=============================================
http://lists.squeakfoundation.org/pipermail/packages/2016-April/009528.html
Name: Kernel-ul.1011
Ancestors: Kernel-ul.1010
Normalize the created LargePositiveInteger in Random >> #nextLargeInt:.
=============================================
On 02.04.2016, at 19:32, commits(a)source.squeak.org wrote:
> Levente Uzonyi uploaded a new version of Network to project The Trunk:
> http://source.squeak.org/trunk/Network-ul.176.mcz
>
> ==================== Summary ====================
>
> Name: Network-ul.176
> Author: ul
> Time: 2 April 2016, 9:06:31.957661 pm
> UUID: 1b580a49-2663-4d5d-a659-606ba1c698de
> Ancestors: Network-ul.175
>
> Use primitiveMakeUUID when it's available in UUID >> #makeUUID. This should keep things snappier when UUIDPlugin works, and it should decrease the possibility of a UUID collision due to our poor seed generation in Random.
>
I thought the non-primitive version was snappy enough already?
libuuid has been a constant nag for me when doing CI stuff...
Best
-Tobias
> =============== Diff against Network-ul.175 ===============
>
> Item was changed:
Levente Uzonyi uploaded a new version of Network to project The Trunk:
http://source.squeak.org/trunk/Network-ul.176.mcz
==================== Summary ====================
Name: Network-ul.176
Author: ul
Time: 2 April 2016, 9:06:31.957661 pm
UUID: 1b580a49-2663-4d5d-a659-606ba1c698de
Ancestors: Network-ul.175
Use primitiveMakeUUID when it's available in UUID >> #makeUUID. This should keep things snappier when UUIDPlugin works, and it should decrease the possibility of a UUID collision due to our poor seed generation in Random.
=============== Diff against Network-ul.175 ===============
Item was changed:
----- Method: UUID>>makeUUID (in category 'as yet unclassified') -----
makeUUID
+
+ self primMakeUUID ifNil: [
+ UUIDGenerator default generateBytes: self forVersion: 4 ]!
- UUIDGenerator default generateBytes: self forVersion: 4.!
Levente Uzonyi uploaded a new version of Kernel to project The Trunk:
http://source.squeak.org/trunk/Kernel-ul.1011.mcz
==================== Summary ====================
Name: Kernel-ul.1011
Author: ul
Time: 2 April 2016, 9:22:40.391347 pm
UUID: 924b2c29-5e11-4abb-aeb5-355380a4e56a
Ancestors: Kernel-ul.1010
Normalize the created LargePositiveInteger in Random >> #nextLargeInt:.
=============== Diff against Kernel-ul.1010 ===============
Item was changed:
----- Method: Random>>nextLargeInt: (in category 'accessing') -----
nextLargeInt: anInteger
"Answer a random integer value from the interval [1, anInteger]. This method works for arbitrarily large integers."
| byteCount bigRandom result firstDigit |
byteCount := anInteger digitLength + 4. "Extend the space with at least 32 bits for a fairer distribution."
bigRandom := LargePositiveInteger new: byteCount.
self nextBytes: byteCount into: bigRandom startingAt: 1.
+ bigRandom := bigRandom normalize. "Make sure that there are no leading zero bytes."
result := anInteger * bigRandom bitShift: -8 * byteCount.
"Avoid using LargeInteger arithmetic for +1 in most cases."
result isLarge ifFalse: [ ^result + 1 ].
(firstDigit := result digitAt: 1) = 255 ifTrue: [ ^result + 1 ].
result digitAt: 1 put: firstDigit + 1.
^result
!
Marcel Taeumel uploaded a new version of Kernel to project The Trunk:
http://source.squeak.org/trunk/Kernel-mt.1009.mcz
==================== Summary ====================
Name: Kernel-mt.1009
Author: mt
Time: 2 April 2016, 12:23:20.21041 pm
UUID: bd1b45d5-cb4d-41b0-890b-c8f70de70b1c
Ancestors: Kernel-ul.1008
Recent CogVMs do not yield preempted processes. Fixes the behavior where "[ [] repeat] fork" could not be interrupted anymore via CMD+. and hence locked the image.
=============== Diff against Kernel-ul.1008 ===============
Item was changed:
----- Method: ProcessorScheduler>>preemptedProcess (in category 'accessing') -----
preemptedProcess
"Return the process that the currently active process just preempted."
+
+ self activeProcess priority to: 1 by: -1 do: [:priority |
+ (quiescentProcessLists at: priority) ifNotEmpty: [:list |
+ ^ Smalltalk processPreemptionYields
+ ifTrue: [list last]
+ ifFalse: [list first]]].
+ ^ nil
+
- | list |
- activeProcess priority to: 1 by: -1 do:[:priority|
- list := quiescentProcessLists at: priority.
- list isEmpty ifFalse:[^list last].
- ].
- ^nil
-
"Processor preemptedProcess"!
Open MC browser. Focus on package list. Press and hold down arrow.
It cannot keep up with even a moderate keyboard repeat.
But in Squeak5.0, it can, easily.
Something broke or degraded?
Changes to Trunk (http://source.squeak.org/trunk.html) in the last 24 hours:
http://lists.squeakfoundation.org/pipermail/packages/2016-April/009520.html
Name: Monticello-mt.629
Ancestors: Monticello-mt.628
Due to popular request, roll-back of latest change about showing the disk utilization of directory repositories in the working copy browser.
=============================================
http://lists.squeakfoundation.org/pipermail/packages/2016-April/009521.html
Name: Morphic-mt.1096
Ancestors: Morphic-mt.1095
Only show a shadow for the new-style balloon morphs if the balloon color is not translucent (due to simplified drawing code for shadow).
You can change the color of balloon morphs via BalloonMorph >> #balloonColor:.
Note that #menuAppearance3d still controls shadows in many places such as windows, menus, and user dialog morphs.
=============================================
http://lists.squeakfoundation.org/pipermail/packages/2016-April/009522.html
Name: Morphic-mt.1097
Ancestors: Morphic-mt.1096
Restores the possiblitiy for each morph to have its own balloon color in new-style balloon morphs.
=============================================
http://lists.squeakfoundation.org/pipermail/packages/2016-April/009523.html
Name: Morphic-mt.1098
Ancestors: Morphic-mt.1097
Adds possibility to specify pop-up position hint for balloon morphs.
Use it to show some help programmatically like this:
someWidget showBalloon: 'Now click here.' at: someWidget topCenter.
=============================================