Re: [Pharo-users] Spec - TextModel whenTextIsAccepted

2013-11-05 Thread Bahman Movaqar
On 11/06/2013 11:07, Benjamin wrote: > In which version of Pharo are you working ? Pharo2.0 Latest update: #20607 > > On 06 Nov 2013, at 08:31, Bahman Movaqar > wrote: > >> On 11/06/2013 10:56, Benjamin wrote: >>> On 06 Nov 2013, at 08:21, Bahman Movaqar >>

Re: [Pharo-users] Spec - TextModel whenTextIsAccepted

2013-11-05 Thread Benjamin
In which version of Pharo are you working ? Ben On 06 Nov 2013, at 08:31, Bahman Movaqar wrote: > On 11/06/2013 10:56, Benjamin wrote: >> On 06 Nov 2013, at 08:21, Bahman Movaqar > > wrote: >> >>> On 11/06/2013 10:41, Benjamin wrote: This is the expected behavio

Re: [Pharo-users] Spec - TextModel whenTextIsAccepted

2013-11-05 Thread Bahman Movaqar
On 11/06/2013 10:56, Benjamin wrote: > On 06 Nov 2013, at 08:21, Bahman Movaqar > wrote: > >> On 11/06/2013 10:41, Benjamin wrote: >>> This is the expected behaviour :) >> >> Oh! A bit unorthodox, specially considering the shortcut (CTRL+S) >> --I was expecting somethin

Re: [Pharo-users] Spec - TextModel whenTextIsAccepted

2013-11-05 Thread Benjamin
On 06 Nov 2013, at 08:21, Bahman Movaqar wrote: > On 11/06/2013 10:41, Benjamin wrote: >> This is the expected behaviour :) > > Oh! A bit unorthodox, specially considering the shortcut (CTRL+S) --I was > expecting something like ENTER :-) There is also acceptOnCr :) > >> But what you can do

Re: [Pharo-users] Spec - TextModel whenTextIsAccepted

2013-11-05 Thread Bahman Movaqar
On 11/06/2013 10:41, Benjamin wrote: > This is the expected behaviour :) Oh! A bit unorthodox, specially considering the shortcut (CTRL+S) --I was expecting something like ENTER :-) > But what you can do (and actually what you wanna do) is to accept the > text at each keyStroke :) > >> initializ

Re: [Pharo-users] Spec - TextModel whenTextIsAccepted

2013-11-05 Thread Benjamin
This is the expected behaviour :) But what you can do (and actually what you wanna do) is to accept the text at each keyStroke :) > initializePresenter > self instantiateModels: #( > textName TextModel > labelGreetingLabelModel > buttonGreetButton

Re: [Pharo-users] Adjusting the size of a window using Spec

2013-11-05 Thread Benjamin
You just need to override the method #initialExtent It should return a point structured like this: width@height :) Ben On 06 Nov 2013, at 01:50, nacho <0800na...@gmail.com> wrote: > Continuing with my testing to learn Spec, I'm trying to build a really basic > calculator. > So far I managed to

Re: [Pharo-users] rawSourceRanges in Encoder class question

