<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
Am 08.12.2017 um 13:23 schrieb Sergey Bodrov via Lazarus:<br>
<blockquote type="cite"
cite="mid:CAEnbvREXz6CSnKszqHDKr-xayuWNEDB3bL2dpVbVSrBr0iRVkA@mail.gmail.com">
<div dir="ltr"><span
style="color:rgb(0,0,0);font-family:Verdana,Arial,Helvetica,sans-serif;font-size:12.48px;background-color:rgb(231,234,239)">I
did some fixes and improvements to chm package, LHelp and
chmmaker - </span><a href="https://github.com/serbod/lazhelp"
class="gmail-bbc_link" target="_blank"
style="color:rgb(51,68,102);text-decoration-line:none;border-bottom:1px
solid
rgb(168,182,207);font-family:Verdana,Arial,Helvetica,sans-serif;font-size:12.48px;background-color:rgb(231,234,239)"
moz-do-not-send="true">https://github.com/serbod/lazhelp</a><br
clear="all">
<div><br>
</div>
<div>I contacted with maintainer, Andrew Haines, but then he
disappear.</div>
<div><br>
</div>
<div>There is too many changes in many files, and that can't be
posted as simple diff patch. Also, there is some suggestions
about package contents and file/dir locations:</div>
<div><br>
</div>
<div>1. FPC package 'chm' contain file fasthtmlparser.pas, that
used in some non-CHM packages and projects. May be better move
that file to some generic package - fcl-base, for example?</div>
<div><br>
</div>
<div>2. FPC package 'chm' contain LZX compression routines in
some files
- paslzx.pas, paslzxcomp.pas, paslznonslide.pas, lzxcompressthread.pas.
They not depends on other files in 'chm' and can be maintained
as separate package. </div>
<div><br>
</div>
<div>3. I suggest to move LHelp project from
lazarus/components/chmhelp/lhelp to lazarus/tools/lhelp,
because LHelp is idependent external utility and not internal
part of IDE or users projects.</div>
<div><br>
</div>
<div>4. Also, I suggest to move lazarus/doceditor to
lazarus/tools/doceditor for the same reason</div>
</div>
</blockquote>
<br>
I would be willing to look at your lhelp version which probably is
much needed. But the problem is that you also change units which are
part of fpc, and I neither can nor want to change anything related
to fpc. Even if you are able to get the fpc-related patches into fpc
it will take a long time until this is available to Lazarus - we all
know how long it took to release v1.8.<br>
<br>
Or should we try to duplicate the chm units of fpc in Lazarus for
easier modification?<br>
<br>
#1 -- I, personally, would keep it where it is and copy it as
"LazFastHtmlParser" to LazUtils which would offer more flexibility.
The capitalization of the entire html text, for example, should be
something to be turned off optionally (I'd need this in
fpspreadsheet for a sufficiently fast sax-like access to xlsx
files), and there's no chance to achieve this without forcing users
to work with fpc trunk.<br>
<br>
#2 -- Should be discussed on the fpc mailing list.<br>
<br>
#3 and #4 do make sense.<br>
</body>
</html>