[Pharo-dev] Esteban's ChangeLog week of 5 November 2018

2018-11-11 Thread estebanlm
Hello! This is my weekly ChangeLog, from 5 November 2018 to 11 November 2018. You can see it in a better format by going here: http://log.smallworks.eu/web/search?from=5/11/2018&to=11/11/2018 ChangeLog = 5 November 2018: *I just [announced](http://forum.world.st/A

Re: [Pharo-dev] Excel export with Tabular

2018-11-11 Thread Eric Gade
I want to second support for this effort. I had a freelance project a few months back that had a need to generate formatted Excel documents from external API data. It also needed an easy to use GUI for it's users. At the time I desperately wanted to use Pharo (since RAD tools on personal computers

Re: [Pharo-dev] Excel export with Tabular

2018-11-11 Thread Sven Van Caekenberghe
Hi Hans-Martin, This is great. I use Tabular too and was missing active development/maintenance. It would be very good to see this project move forward. It is quite important/useful in enterprise contexts. Thx, Sven PS: where did you commit the changes ? any chance of moving it to GitHub (too

[Pharo-dev] Excel export with Tabular

2018-11-11 Thread Hans-Martin
Hello folks, I have a need for creating excel files with more than 3 worksheets, so I took the Tabular code and beefed up the exporter a little. It does handle more worksheets now, uses XMLWriter to create all the ZIP members, and is properly named now (the class was called TabularXSLXExport, note

[Pharo-dev] [Pharo 7.0-dev] Build #1376: 22656-Improve-ImageReadWriter-comments

2018-11-11 Thread ci-pharo-ci-jenkins2
There is a new Pharo build available! The status of the build #1376 was: SUCCESS. The Pull Request #1970 was integrated: "22656-Improve-ImageReadWriter-comments" Pull request url: https://github.com/pharo-project/pharo/pull/1970 Issue Url: https://pharo.fogbugz.com/f/cases/22656 Build Url: ht

Re: [Pharo-dev] Streams and FileDialog in Pharo 6 and 7

2018-11-11 Thread Denis Kudriashov
пн, 29 окт. 2018 г. в 10:07, Guillermo Polito : > Well, there are still variants > - chooseFile* > - fileOpen* > - fileSave* > - chooseFileName* > - chooseFullFileName* > > I prefered rather to be explicit and to avoid confusion with the old API > (which I deprecated, not removed!) > Ok. For

Re: [Pharo-dev] How do I create a binary stream

2018-11-11 Thread Hilaire
I am quite happy with the new FileReference API. Le 11/11/2018 à 13:51, Sven Van Caekenberghe a écrit : > API changes are always annoying, but splitting reading and writing as well as > binary and character streams is a clear improvement overall. > -- Dr. Geo http://drgeo.eu

Re: [Pharo-dev] How do I create a binary stream

2018-11-11 Thread Sven Van Caekenberghe
> On 11 Nov 2018, at 10:29, Alistair Grant wrote: > > File is a low level API that is only used in limited circumstances, > e.g. bootstrapping when FileSystem isn't yet available. Another reason not to use File is because it is slower as it is unbuffered. For the following file $ file test.

Re: [Pharo-dev] How do I create a binary stream

2018-11-11 Thread Sven Van Caekenberghe
> On 11 Nov 2018, at 12:24, Hilaire wrote: > > Confusion from my part (it was 6 months ago), I have to use > #binaryReadStream to load PNG preview, and utf-8 based file (I was not > doing this distinction previously). > > I changed the code in P7 in several part as it broke and it was confusi

Re: [Pharo-dev] How do I create a binary stream

2018-11-11 Thread Hilaire
I filled a bug ticket about the change: https://bugs.launchpad.net/drgeo/+bug/1780820 -- Dr. Geo http://drgeo.eu

Re: [Pharo-dev] How do I create a binary stream

2018-11-11 Thread Hilaire
Confusion from my part (it was 6 months ago), I have to use #binaryReadStream to load PNG preview, and utf-8 based file (I was not doing this distinction previously). I changed the code in P7 in several part as it broke and it was confusing. https://bazaar.launchpad.net/~drgeo-developers/drgeo/tr

Re: [Pharo-dev] How do I create a binary stream

2018-11-11 Thread Sven Van Caekenberghe
So how do you load you PNG's then in P7 ? > On 11 Nov 2018, at 11:25, Hilaire wrote: > > In P7, I have to change the code to load PNG image, and I end up not > using binary alternative... > > Le 11/11/2018 à 11:18, Sven Van Caekenberghe a écrit : >> I don't understand what you are saying. > >

Re: [Pharo-dev] How do I create a binary stream

2018-11-11 Thread Hilaire
In P7, I have to change the code to load PNG image, and I end up not using binary alternative... Le 11/11/2018 à 11:18, Sven Van Caekenberghe a écrit : > I don't understand what you are saying. -- Dr. Geo http://drgeo.eu

Re: [Pharo-dev] How do I create a binary stream

2018-11-11 Thread Sven Van Caekenberghe
> On 11 Nov 2018, at 10:59, Hilaire wrote: > > I met that situation too with P7. It occurred to me that the precise > need of #binaryReadStream message vanished. I don't understand what you are saying. Like Alistair says, FileReference is the public interface. The messages to open streams a

Re: [Pharo-dev] How do I create a binary stream

2018-11-11 Thread Hilaire
I met that situation too with P7. It occurred to me that the precise need of #binaryReadStream message vanished. Hilaire Le 11/11/2018 à 10:03, Stephane Ducasse a écrit : > Hi > > I'm checking some of the mooc code in Pharo 70. > > The Pharo 50/60 version is > > PNGReadWriter createAFormFrom: 'Sp

Re: [Pharo-dev] How do I create a binary stream

2018-11-11 Thread Alistair Grant
Hi Stef, On Sun, 11 Nov 2018 at 10:04, Stephane Ducasse wrote: > > Hi > > I'm checking some of the mooc code in Pharo 70. > > The Pharo 50/60 version is > > PNGReadWriter createAFormFrom: 'Sprites.png' asFileReference > binaryReadStream upToEnd > > I came up with > > PNGReadWriter formFromStream:

[Pharo-dev] How do I create a binary stream

2018-11-11 Thread Stephane Ducasse
Hi I'm checking some of the mooc code in Pharo 70. The Pharo 50/60 version is PNGReadWriter createAFormFrom: 'Sprites.png' asFileReference binaryReadStream upToEnd I came up with PNGReadWriter formFromStream: (File named: 'Sprites.png') readStream And we can also have PNGReadWriter formFromS