Hi fellow Squeakers/Pharooners!
On the 19th of october there is a free event in Stockholm that I think
will be really good! Unfortunately I can not attend myself.
Cincom (Julian Fitzell, Tim Matthews), DevoTeam Quaint (Björn Eiderbäck)
and TPG Objektfabriken (Göran Krampe) joined forces and
invite you to an evening full of presentations and informal exchange
around dynamic languages.
Topics will comprise “Dynamic languages on mobile platforms” (Mikael
Kindborg, MoSync), “Web development with Seaside” (Julian Fitzell,
Cincom) as well as a series of mini presentations highlighting cool
aspects of each language – the entire agenda will be published shortly.
To ensure your seat at this free-of-charge event, please sign up here:
http://dynamicstockholm2010.eventbrite.com
Of course, there is a distinct Smalltalk-aroma around this event - and
we almost named it Smalltalk Stockholm 2010 - but since the content
ended up in such an interesting mix of dynamic languages we renamed it.
Hope at least some of you might be able to attend! And I guess we will
try to tape the presentations.
regards, Göran
Nicolas Cellier uploaded a new version of Network to project The Trunk:
http://source.squeak.org/trunk/Network-nice.91.mcz
==================== Summary ====================
Name: Network-nice.91
Author: nice
Time: 2 October 2010, 12:54:25.719 am
UUID: afb350ca-8812-461d-8c12-4177b30a2c5d
Ancestors: Network-nice.90
Use #postCopy (bis)
=============== Diff against Network-nice.90 ===============
Item was removed:
- ----- Method: FileUrl>>copy (in category 'copying') -----
- copy
- "Be sure not to share the path with the copy."
-
- ^self clone path: path copy!
Item was added:
+ ----- Method: FileUrl>>postCopy (in category 'copying') -----
+ postCopy
+ "Be sure not to share the path with the copy."
+
+ super postCopy.
+ path := path copy!
Item was removed:
- ----- Method: HierarchicalUrl>>copy (in category 'copying') -----
- copy
- "Be sure not to share the path with the copy"
-
- ^self clone path: path copy!
Item was added:
+ ----- Method: HierarchicalUrl>>postCopy (in category 'copying') -----
+ postCopy
+ "Be sure not to share the path with the original"
+
+ super postCopy.
+ path := path copy!
Item was changed:
+ ----- Method: MIMEDocument>>isMultipartAlternative (in category 'testing') -----
- ----- Method: MIMEDocument>>isMultipartAlternative (in category 'as yet unclassified') -----
isMultipartAlternative
"whether the document is in a multipart format where the parts are alternates"
^ self contentType = 'multipart/alternative'
!
Nicolas Cellier uploaded a new version of Network to project The Trunk:
http://source.squeak.org/trunk/Network-nice.90.mcz
==================== Summary ====================
Name: Network-nice.90
Author: nice
Time: 2 October 2010, 12:28:35.326 am
UUID: d5d3ccd1-bbe6-4f02-8ec6-d245e8f85466
Ancestors: Network-ar.89
Use #postCopy
=============== Diff against Network-ar.89 ===============
Item was removed:
- ----- Method: ServerDirectory>>copy (in category 'accessing') -----
- copy
-
- | new |
- new := self clone.
- new urlObject: urlObject copy.
- ^ new!
Item was added:
+ ----- Method: ServerDirectory>>postCopy (in category 'copying') -----
+ postCopy
+ super postCopy.
+ self urlObject: urlObject copy!
Nicolas Cellier uploaded a new version of System to project The Trunk:
http://source.squeak.org/trunk/System-nice.382.mcz
==================== Summary ====================
Name: System-nice.382
Author: nice
Time: 2 October 2010, 12:15:17.699 am
UUID: 3c11ffa1-01bb-48f0-8819-5d3849a930be
Ancestors: System-eem.381
Use #postCopy
=============== Diff against System-eem.381 ===============
Item was removed:
- ----- Method: EventManager>>copy (in category 'copying') -----
- copy
-
- | answer |
- answer := super copy.
- answer release.
- ^answer!
Item was added:
+ ----- Method: EventManager>>postCopy (in category 'copying') -----
+ postCopy
+ super postCopy.
+ self release!
Nicolas Cellier uploaded a new version of Protocols to project The Trunk:
http://source.squeak.org/trunk/Protocols-nice.33.mcz
==================== Summary ====================
Name: Protocols-nice.33
Author: nice
Time: 1 October 2010, 11:41:12.663 pm
UUID: 2c6d6e51-1db9-4342-974a-48f8a7bb74a0
Ancestors: Protocols-nice.32
Use #postCopy paradigm
=============== Diff against Protocols-nice.32 ===============
Item was removed:
- ----- Method: ElementCategory>>copy (in category 'copying') -----
- copy
- "Answer a copy of the receiver"
-
- ^ super copy copyFrom: self!
Item was added:
+ ----- Method: ElementCategory>>postCopy (in category 'copying') -----
+ postCopy
+ "Copy own instance variables."
+
+ super postCopy.
+ self copyFrom: self!
Nicolas Cellier uploaded a new version of Sound to project The Trunk:
http://source.squeak.org/trunk/Sound-nice.24.mcz
==================== Summary ====================
Name: Sound-nice.24
Author: nice
Time: 1 October 2010, 11:39:06.786 pm
UUID: 120ac11e-6f0a-4161-976c-a1e0f2e82025
Ancestors: Sound-nice.23
1) use #postCopy paradigm
2) _ -> :=
=============== Diff against Sound-nice.23 ===============
Item was removed:
- ----- Method: AbstractSound>>copy (in category 'copying') -----
- copy
- "A sound should copy all of the state needed to play itself, allowing two copies of a sound to play at the same time. These semantics require a recursive copy but only down to the level of immutable data. For example, a SampledSound need not copy its sample buffer. Subclasses overriding this method should include a resend to super."
-
- ^ self clone copyEnvelopes
- !
Item was added:
+ ----- Method: AbstractSound>>postCopy (in category 'copying') -----
+ postCopy
+ "A sound should copy all of the state needed to play itself, allowing two copies of a sound to play at the same time. These semantics require a recursive copy but only down to the level of immutable data. For example, a SampledSound need not copy its sample buffer. Subclasses overriding this method should include a resend to super."
+
+ super postCopy.
+ self copyEnvelopes
+ !
Item was removed:
- ----- Method: MixedSound>>copy (in category 'copying') -----
- copy
- "Copy my component sounds."
-
- ^ super copy copySounds
- !
Item was added:
+ ----- Method: MixedSound>>postCopy (in category 'copying') -----
+ postCopy
+ "Copy my component sounds."
+
+ super postCopy.
+ self copySounds
+ !
Item was removed:
- ----- Method: PluckedSound>>copy (in category 'copying') -----
- copy
-
- ^ super copy copyRing
- !
Item was added:
+ ----- Method: PluckedSound>>postCopy (in category 'copying') -----
+ postCopy
+
+ super postCopy.
+ self copyRing
+ !
Item was removed:
- ----- Method: RepeatingSound>>copy (in category 'copying') -----
- copy
- "Copy my component sound."
-
- ^ super copy copySound
- !
Item was added:
+ ----- Method: RepeatingSound>>postCopy (in category 'copying') -----
+ postCopy
+ "Copy my component sound."
+
+ super postCopy.
+ self copySound
+ !
Item was removed:
- ----- Method: ReverbSound>>copy (in category 'copying') -----
- copy
- "Copy my component sound."
-
- ^ super copy copySound
- !
Item was added:
+ ----- Method: ReverbSound>>postCopy (in category 'copying') -----
+ postCopy
+ "Copy my component sound."
+
+ super postCopy.
+ self copySound
+ !
Item was removed:
- ----- Method: ScorePlayer>>copy (in category 'copying') -----
- copy
- "Copy my component sounds."
-
- ^ super copy copySounds
- !
Item was added:
+ ----- Method: ScorePlayer>>postCopy (in category 'copying') -----
+ postCopy
+ "Copy my component sounds."
+
+ super postCopy.
+ self copySounds
+ !
Item was removed:
- ----- Method: SequentialSound>>copy (in category 'copying') -----
- copy
- "Copy my component sounds."
-
- ^ super copy copySounds
- !
Item was added:
+ ----- Method: SequentialSound>>postCopy (in category 'copying') -----
+ postCopy
+ "Copy my component sounds."
+
+ super postCopy.
+ self copySounds
+ !
Item was changed:
----- Method: SimpleMIDIPort class>>inputPortNumFromUser (in category 'utilities') -----
inputPortNumFromUser
"Prompt the user for a MIDI input port. Answer a port number, or nil if the user does not select a port or if MIDI is not supported on this platform."
"SimpleMIDIPort inputPortNumFromUser"
| portCount dir portList |
+ portCount := self primPortCount.
- portCount _ self primPortCount.
portCount = 0 ifTrue: [^ nil].
portList := OrderedCollection new.
0 to: portCount - 1 do:[:i |
dir := self primPortDirectionalityOf: i.
(dir = 1) | (dir = 3) ifTrue:[portList add: i]].
^UIManager default
chooseFrom: (portList collect:[:i| self portDescription: i])
values: portList
title: 'MIDI port for input:' translated
!
Nicolas Cellier uploaded a new version of Kernel to project The Trunk:
http://source.squeak.org/trunk/Kernel-nice.503.mcz
==================== Summary ====================
Name: Kernel-nice.503
Author: nice
Time: 1 October 2010, 10:41:05.264 pm
UUID: 23d5be4d-c5ff-4b77-97f7-fb925e59be1f
Ancestors: Kernel-eem.502
Remove #hashMappedBy: and #identityHashMappedBy:
=============== Diff against Kernel-eem.502 ===============
Item was removed:
- ----- Method: Magnitude>>hashMappedBy: (in category 'comparing') -----
- hashMappedBy: map
- "My hash is independent of my oop."
-
- ^self hash!
Item was changed:
----- Method: MethodFinder>>initialize (in category 'initialize') -----
(excessive size, no diff calculated)
Item was removed:
- ----- Method: Object>>hashMappedBy: (in category 'comparing') -----
- hashMappedBy: map
- "Answer what my hash would be if oops changed according to map."
-
- ^map newHashFor: self!
Item was removed:
- ----- Method: Object>>identityHashMappedBy: (in category 'comparing') -----
- identityHashMappedBy: map
- "Answer what my hash would be if oops changed according to map."
-
- ^map newHashFor: self!
Item was removed:
- ----- Method: SmallInteger>>identityHashMappedBy: (in category 'comparing') -----
- identityHashMappedBy: map
-
- ^ self!