On Mon, 23 Jan 2006 14:48:03 -0700
L505 <[EMAIL PROTECTED]> wrote:

> 
> > I just changed from using SMB to get to my source files to using NFS to
> > a Windows box.
> >
> > Now Lazarus complains around once a minute that the file has changed on
> > disk, and offers to reload the changes - looking at the DIFF provided,
> > there _are_ no changes.  I'm assuming it's an NFS or timeclock related
> > thing.
> >
> > Is there a way to disable this check in the Lazarus IDE?  I checked the
> > options but couldn't find anything.
> >
> 
> I have this same problem when compiling my files with fakelinux, because
> my files are synchronized with samba. The feature we could implement would
> be "automatically refresh without notification" or similar checkbox in the
> environment or editor options.

The files didn't changed on disk, so an automatic refresh would undo your
current changes.

At the moment the IDE does this:
On saving/opening a file it retrieves the FileAge of the file.
At several occassions it compares these file dates with the current file
dates.
If it changed it gives the user the choice.
When the server and the client are not properly synchronized, the file dates
differ (but not immediately because of the caches) and for the client it
seems as if the file changed.
We could extend the check to load the file and compare its content.


Mattias

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

Reply via email to