[Pharo-project] loading rio problem

2010-02-01 Thread Stéphane Ducasse
Hi guys

do you have the same problem than me loading Rio?

Gofer new  squeaksource: 'Rio';
package: 'File-Kernel';
package: 'File-Base';
load.

Any idea where it is coming?
Missing FFI?

Stef

___
Pharo-project mailing list
Pharo-project@lists.gforge.inria.fr
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project


Re: [Pharo-project] Some code! (was Re: Date fromString: '6-Jan-10')

2010-02-01 Thread Stéphane Ducasse
Thanks goran

Issue 1900: Date reading from goran
http://code.google.com/p/pharo/issues/detail?id=1900

Stef


On Jan 21, 2010, at 11:12 AM, Göran Krampe wrote:

 Hi guys!
 
 I admit not having tracked this thread in detail BUT attached is a changeset 
 that I dug out from the Squeak beginners list where I posted it waaay back. 
 The added Date class method included below shows what it offers.
 
 And of course, there are TONS of more cool stuff it could handle, but it is 
 meant to be smart enough for a reasonable set of cases. ...And it was an 
 hour hack ... :)
 
 regards, Göran
 -
 
 readFrom: inputStream pattern: pattern
   Read a Date from the stream based on the pattern which can include the 
 tokens:
   
   y = A year with 1-n digits
   yy = A year with 2 digits
    = A year with 4 digits
   m = A month with 1-n digits
   mm = A month with 2 digits
   d = A day with 1-n digits
   dd = A day with 2 digits
   
   ...and any other Strings inbetween. Representing $y, $m and $d is done 
 using
   \y, \m and \d and slash itself with \\. Simple example patterns:
 
   '-mm-dd'
   'mmdd'
   'yy.mm.dd'
   'y-m-d'
 
   A year given using only two decimals is considered to be 2000.
 
   | day month year patternStream char |
   patternStream := pattern readStream.
   [patternStream atEnd] whileFalse: [
   inputStream atEnd ifTrue: [^nil].
   char := patternStream next.
   char = $\
   ifTrue: [inputStream next = patternStream next ifFalse: 
 [^nil]]
   ifFalse: [
   char = $y
   ifTrue: [
   (patternStream nextMatchAll: 
 'yyy')
   ifTrue: [year := 
 (inputStream next: 4) asInteger]
   ifFalse: [
   (patternStream 
 peekFor: $y)
   ifTrue: 
 [
   
 year := (inputStream next: 2) asInteger]
   
 ifFalse: [
   
 year := Integer readFrom: inputStream]]]
   ifFalse: [
   char = $m
   ifTrue: [
   (patternStream 
 peekFor: $m)
   ifTrue: 
 [
   
 month := (inputStream next: 2) asInteger]
   
 ifFalse: [
   
 month := Integer readFrom: inputStream]]
   ifFalse: [
   char = $d
   ifTrue: 
 [
   
 (patternStream peekFor: $d)
   
 ifTrue: [
   
 day := (inputStream next: 2) asInteger]
   
 ifFalse: [
   
 day := Integer readFrom: inputStream]]
   
 ifFalse: [
   
 inputStream next = char ifFalse: [^nil]].
   (year isNil | month isNil | day isNil) ifTrue: [^nil].
   ^self year: year month: month day: day! !
 DateReadFromPattern.3.cs.gz___
 Pharo-project mailing list
 Pharo-project@lists.gforge.inria.fr
 http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project


___
Pharo-project mailing list
Pharo-project@lists.gforge.inria.fr
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project


[Pharo-project] Doubt in table layout mechanism

2010-02-01 Thread nullPointer

I´m doing a grid widget, and have some problems in positioning of the cells
of rows. See that image -

http://n4.nabble.com/file/n1457970/table_layout_doubt.png 

Each row is a panel with table layout policy, and left to right direction.
Each cell is a morph with another control inside, the editor control.

The row adapt his height to the height of cell more big, but of that way the
others cells appears
not adapteds at row.

Exists a way for fix that behavior ?  I´m trying but i don´t see the
property or way for do that. I understand than  the cells should be
dockeds at row in height, but i don´t see the way.

Many thanks for the help; I wait yours understand me :)
-- 
View this message in context: 
http://n4.nabble.com/Doubt-in-table-layout-mechanism-tp1457970p1457970.html
Sent from the Pharo Smalltalk mailing list archive at Nabble.com.

___
Pharo-project mailing list
Pharo-project@lists.gforge.inria.fr
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project

Re: [Pharo-project] Fun with ProfStef

2010-02-01 Thread Dale Henrichs

- laurent laffont laurent.laff...@gmail.com wrote:
| 
| Hi,
| 
| isn't it quite complex ? One can do:
| 3 timesRepeat: [ProfStef next].
| 
| Less to type, Smalltalkish, and maybe more fun ?
| 

Laurent,

The #goto: style allows one to label a lesson ... #timesRepeat: fails if I 
reorder the lessons. 

I apologize for using #goto:, but my first language was FORTRAN:)

I think that #call: or #jumpTo: or maybe #lesson: would work just as well 
without being heretical...

Dale

___
Pharo-project mailing list
Pharo-project@lists.gforge.inria.fr
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project


[Pharo-project] fun with morphic and inheritance

2010-02-01 Thread Stéphane Ducasse
Quizz

What is the superclass of PopUpChoiceMorph ?



the answer is below

|
|
|
|
|
|
|
|
|
|
|
|
|

.
.
.
.
.
.
.
.
.
V




StringMorph probably because it has a String displayed.

We removed it with luc and noury. But this is just an example of mix between 
inheritance
and composition we would like to avoid in the future 
___
Pharo-project mailing list
Pharo-project@lists.gforge.inria.fr
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project


Re: [Pharo-project] [Seaside] Re: [ANN] PDF of Dynamic Web Development with Seaside

2010-02-01 Thread stephane ducasse

On Jan 31, 2010, at 9:18 PM, Damien Cassou wrote:

 On Sun, Jan 31, 2010 at 9:15 PM, stephane ducasse
 stephane.duca...@free.fr wrote:
 Far less than we could expect when you consider the amount of time and 
 energy we spent on it and its quality.
 We are at 34
 
 You haven't talked about it outside the mailing lists and 1 or 2
 blogs. What about news websites (linuxfr for example).

would be great if some people can do it?
I cannot post there.
in our message it was clearly stated that people can spread the words.
Thanks for pointing that.

Stef
 
 -- 
 Damien Cassou
 http://damiencassou.seasidehosting.st
 
 Lambdas are relegated to relative obscurity until Java makes them
 popular by not having them. James Iry
 ___
 seaside mailing list
 seas...@lists.squeakfoundation.org
 http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
 


___
Pharo-project mailing list
Pharo-project@lists.gforge.inria.fr
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project


[Pharo-project] MenuMorph help

2010-02-01 Thread Stéphane Ducasse
Hi all

I want to replace 

PopUpMenu setMenuFontTo: self menuFont].

by its equivalent in MenuMorph.

Does anybody has a magic invocation?


I also would like to get rid of PopUpMenu in the following 


installAsDefault  FontSetNewYork installAsDefault
(self confirm: 'Do you want to install' translated, '
''' , self fontName , ''' as default font?' translated)
ifFalse: [^ self].
self installAsTextStyle.
TextConstants at: #OldDefaultTextStyle put: TextStyle default.
TextConstants at: #DefaultTextStyle put: (TextStyle named: self 
fontName).
ListParagraph initialize.
rbb 2/18/2005 13:20 - How should this change for UIManger, if at all?
PopUpMenu initialize.
SelectionMenu notify: 'The old text style has been saved
as ''OldDefaultTextStyle''.'

___
Pharo-project mailing list
Pharo-project@lists.gforge.inria.fr
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project


[Pharo-project] [update 1.1] #11190

2010-02-01 Thread stephane ducasse
11190
-

- Issue 1902: better codeHolder source validation 
-  Issue 1900:  Date reading with pattern from goran 
Thanks Goran :)
Cleaning of Data class protocols
- Issue 1889:   clarifying PopUpMenu vs. MenuMorph Part Two 
Remove 
FillInTheBlank
PopUpChoiceMorph
Thanks luc and Noury :)

