Tim Felgentreff uploaded a new version of MorphicExtras to project The Trunk:
http://source.squeak.org/trunk/MorphicExtras-tfel.199.mcz
==================== Summary ====================
Name: MorphicExtras-tfel.199
Author: tfel
Time: 27 September 2016, 2:55:01.185629 pm
UUID: 654861ec-a93d-7b42-b2bc-f57bdbc9647f
Ancestors: MorphicExtras-tfel.198
Force re-drawing of the main hand after the EventRecorder finishes
=============== Diff against MorphicExtras-tfel.198 ===============
Item was changed:
----- Method: EventRecorderMorph>>pauseIn: (in category 'pause/resume') -----
pauseIn: aWorld
"Suspend playing or recording, either as part of a stop command,
or as part of a project switch, after which it will be resumed."
self setStatusLight: #ready.
state = #play ifTrue:
[state := #suspendedPlay.
playHand halo ifNotNil: [playHand halo delete].
playHand delete.
aWorld removeHand: playHand.
+ aWorld firstHand showHardwareCursor: true.
playHand := nil].
state = #record ifTrue:
[state := #suspendedRecord.
recHand removeEventListener: self.
recHand := nil].
voiceRecorder ifNotNil:
[voiceRecorder pause.
startSoundEvent ifNotNil:
[startSoundEvent argument: voiceRecorder recordedSound.
voiceRecorder clearRecordedSound.
startSoundEvent := nil]].
!
Tim Felgentreff uploaded a new version of System to project The Trunk:
http://source.squeak.org/trunk/System-tfel.917.mcz
==================== Summary ====================
Name: System-tfel.917
Author: tfel
Time: 27 September 2016, 2:52:54.264629 pm
UUID: 6436c2ff-4a02-d845-9b8e-45b8130a609c
Ancestors: System-bf.916
when trying to load a project from my local server when that is not set, at least try to fall back to the default directory
=============== Diff against System-bf.916 ===============
Item was changed:
----- Method: Project>>fromMyServerLoad: (in category 'file in/out') -----
fromMyServerLoad: otherProjectName
| pair pr dirToUse |
"If a newer version of me is on the server, load it."
(pr := Project named: otherProjectName) ifNotNil: ["it appeared"
^ pr enter
].
+
dirToUse := self primaryServerIfNil: [
+ lastDirectory
+ ifNil: [FileDirectory default]
+ ifNotNil: [lastDirectory]].
- lastDirectory ifNil: [
- self inform: 'Current project does not know a server either.'.
- ^nil].
- lastDirectory].
pair := self class mostRecent: otherProjectName onServer: dirToUse.
pair first ifNil: [^self decideAboutCreatingBlank: otherProjectName]. "nothing to load"
^ProjectLoading
installRemoteNamed: pair first
from: dirToUse
named: otherProjectName
in: self
!
Tim Felgentreff uploaded a new version of EToys to project The Trunk:
http://source.squeak.org/trunk/EToys-tfel.253.mcz
==================== Summary ====================
Name: EToys-tfel.253
Author: tfel
Time: 26 September 2016, 11:40:48.856552 am
UUID: a00694aa-7017-b444-a8d0-6671ec171efd
Ancestors: EToys-tfel.252
delete the project saving morph before saving
=============== Diff against EToys-tfel.252 ===============
Item was changed:
----- Method: EToyProjectDetailsMorph>>doOK (in category 'utilities') -----
doOK
"User hit the ok button in the project-info dialog. Store the updated project-info back in the project. Call the message-send residing in the receiver's actionBlock to carry out any subsequent desired task. Note that this method sets the 'arguments' of the message-send in the actionBlock"
| args actionSelector |
self validateTheProjectName ifFalse: [^false].
projectDetails := self copyOutDetails.
theProject acceptProjectDetails: projectDetails. "Make sure project & world feel the changes"
+
+ self delete.
-
actionBlock isMessageSend "new way -- hopefully all cases"
ifTrue: "please excuse this ugly, non-modular code..."
[actionSelector := actionBlock selector.
args := (actionSelector = #handUserSorterMorphForProjectNamed:)
ifTrue:
[{theProject name}]
ifFalse:
[actionSelector numArgs = 0
ifTrue:
[nil]
ifFalse:
[Array with: projectDetails]].
actionBlock arguments: args.
actionBlock value]
ifFalse: "Old way, with actionBlock actually a block of one argument. This should no longer occur."
+ [actionBlock value: projectDetails].!
- [actionBlock value: projectDetails].
-
- self delete!
Item was changed:
----- Method: EToyProjectQueryMorph>>doOK (in category 'ok button hit') -----
doOK
"User hit the ok button in the project-query dialog."
| details |
details := self copyOutDetails.
+ self delete.
actionBlock isMessageSend "new way -- hopefully all cases"
ifTrue:
[actionBlock arguments: {details. actionBlock arguments second}.
actionBlock value]
ifFalse: "Old way, with actionBlock actually a block of one argument. This should no longer occur."
+ [actionBlock value: details].!
- [actionBlock value: details].
-
- self delete!
Tim Felgentreff uploaded a new version of EToys to project The Trunk:
http://source.squeak.org/trunk/EToys-tfel.252.mcz
==================== Summary ====================
Name: EToys-tfel.252
Author: tfel
Time: 26 September 2016, 10:06:37.467552 am
UUID: ec8e5c79-9271-ee4b-b729-a0138c2b4b9d
Ancestors: EToys-tfel.251
fix a potential bug when the info dictionary for kedama turtle vector players was restored from siss
=============== Diff against EToys-tfel.251 ===============
Item was changed:
----- Method: KedamaTurtleVectorPlayer2>>compileAllAccessors (in category 'player protocol') -----
compileAllAccessors
+ info rehash.
info keys asArray do: [:k |
(#(who x y heading color visible predicate) includes: k) ifFalse: [
self compileVectorInstVarAccessorsFor: k.
].
].
!
Tim Felgentreff uploaded a new version of Morphic to project The Trunk:
http://source.squeak.org/trunk/Morphic-tfel.1310.mcz
==================== Summary ====================
Name: Morphic-tfel.1310
Author: tfel
Time: 23 September 2016, 4:59:03.672724 pm
UUID: bac48a9f-07c3-2640-9923-a1be55a78df0
Ancestors: Morphic-tfel.1309
deprecate modalWindow property usage on PasteUpMorphs, that was only used in eToys related code
=============== Diff against Morphic-tfel.1309 ===============
Item was removed:
- ----- Method: Morph>>becomeModal (in category 'user interface') -----
- becomeModal
- self currentWorld
- ifNotNil: [self currentWorld modalWindow: self]!
Item was changed:
----- Method: PasteUpMorph>>assureNotPaintingElse: (in category 'world state') -----
assureNotPaintingElse: aBlock
"If painting is already underway in the receiver, put up an informer to that effect and evalute aBlock"
- self removeModalWindow.
self sketchEditorOrNil ifNotNil:
[self inform: 'Sorry, you can only paint
one object at a time' translated.
Cursor normal show.
^ aBlock value]
!
Item was removed:
- ----- Method: PasteUpMorph>>modalWindow: (in category 'accessing') -----
- modalWindow: aMorph
- (self valueOfProperty: #modalWindow)
- ifNotNil: [:morph | morph doCancel].
- self setProperty: #modalWindow toValue: aMorph.
- aMorph
- ifNotNil: [self
- when: #aboutToLeaveWorld
- send: #removeModalWindow
- to: self]!
Item was changed:
----- Method: PasteUpMorph>>releaseCachedState (in category 'caching') -----
releaseCachedState
super releaseCachedState.
- self removeModalWindow.
presenter ifNotNil:[presenter flushPlayerListCache].
self isWorldMorph ifTrue:[self cleanseStepList].!
Item was removed:
- ----- Method: PasteUpMorph>>removeModalWindow (in category 'accessing') -----
- removeModalWindow
- self modalWindow: nil!