On Wed, 7 Dec 2005, Mattias Gaertner wrote:

On Wed, 07 Dec 2005 12:14:40 +0100
Micha Nelissen <[EMAIL PROTECTED]> wrote:

Michael Van Canneyt wrote:
"no project related files" is really a lot

Why ? Lazarus keeps a list of project files in the lpi file.
A modified flag is probably already present.

I don't know, Mattias may answer that ;-).

There is a modified flag. In fact there are two. One for the session
information and one for the data. But this split is not yet complete and
another story.
This flag does not help much here. see below.


So it's just a single loop with a check for a boolean ?

Well those files can use units which can include files that have been
modified etc.

Of course we can check whether any open editor files have been changed,
but that's not what we want, is it?

No.
The IDE is not the only tool to edit files.
We must check all involved files.

This is what I referred to with 'huge mechanisms' in lazarus,
something to be avoided :-)

This includes the compiler itself and the makro options.
I already started to add a .compiled state file for projects.

Better spend time on an internal linker for FPC.
More people will benefit from that :-)

Even then, I think there are other issues that are more important.
e.g. saving all modified package unit files when a package is compiled.

If this does not work, then the whole .compiled story is useless,
because the image that lazarus and the compiler have of the package
are different...

Michael.

_________________________________________________________________
    To unsubscribe: mail [EMAIL PROTECTED] with
               "unsubscribe" as the Subject
  archives at http://www.lazarus.freepascal.org/mailarchives

Reply via email to