Stef

One of my next large action will be to understand ToolBuilder and check the 
work of andreas
to rewrite all the default tools using it. I will probably try to write a 
sketch of a chapter for the next
book.



___
Pharo-project mailing list
Pharo-project@lists.gforge.inria.fr
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project


[Pharo-project] improved ScriptLoader

2010-02-01 Thread Stéphane Ducasse
hi guys

even if I'm not sure that our publishing process is the right one. I improved 
it a bit. :)
When metacello will be ok to manage the core we will happily throw this code. 

Now ***before*** publishing the packages, the image is saved
and a new image to be published is saved with all the dirty packages.
This way if the changes do not load during the verification phase you do not 
have 
to remerge packages, reload cses you can just open the image just saved 
before the publish/save 
package phase. 

Stef
___
Pharo-project mailing list
Pharo-project@lists.gforge.inria.fr
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project


[Pharo-project] StandardFileMenu and StandardFileMenuResult

2010-02-01 Thread Stéphane Ducasse
Hi 

in my battle to remove PopUpMenu and SelectionMenu I encounter some sleeping 
dragons and
I need more elfish blade :)

Does any body know what is the these classes?
Then any code to replace them?

Stef
___
Pharo-project mailing list
Pharo-project@lists.gforge.inria.fr
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project


[Pharo-project] [update 1.1] #11191

2010-02-01 Thread Stéphane Ducasse
11191
-

