1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-07-24 17:35:35 +02:00
Find a file
Andrew Eidsness 25a0992a63 Bug 425787: Reindex projects when Qt nature is added
If a project description is changed to add the Qt nature then the PDOM
needs to be rebuilt.

Since index rebuilds are potentially expensive, this first checks to
make sure the PDOM does not already contain the QtLinkage.  If the
linkage already exists, then it will be updated by the normal triggers.

The reindex operation should only be needed to add the linkage the first
time the nature is added.

This does not trigger a reindex if the nature is removed.  Without the
nature, the extra linkage will be safely ignored.  The C++ linkage is
(proportionally) much larger than the Qt linkage, so it doesn't make
sense to spend significant time rebuilding the index just for the small
space savings.

Change-Id: I263b05e4de407775979843f5d6a9c8c172948d72
Signed-off-by: Andrew Eidsness <eclipse@jfront.com>
Reviewed-on: https://git.eclipse.org/r/20680
Tested-by: Hudson CI
Reviewed-by: Doug Schaefer <dschaefer@qnx.com>
IP-Clean: Doug Schaefer <dschaefer@qnx.com>
2014-01-20 12:11:46 -05:00
build Bug 423192 - Fix AutotoolsNewMakeGenerator getWinOSType method 2013-12-05 17:28:40 -05:00
codan Bug 424160: null checks for CodanPreferencesLoader.getProjectNode 2013-12-17 17:17:59 -05:00
core Bug 425538 - Syntax errors in QML reported as "C/C++ Problems" because errors from Qt Linguist 2014-01-16 10:46:50 -05:00
cross bug 420287: CDT features are scattered around in update manager 2013-10-24 11:11:58 -04:00
debug Bug 419391 - Contribute Windows PTY support 2013-12-16 09:54:34 +01:00
doc bug 422558: Managed build projects context help is broken 2014-01-07 10:21:18 -05:00
dsf Bug 250323 - Each memory context needs a different memory retrieval 2014-01-15 09:06:21 -05:00
dsf-gdb Bug 250323 - Each memory context needs a different memory retrieval 2014-01-15 09:06:21 -05:00
jtag Bug 413437 - Disable 'delay' command when appropriate. This was a bug 2014-01-09 11:46:41 -05:00
launch/org.eclipse.cdt.launch Fixed parent pom version to reference 2013-08-27 15:16:24 -04:00
llvm bug 420287: CDT features are scattered around in update manager 2013-10-24 11:11:58 -04:00
lrparser Bug 353281 - Content assist for designated initializers, additional fix 2013-12-20 20:33:20 -05:00
memory Bug 416391 - NullPointerException in FPRendering when adding in Mem view 2013-09-06 19:44:22 -04:00
p2 Bug 423201 remove the Generate Wascana launcher. 2014-01-06 14:03:53 -05:00
qt Bug 425787: Reindex projects when Qt nature is added 2014-01-20 12:11:46 -05:00
releng Forgot run goal on repo unzip. 2013-12-12 16:08:21 -05:00
testsrunner Bug 422962 - Boost Testrunner: BOOST_PARAM_TEST_CASE not working 2013-12-11 23:03:06 -05:00
upc Bug 421247 - ASTNode.copy() chaining inconsistent 2013-11-25 21:37:10 -05:00
util bug 420287: CDT features are scattered around in update manager 2013-10-24 11:11:58 -04:00
visualizer bug 420287: CDT features are scattered around in update manager 2013-10-24 11:11:58 -04:00
windows bug 420287: CDT features are scattered around in update manager 2013-10-24 12:50:54 -04:00
xlc Bug 421247 - ASTNode.copy() chaining inconsistent 2013-11-25 21:37:10 -05:00
.gitignore Ignore NFS-created files. 2012-11-08 13:34:54 -08:00
pom.xml Bug 418536 - Add Qt tests to maven build. 2013-11-29 23:27:13 -05:00