Marcel Taeumel uploaded a new version of Morphic to project The Trunk:
http://source.squeak.org/trunk/Morphic-mt.1114.mcz
==================== Summary ====================
Name: Morphic-mt.1114
Author: mt
Time: 17 April 2016, 7:28:54.179544 pm
UUID: 4dbd1bf1-ad31-7c47-9995-e5896ec3045e
Ancestors: Morphic-mt.1113
Deprecated.
=============== Diff against Morphic-mt.1113 ===============
Item was removed:
- ----- Method: PasteUpMorph>>handleFatalDrawingError: (in category 'world state') -----
- handleFatalDrawingError: errMsg
- "Handle a fatal drawing error."
- self flag: #toRemove. "Implementation moved to Project, but are there external packages with senders?"
- Project current handleFatalDrawingError: errMsg
- !
Item was removed:
- ----- Method: WorldState>>handleFatalDrawingError: (in category 'update cycle') -----
- handleFatalDrawingError: errMsg
- "Handle a fatal drawing error."
- self flag: #toRemove. "Implementation moved to Project, but are there external packages with senders?"
- Project current handleFatalDrawingError: errMsg
- !
Marcel Taeumel uploaded a new version of 51Deprecated to project The Trunk:
http://source.squeak.org/trunk/51Deprecated-mt.22.mcz
==================== Summary ====================
Name: 51Deprecated-mt.22
Author: mt
Time: 17 April 2016, 7:27:29.345544 pm
UUID: 85e7ecd3-ad2f-3540-8d97-f76a165720ec
Ancestors: 51Deprecated-mt.21
Deprecated.
=============== Diff against 51Deprecated-mt.21 ===============
Item was added:
+ ----- Method: Project class>>interruptName: (in category '*51Deprecated') -----
+ interruptName: labelString
+ "Create a Notifier on the active scheduling process with the given label."
+
+ self flag: #toRemove. "after restarting the user interrupt watcher process"
+ ^ self current interruptName: labelString
+ !
Marcel Taeumel uploaded a new version of System to project The Trunk:
http://source.squeak.org/trunk/System-mt.816.mcz
==================== Summary ====================
Name: System-mt.816
Author: mt
Time: 17 April 2016, 7:26:27.669544 pm
UUID: ed43f5c1-124e-5443-8a75-630449e78766
Ancestors: System-mt.815
Deprecated.
=============== Diff against System-mt.815 ===============
Item was removed:
- ----- Method: Project class>>interruptName: (in category 'utilities') -----
- interruptName: labelString
- "Create a Notifier on the active scheduling process with the given label."
-
- self flag: #toRemove. "after restarting the user interrupt watcher process"
- ^ self current interruptName: labelString
- !
Marcel Taeumel uploaded a new version of Morphic to project The Trunk:
http://source.squeak.org/trunk/Morphic-mt.1113.mcz
==================== Summary ====================
Name: Morphic-mt.1113
Author: mt
Time: 17 April 2016, 5:44:23.036117 pm
UUID: 1b36a4fb-13d9-f04f-8552-4048b9ac0439
Ancestors: Morphic-mt.1112
Improves robustness when facing erroneous drawing code that affects the debugger GUI. In that case, show primitive REPL instead of freezing the image.
Note that there will soon be more code to recover from such serious errors.
=============== Diff against Morphic-mt.1112 ===============
Item was changed:
----- Method: Debugger class>>morphicOpenOn:context:label:contents:fullView: (in category '*Morphic-opening') -----
+ morphicOpenOn: process context: context label: title contents: contentsStringOrNil fullView: full
- morphicOpenOn: process context: context label: title contents: contentsStringOrNil fullView: bool
"Open a notifier in response to an error, halt, or notify. A notifier view just shows a short view of the sender stack and provides a menu that lets the user open a full debugger."
| errorWasInUIProcess debugger |
+ ErrorRecursion ifTrue: [
+ "self assert: process == Project current uiProcess -- DOCUMENTATION ONLY"
+ ErrorRecursion := false.
+ ^ Project current handleFatalDrawingError: title].
+
+ [ErrorRecursion not & Preferences logDebuggerStackToFile
- errorWasInUIProcess := Project current spawnNewProcessIfThisIsUI: process.
- [Preferences logDebuggerStackToFile
ifTrue: [Smalltalk logSqueakError: title inContext: context]] on: Error do: [:ex | ex return: nil].
+
+ ErrorRecursion := true.
+
+ errorWasInUIProcess := Project current spawnNewProcessIfThisIsUI: process.
+
+ "Schedule debugging in deferred UI message because
+ 1) If process is the current UI process, it is already broken.
+ 2) If process is some other process, it must not execute UI code"
+ Project current addDeferredUIMessage: [
+ debugger := self new process: process controller: nil context: context.
+ full
+ ifTrue: [debugger openFullNoSuspendLabel: title]
+ ifFalse: [debugger openNotifierContents: contentsStringOrNil label: title].
+ debugger errorWasInUIProcess: errorWasInUIProcess.
+
+ "Try drawing the debugger tool at least once to avoid freeze."
+ ActiveWorld displayWorldSafely.
+
+ ErrorRecursion := false.
- WorldState addDeferredUIMessage: [
- "schedule debugger in deferred UI message to address redraw
- problems after opening a debugger e.g. from the testrunner."
- [
- debugger := self new process: process controller: nil context: context.
- bool
- ifTrue: [debugger openFullNoSuspendLabel: title]
- ifFalse: [debugger openNotifierContents: contentsStringOrNil label: title].
- debugger errorWasInUIProcess: errorWasInUIProcess.
- ] on: Error do: [:ex |
- self primitiveError:
- 'Original error: ',
- title asString, '.
- Debugger error: ',
- ([ex description] on: Error do: ['a ', ex class printString]), ':'
- ]
].
process suspend.
!
Hello,
Since the version 3.8 Squeak correctly displayed Unicode characters if
glyphs were part of TTF file I imported. But Squeak Squeak 5.0 cannot
do this. For example: 'ąčę' (asciiValues 269, 261, 281) is shown
incorrectly. Bug?
regards,
Vaidotas
Marcel Taeumel uploaded a new version of 51Deprecated to project The Trunk:
http://source.squeak.org/trunk/51Deprecated-mt.21.mcz
==================== Summary ====================
Name: 51Deprecated-mt.21
Author: mt
Time: 17 April 2016, 3:40:38.829563 pm
UUID: eb889a15-3f92-8449-a82e-fae0cbcb02fc
Ancestors: 51Deprecated-mt.20
Removes some ancient compatibility code for running Morphic worlds in MVC views. This feature, however, stopped working long time ago.
=============== Diff against 51Deprecated-mt.20 ===============
Item was added:
+ ----- Method: PasteUpMorph>>privateOuterDisplayWorld (in category '*51Deprecated-Morphic') -----
+ privateOuterDisplayWorld
+
+ worldState displayWorld: self submorphs: submorphs
+ !
Marcel Taeumel uploaded a new version of Morphic to project The Trunk:
http://source.squeak.org/trunk/Morphic-mt.1112.mcz
==================== Summary ====================
Name: Morphic-mt.1112
Author: mt
Time: 17 April 2016, 3:39:02.961563 pm
UUID: 02af3e51-0b5a-fc40-ab74-b7372906bad5
Ancestors: Morphic-mt.1111
Removes some ancient compatibility code for running Morphic worlds in MVC views. This feature, however, stopped working long time ago.
=============== Diff against Morphic-mt.1111 ===============
Item was changed:
----- Method: PasteUpMorph>>displayWorld (in category 'world state') -----
displayWorld
+ worldState displayWorld: self submorphs: submorphs.!
- self outermostWorldMorph privateOuterDisplayWorld
- !
Item was removed:
- ----- Method: PasteUpMorph>>privateOuterDisplayWorld (in category 'world state') -----
- privateOuterDisplayWorld
-
- worldState displayWorld: self submorphs: submorphs
- !
Marcel Taeumel uploaded a new version of Tools to project The Trunk:
http://source.squeak.org/trunk/Tools-mt.690.mcz
==================== Summary ====================
Name: Tools-mt.690
Author: mt
Time: 17 April 2016, 12:00:40.266542 pm
UUID: d4a2a77e-d3cf-7c49-8685-096e8f7ff578
Ancestors: Tools-cmm.689
Make the message trace tools more obvious to avoid applying a wrong user model. Regular message set and traced message set behave differently considering mouse clicks, keyboard shortcuts, etc.
There is a preference traceMessage to switch between traditional senders/implementors and the traced versions.
=============== Diff against Tools-cmm.689 ===============
Item was changed:
----- Method: MessageTrace>>windowLabelAt: (in category 'private accessing') -----
windowLabelAt: anInteger
| str |
^(str := autoSelectStrings at: anInteger)
ifNil:
+ [ 'Traced Implementors of ',
- [ 'Implementors of ',
(self class
parse: self selection
toClassAndSelector: [ :class :selector | selector ]) ]
ifNotNil:
+ [ 'Traced Senders of ', str ]
- [ 'Senders of ', str ]
!
Item was changed:
----- Method: StandardToolSet class>>browseMessageSet:name:autoSelect: (in category 'browsing') -----
browseMessageSet: messageList name: title autoSelect: autoSelectString
"Open a message set or message-trace browser, depending on the #traceMessages setting."
^ Preferences traceMessages
ifTrue:
[ MessageTrace
openMessageList: messageList
+ name: 'Traced ', title
- name: title
autoSelect: autoSelectString ]
ifFalse:
[ MessageSet
openMessageList: messageList
name: title
autoSelect: autoSelectString ]!
Hi All,
I depend heavily on fileOutAll in method list browsers. For example,
I'm trying to create versions of the VM's boolean cheat code for the Sista
bytecode set and do this by filing out the code for the Newspeak set and
editing it. I tried to do this using "self systemNavigation
browseAllSelect: [:m| ('*ooleanCheat*V*' match: m selector) or: [m
sendsSelector: #booleanCheatV4:]]" to get a method list browser. Then I
was expecting to be able to use file out with nothing in the list selected.
This files out all methods in the list but...
Deselection is broken! I can't deselect the first item and hence can only
file out a single definition . Will whoever changed this please restore it
asap? (in trunk)
--
Mahalo,
Eliot
Squeak on a Raspberry Pi (RPi) is easy - download it on a PC then upload 3
files from there to the RPi, changes, sources, and image then run squeak
[path]image. But a search for Squeak classes returned nothing for USB. So
how do I communicate with a Webcam, microcontroller, or other peripheral?
A look at Pharo classes produced similar results.
Also, couldn't get this Pharo to run on RPi.
http://car.mines-douai.fr/category/software/pharos/