2013-11-05 Thread Marcus Denker
Hello, In Pharo3, we replace the *whole* stuff by something new which is much easier to understand. So In Pharo3, all this is not used (Encoder, the old AST, Parser (subclass(!) of Scanner)… The first update of Pharo4 will be to remove the old compiler and then take the opportunity to clean up

[Pharo-users] Spec - TextModel whenTextIsAccepted

2013-11-05 Thread Bahman Movaqar
Hi all, I'm writing a simple graphical version of the legendary "Hello, world". I have a window with a text field, a button and a label. What I'm trying to do is to make the button (which is initially disabled) enabled upon user entering text. However, it seems that the user first must "Accept"

[Pharo-users] rawSourceRanges in Encoder class question

2013-11-05 Thread Gabriel Bursztyn
Hi guys, I am new in this list.I have a question related to the sourceRanges dictionary in Encoder class. I can see every compiled method has each corresponding methodNode, which is an instance of a ParseNode child class. Every methodNode is formed by different parts represented by other classes

[Pharo-users] Adjusting the size of a window using Spec

2013-11-05 Thread nacho
Continuing with my testing to learn Spec, I'm trying to build a really basic calculator. So far I managed to build the basic UI. However, I'm having some trouble at getting it displayed at the correct size. I don't know how to change the window that is opened when #ClassName new openWithSpec It see

Re: [Pharo-users] Pharo 3.0.0.dmg for Mac OSX

2013-11-05 Thread Joachim Tuchel
Bruce, Try opening it once with ctrl+click and answer the following answer withYES. The DMg most probably is okay, this is a new OS X feature. Joachim Am 05.11.2013 um 19:03 schrieb Bruce Prior : > Hi Damien, > I tried your .dmg file on my iMac running OS 10.9 (Mavericks). It didn't > work. T

[Pharo-users] Wiki PetitParser

2013-11-05 Thread Sean P. DeNigris
Is there a parser for Wiki (i.e. Wikipedia) syntax somewhere> Thanks... - Cheers, Sean -- View this message in context: http://forum.world.st/Wiki-PetitParser-tp4719456.html Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com.

[Pharo-users] Pharo 3.0.0.dmg for Mac OSX

2013-11-05 Thread Bruce Prior
Hi Damien, I tried your .dmg file on my iMac running OS 10.9 (Mavericks). It didn't work. The error message is "Pharo.app is damaged and can't be opened." A second download and retry gave the same result.

Re: [Pharo-users] [FEEDBACK] Install Pharo on MacOSX

2013-11-05 Thread Damien Cassou
On Tue, Nov 5, 2013 at 2:01 PM, wrote: > Glad you like it. So now is your chance to add any feature that you're > missing ;). Damien has been very good at polishing my own rough > contributions. and you have been very good at doing them. Thank you. -- Damien Cassou http://damiencassou.seas

Re: [Pharo-users] Looking for camera(wo)man FOSDEM2014 Smalltalk devroom

2013-11-05 Thread Stephan Eggermont
François wrote: >Hi Stephan, > >If you still need someone, I can help ;) Yes please. Two-four more people would be ideal. Cheers, Stephan

Re: [Pharo-users] Writing a GUI - Where to start?

2013-11-05 Thread Esteban Lorenzano
the system is exporting CVS and PDFs... I didn't had the time to read/write XLS (which is an ridiculous difficult format). the cool part was that I used magritte to produce the reports, so it was pretty easy :) Esteban On Tue, Nov 5, 2013 at 10:31 AM, Ignacio Matías Sniechowski < 0800na...@gmail

Re: [Pharo-users] Writing a GUI - Where to start?

