Le 12/10/2015 19:45, Juraj Kubelka a écrit :
> Hi,
> 
> we have a slice that introduce new storage solution for System Settings.
> See: 
> https://pharo.fogbugz.com/f/cases/16681/Storing-System-Settings-using-STON 
> 
> You can load it using:
> 
> Gofer it
> smalltalkhubUser: 'Pharo' project: 'Pharo50Inbox';
> package: 'SLICE-Issue-16681-Storing-System-Settings-using-STON';
> load.
> 
> When you open the Setting Browser, you can see that every setting has
> new items in context menu:
> 
> 
> Thanks for reviewing it.
> Cheers,
> Juraj

Hi,

Thank you for that.
When I make store settings for the first time I have an exception on the
write stream because the file doesn't exist. I had to create the folder
5.0 and an empty file to get it right.
In Pharo 50392 on Linux.

I join the stack:

FileHandle>>streamError
FileHandle>>writeStream
FileSystem>>writeStreamOn:
FileReference>>writeStream
SystemSettingsPersistence>>writeStream
SystemSettingsPersistence>>storeExactStoredSettings:
SystemSettingsPersistence>>storeStoredSettings:
SystemSettingsPersistence>>storeSettingNodes:
SystemSettingsPersistence>>storeSettingNodes
SettingTree>>storeSettingNodes
SettingBrowser>>storeSettings
PluggableButtonMorph>>performAction:
[ :m |
(m containsPoint: evt cursorPoint)
        ifTrue: [ m enabled
                        ifTrue: [ m performAction: evt ] ] ] in
PluggableButtonMorph>>mouseUp: in Block: [ :m | ...
Array(SequenceableCollection)>>do:
PluggableButtonMorph>>mouseUp:
PluggableButtonMorph(Morph)>>handleMouseUp:
MouseButtonEvent>>sentTo:
PluggableButtonMorph(Morph)>>handleEvent:
PluggableButtonMorph(Morph)>>handleFocusEvent:
[ ActiveHand := self.
ActiveEvent := anEvent.
result := focusHolder
        handleFocusEvent:
                (anEvent transformedBy: (focusHolder transformedFrom: self)) ] 
in
HandMorph>>sendFocusEvent:to:clear: in Block: [ ActiveHand := self....
BlockClosure>>on:do:
WorldMorph(PasteUpMorph)>>becomeActiveDuring:
HandMorph>>sendFocusEvent:to:clear:
HandMorph>>sendEvent:focus:clear:
HandMorph>>sendMouseEvent:
HandMorph>>handleEvent:
HandMorph>>processEvents
[ :h |
ActiveHand := h.
h processEvents.
ActiveHand := nil ] in WorldState>>doOneCycleNowFor: in Block: [ :h | ...
Array(SequenceableCollection)>>do:
WorldState>>handsDo:


-- 

Cyril Ferlicot

http://www.synectique.eu

165 Avenue Bretagne
Lille 59000 France

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to