Re: [Pharo-project] [Help-smalltalk] Fun with Pharo generated source.st

2013-05-06 Thread Henrik Johansen
On May 5, 2013, at 10:54 AM, Paolo Bonzini wrote: Il 04/05/2013 18:51, Holger Hans Peter Freyther ha scritto: Hi, I am trying to convert/import all of Iliad (since the development had moved to Pharo) and I stumble up-on an issue I already had when I tried to convert Aida. This[1]

Re: [Pharo-project] [Help-smalltalk] Fun with Pharo generated source.st

2013-05-06 Thread Paolo Bonzini
Il 05/05/2013 12:06, Frank Shearar ha scritto: On 5 May 2013 09:54, Paolo Bonzini bonz...@gnu.org wrote: Il 04/05/2013 18:51, Holger Hans Peter Freyther ha scritto: Hi, I am trying to convert/import all of Iliad (since the development had moved to Pharo) and I stumble up-on an issue I

Re: [Pharo-project] [Help-smalltalk] Fun with Pharo generated source.st

2013-05-05 Thread Paolo Bonzini
Il 04/05/2013 18:51, Holger Hans Peter Freyther ha scritto: Hi, I am trying to convert/import all of Iliad (since the development had moved to Pharo) and I stumble up-on an issue I already had when I tried to convert Aida. This[1] monticello file in line 6417 starts to use UCS-4 for a

Re: [Pharo-project] [Help-smalltalk] Fun with Pharo generated source.st

2013-05-05 Thread Frank Shearar
On 5 May 2013 09:54, Paolo Bonzini bonz...@gnu.org wrote: Il 04/05/2013 18:51, Holger Hans Peter Freyther ha scritto: Hi, I am trying to convert/import all of Iliad (since the development had moved to Pharo) and I stumble up-on an issue I already had when I tried to convert Aida. This[1]

Re: [Pharo-project] [Help to review/test] Crash when downloading FFI

2013-03-29 Thread Guillermo Polito
Ok, I've published a new slice which implements the other fix Eliot suggests: not recreating the compact classes array. I also enhanced the comment. ¿Can people test the latest version of slice 10134 of the inbox in 3.0 with latest VM? 5' test: - load the slice - evaluate: Gofer it

Re: [Pharo-project] [Help to review/test] Crash when downloading FFI

2013-03-27 Thread Luc Fabresse
Hi all, 2013/3/26 Guillermo Polito guillermopol...@gmail.com Hi! I've given a shot trying to get a fix for this case. Thanks to Eliot, I think I reached a solution, but since I had some random results at first, I'd like if someone else can take 5 minutes and validate.

Re: [Pharo-project] [Help to review/test] Crash when downloading FFI

2013-03-27 Thread Guillermo Polito
On Wed, Mar 27, 2013 at 9:46 AM, Luc Fabresse luc.fabre...@gmail.comwrote: Hi all, 2013/3/26 Guillermo Polito guillermopol...@gmail.com Hi! I've given a shot trying to get a fix for this case. Thanks to Eliot, I think I reached a solution, but since I had some random results at first,

Re: [Pharo-project] [Help to review/test] Crash when downloading FFI

2013-03-27 Thread Luc Fabresse
2013/3/27 Guillermo Polito guillermopol...@gmail.com On Wed, Mar 27, 2013 at 9:46 AM, Luc Fabresse luc.fabre...@gmail.comwrote: Hi all, 2013/3/26 Guillermo Polito guillermopol...@gmail.com Hi! I've given a shot trying to get a fix for this case. Thanks to Eliot, I think I reached a

[Pharo-project] [Help to review/test] Crash when downloading FFI

2013-03-26 Thread Guillermo Polito
Hi! I've given a shot trying to get a fix for this case. Thanks to Eliot, I think I reached a solution, but since I had some random results at first, I'd like if someone else can take 5 minutes and validate.

Re: [Pharo-project] Help with MenuMorph

2013-03-12 Thread stephane ducasse
jannik what guillermo did in the past was to use MenuMorph chooseFrom: choices values: choices lines: #() title: ('display type (currently {1})' translated format:{displayType}). I will study this implementation to see how it fits with what I did. Stef On Mar 11,

Re: [Pharo-project] Help with MenuMorph

2013-03-12 Thread stephane ducasse
Jannik I'm studying right now choose… So I think that I will add a method add: value: to the instance side to see how it look like. Stef chooseFrom: aList lines: linesArray title: queryString Choose an item from the given list. Answer the index of the selected item.

Re: [Pharo-project] Help with MenuMorph

2013-03-12 Thread jannik.laval
Ok, I like the way you use it. Now, I hope to have in future a better menu tool. Jannik On Mar 12, 2013, at 4:23 PM, stephane ducasse stephane.duca...@free.fr wrote: Jannik I'm studying right now choose… So I think that I will add a method add: value: to the instance side to see how it

Re: [Pharo-project] Help with MenuMorph

2013-03-12 Thread stephane ducasse
In fact I did not add an instance method because we always have to invoke the menu invokeAt: ActiveHand position in: ActiveWorld allowKeyboard: true. So in that case I prefer to use chooseFrom: But indeed this is a good experience and probably we should rebuild menu and menuItem one of

