Levente Uzonyi uploaded a new version of Tests to project The Trunk:
http://source.squeak.org/trunk/Tests-ul.339.mcz
==================== Summary ====================
Name: Tests-ul.339
Author: ul
Time: 7 April 2016, 8:26:14.155989 pm
UUID: 7a4c1480-05bb-4037-9b24-45e5401e2af7
Ancestors: Tests-ul.338
- don't leave the empty Tests-MonticelloMocks category in the system after running MCFileInTest
=============== Diff against Tests-ul.338 ===============
Item was changed:
----- Method: MCFileInTest>>tearDown (in category 'running') -----
tearDown
super tearDown.
(diff isNil or: [diff isEmpty not])
+ ifTrue: [expected updatePackage: self mockPackage].
+ SystemOrganizer default removeEmptyCategories!
- ifTrue: [expected updatePackage: self mockPackage]!
Marcel Taeumel uploaded a new version of Sound to project The Trunk:
http://source.squeak.org/trunk/Sound-mt.54.mcz
==================== Summary ====================
Name: Sound-mt.54
Author: mt
Time: 6 April 2016, 6:30:41.370961 pm
UUID: a0aa6992-2b6c-c648-87b2-124df7b804ba
Ancestors: Sound-mt.53
Consider the sound-enabled preference also for playing MIDI scores.
=============== Diff against Sound-mt.53 ===============
Item was changed:
----- Method: MIDISound>>play (in category 'as yet unclassified') -----
play
"The base class ScorePlayer has two interfaces: a sound and a sound player. Choose the right interface depending on whether MIDI support is present."
+ SoundService soundEnabled ifFalse: [^ self].
+
SimpleMIDIPort useMIDIDeviceForOutput ifTrue: [
[self openMIDIPort]
on: Error
do: [
SimpleMIDIPort askForDefault.
[self openMIDIPort]
on: Error
do: [
self inform: 'Use of MIDI device is not working. Using custom synthesis.\Go to preferences to change again.' withCRs.
SimpleMIDIPort useMIDIDeviceForOutput: false]]].
self reset; resumePlaying.!
Marcel Taeumel uploaded a new version of Sound to project The Trunk:
http://source.squeak.org/trunk/Sound-mt.53.mcz
==================== Summary ====================
Name: Sound-mt.53
Author: mt
Time: 6 April 2016, 6:25:53.027926 pm
UUID: 7e1b7e43-e9c2-2a41-90c2-d545cd195582
Ancestors: Sound-mt.52
Disable usage of MIDI device if it does not work.
=============== Diff against Sound-mt.52 ===============
Item was changed:
----- Method: MIDISound>>play (in category 'as yet unclassified') -----
play
"The base class ScorePlayer has two interfaces: a sound and a sound player. Choose the right interface depending on whether MIDI support is present."
SimpleMIDIPort useMIDIDeviceForOutput ifTrue: [
[self openMIDIPort]
on: Error
do: [
SimpleMIDIPort askForDefault.
+ [self openMIDIPort]
+ on: Error
+ do: [
+ self inform: 'Use of MIDI device is not working. Using custom synthesis.\Go to preferences to change again.' withCRs.
+ SimpleMIDIPort useMIDIDeviceForOutput: false]]].
- self openMIDIPort]].
self reset; resumePlaying.!
Marcel Taeumel uploaded a new version of Tools to project The Trunk:
http://source.squeak.org/trunk/Tools-mt.685.mcz
==================== Summary ====================
Name: Tools-mt.685
Author: mt
Time: 6 April 2016, 6:11:52.977125 pm
UUID: 87ada98c-1487-8b40-aff3-51e64dd6686f
Ancestors: Tools-mt.684
Removes 'the Sound Player' as a well-known global process to get rid of some global state considering the playing of sounds. Scores, for example, are played as one process per score. Maybe sounds could benefit from that, too. Anyway, it's primarily about the global state here.
And: Sound player processes got a clear description now. So, this is no step back in usability.
=============== Diff against Tools-mt.684 ===============
Item was changed:
----- Method: ProcessBrowser class>>registerWellKnownProcesses (in category 'class initialization') -----
registerWellKnownProcesses
"Associate each well-known process with a nickname and two flags: allow-stop, and allow-debug.
Additional processes may be added to this list as required"
WellKnownProcesses := OrderedCollection new.
self registerWellKnownProcess: []
label: 'no process'
allowStop: false
allowDebug: false.
self registerWellKnownProcess: [Smalltalk lowSpaceWatcherProcess]
label: 'the low space watcher'
allowStop: false
allowDebug: false.
self registerWellKnownProcess: [WeakArray runningFinalizationProcess]
label: 'the WeakArray finalization process'
allowStop: false
allowDebug: false.
self registerWellKnownProcess: [Processor activeProcess]
label: 'the UI process'
allowStop: false
allowDebug: true.
self registerWellKnownProcess: [Processor backgroundProcess]
label: 'the idle process'
allowStop: false
allowDebug: false.
self registerWellKnownProcess: [Sensor interruptWatcherProcess]
label: 'the user interrupt watcher'
allowStop: false
allowDebug: false.
self registerWellKnownProcess: [Sensor eventTicklerProcess]
label: 'the event tickler'
allowStop: false
allowDebug: false.
self registerWellKnownProcess: [Project uiProcess]
label: 'the inactive Morphic UI process'
allowStop: false
allowDebug: false.
+ " self registerWellKnownProcess:
- self registerWellKnownProcess:
[Smalltalk at: #SoundPlayer ifPresent: [:sp | sp playerProcess]]
label: 'the Sound Player'
allowStop: false
+ allowDebug: false."
- allowDebug: false.
self registerWellKnownProcess:
[ScheduledControllers ifNotNil: [ScheduledControllers activeControllerProcess]]
label: 'the inactive MVC controller process'
allowStop: false
allowDebug: true.
self registerWellKnownProcess:
[Smalltalk at: #CPUWatcher ifPresent: [:cw | cw currentWatcherProcess]]
label: 'the CPUWatcher'
allowStop: false
allowDebug: false
!
Item was changed:
+ (PackageInfo named: 'Tools') postscript: 'ProcessBrowser initialize.'!
- (PackageInfo named: 'Tools') postscript: '"Updated for new global hot-key support."
- ActiveWorld initializeDesktopCommandKeySelectors'!