- remove method with no sender from Utilities.
Mainly to check new scritploader logic for real

___
Pharo-project mailing list
Pharo-project@lists.gforge.inria.fr
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project


Re: [Pharo-project] [squeak-dev] Curl plugin problems

2010-02-01 Thread John M McIntosh
MMm the curlplugin is oh what 3 year, 6 months old. I guess interest means 
compiling up a new one. 

On 2010-02-01, at 12:03 AM, Lukas Renggli wrote:

 Anything that goes beyond a basic up or download leads to a primitive failure:
 
Curl new
url: 'http://somedomain.com/foo';
request: 'DELETE';  -- primitive error here
perform
 
 In the debugger #easyStatusString returns 'no error'.
 
 Even
 
   Curl curlVersion
 
 gives a primitive failure.
 
 Any idea what I am doing wrong?
 
 I am using the plugin that comes shipped with the latest Mac VM.
 
 Lukas
 
 -- 
 Lukas Renggli
 http://www.lukas-renggli.ch
 

--
===
John M. McIntosh john...@smalltalkconsulting.com   Twitter:  squeaker68882
Corporate Smalltalk Consulting Ltd.  http://www.smalltalkconsulting.com
===





___
Pharo-project mailing list
Pharo-project@lists.gforge.inria.fr
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project


Re: [Pharo-project] [squeak-dev] Curl plugin problems

2010-02-01 Thread Lukas Renggli
 MMm the curlplugin is oh what 3 year, 6 months old. I guess interest means 
 compiling up a new one.

A new version would be super cool, indeed :-)

Lukas

-- 
Lukas Renggli
http://www.lukas-renggli.ch

___
Pharo-project mailing list
Pharo-project@lists.gforge.inria.fr
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project


Re: [Pharo-project] [squeak-dev] Curl plugin problems

2010-02-01 Thread Fernando olivero
Alien could be used, for reifying the Curl library in the system.

I don't have the time to do it, but i could give pointers on how to start.

Fernando

On Feb 1, 2010, at 9:59 AM, Lukas Renggli wrote:

 MMm the curlplugin is oh what 3 year, 6 months old. I guess interest means 
 compiling up a new one.
 
 A new version would be super cool, indeed :-)
 
 Lukas
 
 -- 
 Lukas Renggli
 http://www.lukas-renggli.ch
 


___
Pharo-project mailing list
Pharo-project@lists.gforge.inria.fr
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project


Re: [Pharo-project] fun with morphic and inheritance

2010-02-01 Thread Fernando olivero
Just a comment.

Following a discussion i recall having with Juan Vuletich, the same idea would 
apply for replacing Inheritance  with composition for  modeling geometry in 
Morphic.

Not having Morph - RectangleMorph - TextMorph , and pretty much all the 
subclasses of BorderedMorph.



On Jan 31, 2010, at 9:30 PM, Stéphane Ducasse wrote:

 Quizz
 
 What is the superclass of PopUpChoiceMorph ?
 
 
 
 the answer is below
 
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 
 .
 .
 .
 .
 .
 .
 .
 .
 .
 V
 
 
 
 
 StringMorph probably because it has a String displayed.
 
 We removed it with luc and noury. But this is just an example of mix between 
 inheritance
 and composition we would like to avoid in the future 
 ___
 Pharo-project mailing list
 Pharo-project@lists.gforge.inria.fr
 http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project


___
Pharo-project mailing list
Pharo-project@lists.gforge.inria.fr
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project


Re: [Pharo-project] Doubt in table layout mechanism

2010-02-01 Thread Simon Denier
Hi

First let me tell you I find your screenshot very neat and I'm glad we will 
(soon?) have such a widget in Pharo (especially for Moose :))

Now I didn't really understand your question (and I'm not sure I can help, 
given my anecdotical Morphic knowledge)

Can you send a screenshot showing the problem? I understand there is a problem 
if one cell has a bigger height, then the row got resized but other cells in 
the row don't, hence a strange appearance. Is this a problem with alignment?



PS: will the table widget be dynamic with respect to its layout? I mean, could 
we add/remove columns on the run?



On 31 janv. 2010, at 12:42, nullPointer wrote:

 
 I´m doing a grid widget, and have some problems in positioning of the cells
 of rows. See that image -
 
 http://n4.nabble.com/file/n1457970/table_layout_doubt.png 
 
 Each row is a panel with table layout policy, and left to right direction.
 Each cell is a morph with another control inside, the editor control.
 
 The row adapt his height to the height of cell more big, but of that way the
 others cells appears
 not adapteds at row.
 
 Exists a way for fix that behavior ?  I´m trying but i don´t see the
 property or way for do that. I understand than  the cells should be
 dockeds at row in height, but i don´t see the way.
 
 Many thanks for the help; I wait yours understand me :)
 -- 
 View this message in context: 
 http://n4.nabble.com/Doubt-in-table-layout-mechanism-tp1457970p1457970.html
 Sent from the Pharo Smalltalk mailing list archive at Nabble.com.
 
 ___
 Pharo-project mailing list
 Pharo-project@lists.gforge.inria.fr
 http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project

