Karl Ramberg uploaded a new version of Morphic to project The Trunk:
http://source.squeak.org/trunk/Morphic-kfr.1479.mcz
==================== Summary ====================
Name: Morphic-kfr.1479
Author: kfr
Time: 28 February 2019, 4:15:42.283606 pm
UUID: 17084141-786d-4cbc-83a2-3ada7d367346
Ancestors: Morphic-kfr.1478
Preamble to update current instances of TheWorldMainDockingBar
=============== Diff against Morphic-kfr.1478 ===============
Item was changed:
(PackageInfo named: 'Morphic') preamble: '"Disable deprecation warnings to avoid hick-ups."
+ Deprecation showDeprecationWarnings: false.
+
+ TheWorldMainDockingBar updateInstances'!
- Deprecation showDeprecationWarnings: false.'!
Karl Ramberg uploaded a new version of Morphic to project The Trunk:
http://source.squeak.org/trunk/Morphic-kfr.1478.mcz
==================== Summary ====================
Name: Morphic-kfr.1478
Author: kfr
Time: 28 February 2019, 4:09:26.634492 pm
UUID: ec9720b3-1097-4cef-989b-8a21a5ac15e8
Ancestors: Morphic-tonyg.1477
A few changes to Project menu in TheWorldMainDocingBar
No need for a submenu for only 2 sub entries, so I simplyfied to have the the main menu include all project types.
Change so new projects are not automatically entered upon creation, because that is unexpected behavior.
=============== Diff against Morphic-tonyg.1477 ===============
Item was changed:
----- Method: TheWorldMainDockingBar>>newProject: (in category 'menu actions') -----
newProject: projectClass
"Create a new project of the given type"
| newProject |
"Allow the project to return nil from #new to indicate that it was canceled."
newProject := projectClass new ifNil:[^self].
ProjectViewMorph openOn: newProject.
+ !
- newProject enter.!
Item was changed:
----- Method: TheWorldMainDockingBar>>newProjectMenuItemOn: (in category 'submenu - projects') -----
newProjectMenuItemOn: menu
+ Project allSubclasses do: [ :each |
+ menu addItem: [ :item |
+ item
+ contents: ('New ', each name) translated;
+ help: ('Start a new ', each name) translated;
+ target: self;
+ selector: #newProject:;
+ arguments: { each } ] ]!
- menu addItem: [ :item |
- item
- contents: 'New Project' translated;
- help: 'Start a new MorphicProject' translated;
- icon: MenuIcons smallProjectIcon;
- target: self;
- selector: #newProject:;
- arguments: { MorphicProject };
- subMenuUpdater: self
- selector: #updateNewProjectSubMenu: ]!
Item was removed:
- ----- Method: TheWorldMainDockingBar>>updateNewProjectSubMenu: (in category 'submenu - projects') -----
- updateNewProjectSubMenu: menu
-
- Project allSubclasses do: [ :each |
- menu addItem: [ :item |
- item
- contents: ('New ', each name) translated;
- help: ('Start a new ', each name) translated;
- target: self;
- selector: #newProject:;
- arguments: { each } ] ]!
tim Rowledge uploaded a new version of Network to project The Trunk:
http://source.squeak.org/trunk/Network-tpr.231.mcz
==================== Summary ====================
Name: Network-tpr.231
Author: tpr
Time: 25 February 2019, 2:27:15.218701 pm
UUID: 75e4e492-3a02-4d3b-bc97-4b64cd827635
Ancestors: Network-tpr.230
drop the for-deprecation implementation of URI class>>basicNew
=============== Diff against Network-tpr.230 ===============
Item was removed:
- ----- Method: URI class>>basicNew (in category 'instance creation') -----
- basicNew
- self deprecated: 'This class is deprecated. USe one ofthe Url classes instead'.
- ^super basicNew!
Karl Ramberg uploaded a new version of EToys to project The Trunk:
http://source.squeak.org/trunk/EToys-kfr.341.mcz
==================== Summary ====================
Name: EToys-kfr.341
Author: kfr
Time: 24 February 2019, 2:13:12.948634 pm
UUID: fcf322df-c7c0-480c-9ccb-6c54c0b99e58
Ancestors: EToys-tpr.340
Adds menu item to toggle starting and stopping the animated image morph
=============== Diff against EToys-tpr.340 ===============
Item was added:
+ ----- Method: AnimatedImageMorph>>addCustomMenuItems:hand: (in category '*Etoys-Squeakland-stepping and presenter') -----
+ addCustomMenuItems: aMenu hand: aHand
+ super addCustomMenuItems: aMenu hand: aHand.
+ aMenu addUpdating: #steppingString action: #toggleStepping!
Karl Ramberg uploaded a new version of MorphicExtras to project The Trunk:
http://source.squeak.org/trunk/MorphicExtras-kfr.252.mcz
==================== Summary ====================
Name: MorphicExtras-kfr.252
Author: kfr
Time: 24 February 2019, 2:06:12.497784 pm
UUID: 71481ac8-81b8-4a70-9a29-758a0c8bdbb5
Ancestors: MorphicExtras-pre.251
Allow SketchEditorMorph to grow extent by halo handle. But do not shrink extent since this is destructive to the painting and no recovery available.
=============== Diff against MorphicExtras-pre.251 ===============
Item was added:
+ ----- Method: SketchEditorMorph>>extent: (in category 'morphic') -----
+ extent: aPoint
+ | form |
+ paintingForm ifNil: [^super extent: aPoint].
+
+ super extent: aPoint.
+ form := Form extent: self extent depth: paintingForm depth.
+ paintingForm displayOn: form.
+ paintingForm := form.
+ forEachHand do: [:i | i at: #changed put: true].
+ rotationButton position: bounds topCenter - (6@0).
+ scaleButton position: bounds rightCenter - ((scaleButton width)@6).
+
+ !
Item was added:
+ ----- Method: SketchEditorMorph>>setExtentFromHalo: (in category 'morphic') -----
+ setExtentFromHalo: anExtent
+ "The user has dragged the grow box such that the receiver's extent would be anExtent. Do what's needed"
+ super setExtentFromHalo: ((anExtent x max: paintingForm width) @ (anExtent y max: paintingForm height)).
+ !
Eliot Miranda uploaded a new version of Kernel to project The Trunk:
http://source.squeak.org/trunk/Kernel-eem.1214.mcz
==================== Summary ====================
Name: Kernel-eem.1214
Author: eem
Time: 22 February 2019, 4:30:01.615182 pm
UUID: 1196f254-79e9-4bb1-b1af-3c413abe2fd4
Ancestors: Kernel-nice.1213
Use the Spur inst avr access primitives in FutureMaker and the mirror primitives. Fix a couple of typos.
=============== Diff against Kernel-nice.1213 ===============
Item was changed:
----- Method: BlockClosure>>blockCreationPC (in category 'scanning') -----
blockCreationPC
+ "Answer the pc for the bytecode that created the receiver."
- "Answer the pc for the bytecode that created the receuver."
| method |
method := self method.
^method encoderClass
pcOfBlockCreationBytecodeForBlockStartingAt: startpc
in: method!
Item was changed:
----- Method: Context>>findNextUnwindContextUpTo: (in category 'private-exceptions') -----
findNextUnwindContextUpTo: aContext
"Return the next unwind marked above the receiver, returning nil if there is none. Search proceeds up to but not including aContext."
| ctx |
<primitive: 195>
ctx := self.
+ [(ctx := ctx sender) == nil or: [ctx == aContext]] whileFalse:
- [(ctx := ctx sender) == nil or: [ctx == aContext]] whileFalse:
[ ctx isUnwindContext ifTrue: [^ctx]].
^nil!
Item was changed:
----- Method: Context>>object:instVarAt: (in category 'mirror primitives') -----
object: anObject instVarAt: anIndex
"Primitive. Answer a fixed variable in an object. The numbering of the
variables corresponds to the named instance variables. Fail if the index
is not an Integer or is not the index of a fixed variable. Essential for the
debugger. See Object documentation whatIsAPrimitive."
+ <primitive: 173 error: ec>
+ self primitiveFailed!
- <primitive: 73>
- "Access beyond fixed variables."
- ^self object: anObject basicAt: anIndex - (self objectClass: anObject) instSize!
Item was changed:
----- Method: Context>>object:instVarAt:put: (in category 'mirror primitives') -----
object: anObject instVarAt: anIndex put: aValue
"Primitive. Store a value into a fixed variable in the argument anObject.
The numbering of the variables corresponds to the named instance
variables. Fail if the index is not an Integer or is not the index of a
fixed variable. Answer the value stored as the result. Using this
message violates the principle that each object has sovereign control
over the storing of values into its instance variables. Essential for the
debugger. See Object documentation whatIsAPrimitive."
+ <primitive: 174 error: ec>
+ self primitiveFailed!
- <primitive: 74>
- "Access beyond fixed fields"
- ^self object: anObject basicAt: anIndex - (self objectClass: anObject) instSize put: aValue!
Item was changed:
----- Method: FutureMaker>>instVarAt: (in category 'accessing') -----
instVarAt: index
"Primitive. Answer a fixed variable in an object. The numbering of the
variables corresponds to the named instance variables. Fail if the index
is not an Integer or is not the index of a fixed variable. Essential. See
Object documentation whatIsAPrimitive."
+ <primitive: 173 error: ec>
+ self primitiveFailed!
- <primitive: 73>
- "Access beyond fixed variables."
- ^self basicAt: index - self class instSize !
Item was changed:
----- Method: FutureMaker>>instVarAt:put: (in category 'accessing') -----
instVarAt: anInteger put: anObject
"Primitive. Store a value into a fixed variable in the receiver. The
numbering of the variables corresponds to the named instance variables.
Fail if the index is not an Integer or is not the index of a fixed variable.
Answer the value stored as the result. Using this message violates the
principle that each object has sovereign control over the storing of
values into its instance variables. Essential. See Object documentation
whatIsAPrimitive."
+ <primitive: 174 error: ec>
+ self primitiveFailed!
- <primitive: 74>
- "Access beyond fixed fields"
- ^self basicAt: anInteger - self class instSize put: anObject!