Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--codan/org.eclipse.cdt.codan.ui.cfgview/.classpath7
-rw-r--r--codan/org.eclipse.cdt.codan.ui.cfgview/.project34
-rw-r--r--codan/org.eclipse.cdt.codan.ui.cfgview/.settings/org.eclipse.jdt.core.prefs8
-rw-r--r--codan/org.eclipse.cdt.codan.ui.cfgview/META-INF/MANIFEST.MF19
-rw-r--r--codan/org.eclipse.cdt.codan.ui.cfgview/build.properties6
-rw-r--r--codan/org.eclipse.cdt.codan.ui.cfgview/icons/connector.pngbin1036 -> 0 bytes
-rw-r--r--codan/org.eclipse.cdt.codan.ui.cfgview/icons/decision.pngbin1291 -> 0 bytes
-rw-r--r--codan/org.eclipse.cdt.codan.ui.cfgview/icons/exit.pngbin1059 -> 0 bytes
-rw-r--r--codan/org.eclipse.cdt.codan.ui.cfgview/icons/jump.pngbin328 -> 0 bytes
-rw-r--r--codan/org.eclipse.cdt.codan.ui.cfgview/icons/labeled.pngbin320 -> 0 bytes
-rw-r--r--codan/org.eclipse.cdt.codan.ui.cfgview/icons/refresh_view.gifbin182 -> 0 bytes
-rw-r--r--codan/org.eclipse.cdt.codan.ui.cfgview/icons/start.pngbin1038 -> 0 bytes
-rw-r--r--codan/org.eclipse.cdt.codan.ui.cfgview/icons/task.pngbin996 -> 0 bytes
-rw-r--r--codan/org.eclipse.cdt.codan.ui.cfgview/plugin.xml16
-rw-r--r--codan/org.eclipse.cdt.codan.ui.cfgview/src/org/eclipse/cdt/codan/ui/cfgview/ControlFlowGraphPlugin.java82
-rw-r--r--codan/org.eclipse.cdt.codan.ui.cfgview/src/org/eclipse/cdt/codan/ui/cfgview/views/ControlFlowGraphView.java426
-rw-r--r--windows/org.eclipse.cdt.msw.build/.classpath7
-rw-r--r--windows/org.eclipse.cdt.msw.build/.cvsignore1
-rw-r--r--windows/org.eclipse.cdt.msw.build/.project28
-rw-r--r--windows/org.eclipse.cdt.msw.build/.settings/org.eclipse.jdt.core.prefs12
-rw-r--r--windows/org.eclipse.cdt.msw.build/META-INF/MANIFEST.MF13
-rw-r--r--windows/org.eclipse.cdt.msw.build/build.properties6
-rw-r--r--windows/org.eclipse.cdt.msw.build/plugin.properties9
-rw-r--r--windows/org.eclipse.cdt.msw.build/plugin.xml658
-rw-r--r--windows/org.eclipse.cdt.msw.build/src/org/eclipse/cdt/msw/build/Activator.java50
-rw-r--r--windows/org.eclipse.cdt.msw.build/src/org/eclipse/cdt/msw/build/WinDiscoveredPathInfo.java57
-rw-r--r--windows/org.eclipse.cdt.msw.build/src/org/eclipse/cdt/msw/build/WinEnvironmentVariableSupplier.java160
-rw-r--r--windows/org.eclipse.cdt.msw.build/src/org/eclipse/cdt/msw/build/WinScannerInfoCollector.java41
28 files changed, 0 insertions, 1640 deletions
diff --git a/codan/org.eclipse.cdt.codan.ui.cfgview/.classpath b/codan/org.eclipse.cdt.codan.ui.cfgview/.classpath
deleted file mode 100644
index 64c5e31b7a..0000000000
--- a/codan/org.eclipse.cdt.codan.ui.cfgview/.classpath
+++ /dev/null
@@ -1,7 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<classpath>
- <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/J2SE-1.5"/>
- <classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/>
- <classpathentry kind="src" path="src"/>
- <classpathentry kind="output" path="bin"/>
-</classpath>
diff --git a/codan/org.eclipse.cdt.codan.ui.cfgview/.project b/codan/org.eclipse.cdt.codan.ui.cfgview/.project
deleted file mode 100644
index 3df8f20cc9..0000000000
--- a/codan/org.eclipse.cdt.codan.ui.cfgview/.project
+++ /dev/null
@@ -1,34 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<projectDescription>
- <name>org.eclipse.cdt.codan.ui.cfgview</name>
- <comment></comment>
- <projects>
- </projects>
- <buildSpec>
- <buildCommand>
- <name>org.eclipse.jdt.core.javabuilder</name>
- <arguments>
- </arguments>
- </buildCommand>
- <buildCommand>
- <name>org.eclipse.pde.ManifestBuilder</name>
- <arguments>
- </arguments>
- </buildCommand>
- <buildCommand>
- <name>org.eclipse.pde.SchemaBuilder</name>
- <arguments>
- </arguments>
- </buildCommand>
- <buildCommand>
- <name>org.eclipse.pde.api.tools.apiAnalysisBuilder</name>
- <arguments>
- </arguments>
- </buildCommand>
- </buildSpec>
- <natures>
- <nature>org.eclipse.pde.PluginNature</nature>
- <nature>org.eclipse.jdt.core.javanature</nature>
- <nature>org.eclipse.pde.api.tools.apiAnalysisNature</nature>
- </natures>
-</projectDescription>
diff --git a/codan/org.eclipse.cdt.codan.ui.cfgview/.settings/org.eclipse.jdt.core.prefs b/codan/org.eclipse.cdt.codan.ui.cfgview/.settings/org.eclipse.jdt.core.prefs
deleted file mode 100644
index 345c8c8218..0000000000
--- a/codan/org.eclipse.cdt.codan.ui.cfgview/.settings/org.eclipse.jdt.core.prefs
+++ /dev/null
@@ -1,8 +0,0 @@
-#Sat Mar 27 20:39:28 EDT 2010
-eclipse.preferences.version=1
-org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
-org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.5
-org.eclipse.jdt.core.compiler.compliance=1.5
-org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
-org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
-org.eclipse.jdt.core.compiler.source=1.5
diff --git a/codan/org.eclipse.cdt.codan.ui.cfgview/META-INF/MANIFEST.MF b/codan/org.eclipse.cdt.codan.ui.cfgview/META-INF/MANIFEST.MF
deleted file mode 100644
index 927ab94ffd..0000000000
--- a/codan/org.eclipse.cdt.codan.ui.cfgview/META-INF/MANIFEST.MF
+++ /dev/null
@@ -1,19 +0,0 @@
-Manifest-Version: 1.0
-Bundle-ManifestVersion: 2
-Bundle-Name: Control Flow Graph
-Bundle-SymbolicName: org.eclipse.cdt.codan.ui.cfgview;singleton:=true
-Bundle-Version: 1.0.0.qualifier
-Bundle-Activator: org.eclipse.cdt.codan.ui.cfgview.ControlFlowGraphPlugin
-Bundle-Vendor: Eclipse CDT
-Require-Bundle: org.eclipse.ui,
- org.eclipse.core.runtime,
- org.eclipse.cdt.codan.core;bundle-version="1.0.0",
- org.eclipse.cdt.codan.core.cxx;bundle-version="1.0.0",
- org.eclipse.cdt.core,
- org.eclipse.cdt.ui,
- org.eclipse.core.resources,
- org.eclipse.ui.editors
-Bundle-RequiredExecutionEnvironment: J2SE-1.5
-Bundle-ActivationPolicy: lazy
-Export-Package: org.eclipse.cdt.codan.ui.cfgview;x-internal:=true,
- org.eclipse.cdt.codan.ui.cfgview.views;x-internal:=true
diff --git a/codan/org.eclipse.cdt.codan.ui.cfgview/build.properties b/codan/org.eclipse.cdt.codan.ui.cfgview/build.properties
deleted file mode 100644
index 0d3d3a745d..0000000000
--- a/codan/org.eclipse.cdt.codan.ui.cfgview/build.properties
+++ /dev/null
@@ -1,6 +0,0 @@
-source.. = src/
-output.. = bin/
-bin.includes = plugin.xml,\
- META-INF/,\
- .,\
- icons/
diff --git a/codan/org.eclipse.cdt.codan.ui.cfgview/icons/connector.png b/codan/org.eclipse.cdt.codan.ui.cfgview/icons/connector.png
deleted file mode 100644
index f7e9831d34..0000000000
--- a/codan/org.eclipse.cdt.codan.ui.cfgview/icons/connector.png
+++ /dev/null
Binary files differ
diff --git a/codan/org.eclipse.cdt.codan.ui.cfgview/icons/decision.png b/codan/org.eclipse.cdt.codan.ui.cfgview/icons/decision.png
deleted file mode 100644
index 621d2c5c18..0000000000
--- a/codan/org.eclipse.cdt.codan.ui.cfgview/icons/decision.png
+++ /dev/null
Binary files differ
diff --git a/codan/org.eclipse.cdt.codan.ui.cfgview/icons/exit.png b/codan/org.eclipse.cdt.codan.ui.cfgview/icons/exit.png
deleted file mode 100644
index c1c59a9533..0000000000
--- a/codan/org.eclipse.cdt.codan.ui.cfgview/icons/exit.png
+++ /dev/null
Binary files differ
diff --git a/codan/org.eclipse.cdt.codan.ui.cfgview/icons/jump.png b/codan/org.eclipse.cdt.codan.ui.cfgview/icons/jump.png
deleted file mode 100644
index 0684374bdc..0000000000
--- a/codan/org.eclipse.cdt.codan.ui.cfgview/icons/jump.png
+++ /dev/null
Binary files differ
diff --git a/codan/org.eclipse.cdt.codan.ui.cfgview/icons/labeled.png b/codan/org.eclipse.cdt.codan.ui.cfgview/icons/labeled.png
deleted file mode 100644
index dad4626a9e..0000000000
--- a/codan/org.eclipse.cdt.codan.ui.cfgview/icons/labeled.png
+++ /dev/null
Binary files differ
diff --git a/codan/org.eclipse.cdt.codan.ui.cfgview/icons/refresh_view.gif b/codan/org.eclipse.cdt.codan.ui.cfgview/icons/refresh_view.gif
deleted file mode 100644
index a063c230ac..0000000000
--- a/codan/org.eclipse.cdt.codan.ui.cfgview/icons/refresh_view.gif
+++ /dev/null
Binary files differ
diff --git a/codan/org.eclipse.cdt.codan.ui.cfgview/icons/start.png b/codan/org.eclipse.cdt.codan.ui.cfgview/icons/start.png
deleted file mode 100644
index ce34b006b1..0000000000
--- a/codan/org.eclipse.cdt.codan.ui.cfgview/icons/start.png
+++ /dev/null
Binary files differ
diff --git a/codan/org.eclipse.cdt.codan.ui.cfgview/icons/task.png b/codan/org.eclipse.cdt.codan.ui.cfgview/icons/task.png
deleted file mode 100644
index ba992a8ace..0000000000
--- a/codan/org.eclipse.cdt.codan.ui.cfgview/icons/task.png
+++ /dev/null
Binary files differ
diff --git a/codan/org.eclipse.cdt.codan.ui.cfgview/plugin.xml b/codan/org.eclipse.cdt.codan.ui.cfgview/plugin.xml
deleted file mode 100644
index 40df7b700c..0000000000
--- a/codan/org.eclipse.cdt.codan.ui.cfgview/plugin.xml
+++ /dev/null
@@ -1,16 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<?eclipse version="3.4"?>
-<plugin>
-
- <extension
- point="org.eclipse.ui.views">
- <view
- category="org.eclipse.cdt.ui.views"
- class="org.eclipse.cdt.codan.ui.cfgview.views.ControlFlowGraphView"
- icon="icons/decision.png"
- id="oeg.eclipse.cdt.codan.ui.cfgview.views.ControlFlowGraphView"
- name="Control Flow Graph">
- </view>
- </extension>
-
-</plugin>
diff --git a/codan/org.eclipse.cdt.codan.ui.cfgview/src/org/eclipse/cdt/codan/ui/cfgview/ControlFlowGraphPlugin.java b/codan/org.eclipse.cdt.codan.ui.cfgview/src/org/eclipse/cdt/codan/ui/cfgview/ControlFlowGraphPlugin.java
deleted file mode 100644
index 5c04087efa..0000000000
--- a/codan/org.eclipse.cdt.codan.ui.cfgview/src/org/eclipse/cdt/codan/ui/cfgview/ControlFlowGraphPlugin.java
+++ /dev/null
@@ -1,82 +0,0 @@
-package org.eclipse.cdt.codan.ui.cfgview;
-
-import org.eclipse.jface.resource.ImageDescriptor;
-import org.eclipse.jface.resource.ImageRegistry;
-import org.eclipse.swt.graphics.Image;
-import org.eclipse.ui.plugin.AbstractUIPlugin;
-import org.osgi.framework.BundleContext;
-
-/**
- * The activator class controls the plug-in life cycle
- */
-public class ControlFlowGraphPlugin extends AbstractUIPlugin {
-
- // The plug-in ID
- public static final String PLUGIN_ID = "org.eclipse.cdt.codan.ui.cfgview"; //$NON-NLS-1$
-
- // The shared instance
- private static ControlFlowGraphPlugin plugin;
-
- /**
- * The constructor
- */
- public ControlFlowGraphPlugin() {
- }
-
- /*
- * (non-Javadoc)
- * @see org.eclipse.ui.plugin.AbstractUIPlugin#start(org.osgi.framework.BundleContext)
- */
- public void start(BundleContext context) throws Exception {
- super.start(context);
- plugin = this;
- }
-
- /*
- * (non-Javadoc)
- * @see org.eclipse.ui.plugin.AbstractUIPlugin#stop(org.osgi.framework.BundleContext)
- */
- public void stop(BundleContext context) throws Exception {
- plugin = null;
- super.stop(context);
- }
-
- /**
- * Returns the shared instance
- *
- * @return the shared instance
- */
- public static ControlFlowGraphPlugin getDefault() {
- return plugin;
- }
-
- /**
- * Returns an image descriptor for the image file at the given
- * plug-in relative path
- *
- * @param path the path
- * @return the image descriptor
- */
- public ImageDescriptor getImageDescriptor(String key) {
- ImageRegistry registry = getImageRegistry();
- ImageDescriptor descriptor = registry.getDescriptor(key);
- if (descriptor == null) {
- descriptor = imageDescriptorFromPlugin(PLUGIN_ID,key);
- registry.put(key, descriptor);
- }
- return descriptor;
- }
-
- public Image getImage(String key) {
- ImageRegistry registry = getImageRegistry();
- Image image = registry.get(key);
- if (image == null) {
- ImageDescriptor descriptor = imageDescriptorFromPlugin(PLUGIN_ID,key);
- registry.put(key, descriptor);
- image = registry.get(key);
- }
- return image;
- }
-
-
-}
diff --git a/codan/org.eclipse.cdt.codan.ui.cfgview/src/org/eclipse/cdt/codan/ui/cfgview/views/ControlFlowGraphView.java b/codan/org.eclipse.cdt.codan.ui.cfgview/src/org/eclipse/cdt/codan/ui/cfgview/views/ControlFlowGraphView.java
deleted file mode 100644
index ccb391c52e..0000000000
--- a/codan/org.eclipse.cdt.codan.ui.cfgview/src/org/eclipse/cdt/codan/ui/cfgview/views/ControlFlowGraphView.java
+++ /dev/null
@@ -1,426 +0,0 @@
-package org.eclipse.cdt.codan.ui.cfgview.views;
-
-import java.util.ArrayList;
-import java.util.Collection;
-
-import org.eclipse.cdt.codan.core.cxx.internal.model.cfg.ControlFlowGraphBuilder;
-import org.eclipse.cdt.codan.core.cxx.internal.model.cfg.CxxControlFlowGraph;
-import org.eclipse.cdt.codan.core.model.cfg.IBasicBlock;
-import org.eclipse.cdt.codan.core.model.cfg.IBranchNode;
-import org.eclipse.cdt.codan.core.model.cfg.ICfgData;
-import org.eclipse.cdt.codan.core.model.cfg.IConnectorNode;
-import org.eclipse.cdt.codan.core.model.cfg.IControlFlowGraph;
-import org.eclipse.cdt.codan.core.model.cfg.IDecisionNode;
-import org.eclipse.cdt.codan.core.model.cfg.IExitNode;
-import org.eclipse.cdt.codan.core.model.cfg.IJumpNode;
-import org.eclipse.cdt.codan.core.model.cfg.ISingleOutgoing;
-import org.eclipse.cdt.codan.core.model.cfg.IStartNode;
-import org.eclipse.cdt.codan.internal.core.cfg.AbstractBasicBlock;
-import org.eclipse.cdt.codan.ui.cfgview.ControlFlowGraphPlugin;
-import org.eclipse.cdt.core.dom.ast.IASTDeclaration;
-import org.eclipse.cdt.core.dom.ast.IASTFileLocation;
-import org.eclipse.cdt.core.dom.ast.IASTFunctionDefinition;
-import org.eclipse.cdt.core.dom.ast.IASTNode;
-import org.eclipse.cdt.core.dom.ast.IASTTranslationUnit;
-import org.eclipse.cdt.core.dom.ast.c.CASTVisitor;
-import org.eclipse.cdt.core.model.CModelException;
-import org.eclipse.cdt.core.model.ILanguage;
-import org.eclipse.cdt.core.model.ITranslationUnit;
-import org.eclipse.cdt.core.parser.ParserUtil;
-import org.eclipse.cdt.core.resources.FileStorage;
-import org.eclipse.cdt.internal.ui.util.EditorUtility;
-import org.eclipse.cdt.ui.CDTUITools;
-import org.eclipse.cdt.ui.text.SharedASTJob;
-import org.eclipse.core.resources.IFile;
-import org.eclipse.core.resources.IResource;
-import org.eclipse.core.resources.ResourcesPlugin;
-import org.eclipse.core.runtime.CoreException;
-import org.eclipse.core.runtime.IPath;
-import org.eclipse.core.runtime.IStatus;
-import org.eclipse.core.runtime.Path;
-import org.eclipse.core.runtime.Status;
-import org.eclipse.core.runtime.jobs.Job;
-import org.eclipse.jface.action.Action;
-import org.eclipse.jface.action.IMenuListener;
-import org.eclipse.jface.action.IMenuManager;
-import org.eclipse.jface.action.IToolBarManager;
-import org.eclipse.jface.action.MenuManager;
-import org.eclipse.jface.action.Separator;
-import org.eclipse.jface.dialogs.MessageDialog;
-import org.eclipse.jface.viewers.DoubleClickEvent;
-import org.eclipse.jface.viewers.IDoubleClickListener;
-import org.eclipse.jface.viewers.ISelection;
-import org.eclipse.jface.viewers.ISelectionChangedListener;
-import org.eclipse.jface.viewers.IStructuredContentProvider;
-import org.eclipse.jface.viewers.IStructuredSelection;
-import org.eclipse.jface.viewers.ITreeContentProvider;
-import org.eclipse.jface.viewers.LabelProvider;
-import org.eclipse.jface.viewers.SelectionChangedEvent;
-import org.eclipse.jface.viewers.TreeViewer;
-import org.eclipse.jface.viewers.Viewer;
-import org.eclipse.swt.SWT;
-import org.eclipse.swt.graphics.Image;
-import org.eclipse.swt.widgets.Composite;
-import org.eclipse.swt.widgets.Menu;
-import org.eclipse.ui.IActionBars;
-import org.eclipse.ui.IEditorPart;
-import org.eclipse.ui.IWorkbenchActionConstants;
-import org.eclipse.ui.PartInitException;
-import org.eclipse.ui.PlatformUI;
-import org.eclipse.ui.part.DrillDownAdapter;
-import org.eclipse.ui.part.ViewPart;
-import org.eclipse.ui.texteditor.AbstractTextEditor;
-
-/**
- * This sample class demonstrates how to plug-in a new workbench view. The view
- * shows data obtained from the model. The sample creates a dummy model on the
- * fly, but a real implementation would connect to the model available either in
- * this or another plug-in (e.g. the workspace). The view is connected to the
- * model using a content provider.
- * <p>
- * The view uses a label provider to define how model objects should be
- * presented in the view. Each view can present the same model objects using
- * different labels and icons, if needed. Alternatively, a single label provider
- * can be shared between views in order to ensure that objects of the same type
- * are presented in the same way everywhere.
- * <p>
- */
-public class ControlFlowGraphView extends ViewPart {
- /**
- * The ID of the view as specified by the extension.
- */
- public static final String ID = "org.eclipse.cdt.codan.ui.cfgview.views.ControlFlowGraphView";
- private TreeViewer viewer;
- private DrillDownAdapter drillDownAdapter;
- private Action action1;
- private Action doubleClickAction;
-
- class ViewContentProvider implements IStructuredContentProvider,
- ITreeContentProvider {
- public void inputChanged(Viewer v, Object oldInput, Object newInput) {
- }
-
- public void dispose() {
- }
-
- public Object[] getElements(Object parent) {
- return getChildren(parent);
- }
-
- public Object getParent(Object child) {
- return null;
- }
-
- public Object[] getChildren(Object parent) {
- if (parent instanceof Collection) {
- return ((Collection) parent).toArray();
- } else if (parent instanceof IControlFlowGraph) {
- Collection<IBasicBlock> blocks = getFlat(
- ((IControlFlowGraph) parent).getStartNode(),
- new ArrayList<IBasicBlock>());
- return blocks.toArray();
- } else if (parent instanceof IDecisionNode) {
- ArrayList blocks = new ArrayList();
- IBasicBlock[] outgoingNodes = ((IDecisionNode) parent)
- .getOutgoingNodes();
- for (int i = 0; i < outgoingNodes.length; i++) {
- IBasicBlock arc= outgoingNodes[i];
- blocks.add(arc);
- }
- blocks.add(((IDecisionNode) parent).getMergeNode());
- return blocks.toArray();
- } else if (parent instanceof IBranchNode) {
- Collection<IBasicBlock> blocks = getFlat(((IBranchNode) parent)
- .getOutgoing(), new ArrayList<IBasicBlock>());
- return blocks.toArray();
- }
- return new Object[0];
- }
-
- public boolean hasChildren(Object parent) {
- return getChildren(parent).length > 0;
- }
-
- /**
- * @param list
- * @param startNode
- * @return
- */
- public Collection<IBasicBlock> getFlat(IBasicBlock node,
- Collection<IBasicBlock> list) {
- list.add(node);
- if (node instanceof IJumpNode)
- return list;
- if (node instanceof ISingleOutgoing) {
- getFlat(((ISingleOutgoing) node).getOutgoing(), list);
- } else if (node instanceof IDecisionNode) {
- getFlat(((IDecisionNode) node).getMergeNode().getOutgoing(),
- list);
- }
- return list;
- }
- }
-
- class ViewLabelProvider extends LabelProvider {
- public String getText(Object obj) {
- if (obj == null)
- return null;
- String strdata = "";
- if (obj instanceof ICfgData) {
- strdata = ((AbstractBasicBlock) obj).toStringData();
- }
- if (obj instanceof IConnectorNode) {
- strdata = blockHexLabel(obj) ;
- } else if (obj instanceof IJumpNode) {
- strdata = "jump to "+blockHexLabel(((IJumpNode) obj).getJumpNode());
- }
- return obj.getClass().getSimpleName() + ": " + strdata;
- }
-
- /**
- * @param obj
- * @return
- */
- protected String blockHexLabel(Object obj) {
- return "0x" + Integer.toHexString(System.identityHashCode(obj));
- }
-
- public Image getImage(Object obj) {
- String imageKey = "task.png";
- if (obj instanceof IDecisionNode
- || obj instanceof IControlFlowGraph)
- imageKey = "decision.png";
- else if (obj instanceof IExitNode)
- imageKey = "exit.png";
- else if (obj instanceof IStartNode)
- imageKey = "start.png";
- else if (obj instanceof IJumpNode)
- imageKey = "jump.png";
- else if (obj instanceof IBranchNode)
- imageKey = "labeled.png";
- else if (obj instanceof IConnectorNode)
- imageKey = "connector.png";
- return ControlFlowGraphPlugin.getDefault().getImage(
- "icons/" + imageKey);
- }
- }
-
- /**
- * The constructor.
- */
- public ControlFlowGraphView() {
- }
-
- /**
- * This is a callback that will allow us to create the viewer and initialize
- * it.
- */
- public void createPartControl(Composite parent) {
- viewer = new TreeViewer(parent, SWT.MULTI | SWT.H_SCROLL | SWT.V_SCROLL);
- drillDownAdapter = new DrillDownAdapter(viewer);
- viewer.setContentProvider(new ViewContentProvider());
- viewer.setLabelProvider(new ViewLabelProvider());
- viewer.setInput(getViewSite());
- makeActions();
- hookContextMenu();
- hookSingleClickAction();
- contributeToActionBars();
- }
-
- private void hookContextMenu() {
- MenuManager menuMgr = new MenuManager("#PopupMenu");
- menuMgr.setRemoveAllWhenShown(true);
- menuMgr.addMenuListener(new IMenuListener() {
- public void menuAboutToShow(IMenuManager manager) {
- ControlFlowGraphView.this.fillContextMenu(manager);
- }
- });
- Menu menu = menuMgr.createContextMenu(viewer.getControl());
- viewer.getControl().setMenu(menu);
- getSite().registerContextMenu(menuMgr, viewer);
- }
-
- private void contributeToActionBars() {
- IActionBars bars = getViewSite().getActionBars();
- fillLocalPullDown(bars.getMenuManager());
- fillLocalToolBar(bars.getToolBarManager());
- }
-
- private void fillLocalPullDown(IMenuManager manager) {
- manager.add(action1);
- manager.add(new Separator());
- }
-
- private void fillContextMenu(IMenuManager manager) {
- manager.add(action1);
- manager.add(new Separator());
- drillDownAdapter.addNavigationActions(manager);
- // Other plug-ins can contribute there actions here
- manager.add(new Separator(IWorkbenchActionConstants.MB_ADDITIONS));
- }
-
- private void fillLocalToolBar(IToolBarManager manager) {
- manager.add(action1);
- manager.add(new Separator());
- drillDownAdapter.addNavigationActions(manager);
- }
-
- private void makeActions() {
- action1 = new Action() {
- public void run() {
- IEditorPart e = PlatformUI.getWorkbench()
- .getActiveWorkbenchWindow().getActivePage()
- .getActiveEditor();
- ITranslationUnit tu = (ITranslationUnit) CDTUITools
- .getEditorInputCElement(e.getEditorInput());
- Job job = new SharedASTJob("Job Name", tu) {
- @Override
- public IStatus runOnAST(ILanguage lang,
- IASTTranslationUnit ast) throws CoreException {
- processAst(ast);
- return Status.OK_STATUS;
- }
- };
- job.schedule();
- }
- };
- action1.setText("Synchronize");
- action1.setToolTipText("Synchronize");
- action1.setImageDescriptor(ControlFlowGraphPlugin.getDefault()
- .getImageDescriptor("icons/refresh_view.gif"));
- doubleClickAction = new Action() {
- public void run() {
- ISelection selection = viewer.getSelection();
- Object obj = ((IStructuredSelection) selection)
- .getFirstElement();
- showMessage("Double-click detected on " + obj.toString());
- }
- };
- }
-
- private void hookDoubleClickAction() {
- viewer.addDoubleClickListener(new IDoubleClickListener() {
- public void doubleClick(DoubleClickEvent event) {
- doubleClickAction.run();
- }
- });
- }
-
- private void showMessage(String message) {
- MessageDialog.openInformation(viewer.getControl().getShell(),
- "Control Flow Graph", message);
- }
-
- protected void processAst(IASTTranslationUnit ast) {
- final ArrayList<IControlFlowGraph> functions = new ArrayList<IControlFlowGraph>();
- CASTVisitor visitor = new CASTVisitor() {
- {
- shouldVisitDeclarations = true;
- }
-
- public int visit(IASTDeclaration decl) {
- if (decl instanceof IASTFunctionDefinition) {
- CxxControlFlowGraph graph = new ControlFlowGraphBuilder()
- .build((IASTFunctionDefinition) decl);
- functions.add(graph);
- return PROCESS_SKIP;
- }
- return PROCESS_CONTINUE;
- }
- };
- ast.accept(visitor);
- viewer.getControl().getDisplay().asyncExec(new Runnable() {
- public void run() {
- // TODO Auto-generated method stub
- viewer.setInput(functions);
- }
- });
- }
-
- /**
- * Passing the focus request to the viewer's control.
- */
- public void setFocus() {
- viewer.getControl().setFocus();
- }
-
- private class ASTHighlighterAction extends Action {
- private static final String A_PART_INSTANCEOF = "aPart instanceof "; //$NON-NLS-1$
- IEditorPart aPart = null;
-
- public ASTHighlighterAction(IEditorPart part) {
- this.aPart = part;
- }
-
- public void setPart(IEditorPart part) {
- this.aPart = part;
- }
-
- protected boolean open(String filename) throws PartInitException,
- CModelException {
- IPath path = new Path(filename);
- IFile f = ResourcesPlugin.getWorkspace().getRoot()
- .getFileForLocation(path);
- if (f != null) {
- EditorUtility.openInEditor(f);
- return true;
- }
- FileStorage storage = new FileStorage(null, path);
- EditorUtility.openInEditor(storage);
- return true;
- }
-
- @Override
- public void run() {
- ISelection selection = viewer.getSelection();
- Object obj = ((IStructuredSelection) selection).getFirstElement();
- if (obj instanceof ICfgData) {
- Object data = ((ICfgData) obj).getData();
- if (data instanceof IASTNode) {
- IASTNode node = (IASTNode) data;
- if (node instanceof IASTTranslationUnit) // don't
- return;
- IASTFileLocation loc = node.getFileLocation();
- String filename = loc.getFileName();
- if (filename.equals(""))
- return;
- IResource r = ParserUtil.getResourceForFilename(filename);
- if (r != null) {
- try {
- aPart = EditorUtility.openInEditor(r);
- } catch (PartInitException pie) {
- return;
- } catch (CModelException e) {
- return;
- }
- } else {
- // IPath path = new Path(filename);
- // if (tu != null) {
- // try {
- // aPart = EditorUtility.openInEditor(path, tu);
- // } catch (PartInitException e) {
- // return;
- // }
- // }
- }
- if (aPart instanceof AbstractTextEditor) {
- ((AbstractTextEditor) aPart).selectAndReveal(loc
- .getNodeOffset(), loc.getNodeLength());
- } else
- System.out.println(A_PART_INSTANCEOF
- + aPart.getClass().getName());
- aPart.getSite().getPage().activate(
- aPart.getSite().getPage().findView(ID));
- }
- }
- }
- }
-
- private void hookSingleClickAction() {
- viewer.addSelectionChangedListener(new ISelectionChangedListener() {
- public void selectionChanged(SelectionChangedEvent event) {
- new ASTHighlighterAction(null).run();
- }
- });
- }
-} \ No newline at end of file
diff --git a/windows/org.eclipse.cdt.msw.build/.classpath b/windows/org.eclipse.cdt.msw.build/.classpath
deleted file mode 100644
index 751c8f2e50..0000000000
--- a/windows/org.eclipse.cdt.msw.build/.classpath
+++ /dev/null
@@ -1,7 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<classpath>
- <classpathentry kind="src" path="src"/>
- <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
- <classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/>
- <classpathentry kind="output" path="bin"/>
-</classpath>
diff --git a/windows/org.eclipse.cdt.msw.build/.cvsignore b/windows/org.eclipse.cdt.msw.build/.cvsignore
deleted file mode 100644
index ba077a4031..0000000000
--- a/windows/org.eclipse.cdt.msw.build/.cvsignore
+++ /dev/null
@@ -1 +0,0 @@
-bin
diff --git a/windows/org.eclipse.cdt.msw.build/.project b/windows/org.eclipse.cdt.msw.build/.project
deleted file mode 100644
index e97910dcff..0000000000
--- a/windows/org.eclipse.cdt.msw.build/.project
+++ /dev/null
@@ -1,28 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<projectDescription>
- <name>org.eclipse.cdt.msw.build</name>
- <comment></comment>
- <projects>
- </projects>
- <buildSpec>
- <buildCommand>
- <name>org.eclipse.jdt.core.javabuilder</name>
- <arguments>
- </arguments>
- </buildCommand>
- <buildCommand>
- <name>org.eclipse.pde.ManifestBuilder</name>
- <arguments>
- </arguments>
- </buildCommand>
- <buildCommand>
- <name>org.eclipse.pde.SchemaBuilder</name>
- <arguments>
- </arguments>
- </buildCommand>
- </buildSpec>
- <natures>
- <nature>org.eclipse.pde.PluginNature</nature>
- <nature>org.eclipse.jdt.core.javanature</nature>
- </natures>
-</projectDescription>
diff --git a/windows/org.eclipse.cdt.msw.build/.settings/org.eclipse.jdt.core.prefs b/windows/org.eclipse.cdt.msw.build/.settings/org.eclipse.jdt.core.prefs
deleted file mode 100644
index 0f0eb3002b..0000000000
--- a/windows/org.eclipse.cdt.msw.build/.settings/org.eclipse.jdt.core.prefs
+++ /dev/null
@@ -1,12 +0,0 @@
-#Mon Jul 23 15:38:07 EDT 2007
-eclipse.preferences.version=1
-org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
-org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.5
-org.eclipse.jdt.core.compiler.codegen.unusedLocal=preserve
-org.eclipse.jdt.core.compiler.compliance=1.5
-org.eclipse.jdt.core.compiler.debug.lineNumber=generate
-org.eclipse.jdt.core.compiler.debug.localVariable=generate
-org.eclipse.jdt.core.compiler.debug.sourceFile=generate
-org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
-org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
-org.eclipse.jdt.core.compiler.source=1.5
diff --git a/windows/org.eclipse.cdt.msw.build/META-INF/MANIFEST.MF b/windows/org.eclipse.cdt.msw.build/META-INF/MANIFEST.MF
deleted file mode 100644
index 492bcb702b..0000000000
--- a/windows/org.eclipse.cdt.msw.build/META-INF/MANIFEST.MF
+++ /dev/null
@@ -1,13 +0,0 @@
-Manifest-Version: 1.0
-Bundle-ManifestVersion: 2
-Bundle-Name: MSVC Build Integration Plug-in
-Bundle-SymbolicName: org.eclipse.cdt.msw.build;singleton:=true
-Bundle-Version: 1.0.0.qualifier
-Bundle-Activator: org.eclipse.cdt.msw.build.Activator
-Bundle-Localization: plugin
-Require-Bundle: org.eclipse.core.runtime,
- org.eclipse.core.resources,
- org.eclipse.cdt.core,
- org.eclipse.cdt.managedbuilder.core
-Eclipse-LazyStart: true
-Bundle-RequiredExecutionEnvironment: J2SE-1.5
diff --git a/windows/org.eclipse.cdt.msw.build/build.properties b/windows/org.eclipse.cdt.msw.build/build.properties
deleted file mode 100644
index 30b2fc40bd..0000000000
--- a/windows/org.eclipse.cdt.msw.build/build.properties
+++ /dev/null
@@ -1,6 +0,0 @@
-source.. = src/
-output.. = bin/
-bin.includes = META-INF/,\
- .,\
- plugin.properties,\
- plugin.xml
diff --git a/windows/org.eclipse.cdt.msw.build/plugin.properties b/windows/org.eclipse.cdt.msw.build/plugin.properties
deleted file mode 100644
index 05150db904..0000000000
--- a/windows/org.eclipse.cdt.msw.build/plugin.properties
+++ /dev/null
@@ -1,9 +0,0 @@
-toolchain.name=Microsoft Visual C++
-
-compiler.name=C/C++ Compiler (cl)
-rc.name=Resource Compiler (rc)
-linker.name=Linker (link)
-lib.name=Library Manager (lib)
-
-config.debug=Debug
-config.release=Release \ No newline at end of file
diff --git a/windows/org.eclipse.cdt.msw.build/plugin.xml b/windows/org.eclipse.cdt.msw.build/plugin.xml
deleted file mode 100644
index 982f0a8721..0000000000
--- a/windows/org.eclipse.cdt.msw.build/plugin.xml
+++ /dev/null
@@ -1,658 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<?eclipse version="3.2"?>
-<plugin>
- <extension
- point="org.eclipse.cdt.managedbuilder.core.buildDefinitions">
- <managedBuildRevision fileVersion="4.0.0"/>
- <toolChain
- archList="all"
- configurationEnvironmentSupplier="org.eclipse.cdt.msw.build.WinEnvironmentVariableSupplier"
- id="org.eclipse.cdt.msvc.toolchain.base"
- isAbstract="true"
- name="%toolchain.name"
- osList="win32"
- targetTool="org.eclipse.cdt.msvc.link;org.eclipse.cdt.msvc.lib">
- <targetPlatform
- archList="all"
- binaryParser="org.eclipse.cdt.core.PE"
- id="org.eclipse.cdt.msvc.targetPlatform"
- osList="win32">
- </targetPlatform>
- <builder
- id="org.eclipse.cdt.msvc.builder"
- isVariableCaseSensitive="false"
- superClass="org.eclipse.cdt.build.core.internal.builder">
- </builder>
- <tool
- command="cl /c"
- errorParsers="org.eclipse.cdt.core.VCErrorParser"
- id="org.eclipse.cdt.msvc.cl"
- name="%compiler.name"
- natureFilter="both"
- outputFlag="/Fo">
- <supportedProperties>
- <property
- id="org.eclipse.cdt.build.core.buildType">
- <value
- id="org.eclipse.cdt.build.core.buildType.debug">
- </value>
- <value
- id="org.eclipse.cdt.build.core.buildType.release">
- </value>
- </property>
- </supportedProperties>
- <optionCategory
- id="org.eclipse.cdt.msvc.cl.optionCategory.optimization"
- name="Optimization"/>
- <option
- category="org.eclipse.cdt.msvc.cl.optionCategory.optimization"
- id="org.eclipse.cdt.msvc.cl.option.optimization"
- name="Optimization"
- resourceFilter="all"
- valueType="enumerated">
- <enumeratedOptionValue
- id="org.eclipse.cdt.msvc.cl.option.optimization.default"
- isDefault="false"
- name="Default"/>
- <enumeratedOptionValue
- command="/O1"
- id="org.eclipse.cdt.msvc.cl.option.optimization.1"
- isDefault="false"
- name="Minimize Size (/O1)"/>
- <enumeratedOptionValue
- command="/O2"
- id="org.eclipse.cdt.msvc.cl.option.optimization.2"
- isDefault="true"
- name="Maximize Speed (/O2)"/>
- <enablement
- attribute="value"
- extensionAdjustment="false"
- type="CONTAINER_ATTRIBUTE"
- value="org.eclipse.cdt.msvc.cl.option.optimization.2">
- <checkBuildProperty
- property="org.eclipse.cdt.build.core.buildType"
- value="org.eclipse.cdt.build.core.buildType.release">
- </checkBuildProperty>
- </enablement>
- <enablement
- attribute="value"
- extensionAdjustment="false"
- type="CONTAINER_ATTRIBUTE"
- value="org.eclipse.cdt.msvc.cl.option.optimization.default">
- <checkBuildProperty
- property="org.eclipse.cdt.build.core.buildType"
- value="org.eclipse.cdt.build.core.buildType.debug">
- </checkBuildProperty>
- </enablement>
- </option>
- <optionCategory
- id="org.eclipse.cdt.msvc.cl.optionCategory.codegen"
- name="Code Generation"/>
- <option
- category="org.eclipse.cdt.msvc.cl.optionCategory.codegen"
- id="org.eclipse.cdt.msvc.cl.option.arch"
- name="Minimum CPU Architecture"
- resourceFilter="all"
- valueType="enumerated">
- <enumeratedOptionValue
- id="org.eclipse.cdt.msvc.cl.option.arch.default"
- isDefault="true"
- name="Default"/>
- <enumeratedOptionValue
- command="/arch:SSE"
- id="org.eclipse.cdt.msvc.cl.option.arch.sse"
- isDefault="false"
- name="SSE (/arch:SSE)"/>
- <enumeratedOptionValue
- id="org.eclipse.cdt.msvc.cl.option.arch.sse2"
- isDefault="false"
- name="SSE2 (/arch:SSE2)"/>
- </option>
- <option
- category="org.eclipse.cdt.msvc.cl.optionCategory.codegen"
- command="/clr"
- defaultValue="false"
- id="org.eclipse.cdt.msvc.cl.option.clr"
- name="Common Language Runtime (/clr)"
- resourceFilter="all"
- valueType="boolean"/>
- <option
- category="org.eclipse.cdt.msvc.cl.optionCategory.codegen"
- command="/EHs"
- defaultValue="true"
- id="org.eclipse.cdt.msvc.cl.option.exceptions"
- name="Enable C++ Exception Handling (/EHs)"
- resourceFilter="all"
- valueType="boolean"/>
- <option
- category="org.eclipse.cdt.msvc.cl.optionCategory.codegen"
- commandFalse="/GR-"
- defaultValue="true"
- id="org.eclipse.cdt.msvc.cl.option.rtti"
- name="Enable Run-Time Type Information (/GR)"
- resourceFilter="all"
- valueType="boolean"/>
- <option
- category="org.eclipse.cdt.msvc.cl.optionCategory.codegen"
- id="org.eclipse.cdt.msvc.cl.option.runtime"
- name="Run-Time Library"
- resourceFilter="all"
- valueType="enumerated">
- <enumeratedOptionValue
- command="/MT"
- id="org.eclipse.cdt.msvc.cl.option.runtime.mt"
- isDefault="false"
- name="Multi-Threaded Static (/MT)"/>
- <enumeratedOptionValue
- command="/MTd"
- id="org.eclipse.cdt.msvc.cl.option.runtime.mtd"
- isDefault="false"
- name="Multi-Threaded Static Debug (/MTd)"/>
- <enumeratedOptionValue
- command="/MD"
- id="org.eclipse.cdt.msvc.cl.option.runtime.md"
- isDefault="true"
- name="Multi-Threaded DLL (/MD)"/>
- <enumeratedOptionValue
- command="/MDd"
- id="org.eclipse.cdt.msvc.cl.option.runtime.mdd"
- isDefault="false"
- name="Multi-Threaded DLL Debug (/MDd)"/>
- </option>
- <optionCategory
- id="org.eclipse.cdt.msvc.cl.optionCategory.debug"
- name="Debugging"/>
- <option
- category="org.eclipse.cdt.msvc.cl.optionCategory.debug"
- id="org.eclipse.cdt.msvc.cl.option.debugFormat"
- name="Debug Information Format"
- resourceFilter="all"
- valueType="enumerated">
- <enumeratedOptionValue
- id="org.eclipse.cdt.msvc.cl.option.debugFormat.none"
- isDefault="true"
- name="None"/>
- <enumeratedOptionValue
- command="/Z7"
- id="org.eclipse.cdt.msvc.cl.option.debugFormat.c7"
- isDefault="false"
- name="C7 Compatible (/Z7)"/>
- <enumeratedOptionValue
- command="/Zi"
- id="org.eclipse.cdt.msvc.cl.option.debugFormat.complete"
- isDefault="false"
- name="Complete (/Zi)"/>
- <enablement
- attribute="value"
- extensionAdjustment="false"
- type="CONTAINER_ATTRIBUTE"
- value="org.eclipse.cdt.msvc.cl.option.debugFormat.none">
- <checkBuildProperty
- property="org.eclipse.cdt.build.core.buildType"
- value="org.eclipse.cdt.build.core.buildType.release">
- </checkBuildProperty>
- </enablement>
- <enablement
- attribute="value"
- extensionAdjustment="false"
- type="CONTAINER_ATTRIBUTE"
- value="org.eclipse.cdt.msvc.cl.option.debugFormat.complete">
- <checkBuildProperty
- property="org.eclipse.cdt.build.core.buildType"
- value="org.eclipse.cdt.build.core.buildType.debug">
- </checkBuildProperty>
- </enablement>
- </option>
- <optionCategory
- id="org.eclipse.cdt.msvc.cl.optionCategory.preprocessor"
- name="Preprocessor"/>
- <option
- category="org.eclipse.cdt.msvc.cl.optionCategory.preprocessor"
- command="/D"
- id="org.eclipse.cdt.msvc.cl.option.macros"
- name="Defines (/D)"
- resourceFilter="all"
- valueType="definedSymbols"/>
- <option
- browseType="directory"
- category="org.eclipse.cdt.msvc.cl.optionCategory.preprocessor"
- command="/I"
- id="org.eclipse.cdt.msvc.cl.option.includes"
- name="Include Path (/I)"
- resourceFilter="all"
- valueType="includePath"/>
- <optionCategory
- id="org.eclipse.cdt.msvc.cl.optionCategory.language"
- name="Language"/>
- <option
- category="org.eclipse.cdt.msvc.cl.optionCategory.language"
- command="/openmp"
- defaultValue="false"
- id="org.eclipse.cdt.msvc.cl.option.openmp"
- name="Enable OpenMP (/openmp)"
- resourceFilter="all"
- valueType="boolean"/>
- <option
- category="org.eclipse.cdt.msvc.cl.optionCategory.language"
- commandFalse="/Za"
- defaultValue="true"
- id="org.eclipse.cdt.msvc.cl.option.langExtensions"
- name="Enable Language Extensions (/Ze,/Za)"
- resourceFilter="all"
- valueType="boolean"/>
- <optionCategory
- id="org.eclipse.cdt.msvc.cl.optionCategory.miscellaneous"
- name="Miscellaneous"/>
- <option
- category="org.eclipse.cdt.msvc.cl.optionCategory.miscellaneous"
- command="/nologo"
- defaultValue="true"
- id="org.eclipse.cdt.msvc.cl.option.nologo"
- name="Suppress Banner (/nologo)"
- resourceFilter="all"
- valueType="boolean"/>
- <option
- category="org.eclipse.cdt.msvc.cl.optionCategory.miscellaneous"
- id="org.eclipse.cdt.msvc.cl.option.others"
- name="Other Options"
- resourceFilter="all"
- valueType="stringList"/>
- <inputType
- dependencyContentType="org.eclipse.cdt.core.cxxHeader"
- id="org.eclipse.cdt.msvc.cl.inputType"
- scannerConfigDiscoveryProfileId="org.eclipse.cdt.msw.build.clScannerInfo"
- sourceContentType="org.eclipse.cdt.core.cxxSource">
- </inputType>
- <outputType
- id="org.eclipse.cdt.msvc.cl.outputType"
- outputs="obj">
- </outputType>
- </tool>
- <tool
- command="rc"
- errorParsers="org.eclipse.cdt.core.VCErrorParser"
- id="org.eclipse.cdt.msvc.rc"
- name="%rc.name"
- natureFilter="both"
- outputFlag="/Fo"
- >
- <optionCategory
- id="org.eclipse.cdt.msvc.rc.optionCategory.preprocessor"
- name="Preprocessor"/>
- <option
- browseType="directory"
- category="org.eclipse.cdt.msvc.rc.optionCategory.preprocessor"
- command="/I"
- id="org.eclipse.cdt.msvc.rc.option.includes"
- name="Include Path (/I)"
- resourceFilter="all"
- valueType="includePath"/>
- <option
- category="org.eclipse.cdt.msvc.rc.optionCategory.preprocessor"
- command="/D"
- id="org.eclipse.cdt.msvc.rc.option.defines"
- name="Defines (/D)"
- resourceFilter="all"
- valueType="definedSymbols"/>
- <optionCategory
- id="org.eclipse.cdt.msvc.rc.optionCategory.misc"
- name="Miscellaneous"/>
- <option
- category="org.eclipse.cdt.msvc.rc.optionCategory.misc"
- id="org.eclipse.cdt.msvc.rc.option.others"
- name="Other Options"
- resourceFilter="all"
- valueType="stringList"/>
- <inputType
- id="org.eclipse.cdt.msvc.rc.inputType"
- sources="rc">
- </inputType>
- <outputType
- id="org.eclipse.cdt.msvc.rc.outputType"
- outputs="res">
- </outputType>
- </tool>
- <tool
- command="link"
- errorParsers="org.eclipse.cdt.core.VCErrorParser"
- id="org.eclipse.cdt.msvc.link"
- name="%linker.name"
- natureFilter="both"
- outputFlag="/OUT:"
- >
- <supportedProperties>
- <property
- id="org.eclipse.cdt.build.core.buildArtefactType">
- <value
- id="org.eclipse.cdt.build.core.buildArtefactType.exe"></value>
- <value
- id="org.eclipse.cdt.build.core.buildArtefactType.sharedLib">
- </value>
- </property>
- </supportedProperties>
- <option
- command="/DLL"
- defaultValue="false"
- id="org.eclipse.cdt.msvc.link.option.dll"
- name="Build a DLL"
- resourceFilter="all"
- valueType="boolean">
- <enablement
- attribute="defaultValue"
- extensionAdjustment="false"
- type="CONTAINER_ATTRIBUTE"
- value="true">
- <checkBuildProperty
- property="org.eclipse.cdt.build.core.buildArtefactType"
- value="org.eclipse.cdt.build.core.buildArtefactType.sharedLib">
- </checkBuildProperty>
- </enablement>
- </option>
- <optionCategory
- id="org.eclipse.cdt.msvc.link.optionCategory.general"
- name="General"/>
- <option
- category="org.eclipse.cdt.msvc.link.optionCategory.general"
- command="/debug"
- defaultValue="false"
- id="org.eclipse.cdt.msvc.link.option.debug"
- name="Generate Debug Info (/debug)"
- resourceFilter="all"
- valueType="boolean">
- <enablement
- attribute="value"
- type="CONTAINER_ATTRIBUTE"
- value="true">
- <checkBuildProperty
- property="org.eclipse.cdt.build.core.buildType"
- value="org.eclipse.cdt.build.core.buildType.debug">
- </checkBuildProperty>
- </enablement>
- </option>
- <option
- category="org.eclipse.cdt.msvc.link.optionCategory.general"
- command="/nologo"
- defaultValue="true"
- id="org.eclipse.cdt.msvc.link.option.nologo"
- name="Suppress Banner (/nologo)"
- resourceFilter="all"
- valueType="boolean"/>
- <option
- category="org.eclipse.cdt.msvc.link.optionCategory.general"
- id="org.eclipse.cdt.msvc.link.option.others"
- name="Other Options"
- resourceFilter="all"
- valueType="stringList"/>
- <optionCategory
- id="org.eclipse.cdt.msvc.link.optionCategory.libraries"
- name="Libraries"/>
- <option
- browseType="directory"
- category="org.eclipse.cdt.msvc.link.optionCategory.libraries"
- command="/libpath:"
- id="org.eclipse.cdt.msvc.link.option.libpath"
- name="Additional Libpath (/libpath)"
- resourceFilter="all"
- valueType="stringList"/>
- <option
- browseType="file"
- category="org.eclipse.cdt.msvc.link.optionCategory.libraries"
- id="org.eclipse.cdt.msvc.link.option.libraries"
- name="Libraries"
- resourceFilter="all"
- valueType="libs"/>
- <inputType
- id="org.eclipse.cdt.msvc.link.inputType"
- multipleOfType="true"
- sources="res,obj">
- </inputType>
- <outputType
- id="org.eclipse.cdt.msvc.link.outputType"
- outputs="exe">
- </outputType>
- <outputType
- id="org.eclipse.cdt.msvc.link.outputType.dll"
- outputs="dll">
- </outputType>
- </tool>
- <tool
- command="lib"
- id="org.eclipse.cdt.msvc.lib"
- name="%lib.name"
- natureFilter="both"
- outputFlag="/OUT:"
- >
- <supportedProperties>
- <property
- id="org.eclipse.cdt.build.core.buildArtefactType">
- <value
- id="org.eclipse.cdt.build.core.buildArtefactType.staticLib">
- </value>
- </property>
- </supportedProperties>
- <optionCategory
- id="org.eclipse.cdt.msvc.lib.optionCategory.general"
- name="General"/>
- <option
- category="org.eclipse.cdt.msvc.lib.optionCategory.general"
- command="/nologo"
- defaultValue="true"
- id="org.eclipse.cdt.msvc.lib.option.nologo"
- name="Suppress Banner (/nologo)"
- resourceFilter="all"
- valueType="boolean"/>
- <inputType
- id="org.eclipse.cdt.msvc.lib.inputType"
- sources="obj,res">
- </inputType>
- <outputType
- id="org.eclipse.cdt.msvc.lib.outputType"
- outputs="lib">
- </outputType>
- </tool>
- </toolChain>
- <configuration
- artifactExtension="exe"
- id="org.eclipse.cdt.msvc.configuration">
- <enablement
- attribute="artifactExtension"
- extensionAdjustment="false"
- type="CONTAINER_ATTRIBUTE"
- value="dll">
- <checkBuildProperty
- property="org.eclipse.cdt.build.core.buildArtefactType"
- value="org.eclipse.cdt.build.core.buildArtefactType.sharedLib"></checkBuildProperty>
- </enablement>
- <enablement
- attribute="artifactExtension"
- extensionAdjustment="false"
- type="CONTAINER_ATTRIBUTE"
- value="lib">
- <checkBuildProperty
- property="org.eclipse.cdt.build.core.buildArtefactType"
- value="org.eclipse.cdt.build.core.buildArtefactType.staticLib"></checkBuildProperty>
- </enablement>
- </configuration>
- <projectType
- buildProperties="org.eclipse.cdt.build.core.buildArtefactType=org.eclipse.cdt.build.core.buildArtefactType.exe"
- id="org.eclipse.cdt.msvc.projectType.exe"
- projectEnvironmentSupplier="org.eclipse.cdt.msw.build.WinEnvironmentVariableSupplier">
- <configuration
- buildProperties="org.eclipse.cdt.build.core.buildType=org.eclipse.cdt.build.core.buildType.debug"
- id="org.eclipse.cdt.msvc.exe.debug"
- name="%config.debug"
- parent="org.eclipse.cdt.msvc.configuration">
- <toolChain
- id="org.eclipse.cdt.msvc.toolchain.exe.debug"
- superClass="org.eclipse.cdt.msvc.toolchain.base">
- <targetPlatform
- id="org.eclipse.cdt.msvc.targetPlatform.exe.debug"
- superClass="org.eclipse.cdt.msvc.targetPlatform">
- </targetPlatform>
- <tool
- id="org.eclipse.cdt.msvc.cl.exe.debug"
- superClass="org.eclipse.cdt.msvc.cl">
- </tool>
- <tool
- id="org.eclipse.cdt.msvc.rc.exe.debug"
- superClass="org.eclipse.cdt.msvc.rc">
- </tool>
- <tool
- id="org.eclipse.cdt.msvc.link.exe.debug"
- superClass="org.eclipse.cdt.msvc.link">
- </tool>
- </toolChain>
- </configuration>
- <configuration
- buildProperties="org.eclipse.cdt.build.core.buildType=org.eclipse.cdt.build.core.buildType.release"
- id="org.eclipse.cdt.msvc.exe.release"
- name="%config.release"
- parent="org.eclipse.cdt.msvc.configuration">
- <toolChain
- id="org.eclipse.cdt.msvc.toolchain.exe.release"
- superClass="org.eclipse.cdt.msvc.toolchain.base">
- <targetPlatform
- id="org.eclipse.cdt.msvc.targetPlatform.exe.release"
- superClass="org.eclipse.cdt.msvc.targetPlatform">
- </targetPlatform>
- <tool
- id="org.eclipse.cdt.msvc.cl.exe.release"
- superClass="org.eclipse.cdt.msvc.cl">
- </tool>
- <tool
- id="org.eclipse.cdt.msvc.rc.exe.release"
- superClass="org.eclipse.cdt.msvc.rc">
- </tool>
- <tool
- id="org.eclipse.cdt.msvc.link.exe.release"
- superClass="org.eclipse.cdt.msvc.link">
- </tool>
- </toolChain>
- </configuration>
- </projectType>
- <projectType
- buildProperties="org.eclipse.cdt.build.core.buildArtefactType=org.eclipse.cdt.build.core.buildArtefactType.sharedLib"
- id="org.eclipse.cdt.msvc.projectType.dll"
- projectEnvironmentSupplier="org.eclipse.cdt.msw.build.WinEnvironmentVariableSupplier">
- <configuration
- buildProperties="org.eclipse.cdt.build.core.buildType=org.eclipse.cdt.build.core.buildType.debug"
- id="org.eclipse.cdt.msvc.dll.debug"
- name="%config.debug"
- parent="org.eclipse.cdt.msvc.configuration">
- <toolChain
- id="org.eclipse.cdt.msvc.toolchain.dll.debug"
- superClass="org.eclipse.cdt.msvc.toolchain.base">
- <targetPlatform
- id="org.eclipse.cdt.msvc.targetPlatform.dll.debug"
- superClass="org.eclipse.cdt.msvc.targetPlatform">
- </targetPlatform>
- <tool
- id="org.eclipse.cdt.msvc.cl.dll.debug"
- superClass="org.eclipse.cdt.msvc.cl">
- </tool>
- <tool
- id="org.eclipse.cdt.msvc.rc.dll.debug"
- superClass="org.eclipse.cdt.msvc.rc">
- </tool>
- <tool
- id="org.eclipse.cdt.msvc.link.dll.debug"
- superClass="org.eclipse.cdt.msvc.link">
- </tool>
- </toolChain>
- </configuration>
- <configuration
- buildProperties="org.eclipse.cdt.build.core.buildType=org.eclipse.cdt.build.core.buildType.release"
- id="org.eclipse.cdt.msvc.dll.release"
- name="%config.release"
- parent="org.eclipse.cdt.msvc.configuration">
- <toolChain
- id="org.eclipse.cdt.msvc.toolchain.dll.release"
- superClass="org.eclipse.cdt.msvc.toolchain.base">
- <targetPlatform
- id="org.eclipse.cdt.msvc.targetPlatform.dll.release"
- superClass="org.eclipse.cdt.msvc.targetPlatform">
- </targetPlatform>
- <tool
- id="org.eclipse.cdt.msvc.cl.dll.release"
- superClass="org.eclipse.cdt.msvc.cl">
- </tool>
- <tool
- id="org.eclipse.cdt.msvc.rc.dll.release"
- superClass="org.eclipse.cdt.msvc.rc">
- </tool>
- <tool
- id="org.eclipse.cdt.msvc.link.dll.release"
- superClass="org.eclipse.cdt.msvc.link">
- </tool>
- </toolChain>
- </configuration>
- </projectType>
- <projectType
- buildProperties="org.eclipse.cdt.build.core.buildArtefactType=org.eclipse.cdt.build.core.buildArtefactType.staticLib"
- id="org.eclipse.cdt.msvc.projectType.lib"
- projectEnvironmentSupplier="org.eclipse.cdt.msw.build.WinEnvironmentVariableSupplier">
- <configuration
- buildProperties="org.eclipse.cdt.build.core.buildType=org.eclipse.cdt.build.core.buildType.debug"
- id="org.eclipse.cdt.msvc.lib.debug"
- name="%config.debug"
- parent="org.eclipse.cdt.msvc.configuration">
- <toolChain
- id="org.eclipse.cdt.msvc.toolchain.lib.debug"
- superClass="org.eclipse.cdt.msvc.toolchain.base">
- <targetPlatform
- id="org.eclipse.cdt.msvc.targetPlatform.lib.debug"
- superClass="org.eclipse.cdt.msvc.targetPlatform">
- </targetPlatform>
- <tool
- id="org.eclipse.cdt.msvc.cl.lib.debug"
- superClass="org.eclipse.cdt.msvc.cl">
- </tool>
- <tool
- id="org.eclipse.cdt.msvc.rc.lib.debug"
- superClass="org.eclipse.cdt.msvc.rc">
- </tool>
- <tool
- id="org.eclipse.cdt.msvc.lib.lib.debug"
- superClass="org.eclipse.cdt.msvc.lib">
- </tool>
- </toolChain>
- </configuration>
- <configuration
- buildProperties="org.eclipse.cdt.build.core.buildType=org.eclipse.cdt.build.core.buildType.release"
- id="org.eclipse.cdt.msvc.lib.release"
- name="%config.release"
- parent="org.eclipse.cdt.msvc.configuration">
- <toolChain
- id="org.eclipse.cdt.msvc.toolchain.lib.release"
- superClass="org.eclipse.cdt.msvc.toolchain.base">
- <targetPlatform
- id="org.eclipse.cdt.msvc.targetPlatform.lib.release"
- superClass="org.eclipse.cdt.msvc.targetPlatform">
- </targetPlatform>
- <tool
- id="org.eclipse.cdt.msvc.cl.lib.release"
- superClass="org.eclipse.cdt.msvc.cl">
- </tool>
- <tool
- id="org.eclipse.cdt.msvc.rc.lib.release"
- superClass="org.eclipse.cdt.msvc.rc">
- </tool>
- <tool
- id="org.eclipse.cdt.msvc.lib.lib.release"
- superClass="org.eclipse.cdt.msvc.lib">
- </tool>
- </toolChain>
- </configuration>
- </projectType>
- </extension>
- <extension
- id="clScannerInfo"
- name="Windows SDK Scanner Info Provider"
- point="org.eclipse.cdt.make.core.ScannerConfigurationDiscoveryProfile">
- <scannerInfoCollector
- class="org.eclipse.cdt.msw.build.WinScannerInfoCollector"
- scope="project">
- </scannerInfoCollector>
- </extension>
-
-</plugin>
diff --git a/windows/org.eclipse.cdt.msw.build/src/org/eclipse/cdt/msw/build/Activator.java b/windows/org.eclipse.cdt.msw.build/src/org/eclipse/cdt/msw/build/Activator.java
deleted file mode 100644
index c9e6ca453f..0000000000
--- a/windows/org.eclipse.cdt.msw.build/src/org/eclipse/cdt/msw/build/Activator.java
+++ /dev/null
@@ -1,50 +0,0 @@
-package org.eclipse.cdt.msw.build;
-
-import org.eclipse.core.runtime.Plugin;
-import org.osgi.framework.BundleContext;
-
-/**
- * The activator class controls the plug-in life cycle
- */
-public class Activator extends Plugin {
-
- // The plug-in ID
- public static final String PLUGIN_ID = "net.sf.wascana.msvc.build";
-
- // The shared instance
- private static Activator plugin;
-
- /**
- * The constructor
- */
- public Activator() {
- }
-
- /*
- * (non-Javadoc)
- * @see org.eclipse.core.runtime.Plugins#start(org.osgi.framework.BundleContext)
- */
- public void start(BundleContext context) throws Exception {
- super.start(context);
- plugin = this;
- }
-
- /*
- * (non-Javadoc)
- * @see org.eclipse.core.runtime.Plugin#stop(org.osgi.framework.BundleContext)
- */
- public void stop(BundleContext context) throws Exception {
- plugin = null;
- super.stop(context);
- }
-
- /**
- * Returns the shared instance
- *
- * @return the shared instance
- */
- public static Activator getDefault() {
- return plugin;
- }
-
-}
diff --git a/windows/org.eclipse.cdt.msw.build/src/org/eclipse/cdt/msw/build/WinDiscoveredPathInfo.java b/windows/org.eclipse.cdt.msw.build/src/org/eclipse/cdt/msw/build/WinDiscoveredPathInfo.java
deleted file mode 100644
index baae87bd6a..0000000000
--- a/windows/org.eclipse.cdt.msw.build/src/org/eclipse/cdt/msw/build/WinDiscoveredPathInfo.java
+++ /dev/null
@@ -1,57 +0,0 @@
-package org.eclipse.cdt.msw.build;
-
-
-import java.util.HashMap;
-import java.util.Map;
-
-import org.eclipse.cdt.make.core.scannerconfig.IDiscoveredPathManager.IDiscoveredPathInfo;
-import org.eclipse.cdt.make.core.scannerconfig.IDiscoveredPathManager.IDiscoveredScannerInfoSerializable;
-import org.eclipse.core.resources.IProject;
-import org.eclipse.core.runtime.IPath;
-import org.eclipse.core.runtime.Path;
-
-/**
- * @author Doug Schaefer
- *
- */
-public class WinDiscoveredPathInfo implements IDiscoveredPathInfo {
-
- private final IPath[] paths;
- private final Map<String, String> symbols = new HashMap<String, String>();
-
- public WinDiscoveredPathInfo() {
- // Include paths
- String sdkDir = WinEnvironmentVariableSupplier.getSDKDir();
- if (sdkDir != null) {
- String vcDir = WinEnvironmentVariableSupplier.getVCDir();
- paths = new IPath[] {
- new Path(vcDir.concat("Include")),
- new Path(vcDir.concat("Include\\Sys")),
- new Path(sdkDir.concat("Include")),
- new Path(sdkDir.concat("Include\\gl"))
- };
- } else
- paths = new IPath[0];
-
- symbols.put("_M_IX86", "600");
- symbols.put("_WIN32", "1");
- symbols.put("_MSC_VER", "1400");
- }
-
- public IPath[] getIncludePaths() {
- return paths;
- }
-
- public IProject getProject() {
- return null;
- }
-
- public IDiscoveredScannerInfoSerializable getSerializable() {
- return null;
- }
-
- public Map<String, String> getSymbols() {
- return symbols;
- }
-
-}
diff --git a/windows/org.eclipse.cdt.msw.build/src/org/eclipse/cdt/msw/build/WinEnvironmentVariableSupplier.java b/windows/org.eclipse.cdt.msw.build/src/org/eclipse/cdt/msw/build/WinEnvironmentVariableSupplier.java
deleted file mode 100644
index e759581b15..0000000000
--- a/windows/org.eclipse.cdt.msw.build/src/org/eclipse/cdt/msw/build/WinEnvironmentVariableSupplier.java
+++ /dev/null
@@ -1,160 +0,0 @@
-package org.eclipse.cdt.msw.build;
-
-
-import java.util.HashMap;
-import java.util.Map;
-
-import org.eclipse.cdt.managedbuilder.core.IConfiguration;
-import org.eclipse.cdt.managedbuilder.core.IManagedProject;
-import org.eclipse.cdt.managedbuilder.envvar.IBuildEnvironmentVariable;
-import org.eclipse.cdt.managedbuilder.envvar.IConfigurationEnvironmentVariableSupplier;
-import org.eclipse.cdt.managedbuilder.envvar.IEnvironmentVariableProvider;
-import org.eclipse.cdt.managedbuilder.envvar.IProjectEnvironmentVariableSupplier;
-import org.eclipse.cdt.utils.WindowsRegistry;
-
-/**
- * @author DSchaefer
- *
- */
-public class WinEnvironmentVariableSupplier
- implements IConfigurationEnvironmentVariableSupplier, IProjectEnvironmentVariableSupplier {
-
- private Map<String, IBuildEnvironmentVariable> envvars;
-
- private static class WindowsBuildEnvironmentVariable implements IBuildEnvironmentVariable {
-
- private final String name;
- private final String value;
- private final int operation;
-
- public WindowsBuildEnvironmentVariable(String name, String value, int operation) {
- this.name = name;
- this.value = value;
- this.operation = operation;
- }
-
- public String getDelimiter() {
- return ";";
- }
-
- public String getName() {
- return name;
- }
-
- public String getValue() {
- return value;
- }
-
- public int getOperation() {
- return operation;
- }
-
- }
-
- public IBuildEnvironmentVariable getVariable(String variableName,
- IManagedProject project, IEnvironmentVariableProvider provider) {
- if (envvars == null)
- initvars();
- return envvars.get(variableName);
- }
-
- public IBuildEnvironmentVariable getVariable(String variableName,
- IConfiguration configuration, IEnvironmentVariableProvider provider) {
- if (envvars == null)
- initvars();
- return envvars.get(variableName);
- }
-
- public IBuildEnvironmentVariable[] getVariables(IManagedProject project,
- IEnvironmentVariableProvider provider) {
- if (envvars == null)
- initvars();
- return envvars.values().toArray(new IBuildEnvironmentVariable[envvars.size()]);
- }
-
- public IBuildEnvironmentVariable[] getVariables(
- IConfiguration configuration, IEnvironmentVariableProvider provider) {
- if (envvars == null)
- initvars();
- return envvars.values().toArray(new IBuildEnvironmentVariable[envvars.size()]);
- }
-
- private void addvar(IBuildEnvironmentVariable var) {
- envvars.put(var.getName(), var);
- }
-
- public static String getSDKDir() {
- WindowsRegistry reg = WindowsRegistry.getRegistry();
-
- String[] keys = {
- "SOFTWARE\\Microsoft\\Microsoft SDKs\\Windows\\v6.1",
- "SOFTWARE\\Microsoft\\Microsoft SDKs\\Windows\\v6.0A",
- "SOFTWARE\\Microsoft\\Microsoft SDKs\\Windows\\v6.0",
- };
-
- for (int i = 0; i < keys.length; ++i) {
- String sdkDir = reg.getLocalMachineValue(keys[i], "InstallationFolder");
- if (sdkDir != null)
- return sdkDir;
- }
-
- return null;
- }
-
- public static String getVCDir() {
- WindowsRegistry reg = WindowsRegistry.getRegistry();
-
- String vcDir = reg.getLocalMachineValue("SOFTWARE\\Microsoft\\VisualStudio\\SxS\\VC7", "9.0");
- if (vcDir != null)
- return vcDir;
-
- // Try full SDK with compiler
- String sdkDir = getSDKDir();
- if (sdkDir != null)
- return sdkDir.concat("VC\\");
-
- return null;
- }
-
- public static String getVSDir() {
- WindowsRegistry reg = WindowsRegistry.getRegistry();
- return reg.getLocalMachineValue("SOFTWARE\\Microsoft\\VisualStudio\\SxS\\VS7", "9.0");
- }
-
- private void initvars() {
- envvars = new HashMap<String, IBuildEnvironmentVariable>();
-
- // The SDK Location
- String sdkDir = getSDKDir();
- if (sdkDir == null)
- return;
-
- String vcDir = getVCDir();
-
- // INCLUDE
- StringBuffer buff = new StringBuffer();
- buff.append(vcDir).append("Include;");
- buff.append(vcDir).append("Include\\Sys;");
- buff.append(sdkDir).append("Include;");
- buff.append(sdkDir).append("Include\\gl;");
- addvar(new WindowsBuildEnvironmentVariable("INCLUDE", buff.toString(), IBuildEnvironmentVariable.ENVVAR_PREPEND));
-
- // LIB
- buff = new StringBuffer();
- buff.append(vcDir).append("Lib;");
- buff.append(sdkDir).append("Lib;");
- addvar(new WindowsBuildEnvironmentVariable("LIB", buff.toString(), IBuildEnvironmentVariable.ENVVAR_PREPEND));
-
- // PATH
- buff = new StringBuffer();
-
- String vsDir = getVSDir();
- if (vsDir != null)
- buff.append(vsDir).append("Common7\\IDE;");
-
- buff.append(vcDir).append("Bin;");
- buff.append(sdkDir).append("Bin;");
- addvar(new WindowsBuildEnvironmentVariable("PATH", buff.toString(), IBuildEnvironmentVariable.ENVVAR_PREPEND));
- }
-
-}
diff --git a/windows/org.eclipse.cdt.msw.build/src/org/eclipse/cdt/msw/build/WinScannerInfoCollector.java b/windows/org.eclipse.cdt.msw.build/src/org/eclipse/cdt/msw/build/WinScannerInfoCollector.java
deleted file mode 100644
index e955c51202..0000000000
--- a/windows/org.eclipse.cdt.msw.build/src/org/eclipse/cdt/msw/build/WinScannerInfoCollector.java
+++ /dev/null
@@ -1,41 +0,0 @@
-package org.eclipse.cdt.msw.build;
-
-
-import java.util.List;
-import java.util.Map;
-
-import org.eclipse.cdt.make.core.scannerconfig.IScannerInfoCollector3;
-import org.eclipse.cdt.make.core.scannerconfig.InfoContext;
-import org.eclipse.cdt.make.core.scannerconfig.ScannerInfoTypes;
-import org.eclipse.cdt.make.core.scannerconfig.IDiscoveredPathManager.IDiscoveredPathInfo;
-import org.eclipse.core.resources.IProject;
-import org.eclipse.core.runtime.CoreException;
-import org.eclipse.core.runtime.IProgressMonitor;
-
-/**
- * @author Doug Schaefer
- *
- */
-public class WinScannerInfoCollector implements IScannerInfoCollector3 {
-
- public void contributeToScannerConfig(Object resource, Map scannerInfo) {
- }
-
- public List getCollectedScannerInfo(Object resource, ScannerInfoTypes type) {
- return null;
- }
-
- public IDiscoveredPathInfo createPathInfoObject() {
- return new WinDiscoveredPathInfo();
- }
-
- public void setInfoContext(InfoContext context) {
- }
-
- public void setProject(IProject project) {
- }
-
- public void updateScannerConfiguration(IProgressMonitor monitor) throws CoreException {
- }
-
-}

Back to the top