Re: [Pharo-project] About TDD and Pharo

2010-06-03 Thread laurent laffont
In ruby world the tools I like most for TDD are: - autotest: when you save a file, autotest detects it are run automatically associated unit tests. http://ph7spot.com/musings/getting-started-with-autotest. For PHPUnit there's a light autotest-like http://gist.github.com/287950. I really like it

Re: [Pharo-project] About TDD and Pharo

2010-06-03 Thread Denis Kudriashov
Hello, No I dont. Who is it? 2010/6/3 Stéphane Ducasse stephane.duca...@inria.fr do you happen to know tim mckinnon? Stef On Jun 3, 2010, at 12:13 AM, Denis Kudriashov wrote: I use Mockery - my implementation SSpec idies. It is realy more powerfull, transparency and flexibility. With

Re: [Pharo-project] MetacelloCreateConfigurationTutorial + ProfStefBrowser really cool

2010-06-03 Thread Mariano Martinez Peck
Yes, it will be, in addition to other packages of Metacello. See thread: http://forum.world.st/What-packages-to-load-from-Metacello-in-PharoDev-tp2225874p2225874.html cheers Mariano On Wed, Jun 2, 2010 at 9:31 PM, Stéphane Ducasse stephane.duca...@inria.frwrote: I hope :) Stef On Jun 2,

Re: [Pharo-project] Can I use Projects in Pharo?

2010-06-03 Thread Geert Claes
Jochen Riekhof wrote: The only thing I use projects for is to separate the different tasks I am working on at the same time (like spaces on the Mac), so I can have one world where I'm working on a client project, and a whole other world if I... Yep, thank you Sean - this more or less

Re: [Pharo-project] About TDD and Pharo

2010-06-03 Thread Mariano Martinez Peck
What Hernán did is here: http://www.squeaksource.com/TDDFacilities.html That was for Pharo 1.0. For those that want to help in this subject I think the first step could be to load such package in a PharoCore1.1 and fix it in case it doesn't work. Then, it can be integrated as part of

Re: [Pharo-project] About TDD and Pharo

2010-06-03 Thread Mariano Martinez Peck
2010/6/2 Germán Leiva leivager...@gmail.com I'm thinking out load here ... In the debugger when a DNU is raised, for speeding up the programming in *TDD mode**:* - The create button must add the method in the class of the receiver, the possibility to choose a superclass of the

Re: [Pharo-project] MetacelloCreateConfigurationTutorial + ProfStefBrowser really cool

2010-06-03 Thread laurent laffont
2010/6/3 Mariano Martinez Peck marianop...@gmail.com Yes, it will be, in addition to other packages of Metacello. See thread: http://forum.world.st/What-packages-to-load-from-Metacello-in-PharoDev-tp2225874p2225874.html Cool, thanks (so many mails, I forgot this thread :) Laurent Laffont

Re: [Pharo-project] Can I use Projects in Pharo?

2010-06-03 Thread Mariano Martinez Peck
I think we should not reinvent the wheel in Pharo. I mean, Morphic is nice, although I would like to have native windows so that I can use my Mac expose features. But no, I have only one window. Then, I have something similar but implemented in Pharo using Mac + narrows. Then, you can have more

Re: [Pharo-project] Can I use Projects in Pharo?

2010-06-03 Thread Geert Claes
Mariano Martinez Peck wrote: I think we should not reinvent the wheel in Pharo. I mean, Morphic is nice, although I would like to have native windows so that I can use my Mac expose features. But no, I have only one window. Then, I have something similar but implemented in Pharo using Mac

Re: [Pharo-project] About TDD and Pharo

2010-06-03 Thread Sean P. DeNigris
Stéphane Ducasse wrote: but is it not just using SSpec? SSpec is not bad, but needs some work. Stéphane Ducasse wrote: Did SSpec still loads? It loads, but most of the tests fail - even though the project itself mostly works. Stéphane Ducasse wrote: Does it load in pharo well?

Re: [Pharo-project] About TDD and Pharo

2010-06-03 Thread Sean P. DeNigris
Stéphane Ducasse wrote: what is important for me is that we distinguish what is related to the UI flow from the loading of a specific tests libraries. RIght now I would like to concentrate on UI flow and tools interaction. Oh, okay - got it. In that case: +1 for autotest-like

Re: [Pharo-project] Multiple Worlds (was Re: Can I use Projects in Pharo?)

2010-06-03 Thread Sean P. DeNigris
Stéphane Ducasse wrote: there is a key point in all this thread. we are not against ideas. Ha ha, I never thought otherwise :) Stéphane Ducasse wrote: We loved etoys and I did more presentations about it than probably 95% of the squeakers population now we do not

