Re: [fpc-pascal] streaming file from zip into my app

2007-12-01 Thread Marc Santhoff
Am Samstag, den 01.12.2007, 20:45 +0100 schrieb Marco van de Voort: > > Am Freitag, den 30.11.2007, 23:09 +0200 schrieb Graeme Geldenhuys: > > > On 30/11/2007, Marc Santhoff <[EMAIL PROTECTED]> wrote: > > > > > > > > But I still have questions about the code. Do I understand correctly > > > > that

Re: [fpc-pascal] streaming file from zip into my app

2007-12-01 Thread Darius Blaszijk
Note if sb works on zlib, there still is a bugreport about OOo files and zlib in mantis (mismatch in CRC). I tried to fix it, but got stuck Please note the following thread, as it might be the answer in this case. http://groups.google.com/group/comp.compression/browse_thread/thread/c74cb4

Re: [fpc-pascal] streaming file from zip into my app

2007-12-01 Thread Marco van de Voort
> Am Freitag, den 30.11.2007, 23:09 +0200 schrieb Graeme Geldenhuys: > > On 30/11/2007, Marc Santhoff <[EMAIL PROTECTED]> wrote: > > > > > > But I still have questions about the code. Do I understand correctly > > > that Graeme contributed the de-/compression code but it still has to get > > > inte

Re: [fpc-pascal] streaming file from zip into my app

2007-12-01 Thread Darius Blaszijk
Marc Santhoff wrote: Am Freitag, den 30.11.2007, 23:09 +0200 schrieb Graeme Geldenhuys: On 30/11/2007, Marc Santhoff <[EMAIL PROTECTED]> wrote: But I still have questions about the code. Do I understand correctly that Graeme contributed the de-/compression code but it still has to get i

Re: [fpc-pascal] streaming file from zip into my app

2007-11-30 Thread Marc Santhoff
Am Freitag, den 30.11.2007, 23:09 +0200 schrieb Graeme Geldenhuys: > On 30/11/2007, Marc Santhoff <[EMAIL PROTECTED]> wrote: > > > > But I still have questions about the code. Do I understand correctly > > that Graeme contributed the de-/compression code but it still has to get > > integrated and u

Re: [fpc-pascal] streaming file from zip into my app

2007-11-30 Thread Graeme Geldenhuys
On 30/11/2007, Marc Santhoff <[EMAIL PROTECTED]> wrote: > > But I still have questions about the code. Do I understand correctly > that Graeme contributed the de-/compression code but it still has to get > integrated and used by the component? We used the zlib (de)compression units from the tiOPF

Re: [fpc-pascal] streaming file from zip into my app

2007-11-30 Thread Marc Santhoff
Am Freitag, den 30.11.2007, 16:21 +0100 schrieb [EMAIL PROTECTED]: > > What de- and encoding is it, are you talking of character sets or > > encryption? > > I was referring to compression. It should be trivial to implement, but I > never got around it. So if you have interest and want to patch it

Re: [fpc-pascal] streaming file from zip into my app

2007-11-30 Thread dhkblaszyk
> What de- and encoding is it, are you talking of character sets or > encryption? I was referring to compression. It should be trivial to implement, but I never got around it. So if you have interest and want to patch it please do, I will apply it. Darius

Re: [fpc-pascal] streaming file from zip into my app

2007-11-30 Thread Marc Santhoff
Am Freitag, den 30.11.2007, 09:04 +0100 schrieb [EMAIL PROTECTED]: > > Hi, > > > > I'd like to unzip one file from a zip archive and use it directly as > > input for something else (sax or self written parser). > > > > Since the unzip package form the "extra" dir only writes to disc files: > > > >

Re: [fpc-pascal] streaming file from zip into my app

2007-11-30 Thread Graeme Geldenhuys
On 30/11/2007, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > You can have a look at TZipFile > (http://wiki.lazarus.freepascal.org/ZipFile). The only problem still with > it is that it does not support decoding / encoding. But the basis is there > already. You can access a zipfile as if it's a f

Re: [fpc-pascal] streaming file from zip into my app

2007-11-30 Thread dhkblaszyk
> Hi, > > I'd like to unzip one file from a zip archive and use it directly as > input for something else (sax or self written parser). > > Since the unzip package form the "extra" dir only writes to disc files: > > Is there any alternative source for writing from zip to a stream instead > of a fil

Re: [fpc-pascal] streaming file from zip into my app

2007-11-30 Thread dhkblaszyk
> Hi, > > I'd like to unzip one file from a zip archive and use it directly as > input for something else (sax or self written parser). > > Since the unzip package form the "extra" dir only writes to disc files: > > Is there any alternative source for writing from zip to a stream instead > of a fil

[fpc-pascal] streaming file from zip into my app

2007-11-29 Thread Marc Santhoff
Hi, I'd like to unzip one file from a zip archive and use it directly as input for something else (sax or self written parser). Since the unzip package form the "extra" dir only writes to disc files: Is there any alternative source for writing from zip to a stream instead of a file? Or even bet