Re: [fpc-pascal] Searching for files all over the disk

2012-08-21 Thread Jonas Maebe
Hi, Please move this discussion to the fpc-other or Lazarus list, thanks. Jonas FPC mailing lists admin ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] Searching for files all over the disk

2012-08-21 Thread Jürgen Hestermann
Am 2012-08-21 00:55, schrieb Juha Manninen: > About scanning "only paths specified by the user", do you really mean > the user should search for pascal sources in a to-be-converted > Delphi project directories, then type the directory names into > a config file and then feed that file to the conve

Re: [fpc-pascal] Searching for files all over the disk

2012-08-21 Thread Mattias Gaertner
On Tue, 21 Aug 2012 10:59:41 +0200 Jürgen Hestermann wrote: > Am 2012-08-21 00:00, schrieb Bart: > > My Delphi projects are located like this: > > ... > > As Juha has pointed out, this is a general way projects are organized. > > Realy? How do you know? That's just an assumption. He meant "c

Re: [fpc-pascal] Searching for files all over the disk

2012-08-21 Thread Jürgen Hestermann
Am 2012-08-21 00:00, schrieb Bart: > My Delphi projects are located like this: > ... > As Juha has pointed out, this is a general way projects are organized. Realy? How do you know? That's just an assumption. But my complain was more general about an increasing use of branch scanning (not only

Re: [fpc-pascal] Searching for files all over the disk

2012-08-20 Thread Juha Manninen
On Tue, Aug 21, 2012 at 2:11 AM, Martin wrote: > On 21/08/2012 00:09, Juha Manninen wrote: > >> The converter is clever enough to ask from user what to do with an >> unknown unit name. >> It can be commented out or the user can search and select its location. >> However, scanning the parent direc

Re: [fpc-pascal] Searching for files all over the disk

2012-08-20 Thread Martin
On 21/08/2012 00:09, Juha Manninen wrote: The converter is clever enough to ask from user what to do with an unknown unit name. It can be commented out or the user can search and select its location. However, scanning the parent directory makes the number of "stupid" questions lower as the obvi

Re: [fpc-pascal] Searching for files all over the disk

2012-08-20 Thread Martin
On 20/08/2012 23:55, Juha Manninen wrote: About scanning "only paths specified by the user", do you really mean the user should search for pascal sources in a to-be-converted Delphi project directories, then type the directory names into a config file and then feed that file to the converter's

Re: [fpc-pascal] Searching for files all over the disk

2012-08-20 Thread Juha Manninen
On Tue, Aug 21, 2012 at 1:28 AM, Martin wrote: > Well I am not myself a user of the converter. > But even if files are organized like this, then there may be several > versions of the "Mijn Lib" (or one of the units that should be found > there, is also in another folder). Then the converter can

Re: [fpc-pascal] Searching for files all over the disk

2012-08-20 Thread Juha Manninen
On Mon, Aug 20, 2012 at 5:47 PM, Jürgen Hestermann < juergen.hesterm...@gmx.de> wrote: > Well, it is a bad idea to wildly scan directory branches "just in case" at > all. > That's fooling so many people and there is no good reason for doing so. > Only paths specified by the user (i.e. in config) s

Re: [fpc-pascal] Searching for files all over the disk

2012-08-20 Thread Martin
On 20/08/2012 23:00, Bart wrote: On 8/20/12, Jürgen Hestermann wrote: Well, it is a bad idea to wildly scan directory branches "just in case" at all. In the context of the converter it is not a "just in case" scenario. My Delphi projects are located like this: F:\Delphi Projecten //all my p

Re: [fpc-pascal] Searching for files all over the disk

2012-08-20 Thread Bart
On 8/20/12, Jürgen Hestermann wrote: > Well, it is a bad idea to wildly scan directory branches "just in case" at > all. In the context of the converter it is not a "just in case" scenario. My Delphi projects are located like this: F:\Delphi Projecten //all my projects reside in a subfolder of

[fpc-pascal] Searching for files all over the disk

2012-08-20 Thread Jürgen Hestermann
Am 2012-08-20 16:28, schrieb Mattias Gaertner: Apparently it is a bad idea to scan a root directory. See http://bugs.freepascal.org/view.php?id=22630 Well, it is a bad idea to wildly scan directory branches "just in case" at all. That's fooling so many people and there is no good reason for d