Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2014-09

Lazarus trunk? Please recompile lhelp

5 messages · 2 people · –

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Reinier Olislagers

Summary:
If you are on Lazarus trunk, please recompile
components\chmhelp\lhelp\lhelp.lpr

Details:
- Lhelp improvements
Lhelp is used to show (context-sensitive) help.

Recently, Juha kindly committed revision 46121 for me, fixing bugtracker issue/feature 26614

* Making communication with lhelp more robust
* Updating communications protocol from version 1 to 2 (see
* Debug file support for lhelp diagnostic info, e.g. set environment variable lhelp_debuglog to the path/filename of your desired log file (note: needs patch/solution in bug 26537 first though)

- Result
Because the help communication protocol version has changed existing lhelp applications reporting version 1 (or no version) should not (or might not reliably) work with current Lazarus trunk. The solution is to rebuild lhelp.

- Please report issues
Please report any regressions (i.e. problems that occur with the new protocol but did *not* occur with the old protocol) and I'll have a look.

Note that there are some known existing problems with lhelp - see bugtracker, including 26556: when starting lhelp, it flickers when loading all the chms in a directory. Help appreciated - I probably am too ignorant of the IPro components...

Reply by email

Richard Mace
to Reinier Olislagers

Hi Reinier,
So will this mean that we can now use .chm help files reliably in our projects?

Richard

Reinier Olislagers wrote 38 lines
Summary: If you are on Lazarus trunk, please recompile components\chmhelp\lhelp\lhelp.lpr Details: - Lhelp improvements Lhelp is used to show (context-sensitive) help. Recently, Juha kindly committed revision 46121 for me, fixing bugtracker issue/feature 26614 * Making communication with lhelp more robust * Updating communications protocol from version 1 to 2 (see * Debug file support for lhelp diagnostic info, e.g. set environment variable lhelp_debuglog to the path/filename of your desired log file (note: needs patch/solution in bug 26537 first though) - Result Because the help communication protocol version has changed existing lhelp applications reporting version 1 (or no version) should not (or might not reliably) work with current Lazarus trunk. The solution is to rebuild lhelp. - Please report issues Please report any regressions (i.e. problems that occur with the new protocol but did *not* occur with the old protocol) and I'll have a look. Note that there are some known existing problems with lhelp - see bugtracker, including 26556: when starting lhelp, it flickers when loading all the chms in a directory. Help appreciated - I probably am too ignorant of the IPro components... -- _______________________________________________ Lazarus mailing list http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20140904/7880ddb0/attachment.html>

Reply by email

Reinier Olislagers
to Richard Mace
Richard Mace wrote
So will this mean that we can now use .chm help files reliably in our projects?

Depends on what reliability issues you faced - as mentioned, the aim was to improve communication (e.g. telling lhelp what help topic to display) robustness...

What reliability issues are you seeing?

Reply by email

Richard Mace
to Reinier Olislagers

Hi Reinier,
I was having issues getting the. Chm file to it work in 1.24 ?

"Reinier Olislagers" wrote 18 lines
On 04/09/2014 16:12, Richard Mace wrote: > So will this mean that we can now use .chm help files reliably in our > projects? Depends on what reliability issues you faced - as mentioned, the aim was to improve communication (e.g. telling lhelp what help topic to display) robustness... What reliability issues are you seeing? -- _______________________________________________ Lazarus mailing list http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20140908/13246eae/attachment.html>

Reply by email

Reinier Olislagers
to Richard Mace
Richard Mace wrote
I was having issues getting the. Chm file to display at all. Should it work in 1.24 ?

AFAIK, yes, it should work. Just try the
democontrol sample project in
components\chmhelp\democontrol
Don't forget to follow the instructions in ctxchmhelpunit1.pas

Reply by email