Re: [fpc-pascal] helpsystem, some numbers

2008-10-28 Thread Marco van de Voort
In our previous episode, Graeme Geldenhuys said: > And for Linux (Gnome and KDE) you are relying on 3rd party packages > that as far as I have found doesn't come standard with any Linux > distro I tried. Fedora had both in YUM iirc, though kchmviewer was flaky. But I'm not relying on them, they ar

Re: [fpc-pascal] helpsystem, some numbers

2008-10-28 Thread Eduardo Morras
At 16:00 28/10/2008, you wrote: On Tue, Oct 28, 2008 at 4:26 PM, Eduardo Morras <[EMAIL PROTECTED]> wrote: > > Well, there are some ones. There is the PAQ family that are the best now. Of > course they are research compressors mostly written in C++ but they exist. > There is a freepascal/lazaru

Re: [fpc-pascal] helpsystem, some numbers

2008-10-28 Thread Graeme Geldenhuys
On Tue, Oct 28, 2008 at 4:26 PM, Eduardo Morras <[EMAIL PROTECTED]> wrote: > > Well, there are some ones. There is the PAQ family that are the best now. Of > course they are research compressors mostly written in C++ but they exist. > There is a freepascal/lazarus app that implements a GUI for this

Re: [fpc-pascal] helpsystem, some numbers

