[Lazarus] Some IDE/LHelp issues

classic Classic list List threaded Threaded
9 messages Options
Reply | Threaded
Open this post in threaded view
|

[Lazarus] Some IDE/LHelp issues

Free Pascal - Lazarus mailing list
Maybe someone can help with a few issues around LHelp in the IDE:

1) When LHelp opens (regardless if opens with Tools->CHM-Help or F1
context help) it opens with 11 tabs.
Some of them have a caption, some of them are [unknown]. The [unknown]
ones come up with an error message "ms-its:xyz.chm::/index.html not found!"

2) One of [unknown] tabs is completely empty:
"ms-its:toc.chm::/index.html not found!"

3) There are two lcl tabs. One show a message "Loaded:
ms-its:lcl.chm::/index.html in ... ms", the other one doesn't show a
load message.

3) There's no possibility to search in all files simultanously. May be
this is the missing toc.chm::/index.html?

4) The first context search is a racing car. All following context
searches are a bicycle. Time for a coffee.

I'd like to check for this.

Is there any documentation about the structure of the chm files
reagarding the missing index.html?
What's the meaning of the database definition fields in
Tools-Settins-Help? There are entries for 8 databases. What about the
missing ones.
How does the IDE calls LHelp?

Any ideas?

Rolf

--
_______________________________________________
lazarus mailing list
[hidden email]
https://lists.lazarus-ide.org/listinfo/lazarus
Reply | Threaded
Open this post in threaded view
|

Re: [Lazarus] Some IDE/LHelp issues

Free Pascal - Lazarus mailing list
Am 02.02.21 um 11:22 schrieb Rolf Wetjen via lazarus:

> Maybe someone can help with a few issues around LHelp in the IDE:
>
> 1) When LHelp opens (regardless if opens with Tools->CHM-Help or F1
> context help) it opens with 11 tabs.
> Some of them have a caption, some of them are [unknown]. The [unknown]
> ones come up with an error message "ms-its:xyz.chm::/index.html not
> found!"
>
> 2) One of [unknown] tabs is completely empty:
> "ms-its:toc.chm::/index.html not found!"
>
> 3) There are two lcl tabs. One show a message "Loaded:
> ms-its:lcl.chm::/index.html in ... ms", the other one doesn't show a
> load message.
>
> 3) There's no possibility to search in all files simultanously. May be
> this is the missing toc.chm::/index.html?
>
> 4) The first context search is a racing car. All following context
> searches are a bicycle. Time for a coffee.
>
> I'd like to check for this.
>
> Is there any documentation about the structure of the chm files
> reagarding the missing index.html?
> What's the meaning of the database definition fields in
> Tools-Settins-Help? There are entries for 8 databases. What about the
> missing ones.
> How does the IDE calls LHelp?
>
> Any ideas?
>
> Rolf
>
General Info at:

https://wiki.lazarus.freepascal.org/IDE_Window:_Help_Options

plus:

https://wiki.lazarus.freepascal.org/Installing_Help_in_the_IDE#Installing_CHM_help_.28Lazarus_1.0_and_later.29

see here chapter:

fpdoc entries of RTL and FCL

to svn checkout all chm-help-files


I have your questions too for a long time but i'm just a hobbyist so i
can live these lack of knowledge.

Regards

John Landmesser


--
_______________________________________________
lazarus mailing list
[hidden email]
https://lists.lazarus-ide.org/listinfo/lazarus
Reply | Threaded
Open this post in threaded view
|

Re: [Lazarus] Some IDE/LHelp issues

Free Pascal - Lazarus mailing list
In reply to this post by Free Pascal - Lazarus mailing list
Hello Rolf,
> 1) When LHelp opens (regardless if opens with Tools->CHM-Help or F1
> context help) it opens with 11 tabs.
> Some of them have a caption, some of them are [unknown]. The [unknown]
> ones come up with an error message "ms-its:xyz.chm::/index.html not found!"

That is my TODO for lHelp, You can get some of last patches here
https://bugs.freepascal.org/view.php?id=38250
, but it not in a repo now.

> 2) One of [unknown] tabs is completely empty:
> "ms-its:toc.chm::/index.html not found!"

I don`t what about it. I can get a new chm`s here for try.
https://forum.lazarus.freepascal.org/index.php/topic,53114.0.html
It is without a structural errors.

> 3) There are two lcl tabs. One show a message "Loaded:
> ms-its:lcl.chm::/index.html in ... ms", the other one doesn't show a
> load message.

I think I am going fix that later.

> 3) There's no possibility to search in all files simultanously. May be
> this is the missing toc.chm::/index.html?