--
 Simon




___
Pharo-project mailing list
Pharo-project@lists.gforge.inria.fr
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project


Re: [Pharo-project] [squeak-dev] Curl plugin problems - CurlPlugin.1.1.0.bundle.zip

2010-02-01 Thread John M McIntosh
Ok, I build a new CurlPlugin.bundle for os-x   Version 1.1.0 

Find that via http://www.smalltalkconsulting.com/squeak.html

http://homepage.mac.com/johnmci/FileSharing.html
or
ftp://ftp.smalltalkconsulting.com

look in the experimental folder for
CurlPlugin.1.1.0.bundle.zip

Now first it's 2:00am in the morning here, and I didn't bother to test it!  So 
we'll run on blind luck since it *compiles  links* must be ok then? 

The 1.0.0 version was compiled in 2006 and statically linked to a version of 
curl from MacPorts for running on os-x 10.2.8

The 1.1.0 version is compiled for 10.5 (ppc, macintel 32) and is dynamically 
linked to libcurl supply by your operating system. 


No doubt someone in Europe can let me know if the SUnits pass?  If there is a 
lack of SUnits, then I'd suggest someone add  some more
if we want to make Curl a more important part of the network transport layer in 
Squeak. 



On 2010-02-01, at 12:59 AM, Lukas Renggli wrote:

 MMm the curlplugin is oh what 3 year, 6 months old. I guess interest means 
 compiling up a new one.
 
 A new version would be super cool, indeed :-)
 
 Lukas
 
 -- 
 Lukas Renggli
 http://www.lukas-renggli.ch
 

--
===
John M. McIntosh john...@smalltalkconsulting.com   Twitter:  squeaker68882
Corporate Smalltalk Consulting Ltd.  http://www.smalltalkconsulting.com
===





___
Pharo-project mailing list
Pharo-project@lists.gforge.inria.fr
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project


Re: [Pharo-project] Doubt in table layout mechanism

2010-02-01 Thread nullPointer

 Can you send a screenshot showing the problem? I understand there is a
 problem if one cell has a bigger height, then the row got resized but other
 cells in the row don't, hence a strange appearance. Is this a problem with
 alignment?


Exactly; in the boolean column, the editor control, a checkbox, is more
height than other cells. I search the way for the other cells behavior adapt
her size in height to row.
The container of cells, the row, dapt her size in height to cell more big. I
need too than the child cells adapt her size to row height.

Well, I don´t know if is possible. I need the knowledge of a Morphic guru :)




 PS: will the table widget be dynamic with respect to its layout? I mean,
 could we add/remove columns on the run?


For the moment allow:

-Add columns on the run.
-Change width of columns on the run ( programatically, no through the mouse
)
-Edit strings, integers and booleans values ( datatypes of columns )
-Sort columns; ascendent, descendent and original order.
-Allow add rows programmatically or through a datasource ( a collection of
objects ). I´m developing a Bindable collection for when a new object in
collection is added ( or removed ) that thing have a representation in the
UI.

The main problem is for slowly. Load 200 rows takes it 2 seconds. I will
have optimization, but before i need solution for some problems like that.

Regards.

-- 
View this message in context: 
http://n4.nabble.com/Doubt-in-table-layout-mechanism-tp1457970p1458665.html
Sent from the Pharo Smalltalk mailing list archive at Nabble.com.
___
Pharo-project mailing list
Pharo-project@lists.gforge.inria.fr
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project

Re: [Pharo-project] Doubt in table layout mechanism

2010-02-01 Thread Gary Chambers
Doe setting vResizing to #spaceFill on each cell (and it's submorph?) not work?

Regards, Gary

  - Original Message - 
  From: nullPointer 
  To: pharo-project@lists.gforge.inria.fr 
  Sent: Monday, February 01, 2010 10:46 AM
  Subject: Re: [Pharo-project] Doubt in table layout mechanism




Can you send a screenshot showing the problem? I understand there is a 
problem if one cell has a bigger height, then the row got resized but other 
cells in the row don't, hence a strange appearance. Is this a problem with 
alignment? 


  Exactly; in the boolean column, the editor control, a checkbox, is more 
height than other cells. I search the way for the other cells behavior adapt 
her size in height to row.
  The container of cells, the row, dapt her size in height to cell more big. I 
need too than the child cells adapt her size to row height.

  Well, I don´t know if is possible. I need the knowledge of a Morphic guru :) 

   