2013-11-05 Thread Ignacio Matías Sniechowski
Esteban, Congratulations. That looks great! How do you integrate with spreadsheets? Using CVS or directly reading from .xls or .odf? Cheers Nacho *Lic. Ignacio Sniechowski, MBA* On Tue, Nov 5, 2013 at 9:43 AM, Esteban Lorenzano wrote: > I also have used Glamour+Magritte with success (but

Re: [Pharo-users] [FEEDBACK] Install Pharo on MacOSX

2013-11-05 Thread Benjamin
On 05 Nov 2013, at 14:01, b...@openinworld.com wrote: > MartinW wrote: >> >> "Damien Cassou“ wrote >> >>> I've just made a .dmg file for installing Pharo on MacOSX. Please try >>> it and report problems: >>> >> >> Works fine on 10.8.5. >> But in my Applications Folder is already the Phar

Re: [Pharo-users] I would rather pay for Smalltalkhub than use Github for free.

2013-11-05 Thread btc
François Stephany wrote: +1 Projects are not only source code anymore. Most of my projects have a gazillion of images, _javascript_, CSS files, etc. Storing all those external files in .mcz packages is not scalable (and not even elegant). What do you consider are scalable alternatives

Re: [Pharo-users] [FEEDBACK] Install Pharo on MacOSX

2013-11-05 Thread btc
MartinW wrote: "Damien Cassou“ wrote I've just made a .dmg file for installing Pharo on MacOSX. Please try it and report problems: Works fine on 10.8.5. But in my Applications Folder is already the Pharo VM called „Pharo“, so perhaps you should rename the launcher to „Ph

Re: [Pharo-users] Writing a GUI - Where to start?

2013-11-05 Thread Esteban Lorenzano
I also have used Glamour+Magritte with success (but certainly some work), as you can see here: http://smallworks.eu/web/projects/lawsuitTracker On Tue, Nov 5, 2013 at 7:13 AM, p...@highoctane.be wrote: > Here: > http://www.smalltalkhub.com/#!/~Magritte/Magritte3/packages/Magritte-Morph > > Ah F

Re: [Pharo-users] SerialPlugin on MacOS

2013-11-05 Thread Bernat Romagosa
Hi Luc, Smalltalk vm version reports: 'NBCoInterpreter NativeBoost-CogPlugin-EstebanLorenzano.18 uuid: a53445f9-c0c0-4015-97a3-be7db8d9ed6b Mar 13 2013 NBCogit NativeBoost-CogPlugin-EstebanLorenzano.18 uuid: a53445f9-c0c0-4015-97a3-be7db8d9ed6b Mar 13 2013 git://gitorious.org/cogvm/blessed.git C

Re: [Pharo-users] SerialPlugin on MacOS

2013-11-05 Thread Luc Fabresse
2013/11/5 Luc Fabresse > Hi Bernat, > > Which VM version? > because MacOsX and Linux now use the same C part of the SerialPlugin. > So if it works on Linux, it be the same on OsX. > but I have not tried. > yes we only use Linux here for serial stuff. > > do you use the right protName?

Re: [Pharo-users] SerialPlugin on MacOS

2013-11-05 Thread Luc Fabresse
Hi Bernat, Which VM version? because MacOsX and Linux now use the same C part of the SerialPlugin. So if it works on Linux, it be the same on OsX. but I have not tried. do you use the right protName? Cheers, Luc 2013/11/5 Bernat Romagosa > Hi list, > > Developing a multi-platform a

Re: [Pharo-users] [FEEDBACK] Install Pharo on MacOSX

2013-11-05 Thread Ignacio Matías Sniechowski
It works perfectly, so far. Nice the addition of Pharo Launcher!. cheers Nacho *Lic. Ignacio Sniechowski, MBA* On Tue, Nov 5, 2013 at 7:18 AM, Damien Cassou wrote: > Hi, > > I've just made a .dmg file for installing Pharo on MacOSX. Please try > it and report problems: > > > https://ci.in

Re: [Pharo-users] [FEEDBACK] Install Pharo on MacOSX

2013-11-05 Thread MartinW
"Damien Cassou“ wrote > I've just made a .dmg file for installing Pharo on MacOSX. Please try > it and report problems: Works fine on 10.8.5. But in my Applications Folder is already the Pharo VM called „Pharo“, so perhaps you should rename the launcher to „Pharo Launcher“ or something like this?

Re: [Pharo-users] I would rather pay for Smalltalkhub than use Github for free.

2013-11-05 Thread François Stephany
+1 Projects are not only source code anymore. Most of my projects have a gazillion of images, javascript, CSS files, etc. Storing all those external files in .mcz packages is not scalable (and not even elegant). FileTree+Git, while not ideal, solve the issue quite nicely. And you don't need Githu

Re: [Pharo-users] [Pharo-dev] [FEEDBACK] Install Pharo on MacOSX

2013-11-05 Thread Norbert Hartl
Wow! That is really great and it works like with an other application. Awesome! Norbert Am 05.11.2013 um 11:18 schrieb Damien Cassou : > Hi, > > I've just made a .dmg file for installing Pharo on MacOSX. Please try > it and report problems: > > https://ci.inria.fr/pharo-contribution/job/Pharo

[Pharo-users] SerialPlugin on MacOS

2013-11-05 Thread Bernat Romagosa
Hi list, Developing a multi-platform application is not so easy when you have to deal with hardware it seems... So I'm having this PrimitiveFailed error on MacOS, using the latest stable VM listed on the pharo-project website on Pharo20: *PrimitiveFailed: primitive #primWritePortByName:from:star

[Pharo-users] [FEEDBACK] Install Pharo on MacOSX

2013-11-05 Thread Damien Cassou
Hi, I've just made a .dmg file for installing Pharo on MacOSX. Please try it and report problems: https://ci.inria.fr/pharo-contribution/job/PharoLauncher-Mac-Package/16/artifact/pharo-build/Pharo%203.0.0.dmg Best, -- Damien Cassou http://damiencassou.seasidehosting.st "Success is the ability

Re: [Pharo-users] Writing a GUI - Where to start?

2013-11-05 Thread p...@highoctane.be
Here: http://www.smalltalkhub.com/#!/~Magritte/Magritte3/packages/Magritte-Morph Ah Fossil, good thing. Sqlite creator's all in one DVCS. It is what is used for another language I like: Tcl. http://www2.tcl.tk/36711 Phil On Tue, Nov 5, 2013 at 10:18 AM, Bahman Movaqar wrote: > On 11/05/2013

Re: [Pharo-users] ProfStef, Lesson 25 - Unknown selector

2013-11-05 Thread Clément Bera
I added the issue with a slice in inbox. 2013/11/5 Marcus Denker > > On 05 Nov 2013, at 10:19, Clément Bera wrote: > > > Hello, > > > > The method that exists is #withArgs:executeMethod: so replace > > "executeMethod: someCode" ==> by ==> "withArgs: #( ) executeMethod: > someCode" > > or creat

Re: [Pharo-users] ProfStef, Lesson 25 - Unknown selector

2013-11-05 Thread Marcus Denker
On 05 Nov 2013, at 10:19, Clément Bera wrote: > Hello, > > The method that exists is #withArgs:executeMethod: so replace > "executeMethod: someCode" ==> by ==> "withArgs: #( ) executeMethod: someCode" > or create the method: > Object>>executeMethod: compiledMethod > ^ self withArgs: #( ) e

Re: [Pharo-users] ProfStef, Lesson 25 - Unknown selector

2013-11-05 Thread Bahman Movaqar
On 11/05/2013 12:48, Clément Bera wrote: > Hello, > > The method that exists is #withArgs:executeMethod: so replace > "executeMethod: someCode" ==> by ==> "withArgs: #( ) executeMethod: > someCode" > or create the method: > Object>>executeMethod: compiledMethod > ^ self withArgs: #( ) executeM

Re: [Pharo-users] Writing a GUI - Where to start?

2013-11-05 Thread Bahman Movaqar
On 11/05/2013 11:46, p...@highoctane.be wrote: > > If you want to do a business application, well, I'd use Seaside and a > web based UI. (that's the current conclusion for my own ongoing > development) Of course. However this is not a business application. It's a front-end to a DVCS named Fossil

