[Lazarus] Delphi converter scanning the parent directory for unit files
Juha Manninen
juha.manninen62 at gmail.com
Sat Aug 25 18:22:07 CEST 2012
Hi
There was discussion about the background scanning thread that runs
automatically when the converter's settings dialog is shown.
It is true that the user must have control over it.
One idea was to ask about it in a new dialog window. I don't like it, I
have tried to get rid of the numerous question dialogs that are popping up.
Another idea was to add an option for it in the settings dialog. This would
break the original clever (?) idea of running the thread while the settings
dialog is shown thus not adding any delay for the actual conversion in most
cases. If the scanning can be started only after the dialog then there is
no use for a separate thread.
I solved it now by still starting the thread automatically but adding a
ProgressBar and a "Stop"-button for the user.
The scanning can be stopped anytime, for example in case of a slow
file-system or exceptionally big directory structure in the project's
parent dir.
Please test with Lazarus trunk.
Regards,
Juha
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20120825/e1781234/attachment-0002.html>
More information about the Lazarus
mailing list