Re: [Lazarus] Creating packages - what to include?

2020-12-28 Thread Corpsman via lazarus
Hello,   i have a similar folder structure   /... /Projects/   And lots of libs folders /.../Projects/libs/openGLLibs /.../Projects/libs/GraphicLibs /.../Projects/libs/DataLibs ... If for some reason i need a project specific configuration in the lib i manage this via a .inc file that is

Re: [Lazarus] lHelp improvements

2020-12-28 Thread Mattias Gaertner via lazarus
On Mon, 28 Dec 2020 21:05:00 +0100 Marco van de Voort via lazarus wrote: >[...] > It is wise to bring this up early, because it might require changes > to the general Lazarus  help system, since lhelp needs to get a list > of registered help files at once (so it can manage the combined index > t

Re: [Lazarus] Creating packages - what to include?

2020-12-28 Thread Bart via lazarus
On Mon, Dec 28, 2020 at 6:13 PM Bo Berglund via lazarus wrote: > Could you please direct me to where in Lazarus this can be done? It is in Complier options. It has a checkbox "Set compiler options as default". My folder layout is like: \\LazarusProjecten\ Each application's main lpi resides in a

Re: [Lazarus] Creating packages - what to include?

2020-12-28 Thread Jean SUZINEAU via lazarus
Le 28/12/2020 à 18:13, Bo Berglund via lazarus a écrit : Could you please direct me to where in Lazarus this can be done? Usually when I add a unit uA.pas to a project (by opening the unit in the code and then hitting Shift+F11 or Project/Add editor file to project), Lazarus asks me if I want

Re: [Lazarus] Creating packages - what to include?

2020-12-28 Thread Bo Berglund via lazarus
On Mon, 28 Dec 2020 18:31:54 +0100, Werner Pamler via lazarus wrote: >You are talking of runtime code only. Here are instructions how to >create a Lazarus runtime package (I never created an FPC package...): Go >to "Package" > "New package", specify name and location of the new >package, an em

Re: [Lazarus] lHelp improvements

2020-12-28 Thread Sergey Bodrov via lazarus
chm indexes opens and reads in milliseconds. But filling Index TreeView in LHelp takes seconds of time. Place BeginUpdate / EndUpdate around TreeView filling, and delay will gone. hh.exe can use external combined Index and Search for multiple chm's. On Sun, Dec 27, 2020, 17:15 Соболь Андрей Евген

Re: [Lazarus] lHelp improvements

2020-12-28 Thread Marco van de Voort via lazarus
Op 12/28/2020 om 4:03 PM schreef Andrey Sobol via lazarus: Afaik most of the binary indexes (index, FTS) can be mergesorted together rather cheaply and then stored on disk. Using these rather than converting everything to text and then parse that again would make it very fast. This is what

Re: [Lazarus] Creating packages - what to include?

2020-12-28 Thread Werner Pamler via lazarus
You are talking of runtime code only. Here are instructions how to create a Lazarus runtime package (I never created an FPC package...): Go to "Package" > "New package", specify name and location of the new package, an empty package will be created automatically. In the package editor which ope

Re: [Lazarus] Creating packages - what to include?

2020-12-28 Thread Bo Berglund via lazarus
On Mon, 28 Dec 2020 16:39:32 +0100, Bart via lazarus wrote: >On Mon, Dec 28, 2020 at 4:24 PM Bo Berglund via lazarus > wrote: > >> >I have created a number of classes that are useful in multiple >> >projects. > >I have all my usefull units in one folder (you can use multiple >folders if so desire

Re: [Lazarus] Creating packages - what to include?

2020-12-28 Thread Bart via lazarus
On Mon, Dec 28, 2020 at 4:24 PM Bo Berglund via lazarus wrote: > >I have created a number of classes that are useful in multiple > >projects. I have all my usefull units in one folder (you can use multiple folders if so desired). This folder is in the -Fu path of all my projects. This can be eas

Re: [Lazarus] Creating packages - what to include?

2020-12-28 Thread Bo Berglund via lazarus
On Mon, 28 Dec 2020 16:14:09 +0100, Bo Berglund via lazarus wrote: >I have created a number of classes that are useful in multiple >projects. Originally I have copied the source files between the >projects in order to use the classes, but it has resulted in >differences between the projects regar

[Lazarus] Creating packages - what to include?

2020-12-28 Thread Bo Berglund via lazarus
I have created a number of classes that are useful in multiple projects. Originally I have copied the source files between the projects in order to use the classes, but it has resulted in differences between the projects regarding the source files when I modify the class. So I am looking for a dif

Re: [Lazarus] lHelp improvements

2020-12-28 Thread Andrey Sobol via lazarus
Afaik most of the binary indexes (index, FTS) can be mergesorted together rather cheaply and then stored on disk. Using these rather than converting everything to text and then parse that again would make it very fast. This is what HH does. Even faster is caching the result of the merge on

Re: [Lazarus] lHelp improvements

2020-12-28 Thread Marco van de Voort via lazarus
Op 12/28/2020 om 2:03 AM schreef Mattias Gaertner via lazarus: - When I press F1 for the lHelp enabled for context searching, then Lazarus send group of command as got BeginUpdate got BeginUpdate got rturl, filename M:\lazarus\docs\chm\fcl.chm, url /index.html got rturl, f

Re: [Lazarus] Losing desktop when restarting Lazarus - where are desktop settings saved?

2020-12-28 Thread Mattias Gaertner via lazarus
On Mon, 28 Dec 2020 11:21:00 +0100 Bo Berglund via lazarus wrote: > On Mon, 28 Dec 2020 01:35:54 +0100, Mattias Gaertner via lazarus > wrote: > > >On Sun, 27 Dec 2020 18:58:58 -0500 > >wkitty42--- via lazarus wrote: > > > >> On 12/27/20 5:15 PM, Mattias Gaertner via lazarus wrote: > >> > W

Re: [Lazarus] Losing desktop when restarting Lazarus - where are desktop settings saved?

2020-12-28 Thread Bo Berglund via lazarus
On Mon, 28 Dec 2020 01:35:54 +0100, Mattias Gaertner via lazarus wrote: >On Sun, 27 Dec 2020 18:58:58 -0500 >wkitty42--- via lazarus wrote: > >> On 12/27/20 5:15 PM, Mattias Gaertner via lazarus wrote: >> > When the IDE starts, and there is no environmentoptions.xml file it >> > copies it from t

Re: [Lazarus] lHelp improvements

2020-12-28 Thread Werner Pamler via lazarus
Am 28.12.2020 um 02:03 schrieb Mattias Gaertner via lazarus: What package opens hh.exe in Lazarus? No special package needed. As I described in https://wiki.freepascal.org/Installing_Help_in_the_IDE#Installing_CHM_help_.28Lazarus_1.0_and_later.29, hh.exe (the Windows help viewer) can be made to