Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 360891

Summary: [Architecture] Photran core, core.vpg, and UI should not depend on CDT
Product: [Tools] PTP Reporter: Jeffrey Overbey <com-eclipse-dot-org>
Component: Photran.For Internal UseAssignee: Jeffrey Overbey <com-eclipse-dot-org>
Status: ASSIGNED --- QA Contact:
Severity: enhancement    
Priority: P5    
Version: 7.0   
Target Milestone: ---   
Hardware: All   
OS: All   
Whiteboard:

Description Jeffrey Overbey CLA 2011-10-13 17:25:47 EDT
The only Photran plug-ins with dependencies on CDT should be
- cdtinterface and cdtinterface.vpg
- managed build plug-ins
- preprocessor.c
- automated tests which rely on these plug-ins

In particular,
- error parsers should be moved from photran.core into cdtinterface
- photran.core.vpg's spurious dependency on cdt.core should be removed
- the CDT references in photran.ui should be removed

Eventually, it would be ideal to eliminate the CDTBasedTextEditor class altogether, although that does not appear to be feasible in the short term.
Comment 1 Jeffrey Overbey CLA 2011-10-13 17:33:35 EDT
The error parsers have been moved and the core.vpg dependency have been removed in HEAD.
Comment 2 Jeffrey Overbey CLA 2011-10-13 19:45:41 EDT
The dependencies from photran.ui have also been removed in HEAD.

I was not able to remove the CDT dependencies from ui.vpg since it depends on FortranElement (for completion proposal images) and CCompositeReconcilingStrategy.

This should be targeted for 8.0, then closed.