summaryrefslogtreecommitdiff
path: root/src/lib/buildgraph/scanresultcache.cpp
Commit message (Collapse)AuthorAgeFilesLines
* do not scan files that are currently generatedJoerg Bornemann2013-02-041-0/+5
| | | | | | | | | | We must not scan files that are in the state "Building". These files must be removed from the scan result cache. Inputs of dependents of these file must be scanned again in the next build round. Change-Id: Ic77f37ebc11224d16605701660ce09a8aaf6b194 Reviewed-by: Christian Kandeler <christian.kandeler@digia.com>
* remove mutexes from ScanResultCacheJoerg Bornemann2013-02-041-4/+0
| | | | | | | This class is used in only one thread. Change-Id: I5d30ffda125ba3f3a9f7ddea79590943513a2bd0 Reviewed-by: Christian Kandeler <christian.kandeler@digia.com>
* update copyright yearJoerg Bornemann2013-01-091-1/+1
| | | | | Change-Id: Ic2962e57ede037b910d7e77b01b0163f0a22cb7d Reviewed-by: Christian Kandeler <christian.kandeler@digia.com>
* Reduce compile dependencies.Christian Kandeler2012-11-291-1/+1
| | | | | | | | | | | | | | | | | While it seems elegant at first glance to do typedefs in class scope, it has one serious drawback: Forward declarations become impossible unless they use the non-typedef'ed type name, which defeats the purpose. As a result, dozens of headers currently include language.h and buildgraph.h, even though they technically don't have to. Fix this by introducing special forward-declaring headers and doing the typedefs there, outside the class scope. Now changes to header files included in language.h or buildgraph.h don't ripple through half the project anymore. Along the way, also remove unneeded and potentially harmful INCLUDEPATH statements from various pri files. Change-Id: Ib50db850876955216db7f39b6099c32d1239092b Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
* Introduce namespace Internal.Christian Kandeler2012-11-081-0/+2
| | | | | | | | | This makes it obvious at first glance which facilities are for public use and which are not, which should be useful especially for clients of the library. Change-Id: I7f74f13b5c8a4c63a1de57bf607084a3a3852653 Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
* license and copyright updatedJoerg Bornemann2012-10-081-29/+21
| | | | | | Change-Id: I0c0b3035514ee6b735e85c098029fa2f41edb6ff Reviewed-by: Christian Kandeler <christian.kandeler@digia.com> Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
* Use QMutexLocker where appropriate.Christian Kandeler2012-10-051-6/+5
| | | | | Change-Id: Ic0088cc4f5aac50ba63b5b00b75d6fe8a741d3e8 Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
* ScanResultCache::Dependency performance fixJoerg Bornemann2012-06-051-0/+11
| | | | | | | Only check the directory part of includes for '.' and "//". Change-Id: I5174f89255496d2841a89eb3f91dc81ad1ca0d60 Reviewed-by: Christian Kandeler <christian.kandeler@nokia.com>
* Long live qbs!Joerg Bornemann2012-02-151-0/+56
Change-Id: I412793e868919a9ac99611616f292e7047f1ebcf