[Pharo-project] Help with MenuMorph

2013-03-11 Thread Stéphane Ducasse
HI guys I'm trying to fix all the sound interface for 2.0 and I got trapped into MenuMorph. How do I schedule a menu and get its selected value? I have to convert code like the following one. | aMenu sz on | aMenu := MenuMorph new title: ('FFT size (currently {1})' translated

Re: [Pharo-project] Help with MenuMorph

2013-03-11 Thread stephane ducasse
In fact I see that the problem is more into how can I specify a menu item which returns a value that I specify without passing a symbol ((7 to: 10) collect: [:n | 2 raisedTo: n]) do: [:r | aMenu add: r printString action: r].

Re: [Pharo-project] Help with MenuMorph

2013-03-11 Thread jannik laval
Hi Stef, I am searching to do that too. For now, I am using something else... And I plan to create new Menu more usable. Here is what I use, for your case, just adapt it when trying: === | aMenu sz on | on := soundInput isRecording. self stop. aMenu := MenuMorph new

Re: [Pharo-project] Help with MenuMorph

2013-03-11 Thread stephane ducasse
On Mar 11, 2013, at 2:10 PM, jannik laval jannik.la...@gmail.com wrote: Hi Stef, I am searching to do that too. For now, I am using something else... And I plan to create new Menu more usable. Here is what I use, for your case, just adapt it when trying: === | aMenu sz on |

Re: [Pharo-project] Help with MenuMorph

2013-03-11 Thread jannik.laval
On Mar 11, 2013, at 5:41 PM, stephane ducasse stephane.duca...@free.fr wrote:On Mar 11, 2013, at 2:10 PM, jannik laval jannik.la...@gmail.com wrote:Hi Stef,I am searching to do that too.For now, I am using something else... And I plan to create new Menu more usable.Here is what I use, for your

Re: [Pharo-project] Help with MenuMorph

2013-03-11 Thread stephane ducasse
Thanks Jannik. I was thinking that - we could have a different MenuItem class: ValuedMenuItem - that a add:value: in MenuMorph could create an instance of this ValuedMenuItem Like that we can integrate both nicely. What do you think? Stef On Mar 11, 2013, at 9:33 PM,

Re: [Pharo-project] Help with MenuMorph

2013-03-11 Thread stephane ducasse
Jannik I'm doing it because this is exactly done like that in menuMorph: everything falls down to addToggle: aString target: anObject selector: aSymbol getStateSelector: stateSymbol enablementSelector: enableSymbol argumentList: argList Append a menu item with the given label. If the

Re: [Pharo-project] Help with MenuMorph

2013-03-11 Thread stephane ducasse
Jannik It works :) I will produce a cs because this is a nice extension :) Stef

Re: [Pharo-project] Help with MenuMorph

2013-03-11 Thread jannik.laval
Ok, I did it too :)) I created a ValuedMenuItemMorph as you propose. Jannik On Mar 11, 2013, at 9:53 PM, stephane ducasse stephane.duca...@free.fr wrote: Jannik It works :) I will produce a cs because this is a nice extension :) Stef

Re: [Pharo-project] Help with MenuMorph