PS: will the table widget be dynamic with respect to its layout? I mean, 
could we add/remove columns on the run? 


  For the moment allow:

  -Add columns on the run.
  -Change width of columns on the run ( programatically, no through the mouse )
  -Edit strings, integers and booleans values ( datatypes of columns )
  -Sort columns; ascendent, descendent and original order.
  -Allow add rows programmatically or through a datasource ( a collection of 
objects ). I´m developing a Bindable collection for when a new object in 
collection is added ( or removed ) that thing have a representation in the UI.

  The main problem is for slowly. Load 200 rows takes it 2 seconds. I will have 
optimization, but before i need solution for some problems like that.

  Regards.



--
  View this message in context: Re: Doubt in table layout mechanism
  Sent from the Pharo Smalltalk mailing list archive at Nabble.com.



--


  ___
  Pharo-project mailing list
  Pharo-project@lists.gforge.inria.fr
  http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project___
Pharo-project mailing list
Pharo-project@lists.gforge.inria.fr
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project

Re: [Pharo-project] [squeak-dev] Curl plugin problems

2010-02-01 Thread Schmidt, Marco
I began working on an Alien-Curl-Wrapper too. The main problem (for me) was
the missing Alien support under WIN32/LINUX. Without Alien support it is easier 
to use the current CurlPlugin (with the changes to add header fields to the 
http requests). A long time ago I requested the integration of these changes in 
the squeak-vm list (see 
http://n4.nabble.com/CurlPlugin-23-under-Linux-td276117.html#a276117)...

Marco Schmidt

-Ursprüngliche Nachricht-
Von: pharo-project-boun...@lists.gforge.inria.fr 
[mailto:pharo-project-boun...@lists.gforge.inria.fr] Im Auftrag von Lukas 
Renggli
Gesendet: Montag, 1. Februar 2010 13:23
An: Pharo-project@lists.gforge.inria.fr
Betreff: Re: [Pharo-project] [squeak-dev] Curl plugin problems

 Alien could be used, for reifying the Curl library in the system.

 I don't have the time to do it, but i could give pointers on how to start.

Yeah, that's a good idea too. Is there an Alien tutorial somewhere?

Lukas

-- 
Lukas Renggli
http://www.lukas-renggli.ch

___
Pharo-project mailing list
Pharo-project@lists.gforge.inria.fr
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project

___
Pharo-project mailing list
Pharo-project@lists.gforge.inria.fr
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project


Re: [Pharo-project] Fun with ProfStef

2010-02-01 Thread Mariano Martinez Peck
On Sun, Jan 31, 2010 at 7:04 PM, Dale Henrichs
dale.henri...@gemstone.comwrote:


 - laurent laffont laurent.laff...@gmail.com wrote:
 |
 | Hi,
 |
 | isn't it quite complex ? One can do:
 | 3 timesRepeat: [ProfStef next].
 |
 | Less to type, Smalltalkish, and maybe more fun ?
 |

 Laurent,

 The #goto: style allows one to label a lesson ... #timesRepeat: fails if I
 reorder the lessons.

 I apologize for using #goto:, but my first language was FORTRAN:)


Come on Dale!!! It was a joke :)  And I was talking about to go:to: in the
code, which this is not the case. Here the go:to is for lessons :)  Maybe
something like goToLessonNumber: or similar ...

It was just funny.

Cheers

Mariano



 I think that #call: or #jumpTo: or maybe #lesson: would work just as well
 without being heretical...

 Dale

 ___
 Pharo-project mailing list
 Pharo-project@lists.gforge.inria.fr
 http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project

___
Pharo-project mailing list
Pharo-project@lists.gforge.inria.fr
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project

Re: [Pharo-project] fun with morphic and inheritance

2010-02-01 Thread Stéphane Ducasse
May be :) now let us focus on the obvious and ugly :)

Stef

On Feb 1, 2010, at 10:40 AM, Fernando olivero wrote:

 Just a comment.
 
 Following a discussion i recall having with Juan Vuletich, the same idea 
 would apply for replacing Inheritance  with composition for  modeling 
 geometry in Morphic.
 
 Not having Morph - RectangleMorph - TextMorph , and pretty much all the 
 subclasses of BorderedMorph.
 
 
 
 On Jan 31, 2010, at 9:30 PM, Stéphane Ducasse wrote:
 
 Quizz
 
 What is the superclass of PopUpChoiceMorph ?
 
 
 
 the answer is below
 
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 
 .
 .
 .
 .
 .
 .
 .
 .
 .
 V
 
 
 
 
 StringMorph probably because it has a String displayed.
 
 We removed it with luc and noury. But this is just an example of mix between 
 inheritance
 and composition we would like to avoid in the future 
 ___
 Pharo-project mailing list
 Pharo-project@lists.gforge.inria.fr
 http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
 
 
 ___
 Pharo-project mailing list
 Pharo-project@lists.gforge.inria.fr
 http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project


___
Pharo-project mailing list
Pharo-project@lists.gforge.inria.fr
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project


[Pharo-project] what happened with select:thenDo: etc. removal?

