Re: [Pharo-users] Pillar compile.sh

2014-06-07 Thread Ben Coman
Nicolas Petton wrote: Ben Coman writes: Hi all, ./compile.sh can be passed a parameter to compile only a specific file rather than the whole book. Now I consider this probably only occurs during development with a human executing the script (rather than some CI process which

Re: [Pharo-users] Pillar compile.sh

2014-06-07 Thread Nicolas Petton
Ben Coman writes: > Hi all, > > ./compile.sh can be passed a parameter to compile only a specific file > rather than the whole book. Now I consider this probably only occurs > during development with a human executing the script (rather than some > CI process which will be processing the who

Re: [Pharo-users] Slots

2014-06-07 Thread Camille Teruel
You can use the old syntax for class declaration for creating classes, i.e. : Superclass subclass: #MyClass instanceVariableNames: 'x y z' classVariableNames: '' category: 'MyProject' However, the compiler does not take slots into account yet, so custom slots will only

[Pharo-users] Slots

2014-06-07 Thread Bob Williams
I am trying to duplicate the typed slot example in the paper "Flexible Object Layout". I did create the classes for TypedSlot and FloatSlot, but I am trying to find the best way to set the type for class FloatSlot to the class Float. In the example in the paper it appears to be set at the time

Re: [Pharo-users] Pillar compile.sh

2014-06-07 Thread kilon alios
very good idea, it makes perfect sense to have the ability to open pdf as soon as compiling ends. I advice to provide an option to activate this ability as a command line argument. So if there is batch compiling or compiling happening on the server this process wont trigger. Even cooler it would b

[Pharo-users] Pillar compile.sh

2014-06-07 Thread Ben Coman
Hi all, ./compile.sh can be passed a parameter to compile only a specific file rather than the whole book. Now I consider this probably only occurs during development with a human executing the script (rather than some CI process which will be processing the whole book) and I'm finding it us

Re: [Pharo-users] [ANN] Generating beautiful html books from Pillar

2014-06-07 Thread Tudor Girba
Beautiful! Doru On Fri, Jun 6, 2014 at 6:06 PM, Damien Cassou wrote: > Nicolas Petton and I are proud to announce the possibility to create > really nice HTML books from Pillar (I must thank > https://github.com/GitbookIO/gitbook as well). The first book to get this > nice layout is the Pillar

[Pharo-users] How to encrypt a stream?

2014-06-07 Thread Frank
Hi folks, I need to encrypt a stream. I want to write a file like: StandardFileStream fileNamed: 'encryptedfile' do: [:str | str nextPutAll: 'string to be encrypted']. of course the file is in plain text :-) It would be wonderful if I can write something like: EncrypedFileStream fileNamed: 'enc

Re: [Pharo-users] [ANN] Generating beautiful html books from Pillar

2014-06-07 Thread Sven Van Caekenberghe
On 06 Jun 2014, at 21:48, Yuriy Tymchuk wrote: > Sent from my iPhone And it is responsive (works well on iPhone/iPad) with different font sizes, very nice !