Damien Cassou | 1 Apr 2009 08:26
Picon
Gravatar

Re: Changing the size of a font

http://code.google.com/p/pharo/wiki/CodeSnippets

On Tue, Mar 31, 2009 at 10:05 PM, Alexandre Bergel
<Alexandre.Bergel@...> wrote:
> Hi All,
>
> Is there a not-so-slow way to change programmatically the size of a
> font?
> I tried 'TextStyle defaultFont pointSize: 8', but I have no idea what
> pointSize really does.
> It has to do with the real font.
>
> Cheers,
> Alexandre
> --
> _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
> Alexandre Bergel  http://www.bergel.eu
> ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.
>
>
>
>
>
>
> _______________________________________________
> Pharo-project mailing list
> Pharo-project@...
> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
>

(Continue reading)

Damien Cassou | 1 Apr 2009 08:29
Picon
Gravatar

Re: [ANN] VM for closures on pharo web site

On Tue, Mar 31, 2009 at 11:16 PM, Bryce Kampjes
<bryce@...> wrote:
> I was afraid that mentioning that would cause confusion. Exupery is a
> JIT written in Smalltalk, the compiler runs as a normal Smalltalk
> process in the image just like any other Smalltalk code. It needs a VM
> with a few hooks to allow the native code it generates to be executed.
> The VMs I provide have both those hooks and the closure bytecodes.
> Support for both Exupery and closures is in the VMs.
>
> Exupery itself is a normal Monticello package which is available via
> SqueakSource or Universes, if you haven't loaded it and started it then
> there is no risk.

To summarize: the Exupery VM has closure support for closure images,
use them and things will work ok. Don't try to use the JIT or you will
have problem (but you won't do that accidentally so you shouldn't
care).

--

-- 
Damien Cassou
http://damiencassou.seasidehosting.st
Torsten Bergmann | 1 Apr 2009 09:03
Picon
Picon

Build, send and comment on Plugins page

There is a new page on the pharo website [1] with an overview
on all plugins available for squeak and pharo.

Plugins should be easily downloadable so one dont has to 
rebuild them from scratch again and again. This is especially
for newbies with no knowledge of the tool chain to build plugins.

Feel free to send comments and build/send plugins for the various
OS platforms. The page is maintained by m.rueger at acm.org 

Thank
Torsten

[1] http://code.google.com/p/pharo/wiki/VMPluginOverview
[2] http://lists.gforge.inria.fr/pipermail/pharo-project/2009-March/007231.html

--

-- 
Neu: GMX FreeDSL Komplettanschluss mit DSL 6.000 Flatrate + Telefonanschluss für nur 17,95 Euro/mtl.!* http://dsl.gmx.de/?ac=OM.AD.PD003K11308T4569a
Stéphane Ducasse | 1 Apr 2009 09:30
Picon
Picon
Favicon
Gravatar

Re: [ANN] #10262cl

Why I love closures ;)

|tt|
tt := Transcript.
[1 to: 10 do: [:i | tt show: i printString; show: '*'.
					Processor yield ].
	tt flush	]  fork.
[100 to: 110 do: [:i | tt show: i printString; show: '-'.
					Processor yield  ].
	tt flush	] fork.

works and show that the transcript is bad :)

1*100-2101*-3*102-4*103-5*104-6*-7*106-8*107-9*-10*109-110-


> Hi,
>
> I have merged the closure changed in the 1062 image (manually).
>
> We now can continue with this image to provide updates using the
> update stream:
>
> 	http://gforge.inria.fr/frs/download.php/20098/ 
> Pharo0.1Core-10262cl.zip
>
>
> Changes:
> -> Closure changes merged.
> -> BlockClosurePharo.1.cs
(Continue reading)

Stéphane Ducasse | 1 Apr 2009 09:30
Picon
Picon
Favicon
Gravatar

Re: about the closure

So the semantics you describe is that the closure refers to variables  
until it is valued and not their values
And of course there is a difference whether the variable is a closure  
temporary or whether it is a enclosing scope one.

lukas is it normal that we get 3 tests yellow - did you get the same  
in your image?
Did you say it to eliot?

The tests of boris remind me some of my lisp cps-iterator :)
Ugly in smalltalk :)

