Forum > Packages and Libraries

TCustomShellTreeView.GetFilesInDir() in KASComp package

(1/2) > >>

JuhaManninen:
CASComp package downloaded from OPM does not compile. The error :

--- Code: Pascal  [+][-]window.onload = function(){var x1 = document.getElementById("main_content_section"); if (x1) { var x = document.getElementsByClassName("geshi");for (var i = 0; i < x.length; i++) { x[i].style.maxHeight='none'; x[i].style.height = Math.min(x[i].clientHeight+15,306)+'px'; x[i].style.resize = "vertical";}};} ---kaspathedit.pas(121,26) Error: identifier idents no member "GetFilesInDir"at line calling

--- Code: Pascal  [+][-]window.onload = function(){var x1 = document.getElementById("main_content_section"); if (x1) { var x = document.getElementsByClassName("geshi");for (var i = 0; i < x.length; i++) { x[i].style.maxHeight='none'; x[i].style.height = Math.min(x[i].clientHeight+15,306)+'px'; x[i].style.resize = "vertical";}};} ---TCustomShellTreeView.GetFilesInDir(...)In ShellCtrls I find a helper procedure GetFilesInDir() which has no definition in the interface section.
I guess there used to be a class procedure TCustomShellTreeView.GetFilesInDir() earlier.

CASComp is a requirement for Double Commander which I try to build.
I am testing with the latest Lazarus trunk.
How to proceed?

wp:

--- Quote from: JuhaManninen on December 02, 2023, 09:23:33 am ---CASComp package downloaded from OPM does not compile.

--- End quote ---
Cannot find this package in OPM. What is its exact name?


--- Quote from: JuhaManninen on December 02, 2023, 09:23:33 am ---In ShellCtrls I find a helper procedure GetFilesInDir() which has no definition in the interface section.
I guess there used to be a class procedure TCustomShellTreeView.GetFilesInDir() earlier.

--- End quote ---
Yes, removed by yourself in commit "98045780a16d65b4e0a3625507835b03f5b4eba7 LCL: Use TMaskList always for ShellListView.Mask. Enable all TMask syntax including sets." on Febr 24 2021. Cerainly there was good reason for it...


--- Quote from: JuhaManninen on December 02, 2023, 09:23:33 am ---How to proceed?

--- End quote ---
Would it make sense to re-add the class procedure and make it call the "hidden" procedure in the implementation part?

JuhaManninen:

--- Quote from: wp on December 02, 2023, 11:59:25 am ---
--- Quote from: JuhaManninen on December 02, 2023, 09:23:33 am ---CASComp package downloaded from OPM does not compile.

--- End quote ---
Cannot find this package in OPM. What is its exact name?

--- End quote ---
Oops, it is actually KASComp. The metapackage in OPM is KASToolBar.


--- Quote ---Yes, removed by yourself in commit "98045780a16d65b4e0a3625507835b03f5b4eba7 LCL: Use TMaskList always for ShellListView.Mask. Enable all TMask syntax including sets." on Febr 24 2021. Cerainly there was good reason for it...

--- End quote ---
Oh boy, in 2021. Yes, I will add a class procedure and mark it for merge to fixes_3_0.
[Edit] Done.

Chusik:
OPM contains a very outdated KASComp version. Actual component versions included in the Double Commander sources ("components" subdirectory). Also see.

JuhaManninen:

--- Quote from: Chusik on December 02, 2023, 12:35:21 pm ---OPM contains a very outdated KASComp version. Actual component versions included in the Double Commander sources ("components" subdirectory). Also see.

--- End quote ---
OK, I see. Thanks.
I installed them and was able to run Double Commander with LCL-QT5. With LCL-GTK2 it hangs for some reason. A resource monitor shows a zombie process then.
The situation with required packages is less than perfect. Packages are reusable by nature and OPM is a logical way to get them. Now we even have an option to install a missing package requirement directly from the Project Inspector, without opening OPM explicitly.
Maybe Double Commander developers should push maintainers of the required packages to get the packages updated in OPM instead of copying them into DC sources.

Navigation

[0] Message Index

[#] Next page

Go to full version