[Pharo-project] Spec news

2013-01-08 Thread Pavel Krivanek
Hi Ben, trying to run Periscope on the latest Pharo image, I see that everything is broken again. Please, start to write some documentation about Spec development, what have you changed, what do you plan to change, what are the new prefered ways to write UI specification and how to migrate old

Re: [Pharo-project] PluggableMultiColumnListMorph example?

2013-01-08 Thread Benjamin
if your item is already a collection, and you want a column per item, just return it wrap: item index: idx ^ item Ben On Jan 8, 2013, at 3:37 AM, J. P. L. Martín wrote: Ok, extent worked for size, so the wrap question remains active :P On Mon, Jan 7, 2013 at 11:35 PM, J. P.

Re: [Pharo-project] Spec news

2013-01-08 Thread Benjamin
I didn't change anything :( I know that Stef made some major refactor, but I can't tell more I have my final exams this week so I can't have a look, but I will the next week Ben On Jan 8, 2013, at 11:04 AM, Pavel Krivanek wrote: Hi Ben, trying to run Periscope on the latest Pharo image, I

Re: [Pharo-project] PluggableMultiColumnListMorph example?

2013-01-08 Thread J . P . L . Martín
I get an error when doing so: MessageNotUnderstood: Prestamocollect: doesNotUnderstand: #collect: MulticolumnLazyListMorph widthToDisplayItem: Leo On Tue, Jan 8, 2013 at 9:09 AM, Benjamin benjamin.vanryseghem.ph...@gmail.com wrote: if your item is already a collection, and you want a column

Re: [Pharo-project] PluggableMultiColumnListMorph example?

2013-01-08 Thread Benjamin
is your item a collection ?? Because it seems that the item you return is a Prestamo and that this Prestamo doesn't understand the Collection methods Ben On Jan 8, 2013, at 1:26 PM, J. P. L. Martín wrote: I get an error when doing so: MessageNotUnderstood: Prestamocollect:

Re: [Pharo-project] PluggableMultiColumnListMorph example?

2013-01-08 Thread J . P . L . Martín
I point the list to an class instance database wich is anOrderedCollection of Prestamo, you can see the code here: https://github.com/arguser/Paradigmas-Final/blob/master/Paradigmas-Final.st If I leave wrap: item like this: ^ item asOrderedCollection collect [:e | e asString On Tue, Jan 8,

Re: [Pharo-project] PluggableMultiColumnListMorph example?

2013-01-08 Thread J . P . L . Martín
Sorry, magical hotkey pressed by mistake. On Tue, Jan 8, 2013 at 9:47 AM, J. P. L. Martín argu...@gmail.com wrote: I point the list to an class instance database wich is anOrderedCollection of Prestamo, you can see the code here:

Re: [Pharo-project] About morph layout

2013-01-08 Thread Ben Coman
Just curious... Is it possible to open a second native window in addition to the standard one when the image starts? Then the Small Morphic could be tested with that second window while the programming is safely done in the first. In addition, this feature could be useful for dual monitors.

Re: [Pharo-project] Spec news

2013-01-08 Thread Stéphane Ducasse
Hi Ben, trying to run Periscope on the latest Pharo image, I see that everything is broken again. Please, start to write some documentation about Spec development, what have you changed, what do you plan to change, what are the new prefered ways to write UI specification and how to

Re: [Pharo-project] Spec news

2013-01-08 Thread Benjamin
On Jan 8, 2013, at 2:59 PM, Stéphane Ducasse wrote: Hi Ben, trying to run Periscope on the latest Pharo image, I see that everything is broken again. Please, start to write some documentation about Spec development, what have you changed, what do you plan to change, what are the new

Re: [Pharo-project] About morph layout

2013-01-08 Thread Igor Stasenko
On 8 January 2013 14:04, Ben Coman b...@openinworld.com wrote: Just curious... Is it possible to open a second native window in addition to the standard one when the image starts? Then the Small Morphic could be tested with that second window while the programming is safely done in the first.