2013-03-11 Thread stephane ducasse
Now I have the problem that I do not know how to get the value from the menu and not the menu item morph setFFTSize Set the size of the FFT used for frequency analysis. | aMenu sz on | aMenu := MenuMorph new title: ('FFT size (currently {1})' translated format:{fft

Re: [Pharo-project] Help with MenuMorph

2013-03-11 Thread stephane ducasse
I should probably redefine invokeWithEvent: evt Perform the action associated with the given menu item. | w | self isEnabled ifFalse: [^ self]. target class == HandMorph ifTrue: [(self notObsolete) ifFalse: [^ self]]. owner ifNotNil:[self isStayUpItem

Re: [Pharo-project] Help with MenuMorph

2013-03-11 Thread jannik.laval
Here is what I did (2 classes) Then, you can do: === menu := MenuMorphNG new. menu add: 'test1' value: #testForPharo. menu addLine. menu add: 'test2' value: 2.0. menu localize; invokeModal. menu selectedValue === Jannik MenuMorphNG.st Description: Binary data ValuedMenuItemMorph.st

Re: [Pharo-project] Help with MenuMorph

2013-03-11 Thread stephane ducasse
The problem is that selectedValue will not work on other menuItem :) So I'm playing with something like that. setFFTSize Set the size of the FFT used for frequency analysis. | aMenu sz on | aMenu := MenuMorph new title: ('FFT size (currently {1})' translated format:{fft

Re: [Pharo-project] help needed

2013-02-01 Thread Usman Bhatti
On Fri, Feb 1, 2013 at 12:52 AM, Stéphane Ducasse stephane.duca...@inria.fr wrote: On Jan 31, 2013, at 7:35 PM, Usman Bhatti wrote: On Thu, Jan 31, 2013 at 10:09 PM, Stéphane Ducasse stephane.duca...@inria.fr wrote: Usman I also try just returning the container but do not know

Re: [Pharo-project] help needed

2013-01-31 Thread Goubier Thierry
Le 31/01/2013 02:30, Stéphane Ducasse a écrit : Morbid fascination It is late so I may completely off but how many isKindOf: are executed in this method? ((aSymbol isKindOf: Array) and: [aSymbol size 1 and: [aSymbol first == self nodeListSelector and: [

Re: [Pharo-project] help needed

2013-01-31 Thread Usman Bhatti
On Thu, Jan 31, 2013 at 2:30 AM, Stéphane Ducasse stephane.duca...@inria.fr wrote: Morbid fascination It is late so I may completely off but how many isKindOf: are executed in this method? ((aSymbol isKindOf: Array) and: [aSymbol size 1 and: [aSymbol first == self

Re: [Pharo-project] help needed

2013-01-31 Thread Stéphane Ducasse
Usman did you check with 1.3 to know if the method was there? Stef On Jan 31, 2013, at 7:03 AM, Usman Bhatti wrote: On Thu, Jan 31, 2013 at 2:30 AM, Stéphane Ducasse stephane.duca...@inria.fr wrote: Morbid fascination It is late so I may completely off but how many isKindOf: are

Re: [Pharo-project] help needed

2013-01-31 Thread Stéphane Ducasse
usman what is the expected behavior? Because I replace the last line with ^ container emptySelection but I do not know if the result is what is expected. Stef On Jan 31, 2013, at 12:48 PM, Usman Bhatti wrote: On Thu, Jan 31, 2013 at 1:20 PM, Stéphane Ducasse

Re: [Pharo-project] help needed

2013-01-31 Thread Stéphane Ducasse
Usman I also try just returning the container but do not know the expected result. It works Stef On Jan 31, 2013, at 12:48 PM, Usman Bhatti wrote: On Thu, Jan 31, 2013 at 1:20 PM, Stéphane Ducasse stephane.duca...@inria.fr wrote: Usman did you check with 1.3 to know if the method

Re: [Pharo-project] help needed

2013-01-31 Thread Usman Bhatti
On Thu, Jan 31, 2013 at 10:09 PM, Stéphane Ducasse stephane.duca...@inria.fr wrote: Usman I also try just returning the container but do not know the expected result. It works It kinda works because DNU has disappeared. Scenario I have a list, when I select an element from the list, its

Re: [Pharo-project] help needed

2013-01-31 Thread Stéphane Ducasse
On Jan 31, 2013, at 7:35 PM, Usman Bhatti wrote: On Thu, Jan 31, 2013 at 10:09 PM, Stéphane Ducasse stephane.duca...@inria.fr wrote: Usman I also try just returning the container but do not know the expected result. It works It kinda works because DNU has disappeared.

Re: [Pharo-project] help needed

2013-01-31 Thread Stéphane Ducasse
On Jan 31, 2013, at 7:35 PM, Usman Bhatti wrote: On Thu, Jan 31, 2013 at 10:09 PM, Stéphane Ducasse stephane.duca...@inria.fr wrote: Usman I also try just returning the container but do not know the expected result. It works It kinda works because DNU has disappeared.

Re: [Pharo-project] help needed

2013-01-30 Thread Stéphane Ducasse
Arghh What a terrible method……. so ugly. There is something fundamentally wrong. This is why we should rewrite MorphTreeMorph. Stef On Jan 30, 2013, at 4:13 PM, Usman Bhatti wrote: I am trying to look into this issue in Glamour related to morphs:

Re: [Pharo-project] help needed

2013-01-30 Thread Peter Hugosson-Miller
On 31 jan 2013, at 01:04, Stéphane Ducasse stephane.duca...@inria.fr wrote: Arghh What a terrible method……. so ugly. There is something fundamentally wrong. +1000 -- Cheers, Peter This is why we should rewrite MorphTreeMorph. Stef On Jan 30,

Re: [Pharo-project] help needed

2013-01-30 Thread Stéphane Ducasse
Morbid fascination It is late so I may completely off but how many isKindOf: are executed in this method? ((aSymbol isKindOf: Array) and: [aSymbol size 1 and: [aSymbol first == self nodeListSelector and: [ aSymbol second == #openPath]]])

Re: [Pharo-project] Help

2012-07-01 Thread Damien Cassou
Hi Lorenzo, On Sat, Jun 30, 2012 at 5:16 PM, Lorenzo Schiavina lore...@edor.it wrote: I am trying to insert a SVG component into a JQuery widget page. I have been able to insert it, but I am not able to manage the callback, because I do not know how to direct it to SVG component instead of to

[Pharo-project] Help

2012-06-30 Thread Lorenzo Schiavina
Hi, I am trying to insert a SVG component into a JQuery widget page. I have been able to insert it, but I am not able to manage the callback, because I do not know how to direct it to SVG component instead of to JQuery. Can anybody give me a hint? Many thanks Lorenzo

Re: [Pharo-project] Help migrating from classic streams to XStreams

2012-06-22 Thread Sean P. DeNigris
Mariano Martinez Peck wrote For the moment, we are using the classic streams we want to give it a try to XStreams. Mariano, was there any progress on this? Sean -- View this message in context: http://forum.world.st/Help-migrating-from-classic-streams-to-XStreams-tp3520892p4636198.html

Re: [Pharo-project] Help migrating from classic streams to XStreams

2012-06-22 Thread Mariano Martinez Peck
On Fri, Jun 22, 2012 at 8:05 PM, Sean P. DeNigris s...@clipperadams.comwrote: Mariano Martinez Peck wrote For the moment, we are using the classic streams we want to give it a try to XStreams. Mariano, was there any progress on this? Not really. The problem was that at that moment,

Re: [Pharo-project] Help migrating from classic streams to XStreams

2012-06-22 Thread Sean P. DeNigris
Mariano Martinez Peck wrote So if someone help me to figure it out how to do it in XStreams let me know and I try That sounds like a cool project, also as a test possibly to get them in Pharo :) I may have time soon. I'll be in touch... Sean -- View this message in context:

[Pharo-project] Help review ! Re: [Pharo-bugtracker] Issue 6077 in pharo: Let DataStream only for Monticello Part2

2012-06-17 Thread Mariano Martinez Peck
Hi guys. I touched a couple of packages so it will get obsolete soon if we don't integrate it. Anywone to review? On Sun, Jun 17, 2012 at 3:36 PM, ph...@googlecode.com wrote: Updates: Status: FixReviewNeeded Comment #1 on issue 6077 by marianopeck: Let DataStream only for Monticello

Re: [Pharo-project] Help review ! Re: [Pharo-bugtracker] Issue 6077 in pharo: Let DataStream only for Monticello Part2

2012-06-17 Thread Mariano Martinez Peck
btw, one way to test it is by just using Monticello after integrating the fix. On Sun, Jun 17, 2012 at 3:37 PM, Mariano Martinez Peck marianop...@gmail.com wrote: Hi guys. I touched a couple of packages so it will get obsolete soon if we don't integrate it. Anywone to review? On Sun, Jun

Re: [Pharo-project] Help review ! Re: [Pharo-bugtracker] Issue 6077 in pharo: Let DataStream only for Monticello Part2

2012-06-17 Thread Stéphane Ducasse
ok I will have a look. Stef On Jun 17, 2012, at 8:26 PM, Mariano Martinez Peck wrote: btw, one way to test it is by just using Monticello after integrating the fix. On Sun, Jun 17, 2012 at 3:37 PM, Mariano Martinez Peck marianop...@gmail.com wrote: Hi guys. I touched a couple of

[Pharo-project] Help reading dump?

2012-05-09 Thread Schwab,Wilhelm K
The attached is diagnostic output from the Linux vm. I am doing some iterative numerical analysis that won't always work out, so I expect errors and non-sense results at times - it all depends on whether a particular segment of a signal is clean or noisy; if the latter, all assumptions are

Re: [Pharo-project] Help reading dump?

2012-05-09 Thread Eliot Miranda
On Wed, May 9, 2012 at 8:16 AM, Schwab,Wilhelm K bsch...@anest.ufl.eduwrote: The attached is diagnostic output from the Linux vm. I am doing some iterative numerical analysis that won't always work out, so I expect errors and non-sense results at times - it all depends on whether a

Re: [Pharo-project] Help reading dump?

2012-05-09 Thread Schwab,Wilhelm K
[eliot.mira...@gmail.com] Sent: Wednesday, May 09, 2012 11:58 AM To: Pharo-project@lists.gforge.inria.fr Subject: Re: [Pharo-project] Help reading dump? On Wed, May 9, 2012 at 8:16 AM, Schwab,Wilhelm K bsch...@anest.ufl.edumailto:bsch...@anest.ufl.edu wrote: The attached is diagnostic output from

Re: [Pharo-project] Help with RPackage and FuelPackageLoader

2012-04-18 Thread Stéphane Ducasse
On Apr 16, 2012, at 3:22 PM, Mariano Martinez Peck wrote: Hi guys. I have spent several hours trying to find a problem with Fuel and RPackage and I couldn't. We have a test where we create a package, we create a class and we compiled some methods. Then we serialize the package, we remove

[Pharo-project] Help with RPackage and FuelPackageLoader

2012-04-16 Thread Mariano Martinez Peck
Hi guys. I have spent several hours trying to find a problem with Fuel and RPackage and I couldn't. We have a test where we create a package, we create a class and we compiled some methods. Then we serialize the package, we remove it, and then we materialize it. In a clean Pharo 1.4 image this

Re: [Pharo-project] [Help-smalltalk] GSoC news: 13 stipendiums!

2012-04-12 Thread Bernat Romagosa
Great! But, how do we vote? :) 2012/4/12 Janko Mivšek janko.miv...@eranova.si Dear Smalltalkers, Wonderful news, we got 13 slots from Google, that is, 13 students and their proposals will be accepted for Google and they will receive stipendiums if they will do their projects right. More

Re: [Pharo-project] [Help-smalltalk] GSoC news: 13 stipendiums!

2012-04-12 Thread H. Hirzel
For example I'd like http://gsoc2012.esug.org/projects/excel-export and http://gsoc2012.esug.org/projects/epub both favor communication with the outside world --Hannes On 4/12/12, Bernat Romagosa tibabenfortlapala...@gmail.com wrote: Great! But, how do we vote? :) 2012/4/12 Janko Mivšek

Re: [Pharo-project] [Help-smalltalk] GSoC news: 13 stipendiums!

2012-04-12 Thread Yanni Chiu
On 12/04/12 5:18 AM, H. Hirzel wrote: For example I'd like http://gsoc2012.esug.org/projects/epub In case you missed it, the GSoC proposal prompted me to push out the code I had for EPUB on Pier2. It's not yet in Pier3. It could use some re-factoring, there are test cases, it would be nice

Re: [Pharo-project] [Help-smalltalk] GSoC news: 13 stipendiums!

2012-04-12 Thread H. Hirzel
Thank you Yanni for this, so where do I find the code? --Hannes On 4/12/12, Yanni Chiu ya...@rogers.com wrote: On 12/04/12 5:18 AM, H. Hirzel wrote: For example I'd like http://gsoc2012.esug.org/projects/epub In case you missed it, the GSoC proposal prompted me to push out the code I had

Re: [Pharo-project] [Help-smalltalk] GSoC news: 13 stipendiums!

2012-04-12 Thread Yanni Chiu
On 12/04/12 11:31 AM, H. Hirzel wrote: Thank you Yanni for this, so where do I find the code? [The site is unreachable for me at the moment, so I don't have the exact link below]. It's in the Pier-Book and Pier-Tests-Book packages for Pier2 at: http://source.lukas-renggli.ch/ See the

Re: [Pharo-project] [Help-smalltalk] GSoC news: 13 stipendiums!

2012-04-12 Thread Stéphane Ducasse
On Apr 12, 2012, at 11:18 AM, H. Hirzel wrote: For example I'd like http://gsoc2012.esug.org/projects/excel-export why excel export takes more than a couple of hours? Tab separated format? and http://gsoc2012.esug.org/projects/epub both favor communication with the outside world

[Pharo-project] [Help needed] Bug tracker

2012-02-21 Thread Marcus Denker
Hi, There are 75 Issues for 1.4: http://code.google.com/p/pharo/issues/list?can=2q=milestone=1.4 It would be really nice is more people would do the boring things: is this a bug? is this for 1.4 or not critical? does the fix fix the problem? should the fix be included? Another

Re: [Pharo-project] [Help needed] Bug tracker

2012-02-21 Thread Stéphane Ducasse
Yes I will go over them as I have some time. We should think to go beta and be ready to release anytime since the RC cycle did not work last year. Stef On Feb 21, 2012, at 9:50 AM, Marcus Denker wrote: Hi, There are 75 Issues for 1.4:

Re: [Pharo-project] Help with GOODS DB

2012-02-02 Thread Mariano Martinez Peck
On Wed, Feb 1, 2012 at 4:50 PM, Alain Gonzalez alaincr...@gmail.com wrote: Dear Mariano, I have come across your blog where you talk about GOODS database and I'm interested to know if you could help in a task that I've been assigned to do. Hi Alain. Unfortunatly, I have never really played

Re: [Pharo-project] Help with GOODS DB

2012-02-02 Thread Max Leske
Hi Alain We use GOODS here. I could try to help. What do you need to know? Cheers, Max On 02.02.2012, at 17:11, Mariano Martinez Peck wrote: On Wed, Feb 1, 2012 at 4:50 PM, Alain Gonzalez alaincr...@gmail.com wrote: Dear Mariano, I have come across your blog where you talk about GOODS

Re: [Pharo-project] Help with markdown is coming...

2012-01-30 Thread Olivier Auverlot
Le 30/01/12 19:47, Igor Stasenko a écrit : a bit messy, because Camillo is a bad guy! ;) cool ! It's a very usefull tool to build documentation. Olivier ;-) www.auverlot.fr

[Pharo-project] Help: #pointersTo broken (and fix, but I don't understand why it fixes)

2011-12-29 Thread Mariano Martinez Peck
Hi guys. #pointersTo is broken and that's why some tests of PointerFinderTest are yellow. Few weeks ago, I changed #pointsTo: so that it does not perform primitive 142 but it delegates to a new method #instVarsInclude: which has the primitive 132 now. Before this change, if I open a workspace

Re: [Pharo-project] Help: #pointersTo broken (and fix, but I don't understand why it fixes)

2011-12-29 Thread Stéphane Ducasse
On Dec 29, 2011, at 11:02 PM, Mariano Martinez Peck wrote: Hi guys. #pointersTo is broken and that's why some tests of PointerFinderTest are yellow. Few weeks ago, I changed #pointsTo: so that it does not perform primitive 142 but it delegates to a new method #instVarsInclude: which has

Re: [Pharo-project] Help: #pointersTo broken (and fix, but I don't understand why it fixes)

2011-12-29 Thread Mariano Martinez Peck
Moreover, Squeak does anObj isInMemory ifTrue: [((anObj instVarsInclude: self) or: [anObj class == self]) ifTrue: [pointers add: anObj]]. anObj := anObj nextObject]. and it works fine. gr On Thu, Dec 29, 2011 at 11:11 PM, Stéphane

Re: [Pharo-project] Help: #pointersTo broken (and fix, but I don't understand why it fixes)

2011-12-29 Thread Eliot Miranda
Hi Mariano, just a tangent for now... On Thu, Dec 29, 2011 at 2:02 PM, Mariano Martinez Peck marianop...@gmail.com wrote: Hi guys. #pointersTo is broken and that's why some tests of PointerFinderTest are yellow. Few weeks ago, I changed #pointsTo: so that it does not perform primitive

[Pharo-project] Help with #cleanUpForRelease is broken: MessageNotUnderstood: ByteSymbolrun:with:in:

2011-12-16 Thread Mariano Martinez Peck
Hi guys. Somethine is very strange. I cannot do ScriptLoader new cleanUpForRelease because I get an error saying MessageNotUnderstood: ByteSymbolrun:with:in: Soall the info is here: http://code.google.com/p/pharo/issues/detail?id=5005 I checked and it is not related to methodDictionary

Re: [Pharo-project] Help with #cleanUpForRelease is broken: MessageNotUnderstood: ByteSymbolrun:with:in:

2011-12-16 Thread Mariano Martinez Peck
Well.the maximum I got after a couple of hours is to be able to reproduce it executing TWO times (because the first one works) the following: code that geenrates the bug HashedCollection compactAll. Smalltalk removeEmptyMessageCategories. Code to test the bug Smalltalk

Re: [Pharo-project] Help: Zodiac secure server.

2011-12-13 Thread Sven Van Caekenberghe
Hi Prasad, On 13 Dec 2011, at 04:35, Prasad Khurd wrote: Hello Sven, using the key-cert.pem didn't help... I used firefox as client. Attached is the walkback and the key-cert.pem. I used ZdcSecureSocketStreamTeststestPlain to conclude SqueakSSL.so was not loading in Fedora 14(test

Re: [Pharo-project] Help: Zodiac secure server.

2011-12-12 Thread Sven Van Caekenberghe
Prasad, Comments inline: On 11 Dec 2011, at 19:06, Prasad Khurd wrote: socketStreamOn: socket | stream sss | stream := ZdcSecureSocketStream on: socket. stream binary; shouldSignal: true; autoFlush: false; bufferSize: self class

Re: [Pharo-project] Help: Zodiac secure server.

2011-12-09 Thread Sven Van Caekenberghe
Hi Prasad, On 08 Dec 2011, at 18:09, Prasad Khurd wrote: Hello Sven, I am trying to write a zodiac secure server. I was able to successfully make a server copying most of the server part from Zinc Http server. Then, I tried replacing the SocketStream with your ZnSecureSocketStream

Re: [Pharo-project] Help

2011-09-09 Thread Lorenzo Schiavina
Thanks Lorenzo - Original Message - From: Stéphane Ducasse stephane.duca...@inria.fr To: Pharo-project@lists.gforge.inria.fr Sent: Thursday, September 08, 2011 10:31 PM Subject: Re: [Pharo-project] Help Lorenzo you should ask on the seaside mailing-list Stef On Sep 8, 2011, at 5

[Pharo-project] Help

2011-09-08 Thread Lorenzo Schiavina
Hi, I am trying to insert into a JQTab a JQCheckBox to obtain the same format as the one you can see in JQCheckBox, but I am not able to set CSS in JQTab to get the same format. Can anybody help me? Grazie Lorenzo

Re: [Pharo-project] Help

2011-09-08 Thread Stéphane Ducasse
Lorenzo you should ask on the seaside mailing-list Stef On Sep 8, 2011, at 5:58 PM, Lorenzo Schiavina wrote: Hi, I am trying to insert into a JQTab a JQCheckBox to obtain the same format as the one you can see in JQCheckBox, but I am not able to set CSS in JQTab to get the same

[Pharo-project] Help with a WeakOrderedCollection and objects not being GCed

2011-08-03 Thread Mariano Martinez Peck
Hi guys. I am since yesterday trying to find something and I cannot. So at this point I need external eyes :) I have this little code: anObject := ClassWith2Var new. sharedObject := ClassWith1Var new. sharedObject var1: 'nose'. anObject var1: Date today. anObject var2:

Re: [Pharo-project] Help with a WeakOrderedCollection and objects not being GCed

2011-08-03 Thread Nicolas Cellier
I'm pretty sure the array inst var of your WeakOrderedColleciton is no more a WeakArray but a simple Array. This is because Pharo's WeakOrderedCollection is broken... Every reference to Array from within OrderedCollection should be replaced with message send (self arrayType). See for example,

Re: [Pharo-project] Help with a WeakOrderedCollection and objects not being GCed

2011-08-03 Thread Nicolas Cellier
http://code.google.com/p/pharo/issues/detail?id=4596 2011/8/3 Nicolas Cellier nicolas.cellier.aka.n...@gmail.com: I'm pretty sure the array inst var of your WeakOrderedColleciton is no more a WeakArray but a simple Array. This is because Pharo's WeakOrderedCollection is broken... Every

Re: [Pharo-project] Help with a WeakOrderedCollection and objects not being GCed

2011-08-03 Thread Mariano Martinez Peck
On Wed, Aug 3, 2011 at 12:42 PM, Nicolas Cellier nicolas.cellier.aka.n...@gmail.com wrote: I'm pretty sure the array inst var of your WeakOrderedColleciton is no more a WeakArray but a simple Array. Yes, indeed, it is a normal Array and that cought my attention. But since I have no idea

Re: [Pharo-project] Help with a WeakOrderedCollection and objects not being GCed

2011-08-03 Thread Mariano Martinez Peck
btw...how can I change OrderedCollectiongrow without shooting my foots? On Wed, Aug 3, 2011 at 12:51 PM, Mariano Martinez Peck marianop...@gmail.com wrote: On Wed, Aug 3, 2011 at 12:42 PM, Nicolas Cellier nicolas.cellier.aka.n...@gmail.com wrote: I'm pretty sure the array inst var of

Re: [Pharo-project] Help with a WeakOrderedCollection and objects not being GCed

2011-08-03 Thread Nicolas Cellier
You replace Array with self arrayType, that's all. But there is better, Pharo already has growAtFirst and growAtLast which are correct. Use them instead of grow. See SLICE in inbox. Nicolas 2011/8/3 Mariano Martinez Peck marianop...@gmail.com: btw...how can I change OrderedCollectiongrow

Re: [Pharo-project] Help with a WeakOrderedCollection and objects not being GCed

2011-08-03 Thread Henrik Johansen
On Aug 3, 2011, at 12:51 38PM, Mariano Martinez Peck wrote: On Wed, Aug 3, 2011 at 12:42 PM, Nicolas Cellier nicolas.cellier.aka.n...@gmail.com wrote: I'm pretty sure the array inst var of your WeakOrderedColleciton is no more a WeakArray but a simple Array. Yes, indeed, it is a

Re: [Pharo-project] Help with a WeakOrderedCollection and objects not being GCed

2011-08-03 Thread Mariano Martinez Peck
On Wed, Aug 3, 2011 at 1:01 PM, Nicolas Cellier nicolas.cellier.aka.n...@gmail.com wrote: You replace Array with self arrayType, that's all. Here my images freezes and CPU goes 100%. I guess because compiling/saving a method uses OrderedCollection grow at the same time. But there is

Re: [Pharo-project] Help with a WeakOrderedCollection and objects not being GCed

2011-08-03 Thread Nicolas Cellier
Oh I see, for the SLICE, this is again the Pharo's version of MCPackageLoaderbasicLoad which is striking. In Squeak trunk it would work because removals are performed AFTER methodAdditions/Changes. In Pharo, removals are performed BEFORE, so yes, the SLICE needs to be split in two parts... Or you

Re: [Pharo-project] Help with a WeakOrderedCollection and objects not being GCed

2011-08-03 Thread Mariano Martinez Peck
Thanks a lot Nicolas and Henrik. I have split the slice and it works! I will upload soon both slides, part1 and part2 and a test for it. On Wed, Aug 3, 2011 at 1:49 PM, Nicolas Cellier nicolas.cellier.aka.n...@gmail.com wrote: Oh I see, for the SLICE, this is again the Pharo's version of

Re: [Pharo-project] Help with a WeakOrderedCollection and objects not being GCed

2011-08-03 Thread Mariano Martinez Peck
Ok, I have splitted the slice in two parts: PART1 and PART2. PART1 includes the fixes in #makeRoomAtFirst and #makeRoomAtLast and a new class WeakOrderedCollectionTest with two tests: #testWeakOrderedCollectionSomeGarbageCollected and #testWeakOrderedCollectionAllGarbageCollected. Those tests

Re: [Pharo-project] Help with a WeakOrderedCollection and objects not being GCed

2011-08-03 Thread Stéphane Ducasse
How can we test and make sure that in the future we know automatically if the weak is broken? Stef On Aug 3, 2011, at 1:01 PM, Nicolas Cellier wrote: You replace Array with self arrayType, that's all. But there is better, Pharo already has growAtFirst and growAtLast which are correct. Use

Re: [Pharo-project] Help with a WeakOrderedCollection and objects not being GCed

2011-08-03 Thread Stéphane Ducasse
On Aug 3, 2011, at 1:49 PM, Nicolas Cellier wrote: Oh I see, for the SLICE, this is again the Pharo's version of MCPackageLoaderbasicLoad which is striking. In Squeak trunk it would work because removals are performed AFTER methodAdditions/Changes. In Pharo, removals are performed BEFORE,

Re: [Pharo-project] Help with a WeakOrderedCollection and objects not being GCed

2011-08-03 Thread Mariano Martinez Peck
On Wed, Aug 3, 2011 at 10:27 PM, Stéphane Ducasse stephane.duca...@inria.fr wrote: How can we test and make sure that in the future we know automatically if the weak is broken? If you check the issue traker, I've uploaded to tests for this case. Stef On Aug 3, 2011, at 1:01 PM, Nicolas

Re: [Pharo-project] Help with a WeakOrderedCollection and objects not being GCed

2011-08-03 Thread Stéphane Ducasse
Thanks I will have a look tomorrow morning, before packing to get back in the deep north (of France henrik). On Aug 3, 2011, at 2:45 PM, Mariano Martinez Peck wrote: Ok, I have splitted the slice in two parts: PART1 and PART2. PART1 includes the fixes in #makeRoomAtFirst and #makeRoomAtLast

Re: [Pharo-project] Help with a WeakOrderedCollection and objects not being GCed

2011-08-03 Thread Igor Stasenko
On 3 August 2011 12:51, Mariano Martinez Peck marianop...@gmail.com wrote: On Wed, Aug 3, 2011 at 12:42 PM, Nicolas Cellier nicolas.cellier.aka.n...@gmail.com wrote: I'm pretty sure the array inst var of your WeakOrderedColleciton is no more a WeakArray but a simple Array. Yes, indeed, it

Re: [Pharo-project] Help with a WeakOrderedCollection and objects not being GCed

2011-08-03 Thread Igor Stasenko
On 3 August 2011 22:27, Stéphane Ducasse stephane.duca...@inria.fr wrote: How can we test and make sure that in the future we know automatically if the weak is broken? object := Object new. coll := WeakOrderedCollection new add: anObject. anObject := nil. Smalltalk garbageCollect. self

Re: [Pharo-project] Help with a WeakOrderedCollection and objects not being GCed

2011-08-03 Thread Mariano Martinez Peck
On Wed, Aug 3, 2011 at 10:47 PM, Igor Stasenko siguc...@gmail.com wrote: On 3 August 2011 22:27, Stéphane Ducasse stephane.duca...@inria.fr wrote: How can we test and make sure that in the future we know automatically if the weak is broken? object := Object new. coll :=

Re: [Pharo-project] help needed with the new FFI plugin...

2011-07-22 Thread Janko Mivšek
Wow, Eliot, thanks for that so long waited function a lot! Threaded FFI is namelly a must for Squeak/Pharo to be used seriously everywhere where a connection to the other worlds is needed. Which is a common situation when working on enterprise level information systems. Thanks again! Thanks also

Re: [Pharo-project] help needed with the new FFI plugin...

2011-07-22 Thread Norbert Hartl
Great! Thanks, Eliot! That could change a lot of things. Norbert Am 22.07.2011 um 01:34 schrieb Eliot Miranda: Hi All, today I committed the threaded FFI plugin along with the threaded VM and hope to be able to support people in doing threaded FFI work on the x86 platforms really

[Pharo-project] help needed with the new FFI plugin...

2011-07-21 Thread Eliot Miranda
Hi All, today I committed the threaded FFI plugin along with the threaded VM and hope to be able to support people in doing threaded FFI work on the x86 platforms really soon now (Esteban, amongst others, this means you ;) ). But to put the image-level code that uses the new FFI plugin into

Re: [Pharo-project] help to remove toolbuilder

2011-06-06 Thread Stéphane Ducasse
[stephane.duca...@inria.fr] Sent: Sunday, June 05, 2011 3:17 PM To: Pharo-project open-source Smalltalk Subject: [Pharo-project] help to remove toolbuilder Hi gary I could nearly remove toolBuilder if I could know what to do with [ToolBuilder default runModal: aSystemWindow

[Pharo-project] help to remove toolbuilder

2011-06-05 Thread Stéphane Ducasse
Hi gary I could nearly remove toolBuilder if I could know what to do with [ToolBuilder default runModal: aSystemWindow openAsIs] in openModal: aSystemWindow Open the given window locking the receiver until it is dismissed. Answer the system window. Restore

Re: [Pharo-project] help to remove toolbuilder

2011-06-05 Thread Schwab,Wilhelm K
Subject: [Pharo-project] help to remove toolbuilder Hi gary I could nearly remove toolBuilder if I could know what to do with [ToolBuilder default runModal: aSystemWindow openAsIs] in openModal: aSystemWindow Open the given window locking the receiver until it is dismissed

[Pharo-project] Help migrating from classic streams to XStreams

2011-05-13 Thread Mariano Martinez Peck
Hi guys. We are developing Fuel with Martin Dias. Fuel is a binary serializer similar to Parcels. More info in http://rmod.lille.inria.fr/web/pier/software/Fuel For the moment, we are using the classic streams we want to give it a try to XStreams. My knowledge on streams is very little, so if

Re: [Pharo-project] Help migrating from classic streams to XStreams

2011-05-13 Thread Nicolas Cellier
Don't do it exclusively for file, but do it for every XTream One way to do it would be with a wrapper. I mean create a new subclass of XTReadStream, say XTCompatibilityReadStream implement the compatibility methods you want. Same for WriteStream. You'll have to define a few XTream messages too

  1   2   3   >