Karl Ramberg uploaded a new version of Morphic to project The Trunk:
http://source.squeak.org/trunk/Morphic-kfr.1094.mcz
==================== Summary ====================
Name: Morphic-kfr.1094
Author: kfr
Time: 16 March 2016, 8:29:46.384817 pm
UUID: 94780b73-cfa6-44fd-b7ed-ee2807f9ceae
Ancestors: Morphic-mt.1093
Snap dropped morphs to grid if gridding is on
=============== Diff against Morphic-mt.1093 ===============
Item was changed:
----- Method: PasteUpMorph>>acceptDroppingMorph:event: (in category 'dropping/grabbing') -----
acceptDroppingMorph: dropped event: evt
"The supplied morph, known to be acceptable to the receiver, is now to be assimilated; the precipitating event is supplied"
| aMorph |
aMorph := self morphToDropFrom: dropped.
self isWorldMorph
ifTrue:["Add the given morph to this world and start stepping it if it wants to be."
self addMorphFront: aMorph.
(aMorph fullBounds intersects: self viewBox) ifFalse:
[Beeper beep. aMorph position: self bounds center]]
ifFalse:[super acceptDroppingMorph: aMorph event: evt].
aMorph submorphsDo: [:m | (m isKindOf: HaloMorph) ifTrue: [m delete]].
aMorph allMorphsDo: "Establish any penDown morphs in new world"
[:m | | tfm mm |
m player ifNotNil:
[m player getPenDown ifTrue:
[((mm := m player costume) notNil and: [(tfm := mm owner transformFrom: self) notNil])
ifTrue: [self noteNewLocation: (tfm localPointToGlobal: mm referencePosition)
forPlayer: m player]]]].
self isPartsBin
ifTrue:
[aMorph isPartsDonor: true.
aMorph stopSteppingSelfAndSubmorphs.
aMorph suspendEventHandler]
ifFalse:
[self world startSteppingSubmorphsOf: aMorph].
" self presenter morph: aMorph droppedIntoPasteUpMorph: self."
+ self griddingOn ifTrue: [aMorph position: (self gridPoint: aMorph position)].
-
self showingListView ifTrue:
[self sortSubmorphsBy: (self valueOfProperty: #sortOrder).
self currentWorld abandonAllHalos].
self bringTopmostsToFront.
!
Karl Ramberg uploaded a new version of Morphic to project The Trunk:
http://source.squeak.org/trunk/Morphic-kfr.1094.mcz
==================== Summary ====================
Name: Morphic-kfr.1094
Author: kfr
Time: 16 March 2016, 8:29:46.384817 pm
UUID: 94780b73-cfa6-44fd-b7ed-ee2807f9ceae
Ancestors: Morphic-mt.1093
Snap dropped morphs to grid if gridding is on
=============== Diff against Morphic-mt.1093 ===============
Item was changed:
----- Method: PasteUpMorph>>acceptDroppingMorph:event: (in category 'dropping/grabbing') -----
acceptDroppingMorph: dropped event: evt
"The supplied morph, known to be acceptable to the receiver, is now to be assimilated; the precipitating event is supplied"
| aMorph |
aMorph := self morphToDropFrom: dropped.
self isWorldMorph
ifTrue:["Add the given morph to this world and start stepping it if it wants to be."
self addMorphFront: aMorph.
(aMorph fullBounds intersects: self viewBox) ifFalse:
[Beeper beep. aMorph position: self bounds center]]
ifFalse:[super acceptDroppingMorph: aMorph event: evt].
aMorph submorphsDo: [:m | (m isKindOf: HaloMorph) ifTrue: [m delete]].
aMorph allMorphsDo: "Establish any penDown morphs in new world"
[:m | | tfm mm |
m player ifNotNil:
[m player getPenDown ifTrue:
[((mm := m player costume) notNil and: [(tfm := mm owner transformFrom: self) notNil])
ifTrue: [self noteNewLocation: (tfm localPointToGlobal: mm referencePosition)
forPlayer: m player]]]].
self isPartsBin
ifTrue:
[aMorph isPartsDonor: true.
aMorph stopSteppingSelfAndSubmorphs.
aMorph suspendEventHandler]
ifFalse:
[self world startSteppingSubmorphsOf: aMorph].
" self presenter morph: aMorph droppedIntoPasteUpMorph: self."
+ self griddingOn ifTrue: [aMorph position: (self gridPoint: aMorph position)].
-
self showingListView ifTrue:
[self sortSubmorphsBy: (self valueOfProperty: #sortOrder).
self currentWorld abandonAllHalos].
self bringTopmostsToFront.
!
Marcel Taeumel uploaded a new version of Tools to project The Trunk:
http://source.squeak.org/trunk/Tools-mt.679.mcz
==================== Summary ====================
Name: Tools-mt.679
Author: mt
Time: 16 March 2016, 2:36:07.723033 pm
UUID: f184dac2-4ba4-4030-a394-4b8031592101
Ancestors: Tools-mt.678
Fixes styling bug when using the subclassing template.
=============== Diff against Tools-mt.678 ===============
Item was changed:
----- Method: Browser>>aboutToStyle: (in category 'code pane') -----
aboutToStyle: aStyler
"This is a notification that aStyler is about to re-style its text.
Set the classOrMetaClass in aStyler, so that identifiers
will be resolved correctly.
Answer true to allow styling to proceed, or false to veto the styling"
| type |
self isModeStyleable ifFalse: [^false].
type := self editSelection.
(#(newMessage editMessage editClass newClass) includes: type) ifFalse:[^false].
+ aStyler classOrMetaClass: ((type = #editClass or: [type = #newClass]) ifFalse:[self selectedClassOrMetaClass]).
- aStyler classOrMetaClass: (type = #editClass ifFalse:[self selectedClassOrMetaClass]).
^true!
Marcel Taeumel uploaded a new version of Tools to project The Trunk:
http://source.squeak.org/trunk/Tools-mt.679.mcz
==================== Summary ====================
Name: Tools-mt.679
Author: mt
Time: 16 March 2016, 2:36:07.723033 pm
UUID: f184dac2-4ba4-4030-a394-4b8031592101
Ancestors: Tools-mt.678
Fixes styling bug when using the subclassing template.
=============== Diff against Tools-mt.678 ===============
Item was changed:
----- Method: Browser>>aboutToStyle: (in category 'code pane') -----
aboutToStyle: aStyler
"This is a notification that aStyler is about to re-style its text.
Set the classOrMetaClass in aStyler, so that identifiers
will be resolved correctly.
Answer true to allow styling to proceed, or false to veto the styling"
| type |
self isModeStyleable ifFalse: [^false].
type := self editSelection.
(#(newMessage editMessage editClass newClass) includes: type) ifFalse:[^false].
+ aStyler classOrMetaClass: ((type = #editClass or: [type = #newClass]) ifFalse:[self selectedClassOrMetaClass]).
- aStyler classOrMetaClass: (type = #editClass ifFalse:[self selectedClassOrMetaClass]).
^true!
Eliot Miranda uploaded a new version of Kernel to project The Trunk:
http://source.squeak.org/trunk/Kernel-eem.1005.mcz
==================== Summary ====================
Name: Kernel-eem.1005
Author: eem
Time: 9 March 2016, 11:53:31.024318 am
UUID: ef6c553c-70dc-4646-8a12-172594ff090a
Ancestors: Kernel-bf.1004
Give SmallFloat64 identityHash 4 and put it in the first class table page at that hash. 64-bit Spur will change over to that tag pattern asap.
=============== Diff against Kernel-bf.1004 ===============
Item was removed:
- (PackageInfo named: 'Kernel') preamble: '((Mutex allInstances allSatisfy: [:m| (m instVarNamed: ''owner'') isNil])
- and: [Monitor allInstances allSatisfy: [:m| (m instVarNamed: ''ownerProcess'') isNil]]) ifFalse:
- [self error: ''Some Mutexes and/or Monitors are owned. Cannot safely mutate. ABort load and resolve this before loading for safety.'']'!
Item was changed:
+ (PackageInfo named: 'Kernel') postscript: '"below, add code to be run after the loading of this package"
+
+ "Arrange that SmalFloat64 has identityHash 4 and is in the class table first page if possible.
+ Don''t bother to rehash all hashed collections; SmallFloat64 is not in any in the default image"
+ Smalltalk garbageCollect.
+ (Array someInstance size = 1024
+ and: [(Array someInstance allSatisfy: [:e| e == nil or: [e isBehavior]])
+ and: [(Array someInstance first: 17) = {nil . SmallInteger . Character . SmallInteger . nil . nil . nil . nil . nil . nil . nil . nil . nil . nil . nil . nil . Array}]]) ifTrue:
+ [SmallFloat64 tryPrimitive: 161 withArgs: #(4).
+ Array someInstance at: 5 put: SmallFloat64]'!
- (PackageInfo named: 'Kernel') postscript: 'Smalltalk removeFromStartUpList: DateAndTime.'!
Eliot Miranda uploaded a new version of Kernel to project The Trunk:
http://source.squeak.org/trunk/Kernel-eem.1005.mcz
==================== Summary ====================
Name: Kernel-eem.1005
Author: eem
Time: 9 March 2016, 11:53:31.024318 am
UUID: ef6c553c-70dc-4646-8a12-172594ff090a
Ancestors: Kernel-bf.1004
Give SmallFloat64 identityHash 4 and put it in the first class table page at that hash. 64-bit Spur will change over to that tag pattern asap.
=============== Diff against Kernel-bf.1004 ===============
Item was removed:
- (PackageInfo named: 'Kernel') preamble: '((Mutex allInstances allSatisfy: [:m| (m instVarNamed: ''owner'') isNil])
- and: [Monitor allInstances allSatisfy: [:m| (m instVarNamed: ''ownerProcess'') isNil]]) ifFalse:
- [self error: ''Some Mutexes and/or Monitors are owned. Cannot safely mutate. ABort load and resolve this before loading for safety.'']'!
Item was changed:
+ (PackageInfo named: 'Kernel') postscript: '"below, add code to be run after the loading of this package"
+
+ "Arrange that SmalFloat64 has identityHash 4 and is in the class table first page if possible.
+ Don''t bother to rehash all hashed collections; SmallFloat64 is not in any in the default image"
+ Smalltalk garbageCollect.
+ (Array someInstance size = 1024
+ and: [(Array someInstance allSatisfy: [:e| e == nil or: [e isBehavior]])
+ and: [(Array someInstance first: 17) = {nil . SmallInteger . Character . SmallInteger . nil . nil . nil . nil . nil . nil . nil . nil . nil . nil . nil . nil . Array}]]) ifTrue:
+ [SmallFloat64 tryPrimitive: 161 withArgs: #(4).
+ Array someInstance at: 5 put: SmallFloat64]'!
- (PackageInfo named: 'Kernel') postscript: 'Smalltalk removeFromStartUpList: DateAndTime.'!