Pharo-dev
By thread
pharo-dev@lists.pharo.org
By month
Messages by month
- ----- 2026 -----
- 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
- ----- 2009 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2008 -----
- December
- November
- October
- September
- August
- July
- June
- May
August 2009
- 77 participants
- 1342 messages
Re: [Pharo-project] [ANN] Updating a Pharo image is now possible
by Douglas Brebner
Stan Shepherd wrote:
> Mariano Martinez Peck wrote:
>
>> On Mon, Aug 10, 2009 at 5:37 AM, stan shepherd
>> <stan.shepherd414(a)gmail.com>wrote:
>>
>>
>>> Hi Damien, it gives the same error on
>>> 'Morphic-adrian_lienhard.345.mcz'. And it seems **very** slow, ie
>>> running for hours. Is that expected?
>>>
>> I don't think so. In make case, when it takes a hours is because there is
>> Nod32 activated ;)
>> You must exclude Squeak folders from Nod32.
>>
>>
>>
>
> I don't think so- it's all Linux here. I gather Nod32 is a Windows
> antivirus.
>
Are you using it on a network drive? That can be horrifically slow too
Aug. 10, 2009
Re: [Pharo-project] [ANN] Updating a Pharo image is now possible
by Stan Shepherd
Mariano Martinez Peck wrote:
>
> On Mon, Aug 10, 2009 at 5:37 AM, stan shepherd
> <stan.shepherd414(a)gmail.com>wrote:
>
>> Hi Damien, it gives the same error on
>> 'Morphic-adrian_lienhard.345.mcz'. And it seems **very** slow, ie
>> running for hours. Is that expected?
>
>
> I don't think so. In make case, when it takes a hours is because there is
> Nod32 activated ;)
> You must exclude Squeak folders from Nod32.
>
>
I don't think so- it's all Linux here. I gather Nod32 is a Windows
antivirus.
Cheers, ...Stan
--
View this message in context: http://n2.nabble.com/-ANN--Updating-a-Pharo-image-is-now-possible-tp3408773…
Sent from the Pharo Smalltalk mailing list archive at Nabble.com.
Aug. 10, 2009
[Pharo-project] How to build a GUI
by laurent laffont
Hi,
I'm a bit (well, totally) lost on how to build a GUI with Polymorph or
ToolBuilder or whatever. I want to code a GUI with the same look & feel as
Pharo tools. I cannot find any up to date comprehensive guide on the
subject. May be you have some links, or good books ....
Laurent
Aug. 10, 2009
Re: [Pharo-project] [Ann] RFB/VNC fully configurable by code.
by Miguel Enrique Cobá Martinez
El lun, 10-08-2009 a las 12:20 -0300, Mariano Martinez Peck escribió:
> Hi Miguel: Thanks for your excellent work!! I am giving a try for
> first time in my life to RFB but it doesn't work. I am in Ubuntu 8.10.
>
> What I did is to do:
>
> RFBServerGUI open
>
> and then start in 0 (main display)
>
> The thing is that I don't know which port is used.
The standard port for RFB is from 5900 on:
display 0 -> port 5900
display 1 -> port 5901
etc.
the sever ask for a displayNumber are integer numbers 0, 1, 2, etc.
Of course as any server the RFB could start on any port, but for start
it on another port you must modify the code. For now use a
displayNumber. The clients also ask for displayNumbers, so no problems
should be like both of them translate it to port number.
>
> Then I tried:
>
> RFBServer start: 6666
>
> To open in port 6666
>
> But in both cases when I try to connect like this:
>
> vinagre 127.0.0.1:6666
I have used;
- xtightvncviewer -encodings "hextile" -depth 8 localhost:0
- gvncviewer localhost:0
Personally I like a lot more the last one.
>
> I have an error "Conntion to host 172.0.0.1:666 was closed"
>
> If I see server Log I get:
>
> RFBServer RFBDisplayScreen, RFBEventSensor installed
> RFBServer running
> RFBServer started
>
>
> Any idea what I am doing wrong? How can I specify a port from the UI ?
> and from command line?
> Perhaps a problem with my vnc client ?
>
> best,
>
> Mariano
>
>
> 2009/8/7 Miguel Enrique Cobá Martinez <miguel.coba(a)gmail.com>
> I promise that this is the last reply to myself :)
>
>
> > The version on Lukas repo is:
> >
> > RFB-MiguelCoba.26.mcz
>
>
> Something I forgot to say is that this new version is based on
> Lukas
> version that has already some changes to make it work on
> pharo. So this
> version work on pharo. Maybe can work on squeak also, maybe
> can be
> ported to squeak. I changed considerably RFBServer but just a
> little of
> RFBSession (one-liners). All the other classes are untouched.
> So maybe
> some time later I can do the port to make it work with squeak,
> if some
> good soul don't do it before.
>
>
>
>
> _______________________________________________
> Pharo-project mailing list
> Pharo-project(a)lists.gforge.inria.fr
> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
>
>
> _______________________________________________
> Pharo-project mailing list
> Pharo-project(a)lists.gforge.inria.fr
> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
--
Miguel Cobá
http://miguel.leugim.com.mx
Aug. 10, 2009
Re: [Pharo-project] file dialog
by Gary Chambers
File write at present, not ideal...
Allows checking for when the file is spooled amongst other things.
Regards, Gary
----- Original Message -----
From: "Schwab,Wilhelm K" <bschwab(a)anest.ufl.edu>
To: <Pharo-project(a)lists.gforge.inria.fr>
Sent: Monday, August 10, 2009 6:13 PM
Subject: Re: [Pharo-project] file dialog
Gary,
Were you able to pipe the data to lpr, or did you find it necessary to write
a file? The latter is not a disaster, but it's always nice to skip that
step if possible.
Bill
-----Original Message-----
From: pharo-project-bounces(a)lists.gforge.inria.fr
[mailto:pharo-project-bounces@lists.gforge.inria.fr] On Behalf Of Gary
Chambers
Sent: Monday, August 10, 2009 10:41 AM
To: Pharo-project(a)lists.gforge.inria.fr
Subject: Re: [Pharo-project] file dialog
Nothing generic, just enough for us to get Postscript/PDF out to file for
printing via lpr in Linux.
Regards, Gary
----- Original Message -----
From: "Schwab,Wilhelm K" <bschwab(a)anest.ufl.edu>
To: <Pharo-project(a)lists.gforge.inria.fr>
Sent: Friday, August 07, 2009 8:07 PM
Subject: Re: [Pharo-project] file dialog
Gary,
Some time ago, you mentioned having made some progress on printing. Is that
something you can make available?
Bill
-----Original Message-----
From: pharo-project-bounces(a)lists.gforge.inria.fr
[mailto:pharo-project-bounces@lists.gforge.inria.fr] On Behalf Of Gary
Chambers
Sent: Friday, August 07, 2009 9:24 AM
To: Pharo-project(a)lists.gforge.inria.fr
Subject: Re: [Pharo-project] file dialog
I'll add some then :-)
Printing, unfortunately, is another common feature that is not really
supported.
Regards, Gary
----- Original Message -----
From: "Stéphane Ducasse" <stephane.ducasse(a)inria.fr>
To: <Pharo-project(a)lists.gforge.inria.fr>
Sent: Friday, August 07, 2009 3:18 PM
Subject: Re: [Pharo-project] file dialog
Yes and we would integrate fast any steps in that direction.
Stef
On Aug 7, 2009, at 11:25 AM, Gary Chambers wrote:
> Unfortunately, the current protocol of UIManager is rather limited.
> Would be good to flesh out properly with colour choosers, font
> choosers etc.
>
> For the moment your best bet is:
>
> UITheme builder fileSave: 'Your title here'
>
> which returns a new empty file stream or nil if cancelled.
> There are other variants, see TEasilyThemed for others.
>
> Regards, Gary
>
> ----- Original Message -----
> From: "Tudor Girba" <girba(a)iam.unibe.ch>
> To: <Pharo-project(a)lists.gforge.inria.fr>
> Sent: Wednesday, August 05, 2009 10:36 AM
> Subject: Re: [Pharo-project] file dialog
>
>
> Hi again,
>
> On the same topic, what is the invocation to open a dialogue that
> allows for saving files?
>
> Cheers,
> Doru
>
>
> On 5 Aug 2009, at 10:26, Tudor Girba wrote:
>
>> Thanks Mariano,
>>
>> The following code works:
>>
>> UIManager default
>> chooseFileMatching: #('mse')
>> label: 'Import model from MSE file.'.
>>
>> The problem is indeed that you have to pass a valid set of
>> extensions,
>> so * is not allowed. Anyway, it works for the moment but perhaps it
>> should be changed to:
>>
>> FileDialogWindow>>validExtensions: aList
>> "Set the filter for the files to be those with the given
>> extensions."
>>
>> aList notEmpty
>> ifTrue: [self defaultExtension: aList first].
>> self fileSelectionBlock: [:de |
>> de isDirectory
>> ifTrue: [self showDirectoriesInFileList]
>> ifFalse: [(self fileNamePattern match: de name) and: [
>> aList contains: [:each | each match:
>> (FileDirectory extensionFor:
>> de name asLowercase) ] ]]]
>>
>> On the other hand the fileNamePattern seems to already have the job
>> of
>> filtering, so I do not really understand why we need aList.
>>
>> Cheers,
>> Doru
>>
>> On 5 Aug 2009, at 09:39, Stéphane Ducasse wrote:
>>
>>> if you have a fix tag it 1.0 ;)
>>>
>>> Stef
>>>
>>> On Aug 5, 2009, at 12:56 AM, Mariano Martinez Peck wrote:
>>>
>>>>
>>>>
>>>> On Tue, Aug 4, 2009 at 7:32 PM, Tudor Girba <girba(a)iam.unibe.ch>
>>>> wrote:
>>>> Hi,
>>>>
>>>> I need to load a file from the disk.
>>>>
>>>> I am invoking:
>>>> UIManager default
>>>> chooseFileMatching: '*.mse'
>>>> label: 'Import model from MSE file.'.
>>>>
>>>> The problem is that I do not see any files, even though I have
>>>> files
>>>> with .mse ending in the directory. Also, even if I pass '*.*' I
>>>> still
>>>> cannot see the files (only the directories).
>>>>
>>>> Could anyone tell me what I am doing wrong?
>>>>
>>>> I could reproduce it and debugging I noticed that
>>>>
>>>> FileDialogWindow>>validExtensions: aList
>>>> "Set the filter for the files to be those with the given
>>>> extensions."
>>>>
>>>> aList notEmpty
>>>> ifTrue: [self defaultExtension: aList first].
>>>> self fileSelectionBlock: [:de |
>>>> de isDirectory
>>>> ifTrue: [self showDirectoriesInFileList]
>>>> ifFalse: [(self fileNamePattern match: de name) and: [
>>>> aList includes: (FileDirectory extensionFor:
>>>> de name asLowercase)]]]
>>>>
>>>>
>>>> I think there can be a problem with this method. Here, aList will
>>>> be
>>>> '*.*' and as you can imagine that string doesn't includes any of
>>>> the
>>>> extensions. Perhaps we can change that include for a match: or
>>>> something like that. To see this, remove the line
>>>> aList includes: (FileDirectory extensionFor: de name asLowercase
>>>>
>>>> and you will see that now all the files are shown.
>>>>
>>>> we should open a ticket but I don't know if this should be 1.0 tag
>>>>
>>>> best,
>>>>
>>>> Mariano
>>>>
>>>>
>>>>
>>>> Cheers,
>>>> Doru
>>>>
>>>> --
>>>> www.tudorgirba.com
>>>>
>>>> "Next time you see your life passing by, say 'hi' and get to know
>>>> her."
>>>>
>>>>
>>>>
>>>>
>>>> _______________________________________________
>>>> Pharo-project mailing list
>>>> Pharo-project(a)lists.gforge.inria.fr
>>>> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
>>>>
>>>> _______________________________________________
>>>> Pharo-project mailing list
>>>> Pharo-project(a)lists.gforge.inria.fr
>>>> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
>>>
>>>
>>> _______________________________________________
>>> Pharo-project mailing list
>>> Pharo-project(a)lists.gforge.inria.fr
>>> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
>>
>> --
>> www.tudorgirba.com
>>
>> "What is more important: To be happy, or to make happy?"
>>
>>
>> _______________________________________________
>> Pharo-project mailing list
>> Pharo-project(a)lists.gforge.inria.fr
>> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
>>
>
> --
> www.tudorgirba.com
>
> "Some battles are better lost than fought."
>
>
>
>
> _______________________________________________
> Pharo-project mailing list
> Pharo-project(a)lists.gforge.inria.fr
> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
>
>
> _______________________________________________
> Pharo-project mailing list
> Pharo-project(a)lists.gforge.inria.fr
> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
_______________________________________________
Pharo-project mailing list
Pharo-project(a)lists.gforge.inria.fr
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
_______________________________________________
Pharo-project mailing list
Pharo-project(a)lists.gforge.inria.fr
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
_______________________________________________
Pharo-project mailing list
Pharo-project(a)lists.gforge.inria.fr
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
_______________________________________________
Pharo-project mailing list
Pharo-project(a)lists.gforge.inria.fr
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
_______________________________________________
Pharo-project mailing list
Pharo-project(a)lists.gforge.inria.fr
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
Aug. 10, 2009
Re: [Pharo-project] file dialog
by Schwab,Wilhelm K
Gary,
Were you able to pipe the data to lpr, or did you find it necessary to write a file? The latter is not a disaster, but it's always nice to skip that step if possible.
Bill
-----Original Message-----
From: pharo-project-bounces(a)lists.gforge.inria.fr [mailto:pharo-project-bounces@lists.gforge.inria.fr] On Behalf Of Gary Chambers
Sent: Monday, August 10, 2009 10:41 AM
To: Pharo-project(a)lists.gforge.inria.fr
Subject: Re: [Pharo-project] file dialog
Nothing generic, just enough for us to get Postscript/PDF out to file for printing via lpr in Linux.
Regards, Gary
----- Original Message -----
From: "Schwab,Wilhelm K" <bschwab(a)anest.ufl.edu>
To: <Pharo-project(a)lists.gforge.inria.fr>
Sent: Friday, August 07, 2009 8:07 PM
Subject: Re: [Pharo-project] file dialog
Gary,
Some time ago, you mentioned having made some progress on printing. Is that
something you can make available?
Bill
-----Original Message-----
From: pharo-project-bounces(a)lists.gforge.inria.fr
[mailto:pharo-project-bounces@lists.gforge.inria.fr] On Behalf Of Gary
Chambers
Sent: Friday, August 07, 2009 9:24 AM
To: Pharo-project(a)lists.gforge.inria.fr
Subject: Re: [Pharo-project] file dialog
I'll add some then :-)
Printing, unfortunately, is another common feature that is not really
supported.
Regards, Gary
----- Original Message -----
From: "Stéphane Ducasse" <stephane.ducasse(a)inria.fr>
To: <Pharo-project(a)lists.gforge.inria.fr>
Sent: Friday, August 07, 2009 3:18 PM
Subject: Re: [Pharo-project] file dialog
Yes and we would integrate fast any steps in that direction.
Stef
On Aug 7, 2009, at 11:25 AM, Gary Chambers wrote:
> Unfortunately, the current protocol of UIManager is rather limited.
> Would be good to flesh out properly with colour choosers, font
> choosers etc.
>
> For the moment your best bet is:
>
> UITheme builder fileSave: 'Your title here'
>
> which returns a new empty file stream or nil if cancelled.
> There are other variants, see TEasilyThemed for others.
>
> Regards, Gary
>
> ----- Original Message -----
> From: "Tudor Girba" <girba(a)iam.unibe.ch>
> To: <Pharo-project(a)lists.gforge.inria.fr>
> Sent: Wednesday, August 05, 2009 10:36 AM
> Subject: Re: [Pharo-project] file dialog
>
>
> Hi again,
>
> On the same topic, what is the invocation to open a dialogue that
> allows for saving files?
>
> Cheers,
> Doru
>
>
> On 5 Aug 2009, at 10:26, Tudor Girba wrote:
>
>> Thanks Mariano,
>>
>> The following code works:
>>
>> UIManager default
>> chooseFileMatching: #('mse')
>> label: 'Import model from MSE file.'.
>>
>> The problem is indeed that you have to pass a valid set of
>> extensions,
>> so * is not allowed. Anyway, it works for the moment but perhaps it
>> should be changed to:
>>
>> FileDialogWindow>>validExtensions: aList
>> "Set the filter for the files to be those with the given
>> extensions."
>>
>> aList notEmpty
>> ifTrue: [self defaultExtension: aList first].
>> self fileSelectionBlock: [:de |
>> de isDirectory
>> ifTrue: [self showDirectoriesInFileList]
>> ifFalse: [(self fileNamePattern match: de name) and: [
>> aList contains: [:each | each match:
>> (FileDirectory extensionFor:
>> de name asLowercase) ] ]]]
>>
>> On the other hand the fileNamePattern seems to already have the job
>> of
>> filtering, so I do not really understand why we need aList.
>>
>> Cheers,
>> Doru
>>
>> On 5 Aug 2009, at 09:39, Stéphane Ducasse wrote:
>>
>>> if you have a fix tag it 1.0 ;)
>>>
>>> Stef
>>>
>>> On Aug 5, 2009, at 12:56 AM, Mariano Martinez Peck wrote:
>>>
>>>>
>>>>
>>>> On Tue, Aug 4, 2009 at 7:32 PM, Tudor Girba <girba(a)iam.unibe.ch>
>>>> wrote:
>>>> Hi,
>>>>
>>>> I need to load a file from the disk.
>>>>
>>>> I am invoking:
>>>> UIManager default
>>>> chooseFileMatching: '*.mse'
>>>> label: 'Import model from MSE file.'.
>>>>
>>>> The problem is that I do not see any files, even though I have
>>>> files
>>>> with .mse ending in the directory. Also, even if I pass '*.*' I
>>>> still
>>>> cannot see the files (only the directories).
>>>>
>>>> Could anyone tell me what I am doing wrong?
>>>>
>>>> I could reproduce it and debugging I noticed that
>>>>
>>>> FileDialogWindow>>validExtensions: aList
>>>> "Set the filter for the files to be those with the given
>>>> extensions."
>>>>
>>>> aList notEmpty
>>>> ifTrue: [self defaultExtension: aList first].
>>>> self fileSelectionBlock: [:de |
>>>> de isDirectory
>>>> ifTrue: [self showDirectoriesInFileList]
>>>> ifFalse: [(self fileNamePattern match: de name) and: [
>>>> aList includes: (FileDirectory extensionFor:
>>>> de name asLowercase)]]]
>>>>
>>>>
>>>> I think there can be a problem with this method. Here, aList will
>>>> be
>>>> '*.*' and as you can imagine that string doesn't includes any of
>>>> the
>>>> extensions. Perhaps we can change that include for a match: or
>>>> something like that. To see this, remove the line
>>>> aList includes: (FileDirectory extensionFor: de name asLowercase
>>>>
>>>> and you will see that now all the files are shown.
>>>>
>>>> we should open a ticket but I don't know if this should be 1.0 tag
>>>>
>>>> best,
>>>>
>>>> Mariano
>>>>
>>>>
>>>>
>>>> Cheers,
>>>> Doru
>>>>
>>>> --
>>>> www.tudorgirba.com
>>>>
>>>> "Next time you see your life passing by, say 'hi' and get to know
>>>> her."
>>>>
>>>>
>>>>
>>>>
>>>> _______________________________________________
>>>> Pharo-project mailing list
>>>> Pharo-project(a)lists.gforge.inria.fr
>>>> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
>>>>
>>>> _______________________________________________
>>>> Pharo-project mailing list
>>>> Pharo-project(a)lists.gforge.inria.fr
>>>> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
>>>
>>>
>>> _______________________________________________
>>> Pharo-project mailing list
>>> Pharo-project(a)lists.gforge.inria.fr
>>> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
>>
>> --
>> www.tudorgirba.com
>>
>> "What is more important: To be happy, or to make happy?"
>>
>>
>> _______________________________________________
>> Pharo-project mailing list
>> Pharo-project(a)lists.gforge.inria.fr
>> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
>>
>
> --
> www.tudorgirba.com
>
> "Some battles are better lost than fought."
>
>
>
>
> _______________________________________________
> Pharo-project mailing list
> Pharo-project(a)lists.gforge.inria.fr
> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
>
>
> _______________________________________________
> Pharo-project mailing list
> Pharo-project(a)lists.gforge.inria.fr
> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
_______________________________________________
Pharo-project mailing list
Pharo-project(a)lists.gforge.inria.fr
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
_______________________________________________
Pharo-project mailing list
Pharo-project(a)lists.gforge.inria.fr
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
_______________________________________________
Pharo-project mailing list
Pharo-project(a)lists.gforge.inria.fr
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
_______________________________________________
Pharo-project mailing list
Pharo-project(a)lists.gforge.inria.fr
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
Aug. 10, 2009
Re: [Pharo-project] file dialog
by Gary Chambers
Nothing generic, just enough for us to get Postscript/PDF out to file for
printing via lpr in Linux.
Regards, Gary
----- Original Message -----
From: "Schwab,Wilhelm K" <bschwab(a)anest.ufl.edu>
To: <Pharo-project(a)lists.gforge.inria.fr>
Sent: Friday, August 07, 2009 8:07 PM
Subject: Re: [Pharo-project] file dialog
Gary,
Some time ago, you mentioned having made some progress on printing. Is that
something you can make available?
Bill
-----Original Message-----
From: pharo-project-bounces(a)lists.gforge.inria.fr
[mailto:pharo-project-bounces@lists.gforge.inria.fr] On Behalf Of Gary
Chambers
Sent: Friday, August 07, 2009 9:24 AM
To: Pharo-project(a)lists.gforge.inria.fr
Subject: Re: [Pharo-project] file dialog
I'll add some then :-)
Printing, unfortunately, is another common feature that is not really
supported.
Regards, Gary
----- Original Message -----
From: "Stéphane Ducasse" <stephane.ducasse(a)inria.fr>
To: <Pharo-project(a)lists.gforge.inria.fr>
Sent: Friday, August 07, 2009 3:18 PM
Subject: Re: [Pharo-project] file dialog
Yes and we would integrate fast any steps in that direction.
Stef
On Aug 7, 2009, at 11:25 AM, Gary Chambers wrote:
> Unfortunately, the current protocol of UIManager is rather limited.
> Would be good to flesh out properly with colour choosers, font
> choosers etc.
>
> For the moment your best bet is:
>
> UITheme builder fileSave: 'Your title here'
>
> which returns a new empty file stream or nil if cancelled.
> There are other variants, see TEasilyThemed for others.
>
> Regards, Gary
>
> ----- Original Message -----
> From: "Tudor Girba" <girba(a)iam.unibe.ch>
> To: <Pharo-project(a)lists.gforge.inria.fr>
> Sent: Wednesday, August 05, 2009 10:36 AM
> Subject: Re: [Pharo-project] file dialog
>
>
> Hi again,
>
> On the same topic, what is the invocation to open a dialogue that
> allows for saving files?
>
> Cheers,
> Doru
>
>
> On 5 Aug 2009, at 10:26, Tudor Girba wrote:
>
>> Thanks Mariano,
>>
>> The following code works:
>>
>> UIManager default
>> chooseFileMatching: #('mse')
>> label: 'Import model from MSE file.'.
>>
>> The problem is indeed that you have to pass a valid set of
>> extensions,
>> so * is not allowed. Anyway, it works for the moment but perhaps it
>> should be changed to:
>>
>> FileDialogWindow>>validExtensions: aList
>> "Set the filter for the files to be those with the given
>> extensions."
>>
>> aList notEmpty
>> ifTrue: [self defaultExtension: aList first].
>> self fileSelectionBlock: [:de |
>> de isDirectory
>> ifTrue: [self showDirectoriesInFileList]
>> ifFalse: [(self fileNamePattern match: de name) and: [
>> aList contains: [:each | each match:
>> (FileDirectory extensionFor:
>> de name asLowercase) ] ]]]
>>
>> On the other hand the fileNamePattern seems to already have the job
>> of
>> filtering, so I do not really understand why we need aList.
>>
>> Cheers,
>> Doru
>>
>> On 5 Aug 2009, at 09:39, Stéphane Ducasse wrote:
>>
>>> if you have a fix tag it 1.0 ;)
>>>
>>> Stef
>>>
>>> On Aug 5, 2009, at 12:56 AM, Mariano Martinez Peck wrote:
>>>
>>>>
>>>>
>>>> On Tue, Aug 4, 2009 at 7:32 PM, Tudor Girba <girba(a)iam.unibe.ch>
>>>> wrote:
>>>> Hi,
>>>>
>>>> I need to load a file from the disk.
>>>>
>>>> I am invoking:
>>>> UIManager default
>>>> chooseFileMatching: '*.mse'
>>>> label: 'Import model from MSE file.'.
>>>>
>>>> The problem is that I do not see any files, even though I have
>>>> files
>>>> with .mse ending in the directory. Also, even if I pass '*.*' I
>>>> still
>>>> cannot see the files (only the directories).
>>>>
>>>> Could anyone tell me what I am doing wrong?
>>>>
>>>> I could reproduce it and debugging I noticed that
>>>>
>>>> FileDialogWindow>>validExtensions: aList
>>>> "Set the filter for the files to be those with the given
>>>> extensions."
>>>>
>>>> aList notEmpty
>>>> ifTrue: [self defaultExtension: aList first].
>>>> self fileSelectionBlock: [:de |
>>>> de isDirectory
>>>> ifTrue: [self showDirectoriesInFileList]
>>>> ifFalse: [(self fileNamePattern match: de name) and: [
>>>> aList includes: (FileDirectory extensionFor:
>>>> de name asLowercase)]]]
>>>>
>>>>
>>>> I think there can be a problem with this method. Here, aList will
>>>> be
>>>> '*.*' and as you can imagine that string doesn't includes any of
>>>> the
>>>> extensions. Perhaps we can change that include for a match: or
>>>> something like that. To see this, remove the line
>>>> aList includes: (FileDirectory extensionFor: de name asLowercase
>>>>
>>>> and you will see that now all the files are shown.
>>>>
>>>> we should open a ticket but I don't know if this should be 1.0 tag
>>>>
>>>> best,
>>>>
>>>> Mariano
>>>>
>>>>
>>>>
>>>> Cheers,
>>>> Doru
>>>>
>>>> --
>>>> www.tudorgirba.com
>>>>
>>>> "Next time you see your life passing by, say 'hi' and get to know
>>>> her."
>>>>
>>>>
>>>>
>>>>
>>>> _______________________________________________
>>>> Pharo-project mailing list
>>>> Pharo-project(a)lists.gforge.inria.fr
>>>> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
>>>>
>>>> _______________________________________________
>>>> Pharo-project mailing list
>>>> Pharo-project(a)lists.gforge.inria.fr
>>>> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
>>>
>>>
>>> _______________________________________________
>>> Pharo-project mailing list
>>> Pharo-project(a)lists.gforge.inria.fr
>>> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
>>
>> --
>> www.tudorgirba.com
>>
>> "What is more important: To be happy, or to make happy?"
>>
>>
>> _______________________________________________
>> Pharo-project mailing list
>> Pharo-project(a)lists.gforge.inria.fr
>> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
>>
>
> --
> www.tudorgirba.com
>
> "Some battles are better lost than fought."
>
>
>
>
> _______________________________________________
> Pharo-project mailing list
> Pharo-project(a)lists.gforge.inria.fr
> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
>
>
> _______________________________________________
> Pharo-project mailing list
> Pharo-project(a)lists.gforge.inria.fr
> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
_______________________________________________
Pharo-project mailing list
Pharo-project(a)lists.gforge.inria.fr
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
_______________________________________________
Pharo-project mailing list
Pharo-project(a)lists.gforge.inria.fr
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
_______________________________________________
Pharo-project mailing list
Pharo-project(a)lists.gforge.inria.fr
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
Aug. 10, 2009
Re: [Pharo-project] drawing tabs
by Gary Chambers
No problem. The Glamour stuff looks interesting!
Regards, Gary
----- Original Message -----
From: "Alexandre Bergel" <alexandre(a)bergel.eu>
To: <Pharo-project(a)lists.gforge.inria.fr>
Sent: Monday, August 10, 2009 2:46 PM
Subject: Re: [Pharo-project] drawing tabs
> Thanks Gary, this is an excellent help. This problem has been around
> for a while already.
>
> Alexandre
>
>
> On 7 Aug 2009, at 08:50, Gary Chambers wrote:
>
>> Hi Tudor.
>>
>> It seems the pane colour needs to be adopted after the presentations
>> are
>> added to the container (since the layout changes when adding).
>>
>> In GLMMorphicRenderer
>>
>> renderPane: aPane
>> | container |
>> container := self emptyMorph.
>> aPane whenMatchingPresentationsChanged: [ :ann |
>> container
>> removeAllMorphs;
>> addMorph: (self renderPresentationsOf: aPane)
>> fullFrame: (LayoutFrame new
>> leftFraction: 0;
>> rightFraction: 1;
>> topFraction: 0;
>> bottomFraction: 1);
>> adoptPaneColor: container paneColor.
>> ].
>> container
>> addMorph: (self renderPresentationsOf: aPane)
>> fullFrame: (LayoutFrame new
>> leftFraction: 0;
>> rightFraction: 1;
>> topFraction: 0;
>> bottomFraction: 1);
>> adoptPaneColor: container paneColor.
>> ^ container
>>
>> Also, although Polymorph fixes up splitters for SystemWindows, those
>> of
>> BorderedMorph are left with the original code (which is why the tops
>> of the
>> tabs are hidden). You might want an initial offset of SystemWindow
>> borderWidth for the moment.
>>
>> Regards, Gary
>>
>>
>> ----- Original Message -----
>> From: "Tudor Girba" <girba(a)iam.unibe.ch>
>> To: <Pharo-project(a)lists.gforge.inria.fr>
>> Sent: Friday, August 07, 2009 12:31 PM
>> Subject: Re: [Pharo-project] drawing tabs
>>
>>
>>> Hi Gary,
>>>
>>> It would be great to get some feedback on this.
>>>
>>> The code can be downloaded with:
>>> ScriptLoader loadLatestPackage: 'GlamourLoader' from:
>>> 'http://www.squeaksource.com/Glamour'
>>> .
>>> (Smalltalk at: #GlamourLoader) load
>>>
>>> To run the example, you can:
>>> GLMMorphicExamples new stCodeBrowser.
>>>
>>> The code that actually renders can be found in GLMMorphicRenderer.
>>>
>>> Cheers,
>>> Doru
>>>
>>>
>>> On 7 Aug 2009, at 13:10, Gary Chambers wrote:
>>>
>>>> Depends how the things are laid out. Browser bits can be a bit odd
>>>> I've
>>>> found.
>>>>
>>>> If you have some code I'll take a look.
>>>>
>>>> Regards, Gary
>>>>
>>>> ----- Original Message -----
>>>> From: "Tudor Girba" <girba(a)iam.unibe.ch>
>>>> To: "Pharo Development" <pharo-project(a)lists.gforge.inria.fr>
>>>> Sent: Friday, August 07, 2009 11:48 AM
>>>> Subject: [Pharo-project] drawing tabs
>>>>
>>>>
>>>>> Hi,
>>>>>
>>>>> We (me and Jorge) are having some problems with drawing
>>>>> TabGroupMorph
>>>>> properly.
>>>>>
>>>>> The very first time the tabs are displayed, the background is not
>>>>> drawn correctly (see the attached picture). However, after we
>>>>> select
>>>>> another window or a tab, the tabs background are drawn correctly.
>>>>>
>>>>> In the same time, when we execute UITheme exampleGroups, everything
>>>>> works fine. We think we are doing the same thing, but obviously
>>>>> we do
>>>>> not.
>>>>>
>>>>> Could anyone indicate some possible tracks to look at?
>>>>>
>>>>> Cheers,
>>>>> Doru
>>>>>
>>>>> --
>>>>> www.tudorgirba.com
>>>>>
>>>>> "Not knowing how to do something is not an argument for how it
>>>>> cannot
>>>>> be done."
>>>>>
>>>>>
>>>>>
>>>>
>>>>
>>>> --------------------------------------------------------------------------------
>>>>
>>>>
>>>>> _______________________________________________
>>>>> Pharo-project mailing list
>>>>> Pharo-project(a)lists.gforge.inria.fr
>>>>> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
>>>>
>>>>
>>>> _______________________________________________
>>>> Pharo-project mailing list
>>>> Pharo-project(a)lists.gforge.inria.fr
>>>> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
>>>
>>> --
>>> www.tudorgirba.com
>>>
>>> "Problem solving should be concentrated on describing
>>> the problem in a way that is relevant for the solution."
>>>
>>>
>>>
>>>
>>> _______________________________________________
>>> Pharo-project mailing list
>>> Pharo-project(a)lists.gforge.inria.fr
>>> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
>>
>>
>> _______________________________________________
>> Pharo-project mailing list
>> Pharo-project(a)lists.gforge.inria.fr
>> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
>>
>
> --
> _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
> Alexandre Bergel http://www.bergel.eu
> ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
>
>
>
>
>
>
> _______________________________________________
> Pharo-project mailing list
> Pharo-project(a)lists.gforge.inria.fr
> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
Aug. 10, 2009
Re: [Pharo-project] 64bit
by Alexandre Bergel
Lack of available resource
Alexandre
On 9 Aug 2009, at 14:04, Carlos Crosetti wrote:
> I havent`t seen 64-bit in the milestones...
>
> why not?
>
> _______________________________________________
> Pharo-project mailing list
> Pharo-project(a)lists.gforge.inria.fr
> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
>
--
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
Aug. 10, 2009
Re: [Pharo-project] [Ann] RFB/VNC fully configurable by code.
by Mariano Martinez Peck
Hi Miguel: Thanks for your excellent work!! I am giving a try for first time
in my life to RFB but it doesn't work. I am in Ubuntu 8.10.
What I did is to do:
RFBServerGUI open
and then start in 0 (main display)
The thing is that I don't know which port is used.
Then I tried:
RFBServer start: 6666
To open in port 6666
But in both cases when I try to connect like this:
vinagre 127.0.0.1:6666
I have an error "Conntion to host 172.0.0.1:666 was closed"
If I see server Log I get:
RFBServer RFBDisplayScreen, RFBEventSensor installed
RFBServer running
RFBServer started
Any idea what I am doing wrong? How can I specify a port from the UI ? and
from command line?
Perhaps a problem with my vnc client ?
best,
Mariano
2009/8/7 Miguel Enrique Cobá Martinez <miguel.coba(a)gmail.com>
> I promise that this is the last reply to myself :)
>
>
> > The version on Lukas repo is:
> >
> > RFB-MiguelCoba.26.mcz
>
> Something I forgot to say is that this new version is based on Lukas
> version that has already some changes to make it work on pharo. So this
> version work on pharo. Maybe can work on squeak also, maybe can be
> ported to squeak. I changed considerably RFBServer but just a little of
> RFBSession (one-liners). All the other classes are untouched. So maybe
> some time later I can do the port to make it work with squeak, if some
> good soul don't do it before.
>
>
>
> _______________________________________________
> Pharo-project mailing list
> Pharo-project(a)lists.gforge.inria.fr
> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
>
Aug. 10, 2009