Bert Freudenberg uploaded a new version of Morphic to project Etoys:
http://source.squeak.org/etoys/Morphic-bf.27.mcz
==================== Summary ====================
Name: Morphic-bf.27
Author: bf
Time: 26 June 2010, 2:34:02 pm
UUID: 1f191db0-0441-4550-832b-068903c9319a
Ancestors: Morphic-bf.26
- fix an ambiguous translation in abandonUnsituatedPlayers (SQ-649)
=============== Diff against Morphic-bf.26 ===============
Item was changed:
----- Method: PasteUpMorph>>abandonUnsituatedPlayers (in category 'menu') -----
abandonUnsituatedPlayers
"If any objects in the project have references, in player-valued variables, to other objects otherwise not present in the project, abandon them and replace former references to them by references to Dot"
| aList dot slotInfo varName ref allPlayers count |
count := 0.
allPlayers := ActiveWorld presenter reallyAllExtantPlayersNoSort.
aList := allPlayers select: [:m | m belongsToUniClass].
dot := self presenter standardPlayer.
aList do:
[:p |
p class slotInfo associationsDo:
[:assoc |
slotInfo := assoc value.
varName := assoc key.
(slotInfo type = #Player) ifTrue:
[ref := p instVarNamed: varName.
(allPlayers includes: ref) ifFalse:
[p instVarNamed: varName put: dot.
count := count + 1.
+ Transcript cr; show: ('Variable named "{1}" in player named "{2}" changed to point to Dot' translated format: {varName. ref externalName})]]]].
- Transcript cr; show: 'Variable named' translated, ' "', varName, '" ', 'in' translated, ' player named' translated, ' "', ref externalName, '" ', 'changed to point to Dot']]]].
aList := nil. "Increases chance of the next line having desired effect."
+ self inform: ('{1} item(s) fixed up' translated format: {count}).
- self inform: count printString, ' item(s) fixed up' translated.
WorldState addDeferredUIMessage: [Smalltalk garbageCollect]!
Bert Freudenberg uploaded a new version of Morphic to project Etoys:
http://source.squeak.org/etoys/Morphic-bf.26.mcz
==================== Summary ====================
Name: Morphic-bf.26
Author: bf
Time: 26 June 2010, 2:26:21 pm
UUID: 585ebc00-ef95-423f-a27d-bb609b1b3ee1
Ancestors: Morphic-bf.25
- fix copying text from lists (SQ-691)
=============== Diff against Morphic-bf.25 ===============
Item was added:
+ ----- Method: PluggableListMorph>>userString (in category 'debug and other') -----
+ userString
+ "Do I have a text string to be searched on?"
+
+ ^ String streamContents: [:strm |
+ 1 to: self getListSize do: [:i |
+ strm nextPutAll: (self getListItem: i); cr]]!
Item was added:
+ ----- Method: LazyListMorph>>userString (in category 'accessing') -----
+ userString
+ "Do I have a text string to be searched on?"
+
+ ^ String streamContents: [:strm |
+ 1 to: self getListSize do: [:i |
+ strm nextPutAll: (self getListItem: i); cr]]!
Karl,
The addition of the save tiles is most welcome, thank you. I loaded
SoundRecorderSave.1.cs from SQ-672, and it works fine on Macintosh.
Some thoughts:
1. new tile in the "sound recorder" category: "save button hit", perhaps
simply "save" would be better?
2. new tile in the "sound recorder" category: "save without user
interaction" ...
1. This is a useful tile, but it seems I have no control over the
sound name and on first save it saves it as "new sound" then "new sound2"
...
2. Perhaps letting the user specify the filename as a "parameter" in
the tile would be better. This way I could know when they
recorded the sound
and be sure I can play back the sound I want.
FYI, I did not see these tiles in Etoys4.1 when I loaded "Sound-kfr.7.mcz"
Many thanks for this and the other fixes.
http://tracker.squeakland.org/browse/SQ-673