2008-10-28 Thread Graeme Geldenhuys
On Tue, Oct 28, 2008 at 4:15 PM, Marco van de Voort <[EMAIL PROTECTED]> wrote: > > CHM has all that, and working code is in the tree now, so why bother? The > indexes and toc are several MB each too. (for CHM, they are XML, though you > could cook something up binary that is tighter. OTOH it will

Re: [fpc-pascal] helpsystem, some numbers

2008-10-28 Thread Luiz Americo Pereira Camara
Graeme Geldenhuys escreveu: I used Total Command 6.55 with the 7-zip plugin v0.4.6. Total Commander and the 7-zip plugin is written in Object Pascal (delphi). No dependencies on external libraries. I ran Total Commander under Linux by the way. For the latest version of the 7-zip plugin wi

Re: [fpc-pascal] helpsystem, some numbers

2008-10-28 Thread Graeme Geldenhuys
On Tue, Oct 28, 2008 at 4:00 PM, Jonas Maebe <[EMAIL PROTECTED]> wrote: > > You do have to decompress everything in the archive coming before it (but > nothing forces you, or TC, to store the decompressed but undesired data to > disk, obviously). That would normally make sense and how I understand

Re: [fpc-pascal] helpsystem, some numbers

2008-10-28 Thread Eduardo Morras
At 11:38 28/10/2008, you wrote: On Tue, Oct 28, 2008 at 12:12 PM, Eduardo Morras <[EMAIL PROTECTED]> wrote: > > In fact deflate/zip is 18-19 years old and there are lot of better > compression algorithm, like LZX. I think there is one implemented in Pascal > (ABC if memory don't fails). I'm stil

Re: [fpc-pascal] helpsystem, some numbers

2008-10-28 Thread Marco van de Voort
In our previous episode, Graeme Geldenhuys said: > So far we are looking at the TZipFile component, but with zlib for a > start (and 7zip later) compression. Help file will be similar to > OpenOffice or CHM help. A compressed file with HTML and image content > and some index and toc files. CHM has

Re: [fpc-pascal] helpsystem, some numbers

2008-10-28 Thread Jonas Maebe
On 28 Oct 2008, at 14:55, Graeme Geldenhuys wrote: nd like I said, 7zip allows a single file to be unpacked from a solid archive. No need to unpack everything. I have verified that with Total Commander (TC) and the 7-zip plugin, otherwise 7-zip will not be an option for a help system. With TC

Re: [fpc-pascal] helpsystem, some numbers

2008-10-28 Thread Graeme Geldenhuys
On Tue, Oct 28, 2008 at 3:27 PM, Marco van de Voort <[EMAIL PROTECTED]> wrote: >> >> rtl with 7zip = 762KB >> fc with 7zip = 117KB > > But that is not a help system. It is a solid archive. If I have to depack > first it lasts a minute and contains 150MB on disk (first column) And like I said, 7zip

Re: [fpc-pascal] helpsystem, some numbers

2008-10-28 Thread Graeme Geldenhuys
On Tue, Oct 28, 2008 at 3:27 PM, Marco van de Voort <[EMAIL PROTECTED]> wrote: >> >> rtl with 7zip = 762KB >> fc with 7zip = 117KB > > But that is not a help system. It is a solid archive. If I have to depack > first it lasts a minute and contains 150MB on disk (first column) I archived the RTL an

Re: [fpc-pascal] helpsystem, some numbers

2008-10-28 Thread Marco van de Voort
In our previous episode, Graeme Geldenhuys said: > > help packagesize on disk(k) real size(k) chm(k) > > rtl38816 22096 1865 > > lcl107404 72499 5227 > > fcl85485148445 > >

Re: [fpc-pascal] helpsystem, some numbers

2008-10-28 Thread Graeme Geldenhuys
> I used Total Command 6.55 with the 7-zip plugin v0.4.6. Total > Commander and the 7-zip plugin is written in Object Pascal (delphi). > No dependencies on external libraries. I ran Total Commander under > Linux by the way. For the latest version of the 7-zip plugin with source code. http://www.t

Re: [fpc-pascal] helpsystem, some numbers

2008-10-28 Thread Graeme Geldenhuys
On Tue, Oct 28, 2008 at 12:40 PM, Vincent Snijders <[EMAIL PROTECTED]> wrote: > > And at the same time, that is its weak point for packing a large number of > similar documents, like the LCL documentation. It only compresses one > document at a time, so it cannot use the information of previous doc

Re: [fpc-pascal] helpsystem, some numbers

2008-10-28 Thread Graeme Geldenhuys
On Mon, Oct 27, 2008 at 4:19 PM, Marco van de Voort <[EMAIL PROTECTED]> wrote: > html html > help packagesize on disk(k) real size(k) chm(k) > rtl38816 22096 1865 > lcl107404 72499 5227 > fcl

Re: [fpc-pascal] helpsystem, some numbers

2008-10-28 Thread Marco van de Voort
In our previous episode, Graeme Geldenhuys said: > > In fact deflate/zip is 18-19 years old and there are lot of better > > compression algorithm, like LZX. I think there is one implemented in Pascal > > (ABC if memory don't fails). > > I'm still trying to find a compression algorithm that beats w

Re: [fpc-pascal] helpsystem, some numbers

2008-10-28 Thread Vincent Snijders
Graeme Geldenhuys schreef: The important thing for TZipFile component is that the archive format must compresses every file separately. Otherwise you can't extract a specific file without unpacking everything first. And at the same time, that is its weak point for packing a large number of sim

Re: [fpc-pascal] helpsystem, some numbers

2008-10-28 Thread Marco van de Voort
In our previous episode, Eduardo Morras said: > >entirely before use, contrary to either zip (in theory you could open the > >zip and extract only the one file) and chm (which has several indexes > >internally too, the unpacked chm is possibly larger than the html due to > >this) > > Don't know wh

Re: [fpc-pascal] helpsystem, some numbers

2008-10-28 Thread Graeme Geldenhuys
On Tue, Oct 28, 2008 at 12:12 PM, Eduardo Morras <[EMAIL PROTECTED]> wrote: > > In fact deflate/zip is 18-19 years old and there are lot of better > compression algorithm, like LZX. I think there is one implemented in Pascal > (ABC if memory don't fails). I'm still trying to find a compression alg

Re: [fpc-pascal] helpsystem, some numbers

2008-10-28 Thread Eduardo Morras
At 07:01 28/10/2008, you wrote: On Mon, Oct 27, 2008 at 8:40 PM, Eduardo Morras <[EMAIL PROTECTED]> wrote: > > Don't know what's your question (perhaps you posted on wrong list) but chm > uses LZX compression algorithm internally. I was about to mention that as well. :-) I have always had the

Re: [fpc-pascal] helpsystem, some numbers

2008-10-27 Thread Graeme Geldenhuys
On Mon, Oct 27, 2008 at 8:40 PM, Eduardo Morras <[EMAIL PROTECTED]> wrote: > > Don't know what's your question (perhaps you posted on wrong list) but chm > uses LZX compression algorithm internally. I was about to mention that as well. :-) I have always had the idea of using the HTML help in a z

Re: [fpc-pascal] helpsystem, some numbers

2008-10-27 Thread Eduardo Morras
At 15:19 27/10/2008, you wrote: This morning I did a bit research after the help files, I hope it sheds some light on the WHY for the recent CHM efforts: html html help packagesize on disk(k) real size(k) chm(k) rtl38816 22096 1