Re: [Pharo-project] Rome Canvas to replace an ordinary canvas [Was: Re: Rendering fonts on OpenGL ]

2010-06-03 Thread Igor Stasenko
On 2 June 2010 16:59, Stéphane Ducasse stephane.duca...@inria.fr wrote: Some news (sources at www.squeaksource.com/Athens): About having a first 'minimal' version, working with RomePluginCanvas and RomeReferenceCanvas,  it seems to be ok. I retrieve the tests from Sophie and all are green.

Re: [Pharo-project] Can I use Projects in Pharo?

2010-06-03 Thread Sean P. DeNigris
Thanks for all the great feedback! It's great to discuss because it makes me think about what's really important and why... Mariano Martinez Peck wrote: I think we should not reinvent the wheel in Pharo. I mean, Morphic is nice, although I would like to have native windows so that I can

Re: [Pharo-project] About TDD and Pharo

2010-06-03 Thread Simon Denier
On 3 juin 2010, at 14:24, Sean P. DeNigris wrote: Stéphane Ducasse wrote: what is important for me is that we distinguish what is related to the UI flow from the loading of a specific tests libraries. RIght now I would like to concentrate on UI flow and tools interaction. Oh,

Re: [Pharo-project] About TDD and Pharo

2010-06-03 Thread Alexandre Bergel
You may have a lot of noise. I guess that Ruby uses files as a unit of development/deployment. The closest Smalltalk/Pharo has is the class and the package. I would suggest that TestCase which would use this feature use some pragma/method to identify/declare which classes/packages this

[Pharo-project] [ANN 1.1] pre-build beta 11383

2010-06-03 Thread Marcus Denker
https://gforge.inria.fr/frs/download.php/27077/PharoCore-1.1-11383-Beta.zip -- Marcus Denker -- http://www.marcusdenker.de INRIA Lille -- Nord Europe. Team RMoD. ___ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr

Re: [Pharo-project] About TDD and Pharo

2010-06-03 Thread laurent laffont
On Thu, Jun 3, 2010 at 3:42 PM, Alexandre Bergel alexan...@bergel.euwrote: You may have a lot of noise. I guess that Ruby uses files as a unit of development/deployment. The closest Smalltalk/Pharo has is the class and the package. I would suggest that TestCase which would use this

Re: [Pharo-project] Can I use Projects in Pharo?

2010-06-03 Thread Igor Stasenko
On 3 June 2010 10:24, Geert Claes geert.wl.cl...@gmail.com wrote: Jochen Riekhof wrote: The only thing I use projects for is to separate the different tasks I am working on at the same time (like spaces on the Mac), so I can have one world where I'm working on a client project, and a whole

Re: [Pharo-project] Can I use Projects in Pharo?

2010-06-03 Thread Schwab,Wilhelm K
Lukas, I am glad that it works for you, but it strikes me as a very poor approach. I prefer to have all of my code in one place so that additions and fixes apply to and can be tested with everything of interest to me. That said, I can easily leave w/o Squeak projects, especially given how

[Pharo-project] How get font instance programmatically?

2010-06-03 Thread Denis Kudriashov
Hello, My task very simple. I need set some font for TextMorph instance programmatically. I found TextStylenamed: familyName . But it search font in TextConstants that not include my font. By my font exists in visual font chooser from halo menu in text morph. How I can get font instance that I

Re: [Pharo-project] The Morphic 3 project

2010-06-03 Thread Brian Brown
Juan Vuletich wrote: Yes, that would be cool. I also thought about multi user multi touch tables, where I need to handle input form several fingers simultaneously, that can belong or not to the same hand (user). Also multiple standard and MIDI keyboards, continuous MIDI controllers, pen

[Pharo-project] Something I don't see in ImageSegment

2010-06-03 Thread Mariano Martinez Peck
Hi. ImageSegment uses GC to compute the out pointers. Basically, to a given array of roots (a graph) it does: 1) It marks the rootArray and all root objects by turning on the Garbage Collector bit in the object header of those particular objects. 2) Then does a mark pass over all objects. This

Re: [Pharo-project] About TDD and Pharo

2010-06-03 Thread Alexandre Bergel
The idea is excellent. Cheers, Alexandre On 3 Jun 2010, at 10:22, laurent laffont wrote: On Thu, Jun 3, 2010 at 3:42 PM, Alexandre Bergel alexan...@bergel.eu wrote: You may have a lot of noise. I guess that Ruby uses files as a unit of development/deployment. The closest

Re: [Pharo-project] About TDD and Pharo