Patch sub 1 is not applied yet.


> 4) The first context search is a racing car. All following context
> searches are a bicycle. Time for a coffee.

Fixed: https://bugs.freepascal.org/view.php?id=38276

> I'd like to check for this.
>
> Is there any documentation about the structure of the chm files
> reagarding the missing index.html?
> What's the meaning of the database definition fields in
> Tools-Settins-Help? There are entries for 8 databases. What about the
> missing ones.
> How does the IDE calls LHelp?
>
> Any ideas?

A full list of changes and mistakes :)
https://bugs.freepascal.org/view_all_bug_page.php?filter=60193d8bebd3d

Andrey.

--
Andrey
--
_______________________________________________
lazarus mailing list
[hidden email]
https://lists.lazarus-ide.org/listinfo/lazarus
Reply | Threaded
Open this post in threaded view
|

Re: [Lazarus] Some IDE/LHelp issues

Free Pascal - Lazarus mailing list
In reply to this post by Free Pascal - Lazarus mailing list
Am 02.02.21 um 12:49 schrieb John Landmesser via lazarus:

> Am 02.02.21 um 11:22 schrieb Rolf Wetjen via lazarus:
>> Maybe someone can help with a few issues around LHelp in the IDE:
>>
>> 1) When LHelp opens (regardless if opens with Tools->CHM-Help or F1
>> context help) it opens with 11 tabs.
>> Some of them have a caption, some of them are [unknown]. The [unknown]
>> ones come up with an error message "ms-its:xyz.chm::/index.html not
>> found!"
>>
>> 2) One of [unknown] tabs is completely empty:
>> "ms-its:toc.chm::/index.html not found!"
>>
>> 3) There are two lcl tabs. One show a message "Loaded:
>> ms-its:lcl.chm::/index.html in ... ms", the other one doesn't show a
>> load message.
>>
>> 3) There's no possibility to search in all files simultanously. May be
>> this is the missing toc.chm::/index.html?
>>
>> 4) The first context search is a racing car. All following context
>> searches are a bicycle. Time for a coffee.
>>
>> I'd like to check for this.
>>
>> Is there any documentation about the structure of the chm files
>> reagarding the missing index.html?
>> What's the meaning of the database definition fields in
>> Tools-Settins-Help? There are entries for 8 databases. What about the
>> missing ones.
>> How does the IDE calls LHelp?
>>
>> Any ideas?
>>
>> Rolf
>>
> General Info at:
>
> https://wiki.lazarus.freepascal.org/IDE_Window:_Help_Options
>
> plus:
>
> https://wiki.lazarus.freepascal.org/Installing_Help_in_the_IDE#Installing_CHM_help_.28Lazarus_1.0_and_later.29
>
>
> see here chapter:
>
> fpdoc entries of RTL and FCL
>
> to svn checkout all chm-help-files
>
>
> I have your questions too for a long time but i'm just a hobbyist so i
> can live these lack of knowledge.
>
> Regards
>
> John Landmesser
>
>

Have a look at this:

[john1@manjaro fpcdocs]$ svn info
Pfad: .
Wurzelpfad der Arbeitskopie: /home/john1/lazarus/docs/chm/fpcdocs
URL: https://svn.freepascal.org/svn/fpcdocs/trunk
Relative URL: ^/trunk
Basis des Projektarchivs: https://svn.freepascal.org/svn/fpcdocs
UUID des Projektarchivs: 583a4693-3df7-0310-a210-d425ad3023e7
Revision: 1800
Knotentyp: Verzeichnis
Plan: normal
Letzter Autor: michael
Letzte geänderte Rev: 1800
Letztes Änderungsdatum: 2021-01-31 18:15:57 +0100 (So, 31. Jan 2021)

--
_______________________________________________
lazarus mailing list
[hidden email]
https://lists.lazarus-ide.org/listinfo/lazarus
Reply | Threaded
Open this post in threaded view
|

Re: [Lazarus] Some IDE/LHelp issues

Free Pascal - Lazarus mailing list
In reply to this post by Free Pascal - Lazarus mailing list

Op 2021-02-02 om 11:22 schreef Rolf Wetjen via lazarus:
> 2) One of [unknown] tabs is completely empty:
> "ms-its:toc.chm::/index.html not found!"
>
Toc.chm is a master index of the CHMs, with a hardcoded list of known chms.

It is as meant to function as default page (TOC) of the FPC textmode
IDE, to provide a way to navigate to each CHM's toc.

I don't think this is needed for Lazarus, as each helpfile has its own
tab and thus place to show the TOC.


