Pharo-users
By thread
pharo-users@lists.pharo.org
By month
Messages by month
- ----- 2026 -----
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2025 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2024 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2023 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2022 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2021 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2020 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2019 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2018 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2017 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2016 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2015 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2014 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2013 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2012 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2011 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2010 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
August 2010
- 33 participants
- 202 messages
[update 1.2] #12108
by Stéphane Ducasse
12108
-----
- Issue 2653: Editor cursor fix. Thanks Fernando Olivero and Chris Muller.
- Issue 1400: Make Question Dialog more usable. Thanks Gary Chambers
- Issue 2849: Improve About Dialog (and possibly provide new AlphaImageMorph defaultImage). Thanks Torsten Bergman.
Thanks guys!
It looks like this is an obvious statement but this is not :)
Stef
Aug. 23, 2010
Freetype package breaks preferences browser?
by Marcin Tustin
Hi all,
Further to my previous email, I decided to install OSProcess/VMMaker.
VMMaker installs a version of the freetype package, or rather fails to do
so. This appears to be because it use _ for assignment, rather :=.
Unfortunately, incompletely installing the package appears to have broken
the preferences browser (attempting to launch it from the main menu results
in an exception).
Is there a way to undo the changes from the various packages loaded, and
thus return my image to a sane state, or an alternative way to enable _, so
that loading can continue?
Marcin
--
Marcin Tustin
Mobile: 07773787105
Office: 020 3400 3259
Aug. 23, 2010
Re: [Pharo-users] WebClient
by Sven Van Caekenberghe
On 23 Aug 2010, at 17:56, Stéphane Ducasse wrote:
> Sven
> andreas fixed a some behavior in socket and socketStream so may be we should use a more recent version of WebClient-Core
> than of of 10 of august.
> What do you think?
>
> Stef
OK, I can do that, but WebClient does not contain any magic socket or socketstream stuff, it just uses them.
I quickly browsed the diffs between my version, WebClient-Core-SvenVanCaekenberghe.64 (baed off WebClient-Core-ar.62) and WebClient-Core-ar.67 and it seems manageable (there is mostly just added functionality).
I will try to do this tomorrow.
Still, I don't like running behind someone who makes little or no effort to support us (not that I don't understand his point of view).
Sven
Aug. 23, 2010
Invoking external processes/IPC
by Marcin Tustin
Hi all,
I'm an occasional squeak/pharo dabbler, and I'm wondering what the
recommended way of interacting with external processes is these days?
Should I go through the process of getting all the VMMaker and OSProcess
stuff, and build the OSProcess plugin, or is there some other way in Pharo
to interact with the OS environment?
Alternatively, are people doing something (easy) with IPC mechanisms like
named sockets or TCP streams?
The "project" I'm working on is putting figlet on a website, just for fun.
Marcin
--
Marcin Tustin
Mobile: 07773787105
Office: 020 3400 3259
Aug. 23, 2010
3600 seconds seconds = 0 ???
by Stéphane Ducasse
3600 seconds seconds = 0
which means that this is a number of seconds in the hour:min:seconds decomposition
Now it looks to me that the method comment is wrong
seconds
"Answer the number of seconds the receiver represents."
^ (seconds rem: SecondsInMinute)
3600 seconds asSeconds = 3600 is what is working
may be (Duration seconds: 3600) would be better
To me there is something conceptually bogus with such definition of minutes and seconds.
(Duration seconds: 3600) minutes = 0
(Duration seconds: 3600) seconds = 0
Stef
Aug. 23, 2010
Re: [Pharo-users] MethodName
by Benjamin Van Ryseghem
>
> Message: 1
> From: Mariano Martinez Peck <marianopeck(a)gmail.com>
>
> Hi Benjamin. Thanks a lot for all the work you are doing. When we start to
> build PharoDev 1.2 I would like to include your new recent submission and
> this method finder.
>
Thank you, it's a good news to hear :)
> It is very good idea to merge both, as it was very confusing.
>
> Here is my feedback
>
> 1) You have to provide a help text somewhere. Ok, entering a message name
> is
> easy. For example, if I want to see all messages like #setUp for example.
> That's intuitive. But, if I want to search the method that sending to an
> object 'aaa' answers me 'AAA', it is not intuitive to type: 'aaa' . 'AAA' .
> so....this should be explained somewhere. Maybe you can add a text
> explaining this (like it was in the previous tool) in the code panel.
> Because when you first open MethodName, the code panel is empy...you can
> use
> is and write there the text. Of course, an extra button help would be nice
> too :)
>
Now, instead of having an empty text area, the method finder help is
diplayed.
About the button, I have no idea where to add it in the UI (it's already
quite full)
>
> 2) In addition to 1) writing a HelpSystem chapter / Pharo Collaborative
> book
> is important. What I mean is that if we are going to include a new tool in
> the Pharo mainstream, then it should be easy to use and documented.
>
I'm agree to try writing one, but I need further informations (and probably
some help ) :)
>
> 3) The scroll of "change search envirorment" is veryyyyyyy slow. I know it
> is not "your" fault, but maybe someone can give you an idea of how to
> improve this. Maybe Tudor, Alexandre, Lukas, Gary...I don't know.
>
I've forgotten to initialize a class variable in PackageChooserUI.
Now the default behavior is to show only packages. This way, the chooser is
quick enough.
I worked on a Package->Classes representation but it's slow and I had some
trouble with selection so i've choosen to wait until packages be Objects
instead of String to resume this part.
4) Most of the buttons are confusing because you don't know when you should
> be able to use them. For example, all the button (browse, senders, etc) are
> only usable when you select a specific implementor. But
>
> a) they are not disable at the beginning (before choosing a selector), thus
> someone would try to use them just after selecting a method name.
>
> b) not all of them require an implementor. For example, to search the
> senders, I don't need to select a particular implementor. Just having the
> selector is enough.
>
> So...I would put those buttons inside the right panel (where you list the
> implementors) or disable (grey) them when not needed.
>
It's fixed now :)
>
> 5) This one is difficult to explain....Take method name and type in the
> serach inpit: 'aaa' . 'AAA'. Hit serach and you will see 'aaa' asUppercase
> -> 'AAA' listed in the left panel. If you click EVERYWHERE inside that
> panel, the first one is selected. Thus, it is easy and fast becasue you
> DONT
> need to go the the first raw and mark it. Ok?
>
> Now....do the same but write "setUp". You will see several methods that
> match that. Select any of them, and in the right panel you will have a
> list.
> A lot of times, there is one implementor. And of course you want
> that....but
> doing the same of the previous case doesn't work. You have to go exactly to
> that raw in order to select it.
>
> okok...I know, I am lazy :)
>
I'm pretty lazy too so now, if it's possible, the first choice
isautomaticallychoosen ^^
Moreover, when a Method Name window is open, the focus is already given to
the searching text area :)
>
> Thanks again for this
>
> Mariano
>
Thank you for your advice ^^
-----------------------------------------------------------------------------------------------------------------------------------------------------
>
> Message: 2
>
> > Hi Benjamin. Thanks a lot for all the work you are doing. When we start
> to build PharoDev 1.2 I would like to include your new recent submission and
> this method finder.
>
>
> I want to integrate recentMessage to replace the default one.
> Same for the new Finder once it is ready.
> I did not have the time.
> I think that this is important to take the time to rethink what we want.
>
> Stef
>
Thank you :)
Ben
Aug. 23, 2010
Re: [Pharo-users] WebClient
by Stéphane Ducasse
Sven
andreas fixed a some behavior in socket and socketStream so may be we should use a more recent version of WebClient-Core
than of of 10 of august.
What do you think?
Stef
On Aug 23, 2010, at 5:49 PM, Sven Van Caekenberghe wrote:
>>> WebClient-Tests-ar.25 from Andreas' WebClient repo
>
> On 23 Aug 2010, at 17:45, Stéphane Ducasse wrote:
>
>> Should I take the tests from your repository or from the one of andreas?
>>
>> On Aug 23, 2010, at 5:07 PM, Sven Van Caekenberghe wrote:
>>
>>> Well, I just ran the units tests in Pharo1.2a #12107 and with this version
>>>
>>> http://www.squeaksource.com/ADayAtTheBeach/WebClient-Core-SvenVanCaekenberg…
>>>
>>> ==================== Summary ====================
>>>
>>> Name: WebClient-Core-SvenVanCaekenberghe.64
>>> Author: SvenVanCaekenberghe
>>> Time: 23 August 2010, 5:02:04 pm
>>> UUID: 2cb4f11d-870a-45f0-bcde-e61351e7edf2
>>> Ancestors: WebClient-Core-SvenVanCaekenberghe.63
>>>
>>> replaced SmalltalkImage current platformName with OSPlatform current platformFamily
>>>
>>> We go from all red to 33 passed out of 39, 6 errors.
>>>
>>> If we could solve his usage of #pathForFile I think we can make some more tests succeed.
>>>
>>> I'll see if I can fix some more low hanging bugs.
>>>
>>> Sven
>>>
>>> On 23 Aug 2010, at 16:56, Stéphane Ducasse wrote:
>>>
>>>> excellent! excellent!
>>>> Let me know. I'm working on papers but I want to integrate such packages so that
>>>> brave souls can start removing some of the ugly part of Network :)
>>>>
>>>> Stef
>>>>
>>>> On Aug 23, 2010, at 4:44 PM, Sven Van Caekenberghe wrote:
>>>>
>>>>> The last version that I patched for Pharo is:
>>>>>
>>>>> http://www.squeaksource.com/ADayAtTheBeach/WebClient-Core-SvenVanCaekenberg…
>>>>>
>>>>> ==================== Summary ====================
>>>>>
>>>>> Name: WebClient-Core-SvenVanCaekenberghe.63
>>>>> Author: SvenVanCaekenberghe
>>>>> Time: 12 August 2010, 10:46:11 am
>>>>> UUID: 149d44b2-138b-4d63-a158-f587b2bd391d
>>>>> Ancestors: WebClient-Core-ar.62
>>>>>
>>>>> added some more #asString's where needed to deal with the different semantics of #, in Squeak vs Pharo; removed usage of #and:and:and:and: with a composition of #and: in WebClient>>connect
>>>>>
>>>>> Andreas did not respond to my email...
>>>>> The Tests corresponding to WebClient-Core-ar.62 (the ancestor) are WebClient-Tests-ar.25.
>>>>> I am right now having a quick look at the unit tests in PharoCore 1.2.
>>>>>
>>>>> Sven
>>>>>
>>>>> On 23 Aug 2010, at 15:50, Stéphane Ducasse wrote:
>>>>>
>>>>>> Sven
>>>>>>
>>>>>> I want now to integrate webClient in 1.2 do you have a suggestion where and which packages I should take?
>>>>>> Some in a Day at a beach ?
>>>>>>
>>>>>> Stef
>>>>>>
>>>>>> On Aug 13, 2010, at 7:12 PM, Sven Van Caekenberghe wrote:
>>>>>>
>>>>>>> Well, I did some effort before and got Andreas to include a number of patches so that his WebClient-Core loaded into Pharo without a need for a compatibility layer. The lastest version does no longer have this property ;-)
>>>>>>>
>>>>>>> I again submitted some patches to Andreas ( http://forum.world.st/WebClient-Core-port-to-Pharo-1-1-final-td2322411.html… ) but he hasn't responded yet. Futhermore, I did not yet fix everything, but the code works for my purposes.
>>>>>>>
>>>>>>> As I discussed with Stéphane, it is not clear for me how this must go further, since we keep on running 'behind'. So it is good to discuss this here.
>>>>>>>
>>>>>>> Sven
>>>>>>>
>>>>>>> On 13 Aug 2010, at 17:24, Miguel Enrique Cobá MartÃnez wrote:
>>>>>>>
>>>>>>>> El vie, 13-08-2010 a las 12:11 +0200, Stéphane Ducasse escribió:
>>>>>>>>> Since we agree that we want to use WebClient in pharo by default, it would be nice to start
>>>>>>>>> pushing it into 1.2. I was waiting a bit to get some more feedback. What we could do
>>>>>>>>> is
>>>>>>>>> - load it in 1.2
>>>>>>>>> - update it when andreas publish new versions
>>>>>>>>> - start forwarding to webClient
>>>>>>>>> - remove the other code slowly
>>>>>>>>>
>>>>>>>>> What do you think?
>>>>>>>>> Stef
>>>>>>>>
>>>>>>>> +1, I think Germán Arduino began the work to include WebClient in Pharo.
>>>>>>>> He could give an update.
>>>>>>>> Also, now that WebClient includes OAuth support Seaside apps and Pharo
>>>>>>>> in general could benefit by allowing connecting to Twitter and Facebook
>>>>>>>> sites.
>>>>>>>>
>>>>>>>> Cheers
>>>>>>>>>
>>>>>>>>> On Jun 10, 2010, at 4:09 PM, Sven Van Caekenberghe wrote:
>>>>>>>>>
>>>>>>>>>> Hi,
>>>>>>>>>>
>>>>>>>>>> Andreas Raab's 'new' WebClient/WebServer seems quite nice, as he says himself:
>>>>>>>>>>
>>>>>>>>>> As a result, we now have what I think is a pretty decent HTTP server and client implementation for Squeak 4.1 and hopefully we can nuke HTTPSocket sometime soon. WebClient is superior in every respect.
>>>>>>>>>>
>>>>>>>>>> Is this something that will / should fit seamlessly into Pharo ? Or even become preinstalled ?
>>>>>>>>>>
>>>>>>>>>> I didn't try his ConfigurationOfWebClient since the last version was unreadable and it seemed like an experiment, while his textual explanation was easy to follow.
>>>>>>>>>>
>>>>>>>>>> To load it into and to make the unit tests run in Pharo 1.0 I had to make a couple of fixes (to WebCookie#printOn: and WebServer class#serverString). Who should I sent these changes to ?
>>>>>>>>>>
>>>>>>>>>> But even then 1 unit test failed (#testServerDestroy).
>>>>>>>>>>
>>>>>>>>>> Furthermore, some the changes in his package WebClient-Pharo seem a bit dangerous, especially a modification to SocketStream#peek (and the failed test was doing a peek) and an override of String#, some others are unneccessary as far as I can see.
>>>>>>>>>>
>>>>>>>>>> Sven
>>>>>>>>>>
>>>>>>>>>> --
>>>>>>>>>> Sven Van Caekenberghe - mailto:sven@beta9.be
>>>>>>>>>> Beta Nine - software engineering - http://www.beta9.be
>>>>>>>>>> .Mac - svc(a)mac.com - http://homepage.mac.com/svc
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> _______________________________________________
>>>>>>>>>> Pharo-users mailing list
>>>>>>>>>> Pharo-users(a)lists.gforge.inria.fr
>>>>>>>>>> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-users
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> _______________________________________________
>>>>>>>>> Pharo-users mailing list
>>>>>>>>> Pharo-users(a)lists.gforge.inria.fr
>>>>>>>>> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-users
>>>>>>>>
>>>>>>>> --
>>>>>>>> Miguel Cobá
>>>>>>>> http://miguel.leugim.com.mx
>>>>>>>>
>>>>>>>>
>>>>>>>> _______________________________________________
>>>>>>>> Pharo-users mailing list
>>>>>>>> Pharo-users(a)lists.gforge.inria.fr
>>>>>>>> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-users
>>>>>>>
>>>>>>>
>>>>>>> _______________________________________________
>>>>>>> Pharo-users mailing list
>>>>>>> Pharo-users(a)lists.gforge.inria.fr
>>>>>>> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-users
>>>>>>
>>>>>>
>>>>>> _______________________________________________
>>>>>> Pharo-users mailing list
>>>>>> Pharo-users(a)lists.gforge.inria.fr
>>>>>> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-users
>>>>>
>>>>>
>>>>> _______________________________________________
>>>>> Pharo-users mailing list
>>>>> Pharo-users(a)lists.gforge.inria.fr
>>>>> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-users
>>>>
>>>>
>>>> _______________________________________________
>>>> Pharo-users mailing list
>>>> Pharo-users(a)lists.gforge.inria.fr
>>>> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-users
>>>
>>>
>>> _______________________________________________
>>> Pharo-users mailing list
>>> Pharo-users(a)lists.gforge.inria.fr
>>> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-users
>>
>>
>> _______________________________________________
>> Pharo-users mailing list
>> Pharo-users(a)lists.gforge.inria.fr
>> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-users
>
>
> _______________________________________________
> Pharo-users mailing list
> Pharo-users(a)lists.gforge.inria.fr
> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-users
Aug. 23, 2010
Re: [Pharo-users] WebClient
by Sven Van Caekenberghe
OK, I will do that later today...
On 23 Aug 2010, at 17:40, Stéphane Ducasse wrote:
> BTW sven did you sign the license agreement?
> Could you do it?
>
> http://code.google.com/p/pharo/wiki/LicenseAgreement
>
> no need for a nice stamp :)
> you can scan it and send it to me by boring email :)
> Thanks
>
> http://code.google.com/p/pharo/wiki/ListOfOkCommitters
>
> On Aug 23, 2010, at 4:44 PM, Sven Van Caekenberghe wrote:
>
>> http://www.squeaksource.com/ADayAtTheBeach/
>
>
> _______________________________________________
> Pharo-users mailing list
> Pharo-users(a)lists.gforge.inria.fr
> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-users
Aug. 23, 2010
Re: [Pharo-users] WebClient
by Stéphane Ducasse
why not taking the latest one core and test from webclient and reapplying your changes?
Stef
On Aug 23, 2010, at 4:44 PM, Sven Van Caekenberghe wrote:
> The last version that I patched for Pharo is:
>
> http://www.squeaksource.com/ADayAtTheBeach/WebClient-Core-SvenVanCaekenberg…
>
> ==================== Summary ====================
>
> Name: WebClient-Core-SvenVanCaekenberghe.63
> Author: SvenVanCaekenberghe
> Time: 12 August 2010, 10:46:11 am
> UUID: 149d44b2-138b-4d63-a158-f587b2bd391d
> Ancestors: WebClient-Core-ar.62
>
> added some more #asString's where needed to deal with the different semantics of #, in Squeak vs Pharo; removed usage of #and:and:and:and: with a composition of #and: in WebClient>>connect
>
> Andreas did not respond to my email...
> The Tests corresponding to WebClient-Core-ar.62 (the ancestor) are WebClient-Tests-ar.25.
> I am right now having a quick look at the unit tests in PharoCore 1.2.
>
> Sven
>
> On 23 Aug 2010, at 15:50, Stéphane Ducasse wrote:
>
>> Sven
>>
>> I want now to integrate webClient in 1.2 do you have a suggestion where and which packages I should take?
>> Some in a Day at a beach ?
>>
>> Stef
>>
>> On Aug 13, 2010, at 7:12 PM, Sven Van Caekenberghe wrote:
>>
>>> Well, I did some effort before and got Andreas to include a number of patches so that his WebClient-Core loaded into Pharo without a need for a compatibility layer. The lastest version does no longer have this property ;-)
>>>
>>> I again submitted some patches to Andreas ( http://forum.world.st/WebClient-Core-port-to-Pharo-1-1-final-td2322411.html… ) but he hasn't responded yet. Futhermore, I did not yet fix everything, but the code works for my purposes.
>>>
>>> As I discussed with Stéphane, it is not clear for me how this must go further, since we keep on running 'behind'. So it is good to discuss this here.
>>>
>>> Sven
>>>
>>> On 13 Aug 2010, at 17:24, Miguel Enrique Cobá MartÃnez wrote:
>>>
>>>> El vie, 13-08-2010 a las 12:11 +0200, Stéphane Ducasse escribió:
>>>>> Since we agree that we want to use WebClient in pharo by default, it would be nice to start
>>>>> pushing it into 1.2. I was waiting a bit to get some more feedback. What we could do
>>>>> is
>>>>> - load it in 1.2
>>>>> - update it when andreas publish new versions
>>>>> - start forwarding to webClient
>>>>> - remove the other code slowly
>>>>>
>>>>> What do you think?
>>>>> Stef
>>>>
>>>> +1, I think Germán Arduino began the work to include WebClient in Pharo.
>>>> He could give an update.
>>>> Also, now that WebClient includes OAuth support Seaside apps and Pharo
>>>> in general could benefit by allowing connecting to Twitter and Facebook
>>>> sites.
>>>>
>>>> Cheers
>>>>>
>>>>> On Jun 10, 2010, at 4:09 PM, Sven Van Caekenberghe wrote:
>>>>>
>>>>>> Hi,
>>>>>>
>>>>>> Andreas Raab's 'new' WebClient/WebServer seems quite nice, as he says himself:
>>>>>>
>>>>>> As a result, we now have what I think is a pretty decent HTTP server and client implementation for Squeak 4.1 and hopefully we can nuke HTTPSocket sometime soon. WebClient is superior in every respect.
>>>>>>
>>>>>> Is this something that will / should fit seamlessly into Pharo ? Or even become preinstalled ?
>>>>>>
>>>>>> I didn't try his ConfigurationOfWebClient since the last version was unreadable and it seemed like an experiment, while his textual explanation was easy to follow.
>>>>>>
>>>>>> To load it into and to make the unit tests run in Pharo 1.0 I had to make a couple of fixes (to WebCookie#printOn: and WebServer class#serverString). Who should I sent these changes to ?
>>>>>>
>>>>>> But even then 1 unit test failed (#testServerDestroy).
>>>>>>
>>>>>> Furthermore, some the changes in his package WebClient-Pharo seem a bit dangerous, especially a modification to SocketStream#peek (and the failed test was doing a peek) and an override of String#, some others are unneccessary as far as I can see.
>>>>>>
>>>>>> Sven
>>>>>>
>>>>>> --
>>>>>> Sven Van Caekenberghe - mailto:sven@beta9.be
>>>>>> Beta Nine - software engineering - http://www.beta9.be
>>>>>> .Mac - svc(a)mac.com - http://homepage.mac.com/svc
>>>>>>
>>>>>>
>>>>>>
>>>>>> _______________________________________________
>>>>>> Pharo-users mailing list
>>>>>> Pharo-users(a)lists.gforge.inria.fr
>>>>>> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-users
>>>>>
>>>>>
>>>>> _______________________________________________
>>>>> Pharo-users mailing list
>>>>> Pharo-users(a)lists.gforge.inria.fr
>>>>> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-users
>>>>
>>>> --
>>>> Miguel Cobá
>>>> http://miguel.leugim.com.mx
>>>>
>>>>
>>>> _______________________________________________
>>>> Pharo-users mailing list
>>>> Pharo-users(a)lists.gforge.inria.fr
>>>> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-users
>>>
>>>
>>> _______________________________________________
>>> Pharo-users mailing list
>>> Pharo-users(a)lists.gforge.inria.fr
>>> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-users
>>
>>
>> _______________________________________________
>> Pharo-users mailing list
>> Pharo-users(a)lists.gforge.inria.fr
>> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-users
>
>
> _______________________________________________
> Pharo-users mailing list
> Pharo-users(a)lists.gforge.inria.fr
> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-users
Aug. 23, 2010
Re: [Pharo-users] WebClient
by Sven Van Caekenberghe
>> WebClient-Tests-ar.25 from Andreas' WebClient repo
On 23 Aug 2010, at 17:45, Stéphane Ducasse wrote:
> Should I take the tests from your repository or from the one of andreas?
>
> On Aug 23, 2010, at 5:07 PM, Sven Van Caekenberghe wrote:
>
>> Well, I just ran the units tests in Pharo1.2a #12107 and with this version
>>
>> http://www.squeaksource.com/ADayAtTheBeach/WebClient-Core-SvenVanCaekenberg…
>>
>> ==================== Summary ====================
>>
>> Name: WebClient-Core-SvenVanCaekenberghe.64
>> Author: SvenVanCaekenberghe
>> Time: 23 August 2010, 5:02:04 pm
>> UUID: 2cb4f11d-870a-45f0-bcde-e61351e7edf2
>> Ancestors: WebClient-Core-SvenVanCaekenberghe.63
>>
>> replaced SmalltalkImage current platformName with OSPlatform current platformFamily
>>
>> We go from all red to 33 passed out of 39, 6 errors.
>>
>> If we could solve his usage of #pathForFile I think we can make some more tests succeed.
>>
>> I'll see if I can fix some more low hanging bugs.
>>
>> Sven
>>
>> On 23 Aug 2010, at 16:56, Stéphane Ducasse wrote:
>>
>>> excellent! excellent!
>>> Let me know. I'm working on papers but I want to integrate such packages so that
>>> brave souls can start removing some of the ugly part of Network :)
>>>
>>> Stef
>>>
>>> On Aug 23, 2010, at 4:44 PM, Sven Van Caekenberghe wrote:
>>>
>>>> The last version that I patched for Pharo is:
>>>>
>>>> http://www.squeaksource.com/ADayAtTheBeach/WebClient-Core-SvenVanCaekenberg…
>>>>
>>>> ==================== Summary ====================
>>>>
>>>> Name: WebClient-Core-SvenVanCaekenberghe.63
>>>> Author: SvenVanCaekenberghe
>>>> Time: 12 August 2010, 10:46:11 am
>>>> UUID: 149d44b2-138b-4d63-a158-f587b2bd391d
>>>> Ancestors: WebClient-Core-ar.62
>>>>
>>>> added some more #asString's where needed to deal with the different semantics of #, in Squeak vs Pharo; removed usage of #and:and:and:and: with a composition of #and: in WebClient>>connect
>>>>
>>>> Andreas did not respond to my email...
>>>> The Tests corresponding to WebClient-Core-ar.62 (the ancestor) are WebClient-Tests-ar.25.
>>>> I am right now having a quick look at the unit tests in PharoCore 1.2.
>>>>
>>>> Sven
>>>>
>>>> On 23 Aug 2010, at 15:50, Stéphane Ducasse wrote:
>>>>
>>>>> Sven
>>>>>
>>>>> I want now to integrate webClient in 1.2 do you have a suggestion where and which packages I should take?
>>>>> Some in a Day at a beach ?
>>>>>
>>>>> Stef
>>>>>
>>>>> On Aug 13, 2010, at 7:12 PM, Sven Van Caekenberghe wrote:
>>>>>
>>>>>> Well, I did some effort before and got Andreas to include a number of patches so that his WebClient-Core loaded into Pharo without a need for a compatibility layer. The lastest version does no longer have this property ;-)
>>>>>>
>>>>>> I again submitted some patches to Andreas ( http://forum.world.st/WebClient-Core-port-to-Pharo-1-1-final-td2322411.html… ) but he hasn't responded yet. Futhermore, I did not yet fix everything, but the code works for my purposes.
>>>>>>
>>>>>> As I discussed with Stéphane, it is not clear for me how this must go further, since we keep on running 'behind'. So it is good to discuss this here.
>>>>>>
>>>>>> Sven
>>>>>>
>>>>>> On 13 Aug 2010, at 17:24, Miguel Enrique Cobá MartÃnez wrote:
>>>>>>
>>>>>>> El vie, 13-08-2010 a las 12:11 +0200, Stéphane Ducasse escribió:
>>>>>>>> Since we agree that we want to use WebClient in pharo by default, it would be nice to start
>>>>>>>> pushing it into 1.2. I was waiting a bit to get some more feedback. What we could do
>>>>>>>> is
>>>>>>>> - load it in 1.2
>>>>>>>> - update it when andreas publish new versions
>>>>>>>> - start forwarding to webClient
>>>>>>>> - remove the other code slowly
>>>>>>>>
>>>>>>>> What do you think?
>>>>>>>> Stef
>>>>>>>
>>>>>>> +1, I think Germán Arduino began the work to include WebClient in Pharo.
>>>>>>> He could give an update.
>>>>>>> Also, now that WebClient includes OAuth support Seaside apps and Pharo
>>>>>>> in general could benefit by allowing connecting to Twitter and Facebook
>>>>>>> sites.
>>>>>>>
>>>>>>> Cheers
>>>>>>>>
>>>>>>>> On Jun 10, 2010, at 4:09 PM, Sven Van Caekenberghe wrote:
>>>>>>>>
>>>>>>>>> Hi,
>>>>>>>>>
>>>>>>>>> Andreas Raab's 'new' WebClient/WebServer seems quite nice, as he says himself:
>>>>>>>>>
>>>>>>>>> As a result, we now have what I think is a pretty decent HTTP server and client implementation for Squeak 4.1 and hopefully we can nuke HTTPSocket sometime soon. WebClient is superior in every respect.
>>>>>>>>>
>>>>>>>>> Is this something that will / should fit seamlessly into Pharo ? Or even become preinstalled ?
>>>>>>>>>
>>>>>>>>> I didn't try his ConfigurationOfWebClient since the last version was unreadable and it seemed like an experiment, while his textual explanation was easy to follow.
>>>>>>>>>
>>>>>>>>> To load it into and to make the unit tests run in Pharo 1.0 I had to make a couple of fixes (to WebCookie#printOn: and WebServer class#serverString). Who should I sent these changes to ?
>>>>>>>>>
>>>>>>>>> But even then 1 unit test failed (#testServerDestroy).
>>>>>>>>>
>>>>>>>>> Furthermore, some the changes in his package WebClient-Pharo seem a bit dangerous, especially a modification to SocketStream#peek (and the failed test was doing a peek) and an override of String#, some others are unneccessary as far as I can see.
>>>>>>>>>
>>>>>>>>> Sven
>>>>>>>>>
>>>>>>>>> --
>>>>>>>>> Sven Van Caekenberghe - mailto:sven@beta9.be
>>>>>>>>> Beta Nine - software engineering - http://www.beta9.be
>>>>>>>>> .Mac - svc(a)mac.com - http://homepage.mac.com/svc
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> _______________________________________________
>>>>>>>>> Pharo-users mailing list
>>>>>>>>> Pharo-users(a)lists.gforge.inria.fr
>>>>>>>>> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-users
>>>>>>>>
>>>>>>>>
>>>>>>>> _______________________________________________
>>>>>>>> Pharo-users mailing list
>>>>>>>> Pharo-users(a)lists.gforge.inria.fr
>>>>>>>> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-users
>>>>>>>
>>>>>>> --
>>>>>>> Miguel Cobá
>>>>>>> http://miguel.leugim.com.mx
>>>>>>>
>>>>>>>
>>>>>>> _______________________________________________
>>>>>>> Pharo-users mailing list
>>>>>>> Pharo-users(a)lists.gforge.inria.fr
>>>>>>> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-users
>>>>>>
>>>>>>
>>>>>> _______________________________________________
>>>>>> Pharo-users mailing list
>>>>>> Pharo-users(a)lists.gforge.inria.fr
>>>>>> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-users
>>>>>
>>>>>
>>>>> _______________________________________________
>>>>> Pharo-users mailing list
>>>>> Pharo-users(a)lists.gforge.inria.fr
>>>>> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-users
>>>>
>>>>
>>>> _______________________________________________
>>>> Pharo-users mailing list
>>>> Pharo-users(a)lists.gforge.inria.fr
>>>> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-users
>>>
>>>
>>> _______________________________________________
>>> Pharo-users mailing list
>>> Pharo-users(a)lists.gforge.inria.fr
>>> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-users
>>
>>
>> _______________________________________________
>> Pharo-users mailing list
>> Pharo-users(a)lists.gforge.inria.fr
>> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-users
>
>
> _______________________________________________
> Pharo-users mailing list
> Pharo-users(a)lists.gforge.inria.fr
> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-users
Aug. 23, 2010