Removing some functionality from custommakefile support
apaku at gmx.de
Sun Jul 22 08:40:39 UTC 2007
On 22.07.07 02:04:05, dukju ahn wrote:
> 2007/7/21, Andreas Pakulat <apaku at gmx.de>:
> > Hi,
> > I'm "pissed off" enough now to discuss this: I'd like to remove the
> > automatic updating of custommakefile projects. There's a dirwatcher in
> > place that watches all subdirectories of a project for changes. Each
> > time a change happens there are certain things done
> > a) for each source file in that dir a stat is done to check for its
> > existence (using QFileInfo::exists()), if it doesn't exist its
> > afterwards removed from the filelist and also from the blacklist
> No. rather than doing stat for each source file, stat is done only for
> the changed directory (the directory that contains added/deleted file)
> itself. Thus although 10 files are created/deleted in certain parent
> directory, existance check is done only for once, and fileCreated()
> signal is emitted only once.
Ooops, I guess I should've mentioned that its KDev3.4 :)
> > b) files that are not in the filelist and not in the blacklist, but fit
> > into the wildcards defined as project files are added to an internal
> > list. Also new dirs are added to the dirwatcher (which needs another
> > stat to find out wether the path is actually a dir or not).
> Are you saying kdevelop 3.4?
Don't plan any hasty moves. You'll be evicted soon anyway.
More information about the KDevelop-devel