--
_______________________________________________
lazarus mailing list
[hidden email]
https://lists.lazarus-ide.org/listinfo/lazarus
Reply | Threaded
Open this post in threaded view
|

Re: [Lazarus] Some IDE/LHelp issues

Free Pascal - Lazarus mailing list
In reply to this post by Free Pascal - Lazarus mailing list
Hi Andy

I've patched LHelp.exe with lhelp_index_combine_04.patch.

The "unknown" tab issue is partly solved. Now all tabs have a caption.
There's one strange behaviour:
[FPDoc Documentation], [Programmer' Guide], [Reference Guide] and
[User's Guide] doesn't show the default page if LHelp is called from the
IDE via Help/CHM help or via context F1. They show an empty page. But it
shows the default page if I open prog.chm for example in LHelp via
File/Open.

An other difference: Calling LHelp via context F1 doesn't show the toc. 
Tested with F1 on "TForm".

Rolf
--
_______________________________________________
lazarus mailing list
[hidden email]
https://lists.lazarus-ide.org/listinfo/lazarus
Reply | Threaded
Open this post in threaded view
|

Re: [Lazarus] Some IDE/LHelp issues

Free Pascal - Lazarus mailing list
On 04.02.2021 16:39, Rolf Wetjen via lazarus wrote:

> Hi Andy
>
> I've patched LHelp.exe with lhelp_index_combine_04.patch.
>
> The "unknown" tab issue is partly solved. Now all tabs have a caption.
> There's one strange behaviour:
> [FPDoc Documentation], [Programmer' Guide], [Reference Guide] and
> [User's Guide] doesn't show the default page if LHelp is called from the
> IDE via Help/CHM help or via context F1. They show an empty page. But it
> shows the default page if I open prog.chm for example in LHelp via
> File/Open.
>
> An other difference: Calling LHelp via context F1 doesn't show the toc.
> Tested with F1 on "TForm".
>
> Rolf

There is not a final version, I work at that yet. The main change is a
full merged indexes (Binary index and FTSI) for an one page mode.

--
Andrey
--
_______________________________________________
lazarus mailing list
[hidden email]
https://lists.lazarus-ide.org/listinfo/lazarus
Reply | Threaded
Open this post in threaded view
|

Re: [Lazarus] Some IDE/LHelp issues

Free Pascal - Lazarus mailing list
In reply to this post by Free Pascal - Lazarus mailing list
On 04.02.2021 16:39, Rolf Wetjen via lazarus wrote:

> Hi Andy
>
> I've patched LHelp.exe with lhelp_index_combine_04.patch.
>
> The "unknown" tab issue is partly solved. Now all tabs have a caption.
> There's one strange behaviour:
> [FPDoc Documentation], [Programmer' Guide], [Reference Guide] and
> [User's Guide] doesn't show the default page if LHelp is called from the
> IDE via Help/CHM help or via context F1. They show an empty page. But it
> shows the default page if I open prog.chm for example in LHelp via
> File/Open.
>
> An other difference: Calling LHelp via context F1 doesn't show the toc.
> Tested with F1 on "TForm".
>
> Rolf

There is not a final version, I work at that yet. The main change is a
full merged indexes (Binary index and FTSI) for an one page mode.

--
Andrey
--
_______________________________________________
lazarus mailing list
[hidden email]
https://lists.lazarus-ide.org/listinfo/lazarus
Reply | Threaded
Open this post in threaded view
|

Re: [Lazarus] Some IDE/LHelp issues

Free Pascal - Lazarus mailing list
In reply to this post by Free Pascal - Lazarus mailing list
On 04.02.2021 16:39, Rolf Wetjen via lazarus wrote:

> Hi Andy
>
> I've patched LHelp.exe with lhelp_index_combine_04.patch.
>
> The "unknown" tab issue is partly solved. Now all tabs have a caption.
> There's one strange behaviour:
> [FPDoc Documentation], [Programmer' Guide], [Reference Guide] and
> [User's Guide] doesn't show the default page if LHelp is called from the
> IDE via Help/CHM help or via context F1. They show an empty page. But it
> shows the default page if I open prog.chm for example in LHelp via
> File/Open.
>
> An other difference: Calling LHelp via context F1 doesn't show the toc.
> Tested with F1 on "TForm".
>
> Rolf

Hi Rolf,
I have placed the next version of patch and created a branch on a forum
for discussion
https://forum.lazarus.freepascal.org/index.php/topic,53218.0.html

--
Andrey
--
_______________________________________________
lazarus mailing list
[hidden email]
https://lists.lazarus-ide.org/listinfo/lazarus