[Lazarus] New Help System & Viewer - sneak preview

Graeme Geldenhuys graemeg.lists at gmail.com
Wed Oct 28 21:25:24 CET 2009


2009/10/1 Marco van de Voort <marcov at stack.nl>:
>
> This is roughly how CHM works too, but the efficient versions of certain
> parts are not implemented yet. Fulltext search is fine and efficient, except
> for the generation (LCL takes 4 minutes to generate)


I finally got the rewrite of the fpdoc IPF writer to a level where I
can compile it to binary INF format.

Note that I only have the Windows Open Watcom IPF Compiler (WIPFC)
that I have to run under WINE on Linux. I haven't started implementing
my own IPF Compiler yet. Anyway, WIPFC choked trying to compile the
9MB lcl.ipf file - saying something about it's to big. I am not sure
if that's a WIPFC limitation or the INF internal structure limit.
(I'll fix this issue in future)

Either way, all is not lost. I split the 9MB file into two parts and
compiled each part. Then at runtime you can concatenate the two parts
to become one LCL document inside DocView. Compile time for both parts
came to just under 1 minute. So that's not too bad for the whole LCL.

$ time ipfc lcl_part1.ipf
real    0m21.908s
user    0m19.541s
sys     0m0.260s

$ time ipfc lcl_part2.ipf
real    0m29.914s
user    0m28.518s
sys     0m0.296s


-- 
Regards,
  - Graeme -


_______________________________________________
fpGUI - a cross-platform Free Pascal GUI toolkit
http://opensoft.homeip.net/fpgui/




More information about the Lazarus mailing list