Re: [Pharo-users] Restoring a class via Epicea didn't recompile a reference?

2018-04-25 Thread Tim Mackinnon
That should be “re-saved “ it, the issue went away. Sent from my iPhone > On 25 Apr 2018, at 23:43, Tim Mackinnon wrote: > > Hi - I think I had this issue a long while back, but I just hit it again > (desperately trying to get back into Pharo again)… > > I was trying out Willow - and had a m

[Pharo-users] Restoring a class via Epicea didn't recompile a reference?

2018-04-25 Thread Tim Mackinnon
Hi - I think I had this issue a long while back, but I just hit it again (desperately trying to get back into Pharo again)… I was trying out Willow - and had a method like this: initializeContainerView | behaviorDetails scopeSelection | behaviorDetails := IdentifiedWebView

Re: [Pharo-users] UFFI and autoRelease

2018-04-25 Thread Ben Coman
On 25 April 2018 at 23:08, Serge Stinckwich wrote: > I don't understand the default > > finalizeResourceData: handle > handle isNull ifTrue: [ ^ self ]. > handle free. > handle beNull > > > when handle is an ExternaData, free is defined as in ExternalStructure > class as: > > free >

Re: [Pharo-users] TLS/SSL and SocketStreams

2018-04-25 Thread Sven Van Caekenberghe
Hi Eric, > On 25 Apr 2018, at 22:25, Eric Gade wrote: > > Hello, > > In the process of maintaining a small IRC client I have written, I'm trying > to add the option to connect over SSL. Of course ensuring valid certificates > and the handshake et al is quite complicated. Instead I'm attemptin

[Pharo-users] TLS/SSL and SocketStreams

2018-04-25 Thread Eric Gade
Hello, In the process of maintaining a small IRC client I have written, I'm trying to add the option to connect over SSL. Of course ensuring valid certificates and the handshake et al is quite complicated. Instead I'm attempting to rely on Zodiac's `ZdcSecureSocketStream` instead of a regular `Soc

Re: [Pharo-users] UFFI and autoRelease

2018-04-25 Thread Serge Stinckwich
I don't understand the default finalizeResourceData: handle handle isNull ifTrue: [ ^ self ]. handle free. handle beNull when handle is an ExternaData, free is defined as in ExternalStructure class as: free "Free the handle pointed to by the receiver" (handle ~~ nil and:[han

Re: [Pharo-users] SortedCollection>>reverse answers an inconsistent object in Pharo 6

2018-04-25 Thread Denis Kudriashov
2018-04-25 14:26 GMT+02:00 Richard O'Keefe : > (aSortFunction value: x value: y) returns a Boolean; > (aSortFunction value: x value: x) returns true. > So you can already set up a SortedCollection using > a SortFunction. So yes, that would work. > Yes. It was original goal to introduce them. I c

Re: [Pharo-users] SortedCollection>>reverse answers an inconsistent object in Pharo 6

2018-04-25 Thread Richard O'Keefe
(aSortFunction value: x value: y) returns a Boolean; (aSortFunction value: x value: x) returns true. So you can already set up a SortedCollection using a SortFunction. So yes, that would work. But there is no reason why #reversed (or my preference, #converse) could not work on sortBlocks. On 25

Re: [Pharo-users] SortedCollection>>reverse answers an inconsistent object in Pharo 6

2018-04-25 Thread Richard O'Keefe
As I pointed out yesterday, #sort and its immediate relatives are not alone. Look at #isSortedBy: . When do you want (#(1 1 1) asSortedCollection: b) isSortedBy: b to answer false? There are several reasons for sorting. One is so that you can use binary search. It's rather disconcerting that t

Re: [Pharo-users] SortedCollection>>reverse answers an inconsistent object in Pharo 6

2018-04-25 Thread Denis Kudriashov
Hi Richard. I agree with your proposal. But it force me to think that we should completely move to SortFunction's. In that case SortCollection will have sortFunction variable instead of sortBlock. And for your scenario reverse operation will be simple expression: "sortFunction := sortFunction reve

Re: [Pharo-users] SortedCollection>>reverse answers an inconsistent object in Pharo 6

2018-04-25 Thread Erik Stel
Why does the sortBlock has to answer true for the same (identical) object? I have not been able to find where it is specified. And in different locations I see #> being used as a comparator for the sortBlock. So why is it bad (as you wrote)? (It seems you describe that SortedCollection should creat

Re: [Pharo-users] Launcher not launching

2018-04-25 Thread Jan Blizničenko
Hello Thank you for quick reply. Yes, it seems like the same bug and the linked current alpha version works fine. Switched to it and did not encounter even any other problems so far. Thank you. Regards, Jan demarey wrote > Hello, > >> Le 25 avr. 2018 à 11:57, Jan Blizničenko < > bliznjan@.cvu

Re: [Pharo-users] Launcher not launching

2018-04-25 Thread Christophe Demarey
Hello, > Le 25 avr. 2018 à 11:57, Jan Blizničenko a écrit : > > Hello > > On Windows 10, I updated launcher from the one on > https://ci.inria.fr/pharo/view/Launcher/job/Package-and-Publish-Launcher-stable-Win/ > (1.0.1) to the one now on official website http://pharo.org/web/download > (1.1),

[Pharo-users] Launcher not launching

2018-04-25 Thread Jan Blizničenko
Hello On Windows 10, I updated launcher from the one on https://ci.inria.fr/pharo/view/Launcher/job/Package-and-Publish-Launcher-stable-Win/ (1.0.1) to the one now on official website http://pharo.org/web/download (1.1), but the new launcher does not open any images. I can create, rename, remove i

[Pharo-users] [Ann] Iceberg 0.7.3

2018-04-25 Thread Guillermo Polito
Hi all, We just introduced Iceberg 0.7.3 into Pharo. This new version solves several issues people had when contributing to Pharo in general and others. I've made a screencast on how to contribute to Pharo, and added some tutorial and glossary in Iceberg's wiki. Below the links and the changes lo