Stef
Bert Freudenberg | 1 Apr 2009 10:13
Picon
Gravatar

Re: Build, send and comment on Plugins page

On 01.04.2009, at 09:03, Torsten Bergmann wrote:

> There is a new page on the pharo website [1] with an overview
> on all plugins available for squeak and pharo.
>
> [1] http://code.google.com/p/pharo/wiki/VMPluginOverview

That's a great start! Very useful potentially.

IMHO listing all the plugins that are usually built as internal is  
more confusing than helpful. At least that should be mentioned (or  
they should get their own table?). At the very least use a lower-case  
"i" to indicate "internal", I wondered what the vertical bar meant ;)

Plugins missing include Rome, DBus, GStreamer:

http://squeaksource.com/Rome.html
http://squeaksource.com/dbus.html
http://squeaksource.com/GStreamer.html

- Bert -

Torsten Bergmann | 1 Apr 2009 10:19
Picon
Picon

[ANN] #10262cl

When evaluating

  "ScriptLoader loadSuperOB"

in this image I'll get nil DNU #charCode in the Method UTF8DecomposedTextConverter>>nextFromStream:

(with both - the newest win32 vm from Andreas and 
the latest Exupery VM with closures).

Thx
Torsten
--

-- 
Neu: GMX FreeDSL Komplettanschluss mit DSL 6.000 Flatrate + Telefonanschluss für nur 17,95 Euro/mtl.!* http://dsl.gmx.de/?ac=OM.AD.PD003K11308T4569a
Torsten Bergmann | 1 Apr 2009 10:35
Picon
Picon

Build, send and comment on Plugins page

Hi Michael,

since I cross posted to squeak-dev, vm-dev and pharo-dev (yes I know
its bad) here some comments from Andreas and Bert from squeak-dev:

http://lists.squeakfoundation.org/pipermail/squeak-dev/2009-April/date.html

maybe you could add Rome, DBus, GStreamer

There is also DShowVideoDecoderPlugin for Webcams on Windows. 
DLL and link at:
http://www.is.titech.ac.jp/~ohshima/squeak/DShowVideo/index.html

And I remember a Win32FileDialogPlugin (the SAR includes the DLL):
http://kminami.fc2web.com/Squeak/Goodies/Win32FileDialogPlugin/index.html

Thanks
Torsten
--

-- 
Psssst! Schon vom neuen GMX MultiMessenger gehört? Der kann`s mit allen: http://www.gmx.net/de/go/multimessenger01
Torsten Bergmann | 1 Apr 2009 11:00
Picon
Picon

[ANN] #10262cl

It crashes with the universe installer:
The web location has a ~ sign (unix server) in it with a 
previous / character:

So:

   'http://foo.bar/~test' asUrl 

will crash in printString now (see inspector)
while

   'http://foo.bar~test' asUrl 

will not.

Bye
Torsten
--

-- 
Neu: GMX FreeDSL Komplettanschluss mit DSL 6.000 Flatrate + Telefonanschluss für nur 17,95 Euro/mtl.!* http://dsl.gmx.de/?ac=OM.AD.PD003K11308T4569a
Lukas Renggli | 1 Apr 2009 11:03
Picon
Gravatar

Re: SUniGUI profiled DNU

From the Test Runner. Click on "Run Coverage".

Lukas

On Tue, Mar 31, 2009 at 8:37 PM, Stéphane Ducasse
<stephane.ducasse@...> wrote:
> lukas how to you invoke the coverage for a test?
> I tried with profiled and I got a DNU.
>
> Stef
>
> From: zork
> To: Pharo-project@...
> Subject: [BUG]UndefinedObject(Object)>>doesNotUnderstand: #terminate
>
> here insert explanation of what you were doing, suspect changes you've
> made and so forth.
>
> 31 March 2009 8:36:50 pm
>
> VM: Mac OS - a SmalltalkImage
> Image: Pharo0.1 [Latest update: #10259]
>
> SecurityManager state:
> Restricted: false
> FileAccess: true
> SocketAccess: true
> Working Dir /Users/ducasse/Workspace/FirstCircle/ActiveResearch/Pharo/
> Pharo
> Trusted Dir /foobar/tooBar/forSqueak/bogus
(Continue reading)


Gmane