2010-02-01 Thread Esteban Lorenzano
Hi,
I don't remember the conclusion of the discussion about removing 
select:thenDo:, collect:thenDo: etc...
They will be removed or they will stay as part of pharo core?

Cheers,
Esteban



___
Pharo-project mailing list
Pharo-project@lists.gforge.inria.fr
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project


Re: [Pharo-project] Fun with ProfStef

2010-02-01 Thread Dale Henrichs

- Mariano Martinez Peck marianop...@gmail.com wrote:

| On Sun, Jan 31, 2010 at 7:04 PM, Dale Henrichs
| dale.henri...@gemstone.comwrote:
| 
| 
|  - laurent laffont laurent.laff...@gmail.com wrote:
|  |
|  | Hi,
|  |
|  | isn't it quite complex ? One can do:
|  | 3 timesRepeat: [ProfStef next].
|  |
|  | Less to type, Smalltalkish, and maybe more fun ?
|  |
| 
|  Laurent,
| 
|  The #goto: style allows one to label a lesson ... #timesRepeat:
| fails if I
|  reorder the lessons.
| 
|  I apologize for using #goto:, but my first language was FORTRAN:)
| 
| 
| Come on Dale!!! It was a joke :)  And I was talking about to go:to: in
| the
| code, which this is not the case. Here the go:to is for lessons :) 
| Maybe
| something like goToLessonNumber: or similar ...
| 
| It was just funny.
| 
| Cheers
| 
Mariano,

I was joking as well:) ... the smile on my face doesn't come across in email!

Nonetheless, it does seem that #lesson: or #gotoLesson: or something in that 
vein would be a better selector anyway:)

Dale

___
Pharo-project mailing list
Pharo-project@lists.gforge.inria.fr
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project


Re: [Pharo-project] Fun with ProfStef

2010-02-01 Thread Danny Chan
Hi!

In the latest version of ProfStefCore from me I moved two messages I defined in 
ProfStefBrowser to the ProfStef class.

goto to specific tutorial and lesson by selector
ProfStef tutorial: SmalltalkSyntaxTutorial lesson: #welcome

goto to specific tutorial and lesson by index
ProfStef tutorial: SmalltalkSyntaxTutorial lessonAt: 1

Both replace the text in the window and do  not start a new window. I found 
that opening a new window does not work well anyway, because it leaves the old 
one in an unusable state.

Danny



Am Montag, 1. Februar 2010 19:22:58 schrieb Dale Henrichs:
 - Mariano Martinez Peck marianop...@gmail.com wrote:
 | On Sun, Jan 31, 2010 at 7:04 PM, Dale Henrichs
 |
 | dale.henri...@gemstone.comwrote:
 |  - laurent laffont laurent.laff...@gmail.com wrote:
 |  | Hi,
 |  |
 |  | isn't it quite complex ? One can do:
 |  | 3 timesRepeat: [ProfStef next].
 |  |
 |  | Less to type, Smalltalkish, and maybe more fun ?
 | 
 |  Laurent,
 | 
 |  The #goto: style allows one to label a lesson ... #timesRepeat:
 |
 | fails if I
 |
 |  reorder the lessons.
 | 
 |  I apologize for using #goto:, but my first language was FORTRAN:)
 |
 | Come on Dale!!! It was a joke :)  And I was talking about to go:to: in
 | the
 | code, which this is not the case. Here the go:to is for lessons :)
 | Maybe
 | something like goToLessonNumber: or similar ...
 |
 | It was just funny.
 |
 | Cheers
 
 Mariano,
 
 I was joking as well:) ... the smile on my face doesn't come across in
  email!
 
 Nonetheless, it does seem that #lesson: or #gotoLesson: or something in
  that vein would be a better selector anyway:)
 
 Dale
 
 ___
 Pharo-project mailing list
 Pharo-project@lists.gforge.inria.fr
 http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
 

___
Pharo-project mailing list
Pharo-project@lists.gforge.inria.fr
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project


[Pharo-project] Smalltalk meetup

2010-02-01 Thread Norbert Hartl
Please join us on the 18th of February for a first Cologne Smalltalk User 
Meetup.

Anyone interested in Smalltalk is invited, regardless if you only recently
discovered the magic of doing things the Smalltalk way, are a die hard
VM-Hacker, want to share your experience on web-development in Seaside
or like to chit-chat while enjoying a Kölsch.

We're gonna meet at 7pm at

Vision Factory GmbH
Sömmeringstr. 75
50823 Köln
(across the yard at the rear house) 

Please send a short notice to l...@blobworks.com if you are planning to attend.
___
Pharo-project mailing list
Pharo-project@lists.gforge.inria.fr
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project

[Pharo-project] How do I actually start seaside using Workspace for Installing external projects?

2010-02-01 Thread Matthias Berth
Hi,