2010-06-03 Thread Stéphane Ducasse
On Jun 2, 2010, at 10:42 PM, Guillermo Polito wrote: Today's debugger (and all pharo indeed), is extremely dependant on the mouse... I would love to do all the same with just the keyboard :( me too. Now if you want to help in this direction we should check the packages for keybindings and

Re: [Pharo-project] About TDD and Pharo

2010-06-03 Thread Guillermo Polito
Where should I look? :D Is something written somewhere? :P On Thu, Jun 3, 2010 at 1:22 PM, Stéphane Ducasse stephane.duca...@inria.frwrote: On Jun 2, 2010, at 10:42 PM, Guillermo Polito wrote: Today's debugger (and all pharo indeed), is extremely dependant on the mouse... I would love to

Re: [Pharo-project] Something I don't see in ImageSegment

2010-06-03 Thread Eliot Miranda
Hi Mariano, Hi All, response below. But does anyone have any tests for the image segment primitives? I'm refactoring them and would like some tests. 2010/6/3 Mariano Martinez Peck marianop...@gmail.com Hi. ImageSegment uses GC to compute the out pointers. Basically, to a given array of

Re: [Pharo-project] The Morphic 3 project

2010-06-03 Thread Juan Vuletich
Stéphane Ducasse wrote: finishing something is always taking time and this is great to see you making progress on that front. For the PhD it could be full time job to sell that. Did you identify potential research group? Stef I'm trying to contact a research group on graphics at my

Re: [Pharo-project] How get font instance programmatically?

2010-06-03 Thread Schwab,Wilhelm K
Below are some fonts that I set as part of my image build process; the comment above them is Shamelessly stolen from Lukas. They might need to be changed to take advantage of bitmap fonts?? tinyFont := LogicalFont familyName:'DejaVu Sans' fallbackFamilyNames:nil pointSize:8

Re: [Pharo-project] Something I don't see in ImageSegment

2010-06-03 Thread Noury Bouraqadi
On 3 juin 2010, at 18:55, Eliot Miranda wrote: Hi Mariano, Hi All, response below. But does anyone have any tests for the image segment primitives? I'm refactoring them and would like some tests. I don't have tests, but it's cool that you take care of this. The code I saw was

Re: [Pharo-project] About TDD and Pharo

2010-06-03 Thread Noury Bouraqadi
On 3 juin 2010, at 07:45, Stéphane Ducasse wrote: On Jun 2, 2010, at 11:22 PM, Germán Leiva wrote: I'm thinking out load here ... In the debugger when a DNU is raised, for speeding up the programming in TDD mode: • The create button must add the method in the class of the

Re: [Pharo-project] Multiple Worlds (was Re: Can I use Projects in Pharo?)

2010-06-03 Thread Jochen Riekhof
Ok, found time to hack up a /very preliminary/ test class that allows me to switch between PasteUpMorphs by name. It would be nice if someone could tell me if what I did is reasonable (I did not use Squeak/Pharo for looong time). It might e.g. well be that I use methods intended for Project that

Re: [Pharo-project] About TDD and Pharo

2010-06-03 Thread Lukas Renggli
-Suggest to delete accessors when deleting an IV You cannot delete an inst-var with the refactoring engine if there are references. -Be able to generate accessors for multiple IVs at the same time (like in eclipse!) This is built-in for several years now: refactor class | create accessors

Re: [Pharo-project] About TDD and Pharo

2010-06-03 Thread Noury Bouraqadi
I'd like to add to my whishlist : an automated execution of lint when all tests are green. Noury On 3 juin 2010, at 21:07, Noury Bouraqadi wrote: On 3 juin 2010, at 07:45, Stéphane Ducasse wrote: On Jun 2, 2010, at 11:22 PM, Germán Leiva wrote: I'm thinking out load here ... In

Re: [Pharo-project] How get font instance programmatically?

2010-06-03 Thread Denis Kudriashov
Thank you very much 2010/6/3 Schwab,Wilhelm K bsch...@anest.ufl.edu LogicalFont familyName:'DejaVu Sans' fallbackFamilyNames:nil pointSize:8 stretchValue:0 weightValue:400 slantValue:0. ___ Pharo-project mailing list

Re: [Pharo-project] The Morphic 3 project

2010-06-03 Thread Brian Brown
Juan Vuletich wrote: My work is not about creating svg files but about rendering them. The links are the same because they point to the original svg (vector graphics) file used to render both in Inkscape and in Morphic 3. If you want to save the rendered versions, your web browser should allow

Re: [Pharo-project] The Morphic 3 project