Re: [Pharo-project] Spec news

2013-01-08 Thread Pavel Krivanek
Hi Stef, get it here: Gofer new smalltalkhubUser: 'PavelKrivanek' project: 'Periscope'; package: 'Periscope'; load. activate with: Nautilus pluginClasses add: {(Smalltalk at: #NautilusPeriscopePlugin). #none} . I tried to change it to the array form but it doesn't help. This is

Re: [Pharo-project] Spec news

2013-01-08 Thread Benjamin
Can you show me your SpecLayout please ? Ben On Jan 8, 2013, at 3:57 PM, Pavel Krivanek wrote: Hi Stef, get it here: Gofer new smalltalkhubUser: 'PavelKrivanek' project: 'Periscope'; package: 'Periscope'; load. activate with: Nautilus pluginClasses add: {(Smalltalk at:

Re: [Pharo-project] Spec news

2013-01-08 Thread Pavel Krivanek
It does in plugin specs, for example defaultSpec ^{ #ComposableSpec. #vResizing:.#shrinkWrap. #add:. {{self. #textModel}. #layout:. #(0 0 1 1 0 0 0 0)}. } -- Pavel On Tue, Jan 8, 2013 at 3:59 PM, Benjamin

Re: [Pharo-project] Spec news

2013-01-08 Thread Benjamin
it seems that #layout is expecting a LayoutFrame as argument. But since I do not know what Stef and Igor changed (and what they didn't fix ^^) I can't tell more than that :s And I do not have too much time right now, sorry Ben On Jan 8, 2013, at 4:05 PM, Pavel Krivanek wrote: It does in

[Pharo-project] FileSystem inconsistency

2013-01-08 Thread Jimmie Houchin
Hello, I was writing a small utility using FileSystem. I had never used FileSystem before. So I am browsing the code trying to learn where to start and how to use it. It took me a little while to learn to do something like: fs := FileSystem store: (DiskStore activeClass createDefault). It

Re: [Pharo-project] Spec news

2013-01-08 Thread Stéphane Ducasse
Hi pavel where is your code? Because we did a massive refactoring with igor to free layoutFrame users from the tyranny of fractions:offset: so you can have a look at some spec in the latest 20 and you will see that now we use #layout: . #(0 0 1 1 0 22 0 0) why ??

Re: [Pharo-project] FileSystem inconsistency

2013-01-08 Thread Ben Coman
Jimmie Houchin wrote: Hello, I was writing a small utility using FileSystem. I had never used FileSystem before. So I am browsing the code trying to learn where to start and how to use it. It took me a little while to learn to do something like: fs := FileSystem store: (DiskStore

Re: [Pharo-project] Spec news

2013-01-08 Thread Stéphane Ducasse
I will check. May be this evening. We transformed systematically defaultSpec ^ { #ComposableSpec. #add:. { self topSpec. #layout:. {#LayoutFrame.

Re: [Pharo-project] FileSystem inconsistency

2013-01-08 Thread Stéphane Ducasse
We wrote a chapter on FileSystem. Did you miss it? http://rmod.lille.inria.fr/pbe2/ Stef On Jan 8, 2013, at 5:07 PM, Jimmie Houchin wrote: Hello, I was writing a small utility using FileSystem. I had never used FileSystem before. So I am browsing the code trying to learn where to

Re: [Pharo-project] TalkFFI: automatic FFI generation for Pharo

2013-01-08 Thread Stéphane Ducasse
On 01/06/2013 05:22 PM, Ciprian Teodorov wrote: Happy new year everybody! I am pleased to announce today the initial release of TalkFFI. Wow! I have been waiting for something SWIG like for Squeak/Pharo since... hell, I dunno, since like ever. ;) This kind of stuff might very well be

Re: [Pharo-project] FileSystem inconsistency

2013-01-08 Thread Jimmie Houchin
On 1/8/2013 10:33 AM, Ben Coman wrote: Jimmie Houchin wrote: Hello, I was writing a small utility using FileSystem. I had never used FileSystem before. So I am browsing the code trying to learn where to start and how to use it. It took me a little while to learn to do something like: fs :=

Re: [Pharo-project] FileSystem inconsistency

2013-01-08 Thread Jimmie Houchin
On 1/8/2013 10:35 AM, Stéphane Ducasse wrote: We wrote a chapter on FileSystem. Did you miss it? http://rmod.lille.inria.fr/pbe2/ Stef Thanks Stef. I had not seen that. Jimmie

Re: [Pharo-project] FileSystem inconsistency

2013-01-08 Thread Max Leske
On 08.01.2013, at 17:07, Jimmie Houchin jlhouc...@gmail.com wrote: Hello, I was writing a small utility using FileSystem. I had never used FileSystem before. So I am browsing the code trying to learn where to start and how to use it. It took me a little while to learn to do something

Re: [Pharo-project] FileSystem inconsistency

2013-01-08 Thread Camillo Bruni
On 2013-01-08, at 17:55, Max Leske maxle...@gmail.com wrote: On 08.01.2013, at 17:07, Jimmie Houchin jlhouc...@gmail.com wrote: Hello, I was writing a small utility using FileSystem. I had never used FileSystem before. So I am browsing the code trying to learn where to start and how

Re: [Pharo-project] FileSystem inconsistency

2013-01-08 Thread Esteban Lorenzano
anyway, even if there are easier ways to create references, I think Jimmie is right, there are inconsistencies in the protocol. maybe for 3.0? On Jan 8, 2013, at 5:58 PM, Camillo Bruni camillobr...@gmail.com wrote: On 2013-01-08, at 17:55, Max Leske maxle...@gmail.com wrote: On

Re: [Pharo-project] TalkFFI: automatic FFI generation for Pharo

2013-01-08 Thread Casimiro de Almeida Barreto
Repository refuses connection. On 06-01-2013 14:22, Ciprian Teodorov wrote: Happy new year everybody! I am pleased to announce today the initial release of TalkFFI. TalkFFI enables /automatic/ FFI generation for Smalltalk. It uses libclang http://clang.llvm.org to parse *unmodified* C

Re: [Pharo-project] TalkFFI: automatic FFI generation for Pharo

2013-01-08 Thread Göran Krampe
On 01/08/2013 06:26 PM, Casimiro de Almeida Barreto wrote: Repository refuses connection. Works for me. Both anon or with my SH credentials. regards, Göran

Re: [Pharo-project] Spec news

2013-01-08 Thread Sean P. DeNigris
Benjamin Van Ryseghem-2 wrote Why using a meaningless array when we could use object ? +1. This seems hard to use/understand. If we don't want to depend on Morphic, let Spec define its own intention revealing messages. -- View this message in context:

Re: [Pharo-project] FileSystem inconsistency

2013-01-08 Thread Camillo Bruni
On 2013-01-08, at 18:01, Esteban Lorenzano esteba...@gmail.com wrote: anyway, even if there are easier ways to create references, I think Jimmie is right, there are inconsistencies in the protocol. maybe for 3.0? yes definitely :). Jimmie, maybe you can open an issue on

Re: [Pharo-project] NativeBoost design and deployment

2013-01-08 Thread Eliot Miranda
On Fri, Jan 4, 2013 at 12:37 AM, Igor Stasenko siguc...@gmail.com wrote: On 4 January 2013 08:54, Torsten Bergmann asta...@gmx.de wrote: When one deploys an image one usually requires ONLY the image - not the source or changes file. An image locker code would look like this:

Re: [Pharo-project] Spec news

2013-01-08 Thread Frank Shearar
On 8 January 2013 18:12, Sean P. DeNigris s...@clipperadams.com wrote: Benjamin Van Ryseghem-2 wrote Why using a meaningless array when we could use object ? +1. This seems hard to use/understand. If we don't want to depend on Morphic, let Spec define its own intention revealing messages. Or

Re: [Pharo-project] FileSystem inconsistency

2013-01-08 Thread Stéphane Ducasse
+1 anyway, even if there are easier ways to create references, I think Jimmie is right, there are inconsistencies in the protocol. maybe for 3.0? yes definitely :). Jimmie, maybe you can open an issue on code.google.com/p/pharo/? with a complete list of the methods you find

Re: [Pharo-project] Spec news

2013-01-08 Thread Stéphane Ducasse
Ok so to clarify what I want with Spec: - move LayoutFrame outside of Morphic. Now I'm not sure that spec should depend on it, may be. - LayoutFrame is a bad name for a transformation specification. - I do not think that an Array is good but I do not think that

Re: [Pharo-project] Is there a simple example of how to create a GUI form in Pharo or Squeak?

2013-01-08 Thread Frank Church
On 25 December 2012 14:48, Fernando Olivero fernando.oliv...@usi.ch wrote: Hi, two good sources of information on GUI building are http://www.pharocasts.com/2011/02/pharo-gui-with-polymorph.html?utm_source=BP_recent

Re: [Pharo-project] UI blocked

2013-01-08 Thread Paul DeBruicker
Nevin Pratt wrote For what it's worth, the UI blocking also happens occasionally (not very often, but occasionally) with Squeak 3.8/Seaside 2.8. But it's easy to unblock. Just run the screenshot app (within Seaside), then at the top there is a Suspend UI Process link. Click it to

[Pharo-project] New Cog VMs available...

2013-01-08 Thread Eliot Miranda
...at http://www.mirandabanda.org/files/Cog/VM/VM.r2662/. CogVM binaries as per VMMaker.oscog-eem.251/r2662 Give primitiveRemLargeIntegers primitive # 20. Add yet another libc line to the linux launch script(s), and try and make the script suggest users extend it themselves. you can lead a

[Pharo-project] Smalllint for Traits

2013-01-08 Thread aizcorbe
Hi all, as part of a thesis I have been working on, I extended Smalllint to let it check Traits and Traits specific errors. The enviroment objects and the refactoring scope browsers now handles and list classes and traits (before they just handled classes). The new refactoring scope selection is

Re: [Pharo-project] New Cog VMs available...

2013-01-08 Thread Eliot Miranda
...and at http://www.mirandabanda.org/files/Cog/VM/VM.r2664. CogVM binaries as per VMMaker.oscog-eem.252/r2664. Issue 117. Fix primitiveRemLargeIntegers. The result should be negated iff receiver negative. On Tue, Jan 8, 2013 at 3:28 PM, Eliot Miranda eliot.mira...@gmail.comwrote: ...at

Re: [Pharo-project] FileSystem inconsistency

2013-01-08 Thread Jimmie Houchin
Thanks for all the suggestions for easier way to create references. Part of the problem is that I did not sufficiently read the documentation in the class comment. I also did not know of the PBE2 chapter referenced by Stef. Part of the problem is also that the browser in 2.0 is presenting

Re: [Pharo-project] FileSystem inconsistency

2013-01-08 Thread Yanni Chiu
On 09/01/13 12:05 AM, Jimmie Houchin wrote: Part of the problem is that I did not sufficiently read the documentation in the class comment. I also did not know of the PBE2 chapter referenced by Stef. I used to assume that class comments were empty. Nowadays, there is often useful information

Re: [Pharo-project] FileSystem inconsistency

2013-01-08 Thread Jimmie Houchin
On 1/8/2013 11:18 PM, Yanni Chiu wrote: On 09/01/13 12:05 AM, Jimmie Houchin wrote: Part of the problem is that I did not sufficiently read the documentation in the class comment. I also did not know of the PBE2 chapter referenced by Stef. I used to assume that class comments were empty.