It's great to see the welcome workspaces in the most recent pharo 1.0rc2!

I have executed the loading of ConfigurationOfSeaside28, and now I
want to see my little seaside app. I have followed the seaside book
(made a subclass of WAComponent, registered it). Now I tried to go to
http://localhost:8080/ but I get nothing. Looks like seaside is not
started...

What can I do?

What should we write in the welcome workspace to fix this problem for beginners?

What do I have to do to get a change in the text into the next release?

Cheers

Matthias

___
Pharo-project mailing list
Pharo-project@lists.gforge.inria.fr
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project


Re: [Pharo-project] [squeak-dev] Curl plugin problems

2010-02-01 Thread Lukas Renggli
The curl plugin works very well and is very fast for the parts that it
is supposed to work on.

The problem is, that it does not provide a complete API to all the
functionality of libcurl. For example, it is impossible to perform
more sophisticated operations on protocols other than HTTP (like FTP).
Worst of all, there is no way to work around this, because the plugin
provides no direct access to the few low-level functions of libcurl
(like curl_easy_setopt). Instead it wraps many (but by large not all)
possible parameter combinations into an army of rigid primitives :-(

I guess I'll to wait for CurlAlien to come alive.

Lukas

On 1 February 2010 19:21, John M McIntosh
john...@smalltalkconsulting.com wrote:
 The Mac CurlPlugin in mac vm is generated at the moment from an older
 version. It is missing functions to add http headers (e.g. to
 authenticate against GData ClientLogin) .

 So is that part fixed now?

 On 2010-02-01, at 4:38 AM, Schmidt, Marco wrote:

 I began working on an Alien-Curl-Wrapper too. The main problem (for me) was  
   the missing Alien support under WIN32/LINUX. Without Alien support it is 
 easier to use the current CurlPlugin (with the changes to add header fields 
 to the http requests). A long time ago I requested the integration of these 
 changes in the squeak-vm list (see 
 http://n4.nabble.com/CurlPlugin-23-under-Linux-td276117.html#a276117)...

 Marco Schmidt

 --
 ===
 John M. McIntosh john...@smalltalkconsulting.com   Twitter:  squeaker68882
 Corporate Smalltalk Consulting Ltd.  http://www.smalltalkconsulting.com
 ===





 ___
 Pharo-project mailing list
 Pharo-project@lists.gforge.inria.fr
 http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project




-- 
Lukas Renggli
http://www.lukas-renggli.ch

___
Pharo-project mailing list
Pharo-project@lists.gforge.inria.fr
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project


Re: [Pharo-project] How do I actually start seaside using Workspace for Installing external projects?

2010-02-01 Thread Lukas Renggli
 I have executed the loading of ConfigurationOfSeaside28, and now I
 want to see my little seaside app. I have followed the seaside book
 (made a subclass of WAComponent, registered it). Now I tried to go to
 http://localhost:8080/ but I get nothing. Looks like seaside is not
 started...

 What can I do?

 You have to start a web server. You can type:
 WAKom startOn: 8080.

This is described also here:

http://book.seaside.st/book/getting-started/pharo-squeak/comanche

Note that the book is about Seaside 3.0, not 2.8 which is in some
parts a bit different.

Lukas

-- 
Lukas Renggli
http://www.lukas-renggli.ch

___
Pharo-project mailing list
Pharo-project@lists.gforge.inria.fr
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project


Re: [Pharo-project] How do I actually start seaside using Workspace for Installing external projects?

2010-02-01 Thread Matthias Berth
OK, fixed:

Name: ImageForDevelopers-pharo-MatthiasBerth.219
Author: MatthiasBerth
Time: 1 February 2010, 9:07:56 pm
UUID: 547802fb-dd6b-4555-b3c7-d3219fce3624
Ancestors: ImageForDevelopers-pharo-MarianoMartinezPeck.218

Added hints in openExternalProjectWorkspace on how to start the web server.

On Mon, Feb 1, 2010 at 8:46 PM, Lukas Renggli reng...@gmail.com wrote:
 I have executed the loading of ConfigurationOfSeaside28, and now I
 want to see my little seaside app. I have followed the seaside book
 (made a subclass of WAComponent, registered it). Now I tried to go to
 http://localhost:8080/ but I get nothing. Looks like seaside is not
 started...

 What can I do?

 You have to start a web server. You can type:
 WAKom startOn: 8080.

 This is described also here:

 http://book.seaside.st/book/getting-started/pharo-squeak/comanche

 Note that the book is about Seaside 3.0, not 2.8 which is in some
 parts a bit different.

 Lukas

 --
 Lukas Renggli
 http://www.lukas-renggli.ch

 ___
 Pharo-project mailing list
 Pharo-project@lists.gforge.inria.fr
 http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project


___
Pharo-project mailing list
Pharo-project@lists.gforge.inria.fr
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project


Re: [Pharo-project] what happened with select:thenDo: etc. removal?

2010-02-01 Thread Stéphane Ducasse
It would be nice that they get a fast implementation not doing two passes and 
creating an intermediate collection
when possible. 

Stef
On Feb 1, 2010, at 4:57 PM, Esteban Lorenzano wrote:

 An explanation: I'm not asking for a removal, I want they to stay... 
 but I remember there were a discussion, so I want to know the 
 conclussion of that discussion (to use it or not, in the future).
 
 On 2010-02-01 12:48:47 -0300, Esteban Lorenzano 
 esteba...@gmail.com said:
 
 Hi,
 I don't remember the conclusion of the discussion about removing
 select:thenDo:, collect:thenDo: etc...
 They will be removed or they will stay as part of pharo core?
 
 Cheers,
 Esteban
 
 
 
 
 ___
 Pharo-project mailing list
 Pharo-project@lists.gforge.inria.fr
 http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project


___
Pharo-project mailing list
Pharo-project@lists.gforge.inria.fr
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project


Re: [Pharo-project] Fun with ProfStef

2010-02-01 Thread Dale Henrichs
Excellent!

Dale
- Danny Chan chan_...@yahoo.de wrote:

| Hi!
| 
| In the latest version of ProfStefCore from me I moved two messages I
| defined in 
| ProfStefBrowser to the ProfStef class.
| 
| goto to specific tutorial and lesson by selector
| ProfStef tutorial: SmalltalkSyntaxTutorial lesson: #welcome
| 
| goto to specific tutorial and lesson by index
| ProfStef tutorial: SmalltalkSyntaxTutorial lessonAt: 1
| 
| Both replace the text in the window and do  not start a new window. I
| found 
| that opening a new window does not work well anyway, because it leaves
| the old 
| one in an unusable state.
| 
| Danny
| 
| 
| 
| Am Montag, 1. Februar 2010 19:22:58 schrieb Dale Henrichs:
|  - Mariano Martinez Peck marianop...@gmail.com wrote:
|  | On Sun, Jan 31, 2010 at 7:04 PM, Dale Henrichs
|  |
|  | dale.henri...@gemstone.comwrote:
|  |  - laurent laffont laurent.laff...@gmail.com wrote:
|  |  | Hi,
|  |  |
|  |  | isn't it quite complex ? One can do:
|  |  | 3 timesRepeat: [ProfStef next].
|  |  |
|  |  | Less to type, Smalltalkish, and maybe more fun ?
|  | 
|  |  Laurent,
|  | 
|  |  The #goto: style allows one to label a lesson ... #timesRepeat:
|  |
|  | fails if I
|  |
|  |  reorder the lessons.
|  | 
|  |  I apologize for using #goto:, but my first language was
| FORTRAN:)
|  |
|  | Come on Dale!!! It was a joke :)  And I was talking about to
| go:to: in
|  | the
|  | code, which this is not the case. Here the go:to is for lessons
| :)
|  | Maybe
|  | something like goToLessonNumber: or similar ...
|  |
|  | It was just funny.
|  |
|  | Cheers
|  
|  Mariano,
|  
|  I was joking as well:) ... the smile on my face doesn't come across
| in
|   email!
|  
|  Nonetheless, it does seem that #lesson: or #gotoLesson: or something
| in
|   that vein would be a better selector anyway:)
|  
|  Dale
|  
|  ___
|  Pharo-project mailing list
|  Pharo-project@lists.gforge.inria.fr
|  http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
| 

