Re: [Pharo-users] About deprecation and unit testing

2013-12-05 Thread btc
Luc Fabresse wrote: Hi All,    I think that trapping Deprecations silently is not a good idea.  As you said, people will not see them and it will be hard to upgrade code.  Why not having a Preference?  or another button in the TestRunner such as: "Run ignoring Deprecation"?  

Re: [Pharo-users] openFullscreen a WindowModel

2013-12-05 Thread Picci Pharo
The Class MorphicWindowAdapter doesn't exist in Pharo 2.0 From: benjamin.vanryseghem.ph...@gmail.com Date: Wed, 4 Dec 2013 11:26:54 +0100 To: pharo-users@lists.pharo.org Subject: Re: [Pharo-users] openFullscreen a WindowModel Add: WindowModel>>#openFullscreen self changed: #openFullscreen

Re: [Pharo-users] openFullscreen a WindowModel

2013-12-05 Thread Benjamin
then (note it’s a hack) WindowModel>>#openFullscreen self widget ifNotNil: [ :w | w openFullScreen ] Ben On 05 Dec 2013, at 10:59, Picci Pharo wrote: > The Class MorphicWindowAdapter doesn't exist in Pharo 2.0 > > From: benjamin.vanryseghem.ph...@gmail.com > Date: Wed, 4 Dec 2013 1

Re: [Pharo-users] openFullscreen a WindowModel

2013-12-05 Thread Picci Pharo
It's non very clear for me. "self widget ifNotNil: [ :w | w openFullScreen ]" but openFullscreen hasn't been implemented yet. It is completely red. Paolo From: benjamin.vanryseghem.ph...@gmail.com Date: Thu, 5 Dec 2013 11:04:29 +0100 To: pharo-users@lists.pharo.org Subject: Re: [Pharo-users] open

Re: [Pharo-users] openFullscreen a WindowModel

2013-12-05 Thread Benjamin
or openFullscreen, The one known by SystemWindow Ben On 05 Dec 2013, at 11:11, Picci Pharo wrote: > openFullscreen

Re: [Pharo-users] openFullscreen a WindowModel

2013-12-05 Thread Picci Pharo
Are you telling me that i can copy the openFullscreen of StandardWindow and put it into the class WindowModel? Paolo From: benjamin.vanryseghem.ph...@gmail.com Date: Thu, 5 Dec 2013 11:13:35 +0100 To: pharo-users@lists.pharo.org Subject: Re: [Pharo-users] openFullscreen a WindowModel or openFull

Re: [Pharo-users] openFullscreen a WindowModel

2013-12-05 Thread Benjamin
No I am saying that self widget ifNotNil: [ :w | w openFullScreen ] w in here is a StandardWindow. Ben On 05 Dec 2013, at 11:18, Picci Pharo wrote: > Are you telling me that i can copy the openFullscreen of StandardWindow and > put it into the class WindowModel? > > Paolo > > From: benjam

Re: [Pharo-users] openFullscreen a WindowModel

2013-12-05 Thread Picci Pharo
It Works But the capital S is your mistake :-) Thanks Ben, hope to speak soon with you and Steph here in Brescia for the next ESUG. Paolo From: benjamin.vanryseghem.ph...@gmail.com Date: Thu, 5 Dec 2013 11:21:40 +0100 To: pharo-users@lists.pharo.org Subject: Re: [Pharo-users] openFullscreen a

Re: [Pharo-users] openFullscreen a WindowModel

2013-12-05 Thread Benjamin
Sorry for not knowing the StandardWindow API by heart (yet) :P Ben On 05 Dec 2013, at 11:28, Picci Pharo wrote: > It Works But the capital S is your mistake :-) > > Thanks Ben, hope to speak soon with you and Steph here in Brescia for the > next ESUG. > > Paolo > > From: benjamin.vanrys

Re: [Pharo-users] command line command from pharo image

2013-12-05 Thread Sean P. DeNigris
Sabine Knöfel wrote > Which is the Class and the message in NB then? not sure which class and on holidays with no computer :) the Mac message is #run: which wraps system in libc, and the Windows version, which I haven't committed yet is #winExec:show which wraps WinExec. HTH - Cheers, Sean

[Pharo-users] command line command from pharo image

2013-12-05 Thread Torsten Bergmann
Sean wrote: >Sabine Knöfel wrote >> Which is the Class and the message in NB then? >not sure which class and on holidays with no computer :) the Mac message is >#run: which wraps system in libc, and the Windows version, which I haven't >committed yet is #winExec:show which wraps WinExec. HTH Hi Sa

Re: [Pharo-users] About deprecation and unit testing

2013-12-05 Thread jtuc...@objektfabrik.de
Hi guys, Deprecation is a subclass of Warning, not Error. And I think this is absolutely correct. So the basic question here is if the action on Warnings and Notifications in general in SUnit is correct or should be changed. This is not necessarily limited to Deprecation. Of course we need

[Pharo-users] OSProcess command: 'something' does not work on windows

2013-12-05 Thread Sabine Knöfel
(continuation of http://forum.world.st/command-line-command-from-pharo-image-td4727022.html) OSProcess command: 'something' works fine on mac but does not work on windows. If I debug in it I arrive at a primitive call in WindowsOSProcessAccessor>>primCommand: The comment is saying something li

[Pharo-users] Json case: Mapping objects to dictionaries

2013-12-05 Thread Norbert Hartl
What would be the best software to map my objects to dictionaries? There are a lot of packages in pharo that deal with JSON somehow. But it seems none does mapping from objects to dictionaries and is standalone. We’ve got - NeoJSON package . Maps objects to strings directly for performance reaso

Re: [Pharo-users] [Pharo-dev] Json case: Mapping objects to dictionaries

2013-12-05 Thread Esteban A. Maringolo
Norbert, I'm currently building the dictionaries myself. I have a specific domain class of mapper for each "message" (JSON). The mapper builder manually builds my domain objects from the dictionary returned by "JSJsonParser parse: aString", when writing creates a Dictionary and sends #asJson to it

Re: [Pharo-users] command line command from pharo image

2013-12-05 Thread Sean P. DeNigris
Torsten Bergmann wrote > PLEASE NO WinExec, this is long deprecated Ha ha, yes Torsten. I couldn't get create process to work so I cheated ;) it works and takes only two parameters. This is exciting that you've already wrapped that stuff! I had no idea, there's probably so many great things out t

Re: [Pharo-users] OSProcess command: 'something' does not work on windows

2013-12-05 Thread Sean P. DeNigris
If you search the mailing list for OSProcess Windows, you will find a list that says that your need to get our bills the plugin which is not included by default. HTH - Cheers, Sean -- View this message in context: http://forum.world.st/OSProcess-command-something-does-not-work-on-windows-tp