[Lazarus] Delphi converter scanning the parent directory for unit files

Reinier Olislagers reinierolislagers at gmail.com
Sun Aug 26 06:58:41 CEST 2012


On 25-8-2012 23:42, Juha Manninen wrote:
> On Sat, Aug 25, 2012 at 8:12 PM, Reinier Olislagers
> <reinierolislagers at gmail.com <mailto:reinierolislagers at gmail.com>> wrote:
> 
>     > Please test with Lazarus trunk.
>     Seems to work fine with a Delphi project under d:\cop. Didn't even see a
>     screen where it was scanning for files.
>     FPC x86 2.6.1, Windows Vista x64, NTFS, 17 dirs in d:\, but 0 files.
> 
> 
> Yes, I forgot to mention that the Bart's improvement is also included.
> It prevents scanning the root directory.
> I think it is a good rule even it does not make difference between the
> drives (C:\, D:\ ...).
> 
> If you want to see the ProgressBar and a "Stop"-button, place your
> project for example beside Lazarus source tree (or FPC source tree) so
> they have the same parent directory.
> I am afraid it will be slower on Windows. On Linux it happens quickly
> especially when the files are once cached by the OS.
Yep, putting it in c:\development next to my fpcup Lazarus+FPC does show
the bar ;)
Stopping it works nicely.
Very well thought-out feature, thanks Juha!





More information about the Lazarus mailing list