Move more code in the try/finally as a precaution. Bad things
where happening (i.e. NPE) but the monitor was not decremented
* index/org/eclipse/cdt/internal/core/indexing/IndexManager.java
Fix NPEs: PathEntryManager should be created first, since it will
be use by other components.
* model/org/eclipse/cdt/internal/core/model/PathEntryManager.java
* src/org/eclipse/cdt/core/CCorePlugin.java
* plugin.xml
This patch includes:
- several enhancements made to the DOM AST View to improve performance
- "Display Problems" button that will display all found IASTProblems in the AST via the Search View
- a new "No Indexer" null indexer used for projects that don't need indexing
- temporary modification to the Automated suite to get around TypeCache manager kicking off unwanted upgrades
during JUnits
-> added IASTNode.accept( ASTVisitor )
-> old BaseVisitorAction is now ASTVisitor
-> old CBaseVisitorAction is now CASTVisitor (extends ASTVisitor)
-> old CPPBaseVisitorAction is now CPPASTVisitor (extends ASTVisitor)
-> old IASTVisitor, ICASTVisitor, ICPPASTVisitor are gone
-> CVisitor.visit* and CPPVisitor.visit* are gone, replaced by accept on each ast node.
now, instead of tu.getVisitor().visitTranslationUnit( action )
do tu.accept( action )
Part of plan item 79518: for PathEntry variable manager.
Not enable.
* plugin.xml
* src/org/eclipse/cdt/internal/ui/preferences/PathEntryVariableDialog.java
* src/org/eclipse/cdt/internal/ui/preferences/PathEntryVariablePreferencePage.java
* src/org/eclipse/cdt/internal/ui/preferences/PathEntryVariableGroup.java
* src/org/eclipse/cdt/internal/ui/preferences/PreferencesMessages.properties
This patch includes:
- cleaned up style so that exceptions are not used to return a common result
- added some selection tests
- added a bandaid solution to bug 86993 (it does not fix the real problem though)
Part of plan item 79518: for PathEntry variable manager.
Not enable.
* plugin.xml
* src/org/eclipse/cdt/internal/ui/preferences/PathEntryVariableDialog.java
* src/org/eclipse/cdt/internal/ui/preferences/PathEntryVariablePreferencePage.java
* src/org/eclipse/cdt/internal/ui/preferences/PathEntryVariableGroup.java
* src/org/eclipse/cdt/internal/ui/preferences/PreferencesMessages.properties