___
Pharo-project mailing list
Pharo-project@lists.gforge.inria.fr
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project


Re: [Pharo-project] How do I actually start seaside using Workspace for Installing external projects?

2010-02-01 Thread Dale Henrichs
I think that this would be the perfect spot for a ProfStef tutorial ... handful 
of steps to configure/launch Seaside 2.8 ...

The tutorial could be part of ConfigurationOfSeaside28 and when loaded would 
launch the tutorial ... it would not be part of the Core group, but would be 
available in the Tutorial group...

Just some thoughts ...

Dale
- Matthias Berth matthias.be...@googlemail.com wrote:

| Hi,
| 
| 
| It's great to see the welcome workspaces in the most recent pharo
| 1.0rc2!
| 
| I have executed the loading of ConfigurationOfSeaside28, and now I
| want to see my little seaside app. I have followed the seaside book
| (made a subclass of WAComponent, registered it). Now I tried to go to
| http://localhost:8080/ but I get nothing. Looks like seaside is not
| started...
| 
| What can I do?
| 
| What should we write in the welcome workspace to fix this problem for
| beginners?
| 
| What do I have to do to get a change in the text into the next
| release?
| 
| Cheers
| 
| Matthias
| 
| ___
| Pharo-project mailing list
| Pharo-project@lists.gforge.inria.fr
| http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project

___
Pharo-project mailing list
Pharo-project@lists.gforge.inria.fr
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project