Re: [Pharo-users] ProfStef, Lesson 25 - Unknown selector

2013-11-05 Thread Clément Bera
Hello, The method that exists is #withArgs:executeMethod: so replace "executeMethod: someCode" ==> by ==> "withArgs: #( ) executeMethod: someCode" or create the method: Object>>executeMethod: compiledMethod ^ self withArgs: #( ) executeMethod: compiledMethod Then it should work. You're the se

Re: [Pharo-users] Shortcut to "Browse Class"

2013-11-05 Thread Norbert Hartl
> Am 05.11.2013 um 09:11 schrieb "p...@highoctane.be" : > > OSX: Cmd-DoubleClick on the name For me it works with a single click Norbert > Win: Select the name, Ctrl-Enter > > Both: Cmd-b / Alt-b (the letters on the right of the menu entries are the > shortcuts (screenshot attached for Phar

Re: [Pharo-users] ProfStef, Lesson 25 - Unknown selector

2013-11-05 Thread Marcus Denker
On 05 Nov 2013, at 09:52, Marcus Denker wrote: > > On 05 Nov 2013, at 07:36, Bahman Movaqar wrote: > >> executeMethod: ( > > Hello, > > we removed #executeMethod: on Object because it makes no sense as there is an > API on the method > for that already. (a good hint for that is that it had

Re: [Pharo-users] ProfStef, Lesson 25 - Unknown selector

2013-11-05 Thread Marcus Denker
On 05 Nov 2013, at 07:36, Bahman Movaqar wrote: > executeMethod: ( Hello, we removed #executeMethod: on Object because it makes no sense as there is an API on the method for that already. (a good hint for that is that it had no users). When you want to execute a method directly (not via send

Re: [Pharo-users] Writing a GUI - Where to start?

2013-11-05 Thread p...@highoctane.be
If you want to do a business application, well, I'd use Seaside and a web based UI. (that's the current conclusion for my own ongoing development) Otherwise, Spec (which is in a state of flux), or Morphic (which is not covering all you may need in an application). You can also follow the work of

Re: [Pharo-users] Multicolumn text view with spec

2013-11-05 Thread Benjamin
I think MultiColumnList was already supported in 2.0 :) Ben On 05 Nov 2013, at 00:06, Norbert Hartl wrote: > > > Am 04.11.2013 um 23:09 schrieb Benjamin > : > >> An old version of spec is usable in 2.0 >> >> The 3.0 version is _far_ better. >> > Of course :) But I like to do things I can

Re: [Pharo-users] Writing a GUI - Where to start?

2013-11-05 Thread Benjamin
Some spec documentation can be found here: https://pharo.fogbugz.com/default.asp?W71 Otherwise there is an Example package in Spec :) There are also some example methods on Spec classes :) And then you can ask question here, I ill always reply :) Ben On 05 Nov 2013, at 08:36, Alain Busser wro

Re: [Pharo-users] Shortcut to "Browse Class"

2013-11-05 Thread Benjamin
If you select a class name in the workspace, you can do Cmd+b/ctrl+b to browse it. Otherwise you can send browse to any object to browse its class :) Ben On 05 Nov 2013, at 06:55, Bahman Movaqar wrote: > Hi all, > > As an absolute beginner, when using a workspace, most of the times I > don't