2010-06-03 Thread Igor Stasenko
On 2 June 2010 15:16, Juan Vuletich j...@jvuletich.org wrote: Lukas Renggli wrote: Hi Juan, This looks really exiting! How do you get the actual pixels drawn? Is this implemented in Smalltalk? Did you write primitives to do that? Are you using external libraries? How does it compare

Re: [Pharo-project] About TDD and Pharo

2010-06-03 Thread Hernan Wilkinson
Hi all, this is a cool thread! :-) What I did are changes to the tools to make more easy to run tests and implement what is needed. For example: 1) When you are in the browser writing a test method, you can press ctrl + t to save the method and run the test. If the test runs, it will show the

Re: [Pharo-project] Autotest, proof-of-concept [was: About TDD and Pharo]

2010-06-03 Thread laurent laffont
Hi, I've written a proof-of-concept for Autotest. Draft/crappy code and no tests (exploration mode :) but it loads on PharoCore-1.1-11383-beta image. Load it: Gofer new squeaksource: 'Autotest'; package: 'Autotest'; load Open it: AutotestView open (there's en entry in WorldMenu Tools) And

Re: [Pharo-project] About TDD and Pharo

2010-06-03 Thread Simon Denier
That sounds great. Clearly on my to-try list On 3 juin 2010, at 23:04, Hernan Wilkinson wrote: Hi all, this is a cool thread! :-) What I did are changes to the tools to make more easy to run tests and implement what is needed. For example: 1) When you are in the browser writing a

Re: [Pharo-project] About TDD and Pharo

2010-06-03 Thread Mariano Abel Coca
On mine too... Can't wait to try it. Great work Hernan! Cheers, Mariano. 2010/6/3 Simon Denier simon.den...@inria.fr That sounds great. Clearly on my to-try list On 3 juin 2010, at 23:04, Hernan Wilkinson wrote: Hi all, this is a cool thread! :-) What I did are changes to the

Re: [Pharo-project] About TDD and Pharo

2010-06-03 Thread Tudor Girba
The list is quite promising. How exactly do I load it? Cheers, Doru On 3 Jun 2010, at 23:34, Mariano Abel Coca wrote: On mine too... Can't wait to try it. Great work Hernan! Cheers, Mariano. 2010/6/3 Simon Denier simon.den...@inria.fr That sounds great. Clearly on my to-try list On

Re: [Pharo-project] About TDD and Pharo

2010-06-03 Thread Denis Kudriashov
Tim Mckinnon is creator SMock for Dolphin. I see his work. And his work will be stimul for me to implement mock-famework in VW and squeak (that I used) with more user friendly and powerfull features. 2010/6/3 Denis Kudriashov dionisi...@gmail.com Hello, No I dont. Who is it? 2010/6/3 Stéphane

[Pharo-project] [ANN] ConfigurationOfMagma for Magma 1.1r1

2010-06-03 Thread Miguel Enrique Cobá Martínez
I'm pleased to announce that the ConfigurationOfMagma now includes support for loading version 1.1r1 of Magma. In a Pharo or PharoCore 1.0 image evaluate: Gofer it squeaksource: 'MetacelloRepository'; package: 'ConfigurationOfMagma'; load. To install the Magma Client evaluate:

Re: [Pharo-project] About TDD and Pharo

2010-06-03 Thread Hernan Wilkinson
more thoughts about this... I think that the Smalltalk debugger is the best tool we have, the tool that allow us to be really dynamic (or agile, depending on the buzz you like the most :-)) and that we should take more advantage of when doing tdd (and not only tdd). People used to use other

Re: [Pharo-project] About TDD and Pharo

2010-06-03 Thread Hernan Wilkinson
Hi Doru! if you are asking about the package I wrote, just install the latest version of TDDFacilities on a pharo 1.0 image and then evaluate: OBTextMorphEditorWithShout initialize Bye!, Hernan. On Thu, Jun 3, 2010 at 5:39 PM, Tudor Girba tudor.gi...@gmail.com wrote: The list is quite

Re: [Pharo-project] About TDD and Pharo

2010-06-03 Thread Hernan Wilkinson
We run the lint tests (and other we wrote like are the visitor patterns implemented correctly?, is the code you wrote following the design and coding conventions? etc. before sending the package to integrate of making a new version of it... When doing tdd, having all test green does not mean you

Re: [Pharo-project] About TDD and Pharo

2010-06-03 Thread Lukas Renggli
OBSUnitIntegration is already providing some of those: 1) When you are in the browser writing a test method, you can press ctrl + t to save the method and run the test. If the test runs, it will show the green dot in the browser, if it does not, it popups the debugger directly on the error.